:root {
    --background-color: rgb(17, 10, 0);
    --padding-x: 16px;
    --gradient: linear-gradient(90deg, #E0AD19 0%, #E9C93C 25%, #FDEF62 50.96%, #F7DD47 72.12%, #F5CD30 97.12%);
}

body {
    background-color: var(--background-color);
    color: #fff;
    font-family: "Gotham Pro", sans-serif;
    font-weight: 400;
}

html,
body {
    overflow-x: hidden;
}

.gradient {
    background: var(--gradient);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.text {
    font-size: clamp(12px, 1.04vw, 18px);
    color: #FFFFFFB2;

}

.white {
    color: white;
}

.cursiv {
    font-style: italic;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

.section {
    padding-block: 170px;
}

.header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    top: 40px;
    z-index: 1100;
}

.nav {
    display: inline-block;
    padding: 25px 40px;
    background: #E5DAC217;
    border: 1px solid #F1F1F14D;
    backdrop-filter: blur(17px);
    border-radius: 100px;
}

.nav__list {
    position: relative;
    display: flex;
    gap: 70px;

}

.nav__item a,
.footer__nav-item a {
    text-decoration: none;
    color: white;
}

.nav__item a.active {
    font-weight: bold;   /* Делаем активный пункт жирным */
    color: #110A00;
}

.nav__indicator {
    position: absolute;
    background: var(--gradient); /* Градиентный фон */
    height: 65%; /* Занимает часть высоты от header */
    border-radius: 100px;
    width: 0;
    left: 0;
    bottom: 25%; /* Отступ снизу */
    z-index: -1; /* Находится под текстом */
    transition: all 0.3s ease; /* Плавное перемещение */

    /* Это нужно сделать для визуального тестирования начальной позиции */
    display: none; /* Убрать, пока JS не активирует */
}

/* Бургер-кнопка */
.burger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1200;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger__line {
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 6px;
    background-color: white;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open .burger__line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.open .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.open .burger__line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: rgba(17, 10, 0, 0.64);
    backdrop-filter: blur(16px);
    z-index: 1100;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.mobile-menu.open {
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu__nav {
    padding: 20px;
}

.mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    text-align: center;
    margin: 0;
}

.mobile-menu__item a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: auto;
    background: url("assets/hero-background.webp") no-repeat center center;
    /*overflow-x: clip; !* Делаем содержимое выходящим *!*/
    padding-block: 0;
}

.hero__container {
    padding-top: 30vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    text-align: center;
    margin-bottom: 120px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(183.36deg, #110A00 17.1%, rgba(17, 10, 0, 0) 91.61%);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("assets/hero-vector.webp") no-repeat top right;
    mix-blend-mode: overlay;
}

.hero__text {
    margin-bottom: 90px;
}

.hero__title {
    width: 105%;
    letter-spacing: 0;
    line-height: 1;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(32px, 7.4vw, 100px);
}

.hero__button {
    padding: clamp(20px, 1.85vw, 32px) clamp(40px, 5.05vw, 70px);
    font-size: clamp(16px, 1.85vw, 22px);
    text-decoration: none;
    color: black;
    border-radius: 20px;
}

.additional_text {
    font-size: clamp(14px, 1.85vw, 28px);
    display: block;
    margin-block: 15px;
}

.hero__info {
    position: relative;
    z-index: 1000;
    margin-top: auto;
    margin-bottom: 100px;
    width: 100%;
    border: 1px solid;
    border-image-source: linear-gradient(90deg, rgba(85, 85, 85, 0) 3.37%, #FFFFFF 40.31%, #FFF7B5 52.17%, #FFFFFF 61.81%, rgba(85, 85, 85, 0) 97.12%);
    border-image-slice: 1; /* Не забываем указать slice, чтобы градиент применился */
}

.hero__info__container {
    padding: 20px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    background: #E5DAC217;
    border: 1px solid;
    border-image-source: linear-gradient(90deg, rgba(85, 85, 85, 0) 3.37%, #FFFFFF 40.31%, #FFF7B5 52.17%, #FFFFFF 61.81%, rgba(85, 85, 85, 0) 97.12%);
    backdrop-filter: blur(20px);
    border-image-slice: 1;
}

.hero__left, .hero__right {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.hero__right {
    right: 0;
    left: unset;
}

.left__img-1,
.right__img-1 {
    position: absolute;
    width: 720px;
    height: auto;
    top: -50px;
    z-index: 100;
}

.left__img-1 {
    transform: rotate(163.08deg) scaleY(-1);
    left: -312px;
}

.right__img-1 {
    right: -312px;
    transform: rotate(-163.08deg) scaleX(-1) scaleY(-1);
}

.left__img-3,
.right__img-3  {
    position: absolute;
    width: 610px;
    height: auto;
    top: 400px;
}

.left__img-3 {
    transform: rotate(180deg) scaleY(-1);
    left: -347px;
}

.right__img-3 {
    right: -347px;
    transform: rotate(-180deg) scaleX(-1) scaleY(-1);
}

.left__img-4,
.right__img-4  {
    position: absolute;
    width: 985px;
    height: auto;
    top: 574px;
    z-index: 1001;
}

.left__img-4 {
    transform: rotate(-180deg) scaleY(-1);
    left: -373px;
}

.right__img-4 {
    transform: rotate(180deg) scaleY(-1) scaleX(-1);
    right: -373px;
}

.utp {
    position: relative;
    padding-block: 170px;
}

.utp::after {
    content: "";
    position: absolute;
    width: 1080px;
    height: 770px;
    bottom: -400px;
    right: -420px;
    background: url("assets/cloud.webp") no-repeat center center;
    pointer-events: none;
}

.utp__title {
    margin-bottom: 16px;
}

.utp__text-container {
    text-align: center;
    margin-bottom: 70px;
}

.card__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.card {
    position: relative;
    max-width: 395px;
    padding: 20px;
    background: var(--background-color);
    border-radius: 25px;
}

.card::before {
    content: "";
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    position: absolute;
    background: linear-gradient(90deg, #E0AD19 0%, #E9C93C 25%, #FDEF62 50.96%, #F7DD47 72.12%, #F5CD30 97.12%);
    border-radius: 25px;
    z-index: -1;
}

.card__image {
    margin-bottom: 32px;
    height: auto;
}

.card__title {
    font-size: clamp(24px, 1.85vw, 30px);

}

.card__description {
    color: #FFFFFFCC;
}

.for-who {
    position: relative;
}

.for-who__image {
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
}

.for-who::before {
    content: "";
    position: absolute;
    width: 1080px;
    height: 770px;
    top: 650px;
    left: -470px;
    transform: rotate(180deg) scaleY(-1);
    background: url("assets/cloud.webp") no-repeat center center;
    pointer-events: none;
    z-index: 100;
}

.for-who::after {
    content: "";
    position: absolute;
    width: 724px;
    height: 516px;
    top: 823px;
    left: 200px;
    opacity: 0.84;
    transform: rotate(-180deg) scaleY(-1);
    background: url("assets/cloud.webp") no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 100;
}

.for-who__container {
    display: flex;
    justify-content: flex-end;
}

.for-who__wrapper {
    position: relative;
    max-width: 781px;
    color: #FFFFFFCC;

}

.for-who__title {
    margin-bottom: 26px;
}

.for-who__text {
    margin-bottom: 70px;
}

.text__list {
    position: relative;
}

.text__item {
    display: flex;
    margin-bottom: 72px;
    max-width: 390px;
}

.for-who__number {
    font-size: 32px;
    margin-right: 20px;
    font-weight: 700;
    min-width: 50px;
    display: block;
    line-height: 1;
}

.subtitle {
    display: block;
    font-size: clamp(24px, 1.85vw, 30px);
    color: white;
    font-weight: 700;
    margin-bottom: 9px;
    line-height: 1;
}

.age__container {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 290px;
    padding: 15px 30px 30px 30px;
    background: #FFFFFF26;
    border: 1px solid #FFFFFF4F;
    backdrop-filter: blur(16px);
    border-radius: 25px;
    text-align: center;
}

.age__title {
    font-size: 48px;
    font-weight: 600;
}

.age__text {
    text-align: left;
}

.team__container {
    max-width: 1536px;
    margin: 0 auto;
}

.team__text-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    max-width: 1536px;
}

.team__title {
    max-width: 670px;
}

.team__additional-container {
    max-width: 500px;
}

.team__cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1536px;
}

.team__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 450px;
    background: linear-gradient(180deg, rgba(17, 10, 0, 0) 0%, #110A00 100%);
    padding: 400px 40px 37px 40px;
    border-radius: 25px;
    border: 2px solid #FFFFFF4F;
    overflow: hidden;
}

.team__card-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;

}

.card__subtitle {
    display: block;
    width: 100%;
}

.program {
    position: relative;
}

.program::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    top: -50px;
    left: 80%;
    transform: translateX(-80%);
    background: url("assets/bird-2.webp") no-repeat center center;
    pointer-events: none;
    z-index: 100;
}

.program::after {
    content: "";
    position: absolute;
    width: 811px;
    height: 771px;
    top: 450px;
    right: 0;
    background: url("assets/program-img.webp") no-repeat center center;
    pointer-events: none;
    z-index: 0;
}

.program__text-container {
    position: relative;
    max-width: 990px;
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.program__text-container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(183.36deg, #120900 16.69%, rgba(18, 9, 0, 0) 91.61%);
    transform: rotate(180deg);
    transition: opacity 0.3s ease-in-out;
}

.program__text-container.expanded {
    max-height: none; /* Снимаем ограничение на высоту */
    z-index: 10;
}

.program__text-container.expanded::after {
    opacity: 0;
}


.program__title {
    margin-bottom: 80px;
}

.day-container {
    display: flex;
    margin-bottom: 50px;
}

.day__number {
    text-wrap: nowrap;
    margin-right: 20px;
    min-width: 100px;
}

.divider {
    margin-top: 15px;
    margin-right: 30px;
    width: 75px;
    height: 1px;
    display: inline-block;
    background: white;
}

.day__text {
    font-size: clamp(14px, 1.27vw, 22px);
    color: white;
}

.show-more-btn {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-size: clamp(16px, 1.85vw, 22px);
    color: white;
    display: flex;
    align-items: center;
}

.show-more-btn svg {
    transition: transform 0.3s ease-in-out;
}

.show-more-btn.expanded svg {
    transform: rotate(180deg);
}

.button__text {
    margin-right: 20px;
    padding-top: 5px;
}

.price__title {
    margin-bottom: 80px;
}

.price__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price__cards-container {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

.price__card-info {
    position: relative;
    padding: 20px 10px;
    z-index: 1;
    border-radius: 25px;
    overflow: hidden;
    width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price__card-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("assets/price-img.webp") no-repeat center center;
    background-size: cover; /* Подгоняем размер картинки */
    filter: blur(4px); /* Применяем фильтр */
    z-index: -1; /* Отправляем на слой ниже */
    box-shadow: 0 -133px 32px 0 #110A00AD inset;
    opacity: 0.75;
}

.price__card-info svg {
    padding-bottom: 7px;
    min-width: 41px;
    min-height: 25px;
    box-sizing: unset;
}

.price__card {
    position: relative;
    padding: 20px;
    background: var(--background-color);
    border-radius: 25px;
    width: 460px;
    max-width: 100%;
}

.price__card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: var(--gradient);
    border-radius: 25px;
    z-index: -1;
}

.card__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    background: #201607;
    padding: 25px 35px;
    border-radius: 17px;
    margin-bottom: 20px;
}

.card__inner-text {
    margin-bottom: 15px;
    font-size: 24px;
}

.card__price {
    font-weight: 700;
    font-size: clamp(28px, 2.77vw, 48px);
    text-transform: uppercase;
    margin-bottom: 35px;
}

.card__button {
    border: none;
    outline: none;
    text-decoration: none;
    color: var(--background-color);
    cursor: pointer;
    font-size: clamp(16px, 1.15vw, 20px);
    width: 100%;
    padding: 15px 75px;
    border-radius: 32px;
}

.card__additional-item {
    display: flex;
    align-items: center;
}

.card__additional-item:not(:last-child) {
    margin-bottom: 15px;
}

.card__additional-text {
    font-size: clamp(16px, 1.38vw, 24px);
}

.card__additional-item svg {
    margin-right: 15px;
    min-width: 22px;
    min-height: 22px;
}

.price__include-container {
    display: flex;
}

.price__subtitle {
    font-size: clamp(18px, 1.85vw, 32px);
    margin-right: 60px;
}

.price__include-list {
    line-height: 2;
    padding-left: 30px;
}

.price__include-item {
    position: relative;
}

.price__include-item::before {
    left: -15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FFFFFF;
    content: "";
    position: absolute;
    top: 45%;
    transform: translateY(-45%);
}

.rules {
    padding-block: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1531px;
    background: #17000029;
}

.rules::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: url("assets/rules-bg.webp") no-repeat center center;
    background-size: cover;
}

.rules__title {
    text-align: center;
    font-size: clamp(32px, 3.12vw, 54px);
    word-wrap: break-word;
    margin-bottom: 60px;
}

.rules__list {
    display: flex;
    gap: 25px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.rules__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    border-radius: 25px;
    overflow: hidden;
    background: #2E1D1380;
    backdrop-filter: blur(10px);
    box-shadow: 1px 1px 5px #FFFFFF1A inset, 2px 2px 9px #FFFFFF1A inset, -2px -2px 12px -8px #00000026, -11px -10px 48px -12px #00000026;
    width: 420px;
}

.rules__item::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 36, 18, 0.2);
}

.rules__card-title {
    font-size: clamp(24px, 1.85vw, 30px);
    font-weight: 700;
    margin-bottom: 16px;
}

.rules__card-text {
    font-size: clamp(16px, 1.15vw, 20px);
}

.referal__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
}

.referal__text-container {
    position: relative;
    max-width: 650px;
}

.referal__text-container::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: -45px;
    background: #D9D9D9;
    opacity: 0.45;
}

.referal__text-container::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 0;
    left: -47px;
    background: linear-gradient(137.31deg, #A2AB9D 14.26%, #E9EFD9 86.12%);
}

.referal__title {
    margin-bottom: 45px;
}

.referal__subtitle {
    display: block;
    margin-bottom: 30px;
}

.referal__text {
    line-height: 1.4;
}

.referal__image {
    height: auto;
}

.question__container {
    position: relative;
    max-width: 1600px;
}

.question__title {
    margin-bottom: 20px;
    line-height: 2;
}

.left-container {
    max-width: 700px;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    position: relative;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: var(--background-color);
}

.faq-question {
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    border-radius: 20px;
    z-index: 1;
}

.faq-question::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    border-radius: 20px;
    z-index: -1;
}

.faq-item::before,
.faq-question::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: linear-gradient(90deg, #E0AD19 0%, #E9C93C 25%, #FDEF62 50.96%, #F7DD47 72.12%, #F5CD30 97.12%);
    border-radius: 20px;
    z-index: -2;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* достаточно для ответа */
    padding: 16px;
    opacity: 1;
}

.faq-question .icon {
    position: relative;
    padding-bottom: 2px;
    border-radius: 50%;
    font-size: 20px;
    display: inline-block;
    min-width: 30px;
    width: 30px;
    height: 30px;
    color: var(--background-color);
    background: var(--gradient);
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-question.text {
    font-weight: 700;
}


.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.question__image {
    position: absolute;
    top: -100px;
    right: 0;
    width: 758px;
    height: 797px;
    object-fit: cover;
    z-index: -1;
}

.form {
    background: url("assets/form-bg.webp") no-repeat center center;
    background-size: cover;
    padding-block: 300px 300px;
}

.form__container {
    display: flex;
    justify-content: space-between;
    max-width: 1500px;
}

.cta {
    min-width: 700px;
}

.cta__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta__item:not(:last-child) {
    margin-bottom: 50px;
}

.cta__item:last-child {
    align-items: flex-end;
}

.cta__title {
    letter-spacing: 8px;
    font-size: clamp(32px, 3.7vw, 64px);
}

.cta__description {
    font-size: clamp(16px, 1.85vw, 32px);
    font-weight: 700;
}

.form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px;
    max-width: 600px;
}

.form__title {
    text-align: center;
    font-size: clamp(16px, 1.38vw, 24px);
}

.form__label {
    display: none;
}

.form__input {
    background: #FBFBFB;
    padding: 25px 20px;
    border-radius: 15px;
    border: none;
    outline: none;
    font-size: clamp(16px, 1.15vw, 24px);
}

.form__button {
    padding-block: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: clamp(16px, 1.15vw, 24px);
    border-radius: 15px;
}

.footer {
    padding-block: 70px;
}

.footer__container,
.footer__left-container {
    display: flex;
}

.footer__menu-container {
    margin-right: 150px;
}

.footer__title {
    font-size: clamp(16px, 1.85vw, 32px);
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.footer__nav-list {
    flex-direction: column;
    gap: 12px;
}

.footer__text {
    text-decoration: none;
}

/* Анимации */

/* Анимация появления с левой стороны */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%) rotate(163.08deg) scaleY(-1); /* Начальное положение (включая отражение и угол) */
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(163.08deg) scaleY(-1); /* Конечное положение (с фиксированным углом) */
    }
}

/* Анимация появления с правой стороны */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%) rotate(10deg); /* Начальное положение с углом наклона */
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(10deg); /* Конечное положение с фиксированным углом */
    }
}

/* Анимация махания */
@keyframes wave {
    0%, 100% {
        transform: rotate(163.08deg) scaleY(-1); /* Левый папоротник сохраняет отражение и угол */
    }
    50% {
        transform: rotate(170.08deg) scaleY(-1); /* Легкое уменьшение угла (махание) */
    }
}

/* Для правого папоротника аналогичная анимация махания */
@keyframes waveRight {
    0%, 100% {
        transform: rotate(10deg); /* Учитываем начальный угол */
    }
    50% {
        transform: rotate(13deg); /* Легкое увеличение угла */
    }
}

/* Левое изображение */
.hero__left img {
    transform: scaleY(-1) rotate(-10deg); /* Базовое начальное положение с углом и отражением */
    animation: slideInLeft 1.5s ease-out forwards, wave 2s 1.5s infinite ease-in-out;
}

/* Правое изображение */
.hero__right img {
    transform: rotate(10deg); /* Базовый угол наклона */
    animation: slideInRight 1.5s ease-out forwards, waveRight 2s 1.5s infinite ease-in-out;
}

/* Элементы изначально скрыты */
.hidden {
    opacity: 0; /* Скрываем */
    transform: translateY(50px); /* Смещаем вниз */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Плавность перехода */
}

/* Появление */
.show {
    opacity: 1; /* Полная видимость */
    transform: translateY(0); /* Возвращаем в исходное положение */
}

/* Медиа-запросы */

@media (max-width: 1200px) {
    .left-container {
        margin-inline: auto;
    }

    .cta {
        min-width: 40%;
    }
}

@media (max-width: 900px) {
    .left__img-1,
    .right__img-1 {
        top: 0;
    }

    .left__img-1 {
        left: -250px;
    }

    .right__img-1 {
        right: -250px;
    }

    .for-who__image {
        left: -50%;
        bottom: -50px;
        top: unset;
    }

    .utp::after {
        display: none;
    }

    .team__text-container {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .team__title {
        margin-bottom: 30px;
    }

    .team__cards-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 30px;
    }
    .team__cards-container::-webkit-scrollbar {
        display: none;
    }

    .team__cards-container::before,
    .team__cards-container::after {
        content: "";
        width: 16px;
        display: block;
        flex-shrink: 0;
    }

    .team__card {
        scroll-snap-align: center;
        min-width: 300px;
    }

    .price__include-container {
        flex-direction: column;
    }

    .price__subtitle {
        text-align: center;
        margin-bottom: 30px;
    }

    .price__include-item {
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .program::after {
        display: none;
    }

    .price__card-info {
        display: none;
    }

    .rules__list {
        flex-direction: column;
        align-items: center;
    }

    .referal {
        padding-block: 60px;
    }

    .referal__container {
        flex-direction: column-reverse;
        padding-left: 16px;
    }

    .referal__text-container::before,
    .referal__text-container::after {
        display: none;
    }

    .referal__image {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav {
        display: none; /* Скрываем десктопное меню */
    }

    .left__img-1,
    .right__img-1 {
        top: 30px;
    }

    .left__img-1 {
        left: -150px;
    }

    .right__img-1 {
        right: -150px;
    }

    .left__img-3,
    .right__img-3 {
        top: 600px;
    }

    .left__img-3 {
        left: -80px;
    }

    .right__img-3 {
        right: -80px;
    }

    .left__img-4,
    .right__img-4 {
        top: 750px;
    }

    .left__img-4 {
        left: -60px;
    }

    .right__img-4 {
        right: -60px;
    }

    .utp__container {
        overflow: visible; /* Убедитесь, что родитель пропускает содержимое */
    }

    .day__number {
        min-width: 80px;
    }

    .card__container {
        box-sizing: border-box;
        padding: 10px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        gap: 25px;
        width: 100%;
        scrollbar-width: none
    }

    .card__container::-webkit-scrollbar {
        display: none;
    }

    .card__container::before {
        width: 16px;
        display: block;
        content: "";
        flex-shrink: 0;
        margin-right: -25px;
    }

    .card {
        min-width: 300px;
    }

    .age__container {
        z-index: 1000;
        bottom: -280px;
    }

    .for-who {
        margin-bottom: 150px;
    }

    .for-who::before {
        width: 600px;
        left: -100px;
        bottom: -500px;
        top: unset;
        background-size: contain;
    }

    .for-who::after {
        display: none;
    }

    .program::before {
        width: 200px;
        height: 200px;
        background-size: contain;
    }

    .price__card {
        width: unset;
    }

    .form {
        padding-top: 40px;
        background: url("assets/form-mobile-bg.png") no-repeat center center;
        background-size: cover;
    }

    .form__container {
        flex-direction: column-reverse;
    }

    .cta {
        max-width: 100%;
    }

    .form__wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 400px) {
    .left__img-1,
    .right__img-1 {
        top: 80px;
    }

    .left__img-1 {
        left: -50px;
    }

    .right__img-1 {
        right: -50px;
    }
}