/* Onest 400–700, locally hosted under the SIL Open Font License. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/onest-cyrillic-400-700.68e5e01d62.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-04FF, U+1C80-1C8A, U+20B4;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/onest-latin-400-700.052df74533.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
      --ink: #0A1A2F;
      --ink-soft: #40566b;
      --navy: #0A1A2F;
      --navy-2: #0E4C6E;
      --sea: #0E4C6E;
      --blue: #24B6E3;
      --ice: #E6F3FA;
      --ice-2: #f6fbfd;
      --line: rgba(14, 76, 110, .17);
      --white: #fff;
      --accent: #E0242C;
      --radius: 24px;
      --shadow: 0 24px 70px rgba(10, 26, 47, .12);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--ice-2); }
    body {
      margin: 0;
      overflow-x: hidden;
      color: var(--ink);
      background: var(--white);
      font-family: "Onest", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.65;
      text-rendering: optimizeLegibility;
    }
    img { max-width: 100%; }
    a { color: inherit; }
    a:hover { color: var(--sea); text-decoration: none; }
    ::selection { color: var(--navy); background: var(--ice); }
    :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
    [id] { scroll-margin-top: 96px; }

    .skip-link {
      position: fixed;
      z-index: 3000;
      top: 12px;
      left: 12px;
      padding: 12px 18px;
      border-radius: 12px;
      color: var(--white);
      background: var(--navy);
      transform: translateY(-160%);
      transition: transform .2s ease;
    }
    .skip-link:focus { transform: translateY(0); }

    .shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
    .section { padding: 112px 0; }
    .section--soft { background: var(--ice-2); }
    .section--navy { color: var(--white); background: var(--navy); }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 18px;
      color: var(--sea);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .section-label::before { width: 28px; height: 2px; content: ""; background: currentColor; }
    .section--navy .section-label { color: var(--blue); }
    .section-heading {
      margin: 0;
      color: var(--ink);
      font-family: "Onest", Arial, sans-serif;
      font-size: clamp(34px, 4vw, 58px);
      font-weight: 600;
      line-height: 1.04;
      letter-spacing: -.045em;
    }
    .section--navy .section-heading { color: var(--white); }
    .section-intro { max-width: 610px; margin: 22px 0 0; color: var(--ink-soft); font-size: 18px; }
    .section--navy .section-intro { color: rgba(255, 255, 255, .7); }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
    .section-head > .uk-button { flex: 0 0 auto; white-space: nowrap; }

    .uk-button {
      min-height: 50px;
      padding: 0 25px;
      border-radius: 999px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 700;
      line-height: 48px;
      letter-spacing: .01em;
      text-transform: none;
      transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
    }
    .uk-button:hover { transform: translateY(-2px); }
    .button-primary { color: var(--white); border: 1px solid var(--accent); background: var(--accent); box-shadow: 0 12px 28px rgba(224, 36, 44, .23); }
    .button-primary:hover, .button-primary:focus { color: var(--white); border-color: var(--accent); background: var(--accent); box-shadow: 0 16px 34px rgba(224, 36, 44, .34); }
    .button-secondary { color: var(--ink); border: 1px solid rgba(14,76,110,.32); background: var(--white); }
    .button-secondary:hover, .button-secondary:focus { color: var(--ink); border-color: var(--sea); background: var(--ice); }
    .button-on-dark { color: var(--white); border: 1px solid rgba(255,255,255,.48); background: rgba(255,255,255,.06); }
    .button-on-dark:hover, .button-on-dark:focus { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.12); }
    .button-icon { display: inline-flex; align-items: center; gap: 9px; }

    .site-header {
      position: absolute;
      z-index: 1000;
      top: 0;
      width: 100%;
      border-bottom: 1px solid rgba(255,255,255,.18);
      color: var(--white);
      transition: color .22s ease, background-color .22s ease, box-shadow .22s ease;
    }
    .site-header--stuck, .site-header.is-scrolled {
      color: var(--ink);
      border-color: transparent;
      background: rgba(255,255,255,.96);
      box-shadow: 0 10px 35px rgba(7,35,58,.1);
      backdrop-filter: blur(14px);
    }
    .site-header__inner { display: flex; min-height: 82px; align-items: center; gap: 26px; }
    .brand { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 105px; height: 48px; padding: 7px 12px; border-radius: 14px; background: var(--white); }
    .brand img { display: block; width: 78px; max-height: 34px; object-fit: contain; }
    .desktop-nav { flex: 1 1 auto; }
    .desktop-nav .uk-navbar-nav { gap: 2px; }
    .desktop-nav .uk-navbar-nav > li > a {
      min-height: 82px;
      padding: 0 12px;
      color: inherit;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      text-transform: none;
    }
    .desktop-nav .uk-navbar-nav > li > a:hover { color: var(--blue); }
    .site-header--stuck .desktop-nav .uk-navbar-nav > li > a:hover,
    .site-header.is-scrolled .desktop-nav .uk-navbar-nav > li > a:hover { color: var(--sea); }
    .header-actions { display: flex; align-items: center; gap: 14px; }
    .account-link { font-size: 13px; font-weight: 600; white-space: nowrap; }
    .header-cta { min-height: 44px; padding: 0 19px; line-height: 42px; }
    .menu-button {
      display: none;
      width: 48px;
      height: 48px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,.42);
      border-radius: 50%;
      color: inherit;
      background: rgba(255,255,255,.08);
    }
    .site-header--stuck .menu-button, .site-header.is-scrolled .menu-button { border-color: var(--line); background: var(--white); }

    .hero { position: relative; min-height: 820px; color: var(--white); background: var(--navy); isolation: isolate; }
    .hero__media, .hero__media::after { position: absolute; inset: 0; }
    .hero__media {
      z-index: -2;
      overflow: hidden;
      background:
        linear-gradient(118deg, transparent 0 72%, rgba(36,182,227,.08) 72% 72.25%, transparent 72.25%),
        linear-gradient(62deg, transparent 0 81%, rgba(36,182,227,.08) 81% 81.25%, transparent 81.25%),
        radial-gradient(circle at 78% 34%, rgba(36,182,227,.22), transparent 28%),
        linear-gradient(135deg, var(--navy) 0%, var(--sea) 165%);
    }
    .hero__media img {
      position: absolute;
      top: 200px;
      right: max(24px, calc((100vw - 1180px) / 2));
      width: 420px;
      height: 302px;
      border: 1px solid rgba(255,255,255,.24);
      border-radius: 28px;
      object-fit: cover;
      object-position: 54% center;
      box-shadow: 0 35px 80px rgba(0,0,0,.28);
    }
    .hero__media::after {
      content: "";
      background:
        linear-gradient(90deg, rgba(4,25,43,.3) 0%, rgba(4,25,43,.12) 54%, rgba(4,25,43,0) 76%),
        linear-gradient(0deg, rgba(4,25,43,.64) 0%, rgba(4,25,43,0) 45%);
    }
    .hero__inner { display: flex; min-height: 820px; padding-top: 136px; padding-bottom: 96px; align-items: center; }
    .hero__content { position: relative; z-index: 1; width: min(680px, 60%); }
    .hero__eyebrow { display: flex; margin: 0 0 28px; align-items: center; gap: 12px; color: var(--ice); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .hero__eyebrow::before { width: 34px; height: 2px; content: ""; background: var(--accent); }
    .hero h1 { max-width: 760px; margin: 0; color: var(--white); font-family: inherit; font-size: clamp(50px, 6vw, 82px); font-weight: 600; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
    .hero__lead { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
    .hero__actions { display: flex; margin-top: 34px; flex-wrap: wrap; gap: 12px; }
    .hero__facts { display: flex; margin: 40px 0 0; padding: 0; flex-wrap: wrap; gap: 12px 28px; list-style: none; }
    .hero__facts li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 500; }
    .hero__facts li::before { width: 7px; height: 7px; border: 2px solid var(--blue); border-radius: 50%; content: ""; }
    .hero__scroll { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 62px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; }
    .hero__scroll::after { width: 1px; height: 48px; content: ""; background: rgba(255,255,255,.42); }

    .quick-wrap { position: relative; z-index: 3; margin-top: -54px; }
    .quick-panel { display: grid; overflow: hidden; border: 1px solid rgba(216,228,234,.8); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); grid-template-columns: 1.1fr 1fr 1fr; }
    .quick-panel__item { min-height: 124px; padding: 27px 30px; border-right: 1px solid var(--line); }
    .quick-panel__item:last-child { border: 0; }
    .quick-panel__item strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; font-weight: 700; }
    .quick-panel__item span { color: var(--ink-soft); font-size: 14px; }
    .quick-panel__item--action { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--ice); }
    .quick-panel__item--action svg { flex: 0 0 auto; color: var(--sea); }

    .program-tabs, .branch-tabs { margin: 0; }
    .program-tabs { display: flex; padding-bottom: 6px; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-padding-inline: 16px; scroll-snap-type: x proximity; scrollbar-width: thin; }
    .program-tabs > * { flex: 0 0 auto; padding-left: 0; scroll-snap-align: center; }
    .program-tabs > * > a, .branch-tabs > * > a {
      min-height: 46px;
      padding: 0 19px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--ink-soft);
      background: var(--white);
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      line-height: 44px;
      text-transform: none;
      white-space: nowrap;
    }
    .program-tabs > .uk-active > a { color: var(--white); border-color: var(--sea); background: var(--sea); }
    .program-switcher { margin-top: 30px; }
    .program-card { display: grid; min-height: 650px; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: 0 18px 55px rgba(10,26,47,.08); grid-template-columns: .86fr 1.14fr; }
    .program-card__image { min-height: 650px; background: var(--ice); }
    .program-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .program-card--child .program-card__image img { object-position: 76% center; }
    .program-card--teen .program-card__image img { object-position: 63% center; }
    .program-card--adult .program-card__image img { object-position: 56% center; }
    .program-card__body { display: flex; padding: clamp(32px, 4vw, 54px); flex-direction: column; justify-content: center; }
    .program-card__meta { margin: 0 0 18px; color: var(--sea); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .program-card__blocks { display: grid; align-items: stretch; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .program-detail { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--ice-2); }
    .program-detail h3 { margin: 0; color: var(--ink); font-family: inherit; font-size: clamp(23px, 2vw, 29px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
    .program-detail p { margin: 13px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
    .program-detail p + p { margin-top: 12px; color: var(--ink); font-weight: 600; }
    .program-card__list { margin: 16px 0 0; padding: 0; list-style: none; }
    .program-card__list li { display: flex; margin-top: 8px; align-items: flex-start; gap: 9px; color: var(--ink); font-size: 13px; line-height: 1.45; }
    .program-card__list svg { margin-top: 4px; flex: 0 0 auto; color: var(--sea); }
    .program-card__body > .uk-button { margin-top: 24px; align-self: flex-start; }

    .branches-layout { display: grid; align-items: start; gap: 58px; grid-template-columns: .7fr 1.3fr; }
    .branch-tabs-wrap { overflow: hidden; }
    .branch-tabs { display: flex; padding-bottom: 8px; flex-wrap: wrap; gap: 9px; }
    .branch-tabs > * { padding-left: 0; }
    .branch-tabs > * > a { color: rgba(255,255,255,.76); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
    .branch-tabs > .uk-active > a { color: var(--navy); border-color: var(--white); background: var(--white); }
    .branch-switcher { margin-top: 24px; }
    .branch-card { min-height: 310px; padding: 44px; border: 1px solid rgba(255,255,255,.17); border-radius: 26px; background: linear-gradient(140deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); }
    .branch-card__city { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .branch-card h3 { max-width: 590px; margin: 0; color: var(--white); font-family: inherit; font-size: clamp(27px, 3vw, 40px); font-weight: 600; line-height: 1.14; letter-spacing: -.035em; }
    .branch-card address { max-width: 570px; margin: 22px 0 0; color: rgba(255,255,255,.74); font-size: 16px; font-style: normal; }
    .branch-card__actions { display: flex; margin-top: 34px; flex-wrap: wrap; gap: 10px; }
    .branches-note { display: flex; margin-top: 28px; align-items: flex-start; gap: 13px; color: rgba(255,255,255,.64); font-size: 13px; }
    .branches-note svg { margin-top: 3px; flex: 0 0 auto; color: var(--blue); }

    .benefits-layout { display: grid; align-items: center; gap: 72px; grid-template-columns: 1.02fr .98fr; }
    .benefits-image { position: relative; min-height: 640px; }
    .benefits-image > img { width: calc(100% - 54px); height: 590px; border-radius: 28px; object-fit: cover; object-position: 45% center; background: var(--ice); }
    .benefits-callout { position: absolute; right: 0; bottom: 0; width: min(315px, 76%); padding: 28px; border-radius: 22px; color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
    .benefits-callout strong { display: block; margin-bottom: 8px; color: var(--white); font-size: 20px; }
    .benefits-callout span { color: rgba(255,255,255,.7); font-size: 13px; }
    .benefits-list { margin: 36px 0 0; padding: 0; list-style: none; }
    .benefits-list li { display: grid; padding: 22px 0; border-bottom: 1px solid var(--line); gap: 17px; grid-template-columns: 42px 1fr; }
    .benefits-list li:first-child { border-top: 1px solid var(--line); }
    .benefits-list__icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: var(--sea); background: var(--ice); }
    .benefits-list strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 17px; }
    .benefits-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }

    .trainers-slider { margin-top: 10px; }
    .trainer-card { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: var(--white); }
    .trainer-card__photo { overflow: hidden; aspect-ratio: 4 / 5; background: var(--ice); }
    .trainer-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
    .trainer-card:hover .trainer-card__photo img { transform: scale(1.025); }
    .trainer-card__body { min-height: 198px; padding: 24px 23px 25px; }
    .trainer-card__role { margin: 0 0 8px; color: var(--sea); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
    .trainer-card h3 { margin: 0; color: var(--ink); font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.24; letter-spacing: -.025em; }
    .trainer-card__qualification { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
    .slider-controls { display: flex; gap: 9px; }
    .slider-button { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
    .slider-button:hover { border-color: var(--sea); background: var(--ice); }

    .life-intro { max-width: 760px; }
    .life-copy { max-width: 790px; margin: -20px 0 42px; color: rgba(255,255,255,.72); font-size: 16px; }
    .life-layout { display: grid; align-items: stretch; gap: 18px; grid-template-columns: 1.06fr .94fr; }
    .life-community { position: relative; min-height: 610px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: var(--navy-2); }
    .life-community img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
    .life-community::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(10,26,47,.7), transparent 42%); }
    .life-community__caption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 30px; color: rgba(255,255,255,.78); font-size: 13px; }
    .life-community__caption strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 22px; }
    .life-points { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .life-point { display: flex; min-height: 0; padding: 24px; flex-direction: column; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.06); }
    .life-point__number { display: inline-flex; width: 36px; height: 36px; margin-bottom: 18px; align-items: center; justify-content: center; border-radius: 50%; color: var(--navy); background: var(--blue); font-size: 12px; font-weight: 700; }
    .life-point h3 { margin: 0 0 9px; color: var(--white); font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.2; }
    .life-point p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.55; }

    .reviews-layout { display: grid; gap: 18px; grid-template-columns: 1.18fr .82fr; }
    .review-main { display: flex; min-height: 440px; padding: clamp(34px, 5vw, 64px); flex-direction: column; justify-content: space-between; border-radius: 28px; color: var(--white); background: var(--navy); }
    .review-main__text { margin: 0; color: var(--white); font-size: clamp(25px, 3vw, 38px); font-weight: 500; line-height: 1.34; letter-spacing: -.03em; }
    .review-author { margin-top: 34px; color: var(--blue); font-size: 14px; font-weight: 700; }
    .review-list { display: grid; gap: 16px; }
    .review-card { padding: 27px 29px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
    .review-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
    .review-card strong { display: block; margin-top: 15px; color: var(--ink); font-size: 13px; }
    .reviews-note { margin-top: 20px; color: #708493; font-size: 12px; }

    .faq-layout { display: grid; align-items: start; gap: 68px; grid-template-columns: .72fr 1.28fr; }
    .faq-list { margin: 0; }
    .faq-list > li { margin: 0; padding: 0; border-top: 1px solid var(--line); }
    .faq-list > li:last-child { border-bottom: 1px solid var(--line); }
    .faq-list .uk-accordion-title { position: relative; display: flex; min-height: 76px; padding: 21px 46px 21px 0; align-items: center; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.35; }
    .faq-list .uk-accordion-title::before { position: absolute; right: 2px; float: none; }
    .faq-list .uk-open .uk-accordion-title { color: var(--sea); }
    .faq-list .uk-accordion-content { margin: 0; padding: 0 46px 24px 0; color: var(--ink-soft); font-size: 14px; }
    .faq-aside { position: sticky; top: 125px; }
    .faq-aside__card { margin-top: 34px; padding: 25px; border-radius: 20px; background: var(--ice); }
    .faq-aside__card strong { display: block; margin-bottom: 7px; color: var(--ink); }
    .faq-aside__card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 13px; }

    .final-cta { padding: 76px 0 112px; background: var(--ice-2); }
    .final-card { display: grid; overflow: hidden; border-radius: 30px; background: var(--white); box-shadow: var(--shadow); grid-template-columns: .9fr 1.1fr; }
    .final-card__image { min-height: 490px; background: var(--ice); }
    .final-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
    .final-card__body { display: flex; padding: clamp(38px, 6vw, 78px); flex-direction: column; justify-content: center; }
    .final-card h2 { margin: 0; color: var(--ink); font-family: inherit; font-size: clamp(35px, 4vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; }
    .final-card p { max-width: 570px; margin: 22px 0 0; color: var(--ink-soft); font-size: 17px; }
    .final-card__actions { display: flex; margin-top: 31px; flex-wrap: wrap; gap: 10px; }
    .final-card__links { display: flex; margin-top: 25px; flex-wrap: wrap; gap: 10px 22px; }
    .final-card__links a { color: var(--sea); font-size: 13px; font-weight: 700; }

    .site-footer { padding: 64px 0 34px; color: rgba(255,255,255,.7); background: var(--navy); }
    .footer-grid { display: grid; gap: 44px; grid-template-columns: 1.2fr .85fr .85fr .85fr; }
    .footer-brand { display: inline-flex; width: 105px; height: 48px; padding: 7px 12px; align-items: center; justify-content: center; border-radius: 14px; background: var(--white); }
    .footer-brand img { width: 78px; max-height: 34px; object-fit: contain; }
    .footer-note { max-width: 300px; margin: 18px 0 0; font-size: 13px; }
    .footer-title { margin: 0 0 15px; color: var(--white); font-size: 13px; font-weight: 700; }
    .footer-links { margin: 0; padding: 0; list-style: none; }
    .footer-links li { margin-top: 8px; }
    .footer-links a { color: rgba(255,255,255,.66); font-size: 13px; }
    .footer-links a:hover { color: var(--white); }
    .footer-bottom { display: flex; margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }

    .mobile-panel { background: var(--navy); }
    .mobile-panel .uk-offcanvas-bar { width: min(420px, 90vw); padding: 34px; background: var(--navy); }
    .mobile-panel__head { display: flex; align-items: center; justify-content: space-between; }
    .mobile-panel__logo { display: inline-flex; width: 100px; height: 46px; padding: 7px 12px; align-items: center; justify-content: center; border-radius: 13px; background: var(--white); }
    .mobile-panel__logo img { width: 76px; max-height: 32px; object-fit: contain; }
    .mobile-panel__nav { margin: 44px 0 34px; padding: 0; list-style: none; }
    .mobile-panel__nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
    .mobile-panel__nav a { display: flex; min-height: 57px; align-items: center; color: var(--white); font-size: 18px; font-weight: 600; }
    .mobile-panel__actions { display: grid; gap: 10px; }
    .mobile-panel__actions .uk-button { width: 100%; }

    @media (min-width: 901px) {
      #programs { padding: 88px 0; }
      #programs .section-head { margin-bottom: 30px; }
      #programs .program-switcher { margin-top: 24px; }
      #programs .program-card,
      #programs .program-card__image { min-height: 650px; }
    }

    @media (max-width: 1100px) {
      .desktop-nav .uk-navbar-nav > li > a { padding: 0 8px; font-size: 12px; }
      .account-link { display: none; }
      .hero__media img { display: none; }
      .hero__content { width: min(710px, 72%); }
      .branches-layout { gap: 38px; grid-template-columns: .75fr 1.25fr; }
      .benefits-layout { gap: 45px; }
    }

    @media (max-width: 900px) {
      .shell { width: min(100% - 40px, 760px); }
      .section { padding: 86px 0; }
      .section-head { align-items: start; flex-direction: column; gap: 25px; }
      .desktop-nav, .header-actions { display: none; }
      .site-header__inner { min-height: 72px; justify-content: space-between; }
      .brand { width: 96px; height: 44px; }
      .menu-button { display: inline-flex; }
      .hero, .hero__inner { min-height: 780px; }
      .hero__inner { padding-top: 122px; padding-bottom: 96px; }
      .hero__content { width: min(650px, 90%); }
      .hero__media img {
        display: block;
        top: auto;
        right: 20px;
        bottom: 20px;
        width: 429px;
        height: 309px;
        border-radius: 24px;
        opacity: .38;
      }
      .hero__media::after { background: linear-gradient(180deg, rgba(4,25,43,.96) 0%, rgba(4,25,43,.9) 56%, rgba(4,25,43,.3) 100%); }
      .hero__scroll { display: none; }
      .quick-panel { grid-template-columns: 1fr; }
      .quick-panel__item { min-height: auto; padding: 22px 25px; border-right: 0; border-bottom: 1px solid var(--line); }
      .program-card { min-height: 0; grid-template-columns: 1fr; }
      .program-card__image { min-height: 0; aspect-ratio: 16 / 9; }
      .program-card__body { min-height: 0; }
      .branches-layout { grid-template-columns: 1fr; }
      .branch-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
      .branch-tabs > * { flex: 0 0 auto; }
      .benefits-layout { grid-template-columns: 1fr; }
      .benefits-image { max-width: 680px; }
      .faq-layout { grid-template-columns: 1fr; }
      .faq-aside { position: static; }
      .life-layout { grid-template-columns: 1fr; }
      .life-community { min-height: 500px; }
      .final-card { grid-template-columns: 1fr; }
      .final-card__image { min-height: 380px; max-height: 480px; }
      .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
      .footer-grid > :first-child { grid-column: 1 / -1; }
    }

    @media (max-width: 640px) {
      body { font-size: 15px; }
      .shell { width: calc(100% - 32px); }
      .section { padding: 72px 0; }
      .section-heading { font-size: clamp(32px, 10vw, 42px); }
      .section-intro { margin-top: 16px; font-size: 16px; }
      .section-head { margin-bottom: 32px; }
      .site-header__inner { min-height: 66px; }
      .brand { width: 90px; height: 42px; }
      .menu-button { width: 44px; height: 44px; }
      .hero, .hero__inner { min-height: 780px; }
      .hero__inner { padding-top: 104px; padding-bottom: 112px; align-items: flex-start; }
      .hero__content { width: 100%; }
      .hero__eyebrow { margin-bottom: 19px; font-size: 10px; letter-spacing: .1em; }
      .hero h1 { max-width: 345px; font-size: clamp(39px, 12vw, 48px); line-height: 1.01; }
      .hero__lead { max-width: 350px; margin-top: 18px; font-size: 16px; line-height: 1.48; }
      .hero__actions { margin-top: 24px; flex-direction: column; align-items: stretch; }
      .hero__actions .uk-button { width: 100%; }
      .hero__facts { margin-top: 24px; gap: 7px 15px; }
      .hero__facts li { font-size: 11px; }
      .hero__media img { right: auto; bottom: 0; left: 16px; width: calc(100% - 32px); height: 236px; border-radius: 24px 24px 0 0; opacity: .46; object-position: center; }
      .hero__media::after { background: linear-gradient(180deg, rgba(4,25,43,.98) 0%, rgba(4,25,43,.92) 58%, rgba(4,25,43,.28) 100%); }
      .quick-wrap { margin-top: -30px; }
      .quick-panel { border-radius: 20px; }
      .quick-panel__item { padding: 20px; }
      .quick-panel__item--action { display: none; }
      .program-tabs { margin-right: -16px; }
      .program-tabs > * > a, .branch-tabs > * > a { min-height: 44px; padding: 0 16px; line-height: 42px; }
      .program-card { border-radius: 22px; }
      .program-card__image { aspect-ratio: 4 / 3; }
      .program-card__body { padding: 28px 22px 30px; }
      .program-card__blocks { grid-template-columns: 1fr; }
      .program-detail { padding: 22px 20px; }
      .program-detail h3 { font-size: 26px; }
      .program-card__body > .uk-button { width: 100%; }
      .branch-card { min-height: 0; padding: 29px 24px; border-radius: 22px; }
      .branch-card__actions { flex-direction: column; align-items: stretch; }
      .branch-card__actions .uk-button { width: 100%; }
      .benefits-image { min-height: 480px; }
      .benefits-image > img { width: calc(100% - 24px); height: 440px; border-radius: 22px; }
      .benefits-callout { width: min(285px, 88%); padding: 22px; border-radius: 18px; }
      .benefits-list li { padding: 19px 0; }
      .trainers-slider { margin-right: -16px; }
      .trainers-slider .uk-slider-items > li { width: 82%; }
      .trainer-card__body { min-height: 185px; }
      .life-copy { margin-top: -12px; margin-bottom: 30px; font-size: 15px; }
      .life-community { min-height: 410px; }
      .life-community__caption { padding: 22px; }
      .life-points { grid-template-columns: 1fr; }
      .life-point { padding: 22px; }
      .reviews-layout { grid-template-columns: 1fr; }
      .review-main { min-height: 380px; padding: 31px 27px; }
      .faq-list .uk-accordion-title { min-height: 70px; padding-right: 40px; font-size: 16px; }
      .faq-list .uk-accordion-content { padding-right: 18px; }
      .final-cta { padding: 60px 0 78px; }
      .final-card { border-radius: 24px; }
      .final-card__image { min-height: 300px; }
      .final-card__body { padding: 34px 24px 38px; }
      .final-card__actions { flex-direction: column; }
      .final-card__actions .uk-button { width: 100%; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-grid > :first-child { grid-column: 1 / -1; }
      .footer-bottom { align-items: flex-start; flex-direction: column; }
    }

    @media (max-width: 420px) {
      .hero h1 { font-size: 39px; }
      .hero__facts { max-width: 320px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-grid > :first-child { grid-column: auto; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
      .hero__media img, .trainer-card__photo img { transform: none !important; }
      .uk-animation-slide-top, .uk-animation-fade, [uk-scrollspy] { animation: none !important; opacity: 1 !important; }
    }
  


    html, body { background: var(--white); }

    .site-header {
      color: var(--ink);
      border-color: rgba(14, 76, 110, .14);
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 1px 0 rgba(14, 76, 110, .04);
      backdrop-filter: blur(14px);
    }
    .site-header--stuck, .site-header.is-scrolled {
      color: var(--ink);
      border-color: transparent;
      background: rgba(255, 255, 255, .97);
      box-shadow: 0 12px 34px rgba(10, 26, 47, .09);
    }
    .desktop-nav .uk-navbar-nav > li > a:hover { color: var(--sea); }
    .menu-button,
    .site-header--stuck .menu-button,
    .site-header.is-scrolled .menu-button {
      color: var(--ink);
      border-color: rgba(14, 76, 110, .26);
      background: var(--white);
    }

    .hero {
      color: var(--ink);
      background: var(--white);
    }
    .hero__media {
      background:
        linear-gradient(118deg, transparent 0 72%, rgba(36,182,227,.08) 72% 72.2%, transparent 72.2%),
        linear-gradient(62deg, transparent 0 82%, rgba(14,76,110,.07) 82% 82.2%, transparent 82.2%),
        radial-gradient(circle at 88% 28%, rgba(36,182,227,.13), transparent 27%),
        linear-gradient(135deg, var(--white) 0%, var(--ice-2) 58%, var(--ice) 150%);
    }
    .hero__media::before {
      position: absolute;
      top: 170px;
      right: max(2px, calc((100vw - 1240px) / 2));
      width: 475px;
      height: 365px;
      border: 1px solid rgba(36,182,227,.13);
      border-radius: 42px;
      content: "";
      background: rgba(230,243,250,.62);
      transform: rotate(-3deg);
    }
    .hero__media::after { background: none; }
    .hero__media img {
      border-color: rgba(14, 76, 110, .2);
      box-shadow: 0 28px 70px rgba(10, 26, 47, .16);
    }
    .hero__content { width: min(700px, 58%); }
    .hero__eyebrow { color: var(--sea); }
    .hero__eyebrow::before { background: var(--blue); }
    .hero h1 { color: var(--ink); }
    .hero__lead { color: var(--ink-soft); }
    .hero__facts li { color: var(--ink); }
    .hero__scroll { color: var(--sea); }
    .hero__scroll::after { background: rgba(14,76,110,.35); }
    .hero .button-on-dark {
      color: var(--ink);
      border-color: rgba(14,76,110,.38);
      background: var(--white);
    }
    .hero .button-on-dark:hover,
    .hero .button-on-dark:focus {
      color: var(--ink);
      border-color: var(--sea);
      background: var(--ice);
    }

    .quick-wrap { margin-top: -50px; }
    .quick-panel {
      border-color: rgba(14,76,110,.16);
      box-shadow: 0 22px 58px rgba(10,26,47,.1);
    }
    .quick-panel__item--action { background: var(--ice); }

    .section--navy {
      color: var(--ink);
      background: var(--white);
    }
    .section--navy .section-label { color: var(--sea); }
    .section--navy .section-heading { color: var(--ink); }
    .section--navy .section-intro { color: var(--ink-soft); }
    .section--navy .button-on-dark {
      color: var(--ink);
      border-color: rgba(14,76,110,.34);
      background: var(--white);
    }
    .section--navy .button-on-dark:hover,
    .section--navy .button-on-dark:focus {
      color: var(--ink);
      border-color: var(--sea);
      background: var(--ice);
    }

    #branches {
      border-block: 1px solid rgba(14,76,110,.09);
      background:
        linear-gradient(120deg, transparent 0 76%, rgba(36,182,227,.07) 76% 76.2%, transparent 76.2%),
        var(--ice-2);
    }
    .branch-tabs > * > a {
      color: var(--ink-soft);
      border-color: rgba(14,76,110,.2);
      background: var(--white);
    }
    .branch-tabs > .uk-active > a {
      color: var(--white);
      border-color: var(--sea);
      background: var(--sea);
    }
    .branch-card {
      border-color: rgba(14,76,110,.18);
      background: var(--white);
      box-shadow: 0 18px 48px rgba(10,26,47,.08);
    }
    .branch-card__city { color: var(--sea); }
    .branch-card h3 { color: var(--ink); }
    .branch-card address { color: var(--ink-soft); }
    .branches-note { color: var(--ink-soft); }

    #school-life {
      border-bottom: 1px solid rgba(14,76,110,.1);
      background: var(--white);
    }
    .life-copy { color: var(--ink-soft); }
    .life-community {
      border-color: rgba(14,76,110,.18);
      background: var(--ice);
      box-shadow: 0 20px 54px rgba(10,26,47,.1);
    }
    .life-point {
      border-color: rgba(14,76,110,.16);
      background: var(--ice-2);
    }
    .life-point:nth-child(2),
    .life-point:nth-child(3) { background: var(--white); }
    .life-point__number { color: var(--white); background: var(--sea); }
    .life-point h3 { color: var(--ink); }
    .life-point p { color: var(--ink-soft); }

    .review-main { background: var(--navy); }
    .site-footer { background: var(--navy); }

    @media (min-width: 901px) and (max-width: 1100px) {
      .hero__content { width: 61%; }
      .hero h1 { font-size: clamp(52px, 5.6vw, 64px); }
      .hero__media::before {
        top: 218px;
        right: 20px;
        width: 39vw;
        height: 300px;
      }
      .hero__media img {
        display: block;
        top: 235px;
        right: 30px;
        width: 36vw;
        height: 264px;
      }
    }

    @media (max-width: 900px) {
      .hero, .hero__inner { min-height: 940px; }
      .hero__inner { padding-top: 180px; padding-bottom: 360px; align-items: flex-start; }
      .hero__content { width: min(680px, 100%); }
      .hero__media::before {
        top: auto;
        right: 28px;
        bottom: 28px;
        width: min(500px, calc(100% - 56px));
        height: 310px;
      }
      .hero__media img {
        display: block;
        top: auto;
        right: 40px;
        bottom: 40px;
        left: auto;
        width: min(480px, calc(100% - 80px));
        height: 286px;
        border-radius: 24px;
        opacity: 1;
        object-position: 54% center;
      }
      .quick-wrap { margin-top: -40px; }
    }

    @media (min-width: 421px) and (max-width: 640px) {
      .hero h1 { max-width: 390px; font-size: 42px; }
    }

    @media (max-width: 640px) {
      .hero, .hero__inner { min-height: 980px; }
      .hero__inner { padding-top: 105px; padding-bottom: 350px; }
      .hero__media::before {
        right: 14px;
        bottom: 37px;
        width: calc(100% - 28px);
        height: 272px;
        border-radius: 27px;
      }
      .hero__media img {
        right: 16px;
        bottom: 42px;
        left: 16px;
        width: calc(100% - 32px);
        height: 252px;
        border-radius: 24px;
        opacity: 1;
        object-position: 54% center;
      }
      .quick-wrap { margin-top: -34px; }
      .quick-panel { box-shadow: 0 18px 44px rgba(10,26,47,.09); }
      #branches { background: var(--ice-2); }
    }

/* Local production additions: responsive media, focus visibility and 404 page. */
.hero__media picture,
.program-card__image picture,
.benefits-image picture,
.trainer-card__image picture,
.life-community picture,
.final-card__image picture {
  display: block;
  width: 100%;
  height: 100%;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid #08789b;
  outline-offset: 4px;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: #f2faff;
  color: #071b31;
  text-align: center;
}

.error-card {
  width: min(100%, 640px);
  padding: clamp(30px, 7vw, 72px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 27, 49, .12);
}

.error-card img { width: 76px; height: auto; }
.error-card h1 { margin: 24px 0 12px; font-size: clamp(38px, 8vw, 72px); }
.error-card p { margin: 0 auto 28px; max-width: 42ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
