/* КП для семьи (kp.ascendedu.kz). Фирменный стиль сайта: красный, золотой, синий, Oswald + Manrope.
   Темы экрана (body[data-theme]): cover — первый и последний экран, light — выбор и пакеты, dark — видео и кампус. */

/* Шрифты сайта (assets/fonts) — переменные, один файл на все начертания */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/manrope-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: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/manrope-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; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/oswald-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/oswald-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: 'Oswald'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/oswald-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/oswald-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; }

:root {
  --red: #c8202f; --red-600: #a8182a; --red-soft: #fde8ea;
  --maroon: #2a0710; --maroon-800: #4a0d1a;
  --navy: #1f2b5c; --navy-900: #0e1330;
  --gold: #f2bf4b; --gold-light: #ffe39a; --gold-dark: #b8861b;
  --orange: #ef7a1d; --green: #1f9d55; --green-soft: #e4f6ec;
  --cream: #fbf6ef; --paper: #fff; --ink: #1e1416; --text: #3d3235; --muted: #76696c; --line: #ebe2dc;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px; --r-sm: 14px;
  --shadow: 0 14px 34px -16px rgba(42, 7, 16, .28);
  --shadow-lg: 0 30px 60px -24px rgba(42, 7, 16, .45);
  --top-h: 66px; --foot-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  /* цвета темы */
  --bg: var(--cream); --fg: var(--ink); --fg-2: var(--text); --fg-3: var(--muted);
  --card: var(--paper); --card-line: var(--line); --hl: var(--red);
}
body[data-theme="dark"] {
  --bg: var(--navy-900); --fg: #fff; --fg-2: rgba(255, 255, 255, .82); --fg-3: rgba(255, 255, 255, .6);
  --card: rgba(255, 255, 255, .06); --card-line: rgba(255, 255, 255, .12); --hl: var(--gold);
}
body[data-theme="cover"] {
  --bg: var(--maroon); --fg: #fff; --fg-2: rgba(255, 255, 255, .85); --fg-3: rgba(255, 255, 255, .62);
  --card: rgba(255, 255, 255, .08); --card-line: rgba(255, 255, 255, .18); --hl: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .5s var(--ease), color .3s;
}
body[data-theme="dark"] { background: radial-gradient(ellipse at 80% 0%, rgba(242, 191, 75, .12), transparent 45%), radial-gradient(ellipse at 0% 100%, rgba(200, 32, 47, .22), transparent 50%), var(--navy-900); }
body[data-theme="cover"] {
  background:
    radial-gradient(ellipse at 78% 30%, rgba(242, 191, 75, .32), transparent 46%),
    radial-gradient(ellipse at 10% 110%, rgba(239, 122, 29, .35), transparent 50%),
    linear-gradient(150deg, #1c050b 0%, #4a0d1a 45%, #a8182a 100%);
}
body[data-theme="cover"]::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .05;
  background: url('../img/pattern.svg') 0 0 / 120px 120px;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.nowrap { white-space: nowrap; }
.kp-noscript { padding: 40px; text-align: center; }

/* ------------------------------------------------------------ Каркас */
.kp-app { position: relative; z-index: 1; display: grid; grid-template-rows: var(--top-h) minmax(0, 1fr) var(--foot-h); height: 100vh; height: 100dvh; }
.kp-app.no-foot { grid-template-rows: var(--top-h) minmax(0, 1fr) 0; }
.kp-main:focus { outline: none; }
.kp-main { overflow-y: auto; overflow-x: hidden; padding: clamp(16px, 2.6vw, 36px) clamp(16px, 3vw, 44px); scroll-behavior: smooth; }
.scr { max-width: 1240px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.scr--wide { max-width: 1600px; }
.enter-fwd { animation: in-fwd .55s var(--ease) both; }
.enter-back { animation: in-back .55s var(--ease) both; }
@keyframes in-fwd { from { opacity: 0; transform: translateX(48px); } }
@keyframes in-back { from { opacity: 0; transform: translateX(-48px); } }

/* ------------------------------------------------------------ Шапка и маршрут */
.kp-top { display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); padding: 0 clamp(16px, 3vw, 36px); border-bottom: 1px solid var(--card-line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); z-index: 5; }
body[data-theme="cover"] .kp-top { background: transparent; border-color: transparent; }
.kp-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.kp-logo img:first-child { width: 34px; height: 34px; }
.kp-logo__text { width: 104px; height: auto; }
body[data-theme="dark"] .kp-logo__text, body[data-theme="cover"] .kp-logo__text { filter: brightness(0) invert(1); }

.route { position: relative; flex: 1; max-width: 820px; height: 44px; margin: 0 auto; }
.route__line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, var(--card-line) 0 8px, transparent 8px 14px); }
.route__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); border-radius: 2px; transition: width .9s var(--ease); }
.route__plane { position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(200, 32, 47, .9); transition: left .9s var(--ease); z-index: 2; }
.route__plane .ic { width: 16px; height: 16px; }
.route ol { list-style: none; margin: 0; padding: 0; }
.route__stop { position: absolute; top: 0; transform: translateX(-50%); }
.route__stop button { display: flex; flex-direction: column; align-items: center; gap: 7px; background: none; border: 0; padding: 7px 4px 0; color: var(--fg-3); }
.route__stop i { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--card-line); transition: .3s; }
.route__stop span { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.route__stop.is-done i { background: var(--gold); border-color: var(--gold); }
.route__stop.is-done button { color: var(--fg-2); }
.route__stop.is-current span { color: var(--hl); }
.route__stop button:not(:disabled):hover span { color: var(--fg); }
.route__mobile { display: none; }
.kp-tools { display: flex; gap: 6px; flex: none; }
.tool { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--card-line); background: transparent; color: var(--fg-2); transition: .2s; }
.tool:hover { background: var(--card); color: var(--fg); }
.tool--lang { width: auto; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.tool--pdf { width: auto; gap: 6px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; }

/* ------------------------------------------------------------ Низ: навигация + посадочный талон */
.kp-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 2vw, 22px); padding: 10px clamp(16px, 3vw, 36px); border-top: 1px solid var(--card-line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); z-index: 5; }
.kp-app.no-foot .kp-foot { display: none; }
.nav-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 2px solid var(--card-line); background: transparent; color: var(--fg); transition: transform .15s, background .2s, box-shadow .2s; }
.nav-btn:hover { transform: translateY(-1px); }
.nav-btn--next { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 12px 24px -12px rgba(200, 32, 47, .9); padding: 0 26px; }
.nav-btn--next:hover { background: var(--red-600); }
.nav-btn--ghost { visibility: hidden; width: 1px; padding: 0; border: 0; }

.strip { position: relative; display: flex; align-items: center; gap: 0; min-width: 0; height: 60px; padding: 0 18px 0 12px; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); text-align: left; box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left/51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right/51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left/51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right/51% 100% no-repeat; }
.strip:hover { box-shadow: var(--shadow-lg); }
.strip__ic { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 8px 0 6px; border-radius: 10px; background: var(--red); color: #fff; flex: none; }
.strip__f { display: flex; flex-direction: column; min-width: 0; flex: 1 1 0; padding: 0 12px; border-left: 1px dashed var(--line); }
.strip__f:first-of-type { border-left: 0; }
.strip__f small { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.strip__f b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip__f.is-empty b { color: #c9bfbb; font-weight: 600; }
.strip__f.is-new b { animation: stamp .7s var(--ease); }
.strip__mobile { display: none; }
@keyframes stamp { 0% { transform: scale(1.5); color: var(--red); } 60% { transform: scale(.95); } 100% { transform: none; } }

/* ------------------------------------------------------------ Общие элементы */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hl); }
.eyebrow--gold { color: var(--gold); }
.scr-head { margin-bottom: clamp(18px, 2.4vw, 30px); max-width: 860px; }
.scr-title { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: .005em; margin: 10px 0 0; color: var(--fg); outline: none; text-wrap: balance; }
.scr-sub { margin: 12px 0 0; font-size: clamp(15px, 1.25vw, 18px); color: var(--fg-2); max-width: 720px; }
.scr-sub .cn { color: var(--fg-3); }
.hl { color: var(--hl); }
.nm { color: var(--fg); background: linear-gradient(transparent 60%, rgba(242, 191, 75, .55) 0); padding: 0 .08em; border-radius: 2px; }
body[data-theme="dark"] .nm, body[data-theme="cover"] .nm { color: var(--gold); background: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--xl { padding: 18px 32px; font-size: 17px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(200, 32, 47, .85); }
.btn--red:hover { background: var(--red-600); }
.btn--gold { background: linear-gradient(180deg, #ffd56b, var(--gold)); color: var(--maroon); box-shadow: 0 14px 30px -12px rgba(242, 191, 75, .8); }
.btn--outline { background: transparent; border-color: var(--card-line); color: var(--fg); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--done { background: var(--green); color: #fff; box-shadow: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn.is-busy::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--fg-3); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font-weight: 800; transition: .2s; }
.link-arrow:hover { background: var(--navy); color: #fff; }

.group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.group legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 15px; color: var(--fg); }
.group__hint { margin: -4px 0 10px; font-size: 14px; color: var(--fg-3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--card-line); background: var(--card); color: var(--fg); font-weight: 700; font-size: 15px; transition: transform .15s, border-color .2s, background .2s, box-shadow .2s; }
.chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--red) 45%, var(--card-line)); box-shadow: var(--shadow); }
.chip.is-on { border-color: var(--red); background: var(--red-soft); color: var(--red-600); }
.chip .ic { color: var(--red); }
.chip__check { margin-left: 2px; }
.chip--big { min-height: 64px; padding: 14px 22px; border-radius: 18px; font-size: 16px; }
.chip--dark { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; min-height: 40px; padding: 7px 16px; }
.chip--dark.is-on { background: var(--gold); border-color: var(--gold); color: var(--maroon); }
.chip--dark.is-on .ic { color: var(--maroon); }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 800; color: var(--fg-2); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 70px; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 32, 47, .12); }
.field--wide { margin-top: 22px; max-width: 760px; }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(200, 32, 47, .9); }
.ribbon--gold { background: linear-gradient(180deg, #ffd56b, var(--gold)); color: var(--maroon); box-shadow: 0 8px 18px -8px rgba(184, 134, 27, .9); }
.tile__check { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--c, var(--red)); color: #fff; animation: pop .35s var(--ease); }
.tile__check .ic { width: 16px; height: 16px; }
@keyframes pop { from { transform: scale(0); } }
.tag-example { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--gold-light); color: #7a5410; font-size: 11px; font-weight: 800; letter-spacing: .04em; vertical-align: middle; white-space: nowrap; }
.fine { margin: 16px 0 0; font-size: 13.5px; color: var(--fg-3); max-width: 760px; }
.price { font-family: var(--display); font-weight: 500; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 4vw, 56px); align-items: start; }
.note-card { position: sticky; top: 0; padding: 26px; border-radius: var(--r); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.note-card h3 { font-family: var(--display); font-weight: 500; font-size: 24px; margin: 14px 0 8px; }
.note-card p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 15px; }
.note-card__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(242, 191, 75, .16); color: var(--gold); }
.note-card__ic .ic { width: 26px; height: 26px; }
.note-card__hl { display: flex; gap: 10px; margin-top: 16px !important; padding: 14px; border-radius: 14px; background: rgba(242, 191, 75, .14); color: var(--gold-light) !important; font-weight: 700; }

/* ------------------------------------------------------------ Посадочный талон */
.pass { position: relative; display: flex; width: 100%; max-width: 600px; color: var(--ink); filter: drop-shadow(0 26px 34px rgba(20, 4, 9, .35)); --notch: 12px; }
.pass__main { flex: 1; min-width: 0; padding: 20px 24px 18px; background: var(--paper); border-radius: 22px 0 0 22px;
  -webkit-mask: radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom/100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom/100% 51% no-repeat; }
.pass__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: var(--red); }
.pass__brand { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.pass__brand img { width: 22px; height: 22px; }
.pass__route { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.pass__route > div:not(.pass__flight) { display: flex; flex-direction: column; line-height: 1; }
.pass__route b { font-family: var(--display); font-weight: 600; font-size: 38px; letter-spacing: .02em; color: var(--navy); }
.pass__route small { margin-top: 5px; font-size: 12px; color: var(--muted); font-weight: 700; }
.pass__flight { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--red); }
.pass__flight i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.pass__flight .ic { width: 22px; height: 22px; }
.pass__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.pass__grid div { min-width: 0; }
.pass__grid dt { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pass__grid dd { margin: 3px 0 0; font-size: 15px; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pass__grid .is-empty dd { color: #cfc5c1; font-weight: 600; }
.pass__stub { width: 132px; flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 20px 16px 16px; color: #fff; border-radius: 0 22px 22px 0;
  background: radial-gradient(circle at 80% 0%, rgba(242, 191, 75, .5), transparent 55%), linear-gradient(170deg, var(--red), var(--red-600));
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom/100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top/100% 51% no-repeat, radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom/100% 51% no-repeat; }
.pass__stub::before { content: ''; position: absolute; top: 18px; bottom: 18px; margin-left: -17px; border-left: 2px dashed rgba(255, 255, 255, .55); }
.pass__stub small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; opacity: .8; }
.pass__stub b { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.1; }
.pass__barcode { height: 38px; border-radius: 3px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px); opacity: .9; }
.pass__stamp { position: absolute; top: 46%; left: 38%; padding: 8px 18px; border: 4px solid var(--green); border-radius: 12px; color: var(--green); font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: .12em; transform: translate(-50%, -50%) rotate(-12deg) scale(2.4); opacity: 0; pointer-events: none; background: rgba(255, 255, 255, .7); }
.pass--stamped .pass__stamp { animation: stamp-in .6s .5s var(--ease) forwards; }
@keyframes stamp-in { to { opacity: .92; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }

/* ------------------------------------------------------------ 0. Знакомство (обложка) */
.welcome { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.welcome__title { font-size: clamp(40px, 5.6vw, 82px); line-height: 1; margin: 14px 0 0; color: #fff; }
.welcome__lead { margin: 18px 0 26px; font-size: clamp(16px, 1.35vw, 19px); color: var(--fg-2); max-width: 560px; }
.hello { padding: clamp(18px, 2vw, 26px); border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); max-width: 640px; }
.hello__row { display: grid; grid-template-columns: 1fr 1fr 96px; gap: 12px; }
.hello .field > span { color: var(--gold-light); }
.hello .field input { background: rgba(255, 255, 255, .95); border-color: transparent; }
.hello__who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 18px; font-size: 14px; color: var(--fg-2); }
.hello__who > span { margin-right: 4px; }
.hello .btn { width: 100%; }
.welcome__visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.welcome__glow { position: absolute; inset: 10% 5%; background: radial-gradient(circle, rgba(242, 191, 75, .35), transparent 65%); filter: blur(30px); }
.welcome__pass { position: relative; width: 100%; max-width: 560px; transform: perspective(1200px) rotateY(-12deg) rotateX(6deg) rotate(-3deg); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) rotate(-2deg) translateY(-10px); } }
.welcome__facts { position: relative; display: flex; gap: clamp(16px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.welcome__facts li { display: flex; flex-direction: column; }
.welcome__facts b { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); color: var(--gold); line-height: 1; }
.welcome__facts b small { font-size: .5em; }
.welcome__facts span { font-size: 13px; color: var(--fg-3); max-width: 150px; margin-top: 6px; }

/* ------------------------------------------------------------ 1. О нас */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.video-poster { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); background: #000 center / cover; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .7)); }
.video-poster__cap { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: #fff; font-weight: 800; font-size: 18px; }
.play-btn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 86px; height: 86px; margin: -43px 0 0 -43px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 12px rgba(200, 32, 47, .25); transition: transform .2s; }
.play-btn .ic { width: 34px; height: 34px; margin-left: 4px; }
.play-btn--sm { width: 54px; height: 54px; margin: -27px 0 0 -27px; box-shadow: 0 0 0 8px rgba(200, 32, 47, .25); }
.play-btn--sm .ic { width: 22px; height: 22px; }
.video-poster:hover .play-btn, .review:hover .play-btn { transform: scale(1.08); }
.founder { position: relative; margin: 0; height: 100%; min-height: 360px; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, var(--red), var(--maroon-800)); box-shadow: var(--shadow-lg); }
.founder picture, .founder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.founder::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14, 4, 9, .92)); }
.founder figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.founder blockquote { margin: 0 0 12px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; color: #fff; font-weight: 600; }
.founder b { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--gold); }
.founder span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.fact { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-line); animation: in-fwd .6s var(--ease) both; }
.fact:nth-child(2) { animation-delay: .08s; } .fact:nth-child(3) { animation-delay: .16s; } .fact:nth-child(4) { animation-delay: .24s; }
.fact b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; color: var(--gold); }
.fact b small { font-size: .45em; color: var(--gold-light); }
.fact span { display: block; margin-top: 8px; font-size: 14px; color: var(--fg-2); }
.about__offices { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 4px 0 0; color: var(--fg-2); font-size: 15px; }
.about__offices .ic { color: var(--gold); }

/* ------------------------------------------------------------ 2–5. Выбор */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; min-height: 168px; text-align: left; border-radius: var(--r); border: 2px solid transparent; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile.is-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); }
.tile__ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 16px; background: var(--c); color: #fff; box-shadow: 0 10px 20px -10px var(--c); }
.tile__ic .ic { width: 28px; height: 28px; }
.tile b { font-size: 18px; color: var(--ink); }
.tile small { font-size: 14px; color: var(--muted); line-height: 1.4; }

.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.program { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 20px; text-align: left; border-radius: var(--r); border: 2px solid transparent; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.program:hover { transform: translateY(-4px); }
.program.is-on { border-color: var(--red); }
.program__years { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; }
.program b { font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--ink); }
.program > span:not(.program__years):not(.ribbon):not(.tile__check) { font-size: 15px; color: var(--text); }
.program small { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 700; color: var(--navy); }
.program-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.route-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; text-align: left; border-radius: 18px; border: 2px solid var(--line); background: var(--paper); transition: .2s; }
.route-card:hover { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.route-card.is-on { border-color: var(--red); background: var(--red-soft); }
.route-card b { font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--red); line-height: 1; }
.route-card small { font-size: 13px; color: var(--muted); }
.route-card__bar { display: flex; gap: 4px; }
.route-card__bar i { flex: 1; height: 10px; border-radius: 4px; }
.b-lang { background: var(--gold); } .b-col { background: var(--orange); } .b-bach { background: var(--navy); }
.prio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.prio .chip { justify-content: flex-start; }

/* ------------------------------------------------------------ 6. Кампус 360° */
/* Экран занимает ровно высоту области: панорама растягивается, список мест прокручивается */
.scr--tour { justify-content: flex-start; height: 100%; min-height: 480px; }
.tour { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tour__head .scr-head { margin-bottom: 14px; max-width: none; }
.tour__head .scr-title { font-size: clamp(26px, 2.6vw, 38px); margin-top: 6px; }
.tour__head .scr-sub { margin-top: 6px; font-size: 15px; max-width: none; }
.tour__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-rows: minmax(0, 1fr); gap: 18px; min-height: 0; }
.tour__view { position: relative; border-radius: var(--r); background: #05070f; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); min-height: 300px; }
/* Сама панорама (tour.js): живёт вне экранов и встаёт поверх .tour__view */
.tour-host { position: fixed; z-index: 4; border-radius: var(--r); overflow: hidden; background: #05070f; }
.tour-host.is-parked { left: -12000px; top: 0; width: 1280px; height: 720px; visibility: hidden; pointer-events: none; }
.tour-host iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-host:fullscreen { clip-path: none !important; border-radius: 0; }
.tour__loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle, #121a3d, #05070f); color: rgba(255, 255, 255, .8); text-align: center; padding: 20px; }
.tour__loader[hidden] { display: none; }
.tour__loader a { color: var(--gold); font-weight: 700; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tour__btns { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.tour__btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); transition: background .2s; }
.tour__btn:hover { background: rgba(0, 0, 0, .8); }
.scenes { overflow-y: auto; padding-right: 4px; display: flex; flex-direction: column; gap: 16px; }
.scenes__group h3 { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.scene { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 6px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #fff; text-align: left; font-size: 14px; font-weight: 600; transition: .2s; }
.scene:hover { background: rgba(255, 255, 255, .1); }
.scene .ic { color: var(--gold); }
.scene.is-on { background: var(--gold); border-color: var(--gold); color: var(--maroon); }
.scene.is-on .ic { color: var(--maroon); }

/* ------------------------------------------------------------ 7. Проживание: до / после */
.housing { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.cmp { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #ddd; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, .4); pointer-events: none; }
.cmp__handle i { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; color: var(--red); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.cmp__handle .ic { width: 18px; height: 18px; }
.cmp--anim .cmp__top { transition: clip-path .6s var(--ease); }
.cmp--anim .cmp__handle { transition: left .6s var(--ease); }
.cmp__label { position: absolute; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; pointer-events: none; }
.cmp__label--bad { left: 16px; background: rgba(40, 40, 46, .85); }
.cmp__label--good { right: 16px; background: var(--green); }
.cmp { cursor: ew-resize; }
/* Range — только для клавиатуры и экранных дикторов; мышь и палец обрабатывает сам .cmp (screens.js) */
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.cmp:has(.cmp__range:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.vs { list-style: none; margin: 0 0 22px; padding: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.vs li { display: grid; grid-template-columns: 1fr 1fr; }
.vs li + li { border-top: 1px solid var(--line); }
.vs span { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px; }
.vs__bad { color: var(--muted); background: #f6f2ef; }
.vs__bad .ic { color: var(--red); }
.vs__good { color: var(--ink); font-weight: 700; }
.vs__good .ic { color: var(--green); }

/* ------------------------------------------------------------ 8. Отзывы */
/* Большой отзыв родителя 2×2 + семь студентов и цифра — два ряда, без прокрутки */
.reviews { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.review__meta small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 10; box-shadow: var(--shadow); text-align: left; }
.review img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); opacity: .92; }
.review:hover img { transform: scale(1.05); }
.review::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .85)); }
.review__meta { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; color: #fff; }
.review__meta b { font-size: 16px; }
.review__meta small { font-size: 12px; opacity: .8; line-height: 1.3; }
.review__meta em { align-self: flex-start; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--gold); color: var(--maroon); font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.review--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.review--big .review__meta b { font-size: 22px; }
.review--big .play-btn { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.review--stat { display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; background: linear-gradient(160deg, var(--red), var(--maroon-800)); color: #fff; }
.review--stat::after { display: none; }
.review--stat b { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3vw, 48px); line-height: 1; color: var(--gold); }
.review--stat span { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.step .nm { background: none; padding: 0; color: var(--red); font-weight: 800; }

/* ------------------------------------------------------------ 9. Как мы работаем */
.steps { position: relative; list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.steps::before { content: ''; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 4px; animation: in-fwd .6s var(--ease) both; animation-delay: calc(var(--i) * .09s); }
.step__n { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 600; font-size: 22px; box-shadow: 0 0 0 6px var(--cream), 0 12px 20px -10px rgba(200, 32, 47, .9); }
.step b { font-size: 17px; color: var(--ink); }
.step p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.45; }
.step small { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pay-card__then { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.trust > div { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.trust .ic { width: 28px; height: 28px; color: var(--red); }
.trust span { font-size: 14px; color: var(--text); }
.trust b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 2px; }

/* ------------------------------------------------------------ 10. Пакеты */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-top: 12px; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 28px 24px 22px; border-radius: var(--r); background: var(--paper); border: 2px solid transparent; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg--rec { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(242, 191, 75, .18), var(--shadow-lg); }
.pkg.is-on { border-color: var(--green); }
.pkg__kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pkg h3 { margin: 6px 0 4px; font-family: var(--display); font-weight: 500; font-size: 34px; color: var(--ink); line-height: 1.05; }
.pkg__for { margin: 0 0 14px; font-size: 14px; color: var(--muted); min-height: 42px; }
.pkg__price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.pkg__price .price { font-size: 34px; color: var(--navy); line-height: 1; }
.pkg__list { list-style: none; margin: 16px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pkg__list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); line-height: 1.35; }
.pkg__list .ic { color: var(--green); margin-top: 1px; }
.pkg__out { display: flex; gap: 8px; margin: -8px 0 16px; font-size: 13px; color: #807472; line-height: 1.35; }
.pkg__out .ic { color: #cfc5c1; }
.pkg .btn { width: 100%; }

/* ------------------------------------------------------------ 11. Спецпредложение */
.offer--closed { display: flex; flex-direction: column; align-items: center; text-align: center; }
.offer--closed .scr-head, .offer--closed .scr-sub { margin-inline: auto; }
.envelope { position: relative; width: min(460px, 90%); aspect-ratio: 1.6; border: 0; border-radius: 20px; background: linear-gradient(160deg, var(--red), var(--red-600) 60%, var(--maroon-800)); box-shadow: 0 40px 70px -30px rgba(120, 10, 25, .8); overflow: hidden; animation: wobble 2.6s ease-in-out infinite; }
.envelope__flap { position: absolute; left: 0; right: 0; top: 0; height: 62%; background: linear-gradient(180deg, #e0303f, var(--red)); clip-path: polygon(0 0, 100% 0, 50% 100%); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .1); }
.envelope__seal { position: absolute; left: 50%; top: 62%; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe39a, var(--gold) 55%, var(--gold-dark)); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5), inset 0 0 0 5px rgba(255, 255, 255, .25); }
.envelope__seal img { width: 52px; height: 52px; }
.envelope__cta { position: absolute; left: 0; right: 0; bottom: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.envelope:hover { animation-play-state: paused; transform: translateY(-4px) scale(1.02); }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 8% { transform: rotate(-2deg); } 16% { transform: rotate(2deg); } 24% { transform: rotate(0); } }
.offer--open .offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.offer__grid.is-fresh { animation: reveal .7s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: scale(.94) translateY(20px); } }
.offer__card { position: relative; padding: 28px; border-radius: var(--r); color: #fff; overflow: hidden; background: radial-gradient(ellipse at 90% 0%, rgba(242, 191, 75, .4), transparent 55%), linear-gradient(160deg, var(--maroon-800), var(--maroon)); box-shadow: var(--shadow-lg); }
.offer__timer small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.offer__timer b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 500; font-size: clamp(42px, 4.4vw, 64px); line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.offer__prices { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, .25); }
.offer__old { font-size: 20px; color: rgba(255, 255, 255, .55); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.offer__new { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4vw, 58px); line-height: 1; color: var(--gold); }
.offer__save { padding: 5px 12px; border-radius: 999px; background: var(--green); font-size: 14px; font-weight: 800; }
.offer__card .tag-example { margin-left: 0; }
.offer__bonus { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.offer__bonus h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--ink); }
.offer__bonus h3 .ic { color: var(--red); }
.offer__bonus ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.offer__bonus li { display: flex; gap: 10px; font-size: 16px; color: var(--text); }
.offer__bonus li .ic { color: var(--green); }
.offer__actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 22px; }

/* ------------------------------------------------------------ 12. Оплата */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; text-align: left; border-radius: var(--r); border: 2px solid transparent; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.pay-card:hover { transform: translateY(-3px); }
.pay-card.is-on { border-color: var(--red); }
.pay-card__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px; background: var(--red-soft); color: var(--red); }
.pay-card__ic .ic { width: 26px; height: 26px; }
.pay-card b { font-size: 20px; color: var(--ink); }
.pay-card > span:not(.pay-card__ic):not(.tile__check) { font-size: 14.5px; color: var(--muted); }
.pay-card strong { margin-top: 10px; font-family: var(--display); font-weight: 500; font-size: 32px; color: var(--navy); line-height: 1; }
.pay-card strong small { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--muted); }
.bank-box { margin-top: 18px; padding: 20px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.bank-box.is-fresh { animation: reveal .45s var(--ease) both; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 16px; }
.seg__btn { padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; color: var(--muted); }
.seg__btn.is-on { background: var(--navy); color: #fff; }
.banks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bank { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-weight: 800; color: var(--ink); text-align: left; transition: .2s; }
.bank i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--c); color: #fff; font-style: normal; font-family: var(--display); font-size: 20px; flex: none; }
.bank span { flex: 1; }
.bank .ic { color: var(--green); }
.bank.is-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, #fff); }

/* ------------------------------------------------------------ 13. Договор */
.contract { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.contract__pass { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.contract__sum { margin: 0; font-size: 16px; color: var(--text); text-align: center; }
.contract__sum b { font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--navy); }
.contract__form .scr-head { margin-bottom: 18px; }
.contract__form form { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); flex: none; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--red-soft); color: var(--red-600); font-weight: 700; font-size: 14px; }
.form-error[hidden] { display: none; }
/* «Нужно время подумать?» — предложение в PDF */
.think { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; margin-top: 16px; padding: 16px 18px; border-radius: 18px; border: 2px dashed color-mix(in srgb, var(--gold) 70%, transparent); background: color-mix(in srgb, var(--gold-light) 25%, transparent); }
.think__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: var(--maroon); }
.think__ic .ic { width: 22px; height: 22px; }
.think b { display: block; font-size: 15px; color: var(--ink); }
.think span:not(.think__ic) { font-size: 13.5px; color: var(--text); }
.think .btn { grid-column: 1 / -1; margin-top: 10px; padding: 12px 20px; }

/* ------------------------------------------------------------ Загрузка данных и неверная ссылка */
.kp-loading { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--fg-2); }
.link-error { max-width: 620px; }
.link-error p { margin: 16px 0 26px; font-size: 18px; color: var(--fg-2); }
.link-error .scr-title { color: #fff; font-size: clamp(34px, 4vw, 56px); }
.offer__old-note { font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------ Финал */
.done { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.done__pass .pass { margin: 0 auto; transform: rotate(-3deg); }
.done__text .scr-title { font-size: clamp(36px, 4.4vw, 64px); color: #fff; }
.done__text p { margin: 18px 0 26px; font-size: 18px; color: var(--fg-2); max-width: 520px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ Окна, тосты, конфетти */
.kp-dialog { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); overflow: visible; }
.kp-dialog::backdrop { background: rgba(10, 6, 14, .72); backdrop-filter: blur(6px); }
.kp-dialog[open] { animation: reveal .35s var(--ease); }
.dialog__box { position: relative; }
.dialog__x { position: absolute; top: -18px; right: -18px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.dialog-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.dialog-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dialog-pass { display: flex; justify-content: center; padding: 10px; }
.dialog-pass .pass { max-width: 680px; }
.dialog-confirm { max-width: 460px; margin: 0 auto; padding: 28px; border-radius: var(--r); background: #fff; color: var(--ink); --fg: var(--ink); --card-line: var(--line); }
.dialog-confirm h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 26px; }
.dialog-confirm p { margin: 0 0 20px; color: var(--muted); }
.dialog-confirm__btns { display: flex; gap: 10px; flex-wrap: wrap; }

.kp-toast { position: fixed; left: 50%; bottom: calc(var(--foot-h) + 16px); z-index: 50; max-width: calc(100vw - 32px); padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.kp-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.kp-toast.is-error { background: var(--red); }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -24px; left: var(--x); border-radius: 2px; animation: fall var(--d) var(--delay) cubic-bezier(.25, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }

/* ------------------------------------------------------------ Документ для семьи (PDF через печать, pdf.js) */
#kp-print { display: none; }
/* Скачивание PDF (pdf.js): листы рисуются в картинки — им нужна настоящая вёрстка, но за краем экрана */
#kp-print.is-rendering { display: block; position: fixed; left: -10000px; top: 0; width: 210mm; pointer-events: none; }
/* html2canvas не понимает -webkit-line-clamp: в талоне срезал бы строки пополам */
#kp-print.is-rendering .pass__grid dd { display: block; -webkit-line-clamp: unset; overflow: visible; }
@page { size: A4; margin: 0; }
@media print {
  html, body { height: auto; background: #fff !important; }
  body::before { display: none !important; }
  body > *:not(#kp-print) { display: none !important; }
  #kp-print { display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.doc { font-family: var(--font); color: var(--ink); }
.doc .ic { width: 1.1em; height: 1.1em; }
.doc-page { position: relative; width: 210mm; height: 297mm; padding: 14mm 14mm 20mm; overflow: hidden; break-after: page; page-break-after: always; background: #fff; }
.doc-page:last-child { break-after: auto; page-break-after: auto; }
.doc-foot { position: absolute; left: 14mm; right: 14mm; bottom: 8mm; display: flex; justify-content: space-between; padding-top: 3mm; border-top: .3mm solid var(--line); font-size: 8pt; color: var(--muted); }
.doc-band { margin: -14mm -14mm 0; padding: 12mm 14mm 30mm; color: #fff; background: radial-gradient(ellipse at 85% 20%, rgba(242, 191, 75, .4), transparent 50%), linear-gradient(150deg, #1c050b, #4a0d1a 50%, #a8182a); }
.doc-brand { display: flex; align-items: center; gap: 3mm; font-weight: 800; letter-spacing: .16em; font-size: 9pt; }
.doc-brand img { width: 10mm; height: 10mm; }
.doc-eyebrow { margin: 10mm 0 2mm; font-size: 9pt; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.doc-cover h1 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 32pt; line-height: 1.05; }
.doc-who { margin: 5mm 0 0; font-size: 12pt; color: rgba(255, 255, 255, .85); }
.doc-who b { color: #fff; }
.doc-who i { margin: 0 3mm; font-style: normal; color: var(--gold); }
.doc-pass { display: flex; justify-content: center; margin: -20mm 0 4mm; }
.doc-pass .pass { max-width: 160mm; filter: drop-shadow(0 3mm 4mm rgba(20, 4, 9, .25)); }
.doc-h2 { margin: 6mm 0 2.5mm; font-family: var(--display); font-weight: 500; font-size: 17pt; color: var(--ink); }
.doc-page > .doc-h2:first-child { margin-top: 0; }
.doc-lead { margin: 0 0 4mm; font-size: 10.5pt; color: var(--text); }
.doc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3mm; }
.doc-facts div { padding: 4mm; border-radius: 3mm; background: var(--cream); }
.doc-facts b { display: block; font-family: var(--display); font-weight: 500; font-size: 20pt; line-height: 1; color: var(--red); }
.doc-facts small { font-size: 10pt; }
.doc-facts span { display: block; margin-top: 1.5mm; font-size: 8.5pt; color: var(--text); }
.doc-founder { display: grid; grid-template-columns: 34mm 1fr; gap: 5mm; align-items: center; margin-top: 6mm; padding: 4mm; border-radius: 4mm; background: var(--navy); color: #fff; }
.doc-founder img { width: 34mm; height: 30mm; object-fit: cover; object-position: center 20%; border-radius: 3mm; background: var(--red); }
.doc-founder blockquote { margin: 0 0 2mm; font-size: 10.5pt; line-height: 1.45; color: #fff; }
.doc-founder div { font-size: 9pt; color: rgba(255, 255, 255, .75); }
.doc-founder b { color: var(--gold); }
.doc-offices { margin: 4mm 0 0; font-size: 9pt; color: var(--muted); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; line-height: 1.35; }
.doc-table th, .doc-table td { padding: 1.7mm 3mm; border-bottom: .3mm solid var(--line); text-align: left; vertical-align: top; }
.doc-table th { width: 45mm; font-weight: 700; color: var(--muted); }
.doc-pay th { width: 42mm; color: var(--ink); }
.doc-pay { table-layout: fixed; }
.doc-pay td:nth-child(2) { font-size: 8.8pt; color: var(--text); }
.doc-pay td:last-child { width: 50mm; text-align: right; white-space: nowrap; }
.doc-campus { padding: 4mm 5mm; border-radius: 4mm; background: var(--cream); }
.doc-campus b { display: block; font-size: 12pt; }
.doc-campus span { font-size: 9pt; color: var(--muted); }
.doc-campus p { margin: 1.5mm 0; line-height: 1.4; font-size: 9.5pt; color: var(--text); }
.doc-campus a { display: inline-flex; align-items: center; gap: 2mm; font-weight: 800; color: var(--red); text-decoration: none; font-size: 10pt; }
.doc-dorms { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.doc-dorms figure { position: relative; margin: 0; border-radius: 3mm; overflow: hidden; }
/* Фоном, а не <img> с object-fit: так картинку одинаково режут и печать, и html2canvas (скачивание PDF) */
.doc-dorm { height: 40mm; background: #eee center / cover no-repeat; }
.doc-dorms figcaption { position: absolute; top: 2.5mm; left: 2.5mm; padding: 1mm 3mm; border-radius: 99px; font-size: 8.5pt; font-weight: 800; color: #fff; }
.doc-dorms .is-bad { background: rgba(40, 40, 46, .85); }
.doc-dorms .is-good { background: var(--green); }
.doc-vs { width: 100%; margin-top: 3mm; border-collapse: collapse; font-size: 9pt; }
.doc-vs td { width: 50%; padding: 1.2mm 3mm; line-height: 1.3; border-bottom: .3mm solid var(--line); }
.doc-vs .is-bad { color: var(--muted); }
.doc-vs .is-good { font-weight: 700; color: var(--ink); }
.doc-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5mm; margin-top: 3mm; }
.doc-pkg { position: relative; padding: 5mm 4mm 4mm; border-radius: 4mm; border: .4mm solid var(--line); font-size: 8.8pt; }
.doc-pkg.is-chosen { border: .6mm solid var(--red); background: #fffaf9; }
.doc-pkg em { position: absolute; top: -2.5mm; left: 4mm; padding: .6mm 2.5mm; border-radius: 99px; background: var(--red); color: #fff; font-style: normal; font-size: 7.5pt; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.doc-pkg em.is-rec { background: var(--gold); color: var(--maroon); }
.doc-pkg small { display: block; font-size: 7.5pt; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.doc-pkg > b { display: block; margin: 1mm 0; font-family: var(--display); font-weight: 500; font-size: 16pt; }
.doc-pkg strong { display: block; padding: 2mm 0; margin-bottom: 2mm; border-bottom: .3mm dashed var(--line); font-family: var(--display); font-weight: 500; font-size: 15pt; color: var(--navy); }
.doc-pkg ul { margin: 0; padding-left: 4mm; }
.doc-pkg li { margin-bottom: 1mm; }
.doc-pkg p { margin: 2mm 0 0; color: var(--muted); font-size: 8pt; }
.doc-offer { display: grid; grid-template-columns: 1fr auto; gap: 2mm 6mm; margin-top: 5mm; padding: 5mm 6mm; border-radius: 4mm; color: #fff; background: radial-gradient(ellipse at 90% 0%, rgba(242, 191, 75, .45), transparent 55%), linear-gradient(160deg, #4a0d1a, #2a0710); }
.doc-offer small { display: block; font-size: 8pt; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.doc-offer > div > b { display: block; margin: 1mm 0; font-family: var(--display); font-weight: 500; font-size: 15pt; }
.doc-offer span { font-size: 9.5pt; color: rgba(255, 255, 255, .85); }
.doc-offer span b { color: var(--gold); }
.doc-offer__price { text-align: right; }
.doc-offer__price s { display: block; font-size: 10pt; color: rgba(255, 255, 255, .55); }
.doc-offer__price strong { font-family: var(--display); font-weight: 500; font-size: 22pt; color: var(--gold); }
.doc-offer ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5mm 6mm; margin: 1mm 0 0; padding-left: 4mm; font-size: 9pt; }
.doc-note { margin: 2.5mm 0 0; font-size: 8.5pt; color: var(--muted); }
.doc-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; grid-template-columns: 1fr 1fr; gap: 3mm 6mm; }
.doc-steps li { counter-increment: st; position: relative; padding-left: 10mm; font-size: 9.5pt; }
.doc-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 7mm; height: 7mm; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 9pt; }
.doc-steps b { font-size: 10.5pt; }
.doc-steps span { margin-left: 2mm; font-size: 8pt; font-weight: 700; color: var(--gold-dark); }
.doc-steps p { margin: 1mm 0 0; color: var(--text); }
.doc-reviews { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2mm 6mm; font-size: 9.5pt; }
.doc-reviews a { display: inline-flex; align-items: center; gap: 1.5mm; font-weight: 800; color: var(--red); text-decoration: none; }
.doc-reviews span { display: block; font-size: 8.5pt; color: var(--muted); }
.doc-question { margin: 0; padding: 4mm 5mm; border-radius: 3mm; background: var(--cream); font-size: 10pt; color: var(--text); white-space: pre-line; }
.doc-cta { margin-top: 8mm; padding: 6mm 7mm; border-radius: 4mm; background: var(--cream); border-left: 1.5mm solid var(--gold); }
.doc-cta h2 { margin: 0 0 2mm; font-family: var(--display); font-weight: 500; font-size: 17pt; }
.doc-cta p { margin: 1.5mm 0 0; font-size: 10.5pt; color: var(--text); }
.doc-cta a { color: var(--red); text-decoration: none; }

/* ------------------------------------------------------------ Экраны поменьше */
@media (max-width: 1180px) {
  .route__stop:not(.is-current) span { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .steps::before { display: none; }
  .prio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__f[data-f="pay"] { display: none; }
  .reviews { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 760px) and (min-width: 901px) {
  :root { --top-h: 58px; --foot-h: 76px; }
  .scr-title { font-size: clamp(28px, 3vw, 40px); }
  .tile { min-height: 140px; padding: 18px; }
  .program { padding: 22px 18px 16px; }
  .scr-head { margin-bottom: 16px; }
  .scr-sub { margin-top: 8px; font-size: 15px; }
  /* Ноутбук 1366×768: пакеты и отзывы помещаются без прокрутки */
  .pkg { padding: 22px 20px 16px; }
  .pkg h3 { font-size: 28px; }
  .pkg__for { min-height: 0; margin-bottom: 10px; }
  .pkg__price { padding: 10px 0; }
  .pkg__price .price { font-size: 28px; }
  .pkg__list { margin: 12px 0 14px; gap: 6px; }
  .pkg__list li { font-size: 13.5px; }
  .steps { margin-bottom: 18px; }
}
@media (max-width: 900px) {
  :root { --foot-h: 76px; }
  .kp-logo__text { display: none; }
  .route ol, .route__line { display: none; }
  .route__mobile { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--hl); }
  .scr { justify-content: flex-start; }
  .welcome, .about__grid, .two-col, .housing, .contract, .done, .offer--open .offer__grid, .program-extra { grid-template-columns: 1fr; }
  .welcome__visual { order: 2; }
  .welcome__pass { max-width: 440px; transform: rotate(-2deg); animation: none; }
  .welcome__facts { display: none; }
  .note-card { position: static; }
  .tiles, .programs, .pkgs { grid-template-columns: 1fr 1fr; }
  .pkgs { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .scr--tour { height: auto; }
  .tour__body { grid-template-columns: 1fr; grid-template-rows: minmax(320px, 58vh) auto; }
  .scenes { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; }
  .scenes__group { display: flex; gap: 6px; align-items: center; }
  .scenes__group h3 { display: none; }
  .scene { width: auto; margin: 0; white-space: nowrap; }
  .strip__f { display: none; }
  .strip__mobile { display: flex; flex-direction: column; min-width: 0; }
  .strip__mobile b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .strip__mobile small { white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .nav-btn span { display: none; }
  .nav-btn--back { width: 52px; padding: 0; justify-content: center; }
}
@media (max-width: 600px) {
  .kp-main { padding: 16px; }
  .hello__row { grid-template-columns: 1fr 1fr; }
  .hello__row .field--age { grid-column: span 2; }
  .tiles, .programs, .routes, .pay, .banks, .prio, .trust, .steps { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review--big { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
  .pass__grid { grid-template-columns: 1fr 1fr; }
  .pass__route b { font-size: 30px; }
  .pass__stub { width: 96px; padding: 16px 12px; }
  .vs span { font-size: 13px; padding: 10px; }
  .dialog__x { top: -14px; right: -6px; }
  .nav-btn--next { padding: 0 18px; }
  .strip { padding: 0 14px; }
  .strip__ic { display: none; }
  .pass__top { font-size: 9px; letter-spacing: .08em; }
  .pass__brand img { display: none; }
  .tool--pdf span { display: none; }
  .tool--pdf { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Анкета, «Образование в Китае», «Наши работы» (2026-11-29) */
.form-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; margin-bottom: 18px; }
.form-row--2 > .field { flex: 1 1 260px; }
.form-row .field { margin: 0; }
.field--short { max-width: 360px; margin-bottom: 18px; }
.field select { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); }
.field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 32, 47, .12); }
.age-out { margin: 0 0 14px; font-size: 16px; color: var(--text); }
.age-out b { font-family: var(--display); font-size: 22px; color: var(--red); }
.tiles + .form-row { margin-top: 22px; }
.programs--5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.programs--5 .program { padding: 24px 18px 18px; }
.programs--5 .program b { font-size: 22px; }
.program__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy); }
.program__places li { display: flex; gap: 6px; align-items: flex-start; }
.program__places .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--red); }
.program__pc { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: 13.5px; color: var(--text); }
.program__pc li { position: relative; padding-left: 18px; }
.program__pc--plus li::before { content: '+'; position: absolute; left: 0; font-weight: 800; color: #1f9d55; }
.program__pc--minus li::before { content: '−'; position: absolute; left: 0; font-weight: 800; color: var(--red); }
.program__pc--minus { border-top: 0; padding-top: 0; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: center; }
.phone { position: relative; height: min(560px, 60vh); aspect-ratio: 9 / 19; padding: 10px; border-radius: 42px; background: #0b0d18; box-shadow: 0 0 0 2px #2c3150, 0 0 0 7px #11142a, 0 30px 70px -20px rgba(0, 0, 0, .7); }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #0b0d18; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #000; }
.phone__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone__dots { display: flex; gap: 6px; }
.phone__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .28); transition: width .3s, background .3s; }
.phone__dots i.is-on { width: 20px; background: var(--gold); }
.phone__cap { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .phone { height: min(460px, 56vh); } }
.pkg-objection { display: flex; justify-content: flex-end; margin-top: 16px; }
.age-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.age-fit { flex-basis: 100%; font-size: 14px; font-weight: 700; color: var(--navy); }
.programs--5 .program.is-dim { opacity: .45; }
.programs--5 .program.is-dim:hover { opacity: .8; }
.program__years + .program__age { margin-top: -4px; }
.program__age { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: rgba(31, 157, 85, .12); color: #1f7a45; font-size: 12px; font-weight: 800; }
.program__age.is-off { background: rgba(200, 32, 47, .1); color: var(--red); }
/* «Нужно подумать?» — рядом с «Дальше» на экране пакетов */
.foot-right { display: flex; align-items: center; gap: 10px; }
.nav-btn--think { border-color: var(--gold); background: color-mix(in srgb, var(--gold-light) 35%, transparent); }
.nav-btn--think .ic { color: var(--gold); }
@media (max-width: 600px) { .nav-btn--think { padding: 0 14px; } .nav-btn--think span { display: none; } }
