: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;
    /* Great Vibes has no Cyrillic; 'Bad Script' is a Cyrillic-capable fallback */
    --font-great-vibes: 'Great Vibes', 'Bad Script', -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-panel.header-panel--mobile {
    display: none !important;
}

.header-logo {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
}

.header-menu {
    position: fixed;
    inset: 0;
    z-index: 2500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.header-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.header-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: min(380px, 86vw);
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    padding: 24px 20px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.header-menu__close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E5E5;
    background: #ffffff;
    color: #000000;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

body.header-menu--open {
    overflow: hidden;
}

body.header-menu--open .header-menu {
    pointer-events: auto;
    opacity: 1;
}

body.header-menu--open .header-menu__panel {
    transform: translateX(0);
}

.header-menu .header-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 22px;
}

.header-menu .header-nav-menu-item a {
    font-size: var(--fs-18);
}

.header-menu .sub-menu {
    display: none;
    position: static;
    padding: 10px 0 0;
    background-color: transparent;
}

.header-menu .header-nav-menu-item--open > .sub-menu {
    display: block;
}

.header-menu .menu-item--open > .sub-menu {
    display: block;
}

.header-menu .sub-menu-item > a {
    padding: 6px 0 6px 14px;
    font-size: var(--fs-16);
}

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

/* Inner pages: keep menu markup for WP, but don't show big header menu */
.header--grey .header-nav {
    display: none;
}

.header-nav-menu {
    display: flex;
    padding-left: 0;
    justify-content: flex-start;
    column-gap: 28px;
    row-gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    color: #3C2119;
}

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

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

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

.header-nav-menu-item--has-children:hover > .sub-menu,
.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;
    white-space: nowrap;
}

.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-16);
    color: #ffffff;
    padding: 14px 26px;
    text-transform: uppercase;
    border-radius: 16px;
    display: inline-block;
    line-height: 1.2;
}

.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;
        font-size: var(--fs-16);
        padding: 14px 22px;
    }
}

.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 v2 (alt) — used on all pages except index & kindergarten
   ========================================================================== */

.footer--alt {
    background-color: #F0EFEE;
}

.footer--alt > .container {
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
}

.footer-logo--alt {
    max-width: 281px;
}

.footer--alt .footer-col--brand {
    display: flex;
    flex-direction: column;
    max-width: 281px;
}

.footer--alt .footer-col--contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer--alt .footer-privacy-policy {
    margin-top: 14px;
}

.footer--alt .footer-callback {
    margin-top: auto;
}

.footer--alt .footer-social {
    margin-top: 30px;
}

@media (min-width: 1025px) {
    .footer--alt .footer-privacy-policy {
        margin-top: auto;
    }
}

.section-link.section-link--wide {
    width: 332px;
    height: 45px;
}

.footer--alt .footer-callback {
    color: #8C8C8C;
    border-color: #8C8C8C;
    background-color: transparent;
}

.footer--alt .footer-privacy-policy {
    font-size: var(--fs-14);
    line-height: var(--lh-19);
}

.footer-addresses {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 298px;
}

.footer-addresses h4 {
    font-family: var(--font-euclid);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: 23px;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 8px;
}

.footer-addresses p {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-15);
    line-height: 20px;
    color: #202020;
    margin: 0;
}

.footer-info {
    width: 348px;
}

.footer-info__title {
    font-family: var(--font-euclid);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: 23px;
    color: #000000;
    margin-bottom: 12px;
}

.footer-menu.footer-menu--compact {
    gap: 12px;
}

.footer--alt .footer-menu__link,
.footer--alt .footer-menu__link a {
    font-size: var(--fs-14);
    line-height: var(--lh-19);
    color: #000000;
}

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

.footer-contacts__label {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #ED801B;
    text-align: right;
}

.footer-contacts__phone {
    display: block;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-align: right;
    color: #000000;
    white-space: nowrap;
    margin-top: 4px;
}

/* Footer adaptive (both variants) */
@media (max-width: 1024px) {
    .footer > .container {
        flex-wrap: wrap;
        row-gap: 40px;
        column-gap: 40px;
    }

    .footer-col {
        flex: 1 1 320px;
        width: auto;
    }

    .footer--alt .footer-col--contacts {
        align-items: flex-start;
    }

    .footer--alt .footer-contacts {
        align-items: flex-start;
    }

    .footer--alt .footer-contacts__label,
    .footer--alt .footer-contacts__phone {
        text-align: left;
    }

    /* On wrap layouts, keep spacing between socials and callback button */
    .footer--alt .footer-callback {
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .footer > .container {
        row-gap: 32px;
    }

    .section-link.section-link--wide {
        width: 100%;
        max-width: 332px;
    }

    .footer-addresses,
    .footer-info {
        width: 100%;
        max-width: 520px;
    }

    .footer-social__link {
        width: 48px;
        height: 48px;
    }

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

    .footer--alt .footer-callback {
        margin-top: 16px;
    }
}

.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;
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-panel__burger-ico {
    display: block;
}

.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;
}

/* ==========================================================================
   Header adaptive
   ========================================================================== */

@media (max-width: 1200px) {
    .header-nav {
        max-width: 700px;
    }

    .header-utilities {
        max-width: 300px;
    }
}

@media (max-width: 1024px) {
    .header > .container {
        gap: 18px;
    }

    /* Index header: swap menu for burger */
    .header:not(.header--grey) .header-panel.header-panel--mobile {
        display: flex !important;
        align-items: center;
    }

    .header:not(.header--grey) .header-nav {
        display: none;
    }

    /* Inner pages always use burger/search instead of big menu */
    .header--grey .header-nav {
        display: none;
    }

    /* Inner pages */
    .header-panel {
        gap: 26px;
    }

    .header-panel__search {
        margin-bottom: 0;
        width: 260px;
    }

    .header-contact__callback-btn {
        display: none;
    }

    .header-utilities {
        max-width: none;
        width: auto;
        gap: 14px;
        justify-content: flex-end;
    }
}

@media (min-width: 1025px) {
    /* Ensure desktop index header shows the big menu, not burger */
    .header:not(.header--grey) .header-panel.header-panel--mobile {
        display: none !important;
    }

    .header:not(.header--grey) .header-nav {
        display: block;
    }
}

@media (max-width: 640px) {
    .header {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .header-panel__search {
        display: none;
    }

    .header .header-login span {
        display: none;
    }

    .header-contact__phone-number {
        font-size: 12px;
    }

    .header-logo {
        max-width: 170px;
    }

    .header-utilities {
        gap: 10px;
    }

    .language-selector {
        width: 52px;
    }

    .language-selector span,
    .language-selector__dropdown-item a {
        font-size: var(--fs-16);
    }
}

@media (max-width: 480px) {
    .header-utilities {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .header-contact {
        width: 100%;
        align-items: flex-end;
    }
}

.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;
        justify-items: center;
    }
    
    .faq-contact-panel {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .faq-content {
        width: 100%;
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }
}

.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;
    }

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

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

    /* 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: 44px;
        padding-bottom: 56px;
    }

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

    .about-title {
        margin-bottom: 18px;
    }

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

    .about-description {
        max-width: 520px;
        margin-bottom: 22px;
        font-size: var(--fs-16);
        line-height: var(--lh-21);
        text-transform: none;
    }

    /* Lessons: hide side arrows on mobile, rely on swipe */
    .main--kindergarten .lessons {
        padding-top: 44px;
        padding-bottom: 50px;
    }

    .main--kindergarten .lessons-slider {
        margin-top: 40px;
        margin-bottom: 32px;
    }

    .main--kindergarten .lessons-slider {
        gap: 0;
    }

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

    .main--kindergarten .lessons-content__item-title {
        font-size: var(--fs-18);
    }

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

    .lessons-content__item-pic {
        width: 232px;
        height: 290px;
    }

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

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

    .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: 44px;
        padding-bottom: 52px;
    }

    .news-table__content {
        margin-top: 36px;
        margin-bottom: 32px;
    }

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

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

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

    .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;
    }
}

@media (max-width: 480px) {
    .about {
        padding-top: 40px;
        padding-bottom: 52px;
    }

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

    .main--kindergarten .lessons {
        padding-top: 40px;
        padding-bottom: 46px;
    }

    .main--kindergarten .lessons-slider {
        margin-top: 34px;
        margin-bottom: 28px;
    }

    .lessons-content__item-pic {
        width: 220px;
        height: 276px;
    }
}

/* 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;
}

/* CF7 wraps controls into <p> blocks — reset to match pixel-perfect layout */
.aboutschool-apply__form > p {
    margin: 0;
    width: 100%;
    max-width: 625px;
    text-align: center;
}

.aboutschool-apply__check > p {
    margin: 0;
    width: 100%;
}

.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: #FFFFFF;
    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: #000000;
    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-box::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #086260;
    opacity: 0;
}

.aboutschool-apply__check-input:checked + .aboutschool-apply__check-box::after {
    opacity: 1;
}

.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;
}

/* CF7: pixel-perfect checkbox for About School apply form */
.aboutschool-apply__check .wpcf7-form-control-wrap,
.aboutschool-apply__check .wpcf7-acceptance,
.aboutschool-apply__check .wpcf7-list-item {
    display: block;
    margin: 0;
}

.aboutschool-apply__check label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aboutschool-apply__check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: transparent;
    flex-shrink: 0;
}

.aboutschool-apply__check input[type="checkbox"]:checked {
    background: #086260;
}

.aboutschool-apply__check .wpcf7-list-item-label {
    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;
    display: block;
    margin: 10px auto 12px;
    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__links {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.aboutschool-apply__link {
    margin: 0;
}

.aboutschool-apply__link.section-link {
    border-color: rgba(0, 0, 0, 0.25);
    background: #FFFFFF;
    color: #000000;
    width: auto;
    padding: 0 18px;
    white-space: nowrap;
}

/* CF7: make validation / status text readable */
.aboutschool-apply .wpcf7-response-output {
    margin: 8px auto 0;
    width: 100%;
    max-width: 625px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: center;
    color: #000000;
}

/* CF7: hide technical/empty blocks */
.aboutschool-apply .hidden-fields-container {
    display: none;
}

.aboutschool-apply .wpcf7-response-output:empty {
    display: none;
}

.aboutschool-apply .wpcf7-not-valid {
    border-color: #E41B00;
}

.aboutschool-apply .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: center;
    color: #E41B00;
}

.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__org {
    max-width: 711px;
}

.moreschool-about .org-info {
    margin: 0;
    display: grid;
    gap: 14px;
}

.moreschool-about .org-info__row {
    margin: 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    column-gap: 18px;
    row-gap: 6px;
}

.moreschool-about .org-info__label {
    margin: 0;
    font-family: var(--font-involve);
    font-weight: 600;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

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

.moreschool-about .org-info__value br {
    content: "";
}

.moreschool-about__org + .moreschool-about__contacts {
    margin-top: 48px;
}

@media (max-width: 640px) {
    .moreschool-about .org-info__row {
        grid-template-columns: 1fr;
    }
}

.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__form > p {
    margin: 0;
    width: 100%;
    text-align: center;
}

.moreschool-cost__check > p {
    margin: 0;
    width: 100%;
}

.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-box::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
}

.moreschool-cost__check-input:checked + .moreschool-cost__check-box::after {
    opacity: 1;
}

.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;
}

/* CF7: pixel-perfect checkbox for More school cost form */
.moreschool-cost__check .wpcf7-form-control-wrap,
.moreschool-cost__check .wpcf7-acceptance,
.moreschool-cost__check .wpcf7-list-item {
    display: block;
    margin: 0;
}

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

.moreschool-cost__check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    flex-shrink: 0;
}

.moreschool-cost__check input[type="checkbox"]:checked {
    background: #000000;
}

.moreschool-cost__check .wpcf7-list-item-label {
    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;
    display: block;
    margin: 12px auto 14px;
    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;
}

/* CF7: make validation / status text readable */
.moreschool-cost .wpcf7-response-output {
    margin: 10px auto 0;
    width: 100%;
    max-width: 625px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: center;
    color: #000000;
}

.moreschool-cost .wpcf7-not-valid {
    border-color: #000000;
}

.moreschool-cost .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.85);
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: center;
    color: #000000;
}

/* contacts page: address cards (used in cajun-page.php content) */
.contacts-cards {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contacts-cards__item {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
}

.contacts-cards + .moreschool-cost__panel {
    margin-top: 28px;
}

.contacts-cards__title {
    font-family: var(--font-euclid);
    font-weight: 600;
    font-size: var(--fs-18);
    line-height: 1.3;
    color: #000000;
}

.contacts-cards__addr {
    margin-top: 10px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

.contacts-cards__phone {
    margin-top: 12px;
    display: inline-block;
    font-family: var(--font-involve);
    font-weight: 600;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .contacts-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .contacts-cards {
        grid-template-columns: 1fr;
    }
}

/* contacts page: CF7 readability (RU/EN) */
.page-id-2049 .moreschool-cost__panel,
.page-id-2050 .moreschool-cost__panel {
    min-height: auto;
    padding: 28px 20px;
    background: #FFEFE0;
}

.page-id-2049 .moreschool-cost__panel::before,
.page-id-2049 .moreschool-cost__panel::after,
.page-id-2050 .moreschool-cost__panel::before,
.page-id-2050 .moreschool-cost__panel::after {
    content: none !important;
}

.page-id-2049 .cf7-form,
.page-id-2050 .cf7-form {
    width: 100%;
    max-width: 625px;
    margin: 0 auto;
}

.page-id-2049 .cf7-form p,
.page-id-2050 .cf7-form p {
    margin: 0;
}

.page-id-2049 .cf7-form label,
.page-id-2050 .cf7-form label {
    display: block;
    margin-top: 14px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

.page-id-2049 .cf7-form label:first-child,
.page-id-2050 .cf7-form label:first-child {
    margin-top: 0;
}

.page-id-2049 .cf7-form .wpcf7-form-control-wrap,
.page-id-2050 .cf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.page-id-2049 .cf7-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]),
.page-id-2049 .cf7-form textarea.wpcf7-form-control,
.page-id-2050 .cf7-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]),
.page-id-2050 .cf7-form textarea.wpcf7-form-control {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #FFFFFF;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
    outline: none;
    padding: 0 14px;
}

.page-id-2049 .cf7-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]),
.page-id-2050 .cf7-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]) {
    height: 52px;
}

.page-id-2049 .cf7-form textarea.wpcf7-form-control,
.page-id-2050 .cf7-form textarea.wpcf7-form-control {
    min-height: 140px;
    padding: 12px 14px;
    resize: vertical;
}

.page-id-2049 .cf7-form .wpcf7-acceptance label,
.page-id-2050 .cf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
}

.page-id-2049 .cf7-form input[type="checkbox"],
.page-id-2050 .cf7-form input[type="checkbox"] {
    margin-top: 3px;
}

.page-id-2049 .cf7-form input.wpcf7-submit,
.page-id-2050 .cf7-form input.wpcf7-submit {
    width: 181px;
    height: 45px;
    display: block;
    margin: 16px auto 0;
    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;
}

.page-id-2049 .wpcf7-response-output,
.page-id-2050 .wpcf7-response-output {
    margin: 10px auto 0;
    width: 100%;
    max-width: 625px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: center;
    color: #000000;
}

.page-id-2049 .wpcf7-not-valid,
.page-id-2050 .wpcf7-not-valid {
    border-color: #E41B00;
}

.page-id-2049 .wpcf7-not-valid-tip,
.page-id-2050 .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    color: #E41B00;
}

.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;
}

/* Touch devices: disable hover states + tap highlights */
@media (hover: none) {
    .lessons-slider__arrow:hover,
    .lessons-slider__arrows-item:hover {
        opacity: 1;
    }

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

.lessons-slider__arrow,
.lessons-slider__arrows-item,
.moreschool-certs-slider__arrow {
    -webkit-tap-highlight-color: transparent;
}

.lessons-slider__arrow:focus,
.lessons-slider__arrows-item:focus,
.moreschool-certs-slider__arrow:focus {
    outline: none;
}

.lessons-slider__arrow:focus-visible,
.lessons-slider__arrows-item:focus-visible,
.moreschool-certs-slider__arrow:focus-visible {
    outline: 2px solid #F08300;
    outline-offset: 2px;
}

.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;
    }

    /* moreschool: tuition cost */
    .moreschool-cost {
        padding-top: 66px;
        padding-bottom: 80px;
    }

    .moreschool-cost__panel {
        margin-top: 32px;
    }

    .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: 56px;
        padding-bottom: 72px;
    }

    .moreschool-cost__panel {
        height: auto;
        margin-top: 28px;
        padding: 36px 16px 34px;
    }

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

    .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;
    }
}

/* ==========================================================================
   Inner pages: team / environment / education / preparation / lessonprogram / alldayschool
   (only main content, header/footer untouched)
   ========================================================================== */

.main--team,
.main--environment,
.main--education,
.main--preparation,
.main--lessonprogram,
.main--alldayschool,
.main--postuplenie {
    background-color: #F0EFEE;
}

.section-title--center {
    text-align: center;
    display: block;
}

.inner-hero {
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
}

.inner-hero--tight {
    padding-bottom: 26px;
}

.inner-hero__line {
    width: 126px;
    height: 1px;
    background: #000000;
    margin: 20px auto 28px;
}

.inner-hero__text {
    width: 100%;
    max-width: 862px;
    margin: 0 auto;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.inner-hero__stack {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.inner-hero__subtitle {
    margin-top: 22px;
    font-size: var(--fs-16);
    line-height: var(--lh-21);
    color: #000000;
}

.white-section {
    background: #ffffff;
    padding: 48px 0 70px;
}

.white-section--short {
    padding: 40px 0 42px;
}

/* ---------- Team ---------- */

.team-photo {
    padding-bottom: 64px;
}

.team-photo__frame {
    width: 100%;
    max-width: 1401px;
    margin: 0 auto;
    aspect-ratio: 1401 / 605;
    overflow: hidden;
    background: #d9d9d9;
}

.team-photo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-photo__text {
    width: 100%;
    max-width: 862px;
    margin: 22px auto 0;
    text-align: center;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.team-principles {
    padding-bottom: 60px;
}

.team-principles .section-title {
    margin-bottom: 34px;
}

.team-principles__grid {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: stretch;
}

.team-principles__item {
    width: 358px;
    height: 360px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid #C9C9C9;
    background: rgba(234, 228, 223, 0.72);
    padding: 92px 28px 40px;
    text-align: center;
    position: relative;
}

.team-principles__item:not(:first-child) {
    margin-left: -22px; /* slight overlap, like in figma */
}

.team-principles__item:nth-child(1) { z-index: 1; }
.team-principles__item:nth-child(2) { z-index: 2; }
.team-principles__item:nth-child(3) { z-index: 3; }
.team-principles__item:nth-child(4) { z-index: 4; }

.team-principles__item--white {
    background: transparent;
    z-index: 6;
}

.team-principles__item-title {
    font-family: var(--font-euclid);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: 23px;
    text-transform: uppercase;
    color: #3C2119;
    margin: 0 auto 18px;
}

.team-principles__item-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-15);
    line-height: 20px;
    color: #202020;
    margin: 0;
}

.team-principles__item-text--upper {
    text-transform: uppercase;
}

.team-diffs {
    padding: 54px 0 84px;
}

.team-diffs .section-title {
    margin-bottom: 34px;
}

.team-diffs__grid {
    display: grid;
    grid-template-columns: repeat(3, 414px);
    justify-content: center;
    gap: 23px;
}

.team-diffs__card {
    border: 1px solid rgba(8, 98, 96, 0.16);
    min-height: 198px;
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: transparent;
}

.team-diffs__ico {
    width: 58px;
    height: 53px;
    position: relative;
    margin-bottom: 22px;
}

.team-diffs__ico::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 28px;
    background: #086260;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    box-shadow: -16px 0 0 #086260, 16px 0 0 #086260;
    opacity: 0.95;
}

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

/* ---------- Environment ---------- */

.env-values {
    padding: 34px 0 44px;
}

.env-values .section-title {
    margin-bottom: 28px;
}

.env-values__grid {
    display: grid;
    grid-template-columns: repeat(5, 270px);
    justify-content: center;
    gap: 12px;
}

.env-values__card {
    background: rgba(234, 228, 223, 0.72);
    padding: 22px 15px 20px;
    min-height: 206px;
}

.env-values__card-title {
    font-family: var(--font-involve);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #086260;
    margin-bottom: 16px;
}

.env-values__card-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-15);
    line-height: 20px;
    color: #000000;
}

.env-bottom {
    background: transparent;
    padding: 44px 0 56px;
}

.env-bottom__text {
    width: 100%;
    max-width: 862px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

/* ---------- Shared cards / checklist ---------- */

.feature-cards {
    margin-top: 30px;
    display: grid;
    gap: 23px;
    justify-content: center;
}

.feature-cards--3 {
    grid-template-columns: repeat(3, 414px);
}

.feature-cards__card {
    min-height: 198px;
    border: 1px solid rgba(8, 98, 96, 0.16);
    background: #ffffff;
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-cards__card--ghost {
    background: transparent;
}

.feature-cards--ghost .feature-cards__text {
    text-transform: none;
}

.feature-cards__ico {
    width: 58px;
    height: 53px;
    position: relative;
    margin-bottom: 18px;
}

.feature-cards__ico::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
    border: 3px solid #086260;
    border-radius: 10px;
    opacity: 0.95;
}

.feature-cards__ico--diff::before {
    width: 8px;
    height: 28px;
    border: none;
    border-radius: 3px;
    background: #086260;
    box-shadow: -16px 0 0 #086260, 16px 0 0 #086260;
}

.feature-cards__ico--svg {
    /* size is controlled by optional modifiers */
}

.feature-cards__ico--size-62 {
    width: 62px;
}

.feature-cards__ico--size-66 {
    width: 66px;
    height: 53px;
}

.feature-cards__ico--size-53 {
    width: 53px;
    height: 53px;
}

.feature-cards__ico--svg::before {
    content: none;
}

.feature-cards__ico--svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

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

.checklist {
    width: 100%;
    max-width: 900px;
    margin: 34px auto 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}

.checklist--center {
    align-items: center;
}

.checklist__item {
    display: flex;
    gap: 10px;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #000000;
}

.checklist__item::before {
    content: "✓";
    color: #ED801B;
    font-weight: 600;
    line-height: 1;
    margin-top: 2px;
    flex: 0 0 auto;
}

/* ---------- Universal tiles (reusable across pages) ---------- */

.tile-grid {
    --tile-w: 337px;
    --tile-min-h: 247px;
    --tile-gap: 16px;
    --tile-pad: 28px 18px 22px;
    display: grid;
    gap: var(--tile-gap);
    justify-content: center;
}

.tile-grid--3 {
    grid-template-columns: repeat(3, var(--tile-w));
}

.tile-grid--4 {
    grid-template-columns: repeat(4, var(--tile-w));
}

/* Size modifiers (use where needed) */
.tile-grid--w-270 { --tile-w: 270px; }
.tile-grid--h-206 { --tile-min-h: 206px; }
.tile-grid--gap-12 { --tile-gap: 12px; }

.tile-card {
    min-height: var(--tile-min-h);
    padding: var(--tile-pad);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tile-card--fill {
    background: rgba(234, 228, 223, 0.72);
}

.tile-card--border {
    background: transparent;
    border: 1px solid #C9C9C9;
}

.tile-card__title {
    font-family: var(--font-involve);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-transform: uppercase;
    color: #086260;
    margin-bottom: 18px;
}

.tile-card__text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-15);
    line-height: 20px;
    color: #000000;
    margin: 0;
}

.tile-card__text--upper {
    text-transform: uppercase;
}

/* ---------- Rich text (WP/WYSIWYG-like content) ---------- */

.cms-content {
    width: 100%;
}

.rte {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #000000;
    --rte-gap: 18px;
    --rte-gap-tight: 12px;
}

.rte--center {
    text-align: center;
}

.rte > * + * {
    margin-top: var(--rte-gap);
}

.rte h3 + * {
    margin-top: var(--rte-gap-tight);
}

.rte h2,
.rte h3,
.rte h4 {
    margin: 0;
}

.rte h3 {
    font-weight: 600;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.rte p {
    margin: 0;
}

.rte strong {
    font-weight: 600;
}

.rte em {
    font-style: italic;
}

.section-title + .cms-content {
    margin-top: 16px;
}

/* ---------- Education ---------- */

.edu-guarantee {
    padding: 18px 0 62px;
}

.edu-guarantee .section-title {
    margin-bottom: 28px;
}

.edu-guarantee__grid {
    display: grid;
    grid-template-columns: repeat(3, 449px);
    gap: 16px;
    justify-content: center;
}

.edu-guarantee__card {
    position: relative;
    width: 100%;
    aspect-ratio: 449 / 517;
    overflow: hidden;
    background: #d9d9d9;
}

.edu-guarantee__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edu-guarantee__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, rgba(0, 0, 0, 0.69) 100%);
}

.edu-guarantee__content {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 22px;
    color: #ffffff;
}

.edu-guarantee__head {
    font-weight: 600;
    font-size: var(--fs-22);
    line-height: 1.2;
    margin-bottom: 10px;
}

.edu-guarantee__text {
    font-weight: 400;
    font-size: var(--fs-18);
    line-height: 23px;
    text-transform: uppercase;
}

.edu-module {
    padding: 54px 0 50px;
}

.edu-module--langs {
    padding-top: 36px;
    padding-bottom: 76px;
}

.edu-module .section-title {
    margin-bottom: 34px;
}

.edu-module__grid {
    display: grid;
    gap: 16px;
    justify-content: center;
}

.edu-module__grid--3 {
    grid-template-columns: repeat(3, 337px);
}

.edu-module__grid--4 {
    grid-template-columns: repeat(4, 337px);
}

.edu-module__card {
    min-height: 247px;
    padding: 28px 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.edu-module__card--fill {
    background: rgba(234, 228, 223, 0.72);
}

.edu-module__card--border {
    background: transparent;
    border: 1px solid #C9C9C9;
}

.edu-module__card-title {
    font-family: var(--font-involve);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    text-transform: uppercase;
    color: #086260;
    margin-bottom: 18px;
}

.edu-module__card-text {
    font-family: var(--font-involve);
    font-weight: 400;
    font-size: var(--fs-15);
    line-height: 20px;
    color: #000000;
    margin: 0;
}

.edu-module__card-text--upper {
    text-transform: uppercase;
}

.edu-module__result {
    margin: 34px auto 0;
    max-width: 700px;
    text-align: center;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

/* ---------- Preparation ---------- */

.preparation-copy {
    margin-top: 44px;
    text-align: center;
}

.preparation-copy__text {
    margin: 0 auto 12px;
    max-width: 780px;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.preparation-copy__text:last-child {
    margin-bottom: 0;
}

.preparation-list {
    padding: 58px 0 68px;
}

.preparation-list__inner {
    text-align: center;
}

.preparation-list__title {
    margin: 0 auto 38px;
    max-width: 560px;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

/* ---------- Lesson program ---------- */

.lessonprogram-copy {
    padding: 56px 0 84px;
}

.lessonprogram-copy__text {
    margin: 0 auto 22px;
    max-width: 897px;
    text-align: center;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.lessonprogram-copy__text--strong {
    font-weight: 600;
}

.lessonprogram-copy__text:last-child {
    margin-bottom: 0;
}

/* ---------- All day school ---------- */

.allday-intro {
    margin: 0 auto;
    max-width: 851px;
    text-align: center;
    font-weight: 600;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.allday-schedule {
    padding: 44px 0 56px;
}

.allday-schedule__grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, 693px);
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 1396px;
    margin-left: auto;
    margin-right: auto;
}

.allday-schedule__card {
    min-height: 213px;
    background: rgba(234, 228, 223, 0.72);
    border: 1px solid #C9C9C9;
    padding: 26px 18px 18px;
}

.allday-schedule__card--special {
    padding: 26px 18px 22px;
}

.allday-schedule__head {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    text-transform: uppercase;
    color: #086260;
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

.allday-schedule__rule {
    width: 81px;
    height: 1px;
    background: #000000;
    margin: -8px 0 16px;
}

.allday-schedule__text {
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #000000;
}

.allday-benefits {
    padding: 24px 0 90px;
}

.allday-benefits__grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(5, 270px);
    justify-content: center;
    gap: 12px;
}

.allday-benefits__card {
    min-height: 276px;
    padding: 22px 15px 20px;
}

.allday-benefits__card--fill {
    background: rgba(234, 228, 223, 0.72);
}

.allday-benefits__card--border {
    background: transparent;
    border: 1px solid #C9C9C9;
}

.allday-benefits__title {
    font-family: var(--font-involve);
    font-weight: 500;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    color: #3C2119;
    margin-bottom: 22px;
}

.allday-benefits__text {
    font-size: var(--fs-15);
    line-height: 20px;
}

.allday-benefits__bottom {
    margin: 56px auto 0;
    max-width: 700px;
    text-align: center;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
}

/* ---------- Adaptive for inner pages ---------- */

@media (max-width: 1024px) {
    .inner-hero {
        padding-top: 44px;
        padding-bottom: 34px;
    }

    .team-principles__grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .team-principles__item {
        width: 320px;
        height: 320px;
        padding: 74px 22px 30px;
    }

    .team-principles__item:not(:first-child) {
        margin-left: 0;
    }

    .team-diffs__grid {
        grid-template-columns: repeat(2, minmax(0, 414px));
    }

    .env-values__grid {
        grid-template-columns: repeat(2, minmax(0, 270px));
    }

    .feature-cards--3 {
        grid-template-columns: repeat(2, minmax(0, 414px));
    }

    .edu-guarantee__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tile-grid--3,
    .tile-grid--4 {
        grid-template-columns: repeat(2, minmax(0, var(--tile-w)));
    }

    .allday-schedule__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .allday-schedule__card {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .allday-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 270px));
    }
}

@media (max-width: 640px) {
    .inner-hero {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    .inner-hero__line {
        margin-bottom: 22px;
    }

    .team-photo {
        padding-bottom: 52px;
    }

    .team-diffs__grid {
        grid-template-columns: 1fr;
        max-width: 414px;
        margin: 0 auto;
    }

    .env-values__grid {
        grid-template-columns: 1fr;
        max-width: 270px;
        margin: 0 auto;
    }

    .feature-cards--3 {
        grid-template-columns: 1fr;
        max-width: 414px;
        margin-left: auto;
        margin-right: auto;
    }

    .checklist {
        gap: 18px;
    }

    .tile-grid--3,
    .tile-grid--4 {
        grid-template-columns: 1fr;
        max-width: var(--tile-w);
        margin-left: auto;
        margin-right: auto;
    }

    .edu-guarantee__grid {
        grid-template-columns: 1fr;
        max-width: 449px;
        margin-left: auto;
        margin-right: auto;
    }

    .allday-benefits__grid {
        grid-template-columns: 1fr;
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
    }

    .white-section {
        padding: 36px 0 54px;
    }

    .lessonprogram-copy {
        padding: 46px 0 72px;
    }
}

/* ---------- Дополнительное образование ---------- */

.tile-card__emoji {
    display: block;
    font-size: var(--fs-36);
    line-height: 1;
    margin-bottom: 8px;
}

.main--dopobrazovanie .edu-module {
    padding: 46px 0 54px;
}

.main--dopobrazovanie .edu-module:nth-child(even) {
    background: rgba(234, 228, 223, 0.36);
}

.main--dopobrazovanie .edu-module:nth-child(even) .tile-card--fill {
    background: #ffffff;
}

.main--dopobrazovanie .tile-card--fill {
    min-height: 220px;
}