/**
 * Swiper 14.0.5
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2026 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: July 9, 2026
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-slides-offset-before);
      scroll-margin-inline-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-inline-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-slides-offset-before);
      scroll-margin-block-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-block-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: "";
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */

/* a11y */
.swiper .swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -1000;
}

.carousel__viewport.swiper-initialized {
  overflow: hidden;
  overscroll-behavior-inline: contain;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 240px;
  flex: 0 0 240px;
}

.review-card--wide {
  width: 500px;
  flex-basis: 500px;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --color-page: #fcf9f6;
  --color-surface: #f7f3ef;
  --color-card: #fbefe0;
  --color-footer: #faebd7;
  --color-accent: #9e2a2b;
  --color-gold: #dbb07d;
  --color-soft-apricot: #f4d2ab;
  --color-black: #130d05;
  --color-ink: #321414;
  --color-muted: #966a57;
  --content-width: 1540px;
  --radius-large: 40px;
  --radius-card: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background: var(--color-page);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button, input, textarea { font: inherit; }

.page-shell { width: min(var(--content-width), calc(100% - 80px)); margin-inline: auto; }

.slider-shell {
  position: relative;
  width: min(calc(var(--content-width) + 80px), calc(100% - 40px));
  margin-inline: auto;
}

.slider-shell__inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin-inline: auto;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 58px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 60px;
  cursor: pointer;
  font: inherit;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease, filter 160ms ease;
}

.button:hover { filter: brightness(.96); transform: translateY(-1px); }
.button--disabled { cursor: default; }
.button--disabled:hover { filter: none; transform: none; }
.button:focus-visible,
a:focus-visible,
.site-header__nav-button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.carousel__button:focus-visible,
.faq-item__button:focus-visible { outline: 3px solid #d98b8b; outline-offset: 3px; }
.button--primary { padding: 14px 60px; color: #fefcf9; background: var(--color-accent); }
.button--header { padding: 10px 40px; color: #fefcf9; background: var(--color-accent); }
.button--gold { min-width: 167px; padding: 10px 40px; color: #fefcf9; background: var(--color-gold); }
.site-header { min-height: 131px; }
.site-header__notice { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 59px; padding: 19.9px 20px; border-radius: 0 0 20px 20px; background: var(--color-card); }
.site-header__notice-link { color: var(--color-accent); }
.site-header__nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 57px; margin-top: 15px; }
.site-header__logo-link { width: 190px; }
.site-header__logo { width: 185px; height: 57px; object-fit: contain; }
.site-header__nav { display: flex; align-items: center; gap: 24px; text-transform: uppercase; }
.site-header__nav-link { white-space: nowrap; }
.site-header__menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-header__menu .sub-menu { margin: 0; padding: 0; list-style: none; text-transform: none; }
.site-header__nav-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-transform: inherit; cursor: pointer; }
.site-header__actions, .site-header__phone { display: flex; align-items: center; gap: 10px; }
.site-header__phone-icon { width: 24px; height: 24px; object-fit: contain; }
.site-header__menu-phone,
.menu-contacts { display: none; }
.site-header__menu-toggle,
.college-header__menu-toggle { display: none; }
.site-header__menu-icon,
.college-header__menu-icon { font-size: 24px; line-height: 1; }
.site-header__menu-content,
.college-header__menu-content { display: contents; }
.site-header__menu-shortcuts { display: none; }
.site-header__directions { display: contents; }
.site-header__directions-toggle,
.site-header__directions-panel { display: none; }

@media (min-width: 1281px) {
  .site-header__menu > .menu-item { position: relative; }
  .site-header__menu > .menu-item-has-children > .site-header__nav-link { display: inline-flex; align-items: center; gap: 6px; }
  .site-header__menu > .menu-item-has-children > .site-header__nav-link::after {
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
  }
  .site-header__menu .sub-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 14px);
    left: -20px;
    display: flex;
    min-width: 290px;
    flex-direction: column;
    gap: 2px;
    padding: 14px;
    border-radius: 20px;
    background: var(--color-card);
    box-shadow: 0 14px 34px rgba(50, 20, 20, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  }
  .site-header__menu .sub-menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 14px; content: ""; }
  .site-header__menu > .menu-item:hover > .sub-menu,
  .site-header__menu > .menu-item:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }
  .site-header__submenu-link { display: block; padding: 9px 12px; border-radius: 12px; white-space: nowrap; }
  .site-header__submenu-link:hover,
  .site-header__submenu-link:focus-visible { color: var(--color-accent); background: var(--color-page); }
}

.course-meta__item { position: relative; display: block; min-height: 17px; padding-left: 21px; }
.course-meta__item::before {
  position: absolute;
  top: .5px;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.course-meta__item--users::before {
  -webkit-mask-image: url("assets/images/icon-users.svg");
  mask-image: url("assets/images/icon-users.svg");
}
.course-meta__item--place::before {
  -webkit-mask-image: url("assets/images/icon-pin.svg");
  mask-image: url("assets/images/icon-pin.svg");
}

.benefits { min-height: 513px; margin-top: 100px; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 370px); gap: 20px; min-height: 415px; margin-top: 40px; }
.benefit-column { display: flex; flex-direction: column; gap: 20px; min-height: 415px; }
.benefit-column__copy { display: flex; flex-direction: column; gap: 4.625px; }
.benefit-column__title { font-size: 24px; font-weight: 600; line-height: 32px; }
.benefit-column__image, .benefit-card { width: 370px; border-radius: var(--radius-card); }
.benefit-column__image { height: 320px; object-fit: cover; }
.benefit-card { position: relative; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden; padding: 20px; }
.benefit-card--ages { background: var(--color-footer); }
.benefit-card--location { background: #f4d2ab; }
.benefit-card__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.benefit-card__decor { position: absolute; display: flex; align-items: center; justify-content: center; }
.benefit-card__decor--ages { top: -80px; left: 80px; width: 407.578px; height: 326.599px; }
.benefit-card__decor-image--ages { width: 394.823px; height: 251.41px; max-width: none; transform: rotate(21.47deg); }
.benefit-card__decor--location { top: -33px; left: -33px; width: 435.5px; height: 263.396px; }
.benefit-card__decor-image--location { width: 297.455px; height: 472.01px; max-width: none; transform: rotate(89.21deg); }

.faq { min-height: 542px; margin-top: 100px; }
.faq__body { display: grid; grid-template-columns: 1020px 500px; gap: 20px; margin-top: 40px; }
.faq__list { min-height: 444px; }
.faq-item { margin-bottom: 10px; overflow: hidden; border-radius: var(--radius-card); background: var(--color-surface); }
.faq-item:last-child { margin-bottom: 0; }
.faq-item__heading { margin: 0; }
.faq-item__button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 20px; border: 0; color: inherit; background: transparent; font-size: 20px; font-weight: 600; line-height: 28px; text-align: left; cursor: pointer; }
.faq-item__symbol { width: 24px; height: 24px; font-size: 22px; font-weight: 400; line-height: 22px; text-align: center; }
.faq-item__answer { padding: 0 20px 9.625px; }
.faq-item--open { min-height: 96px; }
.faq-item--open .faq-item__answer { min-height: 48px; }
.faq__image { width: 500px; height: 386px; border-radius: var(--radius-card); object-fit: cover; }

.seo-copy { min-height: 208px; margin-top: 100px; }
.seo-copy__content { display: flex; flex-direction: column; gap: 10px; width: 1150px; margin-top: 20px; font-size: 18px; }

.trial { display: grid; grid-template-columns: 760px 760px; gap: 20px; min-height: 478px; margin-top: 100px; }
.trial__image { width: 760px; height: 478px; border-radius: var(--radius-large); object-fit: cover; }
.trial__panel { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 760px; min-height: 478px; padding: 40px 40px 39.4px; border-radius: var(--radius-large); background: var(--color-surface); }
.trial__heading { display: flex; flex-direction: column; gap: 5px; }
.trial__title { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.trial-form { display: flex; flex-direction: column; gap: 10px; width: 680px; }
.trial-form__field { display: block; height: 39px; }
.trial-form__field--message { height: 94px; }
.trial-form__input { width: 100%; height: 39px; padding: 10px 20px; border: 0; border-radius: var(--radius-card); color: var(--color-ink); background: var(--color-card); outline: none; }
.trial-form__input::placeholder { color: var(--color-muted); opacity: 1; }
.trial-form__textarea {
  width: 100%;
  max-width: 100%;
  height: 94px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
  resize: none;
}
.trial-form__consent { display: flex; align-items: center; gap: 5px; color: var(--color-muted); font-size: 12px; }
.trial-form__consent-link { text-decoration: underline; }
.trial-form__checkbox { width: 24px; height: 24px; margin: 0; flex: 0 0 24px; appearance: none; border: 1px solid var(--color-accent); border-radius: 50%; background: transparent; }
.trial-form__checkbox:checked { box-shadow: inset 0 0 0 6px var(--color-surface); background: var(--color-accent); }
.trial-form__submit { width: 100%; }
.trial-form__status { min-height: 0; font-size: 12px; color: var(--color-accent); }
.trial__panel > .wpcf7 { width: 680px; }
.application-modal__content > .wpcf7 { width: 100%; }
.trial-form__field > .wpcf7-form-control-wrap,
.application-modal__field > .wpcf7-form-control-wrap { display: block; width: 100%; height: 100%; }
.trial-form__consent > .wpcf7-form-control-wrap,
.application-modal__consent > .wpcf7-form-control-wrap { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
.trial-form__consent .wpcf7-acceptance,
.trial-form__consent .wpcf7-list-item,
.application-modal__consent .wpcf7-acceptance,
.application-modal__consent .wpcf7-list-item { display: block; width: 24px; height: 24px; margin: 0; }
.trial-form .wpcf7-spinner,
.application-modal__form .wpcf7-spinner,
.trial-form .wpcf7-response-output,
.application-modal__form .wpcf7-response-output,
.trial-form .wpcf7-not-valid-tip,
.application-modal__form .wpcf7-not-valid-tip { display: none; }
.trial-form .wpcf7-not-valid,
.application-modal__form .wpcf7-not-valid { outline: 1px solid var(--color-accent); }
@media (max-width: 1280px) {
  .trial__panel > .wpcf7 { width: 100%; }
}

.site-footer { display: flex; flex-direction: column; gap: 40px; min-height: 369px; margin-top: 40px; padding: 20px 40px 18px; border-radius: 60px 60px 0 0; background: var(--color-footer); font-size: 16px; }
.site-footer__main { display: flex; justify-content: space-between; }
.site-footer__brand { display: flex; flex-direction: column; justify-content: space-between; width: 370px; min-height: 270px; }
.site-footer__intro { display: flex; flex-direction: column; gap: 20px; width: 370px; }
.site-footer__logo { width: 370px; height: 113px; object-fit: contain; }
.site-footer__socials { display: flex; gap: 20px; }
.site-footer__social { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; }
.site-footer__social-icon { display: block; object-fit: contain; }
.site-footer__social-icon--vk, .site-footer__social-icon--telegram { width: 48px; height: 48px; }
.site-footer__social--pinterest, .site-footer__social--youtube { border: 1px solid var(--color-accent); }
.site-footer__social-icon--pinterest { width: 16px; height: 16px; }
.site-footer__social-icon--youtube { width: 23px; height: 16px; }
.site-footer__columns { display: flex; justify-content: space-between; width: 978px; }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 240px; }
.site-footer__menu { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__heading { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
.site-footer__column--contacts > .site-footer__heading:first-child { margin-bottom: 0; }
.site-footer__heading--addresses { margin-top: 10px; margin-bottom: 0; }
.site-footer__contact, .site-footer__address { position: relative; padding-left: 34px; }
.site-footer__contact { display: flex; align-items: center; min-height: 24px; }
.site-footer__contact::before, .site-footer__address::before { position: absolute; top: 0; left: 0; width: 24px; height: 24px; content: ""; background: center / contain no-repeat; }
.site-footer__contact--phone::before {
  background-image: url("assets/images/icon-phone.svg");
  background-size: 18px 18px;
}
.site-footer__contact--mail::before {
  background: url("assets/images/icon-mail-1.svg") center / 24px 24px no-repeat;
}
.site-footer__address::before {
  background-color: var(--color-gold);
  -webkit-mask: url("assets/images/icon-pin.svg") center / contain no-repeat;
  mask: url("assets/images/icon-pin.svg") center / contain no-repeat;
}
.site-footer__address { display: flex; flex-direction: column; gap: 2px; }
.site-footer__address-title { font-size: 18px; font-weight: 400; }
.site-footer__address-line { font-size: 12px; }
.site-footer__bottom { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 19px; color: var(--color-muted); font-size: 16px; }
.site-footer__developer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.site-footer__developer-logo { width: 39px; height: 16px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1500px) {
  body { font-size: 14px; }
  .site-footer { font-size: 16px; }
  .site-header__logo-link { width: 190px; }
  .site-header__nav { gap: 12px; font-size: 14px; }
  .site-header__menu { gap: 12px; }
  .site-header__phone-number { display: none; }
}

@media (min-width: 1281px) and (max-width: 1600px) {
  .site-footer__main { justify-content: flex-start; gap: 40px; }
  .site-footer__brand { width: clamp(320px, calc(100vw - 1120px), 370px); }
  .site-footer__intro { width: 100%; }
  .site-footer__logo { width: 100%; height: auto; aspect-ratio: 370 / 113; }
  .site-footer__columns { flex: 1 1 auto; width: auto; min-width: 720px; }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .site-footer { height: auto; }
  .site-footer__main { flex-direction: column; gap: 40px; }
  .site-footer__brand { width: 100%; }
  .site-footer__columns { width: 100%; }
}

@media (max-width: 1280px) {
  .page-shell { width: min(100% - 32px, 620px); }
  .slider-shell { width: min(100% - 32px, 620px); }
  .slider-shell__inner { width: 100%; }
  .section-title { height: auto; font-size: clamp(34px, 10vw, 48px); line-height: 1.1; }
  .site-header { height: auto; min-height: 0; }
  .site-header__notice { height: auto; min-height: 0; padding: 12px 16px; font-size: 12px; text-align: center; }
  .site-header__nav-row { height: 66px; min-height: 0; margin-top: 8px; }
  .site-header__logo { width: 145px; height: auto; }
  .site-header__nav, .site-header__phone { display: none; }
  .site-header__menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    background: var(--color-page);
    cursor: pointer;
    place-items: center;
  }
  .site-header__menu-toggle:focus-visible { outline: 3px solid #d98b8b; outline-offset: 3px; }
  .site-header__nav {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: var(--radius-card);
    background: var(--color-page);
    box-shadow: 0 12px 32px rgba(19, 13, 5, .14);
  }
  .site-header__nav--open { display: flex; }
  .site-header__nav-link { padding: 10px 8px; }
  .site-header__menu { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header__menu .sub-menu { display: none; }
  .button--header { padding-inline: 24px; }
  .benefits, .faq, .seo-copy, .trial, .site-footer { height: auto; min-height: 0; margin-top: 64px; }
  .seo-copy__content { width: 100%; }
  .benefits__grid, .trial { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .benefits__grid { height: auto; min-height: 0; margin-top: 28px; }
  .benefit-column { width: 100%; height: auto; min-height: 0; }
  .benefit-column__image, .benefit-card { width: 100%; }
  .faq__body { grid-template-columns: 1fr; }
  .faq__list { height: auto; min-height: 0; }
  .faq__image { width: 100%; height: auto; aspect-ratio: 1.3; }
  .trial__image, .trial__panel { width: 100%; height: auto; min-height: 0; }
  .trial__image { aspect-ratio: 1.5; }
  .trial__panel { padding: 28px 20px; }
  .trial-form { width: 100%; }
  .site-footer { padding: 36px 24px 24px; border-radius: 40px 40px 0 0; }
  .site-footer__main, .site-footer__columns { flex-direction: column; width: 100%; gap: 36px; }
  .site-footer__columns { min-width: 0; }
  .site-footer__brand { width: 100%; height: auto; min-height: 0; gap: 20px; }
  .site-footer__intro { width: 100%; }
  .site-footer__logo { width: min(100%, 370px); height: auto; }
  .site-footer__bottom { flex-basis: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; height: auto; margin-top: 0; }
  .site-footer__developer { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition-duration: .01ms; }
}

/* Service page */
.service-hero {
  display: grid;
  grid-template-columns: 890px 630px;
  gap: 20px;
  margin-top: 20px;
}

.service-hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 40px 40px;
  border-radius: var(--radius-large);
  background: var(--color-footer);
}

.service-hero__breadcrumb {
  width: 100%;
  margin-bottom: 20px;
  color: var(--color-gold);
  font-size: 14px;
}

.service-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.service-hero__title {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.service-hero__lead { font-size: 18px; }
.service-hero__media { position: relative; overflow: hidden; border-radius: var(--radius-large); }
.service-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.service-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  font-size: 14px;
}

.service-facts__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; min-height: 17px; }
.service-facts__term { position: relative; padding-left: 21px; color: var(--color-muted); }
.service-facts__term::before { position: absolute; top: .5px; left: 0; width: 16px; height: 16px; content: ""; background-color: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.service-facts__term--users::before { -webkit-mask-image: url("assets/images/icon-users.svg"); mask-image: url("assets/images/icon-users.svg"); }
.service-facts__term--place::before { -webkit-mask-image: url("assets/images/icon-pin.svg"); mask-image: url("assets/images/icon-pin.svg"); }
.service-facts__term--calendar::before { -webkit-mask-image: url("assets/images/service/icon-calendar.svg"); mask-image: url("assets/images/service/icon-calendar.svg"); }
.service-facts__term--teacher::before { -webkit-mask-image: url("assets/images/service/icon-teacher.svg"); mask-image: url("assets/images/service/icon-teacher.svg"); }
.service-facts__value { margin: 0; }

.service-prices { display: flex; flex-direction: column; gap: 10px; width: min(100%, 500px); margin: 0; padding: 0; font-size: 14px; list-style: none; }
.service-prices__item { position: relative; min-height: 17px; padding-left: 26px; }
.service-prices__item::before { position: absolute; top: .5px; left: 0; width: 16px; height: 16px; content: ""; background-color: var(--color-muted); -webkit-mask: url("assets/images/icon-verify.svg") center / contain no-repeat; mask: url("assets/images/icon-verify.svg") center / contain no-repeat; }
.service-hero__actions { display: flex; max-width: 100%; flex-wrap: wrap; gap: 10px; }
.service-hero__button { max-width: 100%; white-space: normal; text-align: center; }
.service-hero__schedule { padding: 14px 60px; color: var(--color-ink); background: #f4d2ab; }

.audience {
  display: grid;
  grid-template-columns: 760px 760px;
  gap: 20px;
  min-height: 432px;
  margin-top: 40px;
}

.audience__intro { display: flex; align-items: center; justify-content: center; min-height: 432px; padding: 20px; border-radius: var(--radius-card); background: linear-gradient(148.6387deg, #dbb07d 30.65%, #f4d2ad 69.35%); }
.audience__copy { display: flex; flex-direction: column; gap: 20px; width: 632px; text-align: center; }
.audience__intro-title { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.audience__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(206px, auto)); gap: 20px; }

.info-card { display: flex; height: auto; flex-direction: column; align-items: flex-start; border-radius: var(--radius-card); background: var(--color-surface); }
.info-card--audience { justify-content: space-between; width: 370px; min-height: 206px; padding: 20px; }
.info-card__icon { width: 24px; height: 24px; flex: 0 0 auto; object-fit: contain; }
.info-card__icon--large { width: 30px; height: 30px; }
.info-card__copy { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.info-card__copy--outcome { gap: 10px; }
.info-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.outcomes { min-height: 687px; margin-top: 100px; }
.outcomes__body { display: grid; grid-template-columns: 760px 760px; gap: 20px; min-height: 589px; margin-top: 40px; }
.outcomes__visual { display: flex; flex-direction: column; gap: 20px; }
.outcomes__lead { min-height: 44px; font-size: 18px; }
.outcomes__image { width: 760px; height: 525px; border-radius: var(--radius-card); object-fit: cover; }
.outcomes__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(3, minmax(183px, auto)); gap: 20px; }
.info-card--outcome { justify-content: flex-start; gap: 20px; width: 370px; min-height: 183px; padding: 20px; background: rgba(244, 210, 171, .2); backdrop-filter: blur(5px); }

.lesson-flow { min-height: 301px; margin-top: 100px; padding: 20px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-surface); }
.lesson-flow__intro { display: flex; flex-direction: column; gap: 9.625px; width: 1130px; min-height: 106px; }
.lesson-flow__grid { display: grid; grid-template-columns: repeat(4, 360px); gap: 20px; min-height: 135px; margin-top: 20px; }
.lesson-card { min-height: 135px; padding: 20px 20px 19.4px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); }
.lesson-card__title { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }

.program { min-height: 486px; margin-top: 100px; padding: 40px; border-radius: var(--radius-large); background: var(--color-footer); }
.program__body { display: grid; grid-template-columns: 506px 854px; gap: 100px; min-height: 406px; }
.program__image { width: 506px; height: 402px; border-radius: var(--radius-card); object-fit: cover; }
.program__content { min-height: 406px; }
.program__intro { display: flex; flex-direction: column; gap: 10px; min-height: 76px; margin-top: 20px; font-size: 18px; }
.program__intro-label { font-weight: 400; }
.program__list { display: grid; grid-template-columns: repeat(3, 271px); grid-auto-rows: minmax(64px, auto); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.program__item { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); font-size: 18px; text-align: center; }
.program__item--wide { grid-column: span 2; }

.levels { min-height: 432px; margin-top: 100px; }
.levels__intro { display: flex; flex-direction: column; gap: 9.625px; width: 1150px; min-height: 106px; }
.levels__grid { display: grid; grid-template-columns: repeat(4, 370px); gap: 20px; min-height: 286px; margin-top: 40px; }
.level-card { position: relative; display: flex; align-items: flex-end; width: 370px; min-height: 286px; padding: 20px; overflow: hidden; border-radius: var(--radius-card); }
.level-card--light { background: var(--color-footer); }
.level-card--dark { background: #f4d2ab; }
.level-card__line { position: absolute; top: -48px; width: 473px; height: 1612px; max-width: none; transform: rotate(90deg); transform-origin: top left; }
.level-card__line--one { left: 1572px; }
.level-card__line--two { left: 1182px; }
.level-card__line--three { left: 792px; }
.level-card__line--four { left: 402px; }
.level-card__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; width: 330px; }
.level-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.teachers { --teacher-carousel-navigation-y: 336px; position: relative; min-height: 573px; margin-top: 100px; }
.teachers__heading, .halls__heading { display: flex; align-items: flex-end; justify-content: space-between; min-height: 58px; }
.teachers__viewport { width: 100%; min-height: 475px; margin-top: 40px; overflow: hidden; scroll-behavior: smooth; }
.teachers__track { width: max-content; min-height: 475px; align-items: stretch; }
.teachers__viewport .swiper-wrapper,
.teachers__viewport .swiper-slide { height: auto; }
.teacher-card { position: relative; display: flex; flex-direction: column; gap: 5px; width: 370px; min-height: 475px; flex: 0 0 370px; }
.teacher-card__image { width: 370px; height: 400px; border-radius: var(--radius-card); object-fit: cover; }
.teacher-card__copy { display: flex; height: auto; min-height: 70px; flex-direction: column; gap: 5px; padding: 10px; border-radius: var(--radius-card); background: var(--color-footer); }
.teacher-card__name { font-size: 20px; font-weight: 600; line-height: 28px; }
.teacher-card__role { font-size: 14px; }
.teacher-card__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 39px;
    padding: 9px 20px;
    border: 1px solid #000;
    border-radius: 60px;
    color: #000;
    background: transparent;
    cursor: pointer;
}
.teacher-card__trigger:empty::before { content: "Подробнее"; }
.teacher-card__trigger:focus-visible { outline: 3px solid #d98b8b; outline-offset: 2px; }

/* Teachers page */
.teachers-hero { min-height: 243px; margin-top: 10px; }
.teachers-hero__breadcrumb { width: 715px; min-height: 17px; font-size: 14px; line-height: 17px; }
.teachers-hero__copy { display: flex; flex-direction: column; gap: 9.95px; width: 1150px; min-height: 186px; margin-top: 40px; }
.teachers-hero__title { width: 715px; font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 1.12; }
.teachers-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }

.teacher-trust { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 380px; margin-top: 100px; }
.teacher-trust__intro { display: flex; align-items: center; justify-content: center; width: 760px; min-height: 380px; padding: 20px; border-radius: var(--radius-card); background: #faebd7; }
.teacher-trust__copy { display: flex; flex-direction: column; gap: 20px; width: 632px; text-align: center; }
.teacher-trust__title { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.teacher-trust__text { display: flex; flex-direction: column; gap: 5px; }
.teacher-trust__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(180px, auto)); gap: 20px; }
.teacher-trust-card { display: flex; width: 370px; height: auto; min-height: 180px; flex-direction: column; justify-content: space-between; padding: 20px; border-radius: var(--radius-card); background: var(--color-surface); }
.teacher-trust-card__icon { width: 30px; height: 30px; object-fit: contain; }
.teacher-trust-card__copy { display: flex; flex-direction: column; gap: 5px; }
.teacher-trust-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.teacher-directory { margin-top: 100px; }
.teacher-directory__grid { display: grid; grid-template-columns: repeat(4, 370px); gap: 20px; margin-top: 40px; }
.teacher-card--directory { min-height: 497px; }
.teacher-card--directory .teacher-card__copy { min-height: 92px; }
.teacher-card__experience { font-size: 14px; line-height: 1.2; }

.teaching-approach { display: grid; grid-template-columns: repeat(2, 740px); gap: 20px; min-height: 330px; margin-top: 100px; padding: 20px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-surface); }
.teaching-approach__intro { display: flex; flex-direction: column; gap: 10px; width: 740px; }
.teaching-approach__text { display: flex; flex-direction: column; gap: 5px; }
.teaching-approach__grid { display: grid; grid-template-columns: repeat(2, 360px); grid-template-rows: repeat(2, minmax(135px, auto)); gap: 20px; width: 740px; min-height: 290px; }
.teaching-approach-card { width: 360px; min-height: 135px; padding: 20px 20px 19.4px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); backdrop-filter: blur(5px); }
.teaching-approach-card__title { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }

.age-approach { min-height: 533px; margin-top: 100px; }
.age-approach--school { min-height: 633px; }
.age-approach__title { text-align: center; }
.age-approach__groups { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 435px; margin-top: 40px; }
.age-approach__groups--school { min-height: 535px; }
.age-group { display: flex; flex-direction: column; gap: 20px; width: 760px; min-height: 435px; padding: 20px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-surface); }
.age-group--school { min-height: 535px; }
.age-group__intro { display: flex; flex-direction: column; gap: 9.25px; width: 720px; min-height: 123px; }
.age-group__title { font-size: 24px; font-weight: 600; line-height: 32px; }
.age-group__copy { display: flex; flex-direction: column; gap: 5px; }
.age-group__grid { display: grid; grid-template-columns: repeat(2, 350px); grid-template-rows: repeat(2, minmax(116px, auto)); gap: 20px; width: 720px; min-height: 252px; }
.age-group__grid--school { grid-template-rows: repeat(2, minmax(166px, auto)); min-height: 352px; }
.age-card { display: flex; flex-direction: column; width: 350px; min-height: 116px; padding: 20px 20px 19.6px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); backdrop-filter: blur(5px); }
.age-card--school { min-height: 166px; }
.age-card__copy { display: flex; flex-direction: column; gap: 10px; }
.age-card__title { font-size: 20px; font-weight: 600; line-height: 28px; }

.applicant-training { display: grid; grid-template-columns: 506px 854px; gap: 100px; min-height: 482px; margin-top: 100px; padding: 40px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-footer); }
.applicant-training__image { width: 506px; height: 402px; border-radius: var(--radius-large); object-fit: cover; }
.applicant-training__content { display: flex; flex-direction: column; gap: 20px; width: 854px; min-height: 402px; }
.applicant-training__intro { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.applicant-training__list { display: grid; grid-template-columns: repeat(3, 271px); grid-template-rows: repeat(2, minmax(64px, auto)); gap: 20px; width: 854px; min-height: 148px; margin: 0; padding: 0; list-style: none; }
.applicant-training__item { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: var(--radius-card); background: rgba(244, 210, 171, .2); font-size: 18px; text-align: center; backdrop-filter: blur(5px); }
.benefits--teachers { margin-top: 100px; }
.teachers-page--college .teachers-page__trial,
.teachers-page--college .teachers-page__footer { position: relative; left: 20px; }

/* Awards page */
.awards-hero { min-height: 315px; margin-top: 10px; }
.awards-hero__breadcrumb { width: 715px; min-height: 17px; color: var(--color-muted); font-size: 14px; line-height: 17px; }
.awards-hero__copy { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 258px; margin-top: 40px; }
.awards-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 1.12; }
.awards-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }

.awards-summary { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 380px; margin-top: 100px; }
.awards-summary__intro { display: flex; align-items: center; justify-content: center; width: 760px; min-height: 380px; padding: 20px; border-radius: var(--radius-card); background: linear-gradient(151.804deg, #dbb07d 30.65%, #f4d2ad 69.35%); }
.awards-summary__copy { display: flex; flex-direction: column; gap: 20px; width: 632px; text-align: center; }
.awards-summary__title { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.awards-summary__text { display: flex; flex-direction: column; gap: 10px; }
.awards-summary__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(180px, auto)); gap: 20px; }
.achievement-card { display: flex; width: 370px; height: auto; min-height: 180px; flex-direction: column; justify-content: space-between; padding: 20px; border-radius: var(--radius-card); background: var(--color-surface); }
.achievement-card__icon { width: 30px; height: 30px; object-fit: contain; }
.achievement-card__copy { display: flex; flex-direction: column; gap: 5px; }
.achievement-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.awards-gallery { display: grid; grid-template-columns: repeat(4, 370px); grid-template-rows: repeat(4, 493px); gap: 20px; height: 2032px; margin-top: 100px; }
.awards-gallery__image { width: 370px; height: 493px; border-radius: var(--radius-card); object-fit: cover; }

@media (max-width: 1280px) {
  .awards-hero, .awards-summary, .awards-gallery { height: auto; min-height: 0; }
  .awards-hero__breadcrumb, .awards-hero__copy { width: 100%; height: auto; min-height: 0; }
  .awards-hero__title { font-size: clamp(42px, 12vw, 64px); }
  .awards-summary { grid-template-columns: 1fr; }
  .awards-summary__intro, .awards-summary__copy, .awards-summary__grid { width: 100%; height: auto; min-height: 0; }
  .awards-summary__intro { min-height: 380px; }
  .awards-summary__grid, .awards-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .achievement-card, .awards-gallery__image { width: 100%; }
  .awards-gallery__image { height: auto; aspect-ratio: 370 / 493; }
}

@media (max-width: 1280px) {
  .teachers-hero, .teacher-trust, .teacher-directory, .teaching-approach, .age-approach, .applicant-training { height: auto; min-height: 0; }
  .teachers-hero__breadcrumb, .teachers-hero__copy, .teachers-hero__title { width: 100%; height: auto; min-height: 0; }
  .teachers-hero__title { font-size: clamp(42px, 12vw, 64px); }
  .teacher-trust, .teaching-approach, .age-approach__groups, .applicant-training { grid-template-columns: 1fr; }
  .teacher-trust__intro, .teacher-trust__copy, .teacher-trust__grid, .teaching-approach__intro, .teaching-approach__grid, .age-group, .age-group__intro, .age-group__grid, .applicant-training__image, .applicant-training__content, .applicant-training__list { width: 100%; height: auto; min-width: 0; min-height: 0; }
  .teacher-trust__intro { min-height: 380px; }
  .teacher-trust__grid, .teacher-directory__grid, .teaching-approach__grid, .age-group__grid, .applicant-training__list { grid-template-columns: 1fr; grid-template-rows: none; }
  .teacher-trust-card, .teacher-card--directory, .teaching-approach-card, .age-card { width: 100%; }
  .teacher-directory { margin-top: 64px; }
  .teacher-directory__grid { height: auto; min-height: 0; margin-top: 28px; }
  .teacher-card--directory { height: auto; min-height: 0; }
  .teacher-card--directory .teacher-card__image { width: 100%; height: auto; aspect-ratio: 37 / 40; }
  .teacher-card--directory .teacher-card__copy { width: 100%; height: auto; }
  .applicant-training { gap: 28px; padding: 28px 20px; }
  .applicant-training__image { aspect-ratio: 506 / 402; }
  .teachers-page--college .teachers-page__trial,
  .teachers-page--college .teachers-page__footer { left: 0; }
}

.is-dialog-open { overflow: hidden; }

.application-modal {
  width: 845px;
  height: 515px;
  max-width: none;
  max-height: none;
  padding: 60px;
  overflow: visible;
  border: 0;
  border-radius: var(--radius-large);
  color: var(--color-black);
  background: #fefcf9;
}
.application-modal[open] { display: block; }
.application-modal::backdrop { background: rgba(19, 13, 5, .35); }
.application-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.application-modal__close:focus-visible { outline: 3px solid #d98b8b; outline-offset: 2px; }
.application-modal__close-icon { position: relative; display: block; width: 24px; height: 24px; }
.application-modal__close-line { position: absolute; top: 50%; left: 50%; max-width: none; transform: translate(-50%, -50%) rotate(-45deg); }
.application-modal__close-line--horizontal { width: 15.5px; height: 1.5px; }
.application-modal__close-line--vertical { width: 1.5px; height: 15.5px; }
.application-modal__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 725px;
  height: 395px;
  overflow: visible;
  border-radius: var(--radius-card);
  backdrop-filter: blur(5px);
}
.application-modal__heading { display: flex; flex-direction: column; gap: 5px; width: 725px; height: 82px; text-align: center; }
.application-modal__title { font-family: "Playfair Display", serif; font-size: 48px; font-weight: 600; line-height: 58px; }
.application-modal__subtitle { height: 19px; color: var(--color-muted); }
.application-modal__form { display: flex; flex-direction: column; gap: 20px; width: 725px; height: 293px; }
.application-modal__fields { display: flex; flex-direction: column; gap: 10px; width: 725px; height: 192px; }
.application-modal__field { display: block; width: 725px; height: 39px; }
.application-modal__field[hidden] { display: none; }
.application-modal__field-pair { display: flex; gap: 10px; width: 725px; height: 39px; }
.application-modal__field-pair[hidden] { display: none; }
.application-modal__field-pair .application-modal__field { width: 357.5px; }
.application-modal__field--message { height: 94px; }
.application-modal__field--select { position: relative; }
.application-modal__field--select::after {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 5.833px;
  height: 10.167px;
  content: "";
  background: url("assets/images/application-modal-select-arrow.svg") center / 100% 100% no-repeat;
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg);
}
.application-modal__input {
  width: 100%;
  height: 39px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-card);
  color: var(--color-ink);
  background: var(--color-card);
  outline: none;
}
.application-modal__input::placeholder { color: var(--color-muted); opacity: 1; }
.application-modal__textarea {
  width: 100%;
  max-width: 100%;
  height: 94px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
  resize: none;
}
.application-modal__select { appearance: none; color: var(--color-muted); font: inherit; cursor: pointer; }
.application-modal__actions { position: relative; display: flex; flex-direction: column; gap: 10px; width: 725px; height: 81px; }
.application-modal__consent { display: flex; align-items: center; gap: 5px; width: 725px; height: 24px; color: var(--color-muted); font-size: 12px; }
.application-modal__consent-link { text-decoration: underline; }
.application-modal__checkbox {
  width: 24px;
  height: 24px;
  margin: 0;
  flex: 0 0 24px;
  appearance: none;
  border: 0;
  background: url("assets/images/application-modal-check.svg") center / 19.5px 19.5px no-repeat;
}
.application-modal__checkbox:checked { border-radius: 50%; box-shadow: inset 0 0 0 6px #fefcf9; background: var(--color-accent); }
.application-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 725px;
  height: 47px;
  padding: 14px 60px;
  border: 0;
  border-radius: 60px;
  color: #fefcf9;
  background: var(--color-accent);
  cursor: pointer;
}
.application-modal__status { position: absolute; top: calc(100% + 4px); left: 0; margin: 0; color: var(--color-accent); font-size: 12px; }
.application-modal--trial { height: 720px; }
.application-modal--trial .application-modal__content { height: 600px; }
.application-modal--trial .application-modal__heading { height: 140px; }
.application-modal--trial .application-modal__form { height: 440px; }
.application-modal--trial .application-modal__fields { height: 339px; }
.application-modal--applicant { height: 681px; }
.application-modal--applicant .application-modal__content { height: 561px; }
.application-modal--applicant .application-modal__heading { height: 101px; }
.application-modal--applicant .application-modal__form { height: 440px; }
.application-modal--applicant .application-modal__fields { height: 339px; }
.application-modal--question { height: 564px; }
.application-modal--question .application-modal__content { height: 444px; }
.application-modal--question .application-modal__form { height: 342px; }
.application-modal--question .application-modal__fields { height: 241px; }
.application-modal--franchise { height: 690px; }
.application-modal--franchise .application-modal__content { height: 570px; }
.application-modal--franchise .application-modal__heading { height: 159px; }
.application-modal--franchise .application-modal__form { height: 391px; }
.application-modal--franchise .application-modal__fields { height: 290px; }

@media (max-width: 1280px) {
  .application-modal {
    width: calc(100% - 32px);
    height: auto;
    max-height: calc(100dvh - 24px);
    padding: 56px 20px 24px;
    overflow: auto;
    border-radius: 28px;
  }
  .application-modal__close { top: 16px; right: 16px; }
  .application-modal__content,
  .application-modal__heading,
  .application-modal__form,
  .application-modal__fields,
  .application-modal__field,
  .application-modal__field-pair,
  .application-modal__actions,
  .application-modal__consent,
  .application-modal__submit { width: 100%; height: auto; }
  .application-modal--trial .application-modal__content,
  .application-modal--trial .application-modal__heading,
  .application-modal--trial .application-modal__form,
  .application-modal--trial .application-modal__fields { height: auto; }
  .application-modal--applicant .application-modal__content,
  .application-modal--applicant .application-modal__heading,
  .application-modal--applicant .application-modal__form,
  .application-modal--applicant .application-modal__fields { height: auto; }
  .application-modal--question .application-modal__content,
  .application-modal--question .application-modal__form,
  .application-modal--question .application-modal__fields { height: auto; }
  .application-modal--franchise .application-modal__content,
  .application-modal--franchise .application-modal__heading,
  .application-modal--franchise .application-modal__form,
  .application-modal--franchise .application-modal__fields { height: auto; }
  .application-modal__content { overflow: visible; }
  .application-modal__title { font-size: 36px; line-height: 44px; }
  .application-modal--trial { height: auto; }
  .application-modal--applicant { height: auto; }
  .application-modal--question { height: auto; }
  .application-modal--franchise { height: auto; }
  .application-modal__field-pair .application-modal__field { width: 50%; }
  .application-modal__field { min-height: 39px; }
  .application-modal__field--message { min-height: 94px; }
  .application-modal__consent { align-items: flex-start; }
  .application-modal__status { position: static; min-height: 14px; }
}

.teacher-modal {
  position: fixed;
  top: calc(50% - .5px);
  left: 50%;
  align-items: flex-start;
  gap: 20px;
  width: min(1020px, calc(100% - 32px));
  height: min(806px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 60px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-large);
  color: var(--color-ink);
  background: #fefcf9;
  transform: translate(-50%, -50%);
}

.teacher-modal[open] { display: flex; }
.teacher-modal::backdrop { background: rgba(19, 13, 5, .2); }
.teacher-modal__close { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; width: 24px; height: 24px; padding: 0; border: 0; color: var(--color-muted); background: transparent; font-size: 24px; font-weight: 400; line-height: 20px; cursor: pointer; place-items: center; }
.teacher-modal__close:hover { color: var(--color-accent); }
.teacher-modal__close:focus-visible { outline: 3px solid #d98b8b; outline-offset: 2px; }
.teacher-modal__body { display: flex; align-items: flex-start; gap: 20px; width: 890px; height: 686px; }
.teacher-modal__summary { display: flex; flex-direction: column; gap: 10px; width: 370px; }
.teacher-modal__image { width: 370px; height: 410px; border-radius: var(--radius-card); object-fit: cover; }
.teacher-modal__identity { display: flex; flex-direction: column; gap: 10px; }
.teacher-modal__name { font-size: 24px; font-weight: 600; line-height: 32px; }
.teacher-modal__role { font-size: 14px; line-height: 1.2; }
.teacher-modal__details { display: flex; flex-direction: column; gap: 40px; width: 500px; height: min(686px, calc(100dvh - 160px)); overflow: auto; scrollbar-width: none; }
.teacher-modal__details::-webkit-scrollbar { display: none; }
.teacher-modal__details:focus-visible { outline: 3px solid #d98b8b; outline-offset: 3px; }
.teacher-modal__section { display: flex; flex: 0 0 auto; flex-direction: column; gap: 20px; }
.teacher-modal__heading { font-size: 20px; font-weight: 600; line-height: 28px; }
.teacher-modal__text { display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.2; }
.teacher-modal__list { margin: 0; padding: 0; list-style: none; }
.teacher-modal__list-item::before { content: "- "; }
.teacher-modal__scrollbar { position: absolute; top: 60px; right: 20px; width: 4px; height: min(686px, calc(100dvh - 160px)); overflow: hidden; border-radius: 10px; background: var(--color-surface); }
.teacher-modal__scrollbar-thumb { display: block; width: 4px; height: 31.63%; border-radius: 10px; background: var(--color-footer); will-change: transform; }
.carousel__button { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--color-footer); cursor: pointer; transition: opacity 160ms ease; }
.carousel__button-icon { width: 10px; height: 18px; }
.carousel__button:disabled { cursor: default; opacity: .35; }
.carousel__viewport:not(.swiper-initialized) { overflow-x: auto; scrollbar-width: none; }
.carousel__viewport:not(.swiper-initialized) .carousel__track { gap: 20px; }
.teachers__arrow,
.about-team__arrow {
  top: var(--teacher-carousel-navigation-y);
  transform: translateY(-50%);
}
.teachers__arrow--previous { left: 0; }
.teachers__arrow--next { right: 0; }

.halls { min-height: 580px; margin-top: 100px; }
.halls__grid { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 482px; margin-top: 40px; }
.hall-card { display: flex; flex-direction: column; gap: 10px; min-height: 482px; }
.hall-card__image { width: 760px; height: 416px; border-radius: var(--radius-card); object-fit: cover; }
.hall-card__copy { display: flex; flex-direction: column; gap: 4.8px; }
.hall-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.service-gallery { position: relative; min-height: 406px; margin-top: 100px; }
.service-gallery__intro { display: flex; flex-direction: column; gap: 9.625px; width: 1150px; min-height: 106px; }
.service-gallery__slider { position: relative; width: 100%; height: 260px; margin-top: 40px; }
.service-gallery__viewport { width: 100%; height: 260px; margin-top: 0; overflow: hidden; scroll-behavior: smooth; }
.service-gallery__track { width: max-content; }
.service-gallery__image { width: 500px; height: 260px; flex: 0 0 500px; border-radius: var(--radius-card); cursor: zoom-in; object-fit: cover; }
.service-gallery__arrow { top: 50%; transform: translateY(-50%); }
.service-gallery__arrow--previous { left: 0; }
.service-gallery__arrow--next { right: 0; }
.benefit-card--service .benefit-card__decor--ages { top: -70px; left: 86px; }

@media (max-width: 1280px) {
  .service-hero, .audience, .outcomes__body, .program__body { grid-template-columns: 1fr; }
  .service-hero, .audience, .outcomes, .lesson-flow, .program, .levels, .teachers, .halls, .service-gallery { height: auto; min-height: 0; }
  .service-hero__panel, .service-hero__media, .audience__intro { width: 100%; height: auto; min-height: 0; }
  .service-hero__panel { padding: 20px 24px 28px; }
  .service-hero__breadcrumb { margin-bottom: 7px; }
  .service-hero__heading, .service-facts { width: 100%; }
  .service-hero__title { font-size: clamp(42px, 12vw, 64px); }
  .service-hero__media { aspect-ratio: 1; }
  .service-facts__row { grid-template-columns: 130px 1fr; height: auto; min-height: 0; }
  .service-prices { width: 100%; }
  .service-hero__actions { flex-direction: column; width: 100%; }
  .service-hero__button { width: 100%; padding-inline: 20px; }
  .audience__intro { min-height: 360px; }
  .audience__copy { width: 100%; }
  .audience__grid, .outcomes__grid, .lesson-flow__grid, .levels__grid, .halls__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; }
  .info-card--audience, .info-card--outcome, .lesson-card, .level-card, .hall-card { width: 100%; }
  .outcomes__body { height: auto; min-height: 0; }
  .outcomes__visual { height: auto; }
  .outcomes__lead { height: auto; min-height: 0; }
  .outcomes__image { width: 100%; height: auto; aspect-ratio: 1.45; }
  .lesson-flow { padding: 24px; }
  .lesson-flow__intro, .levels__intro, .service-gallery__intro { width: 100%; height: auto; min-height: 0; }
  .lesson-flow__grid { margin-top: 24px; }
  .program { padding: 24px; }
  .program__body { height: auto; min-height: 0; }
  .program__image { width: 100%; height: auto; }
  .program__content { height: auto; min-height: 0; }
  .program__intro { height: auto; min-height: 0; }
  .program__list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .program__item { min-height: 64px; }
  .program__item--wide { grid-column: auto; }
  .levels__grid { margin-top: 28px; }
  .teachers__heading, .halls__heading { height: auto; min-height: 0; gap: 16px; align-items: flex-start; }
  .teachers__all-link, .halls__all-link { display: none; }
  .teachers__viewport, .service-gallery__viewport { width: 100%; scrollbar-width: none; }
  .teachers__viewport { height: auto; min-height: 475px; margin-top: 28px; }
  .halls__grid { height: auto; min-height: 0; margin-top: 28px; }
  .hall-card { height: auto; min-height: 0; }
  .hall-card__image { width: 100%; height: auto; }
  .service-gallery__slider { height: 260px; margin-top: 28px; }
  .service-gallery__viewport { height: 260px; margin-top: 0; }
  .teacher-modal {
    flex-direction: column;
    gap: 28px;
    width: min(620px, calc(100% - 32px));
    height: auto;
    max-height: calc(100dvh - 32px);
    padding: 52px 20px 24px;
    overflow-y: auto;
  }
  .teacher-modal__body { flex-direction: column; gap: 28px; width: 100%; height: auto; }
  .teacher-modal__summary, .teacher-modal__details { width: 100%; }
  .teacher-modal__image { width: 100%; height: auto; aspect-ratio: 370 / 410; }
  .teacher-modal__details { height: auto; padding-right: 0; overflow: visible; }
  .teacher-modal__text { font-size: 16px; }
  .teacher-modal__scrollbar { display: none; }
}

/* License and documents page */
.license-intro { position: relative; min-height: 243px; margin-top: 10px; }
.license-intro__breadcrumb { width: 715px; min-height: 17px; color: var(--color-muted); font-size: 14px; line-height: 17px; }
.license-intro__copy { display: flex; flex-direction: column; gap: 10px; width: 1110px; min-height: 186px; margin: 40px 0 -.375px; }
.license-intro__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 72px; }
.license-intro__lead { font-size: 20px; font-weight: 600; line-height: 28px; }

.license-overview { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 380px; margin-top: 100px; }
.license-overview__intro { display: flex; align-items: center; justify-content: center; width: 760px; min-height: 380px; border-radius: var(--radius-card); background: linear-gradient(148.64deg, #dbb07d 30.65%, #f4d2ad 69.35%); }
.license-overview__copy { display: flex; flex-direction: column; gap: 15px; width: 632px; min-height: 228px; margin-top: 1.125px; text-align: center; }
.license-overview__title { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.license-overview__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(180px, auto)); gap: 20px; }
.license-info-card { display: flex; flex-direction: column; justify-content: space-between; width: 370px; min-height: 180px; padding: 20px; border-radius: var(--radius-card); background: var(--color-surface); }
.license-info-card__icon { width: 30px; height: 30px; object-fit: contain; }
.license-info-card__copy { display: flex; flex-direction: column; gap: 5px; }
.license-info-card__title { font-size: 20px; font-weight: 600; line-height: 28px; }

.documents { margin-top: 100px; }
.documents__intro { display: flex; flex-direction: column; gap: 20px; width: 1150px; min-height: 116px; margin-bottom: -.375px; }
.documents__grid { display: grid; grid-template-columns: repeat(3, 500px); gap: 10px 20px; margin-top: 20px; }
.document-card { display: flex; align-items: center; gap: 10px; width: 500px; min-height: 78px; padding: 20px; border-radius: var(--radius-card); background: var(--color-surface); font-size: 18px; }
.document-card__icon { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.document-card__label { min-width: 0; overflow-wrap: anywhere; }

.license-importance { display: grid; grid-template-columns: repeat(2, 740px); gap: 20px; min-height: 330px; margin-top: 100px; padding: 20px; border-radius: var(--radius-large); background: var(--color-surface); }
.license-importance__intro { display: flex; flex-direction: column; gap: 10px; width: 740px; }
.license-importance__grid { display: grid; grid-template-columns: repeat(2, 360px); grid-template-rows: repeat(2, minmax(135px, auto)); gap: 20px; }
.importance-card { display: flex; flex-direction: column; gap: 10px; width: 360px; min-height: 135px; padding: 20px 20px 19.4px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); }
.importance-card__title { font-size: 20px; font-weight: 600; line-height: 28px; }

.education-system { display: grid; grid-template-columns: 854px 506px; gap: 100px; min-height: 454px; margin-top: 100px; padding: 40px; border-radius: var(--radius-large); background: var(--color-footer); }
.education-system__content { display: flex; width: min(854px, 100%); min-width: 0; flex-direction: column; gap: 40px; min-height: 374px; }
.education-system__copy { display: flex; width: 100%; min-width: 0; flex-direction: column; min-height: 256px; font-size: 18px; }
.education-system__title { margin-bottom: 20px; }
.education-system__paragraph--spaced { margin-top: 10px; }
.education-system__quote { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 78px; margin: 0 0 -.375px; padding: 20px 107px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); font-size: 16px; font-style: normal; text-align: center; }
.education-system__image { width: 506px; height: 374px; border-radius: var(--radius-large); object-fit: cover; }

@media (max-width: 1280px) {
  .license-intro { height: auto; min-height: 0; margin-top: 24px; }
  .license-intro__breadcrumb, .license-intro__copy { position: static; width: 100%; height: auto; min-height: 0; }
  .license-intro__copy { margin-top: 28px; }
  .license-intro__title { font-size: clamp(42px, 12vw, 64px); line-height: 1.05; }
  .license-overview, .license-importance, .education-system { grid-template-columns: 1fr; height: auto; min-height: 0; gap: 20px; }
  .license-overview__intro, .license-overview__copy, .license-importance__intro, .education-system__content, .education-system__copy, .education-system__quote, .education-system__image { width: 100%; height: auto; min-height: 0; }
  .license-overview__intro { min-height: 380px; padding: 48px 24px; }
  .license-overview__grid, .license-importance__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; }
  .license-info-card, .importance-card { width: 100%; }
  .documents { height: auto; min-height: 0; }
  .documents__intro { width: 100%; height: auto; min-height: 0; }
  .documents__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; }
  .document-card { width: 100%; }
  .license-importance, .education-system { padding: 24px; }
  .education-system__title { margin-bottom: 16px; }
  .education-system__quote { padding: 20px; }
  .education-system__image { aspect-ratio: 1.35; }
}

/* College information page */
.information-page { overflow-x: hidden; color: var(--color-black); }

.information-intro {
  min-height: 315px;
  margin-top: 10px;
}

.information-intro__breadcrumb {
  width: 715px;
  min-height: 17px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 17px;
}

.information-intro__copy {
  display: flex;
  width: 1150px;
  min-height: 258px;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.information-intro__title {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.information-intro__lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.information-section {
  display: flex;
  min-height: 503px;
  flex-direction: column;
  gap: 40px;
  margin-top: 100px;
}

.information-section--plain { min-height: 318px; }

.information-section__copy {
  display: flex;
  width: 1150px;
  min-height: 318px;
  flex-direction: column;
  gap: 20px;
}

.information-section__body {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  gap: 10px;
  color: var(--color-ink);
  font-size: 18px;
  line-height: 1.2;
}


.information-section__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.information-card {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  backdrop-filter: blur(5px);
}

.information-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.information-card__text { line-height: 19px; }

@media (max-width: 1280px) {
  .information-intro { height: auto; min-height: 0; margin-top: 24px; }
  .information-intro__breadcrumb,
  .information-intro__copy,
  .information-section__copy { width: 100%; height: auto; min-height: 0; }
  .information-intro__copy { margin-top: 28px; }
  .information-intro__title { font-size: clamp(42px, 12vw, 64px); line-height: 1.05; }
  .information-section { height: auto; min-height: 0; gap: 28px; margin-top: 64px; }
  .information-section__body { height: auto; min-height: 0; }
  .information-section__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .information-card { width: 100%; height: auto; }
}

@media (max-width: 700px) {
  .information-section__cards { grid-template-columns: 1fr; }
  .information-card { min-height: var(--mobile-card-min-content); }
}

/* About page */
.about-hero,
.school-audience,
.about-school,
.school-director,
.school-format,
.school-mission,
.school-roots,
.school-equipment,
.school-students,
.school-leaders,
.about-seo {
  width: min(1540px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.about-hero { display: grid; grid-template-columns: 890px 630px; gap: 20px; min-height: 600px; margin-top: 20px; }
.about-hero__panel { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 20px; min-height: 600px; padding: 40px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-footer); }
.about-hero__breadcrumb { position: absolute; top: 20px; left: 20px; width: min(715px, calc(100% - 40px)); min-width: 0; color: var(--color-gold); font-size: 14px; }
.about-hero__copy { display: flex; width: min(715px, 100%); min-width: 0; flex-direction: column; gap: 10px; }
.about-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 72px; }
.about-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }
.about-hero__actions { display: flex; gap: 10px; }
.about-hero__directions { padding: 14px 60px; background: #f4d2ab; }
.about-hero__image { width: 630px; height: 600px; border-radius: var(--radius-large); object-fit: cover; }

.school-audience { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 380px; margin-top: 40px; }
.school-audience__intro { display: flex; align-items: center; justify-content: center; width: 760px; min-height: 380px; border-radius: var(--radius-card); background: linear-gradient(148.64deg, #dbb07d 30.65%, #f4d2ad 69.35%); }
.school-audience__copy { display: flex; flex-direction: column; gap: 10px; width: 632px; text-align: center; }
.school-audience__title { margin-bottom: 10px; font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.school-audience__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(180px, auto)); gap: 20px; }
.school-audience-card { display: flex; flex-direction: column; justify-content: space-between; width: 370px; min-height: 180px; padding: 20px; border-radius: var(--radius-card); background: var(--color-surface); }
.school-audience-card__icon { width: 30px; height: 30px; object-fit: contain; }
.school-audience-card__title { margin-bottom: 5px; font-size: 24px; font-weight: 600; line-height: 32px; }

.about-school { display: grid; grid-template-columns: 1020px 500px; gap: 20px; min-height: 539px; margin-top: 100px; }
.about-school__panel { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 539px; padding: 40px; border-radius: var(--radius-large); background: var(--color-surface); }
.about-school__copy { display: flex; width: min(854px, 100%); min-width: 0; flex-direction: column; gap: 20px; }
.about-school__year { display: flex; align-items: center; gap: 10px; width: 270px; min-height: 42px; padding: 9px 10px; border-radius: var(--radius-card); color: var(--color-accent); background: var(--color-card); font-size: 18px; }
.about-school__year-icon { width: 24px; height: 24px; object-fit: contain; }
.about-school__year-value { font-weight: 400; }
.about-school__text { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.about-school__button { margin-top: 0; }
.about-school__image { align-self: stretch; width: 500px; height: 539px; min-height: 100%; border-radius: var(--radius-large); object-fit: cover; }

.school-director { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 405px; margin-top: 100px; }
.school-director__bio { width: 760px; min-height: 405px; }
.school-director__role { margin-top: 10px; font-size: 24px; font-weight: 600; line-height: 32px; }
.school-director__summary { display: flex; flex-direction: column; gap: 5px; min-height: 81px; margin-top: 10px; }
.school-director__education { margin-top: 20px; }
.school-director__education-title { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
.school-director__facts { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: minmax(128px, auto) minmax(128px, auto) minmax(109px, auto); gap: 20px; }
.director-fact { display: flex; flex-direction: column; gap: 20px; width: 370px; padding: 20px 20px 19.6px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); }
.director-fact__icon { width: 30px; height: 30px; object-fit: contain; }
.director-fact--wide { grid-column: 1 / -1; width: 760px; }

.school-format { min-height: 452px; margin-top: 100px; }
.school-format__intro { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 164px; margin-bottom: -.75px; }
.school-format__title { margin-bottom: 10px; }
.school-format__grid { display: grid; grid-template-columns: repeat(3, 500px); gap: 20px; min-height: 248px; margin-top: 40px; }
.format-card { position: relative; display: flex; align-items: flex-end; width: 500px; min-height: 248px; padding: 20px; overflow: hidden; border-radius: var(--radius-large); color: #fefcf9; }
.format-card__image, .format-card__shade { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-large); }
.format-card__image { object-fit: cover; }
.format-card__image--stage { object-position: bottom; }
.format-card__shade { background: linear-gradient(55deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 90%); }
.format-card__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; width: 336px; }
.format-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }
.format-card__description { color: var(--color-footer); font-size: 14px; }

.school-mission { min-height: 429px; margin-top: 100px; }
.school-mission__body { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 331px; margin-top: 40px; }
.school-mission__left { display: flex; flex-direction: column; gap: 20px; }
.school-mission__lead { display: flex; flex-direction: column; gap: 5px; min-height: 71px; font-size: 18px; }
.school-mission__pair { display: grid; grid-template-columns: repeat(2, 370px); gap: 20px; }
.mission-card { position: relative; display: flex; align-items: flex-end; width: 370px; padding: 20px; overflow: hidden; border-radius: var(--radius-card); }
.mission-card--short { min-height: 240px; }
.mission-card--tall { min-height: 331px; }
.mission-card--light { background: var(--color-footer); }
.mission-card--dark { background: #f4d2ab; }
.mission-card__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.mission-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }
.mission-card__line-frame { position: absolute; display: flex; align-items: center; justify-content: center; width: 1695.663px; height: 705.026px; }
.mission-card__line-frame--one { top: -215px; left: -65.19px; }
.mission-card__line-frame--two { top: -215px; left: -455.19px; }
.mission-card__line-frame--three { top: -124px; left: -845.19px; }
.mission-card__line-frame--four { top: -124px; left: -1235.19px; }
.mission-card__line { position: relative; flex: 0 0 auto; width: 546.395px; height: 1650.169px; max-width: none; transform: rotate(84.39deg); }

.school-roots { min-height: 584px; margin-top: 100px; }
.school-roots__intro { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 145px; margin-bottom: -.6px; }
.school-roots__title { margin-bottom: 10px; }
.school-roots__grid { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 399px; margin-top: 40px; }
.root-card { display: grid; grid-template-columns: 480px 220px; gap: 20px; width: 760px; min-height: 399px; padding: 20px; border-radius: var(--radius-large); background: var(--color-surface); }
.root-card__copy { display: flex; flex-direction: column; gap: 5px; }
.root-card__role { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.root-card__title { margin: 5px 0; font-size: 24px; font-weight: 600; line-height: 32px; }
.root-card__image { width: 220px; height: 359px; border-radius: var(--radius-large); object-fit: cover; }

.about-team { --teacher-carousel-navigation-y: 442px; position: relative; width: min(1620px, calc(100% - 40px)); min-height: 679px; margin: 100px auto 0; }
.about-team__inner { width: min(1540px, calc(100% - 40px)); min-height: 679px; margin-inline: auto; }
.about-team__heading { display: flex; align-items: flex-end; justify-content: space-between; min-height: 164px; }
.about-team__intro { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 164px; margin-bottom: -.75px; }
.about-team__title { margin-bottom: 10px; }
.about-team__viewport { width: 100%; min-height: 475px; margin-top: 40px; overflow: hidden; scroll-behavior: smooth; }
.about-team__track { width: max-content; min-height: 475px; align-items: stretch; }
.about-team__viewport .swiper-wrapper,
.about-team__viewport .swiper-slide { height: auto; }
.about-team__arrow--previous { left: 0; }
.about-team__arrow--next { right: 0; }

.school-equipment { min-height: 294px; margin-top: 100px; }
.school-equipment__copy { display: flex; flex-direction: column; gap: 20px; width: 1150px; min-height: 294px; font-size: 18px; }
.school-equipment__text { display: flex; flex-direction: column; gap: 10px; min-height: 130px; }

.school-students { min-height: 267px; margin-top: 100px; }
.school-students__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 1150px; min-height: 267px; margin-bottom: -2.6px; font-size: 18px; }
.school-students__text { display: flex; flex-direction: column; gap: 10px; min-height: 130px; }

.school-leaders { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 274px; margin-top: 100px; }
.leader-card { display: grid; grid-template-columns: 480px 220px; gap: 20px; width: 760px; min-height: 274px; padding: 20px; border-radius: var(--radius-large); background: var(--color-surface); }
.leader-card__copy { display: flex; flex-direction: column; gap: 10px; }
.leader-card__title { font-family: "Playfair Display", serif; font-size: 48px; font-weight: 600; line-height: 58px; }
.leader-card__description { font-size: 18px; }
.leader-card__image { width: 220px; height: 220px; border-radius: var(--radius-large); object-fit: cover; }

.about-seo { min-height: 208px; margin-top: 100px; }
.about-seo__copy { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 208px; font-size: 18px; }
.about-seo__title { margin-bottom: 10px; }

@media (max-width: 1280px) {
  .about-hero,
  .school-audience,
  .about-school,
  .school-director,
  .school-format,
  .school-mission,
  .school-roots,
  .school-equipment,
  .school-students,
  .school-leaders,
  .about-seo { width: min(100% - 32px, 620px); height: auto; min-height: 0; }
  .about-hero, .school-audience, .about-school, .school-director, .school-leaders { grid-template-columns: 1fr; }
  .about-hero { margin-top: 12px; }
  .about-hero__panel, .about-hero__image, .school-audience__intro, .about-school__panel, .about-school__image, .school-director__bio { width: 100%; height: auto; min-height: 0; }
  .about-hero__panel { min-height: 620px; padding: 64px 24px 28px; }
  .about-hero__copy { width: 100%; }
  .about-hero__title { font-size: clamp(42px, 12vw, 64px); line-height: 1.05; }
  .about-hero__actions { flex-direction: column; width: 100%; }
  .about-hero__actions .button { width: 100%; padding-inline: 20px; }
  .about-hero__image { aspect-ratio: 1.05; }
  .school-audience__intro { min-height: 380px; padding: 48px 24px; }
  .school-audience__copy, .about-school__copy, .school-format__intro, .school-mission__lead, .school-roots__intro, .about-team__intro, .school-equipment__copy, .school-students__copy, .about-seo__copy { width: 100%; height: auto; min-height: 0; }
  .school-audience__grid, .school-director__facts, .school-format__grid, .school-mission__body, .school-mission__pair, .school-roots__grid, .school-leaders { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; }
  .school-audience-card, .director-fact, .director-fact--wide, .format-card, .mission-card, .root-card, .leader-card { width: 100%; }
  .about-school__panel { min-height: 0; padding: 28px 24px; }
  .about-school__button { width: 100%; margin-top: 0; }
  .about-school__image { aspect-ratio: .93; }
  .school-director__summary { height: auto; min-height: 0; }
  .school-director__facts { margin-top: 28px; }
  .director-fact--wide { grid-column: auto; }
  .school-format__grid, .school-roots__grid { margin-top: 28px; }
  .format-card { height: auto; min-height: 248px; }
  .school-mission__body { margin-top: 28px; }
  .school-mission__left { gap: 20px; }
  .school-mission__pair { gap: 20px; }
  .mission-card--short, .mission-card--tall { height: auto; min-height: 260px; }
  .root-card, .leader-card { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .root-card__image, .leader-card__image { width: 100%; height: auto; aspect-ratio: 1; order: -1; }
  .root-card__image { aspect-ratio: .7; }
  .about-team { width: min(100% - 32px, 620px); height: auto; min-height: 0; margin-top: 64px; }
  .about-team__inner { width: 100%; height: auto; min-height: 0; }
  .about-team__heading { height: auto; min-height: 0; }
  .about-team__heading .button { display: none; }
  .about-team__viewport { height: auto; min-height: 475px; margin-top: 28px; scrollbar-width: none; }
  .school-equipment__text, .school-students__text { height: auto; min-height: 0; }
  .school-leaders { display: grid; }
  .leader-card__title { font-size: clamp(38px, 11vw, 48px); line-height: 1.08; }
}

/* Halls page */
.halls-hero,
.halls-overview,
.location-card,
.hall-equipment,
.halls-faq,
.halls-seo {
  width: min(1540px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.halls-hero { position: relative; min-height: 310px; margin-top: 10px; }
.halls-hero__breadcrumb { width: 715px; min-height: 17px; color: var(--color-muted); font-size: 14px; line-height: 17px; }
.halls-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 1150px; min-height: 253px; margin: 40px 0 -.6px; }
.halls-hero__copy { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 186px; }
.halls-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 72px; }
.halls-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }

.halls-overview { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 432px; margin-top: 100px; }
.halls-overview__intro { display: flex; align-items: center; justify-content: center; width: 760px; min-height: 432px; border-radius: var(--radius-card); background: linear-gradient(148.64deg, #dbb07d 30.65%, #f4d2ad 69.35%); }
.halls-overview__copy { display: flex; flex-direction: column; gap: 10px; width: 632px; text-align: center; }
.halls-overview__title { margin-bottom: 10px; font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.halls-overview__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(206px, auto)); gap: 20px; }
.hall-benefit { display: flex; flex-direction: column; justify-content: space-between; width: 370px; min-height: 206px; padding: 20px; border-radius: var(--radius-card); background: var(--color-surface); }
.hall-benefit__icon { width: 30px; height: 30px; object-fit: contain; }
.hall-benefit__title { margin-bottom: 5px; font-size: 24px; font-weight: 600; line-height: 32px; }

.location-card { display: grid; grid-template-columns: 590px 854px; gap: 20px; min-height: 589px; margin-top: 100px; padding: 40px; border-radius: var(--radius-large); background: var(--color-footer); }
.location-card--reverse { grid-template-columns: 854px 590px; }
.location-card__image { width: 590px; height: 509px; border-radius: var(--radius-large); object-fit: cover; }
.location-card__content { width: 854px; min-height: 509px; margin-bottom: -.2px; }
.location-card__address { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-top: 20px; font-size: 18px; }
.location-card__address-icon { width: 24px; height: 24px; object-fit: contain; }
.location-card__description { display: flex; flex-direction: column; gap: 10px; min-height: 152px; margin-top: 20px; font-size: 18px; }
.location-card--reverse .location-card__description { min-height: 130px; }
.location-card__features { display: grid; grid-template-columns: repeat(3, 271px); grid-template-rows: repeat(2, minmax(64px, auto)); gap: 20px; min-height: 148px; margin: 20px 0 0; padding: 0; list-style: none; }
.location-card__feature { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); font-size: 18px; text-align: center; }
.location-card__actions { display: flex; gap: 10px; margin-top: 20px; }
.location-card__route { padding: 14px 60px; color: #fefcf9; background: var(--color-gold); }

.hall-equipment { min-height: 585px; margin-top: 100px; }
.hall-equipment__body { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 487px; margin-top: 40px; }
.hall-equipment__visual { display: flex; flex-direction: column; gap: 20px; width: 760px; min-height: 487px; font-size: 18px; }
.hall-equipment__lead { min-height: 66px; }
.hall-equipment__image { width: 760px; height: 401px; border-radius: var(--radius-card); object-fit: cover; }
.hall-equipment__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(3, minmax(149px, auto)); gap: 20px; }
.equipment-card { display: flex; flex-direction: column; gap: 20px; width: 370px; min-height: 149px; padding: 20px 20px 19.4px; border-radius: var(--radius-card); background: rgba(244, 210, 171, .2); }
.equipment-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.hall-gallery { width: min(1620px, calc(100% - 40px)); min-height: 1039px; margin: 100px auto 0; }
.hall-gallery__inner { width: min(1540px, calc(100% - 40px)); min-height: 1039px; margin-inline: auto; }
.hall-gallery__intro { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 87px; margin-bottom: -.2px; }
.hall-gallery__row { position: relative; width: 100%; min-height: 436px; margin-top: 40px; }
.hall-gallery__row + .hall-gallery__row { margin-top: 40px; }
.hall-gallery__title { min-height: 32px; font-size: 24px; font-weight: 600; line-height: 32px; }
.hall-gallery__slider { position: relative; width: 100%; min-height: 384px; margin-top: 20px; }
.hall-gallery__viewport { width: 100%; min-height: 384px; margin-top: 0; overflow: hidden; scroll-behavior: smooth; }
.hall-gallery__track { width: max-content; min-height: 384px; align-items: stretch; }
.hall-gallery__viewport .swiper-wrapper,
.hall-gallery__viewport .swiper-slide { height: auto; }
.hall-photo { display: flex; flex: 0 0 500px; flex-direction: column; gap: 5px; width: 500px; min-height: 384px; margin: 0 0 -.2px; }
.hall-photo__image { width: 500px; height: 360px; border-radius: var(--radius-card); cursor: zoom-in; object-fit: cover; }
.hall-gallery__arrow { top: 50%; transform: translateY(-50%); }
.hall-gallery__arrow--previous { left: calc(0px - clamp(20px, calc((100vw - 1580px) / 2), 40px)); }
.hall-gallery__arrow--next { right: calc(0px - clamp(20px, calc((100vw - 1580px) / 2), 40px)); }

.halls-faq { min-height: 542px; margin-top: 100px; }
.halls-seo { min-height: 208px; margin-top: 100px; }
.halls-seo__copy { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 208px; font-size: 18px; }
.halls-seo__title { margin-bottom: 10px; }

@media (max-width: 1280px) {
  .halls-hero,
  .halls-overview,
  .location-card,
  .hall-equipment,
  .halls-faq,
  .halls-seo { width: min(100% - 32px, 620px); height: auto; min-height: 0; }
  .halls-hero { margin-top: 24px; }
  .halls-hero__breadcrumb, .halls-hero__content { position: static; width: 100%; height: auto; min-height: 0; }
  .halls-hero__content { margin-top: 28px; }
  .halls-hero__copy { width: 100%; height: auto; min-height: 0; }
  .halls-hero__title { font-size: clamp(42px, 12vw, 64px); line-height: 1.05; }
  .halls-hero__content .button { width: 100%; padding-inline: 20px; }
  .halls-overview, .location-card, .location-card--reverse, .hall-equipment__body { grid-template-columns: 1fr; }
  .halls-overview__intro, .location-card__content, .location-card__image, .hall-equipment__visual { width: 100%; height: auto; min-height: 0; }
  .halls-overview__intro { min-height: 432px; padding: 48px 24px; }
  .halls-overview__copy { width: 100%; }
  .halls-overview__grid, .location-card__features, .hall-equipment__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; }
  .hall-benefit, .equipment-card { width: 100%; }
  .location-card { padding: 24px; }
  .location-card__image { aspect-ratio: 1.16; order: -1; }
  .location-card__description, .location-card--reverse .location-card__description { height: auto; min-height: 0; }
  .location-card__feature { min-height: 64px; }
  .location-card__actions { flex-direction: column; }
  .location-card__actions .button { width: 100%; padding-inline: 20px; }
  .hall-equipment__body { height: auto; min-height: 0; margin-top: 28px; }
  .hall-equipment__lead { height: auto; min-height: 0; }
  .hall-equipment__image { width: 100%; height: auto; aspect-ratio: 1.4; }
  .hall-gallery { width: min(100% - 32px, 620px); height: auto; min-height: 0; margin-top: 64px; }
  .hall-gallery__inner, .hall-gallery__intro, .hall-gallery__row { width: 100%; height: auto; min-height: 0; }
  .hall-gallery__row { margin-top: 28px; }
  .hall-gallery__row + .hall-gallery__row { margin-top: 40px; }
  .hall-gallery__viewport { width: 100%; height: auto; min-height: 384px; scrollbar-width: none; }
  .halls-seo__copy { width: 100%; height: auto; min-height: 0; }
}

/* Privacy page */
.privacy-section {
  width: min(1150px, calc(100% - 80px));
  margin: 10px auto 100px;
  font-size: 18px;
  line-height: 1.2;
}

.privacy-section > p:first-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 17px;
}

.privacy-section h1 {
  margin-bottom: 40px;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 72px;
}

.privacy-section h2 {
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.privacy-section p { margin-bottom: 10px; }

.privacy-section ul {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.privacy-section li::before { content: "- "; }

.privacy-section h3 {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

@media (max-width: 1280px) {
  .privacy-section {
    width: min(calc(100% - 48px), 1052px);
    margin-top: 24px;
    margin-bottom: 64px;
  }

  .privacy-section h1 {
    font-size: clamp(32px, 8.5vw, 64px);
    line-height: 1.05;
  }
}

/* Not found page */
.not-found-card {
  width: min(1540px, calc(100% - 80px));
  min-height: 596px;
  margin: -6px auto 0;
  padding: 40px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.not-found-card__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 100px;
  width: 100%;
  min-height: 516px;
}

.not-found-card__content {
  display: flex;
  flex: 0 0 507px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 507px;
}

.not-found-card__code {
  font-size: 96px;
  font-weight: 600;
  line-height: normal;
}

.not-found-card__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.not-found-card__title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 58px;
}

.not-found-card__description {
  width: 100%;
  font-size: 18px;
}

.not-found-card__actions {
  display: flex;
  gap: 10px;
}

.button--soft {
  padding: 14px 60px;
  color: var(--color-ink);
  background: var(--color-footer);
}

.not-found-card__image {
  flex: 0 0 853px;
  width: 853px;
  height: 516px;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.not-found-card__decor {
  position: absolute;
  top: 442px;
  left: 1421px;
  width: 108px;
  height: 128px;
  overflow: hidden;
  border-radius: 25px;
  mix-blend-mode: darken;
  pointer-events: none;
}

.not-found-card__decor-image {
  position: absolute;
  top: -51.31%;
  left: -247.29%;
  width: 486.05%;
  max-width: none;
  height: 409.8%;
}

.not-found-page__footer { margin-top: 20px; }

@media (max-width: 1280px) {
  .not-found-card {
    display: flex;
    width: min(100% - 32px, 620px);
    height: auto;
    min-height: 0;
    margin-top: 12px;
    padding: 24px;
  }

  .not-found-card__inner {
    display: grid;
    gap: 28px;
    height: auto;
    min-height: 0;
  }

  .not-found-card__content {
    width: 100%;
    flex-basis: auto;
  }

  .not-found-card__code { font-size: clamp(68px, 24vw, 96px); }

  .not-found-card__title {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.08;
  }

  .not-found-card__actions {
    flex-direction: column;
    width: 100%;
  }

  .not-found-card__actions .button {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .not-found-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.65;
    order: -1;
  }

  .not-found-card__decor { display: none; }

  .not-found-page__footer { margin-top: 20px; }
}

/* Home page — Figma node 4:10 */
.home-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 868px;
  margin-top: 20px;
}

.home-hero__top,
.home-hero__promos {
  display: flex;
  gap: 20px;
}

.home-hero__main {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 1020px;
  min-height: 600px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.home-hero__main-image,
.promo-card__image,
.promo-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__main-image,
.promo-card__image { object-fit: cover; }

.home-hero__main::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(58.24deg, rgba(0, 0, 0, .5) 1.65%, transparent 89.69%);
}

.home-hero__main-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: #fefcf9;
}

.home-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 715px;
}

.home-hero__title {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.home-hero__lead { width: 715px; }

.home-hero__pre-professional {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 500px;
  min-height: 600px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #f4d2ab;
}

.home-hero__pattern {
  position: absolute;
  top: -9px;
  left: 0;
  width: 495px;
  height: 719px;
  max-width: none;
}

.home-hero__pre-copy,
.home-hero__light-button { position: relative; z-index: 1; }

.home-hero__pre-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 420px;
}

.home-hero__card-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.home-hero__light-button {
  width: 420px;
  padding: 14px 60px;
  color: var(--color-ink);
  background: var(--color-footer);
}

.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  width: 500px;
  min-height: 248px;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.promo-card--intensive { background: var(--color-gold); }

.promo-card__pattern {
  position: absolute;
  top: -83px;
  left: -28px;
  width: 559px;
  height: 565px;
  max-width: none;
}

.promo-card__shade { background: linear-gradient(59deg, rgba(0, 0, 0, .5) 2%, transparent 101%); }

.promo-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.promo-card__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 336px;
  color: #fefcf9;
  font-size: 14px;
}

.promo-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.promo-card__button {
  position: relative;
  z-index: 1;
  padding: 10px 40px;
  color: var(--color-ink);
  background: var(--color-footer);
}

.direction-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  min-height: 0;
  margin-top: 100px;
  padding: 60px 40px 66.8125px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.direction-picker__title { text-align: center; }

.direction-picker__tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: -20px;
}

.direction-picker__tab {
  padding: 5px 40px;
  border: 1px solid var(--color-accent);
  border-radius: 60px;
  color: var(--color-accent);
  background: transparent;
  cursor: pointer;
}

.direction-picker__tab--active {
  color: #fefcf9;
  background: var(--color-accent);
}

.direction-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, 350px);
  gap: 20px;
  width: 100%;
}

.direction-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 208px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
}

.direction-card[hidden] {
  display: none;
}

.direction-card__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.direction-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
}

.professional {
  min-height: 609px;
  margin-top: 100px;
}

.professional__grid {
  display: grid;
  grid-template-columns: repeat(4, 370px);
  gap: 20px;
  min-height: 511px;
  margin-top: 40px;
}

.professional__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 511px;
  margin-bottom: -.4px;
}

.professional__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.professional__title,
.professional-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.professional__photo,
.professional-card {
  width: 370px;
  border-radius: var(--radius-card);
}

.professional__photo { height: 416px; object-fit: cover; }
.professional__column:nth-child(2) .professional__photo { object-fit: fill; object-position: bottom; }

.professional-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 416px;
  padding: 20px;
  overflow: hidden;
}

.professional__column--card-only .professional-card { flex: 1; }

.professional-card--light { background: var(--color-footer); }
.professional-card--dark { background: #f4d2ab; }

.professional-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professional-card__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-courses {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  min-height: 710px;
  margin-top: 100px;
  padding: 60px 40px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.home-courses__title { text-align: center; }

.home-courses__grid {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 492px;
}

.home-course {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 313px;
  min-height: 236px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  backdrop-filter: blur(5px);
}

.home-course--wide { width: 461px; }

.course-meta--illustrated .course-meta__item--users::before {
  -webkit-mask-image: url("assets/images/home/course-users.svg");
  mask-image: url("assets/images/home/course-users.svg");
}

.course-meta--illustrated .course-meta__item--place::before {
  -webkit-mask-image: url("assets/images/home/course-pin.svg");
  mask-image: url("assets/images/home/course-pin.svg");
}

.home-course__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.home-course__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.journey {
  min-height: 878px;
  margin-top: 100px;
}

.journey__grid {
  display: grid;
  grid-template-columns: repeat(4, 370px);
  grid-template-rows: repeat(2, minmax(380px, auto));
  gap: 20px;
  margin-top: 40px;
}

.journey-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 370px;
  min-height: 380px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(244, 210, 171, .2);
}

.journey-card__progress {
  width: 97px;
  height: 12px;
  flex: 0 0 12px;
}

.journey-card__heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.journey-card__age {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 17px;
  font-size: 14px;
}

.journey-card__age-icon { width: 16px; height: 16px; }
.journey-card__result { font-size: 14px; }

.journey-card__title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.journey-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.journey__image {
  grid-column: span 2;
  width: 760px;
  height: 380px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.trust {
  min-height: 492px;
  margin-top: 100px;
}

.trust__body {
  display: grid;
  grid-template-columns: 760px 760px;
  gap: 20px;
  min-height: 394px;
  margin-top: 40px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 370px);
  grid-template-rows: repeat(2, minmax(187px, auto));
  gap: 20px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 370px;
  min-height: 187px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.trust-card__icon { width: 30px; height: 30px; }

.trust-card__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trust-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.trust-statement {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 760px;
  min-height: 394px;
  padding: 20px 66px;
  border-radius: var(--radius-card);
  background: linear-gradient(150.93deg, var(--color-gold) 30.65%, #f4d2ad 69.35%);
  text-align: center;
}

.trust-statement__text {
  font-size: 16px;
}

.trust-statement__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 628px;
}

.trust-statement__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.home-about {
  display: grid;
  grid-template-columns: 1020px 500px;
  gap: 20px;
  height: auto;
  min-height: 734px;
  margin-top: 100px;
}

.home-about__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  width: 1020px;
  height: auto;
  min-height: 734px;
  padding: 25.34px 40px;
  border-radius: var(--radius-large);
  background: var(--color-footer);
}

.home-about__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 854px;
}

.home-about__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
}

.home-about__mission {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 940px;
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  font-style: normal;
}

.home-about__mission-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.home-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 270px);
  gap: 20px;
}

.home-about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 110px;
  border-radius: var(--radius-card);
  background: rgba(244, 210, 171, .2);
  text-align: center;
}

.home-about__stat-value {
  font-size: 36px;
  font-weight: 600;
  line-height: 32px;
}

.home-about__stat-label { font-size: 14px; }

.home-about__image {
  width: 500px;
  height: auto;
  min-height: 734px;
  align-self: stretch;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.addresses {
  min-height: 548px;
  margin-top: 100px;
}

.addresses__body {
  display: grid;
  grid-template-columns: 370px 1150px;
  gap: 20px;
  min-height: 450px;
  margin-top: 40px;
}

.addresses__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 370px;
  min-height: 450px;
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.addresses__item {
  position: relative;
  min-height: 44px;
  padding-left: 34px;
  font-size: 18px;
}

.addresses__item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  content: "";
  background: var(--color-muted);
  -webkit-mask: url("assets/images/icon-pin.svg") center / contain no-repeat;
  mask: url("assets/images/icon-pin.svg") center / contain no-repeat;
}

.addresses__map {
  width: 1150px;
  height: 450px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.addresses__map-frame { width: 100%; height: 100%; border: 0; }

.reviews {
  position: relative;
  min-height: 330px;
  margin-top: 100px;
}

.reviews__heading,
.home-news__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 58px;
}

.reviews__viewport {
  width: 100%;
  min-height: 232px;
  margin-top: 40px;
  overflow: hidden;
}

.reviews__track { width: max-content; align-items: stretch; }
.reviews__viewport .swiper-slide { height: auto; }

.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 240px;
  min-height: 232px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--color-footer);
}

.review-card--wide { width: 500px; }

.review-card__text {
  width: 100%;
  height: 152px;
  flex: 0 0 152px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.review-card:not(.review-card--wide) .review-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 30px;
  flex: 0 0 auto;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-card__author-image { width: 30px; height: 30px; border-radius: 50%; }

.review-card__author-copy {
  display: flex;
  flex-direction: column;
  color: var(--color-muted);
  font-size: 12px;
}

.review-card__author-name { font: inherit; }

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--color-muted);
  font-size: 12px;
}

.review-card__star {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.review-card__star-icon {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
}

.review-card__star-mark {
  inset: 3px;
  width: 18px;
  height: 18px;
}

.reviews__arrow { top: 199px; }
.reviews__arrow--previous { left: 0; }
.reviews__arrow--next { right: 0; }

.home-news {
  position: relative;
  min-height: 523px;
  margin-top: 100px;
}

.home-news__media { display: contents; }

.home-news__viewport {
  width: 100%;
  min-height: 425px;
  margin-top: 40px;
  overflow: hidden;
}

.home-news__track { width: max-content; min-height: 425px; align-items: stretch; }
.home-news__viewport .swiper-wrapper,
.home-news__viewport .swiper-slide { height: auto; }

.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 500px;
  min-height: 425px;
  flex: 0 0 500px;
}

.news-card__image {
  width: 500px;
  height: 264px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.news-card__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.news-card__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.news-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.news-card__description {
  overflow-wrap: anywhere;
}

.news-card__meta { font-size: 14px; }
.news-card__link { margin-bottom: -.36px; }

/* News page */
.news-page { overflow-x: hidden; }
.news-hero { min-height: 215px; margin-top: 10px; }
.news-hero__breadcrumb { width: 715px; min-height: 17px; color: var(--color-muted); font-size: 14px; line-height: 17px; }
.news-hero__copy { display: flex; flex-direction: column; gap: 9.95px; width: 1150px; min-height: 158px; margin-top: 40px; }
.news-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 1.12; }
.news-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }
.news-directory { display: grid; grid-template-columns: repeat(3, 500px); grid-template-rows: repeat(5, minmax(425px, auto)); gap: 20px; min-height: 2205px; margin-top: 100px; }
.news-directory .swiper-slide { height: auto; }

/* News detail page */
.news-detail-hero {
  display: grid;
  grid-template-columns: 890px 630px;
  gap: 20px;
  min-height: 367px;
  margin-top: 20px;
}

.news-detail-hero__panel {
  min-height: 367px;
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--color-footer);
}

.news-detail-hero__breadcrumb {
  width: min(715px, 100%);
  min-width: 0;
  min-height: 17px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 17px;
}

.news-detail-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(715px, calc(100% - 40px));
  min-width: 0;
  min-height: 250px;
  margin: 40px 20px 0;
}

.news-detail-hero__title {
  width: 100%;
  min-width: 0;
  min-height: 144px;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.news-detail-hero__lead {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  margin-top: 10px;
}

.news-detail-hero__meta {
  min-height: 19px;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 19px;
}

.news-detail-hero__image {
  width: 630px;
  height: 367px;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.news-article {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(1150px, calc(100% - 80px));
  min-height: 832px;
  margin-top: 60px;
  margin-right: auto;
  margin-left: max(40px, calc((100% - var(--content-width)) / 2));
}

.news-article__title {
  min-height: 42px;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.news-article__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 1150px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 22px;
}

.news-article__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-article__point {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 55px;
}

.news-article__point-title {
  min-height: 28px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.news-gallery__arrow { top: 242px; }
.news-gallery__arrow--previous { left: -10px; }
.news-gallery__arrow--next { right: -10px; }

.news-detail-page__trial { margin-top: 100px; }
.news-detail-page__footer { margin-top: 40px; }

@media (max-width: 1280px) {
  .news-hero, .news-directory { height: auto; min-height: 0; }
  .news-hero__breadcrumb, .news-hero__copy { width: 100%; height: auto; min-height: 0; }
  .news-hero__title { font-size: clamp(42px, 12vw, 64px); }
  .news-directory { grid-template-columns: 1fr; grid-template-rows: none; }

  .news-detail-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .news-detail-hero__panel,
  .news-detail-hero__image { width: 100%; height: auto; min-height: 0; }
  .news-detail-hero__panel { min-height: 367px; padding: 20px; }
  .news-detail-hero__breadcrumb,
  .news-detail-hero__copy,
  .news-detail-hero__title,
  .news-detail-hero__lead { width: 100%; height: auto; min-height: 0; }
  .news-detail-hero__copy { margin: 40px 0 0; }
  .news-detail-hero__title { font-size: clamp(42px, 12vw, 64px); }
  .news-detail-hero__image { aspect-ratio: 630 / 367; }
  .news-article {
    width: calc(100% - 40px);
    height: auto;
    min-height: 0;
    margin-top: 64px;
    margin-inline: auto;
  }
  .news-article__copy { width: 100%; font-size: 16px; line-height: 1.2; }
  .news-article__title { height: auto; min-height: 0; }
  .news-article__point { height: auto; min-height: 0; }
  .news-gallery,
  .news-related { height: auto; margin-top: 64px; }
  .news-detail-page__trial { margin-top: 64px; }
}

.home-news__arrow { top: 296px; }
.home-news__arrow--previous { left: 0; }
.home-news__arrow--next { right: 0; }

.faq--home { margin-top: 100px; }
.trial--home { margin-top: 100px; }
.site-footer--home { margin-top: 40px; }

/* College page */
.page-root { overflow-x: hidden; }
.college-page { overflow-x: hidden; color: #130d05; }

.college-header { min-height: 126px; }
.college-header__notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 59px;
  padding: 20px 20px 19.8px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: var(--color-card);
}
.college-header__notice-link { color: var(--color-accent); }
.college-header__nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  margin-top: 10px;
}
.college-header__logo-link { width: 302px; }
.college-header__logo { width: 185px; height: 57px; object-fit: contain; }
.college-header__nav { display: flex; align-items: center; gap: 24px; text-transform: uppercase; }
.college-header__nav-link { white-space: nowrap; }
.college-header__dropdown { position: relative; }
.college-header__dropdown--open { z-index: 40; }
.college-header__dropdown-trigger { display: block; }
.college-header__dropdown--open .college-header__dropdown-trigger {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.college-header__dropdown-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  padding: 40px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  text-transform: none;
}
@media (min-width: 1281px) {
  .college-header__dropdown-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 10px;
    content: "";
  }
}
.college-header__dropdown-menu--applicants {
  left: 50%;
  width: 327px;
  height: auto;
  margin-left: 1px;
  transform: translateX(-50%);
}
.college-header__dropdown-menu--official {
  left: -38.5px;
  width: 461px;
}
.college-header__dropdown-menu[hidden] { display: none; }
.college-header__dropdown-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 381px;
  margin: 0;
  padding: 0;
  color: var(--color-black);
  font-size: 18px;
  line-height: 1.2;
  list-style: none;
}
.college-header__dropdown-menu--applicants .college-header__dropdown-list { width: 247px; }
.college-header__dropdown-item,
.college-header__dropdown-link { height: auto; }
.college-header__dropdown-link { display: block; }
.college-header__actions { display: flex; align-items: center; gap: 10px; }
.college-header__icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 11px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.college-header__icon { width: 24px; height: 24px; object-fit: contain; }

.college-hero {
  display: grid;
  grid-template-columns: 1020px 500px;
  gap: 20px;
  min-height: 600px;
  margin-top: 20px;
}
.college-hero__main {
  position: relative;
  width: 1020px;
  min-height: 600px;
  overflow: hidden;
  border-radius: var(--radius-large);
}
.college-hero__image,
.college-hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.college-hero__image { object-fit: cover; }
.college-hero__overlay { background: linear-gradient(58.244deg, rgba(0, 0, 0, .5) 1.653%, transparent 89.686%); }
.college-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  min-height: 600px;
  padding: 40px;
  color: #fefcf9;
}
.college-hero__copy { display: flex; flex-direction: column; gap: 10px; width: 874px; }
.college-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 1.12; }
.college-hero__lead { width: 715px; font-size: 16px; }
.college-campaign {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  width: 500px;
  min-height: 600px;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius-large);
  background: #f4d2ab;
}
.college-campaign__pattern {
  position: absolute;
  top: 258.86px;
  left: 53.3px;
  width: 374.993px;
  height: 544.894px;
  max-width: none;
  transform: rotate(79.18deg);
}
.college-campaign__copy { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; gap: 20px; }
.college-campaign__title { overflow-wrap: anywhere; font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.college-campaign__fact { overflow-wrap: anywhere; font-size: 16px; }
.college-campaign__label { color: var(--color-muted); }
.college-campaign__button { position: relative; z-index: 1; width: 420px; flex: 0 0 auto; margin-top: auto; color: var(--color-black); }

.college-path {
  min-height: 566px;
  margin-top: 100px;
  padding: 60px 40px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}
.college-path__intro { display: flex; flex-direction: column; gap: 10px; width: 1130px; min-height: 212px; margin-bottom: -.75px; }
.college-path__title { width: 920px; font-family: "Playfair Display", serif; font-size: 48px; font-weight: 600; line-height: 58px; }
.college-path__grid { display: grid; grid-template-columns: repeat(4, 350px); grid-auto-rows: minmax(194px, auto); gap: 20px; min-height: 194px; margin-top: 40px; }
.college-principle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 194px;
  padding: 20px;
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-card);
}
.college-principle__icon,
.college-trust-card__icon { width: 30px; height: 30px; object-fit: contain; }
.college-principle__title { margin-top: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
.college-principle__description { margin-top: 5px; }

.school-mission--college { min-height: 424px; }
.school-mission--college .school-mission__body { min-height: 326px; }
.school-mission--college .school-mission__lead { min-height: 66px; }
.school-mission--college .mission-card--tall { min-height: 326px; }

.college-programs { display: flex; flex-direction: column; align-items: center; gap: 40px; min-height: 348px; margin-top: 100px; }
.college-programs__title { width: 100%; text-align: center; }
.college-programs__grid { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; width: 100%; min-height: 250px; }
.college-program {
  display: flex;
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-height: 250px;
  padding: 20px 20px 19.0625px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}
.college-program__intro { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.college-program__title { font-size: 24px; font-weight: 600; line-height: 32px; }
.college-program__meta { display: flex; flex-direction: column; gap: 5px; width: 100%; }

.college-admission { min-height: 782px; margin-top: 100px; }
.college-admission__grid {
  display: grid;
  grid-template-columns: repeat(4, 370px);
  grid-template-rows: repeat(2, minmax(332px, auto));
  gap: 20px;
  min-height: 684px;
  margin-top: 40px;
}
.college-admission__image { grid-column: span 2; width: 760px; height: 332px; border-radius: var(--radius-card); object-fit: cover; }
.admission-step {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 332px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(244, 210, 171, .2);
}
.admission-step__progress {
  display: block;
  width: 97px;
  height: 12px;
  flex: 0 0 12px;
  background: url("assets/images/home/journey-progress-1.svg") center / 100% 100% no-repeat;
}
.admission-step--two .admission-step__progress { background-image: url("assets/images/home/journey-progress-2.svg"); }
.admission-step--three .admission-step__progress { background-image: url("assets/images/home/journey-progress-3.svg"); }
.admission-step--four .admission-step__progress { background-image: url("assets/images/home/journey-progress-4.svg"); }
.admission-step--five .admission-step__progress { background-image: url("assets/images/home/journey-progress-5.svg"); }
.admission-step--six .admission-step__progress { background-image: url("assets/images/home/journey-progress-6.svg"); }
.admission-step__content { display: flex; width: 100%; min-width: 0; flex-direction: column; align-items: flex-start; gap: 20px; }
.admission-step__title { font-family: "Playfair Display", serif; font-size: 34px; font-weight: 600; line-height: 42px; }
.admission-step__button { margin-top: -10px; }

.college-preparation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 491px;
  margin-top: 100px;
  padding: 40px;
  border-radius: var(--radius-large);
  background: var(--color-card);
}
.college-preparation__content { display: flex; flex-direction: column; align-items: flex-start; width: 854px; min-height: 411px; }
.college-preparation__copy { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.college-preparation__list {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.college-preparation__item { padding: 10px 30px; border-radius: 60px; background: rgba(254, 252, 249, .72); }
.college-preparation__button { margin-top: auto; }
.college-preparation__image { width: 506px; height: 344px; border-radius: var(--radius-card); object-fit: cover; }

.college-trust { min-height: 530px; margin-top: 100px; }
.college-trust__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-height: 432px; margin-top: 40px; }
.audience-statement {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  background: linear-gradient(148.64deg, #dbb07d 30.65%, #f4d2ad 69.35%);
}
.audience-statement--college { width: 100%; min-height: 432px; padding: 20px; }
.audience-statement__copy { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.audience-statement__copy--college { width: min(100%, 646px); font-size: 18px; }
.college-trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(206px, auto)); gap: 20px; }
.college-trust-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 206px;
  padding: 20px;
  border: 1px solid var(--color-muted);
  border-radius: 20px;
}
.college-trust-card__title { color: var(--color-black); font-size: 24px; font-weight: 600; line-height: 32px; }
.college-trust-card__description { margin-top: 5px; color: var(--color-ink); font-size: 16px; line-height: 1.2; }

.college-director { display: grid; grid-template-columns: 500px 1020px; gap: 20px; min-height: 511px; margin-top: 100px; }
.college-director__media { position: relative; min-height: 511px; overflow: hidden; border-radius: var(--radius-large); }
.college-director__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.college-director__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  min-height: 511px;
  padding: 40px;
  border-radius: var(--radius-large);
  background: var(--color-footer);
}
.college-director__copy { display: flex; flex-direction: column; gap: 10px; }
.college-director__title { margin-bottom: 10px; }
.college-director__description { color: var(--color-ink); font-size: 18px; }
.college-director__quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(940px, 100%);
  min-width: 0;
  margin: 0;
  padding: 20px 150px;
  border-radius: var(--radius-card);
  background: rgba(158, 42, 43, .2);
  backdrop-filter: blur(5px);
  text-align: center;
}
.college-director__quote::before,
.college-director__quote::after {
  position: absolute;
  width: 27px;
  height: 20px;
  content: "";
  background: center / contain no-repeat;
}
.college-director__quote::before { top: 10px; left: 20px; background-image: url("assets/images/college/quote-close.svg"); }
.college-director__quote::after { right: 20px; bottom: 10px; background-image: url("assets/images/college/quote-open.svg"); }

.college-location { min-height: 548px; margin-top: 100px; }
.college-location__body { display: grid; grid-template-columns: 630px 890px; gap: 20px; min-height: 450px; margin-top: 40px; }
.college-location__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 450px;
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}
.college-location__content { display: flex; flex-direction: column; gap: 20px; width: 100%; font-size: 18px; }
.college-location__description { color: var(--color-ink); }
.college-location__details { display: flex; flex-direction: column; gap: 10px; width: 100%; color: #130d05; }
.location-map {
  height: 450px;
  overflow: hidden;
  background: var(--color-surface);
}
.location-map--college { width: 890px; border-radius: var(--radius-card); }
.location-map__frame { width: 100%; height: 100%; border: 0; }

.college-official { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 272px; margin-top: 100px; }
.college-official__copy { display: flex; flex-direction: column; align-items: flex-start; min-height: 202px; }
.college-official__description { width: 720px; margin-top: 20px; }
.college-official__button { margin-top: auto; }
.college-official__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(3, minmax(84px, auto)); gap: 10px 20px; min-height: 272px; }
.college-document {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 370px;
  min-height: 84px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}
.college-document__icon { width: 30px; height: 30px; object-fit: contain; }

.college-footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 349px;
  margin-top: 40px;
  padding: 0 0 20px;
  font-size: 16px;
}
.college-footer__main { display: flex; justify-content: space-between; min-height: 270px; margin-bottom: -1.5px; }

.college-footer__brand { display: flex; flex-direction: column; justify-content: space-between; width: 370px; min-height: 270px; }
.college-footer__logo { width: 370px; height: 113px; object-fit: contain; }
.college-footer__description { width: 300px; }
.college-footer__columns { display: flex; justify-content: space-between; width: 1020px; }
.college-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 240px; }
.college-footer__heading { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
.college-footer__address { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.college-footer__address-title { font-size: 18px; font-weight: 400; }
.college-footer__address-line { font-size: 12px; }
.college-footer__column--contacts { gap: 20px; }
.college-footer__contact-group,
.college-footer__address-group { display: flex; flex-direction: column; gap: 20px; width: 240px; }
.college-footer__heading--group { margin-bottom: 0; }
.college-footer__contact-list,
.college-footer__address-list { display: flex; flex-direction: column; gap: 10px; }
.college-footer__contact { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.college-footer__contact-icon,
.college-footer__mail-icon,
.college-footer__pin { width: 24px; height: 24px; flex: 0 0 24px; }
.college-footer__contact-icon { padding: 3px; object-fit: contain; }
.college-footer__mail-icon {
  background: url("assets/images/icon-mail-1.svg") center / 24px 24px no-repeat;
}
.college-footer__address { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
.college-footer__address-copy { display: flex; flex-direction: column; gap: 2px; width: 150px; }
.college-footer__pin { background-color: var(--color-gold); -webkit-mask: url("assets/images/icon-pin.svg") center / contain no-repeat; mask: url("assets/images/icon-pin.svg") center / contain no-repeat; }
.college-footer__bottom { display: flex; align-items: center; justify-content: space-between; min-height: 19px; margin-bottom: -.1875px; color: var(--color-muted); }
.college-footer__developer { display: flex; align-items: center; gap: 10px; }
.college-footer__developer-logo { width: 39px; height: 16px; }

/* College admissions page */
.admissions-page { overflow-x: hidden; color: var(--color-black); }

.admissions-hero {
  min-height: 339px;
  margin-top: 10px;
}

.admissions-hero__breadcrumb {
  width: 715px;
  min-height: 17px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 17px;
}

.admissions-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 1150px;
  min-height: 282px;
  margin-top: 40px;
}

.admissions-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 1150px;
  min-height: 215px;
  margin-bottom: -.75px;
}

.admissions-hero__title {
  min-height: 72px;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.admissions-hero__lead {
  min-height: 56px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.admissions-hero__actions {
  display: flex;
  gap: 10px;
  min-height: 47px;
}

.admissions-hero__question {
  padding: 14px 60px;
  color: var(--color-black);
  background: var(--color-footer);
}

.college-path--admissions { min-height: 536px; }
.college-path--admissions .college-path__intro { min-height: 154px; }
.college-path--admissions .college-path__title { width: 1130px; }
.college-path--admissions .college-path__grid { min-height: 222px; grid-auto-rows: minmax(222px, auto); }
.college-path--admissions .college-principle { min-height: 222px; }

.admissions-documents {
  display: grid;
  grid-template-columns: 506px 854px;
  gap: 100px;
  min-height: 643px;
  margin-top: 100px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-card);
}

.admissions-documents__image {
  width: 506px;
  height: 563px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.admissions-documents__content {
  display: flex;
  flex-direction: column;
  width: min(854px, 100%);
  min-width: 0;
  min-height: 563px;
}

.admissions-documents__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 76px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 22px;
}

.admissions-documents__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 347px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.admissions-documents__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  flex: 0 0 auto;
  padding: 10px 10px 9.8125px;
  border-radius: var(--radius-card);
  background: rgba(254, 252, 249, .72);
}

.admissions-documents__note {
  min-height: 22px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 22px;
}

.admissions-assessment .preparation-calm__intro { min-height: 164px; }

@media (max-width: 1280px) {
  .admissions-hero,
  .college-path--admissions,
  .admissions-documents,
  .admissions-assessment { height: auto; min-height: 0; margin-top: 64px; }
  .admissions-hero { margin-top: 20px; }
  .admissions-hero__breadcrumb,
  .admissions-hero__content,
  .admissions-hero__copy { width: 100%; height: auto; min-height: 0; }
  .admissions-hero__content { margin-top: 32px; }
  .admissions-hero__title,
  .admissions-hero__lead { height: auto; min-height: 0; }
  .admissions-hero__title { font-size: clamp(42px, 12vw, 64px); }
  .admissions-hero__actions { flex-direction: column; width: 100%; height: auto; }
  .admissions-hero__button { width: 100%; white-space: normal; text-align: center; }
  .college-path--admissions .college-path__intro,
  .college-path--admissions .college-path__title,
  .college-path--admissions .college-path__grid,
  .college-path--admissions .college-principle { width: 100%; height: auto; }
  .college-path--admissions .college-principle { min-height: 222px; }
  .admissions-documents { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
  .admissions-documents__image,
  .admissions-documents__content,
  .admissions-documents__intro,
  .admissions-documents__list { width: 100%; height: auto; min-height: 0; }
  .admissions-documents__image { aspect-ratio: 506 / 563; }
  .admissions-documents__item { width: 100%; height: auto; min-height: 39px; flex-basis: auto; }
  .admissions-documents__note { height: auto; min-height: 0; }
  .admissions-assessment .preparation-calm__intro { height: auto; min-height: 0; }
}

/* College director page */
.director-page { overflow-x: hidden; color: var(--color-black); }

.director-hero { display: grid; grid-template-columns: 890px 630px; gap: 20px; min-height: 600px; margin-top: 20px; }
.director-hero__panel { display: flex; flex-direction: column; align-items: flex-start; width: 890px; min-height: 600px; overflow: hidden; padding: 20px 20px 39.8125px; border-radius: var(--radius-large); background: var(--color-footer); }
.director-hero__breadcrumb { width: min(715px, 100%); min-width: 0; min-height: 17px; color: var(--color-muted); font-size: 14px; line-height: 17px; }
.director-hero__copy { display: flex; flex-direction: column; gap: 10px; width: 810px; min-height: 349px; margin: 107px 20px 0; }
.director-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 1.12; }
.director-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }
.director-hero__button { width: 230px; margin: 20px 20px 0; }
.director-hero__image { width: 630px; height: 600px; border-radius: var(--radius-large); object-fit: cover; }

.director-story { display: grid; grid-template-columns: 506px 854px; gap: 100px; min-height: 574px; margin-top: 40px; padding: 40px; border-radius: var(--radius-large); background: var(--color-footer); }
.director-story__image { width: 506px; height: 494px; border-radius: var(--radius-large); object-fit: cover; }
.director-story__content { display: flex; flex-direction: column; width: 854px; min-height: 494px; }
.director-story__copy { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; font-size: 18px; }
.director-story__facts { display: flex; width: min(817px, 100%); min-width: 0; flex-direction: column; gap: 10px; margin: 20px 0 0; }
.director-story__fact { display: flex; min-width: 0; flex-wrap: wrap; gap: 4px; min-height: 19px; }
.director-story__fact-label { color: var(--color-muted); font-weight: 400; }
.director-story__fact-value { min-width: 0; margin: 0; overflow-wrap: anywhere; }

.director-journey { min-height: 478px; margin-top: 100px; }
.director-journey__body { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 380px; margin-top: 40px; }
.director-journey__statement { display: flex; align-items: center; justify-content: center; width: 760px; min-height: 380px; padding: 20px; border-radius: var(--radius-large); background: linear-gradient(151.8deg, #dbb07d 30.65%, #f4d2ad 69.35%); }
.director-journey__statement-copy { display: flex; flex-direction: column; gap: 10px; width: 646px; font-size: 18px; text-align: center; }
.director-journey__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(2, minmax(180px, auto)); gap: 20px; }
.director-value-card { display: flex; flex-direction: column; justify-content: space-between; width: 370px; min-height: 180px; padding: 20px; border: 1px solid var(--color-muted); border-radius: var(--radius-card); }
.director-value-card__icon { width: 30px; height: 30px; object-fit: contain; }
.director-value-card__copy { display: flex; flex-direction: column; gap: 5px; }
.director-value-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.director-role { display: grid; grid-template-columns: 854px 506px; gap: 100px; min-height: 589px; margin-top: 100px; padding: 40px; border-radius: var(--radius-large); background: var(--color-footer); }
.director-role__content { display: flex; flex-direction: column; width: 854px; min-height: 509px; }
.director-role__copy { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; font-size: 18px; }
.director-role__tasks { display: grid; grid-template-rows: repeat(6, minmax(39px, auto)); gap: 5px; width: min(854px, 100%); min-width: 0; min-height: 259px; margin: 20px 0 0; padding: 0; list-style: none; }
.director-role__task { display: flex; min-width: 0; align-items: center; min-height: 39px; padding: 10px; border-radius: var(--radius-card); background: rgba(244, 210, 171, .2); backdrop-filter: blur(5px); overflow-wrap: anywhere; }
.director-role__image { width: 506px; height: 509px; border-radius: var(--radius-large); object-fit: cover; }

.director-potential { display: flex; flex-direction: column; gap: 40px; min-height: 489px; margin-top: 100px; padding: 60px 40px; border-radius: var(--radius-large); background: var(--color-surface); }
.director-potential__intro { display: flex; flex-direction: column; gap: 10px; width: 1130px; min-height: 154px; margin-bottom: -.75px; }
.director-potential__grid { display: grid; grid-template-columns: repeat(4, 350px); gap: 20px; min-height: 175px; }
.director-potential-card { width: 350px; min-height: 175px; padding: 20px 20px 17.4375px; border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: rgba(247, 243, 239, .2); }
.director-potential-card__icon { width: 30px; height: 30px; object-fit: contain; }
.director-potential-card__title { margin-top: 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
.director-potential-card__description { margin-top: 10px; }

.director-route { min-height: 465px; margin-top: 100px; }
.director-route__body { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 367px; margin-top: 40px; }
.director-route__start { width: 760px; min-height: 367px; }
.director-route__intro { display: flex; width: min(760px, 100%); min-width: 0; flex-direction: column; gap: 5px; min-height: 137px; font-size: 18px; }
.director-route__pair { display: grid; grid-template-columns: repeat(2, 370px); gap: 20px; width: 760px; min-height: 210px; margin-top: 20px; }
.director-route__pair--tall { min-height: 367px; margin-top: 0; }
.mission-card--route-short { min-height: 210px; }
.mission-card--route-tall { min-height: 367px; }
.mission-card__line-frame--route { width: 1581.182px; height: 532.194px; }
.mission-card__line-frame--route-one { top: -196px; left: -27.98px; }
.mission-card__line-frame--route-two { top: -196px; left: -417.98px; }
.mission-card__line-frame--route-three { top: -39px; left: -807.98px; }
.mission-card__line-frame--route-four { top: -39px; left: -1197.98px; }
.mission-card__line--route { width: 407.009px; height: 1553.186px; transform: rotate(85.33deg); }

.director-gallery { position: relative; min-height: 387px; margin-top: 100px; }
.director-gallery__intro { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 87px; margin-bottom: -.2px; }
.director-gallery__viewport { width: 1540px; height: 260px; margin-top: 40px; overflow: hidden; }
.director-gallery__track { width: max-content; }
.director-gallery__image { width: 500px; height: 260px; flex: 0 0 500px; border-radius: var(--radius-card); object-fit: cover; }
.director-gallery__arrow { top: 222px; }
.director-gallery__arrow--previous { left: -10px; }
.director-gallery__arrow--next { right: -10px; }

/* College preparation page */
.preparation-page { overflow-x: hidden; color: var(--color-black); }

.preparation-hero { min-height: 566px; margin-top: 10px; }
.preparation-hero__breadcrumb { width: 715px; min-height: 17px; color: var(--color-muted); font-size: 14px; line-height: 17px; }
.preparation-hero__content { display: flex; flex-direction: column; gap: 20px; width: 1150px; min-height: 509px; margin-top: 40px; }
.preparation-hero__copy { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 287px; }
.preparation-hero__title { font-family: "Playfair Display", serif; font-size: 64px; font-weight: 600; line-height: 1.12; }
.preparation-hero__lead { font-size: 20px; font-weight: 600; line-height: 28px; }
.preparation-hero__facts { display: flex; flex-direction: column; gap: 10px; width: 1150px; min-height: 135px; margin: 0; }
.preparation-hero__fact { display: flex; gap: 4px; min-height: 19px; }
.preparation-hero__fact-label { color: var(--color-muted); line-height: 19px; }
.preparation-hero__fact-value { margin: 0; line-height: 19px; }
.preparation-hero__actions { display: flex; gap: 10px; min-height: 47px; }
.preparation-hero__actions .button { padding-bottom: 13.8125px; }
.preparation-hero__question { padding: 14px 60px; color: var(--color-black); background: var(--color-footer); }

.preparation-audience { display: flex; flex-direction: column; gap: 40px; min-height: 498px; margin-top: 100px; padding: 60px 40px 59.4375px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-surface); }
.preparation-audience__intro { display: flex; flex-direction: column; gap: 10px; width: 1130px; min-height: 135px; }
.preparation-audience__grid { display: grid; grid-template-columns: repeat(4, 350px); gap: 20px; min-height: 203px; }
.college-principle--preparation { width: 350px; min-height: 203px; border-color: var(--color-muted); background: rgba(247, 243, 239, .2); }
.college-principle--preparation .college-principle__title { margin-top: 10px; }
.college-principle--preparation .college-principle__description { margin-top: 5px; }

.preparation-program { display: flex; flex-direction: column; align-items: center; gap: 40px; min-height: 370px; margin-top: 100px; }
.preparation-program__title { width: 100%; text-align: center; }
.preparation-program__grid { display: grid; grid-template-columns: repeat(3, 500px); grid-template-rows: repeat(2, minmax(126px, auto)); gap: 20px; width: 1540px; min-height: 272px; }
.preparation-program__card { display: flex; flex-direction: column; gap: 20px; width: 500px; min-height: 126px; padding: 20px 20px 19.625px; border-radius: var(--radius-card); background: rgba(219, 176, 125, .2); backdrop-filter: blur(5px); }
.preparation-program__title { font-size: 20px; font-weight: 600; line-height: 28px; }

.preparation-outcomes { min-height: 585px; margin-top: 100px; }
.preparation-outcomes__body { display: grid; grid-template-columns: repeat(2, 760px); gap: 20px; min-height: 487px; margin-top: 40px; }
.preparation-outcomes__visual { display: flex; flex-direction: column; gap: 20px; width: 760px; min-height: 487px; }
.preparation-outcomes__lead { min-height: 44px; font-size: 18px; }
.preparation-outcomes__image { width: 760px; height: 423px; border-radius: var(--radius-card); object-fit: cover; }
.preparation-outcomes__grid { display: grid; grid-template-columns: repeat(2, 370px); grid-template-rows: repeat(3, minmax(149px, auto)); gap: 20px; min-height: 487px; }
.info-card--preparation-outcome { gap: 20px; width: 370px; min-height: 149px; padding: 20px 20px 19.4375px; background: rgba(244, 210, 171, .2); backdrop-filter: blur(5px); }
.info-card--preparation-outcome .info-card__title { font-size: 24px; font-weight: 600; line-height: 32px; }

.preparation-format { min-height: 706px; margin-top: 100px; }
.preparation-format__grid { display: grid; grid-template-columns: repeat(3, 500px); grid-template-rows: repeat(2, minmax(294px, auto)); gap: 20px; width: 1540px; min-height: 608px; margin-top: 40px; }
.admission-step--preparation { width: 500px; min-height: 294px; }
.admission-step--preparation .admission-step__content { min-height: 142px; }
.preparation-format__image { width: 500px; height: 294px; border-radius: var(--radius-card); object-fit: cover; }

.preparation-exams { display: grid; grid-template-columns: 506px 854px; gap: 100px; min-height: 559px; margin-top: 100px; padding: 40px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-footer); }
.preparation-exams__image { width: 506px; height: 479px; border-radius: var(--radius-large); object-fit: cover; }
.preparation-exams__content { display: flex; flex-direction: column; gap: 20px; width: 854px; min-height: 479px; }
.preparation-exams__copy { display: flex; flex-direction: column; gap: 10px; min-height: 152px; font-size: 18px; }
.preparation-exams__list { display: grid; grid-template-columns: repeat(2, 424px); grid-auto-rows: minmax(39px, auto); gap: 5px; width: 854px; min-height: 171px; margin: 0; padding: 0; list-style: none; }
.preparation-exams__item { display: flex; align-items: center; width: 424px; min-height: 39px; padding: 10px 10px 9.8125px; border-radius: var(--radius-card); background: rgba(244, 210, 171, .2); backdrop-filter: blur(5px); }

.preparation-calm { display: grid; grid-template-columns: repeat(2, 740px); gap: 20px; min-height: 330px; margin-top: 100px; padding: 20px; overflow: hidden; border-radius: var(--radius-large); background: var(--color-surface); }
.preparation-calm__intro { display: flex; flex-direction: column; gap: 10px; width: 740px; min-height: 183px; }
.preparation-calm__grid { display: grid; grid-template-columns: repeat(2, 360px); grid-template-rows: repeat(2, minmax(135px, auto)); gap: 20px; width: 740px; min-height: 290px; }
.lesson-card--preparation { width: 360px; min-height: 135px; }

@media (max-width: 1500px) {
  .college-header__logo-link { width: auto; }
  .college-header__nav { gap: 12px; font-size: 14px; }
}

@media (max-width: 1280px) {
  .college-header { height: auto; }
  .college-header__notice { height: auto; padding: 12px; font-size: 12px; text-align: center; }
  .college-header__nav-row { height: auto; margin-top: 12px; flex-wrap: wrap; gap: 12px; }
  .college-header__logo { width: 150px; height: auto; }
  .college-header__nav { display: none; position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; width: auto; padding: 12px; border-radius: var(--radius-card); background: var(--color-page); box-shadow: 0 12px 32px rgba(19, 13, 5, .14); }
  .college-header__nav-link { padding: 10px 8px; white-space: normal; }
  .college-header__nav--open { display: flex; }
  .college-header__dropdown { width: 100%; }
  .college-header__dropdown-menu {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 4px;
    margin-left: 0;
    padding: 20px;
    transform: none;
  }
  .college-header__dropdown-list { width: 100%; font-size: 16px; }
  .college-header__dropdown-item,
  .college-header__dropdown-link { height: auto; }
  .college-header__dropdown-link { padding: 0; }
  .college-header__menu-toggle { display: grid; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid var(--color-accent); border-radius: 50%; color: var(--color-accent); background: var(--color-page); cursor: pointer; place-items: center; }
  .college-header__menu-toggle:focus-visible { outline: 3px solid #d98b8b; outline-offset: 3px; }
  .college-header__actions .button { display: none; }

  .college-hero,
  .college-path,
  .college-programs,
  .college-admission,
  .college-preparation,
  .college-trust,
  .college-director,
  .college-location,
  .college-official,
  .college-footer { height: auto; min-height: 0; margin-top: 64px; }
  .college-hero { grid-template-columns: 1fr; margin-top: 20px; }
  .college-hero__main, .college-campaign { width: 100%; }
  .college-hero__main { height: auto; min-height: min(600px, 145vw); }
  .college-hero__content {
    inset: auto;
    min-height: min(600px, 145vw);
    padding: 24px;
  }
  .college-hero__copy, .college-hero__lead { width: 100%; }
  .college-hero__title { font-size: clamp(38px, 11vw, 64px); }
  .college-campaign { height: auto; min-height: 540px; padding: 28px 20px; }
  .college-campaign__button { width: 100%; }

  .college-path { padding: 40px 20px; }
  .college-path__intro, .college-path__title { width: 100%; height: auto; min-height: 0; }
  .college-path__grid,
  .college-programs__grid,
  .college-admission__grid,
  .college-trust__body,
  .college-trust__grid,
  .college-director,
  .college-location__body,
  .college-official,
  .college-official__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .college-path__grid { margin-top: 32px; }
  .college-principle,
  .college-program,
  .admission-step,
  .college-admission__image,
  .college-trust-card,
  .college-director__image,
  .college-director__panel,
  .college-location__panel,
  .location-map--college,
  .college-official__copy,
  .college-document { width: 100%; height: auto; }
  .college-programs__grid,
  .college-admission__grid,
  .college-trust__body,
  .college-location__body,
  .college-official { margin-top: 28px; }
  .admission-step, .college-trust-card { min-height: 230px; }
  .school-mission--college { height: auto; min-height: 0; margin-top: 64px; }
  .school-mission--college .school-mission__body,
  .school-mission--college .school-mission__lead { height: auto; min-height: 0; }
  .school-mission--college .mission-card--tall { height: auto; min-height: 260px; }
  .college-admission__image { aspect-ratio: 16 / 9; }
  .college-admission__image { grid-column: auto; }

  .college-preparation { flex-direction: column; gap: 28px; padding: 32px 20px; }
  .college-preparation__content, .college-preparation__image { width: 100%; height: auto; min-height: 0; }
  .college-preparation__list { grid-template-columns: 1fr; width: 100%; }
  .college-preparation__button { width: 100%; margin-top: 28px; white-space: normal; text-align: center; }
  .audience-statement--college { width: 100%; height: auto; min-height: 360px; padding: 28px 20px; }
  .audience-statement__copy--college { width: 100%; }
  .college-director__media { width: 100%; min-height: 0; aspect-ratio: 1; }
  .college-director__image { height: 100%; }
  .college-director__panel { padding: 32px 20px; }
  .college-director__quote { width: 100%; padding: 20px 40px; }
  .college-location__panel { min-height: 360px; }
  .college-official__description { width: 100%; }
  .college-official__button { margin-top: 28px; }

  .college-footer { gap: 32px; padding-bottom: 24px; }
  .college-footer__main { flex-direction: column; gap: 40px; height: auto; min-height: 0; margin-bottom: 0; }
  .college-footer__main--with-contacts { margin-bottom: 0; }
  .college-footer__brand, .college-footer__columns { width: 100%; height: auto; }
  .college-footer__brand {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 0;
    gap: 16px;
  }
  .college-footer__logo { width: min(100%, 370px); height: auto; }
  .college-footer__description { width: min(100%, 370px); }
  .college-footer__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .college-footer__column { width: 100%; }
  .college-footer__column--contacts { grid-column: 1 / -1; }
  .college-footer__contact-group, .college-footer__address-group { width: 100%; }
  .college-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; height: auto; }
}

@media (max-width: 1280px) {
  .director-hero,
  .director-story,
  .director-journey,
  .director-role,
  .director-potential,
  .director-route,
  .director-gallery { height: auto; min-height: 0; margin-top: 64px; }
  .director-hero { grid-template-columns: 1fr; margin-top: 20px; }
  .director-hero__panel,
  .director-hero__image,
  .director-story__image,
  .director-story__content,
  .director-journey__statement,
  .director-role__content,
  .director-role__image,
  .director-potential__intro,
  .director-route__start,
  .director-route__intro,
  .director-route__pair,
  .director-gallery__intro,
  .director-gallery__viewport { width: 100%; height: auto; min-width: 0; min-height: 0; }
  .director-hero__panel { min-height: 650px; padding: 20px 20px 24px; }
  .director-hero__copy { width: auto; height: auto; min-height: 0; margin: 57px 0 0; }
  .director-hero__title { font-size: clamp(38px, 11vw, 64px); }
  .director-hero__button { width: auto; margin: auto 0 0; }
  .director-hero__image { aspect-ratio: 630 / 600; }

  .director-story,
  .director-role { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .director-story__image,
  .director-role__image { aspect-ratio: 506 / 494; }
  .director-story__fact { height: auto; flex-wrap: wrap; }

  .director-journey__body,
  .director-journey__grid,
  .director-potential__grid,
  .director-route__body,
  .director-route__pair { grid-template-columns: 1fr; grid-template-rows: none; width: 100%; height: auto; }
  .director-journey__statement { min-height: 380px; padding: 28px 20px; }
  .director-journey__statement-copy { width: 100%; }
  .director-value-card,
  .director-potential-card { width: 100%; }

  .director-role__tasks { grid-template-rows: none; width: 100%; height: auto; }
  .director-role__task { height: auto; min-height: 39px; }
  .director-potential { padding: 40px 20px; }
  .director-potential__grid { gap: 16px; }

  .director-route__intro { font-size: 16px; }
  .director-route__pair { gap: 16px; margin-top: 24px; }
  .director-route__pair--tall { margin-top: 16px; }
  .mission-card--route-short,
  .mission-card--route-tall { height: auto; min-height: 260px; }

  .director-gallery__viewport { margin-top: 28px; scrollbar-width: none; }
  .director-gallery__image { width: min(calc(100vw - 32px), 500px); height: auto; flex-basis: min(calc(100vw - 32px), 500px); aspect-ratio: 500 / 260; }
  .news-gallery__intro,
  .news-gallery__viewport { width: 100%; height: auto; }
  .news-gallery__viewport { margin-top: 28px; scrollbar-width: none; }
  .news-gallery__image { width: min(calc(100vw - 40px), 500px); height: auto; flex-basis: min(calc(100vw - 40px), 500px); aspect-ratio: 500 / 260; }
}

@media (max-width: 1280px) {
  .home-hero,
  .direction-picker,
  .professional,
  .home-courses,
  .journey,
  .trust,
  .teachers--home,
  .home-about,
  .addresses,
  .reviews,
  .home-news {
    height: auto;
    min-height: 0;
    margin-top: 64px;
  }

  .home-hero { margin-top: 20px; }
  .home-hero__top, .home-hero__promos { flex-direction: column; }
  .home-hero__main, .home-hero__pre-professional, .promo-card { width: 100%; }
  .home-hero__main { height: min(600px, 130vw); min-height: 0; padding: 24px; }
  .home-hero__heading, .home-hero__lead { width: 100%; }
  .home-hero__title { font-size: clamp(42px, 11vw, 64px); }
  .home-hero__pre-professional { height: auto; min-height: 500px; padding: 28px; }
  .home-hero__pre-copy, .home-hero__light-button { width: 100%; }
  .promo-card { height: auto; min-height: 248px; }

  .direction-picker, .home-courses { padding: 40px 20px; }
  .direction-picker__title, .home-courses__title { white-space: normal; }
  .direction-picker__tabs {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: -21px;
    padding-bottom: 1px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .direction-picker__tabs::-webkit-scrollbar { display: none; }
  .direction-picker__tab { padding-inline: 24px; }
  .direction-picker__grid, .home-courses__grid, .professional__grid, .journey__grid, .trust__body, .trust__grid, .home-about, .addresses__body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    min-height: 0;
  }

  .direction-card, .home-course, .professional__column, .professional__photo, .professional-card, .journey-card, .journey__image, .trust-card, .trust-statement, .home-about__panel, .home-about__image, .addresses__list, .addresses__map, .news-card, .news-card__image {
    width: 100%;
  }

  .professional__column { height: auto; min-height: 0; }
  .professional__photo, .professional-card { height: auto; min-height: 0; aspect-ratio: .9; }
  .journey__image { grid-column: auto; height: auto; aspect-ratio: 2; }
  .trust-statement { height: auto; min-height: 350px; padding: 32px; }
  .trust-statement__content { width: 100%; }
  .home-about__panel { height: auto; min-height: 0; padding: 28px 20px; }
  .home-about__intro, .home-about__mission { width: 100%; }
  .home-about__stats { grid-template-columns: 1fr; width: 100%; }
  .home-about__stat { width: 100%; }
  .home-about__image { height: auto; min-height: 0; align-self: auto; aspect-ratio: .68; }
  .addresses__list { height: auto; min-height: 0; }
  .addresses__map { height: auto; aspect-ratio: 2.2; }
  .reviews__heading, .home-news__heading { height: auto; min-height: 0; align-items: flex-start; gap: 16px; }
  .reviews__heading .button, .home-news__heading .button { display: none; }
  .reviews__viewport { width: 100%; margin-top: 28px; }
  .home-news__viewport { width: 100%; height: auto; min-height: 0; margin-top: 28px; }
  .news-card {
    width: min(calc(100vw - 32px), 620px);
    height: auto;
    min-height: 0;
    flex-basis: min(calc(100vw - 32px), 620px);
  }
  .news-card__image { height: auto; aspect-ratio: 500 / 264; }
}

@media (max-width: 1280px) {
  .preparation-hero,
  .preparation-audience,
  .preparation-program,
  .preparation-outcomes,
  .preparation-format,
  .preparation-exams,
  .preparation-calm { height: auto; min-height: 0; margin-top: 64px; }
  .preparation-hero { margin-top: 24px; }
  .preparation-hero__breadcrumb,
  .preparation-hero__content { position: static; width: 100%; height: auto; min-height: 0; }
  .preparation-hero__content { margin-top: 28px; }
  .preparation-hero__copy,
  .preparation-hero__facts { width: 100%; height: auto; min-height: 0; }
  .preparation-hero__title { font-size: clamp(42px, 12vw, 64px); line-height: 1.05; }
  .preparation-hero__fact { height: auto; flex-wrap: wrap; }
  .preparation-hero__actions { flex-direction: column; width: 100%; height: auto; }
  .preparation-hero__actions .button { width: 100%; padding-inline: 20px; white-space: normal; text-align: center; }

  .preparation-audience { padding: 40px 20px; }
  .preparation-audience__intro,
  .preparation-audience__grid,
  .preparation-program__grid,
  .preparation-outcomes__body,
  .preparation-outcomes__visual,
  .preparation-outcomes__grid,
  .preparation-format__grid,
  .preparation-exams__content,
  .preparation-exams__copy,
  .preparation-exams__list,
  .preparation-calm__intro,
  .preparation-calm__grid { width: 100%; height: auto; min-height: 0; }
  .preparation-audience__grid,
  .preparation-program__grid,
  .preparation-outcomes__body,
  .preparation-outcomes__grid,
  .preparation-format__grid,
  .preparation-exams,
  .preparation-exams__list,
  .preparation-calm,
  .preparation-calm__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .college-principle--preparation,
  .preparation-program__card,
  .info-card--preparation-outcome,
  .admission-step--preparation,
  .preparation-format__image,
  .preparation-exams__image,
  .preparation-exams__item,
  .lesson-card--preparation { width: 100%; height: auto; }
  .college-principle--preparation { min-height: 203px; }
  .preparation-program__title { text-align: left; }
  .preparation-program__card { min-height: 126px; }
  .preparation-outcomes__lead { height: auto; }
  .preparation-outcomes__image { width: 100%; height: auto; aspect-ratio: 760 / 423; }
  .info-card--preparation-outcome { min-height: 149px; }
  .admission-step--preparation { min-height: 294px; }
  .admission-step--preparation .admission-step__content { height: auto; }
  .preparation-format__image { aspect-ratio: 500 / 294; }

  .preparation-page__teachers { margin-top: 64px; }
  .preparation-exams { gap: 28px; padding: 28px 20px; }
  .preparation-exams__image { aspect-ratio: 506 / 479; }
  .preparation-exams__copy { font-size: 16px; }
  .preparation-exams__item { min-height: 39px; }
  .preparation-calm { gap: 28px; padding: 28px 20px; }
  .lesson-card--preparation { min-height: 135px; }
}

/* Tablet: reuse the content-safe mobile flow with a wider, fluid canvas. */
@media (min-width: 901px) and (max-width: 1280px) {
  .page-shell,
  .school-mission,
  .not-found-card {
    width: min(calc(100% - 48px), 1052px);
  }

  .slider-shell {
    width: min(calc(100% - 48px), 1052px);
  }

  .slider-shell__inner { width: 100%; }

  .benefits__grid,
  .audience__grid,
  .outcomes__grid,
  .lesson-flow__grid,
  .levels__grid,
  .halls__grid,
  .teacher-trust__grid,
  .teacher-directory__grid,
  .teaching-approach__grid,
  .age-group__grid,
  .applicant-training__list,
  .awards-summary__grid,
  .awards-gallery,
  .license-overview__grid,
  .documents__grid,
  .license-importance__grid,
  .school-audience__grid,
  .school-director__facts,
  .school-format__grid,
  .school-mission__body,
  .school-mission__pair,
  .halls-overview__grid,
  .location-card__features,
  .hall-equipment__grid,
  .direction-picker__grid,
  .professional__grid,
  .home-courses__grid,
  .journey__grid,
  .trust__grid,
  .home-about__stats,
  .news-directory,
  .college-path__grid,
  .college-programs__grid,
  .college-admission__grid,
  .college-trust__grid,
  .college-official__grid,
  .director-journey__grid,
  .director-potential__grid,
  .preparation-audience__grid,
  .preparation-program__grid,
  .preparation-outcomes__grid,
  .preparation-format__grid,
  .preparation-exams__list,
  .preparation-calm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-course,
  .home-course--wide,
  .news-directory .news-card {
    width: 100%;
    flex-basis: auto;
  }

  .teacher-directory__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .school-mission__body { grid-template-columns: 1fr; }
  .school-mission__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey__image { grid-column: span 2; }
  .college-admission__image { grid-column: span 2; }
  .college-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Compact desktop: preserve the desktop composition while making its tracks fluid. */
@media (min-width: 1281px) and (max-width: 1600px) {
  .page-shell,
  .not-found-card {
    width: calc(100% - 64px);
    height: auto;
  }

  .slider-shell {
    width: calc(100% - 32px);
    height: auto;
  }

  .slider-shell__inner { width: calc(100% - 32px); }

  .page-shell *,
  .slider-shell * { min-width: 0; }

  .page-shell h1,
  .page-shell h2,
  .page-shell h3,
  .slider-shell h1,
  .slider-shell h2,
  .slider-shell h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .page-shell .home-hero__title {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .benefits__grid,
  .lesson-flow__grid,
  .levels__grid,
  .teacher-directory__grid,
  .awards-gallery,
  .direction-picker__grid,
  .professional__grid,
  .journey__grid,
  .college-path__grid,
  .college-admission__grid,
  .director-potential__grid,
  .preparation-audience__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .program__list,
  .applicant-training__list,
  .documents__grid,
  .school-format__grid,
  .location-card__features,
  .home-about__stats,
  .news-directory,
  .college-preparation__list,
  .preparation-program__grid,
  .preparation-format__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trial,
  .audience,
  .audience__grid,
  .outcomes__body,
  .outcomes__grid,
  .teacher-trust,
  .teacher-trust__grid,
  .teaching-approach,
  .teaching-approach__grid,
  .age-approach__groups,
  .age-group__grid,
  .awards-summary,
  .awards-summary__grid,
  .license-overview,
  .license-overview__grid,
  .license-importance,
  .license-importance__grid,
  .school-audience,
  .school-audience__grid,
  .school-director,
  .school-director__facts,
  .school-mission__body,
  .school-mission__pair,
  .school-roots__grid,
  .school-leaders,
  .halls-overview,
  .halls-overview__grid,
  .hall-equipment__body,
  .hall-equipment__grid,
  .halls__grid,
  .trust__body,
  .trust__grid,
  .college-programs__grid,
  .college-trust__body,
  .college-trust__grid,
  .college-official,
  .college-official__grid,
  .director-journey__body,
  .director-journey__grid,
  .director-route__body,
  .director-route__pair,
  .preparation-exams__list,
  .preparation-outcomes__body,
  .preparation-outcomes__grid,
  .preparation-calm,
  .preparation-calm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq__body,
  .about-school,
  .home-about,
  .college-hero {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .service-hero,
  .about-hero,
  .news-detail-hero,
  .director-hero {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  }

  .program__body,
  .applicant-training,
  .admissions-documents,
  .director-story,
  .preparation-exams {
    grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
  }

  .education-system,
  .director-role {
    grid-template-columns: minmax(0, 63fr) minmax(0, 37fr);
  }

  .location-card { grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); }
  .location-card--reverse { grid-template-columns: minmax(0, 59fr) minmax(0, 41fr); }
  .college-director { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .college-location__body { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .addresses__body { grid-template-columns: minmax(280px, 1fr) minmax(0, 3fr); }

  .admissions-documents__image,
  .admissions-documents__content,
  .admissions-documents__list,
  .admissions-documents__item,
  .preparation-exams__item {
    width: 100%;
    max-width: 100%;
  }

  .root-card,
  .leader-card {
    grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr);
  }

  .root-card__image,
  .leader-card__image {
    width: 100%;
    max-width: 100%;
  }

  .benefits__grid,
  .faq__body,
  .trial,
  .audience,
  .outcomes__body,
  .lesson-flow__grid,
  .program__body,
  .program__list,
  .levels__grid,
  .halls__grid,
  .teacher-trust,
  .teacher-trust__grid,
  .teacher-directory__grid,
  .teaching-approach,
  .teaching-approach__grid,
  .age-approach__groups,
  .age-group__grid,
  .applicant-training,
  .applicant-training__list,
  .awards-summary,
  .awards-summary__grid,
  .awards-gallery,
  .license-overview,
  .license-overview__grid,
  .documents__grid,
  .license-importance,
  .license-importance__grid,
  .education-system,
  .school-audience,
  .school-audience__grid,
  .about-school,
  .school-director,
  .school-director__facts,
  .school-format__grid,
  .school-mission__body,
  .school-mission__pair,
  .school-roots__grid,
  .school-leaders,
  .halls-overview,
  .halls-overview__grid,
  .location-card,
  .location-card__features,
  .hall-equipment__body,
  .hall-equipment__grid,
  .direction-picker__grid,
  .professional__grid,
  .home-courses__grid,
  .journey__grid,
  .trust__body,
  .trust__grid,
  .home-about,
  .home-about__stats,
  .addresses__body,
  .news-directory,
  .news-detail-hero,
  .college-hero,
  .college-path__grid,
  .college-programs__grid,
  .college-admission__grid,
  .college-trust__body,
  .college-trust__grid,
  .college-director,
  .college-location__body,
  .college-official,
  .college-official__grid,
  .director-hero,
  .director-story,
  .director-journey__body,
  .director-journey__grid,
  .director-role,
  .director-potential__grid,
  .director-route__body,
  .director-route__pair,
  .preparation-audience__grid,
  .preparation-program__grid,
  .preparation-outcomes__body,
  .preparation-outcomes__grid,
  .preparation-format__grid,
  .preparation-exams,
  .preparation-exams__list,
  .preparation-calm,
  .preparation-calm__grid {
    max-width: 100%;
    height: auto;
    grid-template-rows: none;
  }

  .benefit-column,
  .benefit-column__image,
  .benefit-card,
  .faq__list,
  .faq__image,
  .trial__image,
  .trial__panel,
  .trial-form,
  .service-hero__panel,
  .service-hero__image,
  .audience__intro,
  .audience__grid,
  .info-card--audience,
  .info-card--outcome,
  .outcomes__visual,
  .outcomes__grid,
  .lesson-card,
  .level-card,
  .program__image,
  .program__content,
  .teacher-trust__intro,
  .teacher-trust-card,
  .teacher-trust__grid,
  .teacher-card--directory,
  .teaching-approach__intro,
  .teaching-approach__grid,
  .teaching-approach-card,
  .age-group,
  .age-group__intro,
  .age-group__grid,
  .age-card,
  .applicant-training__image,
  .applicant-training__content,
  .applicant-training__list,
  .awards-summary__intro,
  .awards-summary__grid,
  .achievement-card,
  .license-overview__intro,
  .license-overview__grid,
  .license-info-card,
  .document-card,
  .license-importance__intro,
  .license-importance__grid,
  .importance-card,
  .education-system__content,
  .education-system__image,
  .about-hero__panel,
  .about-hero__image,
  .school-audience__intro,
  .school-audience__grid,
  .school-audience-card,
  .about-school__panel,
  .about-school__image,
  .school-director__bio,
  .school-director__facts,
  .director-fact,
  .format-card,
  .mission-card,
  .root-card,
  .leader-card,
  .halls-overview__intro,
  .halls-overview__grid,
  .hall-benefit,
  .location-card__content,
  .location-card__image,
  .hall-equipment__visual,
  .hall-equipment__grid,
  .hall-card,
  .equipment-card,
  .professional__column,
  .professional__photo,
  .professional-card,
  .journey-card,
  .journey__image,
  .trust-card,
  .trust-statement,
  .trust__grid,
  .home-about__panel,
  .home-about__image,
  .addresses__list,
  .addresses__map,
  .news-detail-hero__panel,
  .news-detail-hero__image,
  .college-hero__main,
  .college-campaign,
  .college-principle,
  .college-program,
  .admission-step,
  .college-admission__image,
  .college-trust-card,
  .college-director__image,
  .college-director__panel,
  .college-location__panel,
  .location-map--college,
  .college-official__copy,
  .college-document,
  .director-hero__panel,
  .director-hero__image,
  .director-story__image,
  .director-story__content,
  .director-journey__statement,
  .director-value-card,
  .director-role__content,
  .director-role__image,
  .director-potential-card,
  .director-route__start,
  .director-route__pair,
  .preparation-outcomes__visual,
  .preparation-outcomes__grid,
  .college-principle--preparation,
  .preparation-program__card,
  .info-card--preparation-outcome,
  .admission-step--preparation,
  .preparation-format__image,
  .preparation-exams__image,
  .preparation-exams__content,
  .preparation-exams__list,
  .preparation-calm__intro,
  .preparation-calm__grid {
    width: 100%;
    max-width: 100%;
  }

  .teachers-hero__copy,
  .news-hero__copy,
  .license-intro__copy,
  .about-seo__copy,
  .halls-seo__copy,
  .news-article,
  .news-article__copy,
  .college-hero__copy,
  .college-hero__lead,
  .college-path__intro,
  .college-path__title,
  .college-official__description,
  .director-hero__copy,
  .preparation-hero__copy,
  .preparation-hero__facts {
    max-width: 100%;
  }

  .home-hero__main { flex: 1 1 1020px; }
  .home-hero__pre-professional { flex: 0 0 500px; }
  .promo-card { flex: 1 1 0; }

  .home-hero__heading,
  .home-hero__lead,
  .home-hero__pre-copy,
  .home-hero__light-button,
  .home-about__intro,
  .home-about__mission,
  .trust-statement__content { width: 100%; }

  .home-course,
  .home-course--wide {
    width: calc((100% - 60px) / 4);
    flex: 1 1 calc((100% - 60px) / 4);
  }

  .news-card { width: 100%; }
  .teachers__viewport,
  .about-team__viewport,
  .service-gallery__viewport,
  .director-gallery__viewport,
  .news-gallery__viewport,
  .home-news__viewport,
  .reviews__viewport {
    width: 100%;
    max-width: 100%;
  }
  .teachers-page__trial,
  .teachers-page__footer { left: 0; }

  .site-footer__main { gap: 40px; }
  .college-footer__main { gap: 32px; }

  .site-footer__brand,
  .college-footer__brand {
    width: min(28%, 370px);
    flex: 0 1 370px;
  }

  .site-footer__columns,
  .college-footer__columns {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-footer__column,
  .college-footer__column {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }

  .college-footer__column--contacts,
  .college-footer__contact-group,
  .college-footer__contact-list,
  .college-footer__address-group,
  .college-footer__address-list { width: auto; }

  .college-footer__contact {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .not-found-card { overflow: hidden; }
  .not-found-card__inner { gap: clamp(32px, 6vw, 100px); }
  .not-found-card__content {
    width: min(38%, 507px);
    flex: 0 1 507px;
  }
  .not-found-card__image {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  .not-found-card__decor { right: -12px; left: auto; }

  .college-campaign__button {
    max-width: 100%;
    padding-inline: 20px;
    white-space: normal;
    text-align: center;
  }

  .college-director__image { height: 100%; }
}

/* Narrow mobile: keep long labels and carousel slides inside the device canvas. */
@media (max-width: 480px) {
  .page-shell *,
  .slider-shell * { min-width: 0; }

  .page-shell h1,
  .page-shell h2,
  .page-shell h3,
  .slider-shell h1,
  .slider-shell h2,
  .slider-shell h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .carousel__viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .carousel__track { width: 100%; }

  .carousel__slide {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .teacher-card__image,
  .teacher-card__copy { width: 100%; }

  .reviews,
  .reviews__viewport { height: auto; }

  .reviews__track { align-items: flex-start; }

  .review-card { height: auto; }

  .review-card__text,
  .review-card:not(.review-card--wide) .review-card__text {
    display: block;
    height: auto;
    flex: 0 0 auto;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-height: 1.3;
    text-overflow: clip;
  }

  .review-card__footer { margin-top: auto; }

  .promo-card__copy { width: 100%; }

  .home-hero__pre-professional,
  .promo-card,
  .mission-card { contain: paint; }

  .home-hero__pattern,
  .promo-card__pattern {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mission-card__line-frame {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mission-card__line {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .license-overview,
  .license-overview__grid {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero,
  .about-school {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero__breadcrumb {
    width: calc(100% - 40px);
    overflow-wrap: anywhere;
  }

  .license-overview__title,
  .privacy-section h1,
  .privacy-section h2 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .college-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .college-footer__column,
  .college-footer__link,
  .college-footer__contact { overflow-wrap: anywhere; }
}

@media (max-width: 359px) {
  .college-footer__columns { grid-template-columns: 1fr; }
  .college-footer__column--contacts { grid-column: auto; }
}

/* Responsive system: shared navigation and content rhythm. */
@media (max-width: 1280px) {
  .site-header__nav-row,
  .college-header__nav-row {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .site-header__logo-link,
  .college-header__logo-link {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header__actions,
  .college-header__actions {
    display: flex;
    min-width: max-content;
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
  }

  .site-header__menu-toggle,
  .college-header__menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--color-accent);
    background: transparent;
    cursor: pointer;
    place-items: center;
  }

  .college-header__icon-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    padding: 9px;
  }

  .site-header__menu-icon,
  .college-header__menu-icon {
    position: relative;
    display: block;
    width: 30px;
    height: 20px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
  }

  .site-header__menu-line,
  .college-header__menu-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: translateY(-50%);
    transition: opacity 700ms ease, transform 700ms ease;
  }

  .site-header__menu-line--top,
  .college-header__menu-line--top {
    top: 1px;
    opacity: 1;
    transition-delay: 700ms;
  }

  .site-header__menu-line--middle,
  .college-header__menu-line--middle { top: 50%; }

  .site-header__menu-line--bottom,
  .college-header__menu-line--bottom {
    top: calc(100% - 1px);
    opacity: 1;
    transition-delay: 700ms;
  }

  .site-header__menu-line--middle::before,
  .college-header__menu-line--middle::before {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: currentColor;
    transform: rotate(90deg);
    transition: top 700ms ease;
    transition-delay: 500ms;
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line--top,
  .college-header__menu-toggle[aria-expanded="true"] .college-header__menu-line--top {
    opacity: 0;
    transform: translate(110%, -50%);
    transition-delay: 0s;
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line--middle,
  .college-header__menu-toggle[aria-expanded="true"] .college-header__menu-line--middle {
    transform: translateY(-50%) rotate(405deg);
    transition-delay: 500ms;
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line--bottom,
  .college-header__menu-toggle[aria-expanded="true"] .college-header__menu-line--bottom {
    opacity: 0;
    transform: translate(-110%, -50%);
    transition-delay: 0s;
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line--middle::before,
  .college-header__menu-toggle[aria-expanded="true"] .college-header__menu-line--middle::before {
    top: 0;
    transition-delay: 700ms;
  }

  .site-header__nav,
  .college-header__nav {
    position: fixed;
    z-index: 30;
    display: block;
    top: var(--mobile-menu-top, 180px);
    right: auto;
    bottom: var(--mobile-menu-bottom, 16px);
    left: var(--mobile-menu-left, 16px);
    width: var(--mobile-menu-width, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 2px 10px rgba(82, 102, 172, 0);
    text-align: left;
    pointer-events: none;
    visibility: hidden;
    transition:
      box-shadow 200ms ease,
      visibility 0s linear 800ms;
    isolation: isolate;
  }

  .site-header__nav::before,
  .site-header__nav::after,
  .college-header__nav::before,
  .college-header__nav::after {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-bottom-right-radius: 200%;
    content: "";
    transition:
      border-radius 800ms linear,
      width 600ms cubic-bezier(.77, 0, .175, 1),
      height 600ms cubic-bezier(.77, 0, .175, 1);
  }

  .site-header__nav::before,
  .college-header__nav::before {
    background: var(--color-card);
    transition-delay: 200ms;
  }

  .site-header__nav::after,
  .college-header__nav::after { background: var(--color-footer); }

  .site-header__nav--open,
  .college-header__nav--open {
    box-shadow:
      6px 7px 28px rgba(50, 20, 20, .18),
      0 0 0 100vmax rgba(35, 15, 13, .09);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .site-header__nav--open::before,
  .site-header__nav--open::after,
  .college-header__nav--open::before,
  .college-header__nav--open::after {
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }

  .site-header__nav--open::before,
  .college-header__nav--open::before { transition-delay: 0s; }

  .site-header__nav--open::after,
  .college-header__nav--open::after { transition-delay: 100ms; }

  .site-header__menu-content,
  .college-header__menu-content {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    scrollbar-width: none;
    transition: visibility 0s linear 800ms;
  }

  .site-header__menu-content::-webkit-scrollbar,
  .college-header__menu-content::-webkit-scrollbar,
  .site-header__menu-shortcuts::-webkit-scrollbar { display: none; }

  .site-header__nav--open .site-header__menu-content,
  .college-header__nav--open .college-header__menu-content {
    visibility: visible;
    transition-delay: 0s;
  }

  .site-header__menu-content > *,
  .college-header__menu-content > * {
    opacity: 0;
    transform: translateX(30px);
    transition:
      opacity 200ms ease,
      transform 200ms ease;
  }

  .site-header__nav--open .site-header__menu-content > *,
  .college-header__nav--open .college-header__menu-content > * {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity 300ms ease,
      transform 300ms ease;
    transition-delay: calc(700ms + var(--menu-item-index, 0) * 100ms);
  }

  .site-header__menu-shortcuts {
    display: flex;
    min-height: 44px;
    flex: 0 0 auto;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0 0 8px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    text-transform: none;
  }

  .site-header__menu-shortcuts-item { flex: 0 0 auto; scroll-snap-align: start; }

  .site-header__menu-shortcut {
    display: flex;
    min-width: 44px;
    min-height: 35px;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border: 1px solid var(--color-accent);
    border-radius: 30px;
    color: var(--color-accent);
    background: var(--color-page);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .site-header__directions { display: block; }
  .site-header__directions-source-link.site-header__nav-link { display: none; }

  .site-header__directions-toggle {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid rgba(150, 106, 87, .14);
    color: inherit;
    background: transparent;
    font: inherit;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
  }

  .site-header__directions-icon { width: 16px; height: 16px; flex: 0 0 16px; }
  .site-header__directions--open .site-header__directions-toggle { color: var(--color-accent); }

  .site-header__directions-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 600ms cubic-bezier(.77, 0, .175, 1),
      opacity 240ms ease;
  }

  .site-header__directions--open .site-header__directions-panel {
    max-height: 1200px;
    opacity: 1;
  }

  .site-header__directions-panel-inner {
    min-height: 0;
    overflow: hidden;
    padding: 16px 0 8px 24px;
    text-transform: none;
  }

  .site-header__directions-group { margin-bottom: 20px; }
  .site-header__directions-group:last-of-type { margin-bottom: 16px; }

  .site-header__directions-heading {
    margin: 0 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }

  .site-header__directions-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-header__directions-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 0;
    color: #000;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }

  .site-header__directions-page-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 0;
    color: #000;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-transform: none;
  }

  .site-header__directions-page-link:hover { color: var(--color-accent); }

  .site-header__nav-link,
  .college-header__nav-link,
  .college-header__dropdown-trigger {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(150, 106, 87, .14);
    line-height: 1.25;
    text-align: left;
    white-space: normal;
  }

  .site-header__menu-content > :last-child,
  .college-header__menu-content > :last-child { border-bottom: 0; }

  .site-header__nav-button {
    border-bottom: 1px solid rgba(150, 106, 87, .14);
    border-radius: 0;
    color: inherit;
    background: transparent;
    text-align: left;
  }

  .menu-contacts {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 12px 4px;
    border-top: 1px solid rgba(150, 106, 87, .14);
    text-align: left;
    text-transform: none;
  }

  .menu-contacts__heading {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  .menu-contacts__heading--addresses { margin-top: 10px; }
  .menu-contacts__list,
  .menu-contacts__addresses { display: flex; flex-direction: column; gap: 10px; }

  .menu-contacts__contact,
  .menu-contacts__address { min-height: 24px; }

  .menu-contacts__contact { display: flex; align-items: center; }
  .menu-contacts__address { display: flex; flex-direction: column; gap: 2px; }
  .menu-contacts__address-title { font-size: 18px; font-weight: 400; }
  .menu-contacts__address-line { font-size: 12px; }
  .menu-contacts__socials { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 10px; }
  .menu-contacts__social {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .menu-contacts__social--pinterest,
  .menu-contacts__social--youtube { border: 1px solid var(--color-accent); }
  .menu-contacts__social-icon {
    display: block;
    object-fit: contain;
  }

  .menu-contacts__social-icon--vk,
  .menu-contacts__social-icon--telegram { width: 48px; height: 48px; }
  .menu-contacts__social-icon--pinterest { width: 16px; height: 16px; }
  .menu-contacts__social-icon--youtube { width: 23px; height: 16px; }

  body.mobile-menu-open { overflow: hidden; }

  .college-header__dropdown { width: 100%; }
  .college-header__dropdown-trigger { padding: 11px 12px; }
  .college-header__dropdown--open .college-header__dropdown-trigger {
    color: var(--color-accent);
    text-decoration: none;
  }
  .college-header__dropdown-menu {
    margin-top: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    opacity: 0;
    transition:
      max-height 600ms cubic-bezier(.77, 0, .175, 1),
      opacity 240ms ease;
  }
  .college-header__dropdown--open .college-header__dropdown-menu {
    max-height: 600px;
    opacity: 1;
  }
  .college-header__dropdown-list {
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 8px 24px;
    font-size: 14px;
    text-align: left;
  }
  .college-header__dropdown-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__nav,
  .college-header__nav,
  .site-header__nav::before,
  .site-header__nav::after,
  .college-header__nav::before,
  .college-header__nav::after,
  .site-header__menu-content,
  .college-header__menu-content,
  .site-header__menu-content > *,
  .college-header__menu-content > *,
  .site-header__menu-line,
  .college-header__menu-line,
  .site-header__menu-line--middle::before,
  .college-header__menu-line--middle::before,
  .site-header__directions-panel {
    transition-delay: 0s;
    transition-duration: .01ms;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .page-shell,
  .not-found-card,
  .about-hero,
  .school-audience,
  .about-school,
  .school-director,
  .school-format,
  .school-mission,
  .school-roots,
  .school-equipment,
  .school-students,
  .school-leaders,
  .about-seo,
  .halls-hero,
  .halls-overview,
  .location-card,
  .hall-equipment,
  .halls-faq,
  .halls-seo,
  .hall-gallery {
    width: min(calc(100% - 48px), 852px);
  }

  .slider-shell { width: min(calc(100% - 48px), 852px); }
  .slider-shell__inner { width: 100%; }

  .teacher-directory__grid,
  .awards-gallery,
  .news-directory,
  .documents__grid,
  .college-path__grid,
  .college-programs__grid,
  .college-admission__grid,
  .preparation-program__grid,
  .preparation-format__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-directory .news-card {
    width: 100%;
    flex-basis: auto;
  }

  .school-mission__body { grid-template-columns: 1fr; }
  .school-mission__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  :root {
    --radius-large: 24px;
    --radius-card: 16px;
  }

  body {
    font-size: 15px;
    line-height: 1.42;
  }

  p,
  li,
  dd { line-height: 1.42; }

  .page-shell,
  .slider-shell,
  .not-found-card,
  .about-hero,
  .school-audience,
  .about-school,
  .school-director,
  .school-format,
  .school-mission,
  .school-roots,
  .school-equipment,
  .school-students,
  .school-leaders,
  .about-seo,
  .halls-hero,
  .halls-overview,
  .location-card,
  .hall-equipment,
  .halls-faq,
  .halls-seo,
  .hall-gallery {
    width: min(calc(100% - 32px), 620px);
  }

  .slider-shell__inner { width: 100%; }

  .home-news__media {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 28px;
    container-type: inline-size;
  }
  .home-news__media .home-news__viewport { margin-top: 0; }
  .home-news__arrow { top: calc(26.4cqw - 15px); }

  main > section:not(:first-child) { margin-top: 56px; }

  .home-about__button { width: 100%; }

  .section-title {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.08;
  }

  :is(
    .home-hero__title,
    .service-hero__title,
    .teachers-hero__title,
    .awards-hero__title,
    .license-intro__title,
    .about-hero__title,
    .halls-hero__title,
    .news-hero__title,
    .news-detail-hero__title,
    .college-hero__title,
    .admissions-hero__title,
    .director-hero__title,
    .preparation-hero__title,
    .privacy-section h1,
    .not-found-card__title
  ) {
    font-size: clamp(36px, 10vw, 42px);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .privacy-section h1 {
    font-size: clamp(30px, 8.5vw, 36px);
    overflow-wrap: anywhere;
  }

  .privacy-section {
    width: min(calc(100% - 32px), 620px);
  }

  .privacy-section h2 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .page-shell h1,
  .page-shell h2,
  .page-shell h3,
  .slider-shell h1,
  .slider-shell h2,
  .slider-shell h3 {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .button {
    min-height: 48px;
    padding: 13px 20px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  main .button { max-width: 100%; }

  .site-header__notice,
  .college-header__notice {
    min-height: 44px;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    line-height: 1.25;
    text-align: left;
  }

  .site-header__notice-text,
  .college-header__notice-text {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header__notice-link,
  .college-header__notice-link {
    min-height: 36px;
    flex: 0 0 auto;
    align-content: center;
    padding: 8px 0;
    font-size: 11px;
    text-align: right;
    white-space: nowrap;
  }

  .college-header__notice-link {
    width: 62px;
    flex-basis: 62px;
    line-height: 1.15;
    white-space: normal;
  }

  .site-header__nav-row,
  .college-header__nav-row {
    min-height: 60px;
    height: 60px;
    margin-top: 6px;
  }

  .site-header__logo { width: 132px; }
  .college-header__logo { width: 136px; }

  .site-header__actions .button--header {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .site-header__menu-toggle,
  .college-header__menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .college-header__icon-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    padding: 8px;
  }

  .college-header__icon {
    width: 20px;
    height: 20px;
  }

  .site-header__menu-icon,
  .college-header__menu-icon {
    width: 30px;
    height: 20px;
  }

  .site-header__nav,
  .college-header__nav { width: var(--mobile-menu-width, calc(100vw - 48px)); }

  .faq__body { gap: 20px; margin-top: 24px; }
  .faq-item,
  .faq-item--open { height: auto; }
  .faq-item__button {
    min-height: 48px;
    height: auto;
    gap: 12px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.3;
  }
  .faq-item--open .faq-item__answer,
  .faq-item__answer { height: auto; padding: 0 16px 16px; }

  .trial { gap: 16px; }
  .trial__image { aspect-ratio: 4 / 3; }
  .trial__panel { gap: 20px; padding: 24px 16px; }
  .trial__title { font-size: 30px; line-height: 1.1; }
  .trial-form { gap: 12px; }
  .trial-form__field { height: auto; }
  .trial-form__field--message { height: auto; }
  .trial-form__input { min-height: 48px; height: 48px; padding: 12px 16px; }
  .trial-form__textarea { min-height: 112px; height: 112px; }
  .trial-form__consent { align-items: flex-start; font-size: 12px; line-height: 1.35; }

  .teacher-trust__intro,
  .awards-summary__intro,
  .license-overview__intro,
  .school-audience__intro,
  .halls-overview__intro,
  .audience__intro {
    min-height: 0;
    padding: 28px 20px;
  }

  .college-campaign,
  .college-location__panel,
  .audience-statement--college {
    height: auto;
    min-height: 0;
  }

  .teacher-directory__grid,
  .awards-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .teacher-card--directory {
    width: 100%;
    height: auto;
    min-width: 0;
  }
  .teacher-card--directory .teacher-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 37 / 40;
  }
  .teacher-card--directory .teacher-card__copy {
    width: 100%;
    height: auto;
    min-height: 92px;
    padding: 10px 8px;
  }
  .teacher-card--directory .teacher-card__name {
    font-size: 15px;
    line-height: 1.2;
  }
  .teacher-card--directory .teacher-card__role,
  .teacher-card--directory .teacher-card__experience {
    font-size: 11px;
    line-height: 1.3;
  }

  .awards-gallery__image {
    width: 100%;
    aspect-ratio: 370 / 493;
  }

  .service-facts__row { grid-template-columns: minmax(96px, 34%) 1fr; gap: 10px; }

  .college-hero__title { font-size: clamp(30px, 8vw, 34px); }
  .college-path__title {
    font-size: clamp(30px, 8vw, 34px);
    line-height: 1.08;
  }

  .direction-picker__tab {
    min-height: 44px;
    flex: 0 0 auto;
    padding: 10px 20px;
  }

  .home-hero__pre-professional .home-hero__card-title {
    font-size: 28px;
    line-height: 1.08;
    hyphens: manual;
  }

  .journey-card__title {
    min-width: 0;
    max-width: 100%;
    font-size: 28px;
    line-height: 1.18;
    overflow-wrap: anywhere;
    hyphens: manual;
  }

  .college-hero__title,
  .preparation-hero__title {
    min-width: 0;
    max-width: 100%;
    line-height: 1.12;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .location-card__address {
    height: auto;
    min-height: 24px;
    align-items: flex-start;
  }

  .site-footer,
  .college-footer {
    gap: 32px;
    margin-top: 48px;
    padding: 32px 20px 24px;
    border-radius: 32px 32px 0 0;
    font-size: 14px;
  }
  .site-footer__main,
  .college-footer__main { gap: 32px; }
  .site-footer__columns,
  .college-footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .college-footer__column--contacts { grid-column: auto; }
  .site-footer__column,
  .college-footer__column { gap: 8px; }
  .site-footer__heading,
  .college-footer__heading { font-size: 18px; line-height: 1.3; }
  .site-footer__bottom,
  .college-footer__bottom { gap: 12px; font-size: 13px; line-height: 1.35; }
}

/* Mobile density: keep the ornamental language, remove desktop height reserves. */
@media (max-width: 700px) {
  :root {
    --mobile-card-min-compact: 132px;
    --mobile-card-min-content: 160px;
    --mobile-card-min-feature: 210px;
    --mobile-card-height-visual: 220px;
    --mobile-card-height-story: 280px;
  }

  .home-hero__pre-professional { height: auto; min-height: 420px; }

  .benefit-card { height: auto; min-height: 250px; }
  .level-card { height: auto; min-height: 230px; }
  .format-card { height: auto; min-height: var(--mobile-card-height-visual); }
  .mission-card--short,
  .mission-card--tall,
  .school-mission--college .mission-card--tall {
    height: auto;
    min-height: var(--mobile-card-height-visual);
  }
  .mission-card--route-short,
  .mission-card--route-tall {
    height: auto;
    min-height: var(--mobile-card-min-feature);
  }
  .professional-card {
    height: auto;
    min-height: var(--mobile-card-height-story);
    aspect-ratio: auto;
  }

  .direction-card {
    height: auto;
    min-height: 180px;
  }
  .home-course {
    height: auto;
    min-height: var(--mobile-card-min-feature);
  }
  .journey-card {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: 20px;
  }

  .info-card--audience,
  .teacher-trust-card,
  .achievement-card,
  .license-info-card,
  .school-audience-card,
  .hall-benefit,
  .trust-card,
  .director-value-card {
    height: auto;
    min-height: var(--mobile-card-min-content);
  }

  .info-card--outcome,
  .equipment-card,
  .info-card--preparation-outcome {
    height: auto;
    min-height: var(--mobile-card-min-compact);
  }
  .director-potential-card {
    height: auto;
    min-height: 150px;
  }

  .admission-step { min-height: var(--mobile-card-min-feature); }
  .college-trust-card { min-height: 180px; }
  .college-path--admissions .college-principle { min-height: 190px; }
  .college-principle--preparation { min-height: 176px; }
  .admission-step--preparation { min-height: var(--mobile-card-height-visual); }
}

/* Mobile dialogs: one scroll surface, persistent close control and safe-area spacing. */
@media (max-width: 700px), (max-height: 600px) {
  :root {
    --mobile-dialog-bottom: max(8px, env(safe-area-inset-bottom));
    --mobile-dialog-height: calc(100dvh - var(--mobile-dialog-bottom) - 8px);
    --mobile-dialog-width: min(560px, calc(100% - 16px));
  }

  .application-modal,
  .teacher-modal {
    position: fixed;
    top: auto;
    right: auto;
    bottom: var(--mobile-dialog-bottom);
    left: 50%;
    width: var(--mobile-dialog-width);
    height: auto;
    max-width: none;
    max-height: var(--mobile-dialog-height);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    transform: translateX(-50%);
  }

  .application-modal::backdrop,
  .teacher-modal::backdrop {
    background: rgba(19, 13, 5, .4);
    backdrop-filter: blur(2px);
  }

  .application-modal__close,
  .teacher-modal__close {
    z-index: 5;
    top: 8px;
    right: 8px;
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(158, 42, 43, .16);
    border-radius: 50%;
    color: var(--color-accent);
    background: rgba(254, 252, 249, .94);
    box-shadow: 0 6px 18px rgba(50, 20, 20, .08);
    backdrop-filter: blur(10px);
    place-items: center;
  }

  .application-modal__content,
  .teacher-modal__body {
    width: 100%;
    height: auto;
    max-height: var(--mobile-dialog-height);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(150, 106, 87, .45) transparent;
    scrollbar-width: thin;
  }

  .application-modal__content {
    gap: 20px;
    padding: 60px 16px 20px;
    border-radius: 0;
    scroll-padding-block: 60px 24px;
  }
  .application-modal__heading,
  .application-modal__form,
  .application-modal__fields,
  .application-modal__actions {
    height: auto;
    flex: 0 0 auto;
  }
  .application-modal__heading {
    gap: 8px;
    text-align: left;
  }
  .application-modal__title {
    padding-right: 44px;
    font-size: 30px;
    line-height: 1.08;
  }
  .application-modal__subtitle {
    height: auto;
    color: var(--color-muted);
    line-height: 1.4;
  }
  .application-modal__form { gap: 16px; }
  .application-modal__fields { gap: 10px; }
  .application-modal__field-pair {
    flex-direction: column;
    gap: 10px;
  }
  .application-modal__field-pair .application-modal__field { width: 100%; }
  .application-modal__field,
  .application-modal__input {
    height: 48px;
    min-height: 48px;
  }
  .application-modal__input {
    padding: 13px 16px;
    font-size: 16px;
  }
  .application-modal__field--select::after { right: 18px; }
  .application-modal__field--message,
  .application-modal__textarea {
    height: 104px;
    min-height: 104px;
  }
  .application-modal__actions { gap: 12px; }
  .application-modal__consent {
    min-height: 44px;
    align-items: flex-start;
    line-height: 1.4;
  }
  .application-modal__checkbox { margin-top: 1px; }
  .application-modal__submit { min-height: 50px; }
  .application-modal__status { min-height: 0; line-height: 1.35; }

  .teacher-modal[open] { display: block; }
  .teacher-modal__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 60px 16px 24px;
    scroll-padding-block: 60px 24px;
  }
  .teacher-modal__summary,
  .teacher-modal__details {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }
  .teacher-modal__summary { gap: 12px; }
  .teacher-modal__image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-position: center 18%;
  }
  .teacher-modal__identity { gap: 4px; }
  .teacher-modal__name { font-size: 24px; line-height: 1.15; }
  .teacher-modal__role { line-height: 1.4; }
  .teacher-modal__details {
    gap: 28px;
    padding: 0;
    overflow: visible;
  }
  .teacher-modal__details:focus-visible { outline-offset: -2px; }
  .teacher-modal__section { gap: 12px; }
  .teacher-modal__heading { font-size: 18px; line-height: 1.3; }
  .teacher-modal__text { gap: 8px; font-size: 15px; line-height: 1.45; }
  .teacher-modal__scrollbar { display: none; }
}

@media (min-width: 701px) and (max-height: 600px) {
  .teacher-modal__body {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }
}

@media (max-width: 359px) {
  .site-header__logo { width: 112px; }
  .college-header__logo { width: 118px; }
  .site-header__actions { gap: 6px; }
  .site-header__actions .button--header { padding-inline: 12px; }
  .site-header__menu-toggle,
  .college-header__menu-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .college-header__icon-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    padding: 7px;
  }
  .teacher-directory__grid,
  .awards-gallery { grid-template-columns: 1fr; }

  .section-title { font-size: 28px; }

  :is(
    .home-hero__title,
    .service-hero__title,
    .teachers-hero__title,
    .awards-hero__title,
    .license-intro__title,
    .about-hero__title,
    .halls-hero__title,
    .news-hero__title,
    .news-detail-hero__title,
    .admissions-hero__title,
    .director-hero__title,
    .privacy-section h1,
    .not-found-card__title
  ) { font-size: 34px; }

  .home-hero__pre-professional .home-hero__card-title { font-size: 20px; }
  .college-hero__title { font-size: 25px; }
  .preparation-hero__title { font-size: 28px; }
  .college-path__title { font-size: 25px; }
  .license-overview__title { font-size: 28px; line-height: 1.1; }
  .journey-card__title { font-size: 25px; line-height: 1.18; }
}

@media (max-width: 430px) {
  .home-hero .home-hero__title {
    font-size: clamp(32px, 8.7vw, 36px);
    line-height: 1.06;
  }
}

@media (min-width: 1281px) and (max-width: 1600px) {
  .preparation-outcomes__lead { height: auto; }
}

@media (min-width: 360px) and (max-width: 380px) {
  .college-hero__title { font-size: 29px; }
  .college-path__title { font-size: 28px; }
}

/* Directions page */
.site-header__notice-button {
  padding: 0;
  border: 0;
  color: var(--color-accent);
  background: transparent;
  cursor: pointer;
}

.directions-hero {
  display: grid;
  grid-template-columns: 1150px 370px;
  gap: 20px;
  min-height: 370px;
  margin-top: 20px;
}

.directions-hero__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 370px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-footer);
}

.directions-hero__breadcrumb {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 4px;
  color: var(--color-gold);
  font-size: 14px;
}

.directions-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 980px;
}

.directions-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.directions-hero__title {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.directions-hero__lead {
  max-width: 980px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.directions-hero__button {
  min-width: 365px;
}

.directions-hero__image {
  width: 370px;
  height: 370px;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.audience-picker {
  min-height: 472px;
  margin-top: 40px;
  padding: 60px 40px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.audience-picker__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 854px;
  min-height: 106px;
  margin-inline: auto;
  text-align: center;
}

.audience-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, 350px);
  gap: 20px;
  min-height: 206px;
  margin-top: 40px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 206px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  backdrop-filter: blur(5px);
}

.audience-card__title,
.course-card__title,
.direction-guide__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.audience-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-card__button {
  width: 266px;
}

.course-directory {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 606px;
  margin-top: 100px;
}

.course-directory__title {
  text-align: center;
}

.course-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, 500px);
  grid-auto-rows: minmax(244px, auto);
  gap: 20px;
}

.course-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 244px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  backdrop-filter: blur(5px);
}

.course-card__heading,
.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
}

.course-card__meta-item {
  position: relative;
  min-height: 17px;
  padding-left: 21px;
}

.course-card__meta-item::before {
  position: absolute;
  top: .5px;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.course-card__meta-item--users::before {
  -webkit-mask-image: url("assets/images/icon-users.svg");
  mask-image: url("assets/images/icon-users.svg");
}

.course-card__meta-item--place::before {
  -webkit-mask-image: url("assets/images/icon-pin.svg");
  mask-image: url("assets/images/icon-pin.svg");
}

.course-card__meta-item--level::before {
  -webkit-mask-image: url("assets/images/icon-level-beginner.svg");
  mask-image: url("assets/images/icon-level-beginner.svg");
}

.course-card__meta-item--calendar::before {
  -webkit-mask-image: url("assets/images/icon-calendar-booking.svg");
  mask-image: url("assets/images/icon-calendar-booking.svg");
}

.course-card__button {
  min-width: 167px;
}

.course-directory--compact {
  min-height: 320px;
}

.course-directory--compact .course-directory__grid {
  grid-auto-rows: minmax(222px, auto);
}

.course-card--compact {
  min-height: 222px;
}

.course-directory--rental {
  min-height: 347px;
}

.course-directory--rental .course-directory__grid {
  grid-auto-rows: minmax(249px, auto);
}

.course-card--rental {
  min-height: 249px;
}

.direction-guide {
  display: grid;
  grid-template-columns: 740px 740px;
  gap: 20px;
  min-height: 466px;
  margin-top: 100px;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.direction-guide__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direction-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, 360px);
  grid-template-rows: repeat(2, minmax(203px, auto));
  gap: 20px;
}

.direction-guide__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  backdrop-filter: blur(5px);
}

.direction-guide__card:first-child {
  min-height: 175px;
  margin-top: 14px;
}

.direction-guide__card-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direction-guide__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
}

.benefits--directions {
  margin-top: 100px;
}

.faq--directions {
  margin-top: 100px;
}

.seo-copy--directions {
  margin-top: 100px;
}

.trial--directions {
  margin-top: 100px;
}

@media (min-width: 1281px) and (max-width: 1600px) {
  .directions-hero {
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  }

  .directions-hero__panel,
  .directions-hero__content,
  .directions-hero__copy,
  .directions-hero__image {
    width: 100%;
  }

  .directions-hero__content {
    min-width: 0;
  }

  .directions-hero__title {
    font-size: clamp(52px, 4vw, 64px);
  }

  .audience-picker__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .audience-card__button {
    width: 100%;
    min-width: 0;
    padding-inline: 20px;
  }

  .course-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .direction-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directions-page .benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .directions-page .benefit-column,
  .directions-page .benefit-column__image,
  .directions-page .benefit-card {
    width: 100%;
  }

  .directions-page .faq__body {
    grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  }

  .directions-page .faq__image,
  .directions-page .trial__image,
  .directions-page .trial__panel {
    width: 100%;
  }

  .directions-page .trial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directions-page .trial-form,
  .directions-page .seo-copy__content {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  .directions-hero,
  .audience-picker,
  .course-directory,
  .direction-guide {
    height: auto;
    min-height: 0;
    margin-top: 64px;
  }

  .directions-hero {
    grid-template-columns: 1fr;
  }

  .directions-hero__panel {
    height: auto;
    min-height: 440px;
    padding: 72px 28px 28px;
  }

  .directions-hero__content,
  .directions-hero__copy,
  .audience-picker__heading {
    width: 100%;
  }

  .directions-hero__title {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1.02;
  }

  .directions-hero__lead {
    font-size: 18px;
    line-height: 1.35;
  }

  .directions-hero__button {
    min-width: 0;
  }

  .directions-hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .audience-picker {
    padding: 40px 20px;
  }

  .audience-picker__heading {
    height: auto;
    min-height: 0;
  }

  .audience-picker__grid,
  .course-directory__grid,
  .direction-guide,
  .direction-guide__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    min-height: 0;
  }

  .audience-picker__grid {
    margin-top: 32px;
  }

  .audience-card,
  .course-card,
  .course-card--compact,
  .course-card--rental,
  .direction-guide__card,
  .direction-guide__card:first-child {
    width: 100%;
    height: auto;
    min-height: 206px;
    margin-top: 0;
  }

  .audience-card { justify-content: flex-start; }
  .audience-card__title { margin-bottom: 10px; }
  .audience-card__body {
    flex: 1;
    justify-content: space-between;
  }

  .audience-card__button {
    width: 100%;
  }

  .course-directory {
    gap: 28px;
  }

  .course-directory__grid {
    grid-auto-rows: auto;
  }

  .course-directory__title {
    text-align: left;
  }

  .direction-guide {
    gap: 32px;
    padding: 28px 20px;
  }

  .benefits--directions,
  .faq--directions,
  .seo-copy--directions,
  .trial--directions {
    margin-top: 64px;
  }
}

@media (max-width: 480px) {
  .site-header__notice {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .directions-hero {
    margin-top: 24px;
  }

  .directions-hero__panel {
    min-height: 0;
  }

  .directions-hero__title {
    font-size: 38px;
  }

  .directions-hero__button {
    width: 100%;
    padding-inline: 24px;
    white-space: normal;
  }
}

@media (max-width: 359px) {
  .directions-hero__title {
    font-size: 34px;
  }
}

/* Franchise page */
.franchise-page {
  overflow-x: hidden;
}

.franchise-breadcrumb {
  min-height: 17px;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 17px;
}

.franchise-breadcrumb__link {
  color: var(--color-ink);
}

.franchise-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 325px;
  margin-top: 40px;
}

.franchise-hero__title {
  width: 1020px;
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.12;
}

.franchise-hero__body {
  display: grid;
  grid-template-columns: 1020px 500px;
  gap: 20px;
  min-height: 171px;
}

.franchise-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 171px;
}

.franchise-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 1020px;
}

.franchise-hero__lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.franchise-hero__actions,
.franchise-manager__actions {
  display: flex;
  gap: 10px;
}

.franchise-features {
  display: grid;
  grid-template-columns: repeat(2, 245px);
  grid-template-rows: repeat(2, minmax(58px, auto));
  gap: 10px;
  width: 500px;
  min-height: 126px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.franchise-features__item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 245px;
  min-height: 58px;
  padding: 10px 20px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.franchise-features__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.franchise-income {
  display: grid;
  grid-template-columns: repeat(2, 760px);
  gap: 20px;
  min-height: 380px;
  margin-top: 100px;
}

.franchise-income__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 760px;
  min-height: 380px;
  border-radius: var(--radius-card);
  background: linear-gradient(151.804deg, #dbb07d 30.65%, #f4d2ad 69.35%);
  text-align: center;
}

.franchise-income__title {
  width: min(632px, 100%);
  min-width: 0;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.franchise-income__grid {
  display: grid;
  grid-template-columns: repeat(2, 370px);
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 20px;
  width: 760px;
  min-height: 380px;
}

.franchise-income__card {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: flex-end;
  width: 370px;
  min-height: 180px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.franchise-income__card-title,
.franchise-proof__card-title,
.franchise-support__card-title,
.franchise-package__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.franchise-income__card-description,
.franchise-proof__card-description,
.franchise-support__card-description,
.franchise-package__description {
  margin-top: 5px;
}

.franchise-proof {
  min-height: 615px;
  margin-top: 100px;
}

.franchise-proof__body {
  display: grid;
  grid-template-columns: repeat(2, 760px);
  gap: 20px;
  min-height: 517px;
  margin-top: 40px;
}

.franchise-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, 370px);
  grid-template-rows: repeat(3, minmax(159px, auto));
  gap: 20px;
  width: 760px;
  min-height: 517px;
}

.franchise-proof__card {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
  width: 370px;
  min-height: 159px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(244, 210, 171, .2);
}

.franchise-proof__image {
  width: 760px;
  height: 517px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.franchise-launch {
  min-height: 369px;
  margin-top: 100px;
}

.franchise-launch__grid {
  display: grid;
  grid-template-columns: repeat(5, 292px);
  gap: 20px;
  min-height: 271px;
  margin-top: 40px;
}

.franchise-launch__card {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  width: 292px;
  min-height: 271px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(244, 210, 171, .2);
}

.franchise-launch__card-icon {
  width: 97px;
  height: 12px;
}

.franchise-launch__card-content {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}

.franchise-launch__card-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
}

.franchise-launch__card-description {
  margin-top: 0;
}

.franchise-launch__image {
  width: 292px;
  height: 271px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.franchise-support {
  min-height: 534px;
  margin-top: 100px;
}

.franchise-support__body {
  display: grid;
  grid-template-columns: repeat(2, 760px);
  gap: 20px;
  min-height: 436px;
  margin-top: 40px;
}

.franchise-support__image {
  width: 760px;
  height: 436px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.franchise-support__grid {
  display: grid;
  grid-template-columns: repeat(2, 370px);
  grid-template-rows: repeat(2, minmax(208px, auto));
  gap: 20px;
  width: 760px;
  min-height: 436px;
}

.franchise-support__card {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
  width: 370px;
  min-height: 208px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.franchise-support__card-icon {
  width: 30px;
  height: 30px;
}

.franchise-package {
  min-height: 564px;
  margin-top: 100px;
}

.franchise-package__grid {
  display: grid;
  grid-template-columns: repeat(4, 370px);
  gap: 20px;
  min-height: 466px;
  margin-top: 40px;
}

.franchise-package__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 370px;
  min-height: 466px;
}

.franchise-package__copy {
  width: 370px;
  height: auto;
  min-height: 0;
}

.franchise-package__column:nth-child(1) .franchise-package__copy {
  padding-bottom: 12.25px;
}

.franchise-package__column:nth-child(2) .franchise-package__copy {
  padding-bottom: 31.4375px;
}

.franchise-package__column:nth-child(n + 3) .franchise-package__copy {
  margin-bottom: -.5625px;
}

.franchise-package__card,
.franchise-package__image {
  width: 370px;
  height: 320px;
  border-radius: var(--radius-card);
}

.franchise-package__image {
  object-fit: cover;
}

.franchise-package__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: auto;
  min-height: 320px;
  padding: 20px;
  overflow: hidden;
}

.franchise-package__card--light {
  background: var(--color-footer);
}

.franchise-package__card--gold {
  background: #f4d2ab;
}

.franchise-package__card-copy {
  position: relative;
  z-index: 1;
}

.franchise-package__decor {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.franchise-package__decor--a {
  top: -50px;
  left: 71px;
  width: 408px;
  height: 327px;
}

.franchise-package__decor--b {
  top: -34px;
  left: -34px;
  width: 436px;
  height: 264px;
}

.franchise-finance {
  min-height: 513px;
  margin-top: 100px;
}

.franchise-finance__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 97px;
  text-align: center;
}

.franchise-finance__description {
  line-height: 19px;
}

.franchise-finance__grid {
  display: grid;
  grid-template-columns: repeat(2, 760px);
  gap: 20px;
  min-height: 376px;
  margin-top: 40px;
}

.franchise-finance__card {
  display: flex;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 760px;
  min-height: 376px;
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.franchise-finance__card-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 42px;
  text-align: center;
}

.franchise-finance__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.franchise-finance__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.franchise-finance__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(150, 106, 87, .2);
}

.franchise-finance__label,
.franchise-finance__data {
  margin: 0;
}

.franchise-finance__data {
  text-align: right;
}

.franchise-finance__row--double {
  align-items: flex-start;
  padding-bottom: 5.828125px;
}

.franchise-finance__data--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.franchise-finance__option {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.franchise-finance__value {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.franchise-finance__note,
.franchise-finance__note {
  color: var(--color-muted);
  font-size: 12px;
}

.franchise-finance__note {
  width: 100%;
}

.franchise-manager {
  display: grid;
  grid-template-columns: 1020px 500px;
  gap: 20px;
  min-height: 306px;
  margin-top: 100px;
}

.franchise-manager__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 1020px;
  min-height: 306px;
  padding: 40px;
  border-radius: var(--radius-large);
  background: linear-gradient(151.804deg, #dbb07d 30.65%, #f4d2ad 69.35%);
}

.franchise-manager__copy {
  margin-top: 20px;
  font-size: 18px;
}

.franchise-manager__phone {
  display: block;
  margin-top: 5px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.franchise-manager__actions .button {
  min-width: 189px;
}

.franchise-manager__image {
  width: 500px;
  height: 306px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.franchise-plans {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 636px;
  margin-top: 100px;
}

.franchise-plans > .section-title {
  width: 100%;
  text-align: center;
}

.franchise-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 500px);
  gap: 20px;
  width: 1540px;
  min-height: 471px;
  margin-top: 40px;
}

.franchise-plan {
  display: flex;
  height: auto;
  flex-direction: column;
  width: 500px;
  min-height: 471px;
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.franchise-plan__heading {
  min-height: 79px;
  text-align: center;
}

.franchise-plan__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.franchise-plan__description {
  margin-top: 5px;
  font-size: 14px;
}

.franchise-plan__terms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 0;
}

.franchise-plan__term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(219, 176, 125, .35);
}

.franchise-plan__label,
.franchise-plan__value {
  margin: 0;
}

.franchise-plan__value {
  font-size: 18px;
  font-weight: 600;
}

.franchise-plan__note {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 12px;
}

.franchise-plan__features {
  display: grid;
  grid-template-columns: repeat(2, 227px);
  grid-template-rows: repeat(2, auto);
  gap: 5px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.franchise-plan__feature {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 227px;
  min-height: 0;
  padding: 10px 20px;
  overflow: hidden;
  border: 1px solid var(--color-soft-apricot);
  border-radius: var(--radius-card);
  background: transparent;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

.franchise-plan__feature::before {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  content: "";
  background: url("assets/images/icon-verify.svg") center / contain no-repeat;
}

.franchise-plans__button {
  margin-top: 19.8125px;
}

.franchise-director {
  display: grid;
  grid-template-columns: 1020px 500px;
  gap: 20px;
  min-height: 300px;
  margin-top: 100px;
}

.franchise-director__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 1020px;
  min-height: 300px;
  padding: 40px;
  border-radius: var(--radius-large);
  background: var(--color-footer);
}

.franchise-director__quote {
  display: flex;
  align-items: center;
  min-height: 124px;
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(219, 176, 125, .2);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: left;
}

.franchise-director__bio {
  position: relative;
  top: 1px;
  font-size: 14px;
}

.franchise-director__image {
  width: 500px;
  height: 300px;
  border-radius: var(--radius-card);
  object-fit: cover;
  object-position: center 26.25%;
}

.franchise-world {
  display: grid;
  grid-template-columns: 506px 854px;
  gap: 100px;
  height: auto;
  min-height: 482px;
  margin-top: 100px;
  padding: 40px;
  border-radius: var(--radius-large);
  background: rgba(219, 176, 125, .2);
}

.franchise-world__image {
  width: 506px;
  height: 402px;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.franchise-world__content {
  width: 854px;
}

.franchise-world__title {
  margin-top: 20px;
}

.franchise-world__description {
  width: 854px;
  margin-top: 10px;
  font-size: 18px;
}

.franchise-world__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 854px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.franchise-world__country {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 271px;
  min-height: 42px;
  padding: 10px;
  border-radius: 60px;
  background: rgba(219, 176, 125, .2);
  font-size: 18px;
  text-align: center;
}

.home-news--franchise,
.faq--franchise,
.trial--franchise {
  margin-top: 100px;
}

.news-card--franchise .news-card__copy {
  height: auto;
  min-height: 102px;
}

.news-card--franchise .news-card__link {
  min-height: 39px;
}

@media (min-width: 1281px) and (max-width: 1600px) {
  .franchise-hero__title,
  .franchise-hero__copy,
  .franchise-manager__content,
  .franchise-director__content {
    width: 100%;
  }

  .franchise-hero__body,
  .franchise-manager,
  .franchise-director {
    grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  }

  .franchise-features {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-features__item {
    width: 100%;
    min-width: 0;
  }

  .franchise-income,
  .franchise-proof__body,
  .franchise-support__body,
  .franchise-finance__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-income__lead,
  .franchise-income__grid,
  .franchise-proof__grid,
  .franchise-proof__image,
  .franchise-support__image,
  .franchise-support__grid,
  .franchise-finance__card {
    width: 100%;
  }

  .franchise-income__grid,
  .franchise-proof__grid,
  .franchise-support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-income__card,
  .franchise-proof__card,
  .franchise-support__card {
    width: 100%;
  }

  .franchise-launch__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .franchise-launch__card,
  .franchise-launch__image {
    width: 100%;
  }

  .franchise-package__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .franchise-package__column,
  .franchise-package__copy,
  .franchise-package__card,
  .franchise-package__image {
    width: 100%;
  }

  .franchise-plans__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .franchise-plan {
    width: 100%;
  }

  .franchise-plan__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-plan__feature {
    width: 100%;
  }

  .franchise-world {
    grid-template-columns: minmax(360px, 506px) minmax(0, 1fr);
    gap: 40px;
  }

  .franchise-world__image,
  .franchise-world__content,
  .franchise-world__description,
  .franchise-world__countries {
    width: 100%;
  }

  .franchise-world__country {
    width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 1280px) {
  .franchise-breadcrumb {
    height: auto;
  }

  .franchise-hero,
  .franchise-income,
  .franchise-proof,
  .franchise-launch,
  .franchise-support,
  .franchise-package,
  .franchise-finance,
  .franchise-manager,
  .franchise-plans,
  .franchise-director,
  .franchise-world,
  .home-news--franchise {
    height: auto;
    min-height: 0;
  }

  .franchise-hero,
  .franchise-income,
  .franchise-proof,
  .franchise-launch,
  .franchise-support,
  .franchise-package,
  .franchise-finance,
  .franchise-manager,
  .franchise-plans,
  .franchise-director,
  .franchise-world,
  .home-news--franchise,
  .faq--franchise,
  .seo-copy,
  .trial--franchise {
    margin-top: 64px;
  }

  .franchise-hero {
    gap: 28px;
  }

  .franchise-hero__title {
    width: 100%;
    font-size: clamp(42px, 11vw, 64px);
    line-height: 1.04;
  }

  .franchise-hero__body,
  .franchise-income,
  .franchise-proof__body,
  .franchise-support__body,
  .franchise-finance__grid,
  .franchise-manager,
  .franchise-director,
  .franchise-world {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .franchise-hero__content,
  .franchise-hero__copy,
  .franchise-income__lead,
  .franchise-income__grid,
  .franchise-proof__grid,
  .franchise-proof__image,
  .franchise-support__image,
  .franchise-support__grid,
  .franchise-package__grid,
  .franchise-finance__card,
  .franchise-manager__content,
  .franchise-manager__image,
  .franchise-plans__grid,
  .franchise-plan,
  .franchise-director__content,
  .franchise-director__image,
  .franchise-world__image,
  .franchise-world__content,
  .franchise-world__description,
  .franchise-world__countries {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .franchise-hero__content {
    gap: 28px;
  }

  .franchise-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: auto;
  }

  .franchise-features__item {
    width: 100%;
  }

  .franchise-income__lead {
    min-height: 320px;
    padding: 28px 20px;
  }

  .franchise-income__title {
    width: 100%;
  }

  .franchise-income__grid,
  .franchise-proof__grid,
  .franchise-support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .franchise-income__card,
  .franchise-proof__card,
  .franchise-support__card {
    width: 100%;
  }

  .franchise-proof__body,
  .franchise-support__body {
    margin-top: 28px;
  }

  .franchise-proof__image,
  .franchise-support__image {
    aspect-ratio: 760 / 436;
  }

  .franchise-launch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    margin-top: 28px;
  }

  .franchise-launch__card,
  .franchise-launch__image {
    width: 100%;
  }

  .franchise-launch__card { justify-content: flex-start; }

  .franchise-package__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    margin-top: 28px;
  }

  .franchise-package__column,
  .franchise-package__copy,
  .franchise-package__card,
  .franchise-package__image {
    width: 100%;
  }

  .franchise-finance__heading {
    height: auto;
  }

  .franchise-finance__grid {
    margin-top: 28px;
  }

  .franchise-manager__content,
  .franchise-director__content,
  .franchise-world {
    min-height: 0;
    padding: 28px 20px;
  }

  .franchise-manager__content {
    gap: 40px;
  }

  .franchise-manager__image,
  .franchise-director__image,
  .franchise-world__image {
    aspect-ratio: 5 / 3;
  }

  .franchise-plans__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .franchise-plan {
    min-height: 471px;
  }

  .franchise-plan__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-plan__feature { width: 100%; }

  .franchise-director__content {
    gap: 20px;
  }

  .franchise-world {
    gap: 28px;
  }

  .franchise-world__title {
    margin-top: 0;
  }

  .franchise-world__countries {
    gap: 10px;
  }

  .franchise-world__country {
    width: calc((100% - 20px) / 3);
  }

}

@media (max-width: 700px) {
  .franchise-hero__actions,
  .franchise-manager__actions {
    flex-direction: column;
    width: 100%;
  }

  .franchise-hero__actions .button,
  .franchise-manager__actions .button {
    width: 100%;
  }

  .franchise-features,
  .franchise-income__grid,
  .franchise-proof__grid,
  .franchise-launch__grid,
  .franchise-support__grid,
  .franchise-package__grid {
    grid-template-columns: 1fr;
  }

  .franchise-income__grid,
  .franchise-proof__grid,
  .franchise-support__grid {
    height: auto;
  }

  .franchise-income__card,
  .franchise-proof__card,
  .franchise-support__card {
    height: auto;
    min-height: 159px;
  }

  .franchise-launch__card {
    height: auto;
    min-height: var(--mobile-card-min-feature);
  }

  .franchise-launch__image { height: auto; min-height: 240px; }

  .franchise-package__column {
    gap: 20px;
    height: auto;
  }

  .franchise-package__copy {
    height: auto;
  }

  .franchise-package__column:nth-child(1) .franchise-package__copy {
    padding-bottom: 9.5625px;
  }

  .franchise-package__column:nth-child(2) .franchise-package__copy,
  .franchise-package__column:nth-child(3) .franchise-package__copy {
    padding-bottom: 30.859375px;
  }

  .franchise-package__column:nth-child(4) .franchise-package__copy {
    padding-bottom: 4.609375px;
  }

  .franchise-finance__card {
    height: auto;
  }

  .franchise-finance__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .franchise-finance__data {
    text-align: left;
  }

  .franchise-finance__data--stacked {
    align-items: flex-start;
    gap: 20px;
  }

  .franchise-finance__option {
    align-items: flex-start;
  }

  .franchise-plan__features {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .franchise-plan__feature {
    width: 100%;
  }

  .franchise-world__country {
    width: calc((100% - 10px) / 2);
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .franchise-hero__title {
    font-size: 38px;
  }

  .franchise-income__title,
  .franchise-launch__card-title {
    font-size: 30px;
    line-height: 1.15;
  }

  .franchise-income__card-title,
  .franchise-proof__card-title,
  .franchise-support__card-title,
  .franchise-package__title {
    font-size: 21px;
    line-height: 1.25;
  }

  .franchise-plan {
    min-height: 0;
  }

  .franchise-director__quote {
    font-size: 17px;
    line-height: 1.35;
  }

  .franchise-world__country {
    width: 100%;
  }
}

/* Contacts page */
.contacts-page {
  overflow-x: hidden;
}

.contacts-breadcrumb {
  min-height: 17px;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 17px;
}

.contacts-breadcrumb__link {
  color: var(--color-ink);
}

.contacts-hero {
  display: flex;
  width: 1150px;
  min-height: 167px;
  margin-top: 40px;
  margin-right: auto;
  margin-left: max(20px, calc((100% - 1540px) / 2));
  flex-direction: column;
  gap: 10px;
}

.contacts-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.12;
}

.contacts-hero__lead {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.contacts-hero__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.contacts-overview {
  display: grid;
  min-height: 450px;
  margin-top: 100px;
  grid-template-columns: 370px 1150px;
  gap: 20px;
}

.contacts-overview__details {
  display: flex;
  min-height: 450px;
  padding: 20px;
  flex-direction: column;
  gap: 20px;
  border-radius: 40px;
  background: var(--color-surface);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-ink);
}

.contact-method__icon {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.contact-method__icon--phone {
  padding: 2.25px 2.25px 4.25px 4.25px;
}

.contact-method__icon--mail {
  background:
    url("assets/images/contacts/icon-mail-flap.svg") 2.665px 8.679px / 18.671px 5.921px no-repeat,
    url("assets/images/contacts/icon-mail-box.svg") 2.25px 2.25px / 19.5px 19.5px no-repeat;
}

.contact-method__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.contact-method__value {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.contact-method__description {
  font-size: 12px;
  line-height: 1.2;
}

.contacts-overview__map {
  width: 1150px;
  height: 450px;
  border: 0;
  border-radius: 40px;
}

.contacts-locations {
  min-height: 519px;
  margin-top: 100px;
}

.contacts-locations__title {
  text-align: center;
}

.contacts-locations__grid {
  display: grid;
  min-height: 421px;
  margin-top: 40px;
  grid-template-columns: repeat(2, 760px);
  gap: 20px;
}

.contact-location {
  display: flex;
  width: 760px;
  height: auto;
  min-height: 421px;
  padding: 20px 20px 17.953125px;
  flex-direction: column;
  gap: 20px;
  border-radius: 40px;
  background: var(--color-surface);
}

.contact-location__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-location__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.contact-location__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-location__icon {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.contact-location__icon--phone {
  padding: 2.25px 2.25px 4.25px 4.25px;
}

.contact-location__icon--pin {
  padding: 1.25px 3.25px;
}

.contact-location__phone,
.contact-location__address-title {
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.contact-location__address {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.contact-location__address-description {
  font-size: 12px;
  line-height: 1.2;
}

.contact-location__route {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  line-height: 1.2;
}

.contact-location__route-title,
.contact-location__route-description {
  margin: 0;
  font: inherit;
}

.contacts-hours {
  display: grid;
  min-height: 330px;
  margin-top: 100px;
  padding: 20px;
  grid-template-columns: repeat(2, 740px);
  gap: 20px;
  border-radius: 40px;
  background: var(--color-surface);
}

.contacts-hours__intro {
  display: flex;
  min-height: 173px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.contacts-hours__intro-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-hours__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.contacts-hours__grid {
  display: grid;
  grid-template-columns: repeat(2, 360px);
  grid-template-rows: repeat(2, minmax(135px, auto));
  gap: 20px;
}

.contacts-hours__card {
  width: 360px;
  min-height: 135px;
  padding: 20px 20px 19.4375px;
  border-radius: 20px;
  background: rgb(219 176 125 / 20%);
}

.contacts-hours__card-title,
.contacts-hours__card-description {
  margin: 0;
}

.contacts-hours__card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.contacts-hours__card-description {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.2;
}

.faq--contacts,
.trial--contacts {
  margin-top: 100px;
}

@media (min-width: 1281px) and (max-width: 1600px) {
  .contacts-hero {
    width: calc(100% - 80px);
    margin-left: 40px;
  }

  .contacts-overview {
    grid-template-columns: minmax(300px, 24%) minmax(0, 1fr);
  }

  .contacts-overview__map {
    width: 100%;
  }

  .contacts-locations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-location {
    width: 100%;
  }

  .contacts-hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-hours__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-hours__card {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  .contacts-breadcrumb {
    height: auto;
  }

  .contacts-hero {
    width: min(620px, calc(100% - 40px));
    height: auto;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .contacts-hero__title {
    font-size: clamp(42px, 8vw, 58px);
  }

  .contacts-overview,
  .contacts-locations,
  .contacts-hours {
    height: auto;
    min-height: 0;
    margin-top: 64px;
  }

  .contacts-overview {
    grid-template-columns: 1fr;
  }

  .contacts-overview__details {
    height: auto;
    min-height: 260px;
  }

  .contacts-overview__map {
    width: 100%;
    height: auto;
    aspect-ratio: 1150 / 450;
  }

  .contacts-locations__grid {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .contact-location {
    width: 100%;
    height: auto;
    min-height: 384px;
  }

  .contacts-hours {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .contacts-hours__intro {
    height: auto;
    min-height: 0;
    gap: 28px;
  }

  .contacts-hours__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .contacts-hours__card {
    width: 100%;
    height: auto;
    min-height: 135px;
  }

  .faq--contacts,
  .trial--contacts {
    margin-top: 64px;
  }
}

@media (max-width: 700px) {
  .contacts-hero__lead {
    font-size: 18px;
    line-height: 1.35;
  }

  .contacts-overview__details,
  .contact-location,
  .contacts-hours {
    border-radius: 28px;
  }

  .contacts-locations__title {
    text-align: left;
  }

  .contacts-hours__grid {
    grid-template-columns: 1fr;
  }

  .contact-location__title {
    font-size: 22px;
    line-height: 1.25;
  }
}

/* Compact desktop: replace baseline min-height slack with explicit flow space. */
@media (min-width: 1281px) and (max-width: 1500px) {
  .teachers-hero__copy {
    min-height: 0;
    padding-bottom: 4.859375px;
  }

  .lesson-flow__intro {
    min-height: 0;
    padding-bottom: 4.78125px;
  }

  .documents__intro {
    min-height: 0;
    padding-bottom: 21.203125px;
  }

  .school-format__intro {
    min-height: 0;
    padding-bottom: 8.8125px;
  }

  .hall-gallery__intro {
    min-height: 0;
    padding-bottom: 2.203125px;
  }

  .college-path__intro {
    min-height: 0;
    padding-bottom: 25.609375px;
  }

  .college-path--admissions .college-path__intro {
    padding-bottom: 8.8125px;
  }

  .director-potential__intro {
    min-height: 0;
    padding-bottom: 25.609375px;
  }

  .preparation-audience__intro {
    min-height: 0;
    padding-bottom: 6.609375px;
  }

  .audience-picker__heading {
    min-height: 0;
    padding-bottom: 21.203125px;
  }

  .franchise-package__column:nth-child(2) {
    padding-bottom: 29.609375px;
  }

  .franchise-package__column:nth-child(3),
  .franchise-package__column:nth-child(4) {
    padding-bottom: 12.8125px;
  }
}

@media (max-width: 1280px) {
  .carousel__button--previous { left: -15px; }
  .carousel__button--next { right: -15px; }
}

@media (max-width: 480px) {
  .audience-card { min-height: 0; }
}

/* Mobile icon cards: content defines height and the icon-to-title rhythm is shared. */
@media (max-width: 700px) {
  .info-card--audience,
  .info-card--outcome,
  .teacher-trust-card,
  .achievement-card,
  .license-info-card,
  .school-audience-card,
  .hall-benefit,
  .trust-card,
  .college-trust-card,
  .director-value-card,
  .direction-guide__card,
  .direction-guide__card:first-child,
  .franchise-support__card {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: 20px;
  }

  .college-principle,
  .college-path--admissions .college-principle,
  .college-principle--preparation,
  .director-potential-card {
    height: auto;
    min-height: 0;
  }

  .college-principle__title,
  .college-principle--preparation .college-principle__title,
  .director-potential-card__title { margin-top: 20px; }
}

.awards-gallery__image[data-fancybox],
.news-gallery__image[data-fancybox] {
    cursor: pointer;
}

.wpcf7-form.is-success > :not(.form-success) { display: none !important; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 32px;
  text-align: center;
}
.form-success[hidden] { display: none; }
.form-success__title {
  margin: 0;
  color: var(--color-ink);
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  outline: none;
}
.form-success__text {
  max-width: 540px;
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.4;
}
.form-success__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 47px;
  margin-top: 8px;
  padding: 14px 40px;
  border: 0;
  border-radius: 60px;
  color: #fefcf9;
  background: var(--color-accent);
  cursor: pointer;
}
.trial-form.is-success { min-height: 290px; }
.application-modal.application-modal--success { width: 845px; height: 515px; }
.application-modal--success .application-modal__content {
  justify-content: center;
  width: 725px;
  height: 395px;
}
.application-modal--success .application-modal__heading { display: none; }
.application-modal--success .application-modal__form { width: 725px; height: 395px; }

@media (max-width: 1280px) {
  .form-success { min-height: 280px; padding: 24px 16px; }
  .form-success__title { font-size: 38px; }
  .form-success__text { font-size: 16px; }
  .form-success__button { width: 100%; min-width: 0; }
  .application-modal.application-modal--success { width: calc(100% - 32px); height: auto; min-height: 360px; }
  .application-modal--success .application-modal__content,
  .application-modal--success .application-modal__form { width: 100%; height: auto; min-height: 280px; }
}





/* The mobile menu uses the same WordPress menu and a separate shortcuts menu. */
.site-header__mobile-menu { display: none; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1280px) {
  .site-header__menu--desktop { display: none; }
  .site-header__mobile-menu {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site-header__mobile-menu > .menu-item { width: 100%; }
  .site-header__mobile-category-toggle {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid rgba(150, 106, 87, .14);
    color: inherit;
    background: transparent;
    font: inherit;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
  }
  .site-header__mobile-category-icon {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-right: 4px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease;
  }
  .site-header__mobile-category-toggle[aria-expanded="true"] { color: var(--color-accent); }
  .site-header__mobile-category-toggle[aria-expanded="true"] .site-header__mobile-category-icon { transform: translateY(2px) rotate(225deg); }
  .site-header__mobile-submenu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 12px 12px 36px;
    list-style: none;
    text-transform: none;
  }
  .site-header__mobile-submenu[hidden] { display: none; }
  .site-header__mobile-submenu .site-header__submenu-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 0;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
  .site-header__menu-shortcuts > .menu-item { flex: 0 0 auto; scroll-snap-align: start; }
}
