.header__main {
    position: relative;
    margin-bottom: 120px;
}

.header__content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.back-link-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    margin-bottom: 30px;
    padding: 4px;
}

/* ==== Хлебные крошки ==== */
.breadcrumbs {
    position: absolute;
    top: 72px;
    font-size: 15px;
}

.header__main-breadcrumbs {
    position: absolute;
    top: -72px;
    font-size: 15px;

}

.breadcrumb-home,
.breadcrumb-home-mobile {
    position: relative;
    padding-left: 20px;
}


.breadcrumb-home::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url('/assets/images/icons/home.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


/* На десктопе — показываем полные крошки */
.breadcrumbs-desktop {
    display: block;
}

.breadcrumbs-mobile {
    display: none;
    font-size: 15px;
    position: relative;
    padding-left: 22px;
    font-size: 15px;
}

.breadcrumbs-mobile::before {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('/assets/images/icons/arrow-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
}



/* Button Menu Burger Mobile */
.menu__btn {
    display: none;
    width: 40px;
    height: 26px;
    flex-direction: column;
    justify-content: space-between;
}

.menu__btn span {
    height: 2px;
    background-color: var(--primary-text-color);
    width: 100%;
    border-radius: 10px;
}

/* End Button Menu Burger Mobile */
.mobile-nav,
.menu__close,
.footer__top-text--mob,
.mob__teachers,
.mob__phone,
.mob__lessons {
    display: none;
}

body {
    color: var(--primary-body-color);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: first baseline;
    align-items: flex-start;
    padding-top: 20px;
}

.header__top-inner {
    height: 64px;
    background-color: var(--primary-bg-color);
    margin-bottom: 80px;
}

.logo__text {
    color: var(--primary-text-color);
    font-size: 22px;
    font-weight: 600;
}

.header__logo .logo {
    display: flex;
    align-items: center;
}

.logo__image {
    width: 26px;
    height: auto;
    margin-top: 3px;
    margin-right: 5px;
}

.menu {
    display: flex;
}

.menu__list {
    display: flex;
    gap: 0 30px;
}

.menu__list-link {
    color: var(--primary-text-color);
}

.menu__list-link.active {
    color: var(--primary-text-color);
    font-weight: bold;
    position: relative;
}

.menu__list-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-text-color);
}

.menu__lang {
    display: flex;
    gap: 0 12px;
}

.menu__lang-btn.active .menu__link-uk,
.menu__lang-btn.active .menu__link-ru {
    color: var(--primary-text-color);
    font-weight: 500;
}

.menu__link-uk,
.menu__link-ru {
    color: #9999aa;
}

.phone__text {
    font-size: 12px;
    color: var(--primary-body-color);
}

.header__content-descr {
    max-width: 680px;
}

.header__content-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 18px;
    max-width: 440px;
    margin-bottom: 40px;
}

/* ! ================================================================== */
.header__content-ul {
    text-align: left;
}

.header__content-li {
    position: relative;
    /* Для позиционирования кастомных маркеров */
    padding-left: 30px;
    /* Увеличиваем отступ для маркеров */
    margin-bottom: 10px;
}

.header__content-li::before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #20202e;
}

/* ------------- CERF Standart -----------  */
.standart {
    margin-bottom: 100px;
}

.standart__descr {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
    max-width: 1200px;
}

.level__basic-list,
.level__intermidate-list,
.level__advanced-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0 40px;
}

.standart__level-inner {
    display: flex;
    gap: 0 40px;
    align-items: flex-end;
    justify-content: center;
}

.level__basic-item--1 {
    width: 180px;
    height: 185px;
    background-color: var(--cerf-color-a);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
}

.level__basic-item--2 {
    width: 180px;
    height: 220px;
    background-color: var(--cerf-color-a);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
}

.level__intermidate-item--1 {
    width: 180px;
    height: 260px;
    background-color: var(--cerf-color-b);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
}

.level__intermidate-item--2 {
    width: 180px;
    height: 300px;
    background-color: var(--cerf-color-b);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
}

.level__advanced-item--1 {
    width: 180px;
    height: 340px;
    background-color: var(--cerf-color-c);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
}

.level__advanced-item--2 {
    width: 180px;
    height: 380px;
    background-color: var(--cerf-color-c);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
    border-radius: 10px;
}

.level__basic-item--descr {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-text-color);
}






/* -------------------- Muscle Anatomy  ---------- */
.anatomy {
    margin-bottom: 150px;
}

.anatomy__inner {
    text-align: center;
}

.anatomy__descr-1,
.anatomy__descr-2 {
    font-size: 18px;
    line-height: 1.5;
}

.anatomy__btn {
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 18px 50px;
    background-color: #ce4849;
    font-size: 18px;
    color: var(--primary-text-color);
    border-radius: 5px;
}

.anatomy__human {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* ------------------- Hover Anatomy Muscle -------------  */
.pectoral-muscles {
    fill: #bdbdbd;
    /* Исходный цвет */
    transition: fill 0.3s;
    /* Плавный переход при изменении цвета */
}

.pectoral-muscles.active-muscles {
    fill: #ce4849;
    /* Цвет при активации */
}

.pectoral-muscles.hover-muscles {
    fill: #ce4849;
    /* Цвет подсветки при наведении */
}

/* -------------------- Books Coming Soon ------------- */
.books {
    margin-bottom: 180px;
    text-align: center;
}

.books__soon {
    color: #f48c06;
    font-size: 28px;
}

.books__descr {
    margin-bottom: 80px;
}

.books__block {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/* ---------- OUR Advantagies -------- */
.advant {
    text-align: center;
    margin-bottom: 200px;
}

.advant__blocks {
    display: flex;
    justify-content: space-around;
    gap: 0 20px;
    flex-wrap: wrap;
}

.advant__block {
    padding-top: 80px;
    position: relative;
}

.advant__item {
    width: 475px;
    height: 500px;
    background-color: var(--primary-text-color);
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur-radius) var(--shadow-color);
    border-radius: 20px;
}

.advant__item-inner {
    padding: 70px 40px 40px 40px;
}

.advant__item-img {
    position: absolute;
    top: 0;
    left: 146px;
}

.advant__item-text {
    padding: 20px 40px;
    text-align: justify;
}

/* --------------------------- Price --------------------- */
.price {
    margin-bottom: 150px;
}

.price__text {
    text-align: center;
    margin: 0 auto;
    max-width: 960px;
    margin-bottom: 100px;
    font-size: 20px;
}

.price__blocks {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}

.price__item {
    width: 364px;
    border: 1px #000b33 solid;
    border-radius: 8px;
    padding: 45px 42px 44px 44px;
    font-size: 15px;
}

.price__item-2 {
    background-color: #621e82;
    color: var(--primary-text-color);
}

.price__item-name {
    padding: 8px 14px;
    background-color: #000b33;
    color: var(--primary-text-color);
    width: 100px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 15px;
}

.price__item-name-2 {
    width: 140px;
    text-align: center;
    background-color: #a85bcd;
}

.price__item-name-3 {
    width: 120px;
    text-align: center;
}

.price__item-version {
    text-transform: uppercase;
    padding: 8px 14px;
    background-color: #f1f1f1;
    color: #000b33;
    width: 270px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 15px;
}

.price__item-version-2 {
    width: 190px;
    text-align: center;
}

.price__item-version-3 {
    width: 190px;
    text-align: center;
}

.price__item-time {
    margin-bottom: 28px;
}

.price__inner-price {
    font-size: 64px;
    font-weight: 600;
    color: #000b33;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 11, 51, 0.2);
}

.price__inner-price--2 {
    color: var(--primary-text-color);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.price__inner-cost {
    margin-top: -10px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 11, 51, 0.2);
    margin-bottom: 28px;
}

.price__inner-cost--2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.price__inner-list {
    margin-bottom: 28px;
}

.price__inner-feature {
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}

.price__inner-feature::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 11px;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background-image: url("/assets/images/icons/price.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.price__inner-feature--2 {
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}

.price__inner-feature--2::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 11px;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background-image: url("/assets/images/icons/price-2.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.price__item-btn {
    display: inline-block;
    width: 100%;
    padding: 16px 20px;
    background-color: #000b33;
    color: var(--primary-text-color);
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}

.price__item-btn--2 {
    background-color: #ffc895;
    color: #362700;
}

/* ------------------------------ FAQ -------------------------- */
.faq {
    margin-bottom: 100px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background-color: #417dc7;
    color: var(--primary-text-color);
    padding: 15px 40px 15px 15px;
    text-align: left;
    font-size: 17px;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: all 0.2s;
    line-height: 1.5;
}

.faq-question .faq-toggle {
    position: absolute;
    right: 20px;
    top: 24px;
    font-size: 26px;
    line-height: 0;
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: #f4f6f9;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer h4 {
    margin-bottom: 10px;
}

.faq-answer__list {
    list-style-type: disc;
    padding-left: 20px;
}

.faq-answer__list--item {
    margin-bottom: 12px;
}

.faq-answer__list p {
    font-weight: 600;
    margin-bottom: 10px;
}

/* -------------------- Footer ------------------ */
.footer {
    background-color: var(--primary-bg-color);
    padding-top: 50px;
    color: var(--primary-text-color);
    position: relative;
}

.footer__top {
    padding-bottom: 60px;
}

.footer__logo {
    margin-bottom: 40px;
}

.footer__logo-link {
    display: flex;
    gap: 6px;
    font-size: 22px;
}

.footer__top-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px 20px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.footer__top-contacts {
    max-width: 500px;
    font-size: 18px;
}

.footer__top-text {
    margin-bottom: 24px;
}

.footer__phone-text {
    margin-bottom: 20px;
    font-weight: 300;
}

.footer__contact-info {
    margin-left: 36px;
}

.footer__phone-telegram,
.footer__phone,
.footer__email {
    display: block;
    color: var(--primary-text-color);
    margin-bottom: 32px;
}

.footer__phone-telegram {
    position: relative;
}

.footer__phone-telegram::before {
    position: absolute;
    content: "";
    background-image: url("/assets/images/telegram.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    left: -34px;
    top: -3px;
}

.footer__phone {
    position: relative;
}

.footer__phone::before {
    position: absolute;
    content: "";
    background-image: url("/assets/images/icons/phone.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
    left: -36px;
    top: 5px;
}

.footer__email {
    position: relative;
}

.footer__email::before {
    position: absolute;
    content: "";
    background-image: url("/assets/images/icons/mail.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 22px;
    height: 17px;
    left: -36px;
    top: 4px;
}

.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    background-color: #121212;
}

.footer__bottom-text {
    font-size: 12px;
    font-weight: 200;
    text-transform: uppercase;
    text-align: center;
    color: var(--primary-text-color);
    padding: 10px 0;
}

/* ---------------- Блок пагинации ---------------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0;
}

.pagination-button {
    padding: 8px 16px;
    font-size: 16px;
    border: 1px solid #282837;
    border-radius: 2px;
    background-color: var(--primary-text-color);
    color: #333;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.pagination-button:hover:not([disabled]) {
    background: radial-gradient(circle, #303048, #1a1a26);
    color: var(--primary-text-color);
}

.pagination-button:disabled {
    background: radial-gradient(circle, #303048, #1a1a26);
    color: var(--primary-text-color);
    cursor: not-allowed;
}

.pagination-button.active {
    background: radial-gradient(circle, #303048, #1a1a26);
    color: var(--primary-text-color);
    border-color: #1a1a26;
}

.menu__list-item {
    position: relative;
    padding-bottom: 10px;
}

.header__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: radial-gradient(circle, #444461, #21212e);
    list-style: none;
    padding: 10px 0;
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur-radius) var(--shadow-color);
    z-index: 10;
    min-width: 200px;
    border-radius: 4px;
    margin: 0;
}

.header__dropdown-link {
    display: block;
    padding: 10px 15px;
    color: var(--primary-text-color);
    text-decoration: none;
}

.header__dropdown-link:hover {
    background-color: #494967;
    color: var(--primary-text-color);
}

.menu__list-item:hover .header__dropdown {
    display: block;
}

/* Словарь exercises-vocabulary Page */
/* Заголовок */
header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

header nav button {
    background: none;
    border: none;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    color: #555;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

header nav .active {
    color: var(--primary-body-color);
    border-color: #007bff;
}

/* Панель фильтров */
.filter-bar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.filter-bar select,
.filter-bar input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--primary-border-color);
    border-radius: 4px;
}

/* ------------ Карточки ------------- */
.cards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.level-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 100px;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.card {
    flex: 1 1 calc(25% - 20px);
    max-width: 280px;
    min-width: 200px;
    min-height: 220px;
    background: var(--primary-text-color);
    border: 1px solid var(--primary-border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur-radius) var(--shadow-color);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.card-link {
    display: block;
    padding: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.2rem;
    margin: 4px 0;
}

.card-description {
    margin-bottom: 10px;
}

.card-image {
    object-fit: cover;
}

.add-card {
    background: #f8f9fc;
    border: 2px dashed #007bff;
    color: #007bff;
    cursor: pointer;
}

.add-card:hover {
    background: #e7f1ff;
}

.add-card .add-icon {
    font-size: 2rem;
    font-weight: bold;
}

.tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 12px;
    color: var(--primary-body-color);
}

.tag.my-collection {
    background: #dc3545;
}

.tag.free {
    background: #ffc6b0;
    padding: 22px;
}

.card-link-title {
    margin-bottom: 10px;
}

.card-link-desc {
    font-size: 15px;
    line-height: 1.4;
}

.actions-bar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.actions-bar .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.actions-bar .btn.primary {
    background-color: #43848e;
    color: var(--primary-text-color);
}

.actions-bar .btn.secondary {
    background-color: #f8f9fc;
    color: #007bff;
    border: 1px solid #007bff;
}

.actions-bar .btn:hover {
    opacity: 0.9;
}

.words-page {
    margin-bottom: 20px;
}

/* Выпадающее меню Курсы */
.menu__has-submenu {
    position: relative;
}

.menu__list-btn {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-text-color);
}

.icon-globe {
    width: 18px;
    height: 18px;
    stroke: var(--primary-text-color);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-right: 5px;
    vertical-align: middle;
}

.arrow-btn {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.menu__has-submenu.open .arrow-btn {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    position: absolute;
    top: 43px;
    left: -24px;
    background: var(--primary-text-color);
    border-radius: 2px;
    padding: 4px 8px;
    list-style: none;
    margin: 0;
    min-width: 200px;
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur-radius) var(--shadow-color);
    z-index: 100;
}

.menu__has-submenu.open .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #2c2c2c;
    border-radius: 4px;
}

.submenu a:hover {
    background-color: var(--menu-drop);
    /* color: var(--primary-text-color); */
}

/* Main page */
.about {
    margin-bottom: 80px;
    text-align: center;
    background-color: var(--note-color);
    padding-top: 50px;
    padding-bottom: 50px;
}

.about__block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.about__title {
    text-align: left;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 50px;
}

.about__item {
    width: 320px;
    max-width: 320px;
    text-align: left;
    flex: 0 0 320px;
}

.about__item-img-wrapper {
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.about__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.about__item-title {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* ====== Стрелка и ссылка ======= */
.about__item-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-button-color);
    /* цвет ссылки */
    text-decoration: none;
    margin-top: 15px;
    transition: color 0.3s;
}

.about__item-link .arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s;
}

.about__item-link:hover .arrow {
    transform: translateX(5px);
}

.about__soon {
    color: #f48c06;
    font-size: 28px;
}

.about__descr {
    margin-bottom: 80px;
}

.slider-inner {
    display: flex;
    justify-content: flex-start;
    gap: 50px 20px;
    flex-wrap: nowrap;
}

/* общие стили слайдера */
.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #b3b3b3;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots button.active {
    background-color: #2b2b2b;
}


/* Блок с первым уроком */
.fl-lesson-first {
    background-color: #e6f0ff;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.fl-title {
    color: #1a3d7c;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.fl-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-card {
    background-color: #ffffff;
    border-left: 4px solid #1a3d7c;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    color: #2a3f7c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Блок с преимуществами */
.benefits {
    padding: 60px 20px;
    background-color: #f9f9f9;
    margin-bottom: 100px;
}

.benefits__container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits__title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #2c2c2c;
}

.benefits__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefits__card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.benefits__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.benefits__card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.benefits__card-text {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
}

/* --------- TEACHERS -------- */
.teachers {
    margin-bottom: 100px;
}

.teachers__inner {
    display: flex;
    justify-content: space-around;
    gap: 60px 14px;
    flex-wrap: wrap;
}

.teachers__item {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    height: auto;
    border: 1px solid #dbdbdb;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.teachers__box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px 12px 2px 12px;
    color: #1f1f1f;
}

.teachers__img img {
    height: 360px;
    width: 320px;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.teachers__item-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 2px solid #dbdbdb;
    padding-bottom: 10px;
}

.teachers__item-name {
    max-width: 300px;
}

.teachers__title {
    max-width: 950px;
    text-align: center;
    margin-top: 80px;
    font-size: 4.5rem;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 20px 40px 20px 40px;
    background: linear-gradient(90deg, #14141c, #7c7c97);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.teachers__item-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.teachers__star {
    margin-bottom: 10px;
}

.teachers__students {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
}

.teachers__students::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url("../images/person.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: -4px;
    top: -3px;
}

.teachers__item-price {
    display: flex;
    flex-direction: column;
}

.teachers__price {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
}

.teachers__subjects {
    color: #fca2a2;
}

.teachers__video {
    display: block;
    font-size: 15px;
    color: #fca2a2;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-bottom: 6px;
}

.teachers__video::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url("../images/video.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: -2px;
    top: -1px;
}

.teachers__subject {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 6px;
}

.teachers__subject::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url("../images/bell.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: 1px;
    top: 2px;
}

.teachers__text {
    max-height: 300px;
    overflow-y: auto;
    text-overflow: ellipsis;
    padding-right: 10px;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 10px;
}

.teachers__text::-webkit-scrollbar {
    width: 8px;
}

.teachers__text::-webkit-scrollbar-thumb {
    background-color: #4c4c61;
    border-radius: 8px;
}

.teachers__text::-webkit-scrollbar-track {
    background-color: #ffcece;
    border-radius: 8px;
}

.teachers__item-btn {
    width: 100%;
    display: inline-block;
    padding: 18px 80px;
    background-color: var(--primary-logo-color);
    color: #ffffff;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 18px;
}

.teachers__more {
    min-width: 150px;
    color: var(--primary-logo-color);
    padding-top: 6px;
    padding-bottom: 6px;
    cursor: pointer;
}

/* ------ After lesson ------ */
.lesson-after {
    margin-bottom: 100px;
}

.lesson-content {
    margin-top: 20px;
    flex: 1;
    min-width: 300px;
}

.lesson-subtitle {
    color: #a259ff;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 10px;
}

.lesson-title {
    font-size: 32px;
    line-height: 1.3;
    color: #0d1a40;
    margin: 0 0 15px 0;
}

.lesson-description {
    color: #555;
    margin-bottom: 50px;
}

.lesson-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lesson-item svg {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.lesson-item-text {
    line-height: 1.4;
}

/* ------- GOAL ------- */
.goal-section {
    padding: 60px 20px;
    background-color: #fff;
}

.goal-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.goal-container,
.lesson-container,
.faq-container {
    max-width: 1200px;
}

.goal-text {
    flex: 1 1 400px;
}

.goal-subtitle {
    color: #a259ff;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.goal-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    color: #0d1a40;
    margin-bottom: 15px;
}

.goal-chart {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 3 / 2;
    /* сохраняет пропорции: ширина / высота = 3/2 */
}

.goal-chart canvas {
    width: 100%;
    height: 100%;
    display: block;
    /* убирает лишние отступы */
}

.goal-list {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.goal-list li {
    margin-bottom: 10px;
}

/* ВЫПАДАЮЩИЙ СПИСОК ЯЗЫКОВ */
.lang-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 100;
    max-width: 140px;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.has-submenu.open>.lang-dropdown {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #0d1b3f;
}

.lang-dropdown li a:hover {
    background-color: var(--menu-drop);
    border-radius: 6px;
}

.icon-globe {
    width: 22px;
    height: 22px;
    stroke: var(--primary-text-color);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-right: 5px;
    vertical-align: middle;
}

.lang-dropdown li a.active {
    font-weight: bold;
    background-color: var(--menu-drop);
    color: var(--primary-color);
    border-radius: 6px;
    margin-bottom: 4px;
}


/* Стрелка вниз */
.arrow-icon {
    display: inline-flex;
    transition: transform 0.2s ease;
    color: #ffffff;
}

/* Поворот стрелки при открытии подменю */
.has-submenu.open .arrow-icon {
    transform: rotate(180deg);
}