/* ============================================================
   СМАРТ СКУЛ «НОВАЯ РИГА» 5–11 — дизайн-система сайта старшей школы
   Палитра фирстиля 2026: Синий #0D2442 · Голубой #20ACD2 · Жёлтый «фасад» #FDD200
   + светлый фон #EEF4F7, светло-голубой #B2CFD7, дуб.
   Шрифты: Fira Sans Extra Condensed 800 (заголовки капсом), Montserrat (текст),
   Caveat (рукописные пометки — как в логотипе).
   Компоненты и имена классов совпадают с сайтом начальной школы (anoo-smart-school.ru),
   чтобы сайты сети правились одинаково.
   ============================================================ */

/* ---------- Шрифты (лежат на сайте, без Google Fonts) ---------- */
@font-face{font-family:"Fira Sans Extra Condensed";src:url("../fonts/fira-sans-extra-condensed-cyrillic-800-normal.woff2") format("woff2");font-weight:800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Fira Sans Extra Condensed";src:url("../fonts/fira-sans-extra-condensed-latin-800-normal.woff2") format("woff2");font-weight:800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD,U+20BD;}
@font-face{font-family:"Fira Sans Extra Condensed";src:url("../fonts/fira-sans-extra-condensed-cyrillic-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Fira Sans Extra Condensed";src:url("../fonts/fira-sans-extra-condensed-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD,U+20BD;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-cyrillic-400-normal.woff2") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-cyrillic-500-normal.woff2") format("woff2");font-weight:500;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-cyrillic-600-normal.woff2") format("woff2");font-weight:600;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");font-weight:600;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-cyrillic-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-cyrillic-800-normal.woff2") format("woff2");font-weight:800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");font-weight:800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Caveat";src:url("../fonts/caveat-cyrillic-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Caveat";src:url("../fonts/caveat-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ---------- Токены ---------- */
:root {
  --paper: #EEF4F7;          /* фон страниц (как в макетах старшей школы) */
  --paper-2: #E2ECF1;        /* тонированные секции */
  --white: #FFFFFF;
  --navy: #0D2442;           /* Синий — основной */
  --navy-2: #16345C;         /* синий светлее — ховеры, карточки на синем */
  --ink: #0D2442;            /* основной текст */
  --ink-soft: #44566C;       /* второстепенный текст (≥ 6:1 на фоне) */
  --cyan: #20ACD2;           /* Голубой — бренд: на синем, иконки, крупные элементы */
  --cyan-head: #1592BA;      /* Голубой для крупных заголовков на светлом (контраст ≥ 3:1) */
  --cyan-ink: #0A7090;       /* Голубой для мелкого текста и ссылок на светлом (≥ 4.5:1) */
  --yellow: #FDD200;         /* Жёлтый «фасад» — кнопки, плашки, звёзды. Не для текста на светлом */
  --yellow-ink: #7A5E00;     /* «жёлтый» мелкий текст на светлом */
  --sky: #B2CFD7;            /* светло-голубой из брендбука */
  --tint: #DCEBF1;           /* голубая подложка */
  --line: #D3E0E8;

  --font-main: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fira Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --r-card: 20px;
  --r-plate: 18px 18px 48px 18px; /* «плашка» из брендбука — скруглённый нижний правый угол */
  --r-input: 12px;
  --r-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(13, 36, 66, 0.08);
  --shadow-lift: 0 18px 44px rgba(13, 36, 66, 0.16);

  --container: 1240px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  --fs-body: 1rem;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--navy); }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; font-weight: 700; text-wrap: balance; }
h3, h4 { letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
strong, b { font-weight: 700; }
::selection { background: var(--yellow); color: var(--navy); }
html { scrollbar-color: var(--sky) transparent; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ---------- Типографика ---------- */
.display, .h2, .h1-page {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.002em;
  color: var(--navy);
}
.display { font-size: clamp(2.75rem, 6vw, 5.1rem); line-height: 0.96; }
.h2 { font-size: clamp(2.15rem, 4.3vw, 3.5rem); line-height: 0.98; }
.h1-page { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.97; }
.display .accent, .h2 .accent, .h1-page .accent { color: var(--cyan-head); display: inline; }
.section-dark .display, .section-dark .h2 { color: #fff; }
.section-dark .accent, .on-dark .accent { color: var(--cyan); }
.h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 700; }
.lead { font-size: clamp(1.06rem, 1.45vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; font-weight: 500; }
.muted { color: var(--ink-soft); }
.kicker-line { display: none; }
.hand {
  font-family: var(--font-hand); font-weight: 700; color: var(--cyan-ink); letter-spacing: 0;
}
.hand-note {
  font-family: var(--font-hand); font-weight: 700;
  font-size: 1.6rem; line-height: 1.1;
  color: var(--cyan-ink);
  transform: rotate(-2deg);
  display: inline-block;
}
.section-dark .hand-note { color: var(--yellow); }
.star-i { display: inline-block; width: 0.8em; height: 0.8em; vertical-align: 0.02em; }

/* Подчёркивание-росчерк жёлтым маркером */
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg {
  position: absolute; left: -2%; right: 0; bottom: -0.08em;
  width: 104%; height: 0.3em; overflow: visible; z-index: -1;
}
.squiggle path {
  fill: none; stroke: var(--yellow); stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
}
.in-view .squiggle path, .squiggle.in-view path { animation: drawline 1.1s var(--ease-out) 0.35s forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

/* ---------- Каркас ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; isolation: isolate; }
.section-tint { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: #D5E2EE; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #C3D3E2; }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { margin-top: 18px; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin-bottom: 0; }
/* звезда-ориентир в углу секции (не россыпь — одна) */
.sec-star { position: absolute; width: 34px; height: 34px; right: max(24px, calc(50% - 600px)); top: clamp(40px, 6vw, 80px); z-index: -1; opacity: .95; }

/* ---------- Шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { height: var(--nav-h); display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-tag {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1;
  color: var(--navy); background: var(--yellow); padding: 6px 9px 5px; border-radius: 8px 8px 16px 8px;
  letter-spacing: .02em;
}
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.93rem;
  padding: 6px 1px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--yellow); }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: 6px; }
.eye-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; transition: border-color .2s, transform .2s;
}
.eye-btn:hover { border-color: var(--cyan); transform: translateY(-1px); }
.eye-btn svg { width: 21px; height: 21px; }
.burger {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--line);
  border-radius: 14px; background: var(--white); cursor: pointer; position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2.5px;
  background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s;
}
.burger span { top: 21.5px; }
.burger span::before { top: -7px; left: 0; right: 0; }
.burger span::after { top: 7px; left: 0; right: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill);
  background: var(--navy); color: #fff !important;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: none; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap; letter-spacing: .005em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: var(--navy-2); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-yellow { background: var(--yellow); color: var(--navy) !important; }
.btn-yellow:hover { background: #FFDD33; }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff !important; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy) !important; }
.btn-light:hover { background: var(--tint); }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn .arr { transition: transform .25s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* пилюли-плашки, как в макетах */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.82rem; letter-spacing: .02em;
}
.pill-yellow { background: var(--yellow); color: var(--navy); }
.pill-light { background: var(--white); color: var(--navy); box-shadow: var(--shadow-soft); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253,210,0,.25); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .pill { margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; padding: 0 22px 26px 0; }
.hero-photo {
  position: relative; z-index: 1;
  border-radius: 28px 28px 72px 28px; overflow: hidden; box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3.35; background: var(--sky);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* дубовая подложка со смещением — приём табличек из брендбука */
.hero-oak {
  position: absolute; right: 0; bottom: 0; width: 62%; height: 70%;
  border-radius: 28px 28px 72px 28px; background: #C9A57A url("../img/oak.webp") center / cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.hero-inset {
  position: absolute; z-index: 2; left: -34px; bottom: -6px; width: 34%;
  border-radius: 18px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lift);
  transform: rotate(-3deg); aspect-ratio: 3 / 4; background: var(--sky);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute; z-index: 3; right: 6%; top: -18px;
  background: var(--yellow); border-radius: 14px 14px 30px 14px;
  padding: 8px 16px 9px; box-shadow: var(--shadow-soft);
  font-family: var(--font-hand); font-weight: 700; font-size: 1.55rem; line-height: 1.05; color: var(--navy);
  transform: rotate(3deg);
}
.hero-star { position: absolute; z-index: 3; width: clamp(40px, 4.4vw, 58px); right: -6px; bottom: 30%; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(13,36,66,.18)); }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

/* ---------- Полоса фактов ---------- */
.stats { background: var(--white); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 3.5vw, 44px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 4.6vw, 3.9rem); line-height: 0.95; color: var(--navy); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat b small { font-size: 0.5em; color: var(--cyan-head); margin-left: 2px; }
.stat > span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.45; display: block; }

/* ---------- Цитата / манифест ---------- */
.quote-wrap { max-width: 980px; margin: 0 auto; position: relative; }
.quote-mark {
  font-family: var(--font-display); font-weight: 800; font-size: 7rem; line-height: 0.6;
  color: var(--yellow); display: block; margin-bottom: 8px;
}
.quote-text {
  font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.38;
  letter-spacing: -0.015em; margin-bottom: 28px; text-wrap: pretty; color: var(--navy);
}
.quote-author { display: flex; align-items: center; gap: 16px; }
.quote-author .ava {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto;
}
.quote-author b { display: block; }
.quote-author span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Факты о школе (4 факта) ---------- */
.facts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.fact {
  grid-column: span 3; background: var(--white); border-radius: var(--r-card); padding: 28px 26px 26px;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.fact:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.fact .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--cyan-ink); display: flex; align-items: center; justify-content: center; }
.fact .ico svg { width: 24px; height: 24px; }
.fact h3 { font-size: 1.12rem; margin: 4px 0 0; }
.fact p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
.fact-dark { background: var(--navy); color: #C9D8E6; }
.fact-dark h3 { color: #fff; }
.fact-dark p { color: #C3D3E2; }
.fact-dark .ico { background: rgba(255,255,255,.1); color: var(--yellow); }

/* ---------- Три кита ---------- */
.whales { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.whale {
  background: var(--white); border-radius: var(--r-plate); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px;
}
.whale-num { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: .8; color: var(--yellow); -webkit-text-stroke: 0; }
.whale h3 { font-size: 1.3rem; margin: 0; }
.whale > p { color: var(--ink-soft); margin: 0; }
.gets { display: grid; gap: 12px; margin-top: 6px; }
.get { border-top: 1px dashed var(--line); padding-top: 12px; }
.get b { display: block; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-ink); margin-bottom: 6px; }
.get ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.get li { position: relative; padding-left: 22px; font-size: 0.93rem; line-height: 1.5; color: var(--ink); }
.get li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); }

/* ---------- Бенто / подход ---------- */
.bento { display: grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.bento-card {
  background: var(--white); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.bento-card h3 { margin-top: 14px; }
.bento-card p { color: var(--ink-soft); margin-bottom: 0; }
.bento-ill { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.bento-ill img { width: 100%; height: 100%; object-fit: cover; }
.b-6 { grid-column: span 6; } .b-4 { grid-column: span 4; } .b-8 { grid-column: span 8; } .b-12 { grid-column: span 12; } .b-5 { grid-column: span 5; } .b-7 { grid-column: span 7; } .b-3 { grid-column: span 3; }
.bento-wide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--navy); color: #C9D8E6; }
.bento-wide h3 { color: #fff; }
.bento-wide p { color: #C3D3E2; }
.bento-wide .bento-ill { aspect-ratio: auto; height: 100%; min-height: 240px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  padding: 7px 14px; border-radius: var(--r-pill); font-size: 0.86rem; font-weight: 600;
  background: rgba(255,255,255,0.1); color: #E6EEF6; border: 1px solid rgba(255,255,255,0.2);
}
.chip-light { background: var(--tint); color: var(--navy); border: none; }
.chip-yellow { background: var(--yellow); color: var(--navy); border: none; }

/* CPA-шаги (сингапурская система) */
.cpa-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; counter-reset: cpa; }
.cpa-row div { position: relative; padding: 14px 16px 14px 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.cpa-row div:first-child { border-radius: 14px 0 0 14px; }
.cpa-row div:last-child { border-radius: 0 14px 14px 0; }
.cpa-row b { display: block; color: var(--yellow); font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; line-height: 1; margin-bottom: 4px; }
.cpa-row span { font-size: 0.86rem; color: #D2DFEC; line-height: 1.4; display: block; }

/* ---------- Профориентация по классам (лестница) ---------- */
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.track-step {
  background: var(--white); border-radius: var(--r-card); padding: 24px 22px 22px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px; position: relative;
}
.track-step:nth-child(2) { margin-bottom: 28px; } .track-step:nth-child(3) { margin-bottom: 56px; } .track-step:nth-child(4) { margin-bottom: 84px; }
.track-grade { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; color: var(--cyan-ink); letter-spacing: .02em; }
.track-q { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: .98; color: var(--navy); margin: 0; }
.track-step > p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
.track-step details { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 2px; }
.track-step summary { cursor: pointer; font-weight: 700; font-size: 0.88rem; color: var(--cyan-ink); list-style: none; display: flex; align-items: center; gap: 8px; }
.track-step summary::-webkit-details-marker { display: none; }
.track-step summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease-out); }
.track-step details[open] summary::after { transform: rotate(45deg); }
.track-step ul { margin: 10px 0 0; padding-left: 1.1em; font-size: 0.88rem; color: var(--ink); line-height: 1.5; }
.track-step li { margin-bottom: 4px; }
.track-step li span { color: var(--ink-soft); }
.track-step.is-last { background: var(--navy); color: #C9D8E6; }
.track-step.is-last .track-q { color: #fff; }
.track-step.is-last .track-grade { color: var(--yellow); }
.track-step.is-last > p { color: #C3D3E2; }
.track-step.is-last summary { color: var(--yellow); }
.track-step.is-last ul { color: #E6EEF6; }
.track-step.is-last li span { color: #C3D3E2; }
.track-arrow { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--ink-soft); font-size: 0.92rem; }
.track-arrow i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), var(--cyan)); border-radius: 2px; }

/* ---------- Траектория 5–9 (три колонки) ---------- */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lane { background: var(--white); border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px; }
.lane-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lane h3 { margin: 0; font-size: 1.22rem; }
.lane .tag { font-size: 0.74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--navy); white-space: nowrap; }
.lane .tag-y { background: var(--yellow); }
.lane ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.lane li { position: relative; padding-left: 24px; font-size: 0.94rem; line-height: 1.45; }
.lane li::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; background: url("../img/star-cyan.svg") center / contain no-repeat; }
.lane .subjects { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.12rem; line-height: 1.25; color: var(--navy); letter-spacing: .01em; }
.mode-bar { margin-top: 20px; display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 12px; align-items: stretch; }
.mode-bar > div { background: var(--white); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-soft); }
.mode-bar b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.mode-bar span { font-size: 0.88rem; color: var(--ink-soft); }
.mode-bar .mode-title { background: var(--navy); color: #fff; display: flex; align-items: center; font-weight: 700; }
.mode-bar .mode-cta { background: transparent; box-shadow: none; padding: 0; display: flex; align-items: center; }

/* ---------- Профили 10–11 ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile {
  border-radius: var(--r-plate); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.profile .p-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: .95; color: #fff; margin: 0; }
.profile .p-subj { color: var(--yellow); font-weight: 700; font-size: 0.92rem; letter-spacing: .01em; }
.profile p { color: #C3D3E2; margin: 0; font-size: 0.95rem; }
.profile .chip-row { margin-top: 6px; }
.profile:nth-child(2) { background: rgba(32,172,210,.14); border-color: rgba(32,172,210,.35); }

/* ---------- Портрет выпускника ---------- */
.portrait { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.portrait-photo { border-radius: 26px 26px 64px 26px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lift); }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.skill { padding: 11px 18px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-soft); font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.skill:nth-child(3n+1) { background: var(--navy); color: #fff; }
.skill:nth-child(4n+3) { background: var(--yellow); color: var(--navy); }

/* ---------- Доп. образование ---------- */
.clubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.club { background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 6px; }
.club b { font-size: 1rem; line-height: 1.3; }
.club span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }
.club small { font-size: 0.8rem; color: var(--cyan-ink); font-weight: 600; }
.clubs-head { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; }
.clubs-head h3 { margin: 0; }
@media (max-width: 980px) { .clubs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .clubs { grid-template-columns: 1fr; } }

/* ---------- Отзывы учеников ---------- */
.voices { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.voice { margin: 0; grid-column: span 4; background: var(--white); border-radius: var(--r-card); padding: 26px 26px 22px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px; }
.voice-big { grid-column: span 8; background: var(--navy); color: #fff; }
.voice q { quotes: none; font-size: 1.04rem; line-height: 1.55; font-weight: 500; color: var(--navy); }
.voice-big q { color: #fff; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.02; letter-spacing: .005em; }
.voice q::before { content: "«"; } .voice q::after { content: "»"; }
.voice .who { margin-top: auto; font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.voice-big .who { color: #C3D3E2; }
.voice .who img { width: 18px; height: 18px; }
.voice-yellow { background: var(--yellow); }
.voice-yellow .who { color: var(--navy); }

/* ---------- Команда ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.person { background: var(--white); border-radius: var(--r-card); padding: 24px 22px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-out), box-shadow .3s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.person b { display: block; font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; }
.person .role { display: block; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; }
.person .meta { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.86rem; color: var(--cyan-ink); font-weight: 600; }
.pedagog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }

/* ---------- Видео «Школа вживую» ---------- */
.live-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.phone-card {
  margin: 0; background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s; display: flex; flex-direction: column;
}
.phone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.phone-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--navy); }
.phone-card figcaption { padding: 14px 16px 18px; }
.phone-card b { display: block; font-size: 0.98rem; line-height: 1.3; margin-bottom: 4px; }
.phone-card span { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.45; display: block; }
.section-dark .phone-card { background: var(--navy-2); }
.section-dark .phone-card b { color: #fff; }
.section-dark .phone-card span { color: #C3D3E2; }
.live-note { margin-top: 22px; font-size: 0.88rem; color: #AFC3D6; }
.live-note a { color: #fff; }

/* ---------- Галерея ---------- */
.gallery {
  display: flex; gap: 16px; overflow-x: auto; padding: 8px 24px 26px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--cyan) transparent;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }
.gallery figure {
  margin: 0; flex: 0 0 auto; height: clamp(300px, 34vw, 440px); scroll-snap-align: center;
  border-radius: 20px; overflow: hidden; background: var(--tint); position: relative;
}
.gallery figure.v { aspect-ratio: 3 / 4; }
.gallery figure.h { aspect-ratio: 4 / 3; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
  background: rgba(255,255,255,.94); color: var(--navy); font-size: 0.82rem; font-weight: 700;
  padding: 6px 12px; border-radius: 10px 10px 18px 10px;
}
.gallery-hint { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.88rem; }
.space-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.space-fact { background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-soft); display: flex; gap: 14px; align-items: center; }
.space-fact b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; white-space: nowrap; }
.space-fact span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- Поступление ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--r-card); padding: 30px 22px 24px; position: relative; box-shadow: var(--shadow-soft); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 20px;
  width: 38px; height: 38px; border-radius: 12px 12px 20px 12px;
  background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.step p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.priem-panel { margin-top: 40px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
.price-card { background: var(--navy); color: #C9D8E6; border-radius: var(--r-plate); padding: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; }
.price-card .h3 { color: #fff; }
.price-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); color: #fff; line-height: .95; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.price-num small { font-size: 0.38em; color: var(--yellow); letter-spacing: .02em; }
.price-sub { color: #C3D3E2; font-size: 0.95rem; margin-bottom: 20px; }
.price-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.price-list li { position: relative; padding-left: 22px; font-size: 0.92rem; color: #E6EEF6; }
.price-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 3px; background: var(--yellow); }
.price-discounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-discounts div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; }
.price-discounts b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--yellow); font-size: 1.6rem; line-height: 1; }
.price-discounts span { font-size: 0.84rem; color: #C3D3E2; }
.side-card { background: var(--white); border-radius: var(--r-card); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px; }
.side-card .h3 { margin: 0; }
.side-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-weight: 600; font-size: 0.95rem; }
.side-row:last-of-type { border-bottom: none; }
.side-row b { font-size: 0.78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.side-row b.muted-b { background: var(--tint); color: var(--ink-soft); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-list a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--paper); color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.92rem; transition: background .2s, transform .2s; }
.link-list a:hover { background: var(--tint); transform: translateX(3px); }
.link-list svg { width: 18px; height: 18px; color: var(--cyan-ink); flex: 0 0 auto; }
.transfer-band { margin-top: 20px; background: var(--yellow); border-radius: var(--r-plate); padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.transfer-band b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1; color: var(--navy); }
.transfer-band p { margin: 4px 0 0; color: var(--navy); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 18px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s; box-shadow: 0 1px 0 var(--line); }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--navy); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease-out); line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Статьи ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.articles-grid--2 { grid-template-columns: repeat(2, 1fr); }
.article-card { background: var(--white); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: transform .35s var(--ease-out), box-shadow .35s; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: var(--ink); }
.article-card .cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.article-card:hover .cover img { transform: scale(1.05); }
.article-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card h3 { font-size: 1.1rem; margin: 0; line-height: 1.32; }
.article-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.article-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--cyan-ink); font-size: 0.9rem; }
.article-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.article-hero .cover { border-radius: 26px 26px 60px 26px; overflow: hidden; margin-top: 36px; max-height: 480px; }
.article-hero .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; margin-top: 14px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; margin-top: 1.8em; color: var(--navy); }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose blockquote { margin: 1.6em 0; padding: 20px 26px; background: var(--white); border-radius: 16px 16px 40px 16px; font-weight: 600; box-shadow: var(--shadow-soft); }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--cyan-ink); }
.prose .hand-note { font-size: 1.7rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.96rem; background: var(--white); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); }

/* ---------- Новости ---------- */
.news-list { display: grid; gap: 22px; }
.news-item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--white); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-soft); transition: transform .35s var(--ease-out), box-shadow .35s; }
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.news-item-img { overflow: hidden; background: var(--tint); min-height: 280px; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.news-item:hover .news-item-img img { transform: scale(1.04); }
.news-item-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.news-item h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0; line-height: 1.25; }
.news-item p { color: var(--ink-soft); margin: 0; }
.news-item .more { font-weight: 700; color: var(--cyan-ink); font-size: .92rem; margin-top: 4px; }
.news-meta { font-size: .84rem; font-weight: 700; color: var(--cyan-ink); letter-spacing: .01em; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--white); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); color: var(--ink); }
.news-card .cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.news-card:hover .cover img { transform: scale(1.04); }
.news-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.32; }
.news-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.prose .news-figure { margin: 1.8em 0; }
.prose .news-figure img { width: 100%; border-radius: 18px; display: block; }
.prose .news-figure figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
.news-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6em 0; }
.news-gallery a { display: block; border-radius: 16px; overflow: hidden; background: var(--tint); aspect-ratio: 3 / 4; }
.news-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.news-gallery a:hover img { transform: scale(1.04); }
.news-video { max-width: 360px; margin: 1.6em auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lift); background: var(--navy); }
.news-video video { width: 100%; aspect-ratio: 9/16; display: block; object-fit: cover; }

/* ---------- CTA-финал + форма ---------- */
.cta { border-radius: 30px 30px 80px 30px; overflow: hidden; position: relative; background: var(--navy); color: #fff; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,36,66,0.97) 32%, rgba(13,36,66,0.62)); }
.cta-in { position: relative; z-index: 1; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta h2 { color: #fff; }
.cta .lead { color: #D5E2EE; }
.cta-contacts { display: grid; gap: 10px; margin-top: 24px; }
.cta-contacts a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.cta-contacts svg { width: 20px; height: 20px; color: var(--yellow); }
.cta-form { background: #fff; border-radius: 22px 22px 46px 22px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; color: var(--navy); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.cta-form .h3 { margin: 0 0 4px; }
.cta-form label { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.cta-form input, .cta-form select { width: 100%; padding: 13px 16px; border-radius: var(--r-input); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1rem; font-family: inherit; transition: border-color .2s, background .2s; }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--cyan); background: #fff; }
.cta-form input::placeholder { color: #7D8C9C; }
.cta-form .btn { margin-top: 4px; width: 100%; }
.cta-form label.agree { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0; font-weight: 500; font-size: 0.84rem; color: var(--ink-soft); cursor: pointer; }
.cta-form .agree input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--navy); }
.cta-form .agree span { flex: 1 1 auto; line-height: 1.45; }
.cta-form .agree a { color: var(--cyan-ink); }
.form-ok { background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; color: var(--navy); }
.cta-alt { font-size: 0.86rem; color: var(--ink-soft); margin: 2px 0 0; }
.cta-alt a { font-weight: 700; color: var(--navy); }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--white); border-radius: var(--r-card); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-soft); }
.contact-card .h3 { margin-bottom: 14px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line svg { width: 22px; height: 22px; color: var(--cyan-ink); flex: 0 0 auto; margin-top: 3px; }
.contact-line a { font-weight: 700; text-decoration: none; color: var(--navy); }
.contact-line a:hover { color: var(--cyan-ink); }
.contact-line small { display: block; color: var(--ink-soft); }
.contact-person { display: flex; gap: 16px; align-items: center; padding: 6px 0 16px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }
.contact-person .ava { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 1.2rem; }
.contact-person b { display: block; font-size: 1.05rem; }
.contact-person span { display: block; color: var(--cyan-ink); font-weight: 600; font-size: 0.92rem; }
.map-frame { border-radius: var(--r-card); overflow: hidden; min-height: 360px; box-shadow: var(--shadow-soft); background: var(--tint); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Футер ---------- */
.footer { background: var(--navy); color: #B9CADB; padding: clamp(52px, 6vw, 84px) 0 32px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 260px; background: url("../img/star.svg") center / contain no-repeat; opacity: .07; transform: rotate(-12deg); }
.footer a { color: #E6EEF6; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 24px; position: relative; }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer h4 { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; font-size: 0.9rem; line-height: 1.45; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.84rem; color: #93A8BE; position: relative; }
.footer-net { margin-top: 14px; font-size: 0.84rem; }
.footer-net a { color: var(--yellow); }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); }
.page-hero .lead { margin-top: 18px; }
.crumbs { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split-photo { border-radius: 26px 26px 64px 26px; overflow: hidden; box-shadow: var(--shadow-lift); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.photo-row figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; background: var(--tint); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }
.note-box { background: var(--tint); border-radius: 16px 16px 36px 16px; padding: 18px 22px; font-size: 0.95rem; color: var(--navy); margin: 20px 0; }
.note-box.yellow { background: #FFF3B0; }
.stub-box { background: var(--white); border: 2px dashed var(--sky); border-radius: 18px; padding: 22px 24px; margin: 20px 0; display: flex; gap: 16px; align-items: flex-start; }
.stub-box svg { width: 28px; height: 28px; color: var(--cyan-ink); flex: 0 0 auto; margin-top: 2px; }
.stub-box b { display: block; margin-bottom: 4px; }
.stub-box p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Сведения об ОО ---------- */
.sved-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 8vw, 110px); }
.sved-nav { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--white); border-radius: var(--r-card); padding: 16px; max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; box-shadow: var(--shadow-soft); }
.sved-nav a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 0.9rem; font-weight: 500; line-height: 1.35; }
.sved-nav a:hover { background: var(--paper); color: var(--navy); }
.sved-nav a[aria-current="page"] { background: var(--yellow); color: var(--navy); font-weight: 700; }
.sved-content h1 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; margin-bottom: 26px; color: var(--navy); }
.sved-content h2 { font-size: 1.3rem; margin-top: 2em; }
.info-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 38%; color: var(--ink-soft); font-weight: 600; background: #F6F9FB; }
.info-table td.tbd { color: var(--ink-soft); font-style: italic; }
.doc-list { list-style: none; padding: 0; margin: 20px 0; }
.doc-list li { margin: 0 0 10px; }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--white); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease-out), box-shadow .25s; }
.doc-list a:hover { transform: translateX(4px); box-shadow: var(--shadow-lift); color: var(--navy); }
.doc-list svg { width: 22px; height: 22px; color: var(--cyan-ink); flex: 0 0 auto; }
.doc-list .ext { margin-left: auto; font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }
.doc-list .doc-stub { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1.5px dashed var(--sky); color: var(--ink-soft); font-size: 0.93rem; }
.sved-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sved-hub-grid a { background: var(--white); border-radius: 18px; padding: 20px 20px 18px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.97rem; line-height: 1.35; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-out), box-shadow .3s; }
.sved-hub-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--navy); }
.sved-hub-grid svg { width: 26px; height: 26px; color: var(--cyan-ink); }
.sved-hub-grid .st { font-size: 0.74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow-ink); }
.sved-hub-grid .st.ok { color: var(--cyan-ink); }

/* ---------- Сингапурская система (страница) ---------- */
.steps-sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.number { padding: 24px 22px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-soft); }
.number b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--navy); line-height: .95; }
.number span { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; }
.k4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.k4 div { background: var(--white); border-radius: var(--r-card); padding: 22px 22px; box-shadow: var(--shadow-soft); }
.k4 b { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.45rem; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.k4 span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.k4 i { display: block; font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--yellow); line-height: .8; margin-bottom: 10px; }

/* ---------- Лайтбокс ---------- */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(13, 36, 66, .92); }
.lightbox-inner { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 60px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; font-weight: 600; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.reveal-scale.in-view { opacity: 1; transform: none; }
/* Главный момент движения: фото героя «проявляется» из-под шторки */
.hero-photo img { clip-path: inset(0 0 0 0); }
.reveal-scale .hero-photo { clip-path: inset(8% 8% 8% 8% round 28px); transition: clip-path 1.1s var(--ease-out); }
.reveal-scale.in-view .hero-photo { clip-path: inset(0 0 0 0 round 0); }
@supports (animation-timeline: view()) {
  .scroll-zoom img { animation: szoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes szoom { from { transform: scale(1.1); } to { transform: scale(1); } }
}

/* ---------- Версия для слабовидящих ---------- */
.vi-panel { display: none; background: var(--navy); color: #fff; padding: 14px 0; }
.vi-panel .container { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.vi-panel b { font-size: 0.95rem; }
.vi-group { display: flex; gap: 8px; align-items: center; }
.vi-group span { font-size: 0.85rem; opacity: 0.85; }
.vi-btn { border: 1.5px solid rgba(255,255,255,0.4); background: transparent; color: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 0.92rem; font-weight: 600; }
.vi-btn:hover, .vi-btn[aria-pressed="true"] { background: #fff; color: var(--navy); }
body.vi-open .vi-panel { display: block; }
body.vi-mode { --fs-body: 1.2rem; }
body.vi-mode * { letter-spacing: 0.01em !important; }
body.vi-font-lg { --fs-body: 1.4rem; }
body.vi-font-xl { --fs-body: 1.65rem; }
body.vi-contrast-wb { --paper: #fff; --paper-2: #fff; --white: #fff; --ink: #000; --ink-soft: #000; --navy: #000; --navy-2: #000; --cyan: #000; --cyan-head: #000; --cyan-ink: #000; --yellow: #fff; --tint: #fff; --line: #000; }
body.vi-contrast-bw { --paper: #000; --paper-2: #000; --white: #000; --ink: #fff; --ink-soft: #fff; --navy: #000; --navy-2: #000; --cyan: #fff; --cyan-head: #fff; --cyan-ink: #fff; --yellow: #000; --tint: #000; --line: #fff; }
body.vi-contrast-bw .display, body.vi-contrast-bw .h2, body.vi-contrast-bw .h1-page { color: #fff; }
body.vi-contrast-bw .btn, body.vi-contrast-wb .btn, body.vi-contrast-bw .pill, body.vi-contrast-wb .pill { border: 2px solid currentColor; }
body.vi-contrast-bw img, body.vi-contrast-bw .cta-bg { filter: grayscale(1); }
body.vi-noimg img, body.vi-noimg .cta-bg, body.vi-noimg .map-frame, body.vi-noimg video, body.vi-noimg .hero-oak { display: none !important; }
body.vi-mode .reveal, body.vi-mode .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
body.vi-mode .hero-star { animation: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-scale .hero-photo { clip-path: none !important; }
  .hero-star { animation: none !important; }
  .squiggle path { animation: none !important; stroke-dashoffset: 0; }
  @supports (animation-timeline: view()) { .scroll-zoom img { animation: none; } }
  * { transition-duration: 0.01s !important; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1239px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .top-actions { margin-left: 0; }
  .top .top-actions .btn { display: none; }
  .nav.open {
    display: flex; position: fixed; inset: var(--nav-h) 0 auto 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 18px 24px 28px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift); z-index: 80; margin: 0; max-height: calc(100vh - var(--nav-h)); overflow: auto;
  }
  .nav.open a { padding: 13px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta { display: inline-flex; margin-top: 14px; border: none; }
}
@media (min-width: 1240px) { .nav-cta { display: none !important; } }
.cta-short { display: none; }
@media (min-width: 1240px) and (max-width: 1499px) { .nav { gap: 18px; } .nav a { font-size: 0.9rem; } .top-in { gap: 20px; } .cta-long { display: none; } .cta-short { display: inline; } }
@media (max-width: 1100px) {
  .live-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .portrait { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-top: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .fact { grid-column: span 6; }
  .whales, .lanes, .profiles { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .track-step:nth-child(n) { margin-bottom: 0; }
  .b-6, .b-4, .b-8, .b-5, .b-7, .b-3 { grid-column: span 12; }
  .bento-wide { grid-template-columns: 1fr; }
  .voice, .voice-big { grid-column: span 12; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .priem-panel, .contact-grid { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; }
  .sved-layout { grid-template-columns: 1fr; }
  .sved-nav { position: static; max-height: none; }
  .sved-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .numbers, .k4, .steps-sg { grid-template-columns: 1fr 1fr; }
  .space-facts { grid-template-columns: 1fr; }
  .mode-bar { grid-template-columns: 1fr 1fr; }
  .mode-bar .mode-title, .mode-bar .mode-cta { grid-column: span 2; }
  .photo-row { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; }
  .news-item-img { min-height: 0; aspect-ratio: 16 / 10; }
  .cta-bg img { opacity: 0.2; }
}
@media (max-width: 620px) {
  :root { --nav-h: 66px; }
  .brand img { height: 38px; }
  .brand-tag { font-size: 0.9rem; }
  .eye-btn { width: 40px; height: 40px; }
  .container { padding: 0 16px; }
  .hero-visual { padding: 0 12px 16px 0; }
  .hero-inset { left: -8px; width: 36%; border-width: 4px; }
  .hero-note { font-size: 1.3rem; right: 4%; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; }
  .fact { grid-column: span 12; }
  .track { grid-template-columns: 1fr; }
  .team-grid, .steps, .sved-hub-grid, .articles-grid, .articles-grid--2, .news-grid, .live-grid, .numbers, .k4, .steps-sg { grid-template-columns: 1fr; }
  .live-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68vw; overflow-x: auto; scroll-snap-type: x mandatory; max-width: none; margin: 0 -16px; padding: 4px 16px 18px; }
  .live-grid .phone-card { scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-list, .price-discounts { grid-template-columns: 1fr; }
  .cpa-row { grid-template-columns: 1fr; }
  .cpa-row div, .cpa-row div:first-child, .cpa-row div:last-child { border-radius: 0; }
  .cpa-row div:first-child { border-radius: 14px 14px 0 0; }
  .cpa-row div:last-child { border-radius: 0 0 14px 14px; }
  .gallery { padding: 8px 16px 22px; }
  .gallery figure { height: 340px; }
  .cta-in { padding: 30px 18px 22px; }
  .cta { border-radius: 24px 24px 50px 24px; }
  .transfer-band { padding: 20px; }
  .info-table th { width: 42%; }
  .info-table th, .info-table td { padding: 12px 12px; font-size: 0.9rem; }
}

/* ---------- Страховка от горизонтального скролла на узких экранах ---------- */
main { overflow-x: clip; }
.lanes > *, .clubs > *, .whales > *, .profiles > *, .track > *, .facts > *, .voices > *, .steps > * { min-width: 0; }
.lane-top { flex-wrap: wrap; }
.club b, .club span, .lane li { overflow-wrap: anywhere; }
@media (max-width: 380px) { a[href^="tel:"] { white-space: normal; } }
/* «Сведения об ОО» на телефоне: сначала текст подраздела, меню разделов — после */
@media (max-width: 980px) {
  .sved-layout { display: flex; flex-direction: column; }
  .sved-layout .sved-content { order: 1; }
  .sved-layout .sved-nav { order: 2; margin-top: 8px; }
}
