html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.header {
    position: relative;
    height: 100lvh;
    background: linear-gradient(135deg, #6b298a, #d84ccc);
    overflow: hidden;
}

/* EXPERIENCE */
.header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: move 20s linear infinite;
    z-index: 2;
    pointer-events: none;
}

/* Градиент поверх видео */
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b298a, #d84ccc);
    z-index: 1;
    opacity: 0.7;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Boat */
.boat {
    position: absolute;
    bottom: 70px;
    left: 100%;
    width: 160px;
    z-index: 4;
    animation: boatMove 80s linear infinite;
}

@keyframes boatMove {
    0% {
        left: 100%;
    }

    100% {
        left: -200px;
    }
}

/* Текст над волной */
.wave-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(131, 52, 52, 0.5);
    z-index: 7;
}

/* Waves */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    z-index: 6;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 84%;
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.header__content-picture {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    z-index: 3;
}

/* 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: #ffffff;
    width: 100%;
    border-radius: 10px;
}

/* End Button Menu Burger Mobile */
.mobile-nav,
.menu__close,
.footer__top-text--mob {
    display: none;
}

.footer__top-text--mob {
    font-size: 20px;
    font-weight: 500;
}

body {
    color: #581578;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}

/* FIXED HEADER */
.header__top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #6b298a;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-top: 14px;
    padding-bottom: 14px;
    /* НЕ ставим max-width и не ограничиваем ширину здесь */
}

.header-container {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.header__content-btn {
    padding-bottom: 20px;
}

.logo__text {
    color: rgb(255, 255, 255);
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
}

/* ------ YOUTUBE BUTTON ------- */
.youtube-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 30px;
    background: linear-gradient(135deg, #ffc7ee, #ff2d2d);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 0, 0, 0.3);
}

.youtube-btn svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.youtube-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 0, 0, 0.4);
}

.youtube-btn:hover svg {
    transform: scale(1.1);
}

.menu {
    display: flex;
}

.menu__list {
    display: flex;
    gap: 0 30px;
}

.menu__list-link,
.telegram__chanel {
    color: #ffffff;
}

.menu__list-link:hover,
.telegram__chanel:hover {
    color: #f5e0ff;
}

.menu__list-link.active {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.menu__list-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.menu__lang {
    display: flex;
    gap: 0 12px;
    margin-right: 10px;
}

.menu__lang-btn.active .menu__link-uk,
.menu__lang-btn.active .menu__link-ru {
    color: #ffffff;
    font-weight: 500;
}

.menu__link-uk,
.menu__link-ru {
    color: #b96edc;
    font-weight: 300;
}

/* ----- Выпадающее Menu ----- */
.menu__list-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    /* расстояние между текстом и стрелкой */
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
}

.arrow-btn {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.menu__has-submenu.open .arrow-btn {
    transform: rotate(180deg);
    /* стрелка вверх при открытии */
}

.menu__has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 150%;
    left: 0;
    background: white;
    border-radius: 4px;
    padding: 10px;
    list-style: none;
    margin: 0;
    min-width: 320px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.submenu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #2c2c2c;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.submenu a:hover {
    background: #f0f0f0;
}

.menu__has-submenu.open .submenu {
    display: block;
}

.menu__has-submenu .arrow {
    margin-left: 5px;
    font-size: 16px;
}

/* ----- End Выпадающее Menu ------ */

.telegram__chanel {
    color: rgb(255, 255, 255);
    font-size: 12px;
    font-weight: 300;
    display: block;
    margin-top: 2px;
    position: relative;
}

.telegram__chanel::before {
    position: absolute;
    content: "";
    background-image: url(../images/telegram.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 26px;
    left: 220px;
    top: -7px;
    color: #ffffff;
}

.header__content-descr {
    position: absolute;
    z-index: 100;
    width: 680px;
    margin-top: 236px;
    color: rgb(255, 255, 255);
}

.header__content-title {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
}

.header__content-title span {
    display: block;
}

.header__content-text {
    text-align: left;
    font-size: 20px;
    margin-top: 18px;
    max-width: 540px;
}

.header__content-button {
    padding: 20px 86px;
    color: #fff;
    background: linear-gradient(135deg, #ff6ec4, #cd3ce7);
    font-size: 24px;
    font-weight: 700;
    margin-top: 80px;
    margin-bottom: 10px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.header__content-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.header__content-button--2 {
    color: #ffffff;
    background-color: #cf6db7;
    margin-top: 30px;
}

.header__content-discount {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}

.header__content-picture {
    max-height: 88vh;
}

.header__content-img {
    position: absolute;
    right: 190px;
    bottom: 0;
    max-width: 700px;
    background-size: cover;
    max-height: 90vh;
}

.about {
    margin-top: 60px;
    margin-bottom: 100px;
}

.about__content {
    max-width: 660px;
}

.about__inner--2 {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.about__image {
    flex-grow: 0;
}

/* Контейнер для TikTok-видео */
.about__image .tiktok-embed {
    max-width: 600px;
}

.lazy-tiktok {
    position: relative;
    min-height: 600px;
    /* задаёт высоту чтобы не прыгал layout */
    background: #000;
    overflow: hidden;
    border-radius: 12px;
}

.lazy-tiktok img.preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    font-size: 32px;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    border: none;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* END TikTok */


.about__inner-achiev {
    margin-top: 80px;
}

.about__descr {
    margin-bottom: 70px;
    color: rgb(140, 67, 174);
}

.about__descr--2 {
    margin-bottom: 0;
}

.about__descr span {
    font-weight: 700;
}

.about__title {
    font-size: 46px;
    color: rgb(140, 67, 174);
    font-weight: 600;
    margin-bottom: 40px;
}

.about__title--2 {
    text-align: center;
}

.about__achiev {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 20px;
}

.about__achiev-numb {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about__achiev-icon {
    width: 50px;
    height: 50px;
    fill: #ffffff;
    display: inline-block;
    vertical-align: middle;
    transition: fill 0.3s ease;
}

.about__achiev-item {
    max-width: 380px;
    background-color: #ad4e96;
    padding: 30px 40px;
    border-radius: 10px;
    color: #ffffff;
}

/* .about__achiev-item--2 {
    max-width: 680px;
} */

.advant {
    background-image: url(../images/advant-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 80px;
    min-height: 940px;
}

.advant__inner {
    padding: 50px 0;
    color: #ffffff;
}

.advant__title {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;
}

.advant__title--2 {
    text-align: left;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Grid */
.advant__items {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    grid-template-rows: repeat(2, auto);
    gap: 40px;
    justify-content: space-between;
    padding-bottom: 100px;
}

.advant__item {
    margin-bottom: 56px;
}

/* End Grid */
.advant__item-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.advant__item-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 300;
}

/* ======== TEACHERS SECTION ======== */
.teachers {
    padding-bottom: 80px;
    overflow: hidden;
}

.teachers__title {
    color: rgb(88, 21, 120);
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 80px;
}

.teachers__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 80px 20px;
}

.techers-content-page {
    flex-wrap: wrap;
}

.teachers__item {
    display: flex;
    flex-direction: column;
    width: 260px;
    text-align: center;
    align-items: center;
}

.teachers__item-title {
    font-size: 22px;
    color: rgb(140, 67, 174);
    margin-bottom: 14px;
}

.teachers__item-img {
    margin-bottom: 20px;
    width: 260px;
    height: 362px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.teachers__item-text {
    color: rgb(140, 67, 174);
    font-size: 16px;
    margin-bottom: 24px;
    max-height: 134px;
    overflow-y: auto;
    padding-right: 5px;
}

.teachers__item-text::-webkit-scrollbar {
    width: 6px;
}

.teachers__item-text::-webkit-scrollbar-thumb {
    background-color: #cecece;
    border-radius: 3px;
}

.teachers__item-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: #6b298a;
    color: #ffffff;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.teachers__item-video {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 20px;
    color: rgb(140, 67, 174);
}

.teachers__item-video-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.teachers__item-video-icon {
    width: 24px;
    height: 24px;
    fill: #cf6db7;
    flex-shrink: 0;
}

.teachers__btn-wrapper {
    text-align: center;
    margin-top: 60px;
}

.teachers__show-all-btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: #cf6db7;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

/* BUTTON FIXED */
.teachers__btn-wrapper-fixed {
    position: fixed;
    top: 30%;
    right: -100px;
    transform: translateY(-45%);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, right 0.3s;
}

.teachers__btn-wrapper-fixed.visible {
    right: 18px;
    opacity: 1;
    pointer-events: auto;
}

.teachers__btn-wrapper-fixed.peek {
    right: -8px;
    opacity: 0.9;
    pointer-events: auto;
}

/* При наведении на peek — показываем полностью */
.teachers__btn-wrapper-fixed.peek:hover {
    right: 18px;
    opacity: 1;
}

.teachers__show-all-btn-fixed {
    display: inline-block;
    background-color: #ffd0b4;
    color: #1d1d1d;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: rotate(-90deg);
    transform-origin: right center;
    cursor: pointer;
}

/* END BUTTON FIXED */

/* ====== LESSONS SECTION ===== */
.lessons {
    padding-top: 50px;
    background-color: #6b298a;
    margin-bottom: 20px;
    overflow: hidden;
    /* чтобы не было горизонтального скролла */
}

.lessons__title {
    font-size: 48px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin-bottom: 70px;
}

.lessons__content {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 40px;
    padding-bottom: 80px;
    transition: transform 0.35s cubic-bezier(.22, .9, .36, 1);
    will-change: transform;
}

.lessons__item {
    flex: 0 0 auto;
    /* фиксированная ширина, не сжимается */
    width: 360px;
    position: relative;
    box-shadow: 15px 15px 20px rgba(58, 6, 98, 0.5);
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.lessons__item-title {
    position: absolute;
    bottom: 7px;
    left: 0;
    margin: 0;
    padding: 20px 10px;
    background-color: rgba(134, 57, 170, 0.9);
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    cursor: pointer;
}

.lessons__item-title--2 {
    background-color: rgba(134, 57, 170, 0.9);
    color: rgb(255 255 255 / 90%);
}

.lessons__item-title--3 {
    background-color: rgba(88, 21, 120, 0.9);
    color: #ffffff;
}

.lessons__item-img {
    width: 100%;
    height: auto;
}

.lessons__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lessons__play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 20px solid #121212;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.courses {
    padding: 20px 0 80px;
}

.courses__title {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    color: rgb(88, 21, 120);
}

.courses__descr {
    font-size: 20px;
    text-align: center;
    margin-bottom: 80px;
    color: rgb(88, 21, 120);
}

.courses__content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.courses__item {
    width: 360px;
    height: 538px;
    background-color: rgb(107, 41, 138);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    padding: 40px 10px;
    border-radius: 20px;
    gap: 40px;
}

.courses__item-title {
    font-size: 30px;
    font-weight: 500;
}

.courses__item-descr {
    width: 320px;
}

.courses__item-price {
    font-size: 38px;
    font-weight: 500;
}

.courses__item-btn {
    width: 240px;
    font-size: 21px;
    margin: 0 auto;
    padding: 20px 40px;
    background-color: #cf6db7;
    color: #ffffff;
    border-radius: 5px;
    font-weight: 700;
}

.courses__end {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

.footer {
    background-color: rgb(107, 41, 138);
}

.footer__top-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 60px 0 50px;
    gap: 30px 20px;
}

.footer__top-contacts {
    color: #fff;
    max-width: 500px;
}

.footer__top-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer__phone-text {
    margin-bottom: 20px;
    font-weight: 300;
}

.footer__contact-info {
    margin-left: 30px;
}

.footer__phone-telegram,
.footer__phone,
.footer__email {
    display: block;
    color: #fff;
    margin-bottom: 32px;
}

.footer__phone-telegram {
    position: relative;
}

.footer__phone-telegram::before {
    position: absolute;
    content: "";
    background-image: url(../images/telegram.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    left: -40px;
    top: -3px;
}

.footer__phone {
    position: relative;
}

.footer__phone::before {
    position: absolute;
    content: "";
    background-image: url(../images/mob-phone.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    left: -36px;
    top: 4px;
}

.footer__email {
    position: relative;
}

.footer__email::before {
    position: absolute;
    content: "";
    background-image: url(../images/mail.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
    left: -36px;
    top: 4px;
}

.footer__phone-telegram {
    color: #ffffff;
    position: relative;
}

.footer__phone-telegram::before {
    position: absolute;
    content: "";
    background-image: url(../images/telegram.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 27px;
    height: 30px;
    left: -42px;
    top: -2px;
}

/* Form */
.form-container {
    width: 500px;
}

.form-container input[type="text"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 14px;
    background-color: #fff;
    border-radius: 5px;
    font-size: 18px;
    color: #ababab;
}

/* Checkbox*/
/* Стилизация нативного чекбокса (скрываем его) */
.form-container input[type="checkbox"] {
    display: none;
}

/* Стилизация кастомного фона чекбокса */
.form-container input[type="checkbox"]+label::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: #ffffff;
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Стилизация кастомного фона чекбокса при нажатии */
input[type="checkbox"]:checked+label::before {
    background-color: #ad57d4;
    content: "\2713";
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    text-align: center;
}

.form__messenger,
.form__lessons {
    color: #fff;
    margin-bottom: 30px;
    font-size: 16px;
}

.form__lessons .form__lessons-check {
    margin-bottom: 20px;
}

.form__messenger-text,
.form__lessons-text {
    margin-bottom: 10px;
}

.form__messenger label {
    margin-right: 30px;
}

/* Отключение выделения текста синим цветом при двойном клике */
input[type="checkbox"],
label {
    user-select: none;
}

.form-container button {
    width: 100%;
    padding: 20px 0;
    border: none;
    border-radius: 5px;
    background-color: #cf6db7;
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.discount-10 {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
}

.form-container select {
    margin-bottom: 20px;
}

.form__personal {
    font-size: 15px;
    color: #fff;
    margin-bottom: 10px;
}

/* End Form */
.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    background-color: rgb(88, 21, 120);
}

.footer__bottom-text {
    font-size: 12px;
    font-weight: 200;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    padding: 10px 0;
}

.footer__telegram-chanel {
    color: #ffffff;
    position: relative;
}

.footer__telegram-chanel::before {
    position: absolute;
    content: "";
    background-image: url(../images/arrow-footer-right.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 21px;
    height: 18px;
    left: -34px;
    top: 3px;
    color: #ffffff;
}

/* Scroll to Top Button */
#scrollToTopButton {
    display: none;
    font-size: 24px;
    font-weight: 100;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 15;
    background-color: rgb(88, 21, 120);
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 1px #ffffff;
}

#scrollToTopButton:hover {
    background-color: rgb(88, 21, 120);
}

/* Thank you page */
.thanks {
    margin-top: 50px;
    margin-bottom: 100px;
}

.thanks-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thanks-descr {
    text-align: center;
    max-width: 560px;
}

.thanks-title {
    font-size: 40px;
    line-height: 1.4;
}

.thanks-text {
    font-size: 20px;
    margin-top: 10px;
}

.thanks-text-2 {
    font-size: 30px;
    margin-top: 40px;
    line-height: 1.4;
    font-weight: 700;
}

.thanks-contacts {
    margin-top: 40px;
}

.thanks-contacts-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.thanks-links-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.thanks-links img {
    width: 42px;
    height: 42px;
}

.form__parent-block {
    margin-bottom: 20px;
}

.form__parent-text {
    display: inline-block;
    margin-bottom: 10px;
}

.form__parent-text {
    font-size: 16px;
    color: #fff;
}

/* --- HEADER INNER --- */
.header-inner {
    height: 78px;
    margin-bottom: 80px;
}

/* ------------ FAQ ----------- */
.faq {
    margin-top: 50px;
    margin-bottom: 100px;
}

.faq-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 10px;
    border-radius: 5px;
}

.faq-question {
    width: 100%;
    background-color: #7b3b99;
    color: #ffffff;
    padding: 15px 40px 15px 15px;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: all 0.2s;
    line-height: 1.5;
    border-radius: 10px;
}

.faq-question.active {
    background-color: #ad57d4;
    color: #fff;
}

.faq-question .faq-toggle {
    position: absolute;
    right: 20px;
    top: 28px;
    font-size: 26px;
    line-height: 0;
}

.faq-question:hover {
    background-color: #ad57d4;
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: #fff4e5;
    border-radius: 10px;
}

.faq-answer p {
    margin-bottom: 10px;
    color: #292929;
    font-size: 18px;
}

.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;
}

/* --- CHAR FOR GSAP JS Effect page About */
.char {
    display: inline-block;
    transform: scale(0);
    background: #e3e3e3;
    padding: 4px;
    margin: 2px;
    border-radius: 4px;
    line-height: 1.2;
    white-space: pre;
}

.about__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.about__list .icon {
    flex-shrink: 0;
    margin-top: 3px;
}

.lessons-about {
    margin-bottom: 0;
}

/* --- PAGINATION --- */
.custom__pagination {
    margin-top: 80px;
    margin-bottom: 80px;
}

.custom__pagination-list {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.custom__pagination-list li {
    display: inline-block;
}

.custom__pagination-list a,
.custom__pagination-list span {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #272727;
    transition: 0.2s;
}

.custom__pagination-list a:hover {
    background-color: #f1f1f1;
}

.custom__pagination-list .active span {
    background-color: #cf6db7;
    color: #fff;
    border-color: #cf6db7;
}

.custom__pagination-list .disabled span {
    color: #bbb;
    pointer-events: none;
    background-color: #f5f5f5;
}

/* --- LEARNING STEP SECTION --- */
.learning-steps {
    margin-top: 50px;
    margin-bottom: 80px;
}

.learning-steps__title {
    text-align: center;
    font-size: 48px;
    color: #702f8f;
    font-weight: 600;
    margin-bottom: 40px;
}

.learning-steps__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.learning-step__card {
    position: relative;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 260px;
    padding: 24px 28px;
    border-radius: 14px;
    border: 1px solid #ececec;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
    flex-direction: column;
}

.learning-step__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.learning-step__icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-step__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.learning-step__icon--last img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffc6b0;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-step__content h3 {
    font-size: 18px;
    font-weight: 600;
}

.learning-step__content p {
    margin: 6px 0 0;
    font-size: 15px;
}

.messenger-icon img {
    width: 36px;
    height: 36px;
}

/* Alphabet */
.korean-chart-app__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f3f4f6;
    padding: 2rem 0;
}

.korean-chart-app__title {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1rem 0;
    text-align: center;
}

.korean-chart-app__table {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    grid-auto-rows: minmax(50px, auto);
    width: 75%;
    max-width: 1200px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.korean-chart-app__placeholder {
    background-color: #e0ccff;
}

.korean-chart-app__character {
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: default;
    transition: background-color 0.2s;
}

.korean-chart-app__character:nth-child(11n + 1) {
    background: rgba(216, 187, 255, 0.3);
}

.korean-chart-app__character:nth-child(-n + 11) {
    background: rgba(255, 144, 240, 0.3);
}

.korean-chart-app__character:hover {
    background-color: rgba(128, 128, 128, 0.1);
}

/*  Animation letter */
.korean-text .char {
    display: inline-block;
    margin-top: 20px;
    padding: 8px;
    font-weight: 700;
    font-size: 46px;
    color: #411257;
    background-color: #e3e3e3;
    transform: scale(0);
    /* для GSAP */
}

/* Photo small */
.header__photos-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* расстояние между фото */
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin-top: 80px;
}

.photo-item {
    width: 150px;
    /* ширина каждого фото */
    transition: transform 0.3s;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: auto;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

/* небольшой "эффект наведения" */
.photo-item:hover {
    transform: scale(1.05) rotate(-2deg);
}


/* ============ SLIDER ============ */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    padding-bottom: 10px;
}

.slider-inner {
    display: flex;
    gap: 25px;
    transition: transform 0.35s cubic-bezier(.22, .9, .36, 1);
    will-change: transform;
    padding-bottom: 40px;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.review-video {
    height: auto;
    width: 100%;
    max-height: 600px;
    object-fit: contain;
}

/* END VIDEO */

/* REVIEW SECTION */
.reviews-content,
.tiktok-content {
    justify-content: center;
}

.reviews-section {
    background: linear-gradient(90deg, #ff8759, #ffcb94);
    padding-top: 40px;
    padding-bottom: 20px;
    color: #fff;
    margin-top: -20px;
    margin-bottom: 40px;
}

.reviews-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
}

.reviews-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.review-card {
    flex: 1 1 260px;
    max-width: 320px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.review-card:hover img {
    transform: scale(1.05);
}

.review-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0) 70%);
    color: #fff;
    padding: 20px;
}

.review-overlay .text {
    text-align: left;
}

.review-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.review-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #f2f2f2;
}

.review-play-btn {
    position: absolute;
    top: 12%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: #ffddc6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* треугольник Play */
.review-play-btn::before {
    content: '';
    display: block;
    width: 20px;
    height: 22px;
    background-color: #3b3b3b;
    border-radius: 4px;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    transform: translateX(2px);
}

/* ! Состояние кнопки — видео играет ========================== */
.review-play-btn.playing::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #3b3b3b;
    border-radius: 4px;
    clip-path: polygon(0% 0%,
            100% 0%,
            100% 100%,
            0% 100%);
    transform: translateX(0);
}


.review-play-btn:hover {
    background: #ffebdd;
}

/* END REVIEW SECTION */


/* TIKTOK VIDEO */
.tiktok-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.tiktok-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.tiktok-video {
    height: auto;
    width: 100%;
    height: 700px;
    object-fit: contain;
}

.tiktok-btn-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.tiktok-show-all-btn {
    display: inline-block;
    padding: 18px 80px;
    background-color: #212121;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.tiktok-show-all-btn:hover {
    background-color: #000000;
}

/* TikTok video styles */
.review-card.lazy-tiktok {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* Play button for TikTok preview */
.tiktok-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    /* можно менять по необходимости */
    height: 58px;
    transform: translate(-50%, -50%);
    background: url('assets/icons/tiktok-play.svg') no-repeat center/contain;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.25s ease;
}

.review-card.lazy-tiktok:hover .tiktok-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Play button for TikTok video styles */
.tiktok-content {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto;
}

.tiktok-preview {
    position: relative;
    display: inline-block;
}

.tiktok-preview img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.tiktok-load-btn {
    position: absolute;
    top: 86%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tiktok-load-btn::before {
    content: '';
    display: block;
    width: 20px;
    height: 22px;
    background-color: #3b3b3b;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    transform: translateX(2px);
}




/* END TikTok video styles */

/* END TIKTOK VIDEO */

.slider-inner .review-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-height: 560px;
}

/* DOTS */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 40px;
    pointer-events: auto;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.9;
    transition: transform 0.18s, background 0.18s;
    cursor: pointer;
    padding: 0;
}

.slider-dots button.active {
    transform: scale(1.3);
    background-color: #fff;
}

.slider-inner.dragging {
    transition: none;
    cursor: grabbing;
}

/* ======= DOTS TEACHER ======= */
.slider-teachers-dots button {
    background: rgba(40, 85, 136, 0.5);
}

.slider-teachers-dots button.active {
    background: #a456c9;
}

/* ======= DOTS COURSES ======= */
.courses-dots button {
    background-color: rgba(88, 88, 88, 0.5);
}

.courses-dots button.active {
    background-color: #6b298a;
}


/* =============== CONTACT PAGE =============== */
.contacts-section {
    padding-top: 40px;
    padding-bottom: 100px;
}

.contacts-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contacts-left {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 40%;
}

.contacts-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
}

.contact-block {
    margin-bottom: 25px;
}

.contact-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
}

.messenger-links {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

.messenger-links a {
    display: inline-block;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.messenger-links .viber {
    background-color: #7360f2;
}

.messenger-links .telegram {
    background-color: #0088cc;
}

.phone-button {
    position: relative;
    padding-left: 36px;
    display: inline-block;
}

.phone-button::before {
    content: "";
    position: absolute;
    background-image: url("/assets/images/icons/phone.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contact-email {
    position: relative;
    padding-left: 36px;
    display: inline-block;
}

.contact-email::before {
    content: "";
    position: absolute;
    background-image: url("/assets/images/icons/email.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Карта */
.contacts-right {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 45%;
    width: 100%;
}

#map {
    width: 100%;
    height: 580px;
    border-radius: 8px;
}