/*
Theme Name: Kachestvo
Theme URI: 
Author: madmen
Author URI: 
Description: Тема WordPress Kachestvo
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kachestvo
Tags: 
*/

/* Основные стили темы */

/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    /* font-family: 'Helvetica', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; */
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    background: #ffffff;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    &:hover {
        color: #368428;
    }
    &:focus {
        color: inherit;
    }
}
.inter {
    font-family: "Inter", sans-serif;
}
.page-title {
    color: #050038;
    font-size: 36px;
}
.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Шапка сайта */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Первый уровень шапки */
.header-top {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 40px 0 10px;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.site-branding {
    flex-shrink: 0;
    position: relative;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    flex: 0 0 75%;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #000000;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99;
}
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Для фиксации скролла */
.body-locked {
    overflow: hidden;
    position: fixed;
    width: 100vw;
}

/* Поле поиска */
.header-search {
    position: relative;
    flex: 1 0 0;
}
.header-search__btn-mobile {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.search-field {
    padding: 12px 40px 12px 16px;
    /* border: 1px solid #ddd; */
    border: none;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
    background: rgba(217, 217, 217, 0.3);
}

.search-field:focus {
    border-color: #368428;
}

.search-submit {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: #368428;
}

/* Иконки */
.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #333;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.header-icon:hover {
    color: #368428;
}

.whatsapp-icon {
    color: #25d366;
    width: 20px;
}

.whatsapp-icon:hover {
    color: #128c7e;
}

/* Номер телефона */
.header-phone {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-family: "Inter", sans-serif;
}

.header-phone:hover {
    color: #368428;
}

/* Кнопка "Заказать звонок" */
.header-callback-btn {
    padding: 10px 20px;
    background-color: #368428;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-family: "Open Sans", sans-serif;
}

.header-callback-btn:hover {
    background-color: #add278;
    color: #050038;
}

/* Второй уровень шапки - меню */
.header-bottom {
    padding: 0;
}

.main-navigation {
    width: 100%;
}

.primary-menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    margin: 0;
    padding: 11px 0;
    gap: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    padding: 8px 23px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 24px;
    white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-page-item > a {
    border-color: #368428;
}
.menu-item-has-children {
    position: relative;
}
.menu-item-has-children a {
    padding: 8px 30px 8px 23px;
}
.menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    background: url("/wp-content/themes/kachestvo/assets/img/icon/icon-submenu.svg") no-repeat center/contain;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.menu-item-has-children:hover::after {
    transform: rotate(180deg) translateY(5px);
}
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 300px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 20px;
    border-radius: 12px;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    margin-bottom: 10px;
    /* border-bottom: 1px solid #e0e0e0; */
}

.primary-menu .sub-menu a {
    padding: 12px 20px;
}

.primary-menu .sub-menu a:hover {
    background-color: #f8f8f8;
}

main {
    padding: 40px 0 0;
}

.hero_section {
    display: flex;
}

.hero_text,
.hero_photo {
    flex: 0 0 50%;
}
.hero_text {
    padding-right: 60px;
}
.hero_text__title {
    font-size: 48px;
    color: #050038;
    line-height: 56px;
    margin-bottom: 20px;
}
.hero_text_des {
    font-size: 18px;
    margin-bottom: 60px;
}
.hero_photo img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}
.hero_photo_small {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}
.hero_photo_small img {
    width: 32%;
    object-fit: cover;
}
.hero_text__form {
    max-width: 440px;
    width: 100%;
}

/* Блок "Нам доверяют компании" */
.trusted-by-section {
    padding: 100px 0;
    background-color: #fff;
}

.trusted-by-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #050038;
    margin: 0 0 40px 0;
}
.direcion-by-title {
    text-align: left;
    font-size: 28px;
    font-weight: 600;
    color: #050038;
    margin: 0 0 40px 0;
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trusted-by-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}
.trusted-by-logo img {
    width: 100%;
}

.h2-title,
.content h2 {
    color: #050038;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
}
.text-center {
    text-align: center;
}
.block_courses {
    position: relative;
}
.block_courses .swiper-slide {
    height: 400px;
    width: auto;
}
.block_courses .swiper-slide img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.block_courses .swiper-slide .slide_caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ffffffbd;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 12px 10px;
}
.courses_slider__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-indent: -9999px;
    background: transparent;
}

/* Training tabs */
.training-tabs-section {
    padding: 80px 0;
}
.training-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}
.training-tab {
    padding: 10px 22px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #050038;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.training-tab:hover {
    border-color: #cde3bb;
}
.training-tab.is-active {
    background: #eaf6e4;
    border-color: #cde3bb;
}
.training-tabs__panels {
    border-radius: 16px;
}
.training-panel__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: start;
}
.training-panel__content .training-list {
    list-style: none;
    margin: 0 0 40px 0;
}
.training-panel__content .training-list li {
    position: relative;
    padding-left: 22px;
    margin: 10px 0;
}
.training-panel__content .training-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #368428;
}
.training-panel__content .btn {
    border-radius: 24px;
    padding: 12px 30px;
    border: 1px solid #368428;
    color: #368428;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    background: transparent;
    text-shadow: 0px 4px 9px rgba(0, 0, 0, 0.25);
}
.training-panel__content .btn:hover {
    background: #add278;
    color: #fff;
    border-color: #add278;
}
.training-panel__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Benefits shortcode */
.benefits-section {
    padding: 80px 0;
}
.benefits-header {
    margin-bottom: 32px;
    position: relative;
}
.benefits-badge {
    display: inline-block;
    background: #ffd84d;
    color: #050038;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 8px;
    transform: rotate(10deg);
    position: absolute;
    left: 59%;
    top: -8px;
}
.benefits-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0 36px;
}
.benefits-item__title {
    font-size: 20px;
    color: #050038;
    margin-bottom: 10px;
}
.benefits-item__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #3a3a3a;
}
.benefits-footer .btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}
.btn-primary {
    background: #368428;
    color: #fff;
}
.btn-primary:hover {
    background-color: #add278;
    color: #fff;
}

.content h2,
.content h1,
.content h3,
.content h4 {
    color: #050038;
    font-family: "Inter", sans-serif;
    margin: 20px 0;
    font-size: 24px;
}
.content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}
.content blockquote {
    border: 1px solid #368428;
    padding: 30px 40px;
    margin: 50px 0;
    border-radius: 8px;
}
.content blockquote h3 {
    font-size: 26px;
    font-weight: bold;
    color: #368428;
    margin-bottom: 20px;
}
.content p,
.content li
 {
    font-size: 20px;
    color: #2e2e2e;
    line-height: 1.5;
    margin-bottom: 20px;
}

.learning-steps {
    margin: 100px 0;
    position: relative;
}
.learning-steps__title {
    color: #050038;
    margin-bottom: 48px;
}
.learning-steps__slider {
    position: relative;
}
.steps-slider {
    overflow: hidden;
}
.steps-slider .swiper-wrapper {
    display: flex;
}
.steps-slider .swiper-slide {
    height: auto;
    display: flex;
}
.step-card {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    justify-content: center;
}

.step-card__number {
    font-size: 200px;
    font-weight: 700;
    line-height: 1;
    color: #add27863;
}
.step-card__icon {
    width: 130px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}
.step-card__title {
    font-size: 24px;
    font-weight: 600;
    color: #050038;
}
.step-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.steps-slider__pagination,
.courses_slider__pagination {
    bottom: -30px !important;
}
.steps-slider__pagination .swiper-pagination-bullet,
.courses_slider__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(54, 132, 40, 0.25);
    transition:
        width 0.3s ease,
        background 0.3s ease;
    opacity: 1;
}
.steps-slider__pagination .swiper-pagination-bullet-active,
.courses_slider__pagination .swiper-pagination-bullet-active {
    width: 30px;
    background: #368428;
}

.diplom-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px 0;
}

.diplom_photo,
.diplom_text {
    flex: 0 0 40%;
}
.diplom_photo img {
    width: 100%;
}
.diplom_text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 50px;
}
.diplom_text__des {
    font-size: 18px;
    line-height: 24px;
}
.btn-inline {
    border: 1px solid #368428;
    color: #368428;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s ease-in-out;
    width: max-content;
    cursor: pointer;
    text-shadow: 0px 4px 9px rgba(0, 0, 0, 0.25);
}
.btn-inline:hover {
    background: #368428;
    color: #fff;
}

/* Блок Остались вопросы? */
.callform-section {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 100px 0 -5px;
}
.callform_photo {
    flex: 0 0 40%;
    position: relative;
}
.callform_photo img {
    position: relative;
    z-index: 1;
}
.callform_text {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 50px;
    padding-bottom: 60px;
}
.callform_photo::after {
    content: " ";
    width: 600px;
    height: 600px;
    background: #add278;
    background: radial-gradient(circle, rgba(173, 210, 120, 0.34) 30%, rgba(237, 221, 83, 0) 75%);
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
}
/* Блок Остались вопросы? */

/* Поможем выбрать курс и начать обучение */

.help_container {
    position: relative;
    max-height: 670px;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.help_bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.help_block {
    padding: 70px 54px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.help_block__title {
    margin-bottom: 0;
}
.help_des {
    color: #050038;
}
.help_form {
    max-width: 320px;
    width: 100%;
}
/* Поможем выбрать курс и начать обучение */

/* Карта Яндекс */
.reviews {
    margin: 100px 0;
}
.title-reviews {
    margin-bottom: 50px;
}
.testimonials-wrapper {
    display: flex;
    align-items: stretch;
    position: relative;
    margin-top: 50px;
}
.testimonials-wrapper .yandex-map {
    width: 100%;
    margin-left: 20px;
    border-radius: 8px;
    overflow: hidden;
}
/* Карта Яндекс */

/* Вопрос-ответ */
.faq-container {
    border: 2px solid #ccc;
    border-radius: 18px;
    padding: 36px;
}
.faq-content {
    display: flex;
    gap: 36px;
}
.faq-questions,
.faq-answers {
    flex: 1 1 0%;
}
.faq-questions h2,
.faq-answers h2 {
    font-size: 44px;
    font-family: "Inter", sans-serif;
    margin-top: 0;
    font-weight: bold;
    color: #050038;
    margin-bottom: 40px;
}
.faq-questions ul {
    list-style: none;
    padding: 0;
}
.faq-questions li {
    padding: 14px 18px;
    margin-bottom: 12px;
    background: #f8fbf8;
    border-radius: 8px;
    color: #0c513f;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-questions li.selected,
.faq-questions li:hover {
    background: #388e3c;
    color: #fff;
}
.faq-answer {
    background: #f1f1f1;
    padding: 22px;
    border-radius: 11px;
    font-size: 1.15rem;
    color: #050038;
    line-height: 1.6;
}
.faq-mobile-answer {
    display: none;
}
/* Вопрос-ответ */

/* Хлебные крошки */
.breadcrumbs {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #050038;
    gap: 24px;
    margin: 30px 0;
}

.breadcrumbs .crumb a,
.breadcrumbs .crumb span {
    color: #050038;
    text-decoration: none;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.breadcrumbs .crumb:last-of-type > span{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.breadcrumbs .crumb:last-of-type {
    min-width: 0;
}

.breadcrumbs .crumb-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    background: #388e3c;
    min-width: 6px;
}

/* Хлебные крошки */

/* Страница Поступающим */
.first_screen {
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
}
.first_screen__photo {
    border-radius: 10px;
    flex: 0 0 40%;
    overflow: hidden;
}
.first_screen__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.first_screen__des {
    font-size: 20px;
}
.first_screen__title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* Страницы Контакты */
.contacts-page {
    padding: 0;
}
.contacts_section {
    display: flex;
    gap: 64px;
    margin-bottom: 100px;
}
.contact_map {
    width: 55%;
    max-height: 440px;
    border-radius: 10px;
    overflow: hidden;
}
.contact_info h1 {
    margin-bottom: 36px;
}
.contact_info p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 300;
}
.contact_info a {
    color: #388e3c;
}
.social {
    display: flex;
    gap: 10px;
}

/* Страница курса */
.course_page {
    padding: 0;
}
.course_block {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
}
.course_block_photo {
    flex: 0 0 45%;
    overflow: hidden;
}
.course_block_photo img {
    width: 100%;
	border-radius: 10px;
}
.course_block_info {
    display: flex;
    flex-direction: column;
}
.course_block_info_title {
    font-size: 36px;
    color: #050038;
    margin-bottom: 30px;
    font-weight: bold;
}
.course_block_info_content__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 14px;
}
.course_block_info_content__item-cat {
    font-weight: 400;
    color: #368428;
}
.course_block_info_content__item-add {
    font-weight: 500;
    margin-bottom: 28px;
}
.course_block_info_content__item-price {
    font-size: 36px;
    color: #050038;
    font-weight: bold;
    margin-bottom: 25px;
}
.course_block_info_btn {
    display: flex;
    gap: 30px;
}
.course_block_info_btn a {
    display: inline-block;
}
.btn-fill {
    border: 1px solid #368428;
    color: #fff;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s ease-in-out;
    width: max-content;
    cursor: pointer;
    background: #368428;
}
.btn-fill:hover {
    background: #add278;
    color: #050038;
    border: 1px solid #add278;
}
.courses-h2 {
    font-size: 36px;
    color: #050038;
    margin-bottom: 40px;
}
.courses_plan {
    margin-bottom: 50px;
    font-size: 18px;
}
.start {
    margin-bottom: 50px;
}
.start_block {
    border: 1px solid #368428;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    gap: 30px;
}
.start_block__num {
    color: rgba(173, 210, 120, 0.39);
    font-size: 200px;
    font-weight: bold;
    line-height: 1;
}
.start_block_text__title {
    color: #368428;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 20px;
}
.start_block_text__info {
    font-size: 20px;
    line-height: 1.5;
}
a.link-pdf-file {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.2;
}

a.link-pdf-file::before {
    content: "";
    display: inline-block;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-right: 12px; /* отступ между иконкой и текстом */
    background-image: url("/wp-content/themes/kachestvo/assets/img/icon/pdf-file.svg"); /* или .png */
    background-repeat: no-repeat;
    background-size: contain; /* аккуратное масштабирование */
    background-position: center;
    vertical-align: text-bottom; /* выравнивание с текстом */
}

.attention {
    display: flex;
    gap: 38px;
    align-items: center;
}
.attention__title {
    position: relative;
    width: max-content;
    margin: 0 auto 50px;
}
.attention__title::before {
    content: "ВАЖНО!";
    position: absolute;
    top: -30px;
    right: -60px;
    background: #ffd02f;
    color: #050038;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 20px;
    transform: rotate(10deg);
}
.attention_text p {
    margin-bottom: 36px;
    font-size: 26px;
    line-height: 1.5;
}
.attention_text p:last-child {
    margin-bottom: 0;
}
.attention_photo {
    position: relative;
}
.attention_photo img {
    position: relative;
    z-index: 1;
}

.attention_photo::after {
    content: " ";
    width: 600px;
    height: 600px;
    background: #add278;
    background: radial-gradient(circle, rgba(173, 210, 120, 0.34) 30%, rgba(237, 221, 83, 0) 75%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Страница Документы */
.document {
    display: flex;
    gap: 64px;
    margin-bottom: 100px;
}
.document_sidebar {
    width: 30%;
}
.document_sidebar_item_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.document_sidebar_item_list_item {
    font-size: 16px;
    margin-bottom: 10px;
    border: 1px solid #36842861;
    padding: 5px 10px;
    font-weight: 500;
    color: #368428;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}
.document_sidebar_item_list_item:hover {
    color: #fff;
    background: #368428;
}
.document_sidebar_item_list_item.is-active {
    color: #fff;
    background: #368428;
}
.document_content {
    width: 70%;
}
.document_content_item {
    display: none;
    transition: all 0.3s ease-in-out;
}
.document_content_item.is-active {
    display: block;
}
.document_content_item_content {
    border: 1px solid #36842861;
    border-radius: 10px;
    padding: 30px 20px;
}
.document_content_item_content p {
    margin-bottom: 16px;
}
.document_content_item_content a {
    margin-bottom: 0;
}
.document_content_item_content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.document_content_item_title {
    font-size: 28px;
    font-weight: bold;
    color: #050038;
    margin-bottom: 20px;
}

/* Страница Корпоративного обучения */
.training_screen {
    width: 100%;
    height: 412px;
    position: relative;
    margin-bottom: 100px;
}
.training_bg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.training_block {
    position: relative;
    text-align: right;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
    justify-content: center;
}
.training_plus {
    margin: 100px 0;
}
.training_plus h2 {
    max-width: 1000px;
}
.training_block__title {
    font-size: 36px;
    color: #050038;
    font-weight: bold;
}
.training_des {
    max-width: 615px;
    font-size: 20px;
}
.training_plus_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.training_plus_wrapper_item {
    padding: 44px;
    border: 1px solid #368428;
    border-radius: 10px;
    width: calc(50% - 15px);
}
.training_plus_wrapper_item:last-child {
    width: 100%;
}
.training_plus_wrapper_item__title {
    color: #368428;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}
.training_plus_wrapper_item__info {
    font-size: 20px;
}
.training_make {
    position: relative;
    width: 100%;
    height: 720px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 100px;
}
.training_make_bg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.training_make_block {
    position: relative;
    display: flex;
    gap: 30px;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 36px 0;
    max-width: 615px;
    z-index: 1;
}
.training_make_block__info_item {
    font-size: 28px;
    margin-bottom: 40px;
}
.training_make_block h2 {
    font-size: 36px;
    margin-bottom: 0;
}

/* Страница Лицензия */
.lizenzia_block {
    display: flex;
    gap: 70px;
}
.lizenzia_block_photo {
    max-width: 320px;
    width: 100%;
    position: relative;
    height: min-content;
}
.lizenzia_block_photo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background:
        url("/wp-content/themes/kachestvo/assets/img/icon/search-icon.svg") center center / 40px
            40px no-repeat,
        rgba(173, 210, 120, 0.14);
    backdrop-filter: blur(2px);
    pointer-events: none;
}
.lizenzia_block_photo img {
    height: auto;
    width: 100%;
    object-fit: contain;
}
.lizenzia_block__info h1 {
    margin-bottom: 20px;
}
.lizenzia_block__param {
    display: flex;
    border: 1px solid #368428;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.lizenzia_block__param div {
    font-size: 18px;
    flex: 0 0 50%;
    padding: 10px;
}
.lizenzia_block__param div:first-child {
    border-right: 1px solid #368428;
}
.btn-grey,
.btn-green {
    width: 100%;
    height: 39px;
    border-radius: 10px;
    margin-bottom: 8px;
    text-align: center;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.btn-grey {
    border: 1px solid #36842850;
    background: rgba(12, 81, 63, 0.05);
    color: #2e2e2e;
}
.btn-green {
    background: #368428;
    border: 1px solid #36842850;
    color: #fff;
}
/* Страница Лицензия */

/* Страница с курсами */
.courses-list {
    display: flex;
    gap: 50px;
    margin-bottom: 100px;
}
.courses-list_sidebar {
    width: 350px;
}
.courses-list__title {
    font-size: 36px;
    font-weight: bold;
    color: #050038;
    margin-bottom: 40px;
}
.courses-list_sidebar_menu {
    list-style: none;
}
.courses-list_sidebar_menu__item {
    font-size: 18px;
    margin-bottom: 10px;
    border: 1px solid #36842861;
    padding: 5px 10px;
    color: #368428;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}
.courses-list_sidebar_menu__item.is-active {
    background: #368428;
    color: #fff;
}
.courses-list_content {
    flex: 1;
}
.academic-item_block {
    margin-bottom: 20px;
    list-style: none;
}
.academic-item {
    padding: 16px 24px 32px;
    border: 1px solid #36842861;
    list-style: none;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 36px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
    position: relative;
}
.academic-item:hover {
    -webkit-box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.2);
    color: inherit;
}
.academic-item__overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    z-index: 1; /* поверх содержимого, но под кнопками, если нужно */
    display: block;
    text-indent: -9999px; /* чтобы нет текста в кликабельной зоне */
    background: transparent;
}
.academic-item__title {
    width: 100%;
    font-size: 28px;
    font-weight: bold;
    color: #050038;
    margin-bottom: 28px;
}
.academic-link {
    display: block;
    margin-top: 12px;
    color: #368428;
}
.academic-item__photo img {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
}
.academic-item__action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}
.academic-item__action a {
    width: 100%;
    text-align: center;
}
.academic-item__price {
    font-size: 32px;
    font-weight: bold;
    color: #050038;
    margin-bottom: 22px;
    white-space: nowrap;
}
.academic-item__info {
    flex: 1;
}
/* Страница с курсами */

footer {
    background: #0c092c;
    background: linear-gradient(to bottom, #0c092c 13%, #23501b 100%);
    color: #fff;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}
.footer_conteiner {
    display: flex;
    margin-bottom: 100px;
    justify-content: space-between;
}
.footer_col {
    flex: 0 0 33%;
}
.footer_col__title {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: bold;
}
.footer_col ul {
    list-style: none;
    line-height: 24px;
}
.footer_col ul li {
    margin-bottom: 8px;
}
.footer_social {
    display: flex;
    gap: 16px;
}
.footer_col__link {
    margin-bottom: 8px;
    display: block;
}
.footer_social__link img {
    width: 40px;
    height: 40px;
}
.footer_social__link {
    transition: all 0.3s ease-in-out;
}
.footer_social__link:hover {
    transform: scale(1.05);
}
.footer_bottom_copyright {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.form-input {
    font-size: 18px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 32px;
    border: 1px solid #cecece;
    width: 100%;
    margin-bottom: 16px;
    background: transparent;
}
.form-input.wpcf7-not-valid {
    border: 1px solid #bb1414;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0 0 40px !important;
    padding: 12px !important;
}
.wpcf7-response-output {
    border-radius: 32px;
}
.form-input:focus {
    border-color: #368428;
    outline: none;
}
.form-button {
    background: #368428;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 32px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
    font-family: "Open Sans", sans-serif;
}
.form-button:hover {
    background: #add278;
    color: #050038;
}
.form-checkbox {
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 17px;
    font-family: "Inter", sans-serif;
}
.form_block-checkbox {
    margin-bottom: 20px;
}
.form_block-checkbox .wpcf7-list-item {
    margin: 0;
    font-size: 10px;
    line-height: 17px;
    font-family: "Inter", sans-serif;
}
.wpcf7-not-valid-tip {
    text-align: center;
    margin-top: -10px;
    padding-bottom: 4px;
}
/* Модальное окно для заказа звонка */
.callback-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.callback-modal-content {
    background-color: #fff;
    padding: 30px 30px 0;
    border-radius: 8px;
    max-width: 1080px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.callback-modal-content__form {
    max-width: 415px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.callback-modal-content__title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 35px;
}
.callback-modal-content__des {
    font-size: 18px;
    margin-bottom: 24px;
}
.callback-modal-content__photo {
    margin-bottom: -4px;
    position: relative;
}
.callback-modal-content__photo img {
    position: relative;
    z-index: 1;
}
.callback-modal-content__photo::after {
    content: " ";
    width: 600px;
    height: 600px;
    background: #add278;
    background: radial-gradient(circle, rgba(173, 210, 120, 0.34) 30%, rgba(237, 221, 83, 0) 75%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.callback-modal-content::after {
    content: " ";
    width: 600px;
    height: 600px;
    background: #add278;
    background: radial-gradient(circle, rgba(173, 210, 120, 0.34) 30%, rgba(237, 221, 83, 0) 75%);
    position: absolute;
    top: -50%;
    left: -40%;
    z-index: 0;
    pointer-events: none;
}
.callback-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 2;
}

.callback-modal-close:hover {
    color: #333;
}

.features-section {
    padding: 100px 0;
    position: relative;
}

.features-title {
    margin: 0 0 40px;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
    font-weight: 700;
    color: #111b3a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

/* Карточка */
.feature-item {
    padding: 20px 24px;
    border: 1px solid #f0f1f5;
    border-radius: 0;
    height: 200px;
    z-index: 2;
}

.feature-item h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: rgba(5, 0, 56, 1);
}

.feature-item p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #333b55;
}

/* Картинка по центру */
.feature-image {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 500px;
}
.features-section::after {
    content: " ";
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    background: #add278;
    background: radial-gradient(circle, rgba(173, 210, 120, 0.34) 30%, rgba(237, 221, 83, 0) 70%);
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-image img {
    display: block;
    position: absolute;
    height: 500px;
    width: 100%;
    width: 850px;
    bottom: 0;
    right: 0;
    z-index: 2;
    object-fit: contain;
}
.feature-item:nth-child(1) {
    border-top: none;
    border-left: none;
}
.feature-item:nth-child(2) {
    border-top: none;
}
.feature-item:nth-child(4) {
    border-bottom: none;
    border-left: none;
}
.feature-item:nth-child(8) {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: none;
    border-right: none;
}
.feature-item:nth-child(10) {
    border-bottom: none;
}
.feature-item:nth-child(11) {
    border-bottom: none;
    border-right: none;
}

/* Пустая ячейка для выравнивания нижнего ряда */
.feature-spacer {
    display: block;
}

.training-block {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.training-block__inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    padding: 80px 0;
    text-align: center;
    border-radius: 40px;
}
.training-block__inner::after {
    content: " ";
    width: 600px;
    height: 600px;
    background: #add278;
    background: radial-gradient(circle, rgba(173, 210, 120, 0.34) 30%, rgba(237, 221, 83, 0) 75%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.training-block__title {
    margin: 0;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #050038;
    position: relative;
    z-index: 2;
}

.training-block__tag {
    position: absolute;
    background: rgba(173, 210, 120, 0.7);
    color: #050038;
    border-radius: 24px;
    padding: 10px 22px;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 2;
}
.training-block__sale {
    display: inline-block;
    background: #ffd84d;
    color: #050038;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    transform: rotate(10deg);
    position: absolute;
    right: 20%;
    top: 20%;
    z-index: 2;
}
/* Расположение как в макете (десктоп >1100) */
.training-block__tag--top-left {
    top: 22px;
    left: 10%;
}
.training-block__tag--top-right {
    top: -20px;
    right: 10%;
}
.training-block__tag--bottom-left {
    bottom: 28%;
    left: 10%;
}
.training-block__tag--bottom-center {
    bottom: 20%;
    right: 30%;
    transform: translateX(-50%);
}
.training-block__tag--bottom-center-2 {
    bottom: 0;
    left: 40%;
}
.training-block__tag--bottom-right {
    bottom: 40px;
    right: 10%;
}

.wsp-pages-title,
.wsp-posts-title,
.wsp-academics-title {
    font-size: 1.4rem !important;
    margin-bottom: 20px !important;
}
.wsp-pages-list,
.wsp-academics-list {
    padding-left: 20px;
}
.wsp-pages-list .page_item,
.wsp-academics-list li {
    margin-bottom: 6px;
    font-size: 18px;
}
.wsp-pages-list .page_item::marker,
.wsp-academics-list li::marker {
    color: #368428;
}

.bvi-btn {
    position: absolute;
    font-size: 14px;
    left: 0;
    top: -30px;
    white-space: nowrap;
}
.bvi-shortcode {
    background-color: transparent !important;
    padding: 0 5px !important;
}
.bvi-shortcode a {
    background-color: transparent !important;
}
.content.courses_plan strong {
    color: #368428;
}
 
/* =============== */
/* ai тексты */
/* =============== */
:root {
    --green-1: #add278;
    --green-2: #368428;
    --white: #ffffff;
    --text: #2e2e2e;
    --muted: #5c6b61;
    --line: rgba(54, 132, 40, 0.18);
    --shadow: 0 10px 30px rgba(10, 30, 20, 0.08);
    --radius: 18px;
}

.aitext .wrap {
    color: var(--text);
    /* font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; */
    font-size: 16px !important;
    line-height: 1.5;
    margin-bottom: 20px;
}

.aitext * {
    box-sizing: border-box;
}
.aitext p {
    font-size: 16px !important;
}
.content li,
.aitext li{
    margin-left: 14px;
    padding-left: 10px;
}

.aitext li::marker,
.content li::marker {
       content: "✓";
    color: #368428;
}
.aitext .legal.pill li::marker{
       content: "";
 }
.aitext a {
    color: inherit;
}

.aitext .wrap {
    /* max-width: 1100px; */
    margin: 0 auto;
    /* padding: 26px 18px; */
}

/* HERO */
.aitext .hero {
    overflow: hidden;
}

.aitext .hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    align-items: stretch;
}

.aitext .hero h1 {
    margin: 10px 0 10px;
    font-size: 34px;
    line-height: 1.15;
}

.aitext .hero p {
    margin: 0;
    color: var(--muted);
}

.aitext .hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.aitext .badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--green-2);
}

.aitext .hero__panel {
    background: linear-gradient(180deg, rgba(54, 132, 40, 0.1), rgba(173, 210, 120, 0.18));
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 4px);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aitext .hero__panel strong {
    color: var(--green-2);
}

.aitext .hero__cta {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aitext .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--green-2);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(54, 132, 40, 0.18);
}

.aitext .btn--ghost {
    background: var(--white);
    color: var(--green-2);
}

/* SECTION BASE */
.aitext section {
    margin-top: 22px;
}

.aitext .h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.aitext .lead {
    margin: 0 0 14px;
    color: var(--muted);
}

/* CARDS */
.aitext .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.aitext .card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(173, 210, 120, 0.16), rgba(255, 255, 255, 0.9));
}

.aitext .card h3 {
    margin: 0 0 8px;

    color: var(--green-2);
}

.aitext .card p {
    margin: 0;
    color: var(--muted);
}

/* TABS (CSS only) */
.aitext .tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -60px;
}

.aitext .tabs__bar {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.aitext .tabbtn {
    cursor: pointer;
    user-select: none;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    font-weight: 700;
    color: var(--green-2);
}

.aitext input[name="microbio-tabs"] {
    display: none;
}

.aitext .tabs__pane {
    display: none;
    border: 1px dashed var(--line);
    border-radius: 16px;
    padding: 14px;
    background: rgba(54, 132, 40, 0.04);
}

.aitext #tab1:checked ~ .tabs__bar label[for="tab1"],
.aitext #tab2:checked ~ .tabs__bar label[for="tab2"],
.aitext #tab3:checked ~ .tabs__bar label[for="tab3"] {
    background: var(--green-2);
    color: var(--white);
    border-color: transparent;
}

.aitext #tab1:checked ~ .pane1,
.aitext #tab2:checked ~ .pane2,
.aitext #tab3:checked ~ .pane3 {
    display: block;
}

/* ACCORDION */
.aitext .details {
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(54, 132, 40, 0.05), rgba(255, 255, 255, 0.92));
}

.aitext .details + .details {
    margin-top: 10px;
}

.aitext .summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--green-2);
}

.aitext .details p {
    margin: 10px 0 0;
    color: var(--muted);
}

/* TIMELINE */
.aitext .timeline {
    display: grid;
    gap: 12px;
}

.aitext .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    border-left: 6px solid rgba(173, 210, 120, 0.65);
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(173, 210, 120, 0.22), rgba(255, 255, 255, 0.96));
    border: 1px solid var(--line);
}

.aitext .step__tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--green-2);
}

.aitext .step h3 {
    margin: 0 0 6px;
}

.aitext .step p {
    margin: 0;
    color: var(--muted);
}

/* WARNING */
.aitext .warn {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(54, 132, 40, 0.28);
    background: linear-gradient(180deg, rgba(54, 132, 40, 0.1), rgba(173, 210, 120, 0.12));
}

.aitext .warn__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--green-2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(54, 132, 40, 0.22);
    flex: 0 0 auto;
}

.aitext .warn h3 {
    margin: 0 0 6px;
}
.aitext h3 {
    font-size: 20px;
}

.aitext .warn p {
    margin: 0;
    color: var(--muted);
}

/* LEGAL LIST */
.aitext .legal {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 12px; */
}

.aitext .legal.pill li {
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
}
.aitext .legal.pill li + li {
    margin-top: 15px;
}

.aitext .pill strong {
    color: var(--green-2);
}

.aitext .pill div {
    color: var(--muted);
    margin-top: 6px;
}

/* CTA */
.aitext .cta {
    background:
        radial-gradient(900px 280px at 20% 0%, rgba(173, 210, 120, 0.55), transparent 60%),
        linear-gradient(180deg, rgba(54, 132, 40, 0.1), rgba(54, 132, 40, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.aitext .cta h2 {
    margin: 0;
    font-size: 22px;
}

.aitext .cta p {
    margin: 6px 0 0;
    color: var(--muted);
    max-width: 680px;
}

.aitext .cta .cta__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 920px) {
    .aitext .hero__grid {
        grid-template-columns: 1fr;
    }

    .aitext .cards {
        grid-template-columns: 1fr;
    }

    .aitext .legal {
        grid-template-columns: 1fr;
    }

    .aitext .step {
        grid-template-columns: 1fr;
    }

    .aitext .step__tag {
        justify-content: flex-start;
    }
}

.error-404 {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 0;
}
.error-404 h1 {
    font-size: 2.3rem;
    z-index: 2;
}
.error-404 .error-404-text {
     z-index: 2;
     font-size: 18px;
}
.error-404::after {
    content: " ";
    width: calc(100% + 40px);
    height: 1000px;
    background: #add278;
    background: radial-gradient(circle, rgb(173 210 120 / 20%) 30%, rgba(237, 221, 83, 0) 75%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1000px;
}

@media (min-width: 550px){
    h1.training_block__title{
            max-width: 50%;
    }
}

.academic-section + .academic-section{
    margin-top: 50px;
}

.city-selector-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 8px;
}

.city-selector {
    min-width: 240px;
    margin-bottom: 8px;
    padding: 10px 38px 10px 14px;
    border: 1px solid #d7dbe0;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%),
        linear-gradient(to right, #fff, #fff);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%,
        100% 0;
    background-size:
        6px 6px,
        6px 6px,
        2.5em 100%;
    background-repeat: no-repeat;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.city-selector:hover {
    border-color: #b9c1cc;
}

.city-selector:focus {
    border-color: #6c8cff;
    box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.15);
}

.city-selector option {
    color: #222;
}