:root {
    --font-involve: 'Involve', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-euclid: 'Euclid Circular A', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-great-vibes: 'Great Vibes', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Typography scale (edit here to update everywhere) */
    --fs-12: 12px;
    --fs-14: 14px;
    --fs-15: 15px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-22: 22px;
    --fs-24: 24px;
    --fs-28: 28px;
    --fs-36: 36px;
    --fs-42: 42px;
    --fs-48: 48px;

    /* Page title responsive bounds */
    --fs-page-title-min: 28px;
    --fs-page-title-max: 56px;
    --fs-page-title-span-min: 42px;
    --fs-page-title-span-max: 92px;

    /* Common line-heights in px (for figma exact matches) */
    --lh-16: 16px;
    --lh-19: 19px;
    --lh-21: 21px;
    --lh-24: 24px;
    --lh-25: 25px;
}

/* Typography overrides for adaptive — edit variables, not selectors */
@media (max-width: 1024px) {
    :root {
        --fs-48: 40px;
        --fs-42: 36px;
        --fs-36: 30px;

        --fs-page-title-max: 48px;
        --fs-page-title-span-max: 76px;
    }
}

@media (max-width: 640px) {
    :root {
        --fs-48: 32px;
        --fs-42: 30px;
        --fs-36: 26px;

        --fs-page-title-min: 24px;
        --fs-page-title-max: 36px;
        --fs-page-title-span-min: 34px;
        --fs-page-title-span-max: 56px;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-involve);
    font-size: var(--fs-22);
    margin: 0;
}

a {
    text-decoration: none;
    color: #000000;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 15px;
}

.accent-red, .page-title span {
    color: #F08300;
}

.header {
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: var(--fs-15);
}

.header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav {
    width: 100%;
    max-width: 800px;
}

.header-nav-menu {
    display: flex;
    padding-left: 0;
    justify-content: space-between;
    width: 100%;
    color: #3C2119;
}

.header-nav-menu-item {
    list-style: none;
}

.header-nav-menu-item a {
    display: block;
}

.header-nav-menu-item--has-children {
    position: relative;
}

.header-nav-menu-item--has-children:hover > .sub-menu {
    display: block;
}

.sub-menu-item {
    list-style: none;
}

.sub-menu {
    display: none;
    background-color: #fff;
    position: absolute;
    padding: 5px 0 0;
}

.sub-menu-item > a {
    padding: 7px 7px 7px 10px;
}

.header-utilities {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 330px;
    justify-content: space-between;
}

.header-login {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #353535;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.header-contact__phone-number {
    font-weight: bold;
}

.header-contact__callback-btn {
    color: #353535;
    text-decoration: underline;
}

.language-selector {
    position: relative;
    width: 58px;
    padding: 5px 3px 2px 7px;
    cursor: pointer;
    border: 1px solid #F1F1F1;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.language-selector span {
    color: #676767;
    font-size: var(--fs-18);
}

.language-selector__arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.language-selector--active .language-selector__arrow {
    transform: rotate(180deg);
}

.language-selector__dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #F1F1F1;
    border-radius: 3px;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 58px;
}

.language-selector--active .language-selector__dropdown {
    display: block;
}

.language-selector__dropdown-item {
    padding: 0;
    margin: 0;
    list-style: none;
}

.language-selector__dropdown-item a {
    display: block;
    padding: 5px 7px;
    color: #676767;
    font-size: var(--fs-18);
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.language-selector__dropdown-item a:hover {
    background-color: #F1F1F1;
}

.frontpage-pretitle {
    background-color: #FFEFE0;
    padding-top: 87px;
    padding-bottom: 117px;
    position: relative;
    overflow: hidden;
}

/* Nude section side decorations (auto for every .nude-section) */
.nude-section {
    position: relative;
    overflow: hidden;
    /* controls how much of the side decor is visible */
    --nude-decor-width: 520px;
    --nude-decor-opacity: 0.55;
}

.nude-section::before,
.nude-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left top;
    opacity: var(--nude-decor-opacity);
}

.nude-section::before {
    left: 0;
    width: var(--nude-decor-width);
    background-image: url('../img/decorations/nude-left.png');
    background-position: left top;
}

.nude-section::after {
    right: 0;
    width: var(--nude-decor-width);
    background-image: url('../img/decorations/nude-left.png');
    background-position: left top;
    transform: scaleX(-1);
    transform-origin: center;
}

@media (max-width: 1024px) {
    .nude-section {
        --nude-decor-width: 420px;
        --nude-decor-opacity: 0.28;
    }
}

@media (max-width: 640px) {
    .nude-section {
        --nude-decor-width: 340px;
        --nude-decor-opacity: 0.22;
    }
}

.nude-section .container {
    position: relative;
    z-index: 2;
}

.nude-section__heading {
    font-size: var(--fs-42);
    font-weight: 400;
    text-align: center;
    margin: 0 0 18px;
}

.nude-section__description {
    width: 100%;
    max-width: 737px;
    font-size: var(--fs-22);
    margin: 0 auto;
    padding-left: 49px;
}

.frontpage-pretitle__accent {
    margin-top: 43px;
    font-size: var(--fs-24);
    text-align: center;
}

.frontpage-choose {
    padding-top: 25px;
    padding-bottom: 134px;
}

.frontpage-choose > .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-end;
}

.frontpage-choose__arrow img {
    display: block;
    width: 100%;
    height: auto;
}

.frontpage-choose__item {
    width: 100%;
    max-width: 577px;
}

.frontpage-choose__item-img {
    width: 100%;
    display: block;
    margin-top: 15px;
}

.frontpage-choose__item-logo {
    height: 158px;
    display: flex;
    align-items: flex-end;
    justify-content: start;
}

.frontpage-choose__item-title {
    font-size: var(--fs-36);
    font-weight: 600;
    color: #3C2119;
    margin-top: 25px;
    margin-bottom: 25px;
}

.frontpage-choose__item-btn {
    font-weight: 600;
    font-size: var(--fs-22);
    color: #ffffff;
    padding: 24px 34px 24px 32px;
    text-transform: uppercase;
    border-radius: 16px;
    display: inline-block;
}

.frontpage-choose__item-btn--green {
    background-color: #086260;
}

.frontpage-choose__item-btn--red {
    background-color: #E41B00;
}

/* Index adaptive (content only; header/footer handled later) */
@media (max-width: 1024px) {
    .frontpage-pretitle {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .nude-section__description {
        padding-left: 0;
        max-width: 680px;
    }

    .frontpage-choose {
        padding-bottom: 100px;
    }

    .frontpage-choose > .container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .frontpage-choose__item {
        max-width: 720px;
        text-align: center;
    }

    .frontpage-choose__item-logo {
        justify-content: center;
        height: auto;
    }
}

@media (max-width: 640px) {
    .frontpage-pretitle {
        padding-top: 56px;
        padding-bottom: 76px;
    }

    .frontpage-pretitle__accent {
        margin-top: 28px;
    }

    .frontpage-pretitle .nude-section__description {
        font-size: var(--fs-18);
        line-height: var(--lh-24);
    }

    .frontpage-choose {
        padding-top: 18px;
        padding-bottom: 76px;
    }

    .frontpage-choose > .container {
        gap: 46px;
    }

    .frontpage-choose__item {
        max-width: 520px;
    }

    .frontpage-choose__item-title {
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .frontpage-choose__item-btn {
        width: 100%;
        max-width: 360px;
        text-align: center;
        padding-left: 24px;
        padding-right: 24px;
    }
}

.footer {
    background-color: #F0EFEE;
    padding-top: 40px;
    padding-bottom: 61px;
}

.footer > .container {
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr 1fr 1fr;*/
    display: flex;
    justify-content: space-between;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: fit-content;
}

.footer-privacy-policy {
    display: inline-block;
    font-size: var(--fs-14);
    text-decoration: underline;
}

.footer-logo {
    max-width: 199px;
}

.footer-content {
    font-size: var(--fs-15);
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 339px;
}

.footer-content h4 {
    font-size: var(--fs-18);
    font-weight: 600;
    font-family: var(--font-euclid);
    margin: 0;
}

.footer-content p {
    margin-top: 12px;
    margin-bottom: 12px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding: 0;
    margin: 0;
}

.footer-menu__link {
    font-size: var(--fs-15);
}

.footer-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-phone__backcall {
    font-size: var(--fs-18);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: end;
    gap: 8px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #C9C9C9;
}

.header-panel {
    display: flex;
    align-items: center;
    gap: 48px;
}

.header-panel__burger {
    user-select: none;
    cursor: pointer;
}

.header-panel__search {
    position: relative;
    border-bottom: 1px solid #535353;
    margin-bottom: 17px;
}

.header-panel__search input {
    width: 100%;
    position: relative;
    height: 28px;
    border: none;
    outline: none;
    padding-left: 20px;
    font-size: var(--fs-16);
    font-family: var(--font-involve);
    padding-bottom: 8px;
    background-color: inherit;
}

.header-panel__search input:not(:placeholder-shown) + label {
    display: none;
}

.header-panel__search label {
    position: absolute;
    font-size: var(--fs-16);
    left: 20px;
    bottom: 8px;
}

.header-panel__search button[type="submit"] {
    background-color: inherit;
    border: none;
}

.header-panel__search-loupe {
    position: absolute;
    bottom: 10px;
    z-index: 2;
}

.header--grey {
    background-color: #F0EFEE;
}

.choice-title {
    background-color: #F0EFEE;
}

.page-title {
    text-align: center;
    font-family: var(--font-euclid);
    font-size: clamp(var(--fs-page-title-min), 4vw, var(--fs-page-title-max));
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.15;
    padding: 0 15px;
}

.page-title span {
    font-family: var(--font-great-vibes);
    font-size: clamp(var(--fs-page-title-span-min), 6.2vw, var(--fs-page-title-span-max));
    line-height: 1;
}

.choice-title__img {
    width: 100%;
    max-width: 1920px;
    margin-top: 20px;
    margin-bottom: 0;
    display: block;
}

.about {
    padding-top: 79px;
    padding-bottom: 105px;
}

.about--kindergarten {
    background-color: #F0EFEE;
    padding-top: 79px;
    padding-bottom: 105px;
}

.about-pretext {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.about-title {
    font-weight: 300;
    font-family: var(--font-euclid);
    font-size: var(--fs-18);
    margin-bottom: 27px;
    text-transform: uppercase;
}

.about-pretext__description {
    width: 100%;
    max-width: 870px;
    font-family: var(--font-euclid);
    margin: 0 auto;
    position: relative;
    background-color: #F0EFEE;
    font-size: var(--fs-22);
    padding: 0 30px;
    z-index: 2;
    display: inline-block;
}

.about:not(.about--kindergarten) .about-pretext__description {
    background-color: transparent;
}

.about-pretext__description::before,
.about-pretext__description::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 1px;
    background-color: #2A140E;
    z-index: 1;
}

.about-pretext__description::before {
    right: 100%;
    margin-right: 30px;
}

.about-pretext__description::after {
    left: 100%;
    margin-left: 30px;
}

.about-description {
    width: 100%;
    max-width: 547px;
    text-align: center;
    margin: 0 auto 40px;
    text-transform: lowercase;
}

.section-link {
    width: 181px;
    height: 45px;
    border: 1px solid #8C8C8C;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8C8C8C;
    background-color: transparent;
    font-family: var(--font-involve);
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    margin: 0 auto;
}

.main--kindergarten .section-header {
    display: flex;
    justify-content: space-between;
}

.section-title {
    font-family: var(--font-euclid);
    font-weight: 300;
    text-transform: uppercase;
    font-size: var(--fs-18);
}

.section-description {
    width: 100%;
    max-width: 694px;
    text-align: left;
    font-size: var(--fs-16);
    line-height: 1.25;
}

.main--kindergarten .lessons {
    padding-top: 63px;
    padding-bottom: 60px;
}

.lessons-slider {
    position: relative;
    margin-top: 79px;
    margin-bottom: 54px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.lessons-slider__arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lessons-slider__arrow:hover {
    opacity: 0.7;
}

.lessons-slider__arrow img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 24px;
}

.lessons-content {
    display: flex;
    gap: 12px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    flex: 1;
}

.lessons-content__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lessons-content__item-title {
    font-size: var(--fs-20);
}

.lessons-content__item-pic {
    display: block;
    width: 321px;
    height: 400px;
}

.whywe {
    background-color: #F0EFEE;
    padding-top: 80px;
    padding-bottom: 95px;
}

.whywe .container {
    position: relative;
}

.whywe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px 0;
    position: relative;
    bottom: 21px;
}

.whywe-grid__item--zero {
    visibility: hidden;
}

.whywe-grid__item {
    border: 1px solid #C9C9C9;
    border-radius: 50%;
    width: 360px;
    height: 360px;
    padding-top: 92px;
    margin-left: -20px;
    display: flex;
    flex-direction: column;
    gap: 44px;
    background-color: rgba(234, 228, 223, 0.72);
}

.whywe-grid__item-title {
    text-align: center;
    font-weight: 500;
    font-family: var(--font-euclid);
    font-size: var(--fs-18);
}

.whywe-grid__item-description {
    max-width: 217px;
    margin: 0 auto;
    font-size: var(--fs-15);
    text-align: center;
}

.whywe-grid__item:nth-child(even) {
    background-color: transparent;
    z-index: 2;
    position: relative;
}

.whywe-grid__item:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background-color: #C9C9C9;
    z-index: 3;
}

.whywe-grid__item:nth-child(even)::after {
    content: '';
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #C9C9C9;
    z-index: 3;
}

.news-table {
    padding-top: 60px;
    padding-bottom: 71px;
}

.news-table__content {
    margin-top: 74px;
    margin-bottom: 62px;
}

.news-table__content__item {
    font-size: var(--fs-16);
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #C9C9C9;
    padding-top: 40px;
}

.news-table__content__item-excerpt {
    max-width: 367px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.news-table__content__item-excerpt__link {
    text-decoration: underline;
    font-weight: 600;
    font-size: var(--fs-16);
}

.news-table__content__item-title {
    text-transform: uppercase;
    font-family: var(--font-euclid);
}

.news-table__content__item-date {
    font-family: var(--font-euclid);
}

.news-table__content__item-title__date {
    font-size: var(--fs-16);
}

/* School page styles */
.lessons-school {
    background-color: #F0EFEE;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.lessons-school .lessons-slider {
    margin-top: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lessons-school .lessons-content {
    display: flex;
    gap: 12px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    padding-bottom: 20px;
}

.lessons-school .lessons-content::-webkit-scrollbar {
    display: none;
}

.lessons-school .lessons-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.lessons-school .lessons-content__item {
    position: relative;
    flex-shrink: 0;
    width: 321px;
    min-width: 321px;
}

.lessons-school .lessons-content__item-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

.lessons-school .lessons-content__item-pic {
    display: block;
    width: 100%;
    height: auto;
    max-width: 321px;
}

.lessons-school .lessons-content__item-title {
    position: absolute;
    bottom: 19px;
    left: 16px;
    font-size: var(--fs-28);
    font-weight: 600;
    font-family: var(--font-involve);
    color: #ffffff;
    z-index: 3;
}

.lessons-slider__arrows {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    width: 100%;
}

.lessons-slider__arrows-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: none;
    border: 2px solid #F08300;
    border-radius: 50%;
    padding: 0;
}

.lessons-slider__arrows-item:hover {
    opacity: 0.7;
}

.lessons-slider__arrows-item img {
    width: 16px;
    height: auto;
}

.news-grid {
    padding-top: 80px;
    padding-bottom: 80px;
}

.news-grid__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.news-grid__content-item {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #C9C9C9;
    padding-bottom: 40px;
}

.news-grid__content-item__img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.news-grid__content-item__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.news-grid__content-item__content-title {
    font-size: var(--fs-20);
    font-weight: 600;
    font-family: var(--font-euclid);
    text-transform: uppercase;
    line-height: 1.3;
}

.news-grid__content-item__content-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-grid__content-item__content-info__description {
    font-size: var(--fs-16);
    line-height: 1.5;
    margin: 0;
}

.faq {
    background-color: #F0EFEE;
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-header--faq {
    text-align: center;
    margin-bottom: 60px;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1200px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-contact-panel {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .faq-content {
        max-width: 100%;
    }
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
}

.faq-content__item {
    border-bottom: 1px solid #C9C9C9;
    padding-bottom: 0;
}

.faq-content__item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 0 15px 0;
    font-size: var(--fs-18);
    font-weight: 500;
}

.faq-content__item-title img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-content__item-title:hover img {
    transform: rotate(45deg);
}

.faq-content__item-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.faq-content__item--active .faq-content__item-answer {
    max-height: 1000px;
    padding-top: 5px;
    padding-bottom: 15px;
    opacity: 1;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-content__item--active .faq-content__item-title img {
    transform: rotate(45deg);
}

.faq-content__item-answer p {
    font-size: var(--fs-16);
    line-height: 1.5;
    margin: 0;
}

.faq-contact-panel {
    display: block;
    text-decoration: none;
    position: sticky;
    top: 20px;
    transition: opacity 0.3s ease;
    width: 100%;
    max-width: 512px;
    flex-shrink: 0;
}

.faq-contact-panel:hover {
    opacity: 0.9;
}

.faq-contact-panel__img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 512px;
}

.map {
    padding-top: 80px;
    padding-bottom: 80px;
}

.map-iframe {
    width: 100%;
    max-width: 1397px;
    height: 547px;
    margin-top: 60px;
    object-fit: cover;
    border: none;
}

/* Kindergarten + School adaptive (content only; header/footer handled later) */
@media (max-width: 1024px) {
    /* About block */
    .about {
        padding-top: 64px;
        padding-bottom: 84px;
    }

    .about-pretext {
        margin-bottom: 40px;
    }

    .about-pretext__description::before,
    .about-pretext__description::after {
        display: none;
    }

    .about-pretext__description {
        max-width: 820px;
        padding: 0 15px;
        display: block;
    }

    .about-description {
        max-width: 680px;
        margin-bottom: 34px;
    }

    /* Kindergarten: section header (title + description) stacks */
    .main--kindergarten .section-header {
        flex-direction: column;
        gap: 18px;
        align-items: center;
        text-align: center;
    }

    .main--kindergarten .section-description {
        text-align: center;
        max-width: 760px;
    }

    /* Lessons sliders: allow swipe on tablets */
    .lessons-content,
    .lessons-school .lessons-content {
        overflow-x: auto;
    }

    .lessons-content::-webkit-scrollbar,
    .lessons-school .lessons-content::-webkit-scrollbar {
        display: none;
    }

    .lessons-content,
    .lessons-school .lessons-content {
        scrollbar-width: none;
    }

    /* Kindergarten lessons cards */
    .lessons-slider {
        margin-top: 56px;
        margin-bottom: 44px;
    }

    .lessons-content__item-pic {
        width: 280px;
        height: 350px;
        object-fit: cover;
    }

    /* Why we (kindergarten) */
    .whywe {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .whywe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
        bottom: 0;
        justify-items: center;
        margin-top: 40px;
    }

    .whywe-grid__item--zero {
        display: none;
    }

    .whywe-grid__item {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-left: 0;
        padding-top: 74px;
        gap: 28px;
    }

    /* keep arrows on even circles (as in desktop) */

    /* News table (kindergarten) */
    .news-table__content {
        margin-top: 56px;
        margin-bottom: 50px;
    }

    .news-table__content__item {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .news-table__content__item-excerpt {
        max-width: 100%;
        gap: 18px;
    }

    /* News grid (school) */
    .news-grid__content {
        grid-template-columns: 1fr;
    }

    /* FAQ + Map */
    .faq {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section-header--faq {
        margin-bottom: 44px;
    }

    .map {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .map-iframe {
        height: 420px;
        margin-top: 44px;
    }
}

@media (max-width: 640px) {
    /* About */
    .about {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .about-pretext {
        margin-bottom: 32px;
    }

    .about-pretext__description {
        font-size: var(--fs-18);
        line-height: var(--lh-24);
    }

    .about-description {
        max-width: 520px;
        margin-bottom: 28px;
        text-transform: none;
    }

    /* Lessons: hide side arrows on mobile, rely on swipe */
    .main--kindergarten .lessons-slider {
        gap: 0;
    }

    .main--kindergarten .lessons-slider__arrow {
        display: none;
    }

    .lessons-content {
        gap: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .lessons-content__item-pic {
        width: 240px;
        height: 300px;
    }

    /* School lessons */
    .lessons-school {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .lessons-school .lessons-slider {
        margin-top: 44px;
    }

    .lessons-school .lessons-content__item {
        width: 240px;
        min-width: 240px;
    }

    .lessons-school .lessons-content__item-title {
        font-size: var(--fs-22);
        bottom: 16px;
        left: 14px;
    }

    .lessons-slider__arrows {
        margin-top: 34px;
        gap: 20px;
    }

    /* Why we */
    .whywe {
        padding-top: 64px;
        padding-bottom: 70px;
    }

    .whywe-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 34px;
    }

    .whywe-grid__item {
        max-width: 300px;
        padding-top: 64px;
        gap: 22px;
    }

    /* News */
    .news-table {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .news-table__content__item {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .news-grid {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .news-grid__content {
        gap: 28px;
        margin-top: 44px;
        margin-bottom: 44px;
    }

    .news-grid__content-item {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 28px;
    }

    .news-grid__content-item__img {
        max-width: 100%;
    }

    /* FAQ */
    .faq {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .section-header--faq {
        margin-bottom: 34px;
    }

    .faq-content__item-title {
        padding: 18px 0 12px 0;
    }

    /* Map */
    .map {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .map-iframe {
        height: 320px;
        margin-top: 34px;
    }
}

/* Aboutschool page (reuse + minimal extras) */
.main--aboutschool {
    background-color: #F0EFEE;
}

.main--aboutschool .faq {
    background-color: #FFFFFF;
}

.choice-title--aboutschool {
    padding-top: 40px;
    padding-bottom: 64px;
}

.aboutschool-intro__text {
    max-width: 900px;
    margin: 34px auto 0;
    padding: 0 15px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    color: #000000;
}

.aboutschool-features {
    margin-top: 44px;
}

.aboutschool-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aboutschool-features__item {
    border: 1px solid #D7D7D7;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 22px 18px;
    text-align: center;
}

.aboutschool-features__ico {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.aboutschool-features__ico svg {
    width: 44px;
    height: 44px;
    display: block;
}

.aboutschool-features__text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

.aboutschool-apply.nude-section--peach {
    padding-top: 72px;
    padding-bottom: 72px;
}

.aboutschool-apply__inner {
    display: grid;
    grid-template-columns: 1fr 714px;
    gap: 40px;
    align-items: center;
}

.aboutschool-apply__content {
    text-align: center;
}

.aboutschool-apply__title {
    text-align: center;
}

.aboutschool-apply__subtitle {
    margin-top: 18px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    color: #000000;
}

.aboutschool-apply__form {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.aboutschool-apply__field {
    width: 100%;
    max-width: 625px;
    display: block;
}

.aboutschool-apply__input {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: transparent;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    color: #000000;
    outline: none;
}

.aboutschool-apply__input::placeholder {
    color: rgba(0, 0, 0, 0.55);
    opacity: 1;
}

.aboutschool-apply__check {
    width: 100%;
    max-width: 625px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aboutschool-apply__check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aboutschool-apply__check-box {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: transparent;
    flex-shrink: 0;
}

.aboutschool-apply__check-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: left;
    color: #000000;
}

.aboutschool-apply__submit {
    width: 181px;
    height: 45px;
    margin-top: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.25);
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    text-align: center;
    color: #000000;
    cursor: pointer;
}

.aboutschool-apply__media {
    width: 100%;
    max-width: 714px;
    justify-self: end;
}

.aboutschool-apply__pic {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .choice-title--aboutschool {
        padding-top: 30px;
        padding-bottom: 54px;
    }

    .aboutschool-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 980px;
        margin: 0 auto;
    }

    .aboutschool-apply__inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .aboutschool-apply__media {
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .aboutschool-intro__text {
        margin-top: 26px;
    }

    .aboutschool-features {
        margin-top: 34px;
    }

    .aboutschool-features__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .aboutschool-apply.nude-section--peach {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .aboutschool-apply__form {
        margin-top: 28px;
    }

    .aboutschool-apply__check {
        padding: 0 10px;
        justify-content: flex-start;
    }

    .aboutschool-apply__submit {
        margin-top: 14px;
    }
}

/* More school page styles */
.section-header--center {
    text-align: center;
}

/* nude section background variant */
.nude-section--peach {
    background-color: #FFEFE0;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* moreschool: nude info + photo */
.moreschool-about__inner {
    display: grid;
    grid-template-columns: 1fr 566px;
    gap: 70px;
    align-items: start;
}

.moreschool-about__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 28px;
}

.moreschool-about__label-ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.moreschool-about__label-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}

.moreschool-about__label-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-transform: uppercase;
}

.moreschool-about__text {
    margin: 0 0 26px;
    font-family: var(--font-involve);
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
    max-width: 711px;
}

.moreschool-about__download.section-link {
    margin: 0;
}

.moreschool-about__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 42px;
    row-gap: 24px;
    margin-top: 60px;
    max-width: 488px;
}

.moreschool-about__contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.moreschool-about__contact-ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.moreschool-about__contact-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}

.moreschool-about__contact-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

.moreschool-about__media {
    width: 100%;
    max-width: 566px;
    justify-self: end;
}

.moreschool-about__pic {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* moreschool: structure (cards 3x2, 452x531) */
.moreschool-structure {
    padding-top: 64px;
    padding-bottom: 70px;
}

.moreschool-structure .section-header--center {
    margin-bottom: 65px;
}

.moreschool-structure .section-title {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-transform: uppercase;
    text-align: center;
    color: #000000;
}

.moreschool-structure__grid {
    display: grid;
    grid-template-columns: repeat(3, 452px);
    column-gap: 22px;
    row-gap: 41px;
}

.moreschool-structure__card {
    width: 452px;
}

.moreschool-structure__card-media {
    width: 452px;
    height: 454px;
    background-color: #D9D9D9;
    overflow: hidden;
}

.moreschool-structure__card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.moreschool-structure__card-title {
    margin: 29px 0 0;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #202020;
}

/* moreschool: documents */
.moreschool-docs {
    padding-top: 36px;
    padding-bottom: 60px;
}

.moreschool-docs .section-header--center {
    margin-bottom: 54px;
}

.moreschool-docs .section-title {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-transform: uppercase;
    color: #000000;
}

.moreschool-docs__grid {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    gap: 35px;
    align-items: flex-start;
    justify-content: center;
}

.moreschool-docs__item {
    width: 194px;
    height: 176px;
    border: 1px solid #ABC3FF;
    text-decoration: none;
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 29px;
    box-sizing: border-box;
}

.moreschool-docs__item-ico {
    width: 45px;
    height: 56px;
}

.moreschool-docs__item-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}

.moreschool-docs__item-title {
    margin-top: 43px;
    padding: 0 10px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-14);
    line-height: var(--lh-19);
    text-align: center;
}

.moreschool-docs__download-all {
    width: 194px;
    height: 45px;
    border: 1px solid #8C8C8C;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    box-sizing: border-box;
    margin: 50px auto 0;
    text-decoration: none;
}

.moreschool-docs__download-all-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    color: #8C8C8C;
}

.moreschool-docs__download-all-ico {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.moreschool-docs__download-all-ico svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* moreschool: education */
.moreschool-edu {
    padding-top: 64px;
    padding-bottom: 70px;
    background-color: #F0EFEE;
}

.moreschool-edu .section-header--center {
    margin-bottom: 18px;
}

.moreschool-edu__text {
    width: 100%;
    max-width: 1051px;
    margin: 0 auto;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    text-align: center;
    color: #000000;
}

.moreschool-edu__hint {
    margin-top: 40px;
    margin-bottom: 40px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    color: #ED801B;
}

.moreschool-edu__cards {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.moreschool-edu__card {
    position: relative;
    width: 344px;
    height: 366px;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.moreschool-edu__card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.moreschool-edu__card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, rgba(0, 0, 0, 0.69) 100%);
}

.moreschool-edu__card-title {
    position: absolute;
    left: 15px;
    bottom: 27px;
    z-index: 2;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-19);
    text-transform: uppercase;
    color: #ffffff;
    max-width: 240px;
}

/* moreschool: teachers */
.moreschool-teachers {
    padding-top: 66px;
    padding-bottom: 90px;
    background-color: #F0EFEE;
}

.moreschool-teachers .section-header--center {
    margin-bottom: 18px;
}

.moreschool-teachers__text {
    max-width: 751px;
    margin: 0 auto 56px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-align: center;
    color: #000000;
}

.moreschool-teachers-slider {
    width: 100%;
}

.moreschool-teachers-content {
    display: flex;
    gap: 17px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 15px;
}

.moreschool-teachers-content::-webkit-scrollbar {
    display: none;
}

.moreschool-teachers-content {
    scrollbar-width: none;
}

.moreschool-teachers__card {
    flex: 0 0 306px;
    min-height: 454px;
}

.moreschool-teachers__card-media {
    width: 306px;
    height: 374px;
    border: 1px solid #B9B9B9;
    box-sizing: border-box;
}

.moreschool-teachers__card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.moreschool-teachers__card-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.moreschool-teachers__card-name {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-20);
    line-height: var(--lh-25);
    color: #000000;
}

.moreschool-teachers__card-subject {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    color: #ED801B;
}

/* moreschool: material support */
.moreschool-mto {
    padding-top: 86px;
    padding-bottom: 90px;
    background-color: #FFFFFF;
}

.moreschool-mto .section-header--center {
    margin-bottom: 18px;
}

.moreschool-mto__text {
    max-width: 863px;
    margin: 0 auto;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    text-align: center;
    color: #000000;
}

.moreschool-mto__photos {
    margin-top: 60px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.moreschool-mto__photos::-webkit-scrollbar {
    display: none;
}

.moreschool-mto__photos {
    scrollbar-width: none;
}

.moreschool-mto__photos-track {
    display: flex;
    gap: 16px;
    padding: 0 15px;
}

@media (min-width: 1460px) {
    .moreschool-mto__photos-track {
        padding-left: calc((100vw - 1430px) / 2 + 15px);
        padding-right: calc((100vw - 1430px) / 2 + 15px);
    }
}

.moreschool-mto__photo {
    flex: 0 0 714px;
    height: 476px;
    overflow: hidden;
}

.moreschool-mto__photo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.moreschool-mto__grid {
    margin-top: 62px;
    display: grid;
    grid-template-columns: repeat(3, 414px);
    column-gap: 31px;
    row-gap: 24px;
    justify-content: center;
}

.moreschool-mto__card {
    width: 414px;
    min-height: 176px;
    border: 1px solid #ABC3FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 20px 20px;
}

.moreschool-mto__card-ico {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #D9D9D9;
}

.moreschool-mto__card-text {
    margin-top: auto;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    color: #000000;
}

/* moreschool: accessible environment */
.moreschool-access {
    padding-top: 76px;
    padding-bottom: 90px;
    background-color: #FFFFFF;
}

.moreschool-access .section-header--center {
    margin-bottom: 52px;
}

.moreschool-access__subtitle {
    margin-top: 10px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-align: center;
    color: #ED801B;
}

.moreschool-access__list {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.moreschool-access__item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.moreschool-access__num {
    width: 52px;
    height: 52px;
    border: 1px solid #ABC3FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    color: #ABC3FF;
    flex-shrink: 0;
}

.moreschool-access__text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

/* moreschool: tuition cost */
.moreschool-cost {
    padding-top: 76px;
    padding-bottom: 110px;
    background-color: #FFFFFF;
}

.moreschool-cost__year {
    margin-top: 9px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-align: center;
    text-transform: uppercase;
    color: #ED801B;
}

.moreschool-cost__panel {
    width: 100%;
    max-width: 1403px;
    min-height: 513px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #F6B02A 0%, #FF6D3C 45%, #FF6D3C 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 46px;
}

.moreschool-cost__panel::before {
    content: "";
    position: absolute;
    left: -150px;
    top: -160px;
    width: 480px;
    height: 480px;
    background: #F6B02A;
    border-radius: 50%;
    opacity: 0.95;
}

.moreschool-cost__panel::after {
    content: "";
    position: absolute;
    right: -220px;
    bottom: -260px;
    width: 620px;
    height: 620px;
    background: #3D63D9;
    border-radius: 50%;
    opacity: 0.55;
}

.moreschool-cost__lead {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 54px;
    font-family: var(--font-involve);
    font-weight: 600;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    text-align: center;
    color: #FFFFFF;
}

.moreschool-cost__form {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 625px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.moreschool-cost__field {
    width: 100%;
    display: block;
}

.moreschool-cost__input {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.31);
    background: transparent;
    color: #FFFFFF;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-align: center;
    outline: none;
}

.moreschool-cost__input::placeholder {
    color: #FFFFFF;
    opacity: 1;
}

.moreschool-cost__check {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.moreschool-cost__check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.moreschool-cost__check-box {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    flex-shrink: 0;
}

.moreschool-cost__check-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: center;
    color: #FFFFFF;
}

.moreschool-cost__submit {
    width: 181px;
    height: 45px;
    margin-top: 12px;
    border: none;
    background: #FFFFFF;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-25);
    text-align: center;
    color: #000000;
    cursor: pointer;
}

.moreschool-cards {
    padding-top: 60px;
    padding-bottom: 60px;
}

.moreschool-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    row-gap: 40px;
}

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

.moreschool-cards__item-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.moreschool-cards__item-title {
    margin: 0;
    font-family: var(--font-euclid);
    font-weight: 600;
    font-size: var(--fs-22);
    line-height: 1.3;
}

.moreschool-cards__item-text {
    margin: 0;
    font-size: var(--fs-16);
    line-height: 1.5;
    color: #666;
}

.moreschool-icons {
    padding-top: 0;
    padding-bottom: 70px;
}

.moreschool-icons__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.moreschool-icons__item {
    text-align: center;
}

.moreschool-icons__item-ico {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto 18px;
}

.moreschool-icons__item-text {
    font-size: var(--fs-18);
    line-height: 1.4;
    font-family: var(--font-involve);
    font-weight: 500;
}

.moreschool-text {
    padding-top: 0;
    padding-bottom: 60px;
}

.moreschool-text__inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.moreschool-text__p {
    margin: 0;
    font-size: var(--fs-18);
    line-height: 1.65;
    color: #333;
}

.moreschool-gallery {
    padding-top: 0;
    padding-bottom: 60px;
}

.moreschool-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.moreschool-gallery__item {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.moreschool-gallery__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.moreschool-gallery__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.moreschool-portraits {
    padding-top: 0;
    padding-bottom: 60px;
}

.moreschool-portraits__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.moreschool-portraits__item {
    border-radius: 20px;
    overflow: hidden;
}

.moreschool-portraits__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.moreschool-rooms {
    padding-top: 0;
    padding-bottom: 70px;
}

.moreschool-rooms__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.moreschool-rooms__item {
    display: block;
    border-radius: 20px;
    overflow: hidden;
}

.moreschool-rooms__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.moreschool-benefits {
    padding-top: 0;
    padding-bottom: 70px;
}

.moreschool-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.moreschool-benefits__item {
    text-align: center;
}

.moreschool-benefits__item-ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
}

.moreschool-benefits__item-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moreschool-benefits__item-title {
    font-family: var(--font-euclid);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: var(--fs-20);
}

.moreschool-benefits__item-text {
    font-size: var(--fs-16);
    line-height: 1.55;
    color: #666;
}

/* CTA Block - reusable component */
.cta-block {
    padding-top: 0;
    padding-bottom: 80px;
}

.cta-block__inner {
    border-radius: 24px;
    padding: 60px 70px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.cta-block--orange .cta-block__inner {
    background: linear-gradient(90deg, #F08300 0%, #FF6B00 100%);
}

.cta-block__title {
    margin: 0 0 18px;
    font-family: var(--font-euclid);
    font-weight: 700;
    font-size: var(--fs-48);
    line-height: 1.15;
    color: #ffffff;
}

.cta-block__text {
    margin: 0 0 28px;
    font-size: var(--fs-18);
    line-height: 1.5;
    color: #ffffff;
    max-width: 500px;
}

.cta-block__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-18);
    transition: transform 0.2s ease;
}

.cta-block__btn:hover {
    transform: translateY(-2px);
}

.cta-block__media {
    display: flex;
    justify-content: flex-end;
}

.cta-block__img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
}

/* nude-section with vacancies modifier */
.nude-section--vacancies {
    background-color: #FFF9F0;
    padding-top: 80px;
    padding-bottom: 80px;
}

.nude-section--vacancies .section-header {
    margin-bottom: 12px;
}

.nude-section--vacancies .nude-section__subtitle {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: 1.4;
    text-align: center;
    color: #F08300;
    margin: 0 0 60px;
}

.nude-section--vacancies .nude-section__vacancies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.nude-section--vacancies .nude-section__vacancy-item {
    background-color: transparent;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nude-section--vacancies .nude-section__vacancy-item:not(:first-child) {
    border-left: 1px solid #BDBDBD;
}

.nude-section--vacancies .nude-section__vacancy-star {
    width: 70px;
    height: 70px;
    margin-bottom: 28px;
}

.nude-section--vacancies .nude-section__vacancy-star img {
    width: 100%;
    height: 100%;
    display: block;
}

.nude-section--vacancies .nude-section__vacancy-class {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-22);
    line-height: 1.4;
    margin-bottom: 16px;
    color: #000000;
}

.nude-section--vacancies .nude-section__vacancy-count {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-22);
    line-height: 1.4;
    color: #000000;
}

.nude-section--vacancies .nude-section__vacancy-count--unavailable {
    color: #E41B00;
}

.moreschool-certs {
    padding-top: 80px;
    padding-bottom: 90px;
}

.moreschool-certs .section-header {
    margin-bottom: 48px;
}

.moreschool-certs-slider {
    position: relative;
    width: 100%;
}

.moreschool-certs-content {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    padding-left: 15px;
}

.moreschool-certs-content::-webkit-scrollbar {
    display: none;
}

.moreschool-certs-content {
    scrollbar-width: none;
}

.moreschool-certs__item {
    display: block;
    width: 237px;
    height: 237px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.moreschool-certs__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.moreschool-certs__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.moreschool-certs-slider__arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.moreschool-certs-slider__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #F08300;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.moreschool-certs-slider__arrow:hover {
    background-color: #F08300;
}

.moreschool-certs-slider__arrow img {
    width: 16px;
    height: 16px;
}

.moreschool-certs-slider__arrows.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .moreschool-about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .moreschool-about__content {
        text-align: center;
    }

    .moreschool-about__label {
        justify-content: center;
    }

    .moreschool-about__text {
        margin-left: auto;
        margin-right: auto;
    }

    .moreschool-about__download.section-link {
        margin-left: auto;
        margin-right: auto;
    }

    .moreschool-about__contacts {
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
    }

    .moreschool-about__media {
        justify-self: center;
    }

    .moreschool-structure__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 32px;
    }

    .moreschool-structure__card {
        width: 100%;
    }

    .moreschool-structure__card-media {
        width: 100%;
        height: auto;
        aspect-ratio: 452 / 454;
    }

    .moreschool-structure__card-title {
        margin-top: 18px;
    }

    .moreschool-docs__grid {
        flex-wrap: wrap;
        max-width: 700px;
        gap: 24px;
    }

    .moreschool-edu__cards {
        flex-wrap: wrap;
        gap: 16px;
    }

    .moreschool-edu__card {
        width: calc(50% - 8px);
        height: auto;
        aspect-ratio: 344 / 366;
    }

    .moreschool-mto__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
        column-gap: 24px;
    }

    .moreschool-mto__card {
        width: 100%;
    }

    .moreschool-access__list {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 26px;
        column-gap: 48px;
        max-width: 980px;
    }

    .moreschool-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .moreschool-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .moreschool-portraits__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .moreschool-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-block__inner {
        grid-template-columns: 1fr;
        padding: 44px 32px;
    }

    .cta-block__media {
        justify-content: center;
    }

    .nude-section--vacancies .nude-section__vacancies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nude-section--vacancies .nude-section__vacancy-item {
        padding: 32px 20px;
        border-left: none;
    }

    .nude-section--vacancies .nude-section__vacancy-item:nth-child(even) {
        border-left: 1px solid #BDBDBD;
    }

    .moreschool-certs__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nude-section--peach {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .moreschool-about__media {
        max-width: 100%;
    }

    .moreschool-about__contacts {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .moreschool-structure {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .moreschool-structure .section-header--center {
        margin-bottom: 40px;
    }

    .moreschool-structure__grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .moreschool-docs__grid {
        max-width: 420px;
        gap: 20px;
    }

    .moreschool-docs__download-all {
        margin-top: 40px;
    }

    .moreschool-edu {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .moreschool-edu__hint {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .moreschool-edu__card {
        width: 100%;
        max-width: 344px;
        margin: 0 auto;
    }

    .moreschool-teachers {
        padding-top: 56px;
        padding-bottom: 70px;
    }

    .moreschool-teachers__text {
        margin-bottom: 40px;
    }

    .moreschool-mto {
        padding-top: 66px;
        padding-bottom: 76px;
    }

    .moreschool-mto__photos {
        margin-top: 50px;
    }

    .moreschool-mto__grid {
        grid-template-columns: 1fr;
        max-width: 414px;
    }

    .moreschool-access {
        padding-top: 66px;
        padding-bottom: 76px;
    }

    .moreschool-access .section-header--center {
        margin-bottom: 36px;
    }

    .moreschool-access__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        max-width: 420px;
    }

    .moreschool-cost {
        padding-top: 66px;
        padding-bottom: 90px;
    }

    .moreschool-cost__panel {
        height: auto;
        padding: 46px 20px 44px;
    }

    .moreschool-cost__lead {
        margin-bottom: 36px;
    }

    .moreschool-cost__check {
        padding: 0 10px;
    }

    .moreschool-rooms__grid {
        grid-template-columns: 1fr;
    }

    .nude-section--vacancies .nude-section__vacancies-grid {
        grid-template-columns: 1fr;
    }

    .nude-section--vacancies .nude-section__vacancy-item {
        padding: 32px 20px;
        border-left: none;
    }
}