/* ===== Fonts =====
   Ширины serif-заголовков заданы в em (а не ch): ch зависит от цифры «0» шрифта и
   «плывёт» между Georgia / PT Serif / Noto Serif. Значения = прежние Nch × 0.71 (метрика Baskerville).
   Montserrat — свой хостинг (не Google Fonts: IP посетителей не уходит за рубеж, 152-ФЗ).
   Вариативный: один файл на подмножество символов покрывает все веса 400–700.
   Заголовки — системный serif (Georgia и т.п.), ничего не скачиваем. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/montserrat-latin.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; }

/* ===== Tokens ===== */
:root {
  --color-deep:   #0b1a38;
  --color-mid:    #14264f;
  --color-light:  #20407e;
  --color-accent: #2f5bb0;
  --color-paper:  #f4f5f2;
  --color-mist:   #e9eef7;
  --color-text:   #283044;
  --color-muted:  #5a6478;
  --color-border: #dadfe6;
  --color-ink:    #1a2540;

  --font-serif: Georgia, 'PT Serif', 'Noto Serif', 'Times New Roman', serif;
  --font-sans:  'Montserrat', system-ui, sans-serif;

  --hero-gradient: radial-gradient(ellipse 85% 110% at 5% 5%,
    var(--color-light) 0%, var(--color-mid) 50%, var(--color-deep) 100%);

  --ease: cubic-bezier(.2,.7,.2,1);
  --label-col: 484px;
  --pad-x: clamp(20px, 5vw, 64px);
  --header-h: 72px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
/* плавный скролл включается из main.js после загрузки: иначе переход на /#info едет от hero через всю страницу */
html.is-smooth { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-paper);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.3; }
:where(section[id]) { scroll-margin-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html.is-smooth { scroll-behavior: auto; } }

/* ===== Section tones ===== */
.section { position: relative; width: 100%; }
.section--paper { background: var(--color-paper); color: var(--color-text); }
.section--deep  { background: var(--color-deep);  color: #fff; }
.section--dark  { background: var(--hero-gradient); color: #fff; }
.section--mist  { background: var(--color-mist); color: var(--color-text); }

/* ===== Two-column grid with label column ===== */
.section__grid { display: grid; grid-template-columns: 1fr; width: 100%; }
.section__label { padding: clamp(40px,7vw,64px) var(--pad-x) 0; }
.section__body  { padding: 24px var(--pad-x) clamp(48px,8vw,80px); }

@media (min-width: 1024px) {
  .section__grid { grid-template-columns: var(--label-col) 1fr; }
  .section__label { padding: 64px 0 0 var(--pad-x); }
  .section__body  { padding: 64px var(--pad-x) 80px 32px; }
  .section--paper .section__body { border-left: 1px solid var(--color-border); }
  .section--deep  .section__body { border-left: 1px solid rgba(255,255,255,.14); }
  .section__label--sticky { position: sticky; top: 0; height: 100vh; }
}

/* ===== Section heading + eyebrow ===== */
.eyebrow {
  font-family: var(--font-sans); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-light);
}
.section--deep .eyebrow, .section--dark .eyebrow { color: rgba(255,255,255,.6); }
.section__title { font-size: clamp(30px,4.5vw,48px); }
.section__lead  { max-width: 60ch; margin-top: 14px; color: var(--color-muted); }
.section--deep .section__lead, .section--dark .section__lead { color: rgba(255,255,255,.9); }

/* ===== Hairline panel list ===== */
.panel-list > li { border-top: 1px solid var(--color-border); padding: 22px 0; }
.panel-list > li:last-child { border-bottom: 1px solid var(--color-border); }
.section--deep .panel-list > li { border-color: rgba(255,255,255,.14); }
.panel-list h3 { font-size: clamp(20px,2.6vw,30px); color: var(--color-ink); margin-bottom: 6px; }
.section--deep .panel-list h3 { color: #fff; }
.panel-list p { max-width: 60ch; color: var(--color-muted); }
.section--deep .panel-list p { color: rgba(255,255,255,.85); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 8px; cursor: pointer; border: 1px solid transparent;
  background: var(--color-accent); color: #fff; transition: background .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--color-light); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }
.btn--ghost:hover { background: var(--color-accent); color: #fff; }
.btn--on-dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); color: #fff; }
.btn--on-dark:hover { background: rgba(255,255,255,.22); }
.btn--light { background: #fff; color: var(--color-deep); }
.btn--light:hover { background: var(--color-paper); }
.btn .icon { width: 18px; height: 18px; }

/* ===== Section layout (журнальные секции) ===== */
.wrap { padding: clamp(64px,10vw,128px) var(--pad-x); }
.section__head { max-width: 980px; margin-bottom: clamp(36px,5vw,64px); }
.section__head .section__title { margin-top: 12px; }
.section__title--xl { font-size: clamp(34px,5.6vw,68px); line-height: 1.15; letter-spacing: -.01em; }
.section--paper .section__title--xl { color: var(--color-ink); }

/* ===== Icons (inline SVG sprite) ===== */
.icon { width: 28px; height: 28px; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 40px; height: 40px; }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__brand { display: inline-flex; align-items: center; gap: 9px; color: #fff;
  font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s var(--ease); }
.nav__logo { display: block; height: 44px; width: auto; }
/* лого и «Личный кабинет» — только на первом экране; при скролле остаётся только остров (и бургер) */
.nav__brand { transition: color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav.is-scrolled .nav__brand { opacity: 0; visibility: hidden; transform: translateY(-12px); }
.nav__pill { display: none; align-items: center; gap: 2px; border-radius: 999px;
  padding: 6px; border: 1px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease); }
.nav__pill a { color: #fff; font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 999px; opacity: .65; transition: opacity .2s; }
.nav__pill a:hover, .nav__pill a[aria-current="location"] { opacity: 1; }
.nav__cta { background: var(--color-accent); opacity: 1 !important; }
@media (min-width: 1024px) { .nav__pill { display: inline-flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } }

.nav.is-scrolled .nav__pill { background: rgba(11,26,56,.6); border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(10px); box-shadow: 0 4px 24px rgba(0,0,0,.2); }
/* над светлыми секциями остров — светлое «стекло» */
.nav.is-scrolled.is-on-light .nav__pill { background: rgba(255,255,255,.72); border-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(11,26,56,.12); }
.nav.is-on-light .nav__pill a { opacity: .8; }
.nav.is-on-light .nav__pill a:hover, .nav.is-on-light .nav__pill a[aria-current="location"] { opacity: 1; }
.nav.is-on-light .nav__brand { color: var(--color-ink); }
.nav.is-on-light .nav__pill a { color: var(--color-ink); }
.nav.is-on-light .nav__pill a.nav__cta { color: #fff; }
.nav.is-on-light .nav__burger span { background: var(--color-ink); }

.nav__burger { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: 0; border: 0; cursor: pointer; }
.nav__burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }
@media (min-width: 1024px) { .nav__burger { display: none; } }
.nav__right { display: inline-flex; align-items: center; gap: 8px; }
.nav__lk { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  transition: background .2s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.nav__lk:hover { background: rgba(255,255,255,.2); }
/* «Личный кабинет» — только на первом экране: при скролле уходит, остров остаётся */
.nav.is-scrolled .nav__lk { opacity: 0; visibility: hidden; transform: translateY(-12px); }
.nav__lk { transition: background .2s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
  opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
/* внутренние страницы: шапка не фиксируется, уезжает вместе со страницей */
.nav--static { position: absolute; }
.nav__lk .icon { width: 16px; height: 16px; }
.nav.is-on-light .nav__lk { color: var(--color-ink); border-color: var(--color-border); background: rgba(255,255,255,.72); }
@media (max-width: 639px) { .nav__lk span { display: none; } .nav__lk { padding: 10px; } }

.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--color-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), visibility 0s linear .2s; }
/* visibility: закрытое меню не должно ловить фокус с клавиатуры (Tab) */
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s var(--ease), visibility 0s; }
.mobile-nav a { color: #fff; font-family: var(--font-serif); font-size: 28px; opacity: .9; }
.mobile-nav__close { position: absolute; top: 16px; right: 20px; background: 0; border: 0;
  color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* ===== Hero ===== */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; padding: var(--header-h) var(--pad-x) clamp(48px,8vh,88px); }
.hero__cloud { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__cloud .chip { position: absolute; left: 82%; top: 22%; white-space: nowrap;
  font-family: var(--font-sans); letter-spacing: .01em; color: #fff; will-change: transform, opacity; }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(34px,6vw,60px); max-width: 11.36em; }
.hero__subtitle { margin-top: 18px; max-width: 46ch; color: rgba(255,255,255,.88); font-size: clamp(15px,1.6vw,17px); }
.hero__cta { margin-top: 26px; }
@media (max-width: 1023px) {
  .hero__title { max-width: 100%; }
  .hero__subtitle { max-width: 100%; }
}

/* ===== Reveal animations ===== */
.line-mask { display: block; overflow: hidden; line-height: inherit; }
.line-inner { display: inline-block; will-change: transform, opacity; }

[data-anim="reveal"] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-anim="reveal"].is-revealed { opacity: 1; transform: none; }

[data-anim="reveal-photo"] { clip-path: inset(40% 0 0 0); opacity: 0; transition: clip-path 1.1s var(--ease), opacity 1.1s var(--ease); }
[data-anim="reveal-photo"].is-revealed { clip-path: inset(0 0 0 0); opacity: 1; }

[data-anim="reveal-form"] > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-anim="reveal-form"].is-revealed > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .line-inner, [data-anim] { transform: none !important; opacity: 1 !important; clip-path: none !important; transition: none !important; }
}

/* ===== Motivation (dark inset continuing hero) ===== */
.motivation { padding: clamp(80px,14vh,160px) var(--pad-x) clamp(88px,14vh,160px);
  background: radial-gradient(ellipse 55% 45% at 90% 60%, rgba(47,91,176,.22), transparent 70%), var(--color-deep); }
.hero + .motivation { margin-top: -1px; }
/* плавный переход: нижний край hero растворяется в цвете мотивации (под контентом hero, z-index 2) */
.hero + .motivation::before { content: ''; position: absolute; left: 0; right: 0; top: -180px; height: 181px;
  background: linear-gradient(to bottom, rgba(11,26,56,0), var(--color-deep)); pointer-events: none; z-index: 1; }
.motivation__inner { position: relative; z-index: 1; }
.motivation__item { display: grid; grid-template-columns: 1fr; gap: 12px; padding: clamp(28px,4vw,52px) 0;
  border-top: 1px solid rgba(255,255,255,.12); }
.motivation__item:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 768px) { .motivation__item { grid-template-columns: 96px 1fr; gap: 24px; } }
.motivation__num { font-family: var(--font-serif); font-size: 14px; color: #8fb0ec; padding-top: .6em; }
.motivation__q { font-family: var(--font-serif); font-size: clamp(24px,3.4vw,46px); line-height: 1.25;
  color: #fff; max-width: 21.3em; text-wrap: pretty; }
.sw { transition: opacity .15s linear; }
.motivation__final { display: flex; flex-direction: column; align-items: center; gap: clamp(28px,4vw,44px);
  margin-top: clamp(72px,11vw,144px); text-align: center; }
.motivation__cta-text { font-family: var(--font-serif); font-size: clamp(28px,4.4vw,58px); line-height: 1.2;
  color: #fff; max-width: 18.46em; text-wrap: balance; }
.motivation__cta-text em { font-style: italic; background: linear-gradient(90deg, #8fb0ec, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Summary (mist, плитки с иконками) ===== */
.summary__title { text-align: center; text-wrap: balance; max-width: 17.04em; margin: 0 auto clamp(40px,5vw,64px); color: var(--color-ink); }
.summary__tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.summary__tile { flex: 1 1 220px; max-width: 420px; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px,2.4vw,32px); background: #fff; border-radius: 20px;
  box-shadow: 0 12px 40px -24px rgba(11,26,56,.25); }
.summary__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-mist); color: var(--color-accent); }
.summary__tile p { color: var(--color-text); font-size: 15px; }

/* ===== Programs ===== */
.programs__grid { display: grid; gap: clamp(20px,3vw,32px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .programs__grid { grid-template-columns: 1fr 1fr; } }
.program { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border);
  border-radius: 20px; overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.program:hover { box-shadow: 0 24px 60px -24px rgba(11,26,56,.28); border-color: transparent; }
.program__media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover .program__media img { transform: scale(1.04); }
.program__body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px,3vw,36px); }
.program__num { font-family: var(--font-serif); font-size: 14px; color: var(--color-accent); }
.program__title { margin-top: 6px; font-size: clamp(24px,2.8vw,34px); color: var(--color-ink); }
.program__codes { margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.program__codes li { padding: 8px 14px; border-radius: 999px; background: var(--color-paper);
  font-size: 13px; color: var(--color-text); }
.program__codes b { color: var(--color-accent); font-weight: 700; margin-right: 4px; }
.program__docs { margin: 12px 0 24px; }
.doc-link { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--color-border);
  color: var(--color-ink); font-size: 14px; transition: color .15s; }
.program__docs li:last-child .doc-link { border-bottom: 1px solid var(--color-border); }
.doc-link .icon { width: 22px; height: 22px; color: var(--color-accent); }
.doc-link span { flex: 1; }
.doc-link small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--color-muted); }
.doc-link:hover { color: var(--color-accent); }
.program .btn { margin-top: auto; }

/* ===== Payment (deep, «ценник») ===== */
.payment { background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47,91,176,.38), transparent 60%), var(--color-deep); overflow: hidden; }
.payment__inner { display: grid; gap: clamp(40px,6vw,80px); align-items: end; }
@media (min-width: 1024px) { .payment__inner { grid-template-columns: 1.3fr 1fr; } }
.payment__figure { display: flex; align-items: flex-start; gap: .12em; margin-top: clamp(24px,4vw,48px);
  font-family: var(--font-serif); font-size: clamp(76px,14vw,184px); line-height: .95; letter-spacing: -.03em; color: #fff; }
.payment__num { display: inline-block; white-space: nowrap; }
.payment__cur { font-size: .42em; margin-top: .18em; color: rgba(255,255,255,.55); }
.payment__per { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.payment__perks li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); }
.payment__perks li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.payment__perks .icon { color: #8fb0ec; margin-top: 2px; }
.payment__perks p { color: rgba(255,255,255,.88); font-size: 16px; }
.payment__cta { margin: 28px 0 18px; color: rgba(255,255,255,.7); }

/* ===== Timeline (лента) ===== */
.timeline__track { position: relative; display: grid; gap: 0; padding-left: 40px; }
.timeline__track::before, .timeline__track::after { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--color-border); }
.timeline__track::after { background: var(--color-accent); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease); }
.timeline__track.is-revealed::after { transform: none; }
.timeline__step { position: relative; padding-bottom: 32px; }
.timeline__dot { position: absolute; left: -40px; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--color-accent); background: var(--color-paper); z-index: 1; transition: background .4s var(--ease); }
.timeline__track.is-revealed .timeline__dot { background: var(--color-accent); }
.timeline__step:nth-child(2) .timeline__dot { transition-delay: .35s; }
.timeline__step:nth-child(3) .timeline__dot { transition-delay: .7s; }
.timeline__step:nth-child(4) .timeline__dot { transition-delay: 1.05s; }
.timeline__step:nth-child(5) .timeline__dot { transition-delay: 1.4s; }
.timeline__date { display: block; font-family: var(--font-serif); font-size: clamp(26px,3vw,38px); line-height: 1.1; color: var(--color-ink); }
.timeline__step > .timeline__dot + p { margin-top: 0; }
.timeline__step p { margin-top: 10px; max-width: 34ch; color: var(--color-muted); font-size: 14px; }
.timeline__step--total .timeline__date { color: var(--color-accent); }
.timeline__step--total .timeline__dot { border-radius: 4px; transform: rotate(45deg); }
@media (min-width: 1024px) {
  .timeline__track { grid-template-columns: repeat(5, 1fr); gap: 28px; padding-left: 0; padding-top: 44px; }
  .timeline__track::before, .timeline__track::after { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
  .timeline__track::after { transform: scaleX(0); transform-origin: left; }
  .timeline__dot { left: 0; top: -44px; }
  .timeline__step { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline__track::after { transform: none !important; transition: none; }
  .timeline__dot { background: var(--color-accent); transition: none; }
}

/* ===== Discounts (bento) ===== */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: 1fr 1fr; } .bento__tile--accent { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(240px, auto); }
  .bento__tile--accent { grid-column: 1; grid-row: 1 / span 2; }
}
.bento__tile { display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(24px,3vw,36px); border-radius: 20px; background: #fff; border: 1px solid var(--color-border);
  transition: opacity .7s var(--ease), transform .7s var(--ease), translate .3s var(--ease), box-shadow .3s var(--ease); }
.bento__tile:hover { translate: 0 -4px; box-shadow: 0 24px 50px -24px rgba(11,26,56,.3); }
.bento__pct { font-family: var(--font-serif); font-size: clamp(60px,7vw,96px); line-height: 1; letter-spacing: -.03em; color: var(--color-ink); }
.bento__when { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); }
.bento__cond { margin-top: 8px; font-size: 16px; color: var(--color-text); max-width: 32ch; }
.bento__tile--accent { border: 0; color: #fff;
  background: radial-gradient(ellipse 90% 70% at 0% 0%, rgba(255,255,255,.18), transparent 60%), var(--color-accent); }
.bento__tile--accent .bento__pct { font-size: clamp(96px,14vw,200px); color: #fff; }
.bento__tile--deep { border: 0; background: var(--color-deep); }
.bento__tile--accent .bento__when, .bento__tile--deep .bento__when { color: rgba(255,255,255,.7); }
.bento__tile--accent .bento__cond, .bento__tile--deep .bento__cond { color: #fff; font-size: 18px; }
.bento__tile--deep .bento__pct { color: #fff; }

/* ===== Learning (deep, липкое фото + сетка 2×4) ===== */
.learning__grid { display: grid; grid-template-columns: 1fr; }
.learning__media { overflow: hidden; aspect-ratio: 16/10; }
.learning__media img { width: 100%; height: 100%; object-fit: cover; }
.learning__body { padding: clamp(48px,8vw,112px) var(--pad-x); }
.learning__list { display: grid; grid-template-columns: 1fr; column-gap: 40px; }
@media (min-width: 640px) { .learning__list { grid-template-columns: 1fr 1fr; } .learning__list > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.learning__list li { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); }
.learning__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.learning__top .icon { color: #8fb0ec; }
.learning__num { font-family: var(--font-serif); font-size: 14px; color: rgba(255,255,255,.45); }
.learning__list p { color: rgba(255,255,255,.88); }
@media (min-width: 1024px) {
  .learning__grid { grid-template-columns: 5fr 7fr; }
  .learning__media { position: sticky; top: 0; align-self: start; height: 100vh; aspect-ratio: auto; }
}

/* ===== Audience (финал) ===== */
.audience__cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .audience__cards { grid-template-columns: repeat(3, 1fr); } }
.audience__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px,3vw,36px);
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px; }
.audience__card .icon { color: var(--color-accent); margin-bottom: 18px; }
.audience__card p { font-family: var(--font-serif); font-size: clamp(20px,2vw,24px); line-height: 1.3; color: var(--color-ink); }
.audience__card small { font-size: 13px; color: var(--color-muted); }
.audience__final { margin-top: clamp(64px,10vw,128px); padding-top: clamp(40px,6vw,64px); border-top: 1px solid var(--color-border); }
.audience__slogan { font-family: var(--font-serif); font-size: clamp(34px,6.4vw,84px); line-height: 1.12;
  letter-spacing: -.02em; color: var(--color-ink); max-width: 14.2em; }
.audience__final .btn { margin-top: clamp(28px,4vw,44px); }

/* ===== Lead forms ===== */
.lead-form { display: grid; gap: 14px; max-width: 520px; }
.lead-form__title { font-family: var(--font-serif); font-size: 22px; color: #fff; }
.lead-form__input { width: 100%; padding: 14px 16px; border-radius: 8px; font: inherit;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.lead-form__input::placeholder { color: rgba(255,255,255,.5); }
.lead-form__input:focus { outline: 2px solid var(--color-accent); border-color: transparent; }
.lead-form__input.is-invalid { border-color: #ff6b6b; }
.lead-form__error { color: #ff9b9b; font-size: 13px; min-height: 16px; display: block; }
.lead-form__consent { display: flex; gap: 10px; align-items: start; font-size: 13px; color: rgba(255,255,255,.75); }
.lead-form__consent a { text-decoration: underline; }
.lead-form__status { min-height: 20px; font-weight: 600; }
/* honeypot-поле от ботов: людям не видно, боты заполняют */
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__status.is-ok { color: #7ee2a8; }
.lead-form__status.is-err { color: #ff9b9b; }

/* ===== Notice (абитуриентам + форма) ===== */
.notice__text { color: rgba(255,255,255,.88); margin-bottom: 40px; }
.notice__text p + p { margin-top: 12px; }

/* ===== Price note ===== */
.price-note { margin-top: 24px; max-width: 60ch; font-size: 14px; font-style: italic; color: var(--color-muted); }
.section--deep .price-note { color: rgba(255,255,255,.7); }

/* ===== Info: подразделы-«папки» ===== */
.info__list { display: grid; grid-template-columns: 1fr; }
.info__list li { border-bottom: 1px solid var(--color-border); }
.info__list li:first-child { border-top: 1px solid var(--color-border); }
.info__list a { display: flex; align-items: center; gap: 14px; padding: 18px 4px;
  font-family: var(--font-serif); font-size: clamp(16px,1.6vw,19px); color: var(--color-ink); transition: color .15s, padding .2s var(--ease); }
.info__list a:hover { color: var(--color-accent); padding-left: 10px; }
.info__list .icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--color-accent); }
.info__num { font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--color-muted); min-width: 22px; }
.info__name { flex: 1; }
.info__list .info__go { width: 18px; height: 18px; opacity: .4; transition: opacity .15s, transform .2s var(--ease); }
.info__list a:hover .info__go { opacity: 1; transform: translateX(4px); }

/* ===== Footer ===== */
.footer { padding: clamp(40px,6vw,64px) var(--pad-x); }
.footer__inner { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__inner { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 64px; } }
.footer__head { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5) !important; margin-bottom: 12px !important; }
.footer__head--sub { margin-top: 18px; }
.footer__col p { color: rgba(255,255,255,.7); margin-bottom: 6px; }
.footer__col a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__org { font-family: var(--font-serif); color: #fff !important; margin-bottom: 10px; }

/* ===== Внутренние страницы (документы, подразделы «Сведений») ===== */
.page { min-height: 75vh; padding: calc(var(--header-h) + clamp(32px,6vw,64px)) var(--pad-x) clamp(48px,8vw,96px); max-width: 920px; }
.page__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-accent); margin-bottom: 24px; }
.page__back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.page h1 { font-size: clamp(28px,4vw,44px); color: var(--color-ink); margin: 10px 0 28px; line-height: 1.2; }
.page h2 { font-size: clamp(19px,2.2vw,24px); color: var(--color-ink); margin: 32px 0 12px; }
.page h3 { font-size: 16px; font-weight: 600; color: var(--color-ink); margin: 24px 0 10px; font-family: inherit; }
.page p, .page li { color: var(--color-text); line-height: 1.65; }
.page p + p { margin-top: 10px; }
.page ol, .page ul { margin: 10px 0 10px 22px; list-style: revert; }
.page li + li { margin-top: 6px; }
.page__empty { padding: 28px; border: 1px dashed var(--color-border); border-radius: 10px; color: var(--color-muted); }
.page .docs-list { list-style: none; margin: 0; display: grid; gap: 10px; }
.page .docs-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-ink); transition: border-color .15s; }
.page .docs-list a:hover { border-color: var(--color-accent); }
.page .docs-list .icon { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; }
.page__meta { font-size: 13px; color: var(--color-muted); }
/* «Сведения»: широкая страница, таблицы и пары «показатель — значение» (с itemprop) */
/* контент «Сведений» не шире 1280px, на больших экранах — по центру */
.page--wide { max-width: calc(1280px + 2 * var(--pad-x)); margin-inline: auto; }
.page .sv-dl { display: grid; margin: 0 0 8px; border-top: 1px solid var(--color-border); }
.page .sv-dl > div { display: grid; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .page .sv-dl > div { grid-template-columns: minmax(200px, 1fr) 2fr; } }
.page .sv-dl dt { font-size: 13px; color: var(--color-muted); }
.page .sv-dl dd { margin: 0; color: var(--color-ink); }
.page .sv-table { overflow-x: auto; margin: 0 0 8px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
.page .sv-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.page .sv-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--color-muted); background: var(--color-paper);
  padding: 10px 14px; border-bottom: 1px solid var(--color-border); vertical-align: bottom; min-width: 120px; }
.page .sv-table td { padding: 12px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; color: var(--color-ink); min-width: 120px; }
.page .sv-table tr:last-child td { border-bottom: 0; }
.page .sv-table a, .page .sv-dl a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
/* на телефоне строки таблиц — карточки «подпись столбца: значение» */
@media (max-width: 767px) {
  .page .sv-table { overflow: visible; border: 0; background: none; }
  .page .sv-table thead { display: none; }
  .page .sv-table table, .page .sv-table tbody, .page .sv-table tr, .page .sv-table td { display: block; min-width: 0; }
  .page .sv-table tr { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; padding: 4px 14px; }
  .page .sv-table tr + tr { margin-top: 10px; }
  .page .sv-table td { padding: 10px 0; }
  .page .sv-table tr:last-child td { border-bottom: 1px solid var(--color-border); }
  .page .sv-table tr td:last-child { border-bottom: 0; }
  .page .sv-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--color-muted); margin-bottom: 2px; }
}
.page .docs-list + h2, .page .sv-table + h2, .page .sv-dl + h2, .page p + h2 { margin-top: 40px; }
.page .sv-muted { color: var(--color-muted); font-size: 13px; }
.page .sv-cols { margin: 0 0 8px; padding-left: 22px; }
@media (min-width: 900px) { .page .sv-cols { columns: 2; column-gap: 48px; } .page .sv-cols > li { break-inside: avoid; } }
.page .sv-cols ul { margin: 6px 0 4px 20px; list-style: circle; }
.page .sv-cols li + li, .page .sv-cols ul li { margin-top: 4px; }
/* Страница-документ (положение, договор): текст узкой колонкой */
.page--doc > :not(.page__back):not(.eyebrow) { max-width: 820px; }
.page--doc h2 { font-size: clamp(17px,1.8vw,20px); }
.page--doc p, .page--doc td { overflow-wrap: anywhere; }
.page .doc__approval { margin: 0 0 24px auto; width: fit-content; font-size: 14px; color: var(--color-muted); text-align: right; }
.page .doc__head { text-align: center; font-weight: 600; color: var(--color-ink); }
.page .doc__place { display: flex; justify-content: space-between; gap: 16px; }
.footer__col a.footer__link { display: inline-flex; align-items: flex-start; gap: 10px; padding: 4px 0; text-decoration: none; }
.footer__link .icon { width: 18px; height: 18px; margin-top: .15em; color: rgba(255,255,255,.55); transition: color .15s; }
.footer__link span { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .15s; }
.footer__link:hover .icon { color: #fff; }
.footer__link:hover span { text-decoration-color: #fff; }
.footer__org { max-width: 24.14em; }

