.header {
    padding-block: 20px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--white);
    width: 100%;

    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.35);

    p {
        line-height: 1;
        margin-bottom: 0;
    }
}

.header-margin-block {
    margin-top: 126.4px;
}

.header-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-tools {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-links-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-links-wrapper > li {
    height: 100%;
}

.header-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.2s ease;

    &:hover {
        color: var(--text-hover);
    }
}

.has-dropdown-header,
.has-subdropdown-header {
    position: relative;
}

.header-links-wrapper > li:nth-child(-n + 5) .header-sublinks-wrapper {
    left: 0;
    right: auto;
}
.header-links-wrapper > li:nth-child(n + 6) .header-sublinks-wrapper {
    right: 0;
    left: auto;
}

.header-sublinks-wrapper {
    width: max-content;
    display: none;
    background-color: var(--white);

    position: absolute;
    top: 100%;
    z-index: 20;

    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.35);
}
.header-sublink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    color: var(--text) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
    padding: 10px 20px;
    cursor: pointer;

    transition: all 0.3s ease;
    &:hover {
        background-color: var(--purple-light);
    }
}

.header-subsublinks-wrapper {
    display: none;

    position: absolute;
    top: 0;
    left: 100%;
    z-index: 20;

    background-color: var(--white);

    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.35);
}
.header-subsublink {
    display: flex;
    color: var(--text) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    padding: 10px 20px;
    cursor: pointer;
    text-wrap: nowrap !important;

    transition: all 0.3s ease;
    &:hover {
        background-color: var(--purple-light);
    }
}

.has-dropdown-header:hover .header-sublinks-wrapper,
.has-subdropdown-header:hover .header-subsublinks-wrapper {
    display: block;
}

.header-links-wrapper > li:nth-child(-n + 5) .header-subsublinks-wrapper {
    left: 100%;
    right: auto;
}
.header-links-wrapper > li:nth-child(n + 6) .header-subsublinks-wrapper {
    right: 100%;
    left: auto;
}


.header-phone-link {
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;

    svg {
        display: none;
    }
}

.lang-switch {
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.langs-list {
    display: none;
    flex-direction: column;

    position: absolute;
    top: 170%;
    left: -30px;

    padding: 10px 20px;
    background-color: var(--white);
    border: 1px solid var(--purple-light);
    border-radius: 10px;
    z-index: 50;

    &.active {
        display: flex;
    }
}
.lang-item {
    padding: 10px;
    border-radius: 6px;
    text-wrap: nowrap;

    font-weight: 500;

    transition: all 0.3s ease;
    &:hover {
        background-color: var(--purple-light);
    }

    &.active {
        border: 1px solid var(--purple);
        color: var(--purple);
        font-weight: 600;
    }
}

.header-search {
    display: flex;
    gap: 80px;
    align-items: center;

    padding: 9px 30px;
    border-radius: 30px;
    background-color: var(--purple-light);
    cursor: pointer;
}
.header-btn {
    display: grid;
    place-items: center;

    padding: 11px 30px;
    border-radius: 30px;
    background-color: var(--purple);
    color: var(--white);
    cursor: pointer;
}


.burger-btn {
    display: none;
}

.burger-icon {
    &.hidden {
        display: none;
    }
}

.burger-wrapper {
    display: none;

    p {
        line-height: 1;
        margin-bottom: 0;
    }
    ul, ol {
        margin-left: 0;
        margin-bottom: 0;
        list-style: none;
    }
}


/* REDESIGN IMPORTANT */
.header, .burger-wrapper {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--text) !important;

    p, a {
        color: var(--text) !important;
    }
}

/* .inter-font {
    font-family: 'Inter' !important;
    font-weight: 400;
    font-size: 18px;

    color: var(--text) !important;

    p, a {
        color: var(--text) !important;
    }
} */


/* ADAPTIVE */
/* 960px - 1200px */
@media screen and (max-width: 1260px) {
    .header-margin-block {
        margin-top: 168.4px;
    }

    .header-links-wrapper {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .header-search {
        gap: 20px;
    }

    .header-links-wrapper > li:nth-child(1) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(2) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(3) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(7) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(8) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(9) .header-sublinks-wrapper {
        left: 0 !important;
        right: auto !important;
    }
    .header-links-wrapper > li:nth-child(4) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(5) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(6) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(10) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(11) .header-sublinks-wrapper {
        right: 0 !important;
        left: auto !important;
    }

    .header-links-wrapper > li:nth-child(1) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(2) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(3) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(7) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(8) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(9) .header-subsublinks-wrapper {
        left: 100%;
        right: auto;
    }
    .header-links-wrapper > li:nth-child(4) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(5) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(6) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(10) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(11) .header-subsublinks-wrapper {
        right: 100%;
        left: auto;
    }


    /* Правая позиция начинается с 4, поэтому это следующая тройка: 4, 5, 6, 10, 11, 12 и т.д. */
    /* .header-links-wrapper > li:nth-child(n+4):nth-child(-n+6) .header-sublinks-wrapper,
    .header-links-wrapper > li:nth-child(n+10):nth-child(-n+12) .header-sublinks-wrapper {
        right: 0 !important;
        left: auto !important;
    } */

    /* Для subsublinks */
    /* .header-links-wrapper > li:nth-child(n+4):nth-child(-n+6) .header-subsublinks-wrapper,
    .header-links-wrapper > li:nth-child(n+10):nth-child(-n+12) .header-subsublinks-wrapper {
        right: 100%;
        left: auto;
    } */

}


/* 768px - 960px */
@media screen and (max-width: 960px) {
    .header {
        padding-block: 0;
        height: 70px;
        transition: all 0.3s ease;

        & .container {
            padding: 0;
            height: 100%;

            display: flex;
            align-items: center;
        }

        &.active {
            box-shadow: none;
        }
    }
    .header-margin-block {
        margin-top: 70px;
    }

    .header-inner {
        width: 100%;
        height: 100%;
        flex-direction: row;
    }
    .header-top {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .lang-switch, .header-search, .header-btn {
        display: none;
    }
    .header-bottom {
        display: none;
    }

    .header-tools {
        margin-left: auto;
    }
    .header-phone-link {
        p {
            display: none;
        }
        svg {
            display: block;
        }

        &.hidden {
            display: none;
        }
    }

    .header-logo {
        padding-left: 20px;
    }


    /* BURGER */
    .burger-btn {
        display: grid;
        place-items: center;

        height: 100%;
        aspect-ratio: 1;
        background-color: var(--white);
        color: var(--black);
    }

    .burger-wrapper {
        position: fixed;
        top: 70px;
        left: 100%;
        width: 100%;
        z-index: 90;
        max-height: calc(100dvh - 70px);
        padding-inline: 20px;
        /* height: calc(100dvh - 70px); */


        background-color: var(--white);
        transition: all 0.3s ease;

        display: flex;
        flex-direction: column;

        &.active {
            left: 0;
        }
    }

    .burger-links-wrapper,
    .burger-sublinks-wrapper,
    .burger-subsublinks-wrapper {
        display: flex;
        flex-direction: column;

        & > li {
            background-color: var(--white);
        }
    }
    .burger-links-wrapper {
        flex: 1 1 auto;
        overflow-y: auto;

        mask-image: linear-gradient(to bottom, hsl(0 0% 0% / 1), hsl(0 0% 0% / 1) 75%, hsl(0 0% 0% / 0));

        & > li:last-child {
            margin-bottom: 40px;

            & > a {
                border-bottom: none;
            }
        }
    }
    .burger-sublinks-wrapper {
        max-height: 0;
        transition: max-height 0.2s ease;

        &.open {
            max-height: 3000px;

            .burger-sublink {
                display: flex !important;
            }
        }
    }
    .burger-subsublinks-wrapper {
        max-height: 0;
        transition: max-height 0.2s ease;

        &.open {
            max-height: 3000px;

            .burger-subsublink {
                display: flex !important;
            }
        }
    }

    .burger-link-icon {
        transition: all 0.2s ease;
    }

    .burger-link,
    .burger-sublink,
    .burger-subsublink {
        display: flex;
        justify-content: space-between;
        align-items: center;

        color: var(--text);
        font-weight: 500;
        line-height: 1.3;
        text-wrap: balance;
        padding: 20px;
        border: 1px solid var(--purple-light);

        &.active {
            background-color: var(--purple-light);
            position: sticky;
            top: 0;
        }
        &.active .burger-link-icon {
            rotate: -180deg;
        }
    }
    .burger-link {
        &.active {
            z-index: 10;
        }
    }
    .burger-sublink {
        margin-left: 20px;

        &.active {
            top: 72.6px;
            z-index: 5;
        }
    }
    .burger-subsublink {
        margin-left: 40px;
    }

    .burger-sublink,
    .burger-subsublink {
        display: none;
    }
    

    .burger-tools {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;

        padding-block: 20px;
        border-top: 1px solid var(--purple-light);
    }

    .burger-langs {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }
    .burger-lang-item {
        display: grid;
        place-items: center;

        width: 50px;
        aspect-ratio: 1;
        border-radius: 50%;

        &.active {
            border: 1px solid var(--purple);
            color: var(--purple);
            font-weight: 600;
        }
    }

    .burger-phone-link {
        width: 100%;
        text-align: center;

        color: var(--text);
        font-weight: 600;
        line-height: 1.3;
    }

    .burger-search {
        width: 100%;
        padding: 11px 20px;

        display: flex;
        justify-content: space-between;
        align-items: center;

        border-radius: 30px;
        background-color: var(--purple-light);
    }

    .burger-modal-btn {
        display: grid;
        place-items: center;

        width: 100%;
        padding: 13px 30px;
        border-radius: 30px;
        background-color: var(--purple);
        color: var(--white);
    }

    /* .lang-item {
        text-align: center;
    } */

}

/* 360px - 480px */
@media screen and (max-width: 480px) {
    .header-logo {
        max-width: 60%;

        img {
            max-width: 100%;
        }
    }

    /* .burger-langs {
        display: flex;
        flex-direction: column;
        gap: 20px;
    } */
}


.modal-wrapper {
    display: none;

    &.active {
        display: grid;
        place-items: center;

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 110;
        backdrop-filter: blur(10px);
        background: #0E093AB2;
    }
}

.modal-title {
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
}

.modal-form-wrapper {
    max-width: 33%;
    width: fit-content;
    height: fit-content;
    padding: 20px;

    background-color: var(--purple-light);
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    position: relative;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;

    border-radius: 50%;

    position: absolute;
    top: 10px;
    right: 10px;
    background-color: inherit;


    line-height: 0;
    cursor: pointer;
    border: none;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    margin-right: 0;
    color: inherit;
}


.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ADAPTIVE */
/* 960px - 1260px */
@media screen and (max-width: 1260px) {
    .modal-form-wrapper {
        max-width: 40%;
    }
}

/* 768px - 960px */
@media screen and (max-width: 960px) {
    .modal-form-wrapper {
        max-width: 50%;
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .modal-form-wrapper {
        max-width: 70%;
    }
}

/* 360px - 480px */
@media screen and (max-width: 480px) {
    .modal-form-wrapper {
        max-width: calc(100% - 40px);
    }
}



.first-screen {
    min-height: 700px;
    position: relative;

    background-image: url(../images/first-screen.jpg);
    background-size: cover;           /* Растягивает картинку на весь экран, сохраняя пропорции */
    background-repeat: no-repeat;     /* Убирает повторение */
    background-position: center;      /* Центрирует фон по умолчанию */
    background-attachment: fixed;
}

.first-screen-inner {
    padding-block: 100px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-title {
    font-size: 48px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
    color: var(--white) !important;

    max-width: 60% !important;
}

.main-subtitle {
    font-size: 32px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
    color: var(--white) !important;

    max-width: 60% !important;
}

.first-screen-modal-btn {
    display: grid;
    place-items: center;

    width: fit-content;
    padding: 13px 30px;
    border-radius: 30px;
    background-color: var(--white);
    color: var(--purple);

    font-size: 16px !important;
    font-weight: 500 !important;
}

.first-screen-photo {
    position: absolute;
    bottom: 0;
    right: 20px;

    max-width: 47%;
}
.first-screen-photo-mobile {
    display: none;        
}


@media screen and (max-width: 1260px) {
    .first-screen {
        min-height: auto;
    }

    .main-title {
        font-size: 32px !important;
    }
    .main-subtitle {
        font-size: 24px !important;
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .first-screen-inner {
        padding: 0;
        padding-top: 30px;
    }

    .main-title {
        font-size: 24px !important;
        max-width: none !important;
    }
    .main-subtitle {
        font-size: 20px !important;
        max-width: none !important;
        text-wrap: balance !important;
    }

    .first-screen-photo {
        display: none;
    }

    .first-screen-photo-mobile {
        display: block;
        height: 320px;
        object-fit: contain;
    }
}

/* 360px - 480px */
@media screen and (max-width: 480px) {
    .first-screen-inner {
        align-items: center;
    }
    .first-screen-modal-btn {
        width: 100%;
    }
    .first-screen-photo-mobile {
        height: auto;
        width: 100%;
    }
}



.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cta-form-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-wrap: balance !important;
}

.cta-form-inputs-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.cta-form-input {
    padding: 13px 20px;
    background-color: var(--white);
    border: 1px solid var(--white);
    border-radius: 10px;

    &:focus {
        border-color: var(--purple);
    }
}

.cta-check {
    display: flex;
    align-items: start;
    gap: 10px;
    line-height: 1.5;
    text-wrap: balance;

    input {
        scale: 1.6;
        translate: 0 7px;
    }
}

.cta-form-actions-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta-btn {
    display: grid;
    place-items: center;

    width: fit-content;
    padding: 13px 30px;
    border-radius: 30px;

    font-weight: 500;
    text-wrap: nowrap;
}

.cta-form.about .cta-btn,
.cta-form.contact .cta-btn,
.cta-form.modal .cta-btn {
    background-color: var(--purple);
    color: var(--white);
}

.cta-form.consult .cta-check,
.cta-form.letsgo .cta-check,
.cta-form.entr .cta-check {
    color: var(--white);
}
.cta-form.consult .cta-btn,
.cta-form.letsgo .cta-btn,
.cta-form.entr .cta-btn {
    background-color: var(--green);
    color: var(--purple);
}
.cta-form.entr .cta-form-title {
    color: var(--white);
}

.cta-form.entr .cta-form-inputs-wrapper,
.cta-form.contact .cta-form-inputs-wrapper,
.cta-form.modal .cta-form-inputs-wrapper {
    grid-template-columns: 1fr;
}
.cta-form.entr .cta-form-actions-wrapper,
.cta-form.contact .cta-form-actions-wrapper,
.cta-form.modal .cta-form-actions-wrapper {
    flex-direction: column;
}
.cta-form.entr .cta-btn,
.cta-form.contact .cta-btn,
.cta-form.modal .cta-btn {
    width: 100%;
}


/* ADAPTIVE */
/* 960px - 1200px */
@media screen and (max-width: 1260px) {
    .cta-form-inputs-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 768px - 960px */
@media screen and (max-width: 960px) {
    .cta-form-actions-wrapper {
        flex-direction: column;
    }
    .cta-btn {
        width: 100%;
    }
}

/* 360px - 480px */
/* @media screen and (max-width: 480px) {
    .cta-form-input {
        max-width: 280px !important;
        margin: 0 auto;
    }
} */

.home-about-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-about-info {
    p {
        line-height: 1.5;
        margin-top: 10px;
    }
}

.home-about-form {
    padding: 20px;
    border-radius: 20px;
    background-color: var(--purple-light);
    height: fit-content;
    align-self: flex-end;
}

/* ADAPTIVE */
/* 480px - 768px */
@media screen and (max-width: 768px) {
    .home-about-inner {
        grid-template-columns: 1fr;
    }
}



.video-tour-inner {
    border-radius: 20px;
    overflow: hidden;
}
.video-tour-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* 360px - 480px */
@media screen and (max-width: 480px) {
    .video-tour .container {
        padding: 0;
    }
    .video-tour-inner {
        border-radius: 0;
    }
}



.info-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    padding: 90px 20px;
    border-radius: 20px;

    &:not(:first-child) {
        text-align: center;
    }

    &:nth-child(3n + 1) {
        background-color: var(--purple-light);
    }
    &:nth-child(3n + 2) {
        background-color: var(--green);
    }
    &:nth-child(3n + 3) {
        background-color: var(--white);
    }
}
.info-card-title {
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}
.info-card-subtitle {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* ADAPTIVE */
/* 960px - 1200px */
@media screen and (max-width: 1260px) {
    .info-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 768px - 960px */
@media screen and (max-width: 960px) {
    .info-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .info-cards-wrapper {
        grid-template-columns: 1fr;
    }
}



.foundation-block-subtitle {
    margin-top: 10px;
    line-height: 1.5;
}

.foundation-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin-top: 20px;
}

.foundation-info {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 20px;
    border-radius: 20px;
    background-color: var(--purple);
}

.foundation-subtitle {
    margin-top: -10px !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: var(--white) !important;
}
.foundation-text {
    color: var(--white) !important;
    line-height: 1.5 !important;
}

.foundation-link {
    display: grid;
    place-items: center;

    width: fit-content;
    padding: 13px 30px;
    border-radius: 30px;
    background-color: var(--white);
    color: var(--purple) !important;

    font-size: 16px !important;
    font-weight: 500 !important;
}

.foundation-img {
    border-radius: 20px;
}

/* 768px - 960px */
@media screen and (max-width: 960px) {
    .foundation-inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .foundation-info {
        order: 1;
    }
    .foundation-img {
        aspect-ratio: 16 / 9;
    }
}



.degrees-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.degree {
    padding: 20px;
    border-radius: 20px;

    &.green {
        background-color: var(--green);
    }
    &.purple {
        background-color: var(--purple-light);
    }
}

.study-areas-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin-top: 20px;
}

.study-area {
    background-color: var(--white);
    border-radius: 20px;

    a {
        display: flex;
        place-items: center;
        width: 100%;
        height: 100%;
        color: var(--text) !important;
        padding: 20px;
        border-radius: 20px;
        line-height: 1.5;

        transition: all 0.3s ease;
        &:hover {
            background-color: var(--text-hover);
            color: var(--white) !important;
        }
    }

    &:last-child {
        background-color: var(--purple);
        a {
            color: var(--white) !important;
        }
    }
}

/* ADAPTIVE */
/* 960px - 1260px */
@media screen and (max-width: 1260px) {
    .study-areas-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .degrees-wrapper {
        grid-template-columns: 1fr;
    }
}


.consultation {
    padding-block: 60px;
    background-color: var(--purple);
}

.consultation-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.consultation-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consultation-subtitle {
    margin-top: 10px !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: var(--white) !important;
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .consultation-inner {
        grid-template-columns: 1fr;
    }
}


.adventures-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.adventure {
    display: flex !important;
    flex-direction: column;

    aspect-ratio: 47 / 44;

    border-radius: 20px;
    overflow: hidden;

    user-select: none;
}

.adventure-img {
    z-index: -1;
}

.adventure-info {
    margin-top: auto;
    background-color: var(--purple-light);
    padding: 20px;

    overflow-y: scroll;

    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
}

.adventure-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin: 0 !important;
    /* overflow-wrap: break-word; */
}

.adventure-text-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
}

.adventure:hover .adventure-text-wrapper {
    grid-template-rows: 1fr;
    margin-top: 12px;
}

.adventure-text {
    min-height: 0;

    p {
        line-height: 1.5;

        &:not(:first-child) {
            margin-top: 10px;
        }
    }
}

.adventures-slider {
    display: none !important;
}


/* ADAPTIVE */
/* 960px - 1260px */
@media screen and (max-width: 1260px) {
    .adventures-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .adventures-wrapper {
        display: none;
    }
    .adventures-slider {
        display: block !important;
        margin-top: 20px;
        padding-bottom: 40px !important;
    }
    .adventure {
        aspect-ratio: 2 / 3;
    }
    .adventure-title {
        font-size: 18px !important;
    }
}



.lets-go {
    padding-block: 90px;
    background-color: var(--green-light);
}

.lets-go-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lets-go-info-text {
    margin-top: 10px;

    p {
        line-height: 1.5;

        &:not(:first-child) {
            margin-top: 20px;
        }
    }
    a {
        color: #51BE78 !important;
    }
}

.lets-go-form {
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
    background-color: var(--purple);
}

.lets-go-img {
    border-radius: 20px;
}


/* ADAPTIVE */
/* 768px - 960px */
@media screen and (max-width: 960px) {
    .lets-go-inner {
        grid-template-columns: 1fr;
    }

    .lets-go-img {
        display: none;
    }
}



.mission-text {
    margin-top: 20px;
    line-height: 1.5;

    h6 {
        font-size: 20px !important;
        font-weight: 500 !important;
        margin-bottom: 10px !important;
    }
    p {
        &:last-child {
            margin-top: 20px;
        }
    }
}

.values-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.value {
    display: flex;
    flex-direction: column;

    padding: 20px;
    border-radius: 20px;

    &:nth-child(even) {
        background-color: var(--purple-light);
    }
    &:nth-child(odd) {
        background-color: var(--green);
    }

    p {
        margin-top: 20px;
        line-height: 1.5;
    }

    ul {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    li {
        list-style: disc;
        margin-left: 15px;
        line-height: 1.5;
    }
}

.value-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;

    h6 {
        font-size: 24px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    img {
        max-width: 40px;
    }
}

.value-btn {
    display: grid;
    place-items: center;
    width: fit-content;
    padding: 13px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-wrap: nowrap;

    background-color: var(--purple);
    color: var(--white);

    margin-top: auto;
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .values-wrapper {
        grid-template-columns: 1fr;
    }

    .value-btn {
        width: 100%;
        margin-top: 20px;
    }
}


.students {
    background-color: rgba(223, 220, 247, 0.2);
    padding-block: 90px;

    & .container {
        display: flex;
        flex-direction: column;
        gap: 100px;
    }
}

.entrances-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.entrance {
    padding: 20px;
    border-radius: 20px;
    line-height: 1.5;

    h6 {
        font-size: 20px !important;
        font-weight: 500 !important;
        margin-bottom: 10px !important;
    }

    ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    li {
        list-style: disc;
        margin-left: 20px;
    }

    &:nth-child(1) {
        background-color: var(--purple-light);
    }
    &:nth-child(2) {
        background-color: var(--green);
    }
    &:nth-child(3) {
        background-color: var(--purple);
    }
}


.news-slider {
    margin-top: 20px;
    padding-bottom: 40px !important;
}
.new-post {
    aspect-ratio: 7 / 5;
    border-radius: 20px;
    overflow: hidden;
}

.feedback-slider {
    margin-top: 20px;
    padding-bottom: 40px !important;
}
.feedback {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
}
.feedback-text {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.feedback-author {
    line-height: 1.3;
    margin-top: auto;
}

/* ADAPTIVE */
/* 768px - 960px */
@media screen and (max-width: 960px) {
    .entrances-wrapper {
        grid-template-columns: 1fr;
    }
}


/* 360px - 480px */
@media screen and (max-width: 480px) {
    .students {
        padding-block: 60px;

        & .container {
            gap: 70px;
        }
    }
}



.partners-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.partner {
    width: 100%;
    padding: 20px;
}

.partner-img {
    width: 100%;
    height: 100%;
}

.partners-slider {
    display: none !important;
}

/* ADAPTIVE */
/* 960px - 1260px */
@media screen and (max-width: 1200px) {
    .partners-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }   
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .partners-wrapper {
        display: none;
    }

    .partners-slider {
        display: block !important;
        margin: 20px;
        padding-bottom: 40px !important;
    }

    .partner {
        padding: 10px;
    }
    .partner-img {
        scale: 0.8 !important;
    }
}



.contacts-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;

    margin-top: 20px;
}

.contacts-blocks-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-block {
    padding: 20px;
    border-radius: 20px;
    
    &:first-child {
        background-color: var(--green);
    }
    &:last-child {
        background-color: var(--purple-light);
    }

    p, a {
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
        color: var(--text);
    }
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;

    p, a {
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
        color: var(--text);
    }
}
.contacts-item {
    display: flex;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;

    &:not(:first-child) {
        align-items: center;
    }

    svg {
        min-width: 24px;
    }
}

.social-links-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contacts-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
}

.contacts-map {
    width: 100%;
    height: 100%;
}

/* ADAPTIVE */
/* 768px - 960px */
@media screen and (max-width: 960px) {
    .contacts-inner {
        grid-template-columns: 1fr;
    }
    .contacts-blocks-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .contacts-map-wrapper {
        aspect-ratio: 16 / 9;
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .contacts-blocks-wrapper {
        grid-template-columns: 1fr;
    }
    .contacts-map-wrapper {
        aspect-ratio: 3 / 4;
    }
}



.footer {
    background-color: #0E093A;
    padding-block: 60px;

    p, a {
        color: var(--white);
    }
    a {
        transition: all 0.3s ease;

        &:hover {
            text-decoration: underline;
        }
    }
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-logo {
    margin-bottom: 20px;
    width: auto !important;
}

.footer-title {
    display: block !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
}

.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.footer-bottom {
    margin-top: 100px;

    display: flex;
    justify-content: space-between;

    p, a {
        font-size: 15px !important;
        color: #767298 !important;
        line-height: 1.5 !important;
    }
}

/* 768px - 960px */
@media screen and (max-width: 960px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }

    .footer-bottom {
        margin-top: 60px;
    }
}

/* 480px - 768px */
@media screen and (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}


.disable-old-tools {
    z-index: 10 !important;
    display: none !important;
}


/* REDESIGN IMPORTANT */
.footer {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px !important;
    color: var(--white) !important;

    p, a {
        color: var(--white) !important;
    }
}


.b24-form-control {
    &:focus {
        background-color: #f6f6f6 !important;
    }
}


/* Send form styles */
.cta-status {
  margin-top: 10px;
  font-size: 14px;
}
.cta-status {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.cta-status[style*="color: green"] {
  /* опционально, можно задать конкретный цвет или иконку */
}
.cta-status[style*="color: red"] {
  /* аналогично для ошибки */
}



/* SEO Texts */

.seo {
    margin-top: 70px;
}

.seo-inner {
    display: flex;
    flex-direction: column;

    h3, h4, h5, h6 {
        font-size: 24px;
        font-weight: bold;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    p {
        line-height: 1.4;
        padding-bottom: 12px;
    }
    ul, ol {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 12px;
    }
    ul li {
        list-style: disc;
        margin-left: 16px;
    }
    ol li {
        margin-left: 16px;
    }

    .none {
        padding: 0;
    }
}

.show-btn {
    display: inline-block;
    position: relative;
    padding-inline: 20px;
    cursor: pointer;

    &::before {
        content: url(../images/icons/drop-arrow.svg);
        position: absolute;
        top: -3px;
        left: 0;
    }

    &.active::before {
        top: 1px;
        rotate: 180deg;
    }
}