/* ==========================================================================
   «Кинопостер» v5: тексты сверены с КП. Основа v1a, блоки 1 и 3 из v1b. Тактильные кнопки, система радиусов
   по материалам, шрифты Montserrat Alternates / Nunito / Caveat, талоны,
   режиссура появления при скролле. Мобильный приоритет: базовые стили = 360–390 px,
   далее расширение медиазапросами (min-width).
   ========================================================================== */

:root {
  --space: #0B1230;
  --space-2: #0E1739;
  --blue: #253F7A;
  --gold: #FDE9AA;
  --gold-2: #E9C77B;
  --teal: #93E4E2;
  --teal-ink: #135F5C;     /* бирюза для текста на кремовом фоне (контраст 6.9:1) */
  --red: #D03224;
  --red-hi: #E2483A;
  --snow: #F6FAFF;
  --snow-80: rgba(246, 250, 255, .82);
  --snow-60: rgba(246, 250, 255, .66);
  --line: rgba(147, 228, 226, .22);

  --glass: rgba(11, 18, 48, .55);
  --blur: 14px;

  /* РАДИУСЫ — по материалу и размеру, а не «везде 24px»:
     метки (бейджи, теги) — 6 · чипы — 12 · клавиши-кнопки — 16 (sm 14)
     бумага (талоны, письма) — 14 / 4 · малые стеклянные плашки — 20
     карточки — 28 · большие панели (расписание, лист модалки) — 36
     иллюминаторы, планеты, номерки — круг. Вложенное = внешнее − отступ. */
  --r-tag: 6px;
  --r-chip: 12px;
  --r-key: 16px;
  --r-key-s: 14px;
  --r-paper: 14px;
  --r-s: 20px;
  --r: 28px;
  --r-xl: 36px;
  --r-img: 20px;
  --r-m: 20px;
  --r-l: 28px;

  --red-base: #8C1C12;     /* «объёмный» нижний край красной клавиши */
  --cream-base: #B1863A;
  --teal-base: #3B8C89;
  --shadow: 0 20px 60px rgba(37, 63, 122, .55);
  --shadow-gold: 0 0 40px rgba(253, 233, 170, .25);

  --f-head: 'Montserrat Alternates', 'Nunito', system-ui, sans-serif;
  --f-text: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --ease-film: cubic-bezier(.7, 0, .2, 1);
  --f-hand: 'Caveat', 'Comic Sans MS', cursive;

  --gutter: 16px;
  --sec: 64px;
  --hdr: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + var(--safe-t) + 12px); }
body {
  margin: 0;
  background: var(--space);
  color: var(--snow);
  font: 400 17px/1.6 var(--f-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--space); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--space); padding: 10px 16px; border-radius: var(--r-key-s); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.hand { font-family: var(--f-hand); font-weight: 700; color: var(--gold); font-size: 23px; line-height: 1.1; letter-spacing: .005em; }
.only-d { display: none; }
.hide-xs { display: none; }

/* ---------- космический фон ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 0%, #1A2C62 0%, transparent 60%),
    linear-gradient(180deg, var(--space) 0%, #101C46 45%, var(--space) 100%);
}
.sky__neb { position: absolute; inset: -10%;
  background:
    radial-gradient(40% 30% at 12% 22%, rgba(147, 228, 226, .13), transparent 70%),
    radial-gradient(36% 28% at 88% 38%, rgba(253, 233, 170, .10), transparent 70%),
    radial-gradient(50% 30% at 30% 85%, rgba(37, 63, 122, .55), transparent 70%);
}
.sky__stars { position: absolute; inset: 0; will-change: opacity; }
.sky__layer { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 512px); background-repeat: repeat; will-change: transform; }
/* CSS-фолбэк звёзд (если JS не сгенерировал тайлы) */
.sky__layer--far { background-image: radial-gradient(1px 1px at 20px 30px, rgba(246,250,255,.6), transparent), radial-gradient(1px 1px at 140px 90px, rgba(246,250,255,.5), transparent), radial-gradient(1px 1px at 80px 160px, rgba(147,228,226,.5), transparent); background-size: 200px 200px; }
.sky__layer--mid { opacity: .9; }
.sky__layer--near { opacity: .95; }

/* ---------- типографика ---------- */
/* Титры: Montserrat Alternates 800, плотный трекинг, золотые акценты <em> */
.h2 { font: 800 clamp(27px, 7.4vw, 30px)/1.12 var(--f-head); letter-spacing: -.015em; text-wrap: balance; }
.h2 em { font-style: normal; color: transparent; background: linear-gradient(180deg, #FFF8E1 5%, var(--gold) 50%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; }
.lead { color: var(--snow-80); font-size: 17px; line-height: 1.6; max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font: 800 12.5px/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.eyebrow span { position: relative; display: inline-flex; align-items: center; gap: 12px; font: 800 13px/1 var(--f-head); color: var(--gold); letter-spacing: .04em; }
.eyebrow span::after { content: ""; width: 26px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), rgba(253, 233, 170, .1)); transform-origin: left; }
.eyebrow--c { justify-content: center; }
.sec { position: relative; padding: var(--sec) 0; overflow-x: clip; }
#story { overflow: hidden; }
.sec__head { margin-bottom: 28px; }
.sec__head .lead { margin-top: 12px; }
.sec__head--c { text-align: center; }
.sec__head--c .lead { margin-left: auto; margin-right: auto; }

/* ---------- материалы ---------- */
.glass { position: relative; background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  border-radius: var(--r); box-shadow: var(--shadow), inset 0 1px 0 rgba(253, 233, 170, .22), inset 0 -1px 0 rgba(147, 228, 226, .16); }
/* rim-light: тонкая градиентная рамка — золото сверху-справа, бирюза снизу */
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(253, 233, 170, .55), rgba(253, 233, 170, .05) 35%, rgba(147, 228, 226, .04) 65%, rgba(147, 228, 226, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glass-soft { background: linear-gradient(180deg, rgba(11, 18, 48, .72), rgba(11, 18, 48, .45)); border-radius: var(--r-s); }

.ico { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .f { fill: var(--teal); stroke: none; }
.ico .gold { stroke: var(--gold); }

/* ---------- кнопки: тактильные «клавиши пульта» ----------
   Плотная заливка, объёмный нижний край (0 4px 0 <тёмный тон>), при нажатии клавиша
   проваливается на 3px. Красная — только действие; вторичные — кремовая и бирюзовая;
   на hover — золотое свечение. Радиус 16px: клавиша, а не таблетка. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-key); border: 0; cursor: pointer;
  font: 800 16.5px/1.1 var(--f-text); letter-spacing: .01em; text-decoration: none; white-space: nowrap; text-align: center;
  --base: rgba(0, 0, 0, .35);
  box-shadow: 0 4px 0 var(--base), 0 12px 24px -10px rgba(5, 9, 28, .8);
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), background-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--base), 0 4px 10px -6px rgba(5, 9, 28, .8); transition-duration: .06s; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: var(--r-key-s); box-shadow: 0 3px 0 var(--base), 0 10px 20px -10px rgba(5, 9, 28, .8); }
.btn--sm:active { transform: translateY(2px); }
.btn--block { width: 100%; }
/* блик сверху — у всех заливных клавиш */
.btn--red::before, .btn--cream::before, .btn--teal::before { content: ""; position: absolute; left: 8px; right: 8px; top: 2px; height: 42%;
  border-radius: 12px 12px 50% 50% / 12px 12px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0)); pointer-events: none; }
.btn--red { --base: var(--red-base); color: #fff; background: linear-gradient(180deg, #E24A3A, var(--red) 55%, #C42C1F);
  box-shadow: 0 4px 0 var(--base), 0 14px 26px -8px rgba(208, 50, 36, .65); text-shadow: 0 1px 0 rgba(120, 20, 10, .45); }
.btn--red:hover { box-shadow: 0 4px 0 var(--base), 0 14px 26px -8px rgba(208, 50, 36, .65), 0 0 0 3px rgba(253, 233, 170, .4), 0 0 34px rgba(253, 233, 170, .5); }
.btn--red:active { box-shadow: 0 1px 0 var(--base), 0 0 0 3px rgba(253, 233, 170, .35), 0 0 26px rgba(253, 233, 170, .4); }
.btn--sm.btn--red { box-shadow: 0 3px 0 var(--base), 0 10px 22px -8px rgba(208, 50, 36, .6); }
.btn--cream { --base: var(--cream-base); color: var(--space); background: linear-gradient(180deg, #FFF8E0, var(--gold) 60%, #F3D88E); }
.btn--cream:hover { box-shadow: 0 4px 0 var(--base), 0 0 0 3px rgba(253, 233, 170, .25), 0 0 30px rgba(253, 233, 170, .55); }
.btn--sm.btn--cream:hover { box-shadow: 0 3px 0 var(--base), 0 0 24px rgba(253, 233, 170, .55); }
.btn--teal { --base: var(--teal-base); color: var(--space); background: linear-gradient(180deg, #C4F4F2, var(--teal) 60%, #7FD6D3); }
.btn--teal:hover { box-shadow: 0 4px 0 var(--base), 0 0 0 3px rgba(253, 233, 170, .22), 0 0 30px rgba(253, 233, 170, .45); }
/* призрачная — стеклянная клавиша с бирюзовым кантом и тем же «ходом» */
.btn--ghost { --base: rgba(147, 228, 226, .38); color: var(--snow); background: rgba(13, 22, 58, .62);
  box-shadow: inset 0 0 0 2px rgba(147, 228, 226, .75), 0 4px 0 var(--base), 0 12px 24px -12px rgba(5, 9, 28, .9); }
.btn--ghost:hover { background: rgba(147, 228, 226, .14); box-shadow: inset 0 0 0 2px var(--teal), 0 4px 0 var(--base), 0 0 28px rgba(253, 233, 170, .32); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px var(--teal), 0 1px 0 var(--base); }
.btn--sm.btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .75), 0 3px 0 var(--base); }
/* контурная на кремовой бумаге (талоны, модалка) */
.btn--line { --base: rgba(37, 63, 122, .4); color: var(--blue); background: rgba(255, 252, 240, .6); box-shadow: inset 0 0 0 2px rgba(37, 63, 122, .75), 0 3px 0 var(--base); }
.btn--line:hover { background: #FFFCF0; box-shadow: inset 0 0 0 2px var(--blue), 0 3px 0 var(--base), 0 0 22px rgba(253, 233, 170, .9); }
.btn--line:active { box-shadow: inset 0 0 0 2px var(--blue), 0 1px 0 var(--base); }
.btn[disabled], .btn.is-off { cursor: not-allowed; color: rgba(11, 18, 48, .6); background: #CFC8B2; box-shadow: 0 2px 0 #A49D86; text-shadow: none; transform: none; }
.btn[disabled]::before, .btn.is-off::before { display: none; }
/* искра при клике на «Купить» */
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: burst .6s ease-out forwards; transform: rotate(var(--a)) translateX(0); }
@keyframes burst { to { transform: rotate(var(--a)) translateX(46px); opacity: 0; } }

/* ==========================================================================
   ХЕДЕР
   ========================================================================== */
.hdr { position: fixed; z-index: 50; left: 0; right: 0; top: 0; padding-top: var(--safe-t);
  transition: background-color .35s, box-shadow .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s; }
.hdr.is-stuck { background: rgba(37, 63, 122, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(5, 9, 28, .55); }
.hdr__in { display: flex; align-items: center; gap: 10px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; min-height: 44px; }
.logo__mark { width: 30px; height: 30px; flex: none; max-width: none; filter: drop-shadow(0 0 6px rgba(253, 233, 170, .45)); }
.logo__t { font: 800 16px/1 var(--f-head); letter-spacing: .02em; text-transform: uppercase; }
.logo__t span { color: var(--gold); margin-left: 2px; }
.nav, .hdr__phone { display: none; }
/* кнопка в хедере: золотая, пока в кадре есть другая красная кнопка; красная — когда она единственная */
.btn--hdr { padding: 0 16px; min-height: 42px; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--snow); transition: transform .3s, opacity .3s; }
.burger span:last-child { width: 14px; margin-left: 8px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { width: 22px; margin-left: 0; transform: translateY(-4px) rotate(-45deg); }

/* Линия света: прогресс скролла */
.lightline { position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; transform: translateY(50%); pointer-events: none; }
.lightline__track { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(147, 228, 226, .28) 8%, rgba(147, 228, 226, .28) 92%, transparent); }
/* заливка тянется через scaleX (только transform), голова-искра едет через translateX */
.lightline__fill { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -.5px; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(253, 233, 170, 0), var(--gold) 12%, #FFF8E1);
  box-shadow: 0 0 10px rgba(253, 233, 170, .9), 0 0 2px #fff; will-change: transform; }
.lightline__head { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(circle, #fff 0 2px, rgba(255, 248, 225, .95) 3px, rgba(253, 233, 170, .45) 6px, rgba(253, 233, 170, 0) 11px); opacity: 0; transition: opacity .3s; }
.lightline.is-going .lightline__head { opacity: 1; }
.lightline__nodes { position: absolute; inset: 0; }
/* Огоньки: зона нажатия шире самого огонька. Пройденные горят ровно, текущий крупнее и «дышит». */
.lhit { --hw: min(40px, 9.4vw); position: absolute; top: 50%; width: var(--hw); height: 32px; margin: -10px 0 0 calc(var(--hw) / -2); padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.lhit:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; border-radius: 10px; }
.lnode { position: absolute; left: 50%; top: 10px; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: rgba(147, 228, 226, .2); box-shadow: inset 0 0 0 1px rgba(147, 228, 226, .55);
  transition: background-color .5s var(--w, 0ms), box-shadow .6s var(--w, 0ms), transform .5s cubic-bezier(.34, 1.56, .64, 1) var(--w, 0ms); }
.lnode.is-on { background: var(--gold); box-shadow: 0 0 5px 1px rgba(253, 233, 170, .75); }
.lnode.is-cur { background: #FFF8E1; transform: scale(1.7); box-shadow: 0 0 0 2px rgba(253, 233, 170, .22), 0 0 12px 3px rgba(253, 233, 170, .8); }
.lhit:hover .lnode { transform: scale(2); }
.lnode::before, .lnode::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; opacity: 0; }
.lnode::before { inset: -15px; background: radial-gradient(closest-side, rgba(255, 248, 225, .95), rgba(253, 233, 170, .4) 45%, transparent); }
.lnode::after { inset: -5px; box-shadow: 0 0 0 1px rgba(253, 233, 170, .6); }
.lnode.is-flash::before { animation: lbloom .9s ease-out var(--w, 0ms) both; }
.lnode.is-cur::after { animation: lbreath 2.8s ease-in-out infinite; }
@keyframes lbloom { 0% { opacity: 0; transform: scale(.3); } 28% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes lbreath { 0%, 100% { opacity: .1; transform: scale(.85); } 50% { opacity: .7; transform: scale(1.2); } }
/* комета на линии видна только в движении */
.lightline__head::after { content: ""; position: absolute; right: 50%; top: 50%; width: 56px; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(253, 233, 170, .9) 70%, #fff); opacity: 0; transform-origin: 100% 50%; transition: opacity .3s; }
.lightline.is-moving .lightline__head::after { opacity: 1; }
.lightline.is-back .lightline__head::after { transform: scaleX(-1); }
/* подпись главы — «титр» под линией на секунду */
.lightline__label { position: absolute; left: 0; top: 14px; padding: 5px 10px 6px; border-radius: var(--r-tag); white-space: nowrap; pointer-events: none;
  font: 800 12px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--space);
  background: linear-gradient(180deg, #FFF8E0, var(--gold)); box-shadow: 0 6px 18px rgba(5, 9, 28, .5), 0 0 18px rgba(253, 233, 170, .45);
  opacity: 0; transform: translate3d(var(--lx, 0px), -4px, 0); }
.lightline__label.is-show { animation: llabel 1.6s var(--ease-out) forwards; }
.lightline__label.is-hold { opacity: 1; transform: translate3d(var(--lx, 0px), 0, 0); }
@keyframes llabel { 0% { opacity: 0; transform: translate3d(var(--lx), -6px, 0); } 15%, 75% { opacity: 1; transform: translate3d(var(--lx), 0, 0); } 100% { opacity: 0; transform: translate3d(var(--lx), 2px, 0); } }
.lightline.is-closed .lightline__fill { animation: closed 2.4s ease-in-out infinite; }
@keyframes closed { 50% { opacity: .75; } }
.lightline.is-closing .lnode { animation: chainpulse 1.1s var(--ease-out) both; animation-delay: calc(var(--k) * 45ms); }
@keyframes chainpulse { 35% { transform: scale(1.9); } }

/* Меню (моб.) */
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + var(--safe-t) + 24px) var(--gutter) calc(24px + var(--safe-b));
  background: radial-gradient(80% 50% at 80% 10%, rgba(147, 228, 226, .14), transparent 70%), #080D24;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; min-height: 48px; text-decoration: none;
  font: 800 24px/1.2 var(--f-head); letter-spacing: -.01em; border-bottom: 1px solid rgba(147, 228, 226, .12);
  transform: translateY(10px); opacity: 0; transition: transform .4s, opacity .4s, color .2s; }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu__nav a:nth-child(2) { transition-delay: .03s; } .menu__nav a:nth-child(3) { transition-delay: .06s; } .menu__nav a:nth-child(4) { transition-delay: .09s; }
.menu__nav a:nth-child(5) { transition-delay: .12s; } .menu__nav a:nth-child(6) { transition-delay: .15s; } .menu__nav a:nth-child(7) { transition-delay: .18s; }
.menu__nav a i { font: 800 12px/1 var(--f-text); font-style: normal; color: var(--gold); width: 24px; }
.menu__nav a:hover { color: var(--gold); }
.menu__foot { display: grid; gap: 12px; margin-top: 28px; }
.menu__phone { font: 700 20px/1.2 var(--f-text); text-decoration: none; color: var(--teal); min-height: 44px; display: flex; align-items: center; }
.menu__meta { color: var(--snow-60); font-size: 15px; }

/* ==========================================================================
   HERO — мобильная композиция: текст сверху, кадр 4:5 снизу
   ========================================================================== */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--hdr) + var(--safe-t) + 18px); overflow: hidden; }
.hero__art { position: absolute; left: 0; right: 0; bottom: 0; height: min(125vw, 640px); z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
.hero__neb { position: absolute; inset: -20% 0 0;
  background:
    radial-gradient(45% 40% at 70% 55%, rgba(253, 233, 170, .32), transparent 70%),
    radial-gradient(60% 40% at 20% 70%, rgba(147, 228, 226, .2), transparent 70%); }
.hero__planet { position: absolute; width: 58vw; max-width: 340px; right: -16vw; top: 0; opacity: .9; }
.hero__trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__city { position: absolute; width: 40vw; max-width: 280px; left: 54%; bottom: 38%; transform: none; filter: drop-shadow(0 0 18px rgba(253, 233, 170, .6)); }
.hero__ship { position: absolute; width: 84vw; max-width: 520px; left: 4vw; bottom: 12%; transform: rotate(-14deg); filter: drop-shadow(0 18px 30px rgba(5, 9, 28, .7)) drop-shadow(0 -2px 10px rgba(253, 233, 170, .25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -8px; } }
.hero__hull { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; }
.hero__shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 48, .6) 0%, rgba(11, 18, 48, .45) 25%, rgba(11, 18, 48, 0) 50%, rgba(11, 18, 48, 0) 82%, var(--space) 100%); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* Слои параллакса hero. Прогресс --hp (0 → 1) за первый экран: дальние слои отстают,
   корабль летит в камеру, кадр «наезжает». CSS scroll-driven (.sda) или JS-фолбэк (--hp). */
.plx { position: absolute; inset: 0; transform-origin: 50% 70%; }
.plx--ship, .plx--img, .plx--bokeh, .hero .hero__in { will-change: transform; }
.hero.is-plx .plx--neb    { transform: translate3d(0, calc(var(--hp) * 22%), 0) scale(calc(1 + var(--hp) * .1)); }
.hero.is-plx .plx--planet { transform: translate3d(0, calc(var(--hp) * 30%), 0) scale(calc(1 + var(--hp) * .08)); }
.hero.is-plx .plx--trail  { transform: translate3d(0, calc(var(--hp) * 12%), 0); }
.hero.is-plx .plx--city   { transform: translate3d(0, calc(var(--hp) * 16%), 0) scale(calc(1 + var(--hp) * .06)); }
.hero.is-plx .plx--ship   { transform: translate3d(calc(var(--hp) * 14%), calc(var(--hp) * -16%), 0) scale(calc(1 + var(--hp) * .24)); }
.hero.is-plx .plx--img    { transform: translate3d(0, calc(var(--hp) * 9%), 0) scale(calc(1 + var(--hp) * .12)); }
.hero.is-plx .plx--bokeh  { transform: translate3d(0, calc(var(--hp) * -38%), 0); }
.hero.is-plx .hero__in    { transform: translate3d(0, calc(var(--hp) * -48px), 0); opacity: calc(1 - var(--hp) * .7); }
.hero.is-plx .hero__billing { opacity: calc(1 - var(--hp) * 1.4); }

.art-img { opacity: 0; transition: opacity .8s; }
.art-img.is-loaded { opacity: 1; }

/* боке-снежинки переднего плана */
.bokeh { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(246, 250, 255, .55) 0%, rgba(246, 250, 255, .18) 45%, transparent 70%); filter: blur(1.5px);
  animation: drift 14s ease-in-out infinite; }
.bokeh i:nth-child(1) { width: 70px; height: 70px; left: -16px; top: 46%; }
.bokeh i:nth-child(2) { width: 34px; height: 34px; right: 10%; top: 18%; animation-delay: -4s; }
.bokeh i:nth-child(3) { width: 110px; height: 110px; right: -40px; bottom: 12%; filter: blur(4px); opacity: .7; animation-delay: -7s; }
.bokeh i:nth-child(4) { width: 18px; height: 18px; left: 38%; top: 12%; animation-delay: -2s; }
.bokeh i:nth-child(5) { width: 46px; height: 46px; left: 14%; bottom: 8%; filter: blur(3px); animation-delay: -9s; }
.bokeh i:nth-child(6) { width: 14px; height: 14px; right: 30%; bottom: 30%; animation-delay: -5s; }
.bokeh i:nth-child(7) { width: 24px; height: 24px; left: 55%; top: 34%; animation-delay: -11s; opacity: .7; }
@keyframes drift { 50% { transform: translate3d(8px, 18px, 0); } }

.hero__in { position: relative; z-index: 2; }
.hero__copy { max-width: 620px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero__chips li { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-chip); font-size: 13.5px; font-weight: 800; letter-spacing: .02em;
  background: rgba(11, 18, 48, .6); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .5); color: var(--teal); }
.hero__chips .chip-6 { color: var(--space); background: linear-gradient(180deg, #FFF8E0, var(--gold)); box-shadow: 0 3px 0 var(--cream-base), 0 0 18px rgba(253, 233, 170, .45); font: 800 15px/1 var(--f-head); }
/* Заголовок — титр постера: крупная строка + золотой подзаголовок капителью */
.hero__h1 { font: 800 clamp(31px, 9.3vw, 40px)/1.04 var(--f-head); letter-spacing: -.025em; }
.t-main { display: block; text-wrap: balance; text-shadow: 0 2px 30px rgba(11, 18, 48, .8); }
.t-main em { font-style: normal; }
/* маска строки: строка «выезжает» снизу из-под невидимой кромки (только transform) */
.t-ln { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .04em .14em 0; margin: -.1em -.04em -.14em 0; }
.t-ln > span { display: inline-block; }
.t-sub { display: block; margin-top: 4px; font: 700 40px/1 var(--f-hand); letter-spacing: 0; color: var(--gold); transform: rotate(-2deg); transform-origin: left; text-shadow: 0 0 24px rgba(253, 233, 170, .45); }
.hero__hint { display: none; }
.hero__sub { margin-top: 16px; font-size: 16.5px; line-height: 1.55; color: var(--snow-80); }
.hero__meta { margin-top: 12px; font-size: 15.5px; line-height: 1.5; color: var(--snow-80); }
.hero__meta b { display: block; font: 800 17px/1.35 var(--f-head); color: var(--gold); letter-spacing: -.01em; }
.hero__cta { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.hero__billing { display: none; }

/* Countdown — кинотитры */
.cd { margin-top: 20px; padding: 14px 14px 12px; max-width: 460px; border-radius: var(--r-s); }
.cd__cap { font: 800 11.5px/1 var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.cd__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.cd__u { text-align: center; position: relative; }
.cd__u + .cd__u::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 18px; width: 1px; background: linear-gradient(180deg, transparent, rgba(253, 233, 170, .5), transparent); }
.cd__u b { display: block; font: 800 32px/1.1 var(--f-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
  background: linear-gradient(180deg, #FFFDF4 10%, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(253, 233, 170, .35)); }
.cd__u span { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--snow-60); }
.cd.is-hidden { display: none; }

.hero::after { content: ""; display: block; height: min(86vw, 440px); } /* место под кадр 4:5 под текстом */

/* ==========================================================================
   БЕГУЩАЯ СТРОКА
   ========================================================================== */
.marquee { position: relative; overflow: hidden; border-block: 1px solid rgba(147, 228, 226, .18); background: rgba(8, 13, 36, .8); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; flex: none; }
.marquee__set span { display: inline-flex; align-items: center; gap: 18px; padding: 12px 0 12px 18px; white-space: nowrap;
  font: 800 13px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.marquee__set span::after { content: "✦"; color: var(--gold); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   ФАКТЫ
   ========================================================================== */
.sec--facts { padding-top: 40px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { border-radius: var(--r-s); padding: 18px 14px 18px; text-align: center; transition: transform .35s, box-shadow .35s; }
.fact .ico { width: 52px; height: 52px; margin: 0 auto 10px; stroke-width: 2; filter: drop-shadow(0 0 8px rgba(147, 228, 226, .35)); }
.fact .ico, .fact .ico * { vector-effect: non-scaling-stroke; }
.fact__t { display: block; font: 800 19px/1.15 var(--f-head); color: var(--gold); margin-bottom: 6px; text-wrap: balance; }
.fact p { font-size: 15px; line-height: 1.45; color: var(--snow-80); }
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 40px rgba(253, 233, 170, .22); }
.fact:hover .ico { filter: drop-shadow(0 0 10px rgba(253, 233, 170, .8)); }

/* ==========================================================================
   СЮЖЕТ
   ========================================================================== */
.story { position: relative; display: grid; gap: 28px; }
.story__ghost { position: absolute; width: 520px; max-width: none; right: -260px; top: -40px; opacity: .8; pointer-events: none; }
.story__copy { position: relative; }
.story__text { margin-top: 18px; padding: 18px; display: grid; gap: 12px; color: var(--snow-80); box-shadow: inset 0 0 0 1px rgba(147, 228, 226, .14), inset 0 1px 0 rgba(253, 233, 170, .2); }
.story__text p { font-size: 16.5px; }
.story__fine { margin-top: 14px; font-size: 14px; color: var(--teal); }
.story__side { display: grid; gap: 22px; justify-items: center; }

/* Иллюминатор */
.porthole { position: relative; margin: 0; width: 100%; max-width: 300px; aspect-ratio: 1; }
.porthole__in { position: absolute; inset: 4.5%; border-radius: 50%; overflow: hidden; background: #0D1B45;
  box-shadow: inset 0 0 40px rgba(5, 9, 28, .9), inset 0 -18px 40px rgba(147, 228, 226, .25), inset 0 18px 40px rgba(253, 233, 170, .18); }
.porthole__in > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.porthole__in img { object-fit: cover; }
.porthole__in::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(60% 40% at 30% 18%, rgba(255, 255, 255, .22), transparent 60%); pointer-events: none; }
.porthole__ring { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 16px rgba(253, 233, 170, .25)); }
.porthole--xl { max-width: 320px; }
.holo__map { width: 100%; height: 100%; }
.holo__pts circle { animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.holo__pts circle:nth-child(2) { animation-delay: -1s; } .holo__pts circle:nth-child(3) { animation-delay: -2s; }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.7); } }

.callouts { display: grid; gap: 12px; width: 100%; counter-reset: c; }
.callout { border-radius: var(--r-s); display: flex; gap: 14px; align-items: flex-start; padding: 16px 16px 16px 14px; }
.callout__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--f-head); color: var(--space);
  background: radial-gradient(circle at 35% 30%, #FFF8E1, var(--gold) 55%, var(--gold-2)); box-shadow: 0 0 16px rgba(253, 233, 170, .5); }
.callout div > b { display: block; font-size: 16px; line-height: 1.35; color: var(--snow); }
.callout div > span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--snow-60); margin-top: 2px; }

/* ==========================================================================
   КАРУСЕЛИ (scroll-snap)
   ========================================================================== */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 22px; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; }
.dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(147, 228, 226, .35); transition: width .3s, background-color .3s; }
.dots i.is-on { width: 22px; background: var(--gold); box-shadow: 0 0 8px rgba(253, 233, 170, .6); }
.arrows { display: none; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(11, 18, 48, .6); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .6); display: grid; place-items: center; transition: box-shadow .25s, background-color .25s; }
.arrow:hover { background: rgba(147, 228, 226, .12); box-shadow: inset 0 0 0 1.5px var(--teal), 0 0 20px rgba(147, 228, 226, .3); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--snow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Герои */
.sec--credits { padding-top: calc(var(--sec) + 20px); }
.credits__k { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px; font: 700 13px/1 var(--f-head); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.credits__k span { font-size: 12px; letter-spacing: .05em; color: var(--teal); }
.credits__k::before, .credits__k::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.credits__k::after { background: linear-gradient(90deg, var(--gold), transparent); }
.rail--deck { position: relative; --cw: min(74vw, 290px); gap: 12px; padding: 16px calc((100% - var(--cw)) / 2) 24px; scroll-padding: 0; }
.rail--deck > * { scroll-snap-align: center; }
.char { position: relative; width: var(--cw); padding: 8px 8px 20px; text-align: center; transform-origin: 50% 85%; border-radius: var(--r-l);
  background: linear-gradient(180deg, #1A2756, #0E1739 60%); box-shadow: 0 24px 50px rgba(5, 9, 28, .6), inset 0 1px 0 rgba(253, 233, 170, .35), inset 0 0 0 1px rgba(147, 228, 226, .16); }
.char__art { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-m); background: var(--c-bg, #1A2C62); }
.char__art::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 42%, var(--c-glow, rgba(253, 233, 170, .45)), transparent 70%), radial-gradient(90% 40% at 50% 110%, rgba(147, 228, 226, .4), transparent 70%); }
.char__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(253, 233, 170, .5), inset 0 -40px 50px -30px rgba(11, 18, 48, .8); }
.char__stars { position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 18%, #fff, transparent), radial-gradient(1.4px 1.4px at 85% 60%, var(--gold), transparent), radial-gradient(1px 1px at 12% 70%, var(--teal), transparent), radial-gradient(1px 1px at 52% 8%, #fff, transparent); opacity: .8; }
.char__letter { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); font: 800 180px/1 var(--f-head); color: rgba(253, 233, 170, .08); }
.char__glyph { position: absolute; left: 50%; top: 46%; width: 48%; transform: translate(-50%, -50%); fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(253, 233, 170, .7)); }
.char__glyph * { vector-effect: non-scaling-stroke; }
.char__glyph .t { stroke: var(--teal); }
.char__glyph .fl { fill: var(--gold); stroke: none; }
.char__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.char__no { position: absolute; left: 14px; top: 12px; font: 700 12px/1 var(--f-head); letter-spacing: .14em; color: var(--snow-60); }
.char__cap { padding: 14px 8px 0; }
.char__name { font: 800 24px/1.1 var(--f-head); letter-spacing: -.01em; }
.char__role { display: block; margin-top: 4px; font: 700 25px/1.05 var(--f-hand); color: var(--gold); }
.char__desc { margin: 8px auto 0; max-width: 30ch; font-size: 15px; line-height: 1.45; color: var(--snow-80); }
.rail-ctrl--deck { justify-content: center; }
.rail-ctrl--deck .dots { justify-content: center; max-width: 180px; }

/* ==========================================================================
   МАРШРУТ — главный wow-блок. Моб.: вертикальная траектория
   ========================================================================== */
.sec--route { overflow: hidden; }
.sec--route::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 50%, rgba(37, 63, 122, .5), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg fill='none' stroke='%2393E4E2' stroke-opacity='.10'%3E%3Cpath d='M30 40 L90 70 L150 50 L210 110 M210 110 L260 90 M90 70 L110 150 L60 210 M200 240 L250 200 L300 260'/%3E%3C/g%3E%3Cg fill='%23FDE9AA' fill-opacity='.25'%3E%3Ccircle cx='30' cy='40' r='1.6'/%3E%3Ccircle cx='90' cy='70' r='1.6'/%3E%3Ccircle cx='150' cy='50' r='1.6'/%3E%3Ccircle cx='210' cy='110' r='1.6'/%3E%3Ccircle cx='260' cy='90' r='1.6'/%3E%3Ccircle cx='110' cy='150' r='1.6'/%3E%3Ccircle cx='60' cy='210' r='1.6'/%3E%3Ccircle cx='200' cy='240' r='1.6'/%3E%3Ccircle cx='250' cy='200' r='1.6'/%3E%3Ccircle cx='300' cy='260' r='1.6'/%3E%3C/g%3E%3C/svg%3E"); }
.route { position: relative; --pl: 96px; }
.route__line { position: absolute; left: calc(var(--pl) / 2 - 1px); top: calc(var(--pl) / 2); bottom: 60px; width: 2px; background: rgba(147, 228, 226, .2); border-radius: 2px; }
/* заливка — scaleY/scaleX (только transform), комета — translate3d по линии */
.route__fill { position: absolute; inset: 0; border-radius: 2px; transform-origin: 50% 0; transform: scaleY(0); will-change: transform;
  background: linear-gradient(180deg, rgba(253, 233, 170, .4), var(--gold)); box-shadow: 0 0 12px var(--gold), 0 0 2px #fff; }
.route__comet { position: absolute; left: 50%; top: 0; width: 28px; height: 84px; margin: -70px 0 0 -14px; transform-origin: 14px 70px;
  opacity: 0; transition: opacity .4s; will-change: transform; pointer-events: none; }
.route__comet svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 10px rgba(253, 233, 170, .9)); }
.route.is-going .route__comet { opacity: 1; }
.route__list { position: relative; display: grid; gap: 30px; }
.stop { display: grid; grid-template-columns: var(--pl) 1fr; gap: 16px; align-items: start; align-content: start; }
.stop__pl { position: relative; width: var(--pl); height: var(--pl); }
.stop__pl .pl-svg, .stop__pl img { position: absolute; inset: -18%; width: 136%; height: 136%; max-width: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.stop__pl img { inset: -38%; width: 176%; height: 176%; object-fit: contain; }
.stop__pl:has(img.is-loaded) .pl-svg { display: none; }
/* до зажигания планета притушена и отодвинута; зажглась — вспышка-кольцо и ореол */
.stop:not(.is-on) .pl-svg, .stop:not(.is-on) .stop__pl img { opacity: .38; transform: scale(.86); }
.stop__pl::before, .stop__pl::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; pointer-events: none; opacity: 0; }
.stop__pl::before { box-shadow: 0 0 0 3px rgba(255, 248, 225, .95), 0 0 30px 8px rgba(253, 233, 170, .7); transform: scale(.6); }
.stop__pl::after { inset: -30%; background: radial-gradient(circle, rgba(253, 233, 170, .32), rgba(253, 233, 170, 0) 65%); transition: opacity 1.2s; }
.stop.is-on .stop__pl::before { animation: ignite-ring 1s var(--ease-out) forwards; }
.stop.is-on .stop__pl::after { opacity: 1; }
@keyframes ignite-ring { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.65); } }
.stop__n { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 800 13px/1 var(--f-head); background: var(--space); color: var(--teal); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .6); transition: background-color .5s, color .5s, box-shadow .5s, transform .5s var(--ease-out); z-index: 2; }
.stop.is-on .stop__n { background: radial-gradient(circle at 35% 30%, #FFF8E1, var(--gold) 55%, var(--gold-2)); color: var(--space); box-shadow: 0 0 18px rgba(253, 233, 170, .8); transform: scale(1.12); }
.stop__body { padding-top: 8px; transition: transform .8s var(--ease-out); }
.stop:not(.is-on) .stop__body { transform: translate3d(10px, 0, 0); }
.stop__t { font: 800 22px/1.15 var(--f-head); letter-spacing: -.015em; transition: color .6s; }
.stop.is-on .stop__t { color: var(--gold); }
.stop__d { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--snow-80); }
.stop__tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px 8px 10px; border-radius: var(--r-chip); font-size: 14px; font-weight: 800;
  color: var(--teal); background: rgba(147, 228, 226, .08); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .4); transition: color .6s, background-color .6s, box-shadow .6s; }
.stop__tag svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stop.is-on .stop__tag { color: var(--space); background: var(--teal); box-shadow: 0 3px 0 var(--teal-base), 0 0 20px rgba(147, 228, 226, .35); }
.stop__pirates { display: block; margin-top: 10px; font-size: 22px; transform: rotate(-3deg); transform-origin: left; }
.route__done { margin-top: 26px; text-align: center; opacity: .25; transform: scale(.94); transition: opacity .8s, transform .8s var(--ease-out); }
.route__done.is-lit { opacity: 1; transform: none; }
.js .route__done.rv.is-in:not(.is-lit) { opacity: .3; }
.route__done .hand { font-size: 28px; }

/* ==========================================================================
   ИНТЕРАКТИВ
   ========================================================================== */
.icard { width: 80vw; max-width: 330px; overflow: hidden; display: flex; flex-direction: column; }
.icard__art { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.icard__art > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.icard__art img { object-fit: cover; }
.icard__body { padding: 16px 18px 20px; position: relative; flex: 1; }
.icard__n { position: absolute; top: -26px; left: 16px; font: 800 38px/1 var(--f-head); color: var(--gold); text-shadow: 0 0 20px rgba(253, 233, 170, .5), 0 2px 12px rgba(11, 18, 48, .9); }
.icard__t { font: 800 18px/1.25 var(--f-head); margin-top: 8px; }
.icard__d { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--snow-80); }
.icard__where { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .03em; }
.rail-ctrl--m { justify-content: center; }

/* мини-сцены (фолбэки картинок): небо + планета + глиф */
.scn { position: absolute; inset: 0; overflow: hidden; background: var(--s-bg, linear-gradient(180deg, #253F7A, #0B1230)); }
.scn::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 12%, #fff, transparent), radial-gradient(1.4px 1.4px at 78% 26%, var(--gold), transparent), radial-gradient(1px 1px at 88% 8%, #fff, transparent), radial-gradient(1px 1px at 62% 40%, var(--teal), transparent), radial-gradient(1px 1px at 22% 48%, #fff, transparent); }
.scn__pl { position: absolute; width: 90%; left: 5%; top: 46%; max-width: none; }
.scn__glyph { position: absolute; left: 50%; top: 34%; width: 34%; transform: translate(-50%, -50%); fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(253, 233, 170, .75)); }
.scn__glyph * { vector-effect: non-scaling-stroke; }
.scn__glyph .t { stroke: var(--teal); }
.scn__glyph .fl { fill: var(--gold); stroke: none; }
.scn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 18, 48, .55) 80%, rgba(11, 18, 48, .9)); }

/* голосование */
.vote { margin-top: 18px; display: grid; gap: 16px; padding: 22px 18px; overflow: hidden; }
.vote__pirates svg { display: block; width: 150px; height: auto; margin: 0 auto; overflow: visible; filter: drop-shadow(0 10px 24px rgba(5, 9, 28, .6)); }
.vote__k { font: 800 12px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.vote__t { margin-top: 8px; font: 800 24px/1.2 var(--f-head); color: var(--gold); }
.vote__d { margin-top: 8px; color: var(--snow-80); font-size: 15.5px; }
.vote__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.vbtn { min-height: 52px; border-radius: var(--r-key); border: 0; cursor: pointer; font-weight: 800; font-size: 16.5px; background: rgba(147, 228, 226, .08);
  box-shadow: inset 0 0 0 2px rgba(147, 228, 226, .6), 0 4px 0 rgba(147, 228, 226, .25); transition: transform .14s var(--ease-out), box-shadow .2s, background-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.vbtn:hover { background: rgba(147, 228, 226, .16); box-shadow: inset 0 0 0 2px var(--teal), 0 4px 0 rgba(147, 228, 226, .25), 0 0 24px rgba(253, 233, 170, .3); }
.vbtn:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--teal), 0 1px 0 rgba(147, 228, 226, .25); }
.vbtn.is-picked { background: linear-gradient(180deg, #FFF8E0, var(--gold) 60%, #F3D88E); color: var(--space); box-shadow: 0 4px 0 var(--cream-base), 0 0 24px rgba(253, 233, 170, .5); }
.vote__res { grid-column: 1 / -1; min-height: 26px; font-size: 22px; }

/* ==========================================================================
   РАСПИСАНИЕ
   ========================================================================== */
.sec--sched { padding-top: calc(var(--sec) - 16px); }
.sched { padding: 22px 0 18px; border-radius: var(--r-xl); }
.sched > * { padding-left: 16px; padding-right: 16px; }
.sched__head { display: grid; gap: 16px; }
.sched__head .lead { margin-top: 10px; font-size: 16px; }
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
/* чипы-фильтры — маленькие тактильные тумблеры: включённый «утоплен» и подсвечен */
.fchip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px 6px 11px; text-align: left; line-height: 1.15; border-radius: var(--r-chip); border: 0; cursor: pointer; font-weight: 800; font-size: 14.5px;
  background: rgba(11, 18, 48, .6); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .5), 0 3px 0 rgba(147, 228, 226, .22);
  transition: transform .14s var(--ease-out), box-shadow .2s, background-color .2s; -webkit-tap-highlight-color: transparent; }
.fchip:active { transform: translateY(2px); }
.fchip i { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--teal); transition: all .25s; }
.fchip[aria-pressed="true"] { transform: translateY(2px); background: rgba(147, 228, 226, .18); box-shadow: inset 0 0 0 2px var(--teal), 0 1px 0 rgba(147, 228, 226, .35), 0 0 22px rgba(147, 228, 226, .25); }
.fchip[aria-pressed="true"] i { background: var(--teal); box-shadow: inset 0 0 0 4px var(--space), 0 0 0 2px var(--teal); }

.dates-wrap { position: relative; margin-top: 18px; padding: 0 !important; }
.dates { display: flex; gap: 8px; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); scroll-snap-type: x proximity; padding: 12px 16px 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.dates::-webkit-scrollbar { display: none; }
.dpill { position: relative; flex: none; scroll-snap-align: center; width: 64px; min-height: 86px; padding: 10px 4px 10px; border-radius: var(--r-key); border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: linear-gradient(180deg, rgba(48, 78, 146, .55), rgba(37, 63, 122, .4)); box-shadow: inset 0 0 0 1px rgba(147, 228, 226, .25), 0 3px 0 rgba(4, 8, 26, .7);
  transition: background-color .25s, box-shadow .25s, transform .2s var(--ease-out), opacity .25s; -webkit-tap-highlight-color: transparent; }
.dpill:hover { box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .7), 0 3px 0 rgba(4, 8, 26, .7); }
.dpill:active { transform: translateY(2px); }
.dpill__w { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--snow-60); }
.dpill__d { font: 800 22px/1 var(--f-head); }
.dpill__m { font-size: 12px; color: var(--snow-60); }
.dpill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); margin-top: 2px; }
.dpill__dot--few { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dpill__dot--none { background: rgba(246, 250, 255, .3); box-shadow: none; }
.dpill__star { position: absolute; top: 5px; right: 6px; width: 11px; height: 11px; fill: var(--gold); filter: drop-shadow(0 0 4px rgba(253, 233, 170, .9)); }
.dpill.is-active { background: linear-gradient(180deg, #FFF8E0, var(--gold) 60%, #F3D88E); box-shadow: 0 4px 0 var(--cream-base), 0 0 26px rgba(253, 233, 170, .45); transform: translateY(-3px); }
.dpill.is-active .dpill__w, .dpill.is-active .dpill__m { color: rgba(11, 18, 48, .72); }
.dpill.is-active .dpill__d { color: var(--space); }
.dpill.is-active .dpill__star { fill: var(--red); filter: none; }
.dpill.is-off { cursor: default; background: transparent; box-shadow: inset 0 0 0 1px rgba(246, 250, 255, .2); opacity: .85; transform: none; }
.dpill.is-off .dpill__d { color: var(--snow-60); }
.dpill__offl { font-family: var(--f-hand); font-size: 15px; line-height: 1; color: var(--gold); }
.dpill.is-filtered { display: none; }
.dsep { flex: none; align-self: stretch; display: flex; align-items: center; padding: 0 2px; }
.dsep span { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 10px/1 var(--f-text); letter-spacing: .2em; color: var(--teal); opacity: .8; }
.dates__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 2px; font-size: 13px; color: var(--snow-60); }
.dates__legend .hand { font-size: 19px; }
.lg { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.lg--open { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.lg--prem { width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 61% 38%, 100% 38%, 69% 61%, 80% 100%, 50% 76%, 20% 100%, 31% 61%, 0 38%, 39% 38%); border-radius: 0; }

.day { margin-top: 18px; }
.day__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.day__t { font: 800 19px/1.2 var(--f-head); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-tag); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge--prem { background: var(--gold); color: var(--space); box-shadow: 0 0 16px rgba(253, 233, 170, .45); }
.badge--few { background: var(--red); color: #fff; }
.badge--muted { background: rgba(11, 18, 48, .12); color: rgba(11, 18, 48, .7); }
.lastyear { flex-basis: 100%; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-s);
  background: linear-gradient(90deg, rgba(253, 233, 170, .16), rgba(253, 233, 170, .04)); box-shadow: inset 0 0 0 1px rgba(253, 233, 170, .45); }
.lastyear svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.lastyear b { display: block; color: var(--gold); font-size: 15.5px; }
.lastyear span { display: block; font-size: 14px; color: var(--snow-80); }

.passes { display: grid; gap: 16px; }
/* ---- посадочный талон: основная часть + отрывной корешок с перфорацией и вырезами ---- */
.pass { position: relative; display: grid; cursor: pointer; -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 14px 22px rgba(5, 9, 28, .5)); transition: transform .35s var(--ease-out), filter .35s; }
.pass__main, .pass__stub { position: relative; color: var(--space); }
.pass__main { padding: 14px 16px 14px; border-radius: var(--r-paper) var(--r-paper) 0 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .55), transparent 55%), linear-gradient(170deg, #FFF7DA, var(--gold) 80%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85);
  -webkit-mask: radial-gradient(circle 11px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
.pass__stub { padding: 14px 16px 16px; border-radius: 0 0 var(--r-paper) var(--r-paper);
  background: linear-gradient(90deg, rgba(37, 63, 122, .42) 50%, transparent 0) 14px 0 / 10px 2px repeat-x, linear-gradient(170deg, var(--gold), #F5DA92);
  -webkit-mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; }
.pass__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(11, 18, 48, .62); }
.pass__top b { color: var(--blue); letter-spacing: .08em; }
.pass__check { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(11, 18, 48, .3); transition: background-color .25s, box-shadow .25s, transform .35s var(--ease-out); }
.pass__check svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease-out); }
.pass__route { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pass__route i { flex: 1; height: 0; border-top: 1.5px dashed rgba(37, 63, 122, .45); }
.pass__route svg { width: 26px; height: 16px; flex: none; }
.pass__row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.pass__time { font: 800 44px/.95 var(--f-head); letter-spacing: -.03em; color: var(--space); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.pass__lbl { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14.5px; line-height: 1.25; color: var(--blue); font-weight: 600; }
.pass__lbl b { font-size: 16px; color: var(--teal-ink); font-weight: 800; }
.pass__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pass__f { display: grid; grid-template-columns: .95fr 1.25fr .8fr; gap: 8px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(37, 63, 122, .18); }
.pass__f dt { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 18, 48, .58); }
.pass__f dd { margin: 3px 0 0; font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.pass__pay { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pass__price { display: flex; flex-direction: column; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.pass__price span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 18, 48, .58); }
.barcode { display: block; height: 30px; width: 84px; flex: none; color: rgba(11, 18, 48, .78);
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 3px, currentColor 3px 4px, transparent 4px 7px, currentColor 7px 10px, transparent 10px 11px, currentColor 11px 12px, transparent 12px 15px); }
.pass__stub .btn { margin-top: 12px; }
/* выбранный талон: золотой rim-light по контуру (вместе с вырезами), галочка, красная кнопка */
.pass.is-sel { filter: drop-shadow(0 14px 22px rgba(5, 9, 28, .5)) drop-shadow(0 0 1.5px #FFF8E1) drop-shadow(0 0 16px rgba(253, 233, 170, .6)); transform: translateY(-3px); }
.pass.is-sel .pass__check { background: var(--space); box-shadow: none; transform: scale(1.08); }
.pass.is-sel .pass__check svg { opacity: 1; transform: none; }
.pass:not(.is-sel):not(.pass--off):hover { transform: translateY(-2px); }
.pass.is-few .pass__price b { color: var(--red); }
.pass.is-few.is-sel .btn--red { animation: pulse 1.1s ease-out 1 .3s; }
@keyframes pulse { 0% { box-shadow: 0 4px 0 var(--red-base), 0 0 0 0 rgba(208, 50, 36, .6); } 100% { box-shadow: 0 4px 0 var(--red-base), 0 0 0 16px rgba(208, 50, 36, 0); } }
.pass--off { cursor: default; }
.pass--off .pass__main, .pass--off .pass__stub { background-color: #D9D2B8; background-image: none; }
.pass--off .pass__stub { background-image: linear-gradient(90deg, rgba(37, 63, 122, .3) 50%, transparent 0); background-position: 14px 0; background-size: 10px 2px; background-repeat: repeat-x; }
.pass--off .pass__time, .pass--off .pass__lbl { color: rgba(11, 18, 48, .55); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-tag); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag--prem { background: var(--blue); color: var(--gold); }
.tag--last { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.tag--few { background: var(--red); color: #fff; }
.tag--state { background: rgba(37, 63, 122, .15); color: var(--blue); }
.sessions__empty { padding: 26px 18px; border-radius: var(--r-s); text-align: center; color: var(--snow-80); box-shadow: inset 0 0 0 1px rgba(147, 228, 226, .25); }
.sessions__empty .hand { display: block; font-size: 24px; margin-bottom: 6px; }
.sessions__empty button { margin-top: 12px; }
.arrive { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 18px 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(253, 233, 170, .18), rgba(253, 233, 170, .05)); border: 1px solid rgba(253, 233, 170, .45);
  font-size: 16px; line-height: 1.35; color: var(--snow); }
.arrive b { color: var(--gold); }
.arrive svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
@media (max-width: 520px) { .arrive { display: flex; font-size: 15px; } }
.sched__note { display: flex; gap: 10px; margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--snow-60); }
.sched__note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }

.groupcard { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 16px; padding: 18px 16px; border-radius: var(--r); }
.groupcard__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(147, 228, 226, .1); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .4); }
.groupcard__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.groupcard__t { font: 800 18px/1.2 var(--f-head); color: var(--gold); }
.groupcard__d { margin-top: 4px; font-size: 15.5px; line-height: 1.4; color: var(--snow-80); }
.groupcard__btn { grid-column: 1 / -1; width: 100%; }
.groupcard__btn.is-copied { background: linear-gradient(180deg, #F1FFF6, #BFF0D4 60%, #9FE3BE); }
.groupcard__btn.is-copied::after { content: " ✓"; }
.groupcard__btn.is-copied { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; line-height: 1.25; text-align: center; }
@media (min-width: 768px) {
  .groupcard { grid-template-columns: auto 1fr auto; gap: 20px; padding: 20px 28px; }
  .groupcard__t { font-size: 21px; }
  .groupcard__btn { grid-column: auto; width: auto; }
}

/* ==========================================================================
   МИР СПЕКТАКЛЯ
   ========================================================================== */
.frame { width: 76vw; max-width: 300px; margin: 0; text-align: center; }
.frame .porthole { max-width: none; }
.frame__n { display: inline-block; margin-top: 14px; font: 800 12px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.frame__t { margin-top: 6px; font: 800 16px/1.3 var(--f-head); }
.frame__note { display: block; margin-top: 5px; font: 700 14.5px/1.3 var(--f-head); color: var(--teal); }
.pano { position: relative; margin: 30px 0 0; }
.pano::before { content: ""; position: absolute; inset: -6% -16px; pointer-events: none;
  background: radial-gradient(46% 40% at 30% 42%, rgba(147, 228, 226, .16), transparent 70%), radial-gradient(50% 44% at 72% 60%, rgba(253, 233, 170, .14), transparent 70%); }
.pano__svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.pano__cap { position: relative; margin-top: 8px; text-align: center; font: 700 16px/1.3 var(--f-head); color: var(--gold); }
.chain-dot { opacity: .16; transition: opacity .35s; }
.pano.is-lit .chain-dot { animation: ignite .5s forwards; animation-delay: calc(var(--d) * 45ms); }
@keyframes ignite { to { opacity: 1; } }
.chain-pl { opacity: .32; transform: scale(.8); transform-box: fill-box; transform-origin: center; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.pano.is-lit .chain-pl { opacity: 1; transform: none; transition-delay: calc(var(--d) * 45ms); }
/* финал: цепь зажигается синхронно со скроллом (JS ставит .on) */
.final .chain-dot.on { opacity: 1; }
.final .chain-pl.on { opacity: 1; transform: none; }

.subscribe { margin-top: 16px; padding: 22px 18px; display: grid; gap: 16px; }
.subscribe__t { font: 800 19px/1.3 var(--f-head); color: var(--gold); }
.subscribe__d { margin-top: 6px; color: var(--snow-80); font-size: 15px; }
.subscribe__form { display: grid; gap: 10px; }
.subscribe__form input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: var(--r-key); border: 0; font: 500 16px var(--f-text); color: var(--snow);
  background: rgba(5, 9, 28, .55); box-shadow: inset 0 0 0 1.5px rgba(147, 228, 226, .4); }
.subscribe__form input::placeholder { color: rgba(246, 250, 255, .5); }
.subscribe__form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal), 0 0 20px rgba(147, 228, 226, .25); }
.subscribe__form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF8A7E; }
.subscribe__msg { min-height: 1.2em; font-size: 14px; color: var(--snow-80); }
.subscribe__msg.is-ok { font-family: var(--f-hand); font-size: 22px; color: var(--gold); }
.subscribe__msg.is-err { color: #FFB3AA; }

/* ==========================================================================
   РОДИТЕЛЯМ
   ========================================================================== */
.parents { display: grid; gap: 18px; }
.plist { display: grid; gap: 10px; }
.pitem { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-s); }
.pitem .ico { width: 26px; height: 26px; margin-top: 2px; filter: drop-shadow(0 0 6px rgba(147, 228, 226, .35)); }
.pitem b { display: block; font-size: 16px; line-height: 1.35; color: var(--gold); }
.pitem span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.5; color: var(--snow-80); }
.parents__side { display: grid; gap: 14px; align-content: start; }
.map { overflow: hidden; padding: 0; }
.map__frame { position: relative; height: 300px; background: #1B2340; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* пока карта не активирована, палец и колесо крутят страницу, а не карту */
.map__guard { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 46px; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.map__guard span { padding: 7px 12px; border-radius: var(--r-chip); background: rgba(11, 18, 48, .82); color: var(--snow); font: 700 13.5px/1.2 var(--f-text); opacity: 0; transition: opacity .25s; }
.map__guard:hover span, .map__guard:focus-visible span { opacity: 1; }
@media (hover: none) { .map__guard span { opacity: 1; } }
.map__guard.is-off { display: none; }
.map__foot { padding: 14px 14px 16px; }
.map__addr b { display: block; font: 800 16px/1.25 var(--f-head); color: var(--gold); }
.map__addr span { display: block; margin-top: 3px; font-size: 15px; color: var(--snow-80); }
.map__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.map__acts .btn { padding: 0 10px; }
.photo { margin: 0; overflow: hidden; }
.photo__art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.photo__art > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { padding: 14px 18px 16px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.photo figcaption b { font-size: 16px; }
.photo figcaption .hand { font-size: 21px; }

/* ==========================================================================
   ПИСЬМА ДЕДУ МОРОЗУ
   ========================================================================== */
.letters { display: grid; gap: 22px; padding: 10px 4px 0; }
.letter { position: relative; padding: 30px 22px 20px; border-radius: 4px 4px 8px 8px; color: #2B2116;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .55), transparent 55%),
    radial-gradient(90% 60% at 100% 100%, rgba(186, 136, 60, .28), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(150, 110, 50, .14) 31px 32px),
    linear-gradient(170deg, #FFF3CC, var(--gold) 55%, #F0D58E);
  box-shadow: 0 24px 50px rgba(5, 9, 28, .55), 0 0 40px rgba(253, 233, 170, .18), inset 0 0 30px rgba(160, 110, 40, .2);
  transform: rotate(-1.2deg); }
.letter:nth-child(2) { transform: rotate(1deg); }
.letter:nth-child(3) { transform: rotate(-.6deg); }
/* клапан конверта */
.letter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; border-radius: 4px 4px 0 0;
  background: linear-gradient(175deg, rgba(160, 115, 50, .18), transparent 70%);
  clip-path: polygon(0 0, 100% 0, 50% 100%); }
.seal { position: absolute; right: 16px; top: -18px; width: 66px; height: 66px; filter: drop-shadow(0 6px 10px rgba(80, 10, 5, .45)); transform: rotate(12deg); }
.letter__to { font-family: var(--f-hand); font-size: 20px; color: #7A5A2A; }
.letter__t { margin-top: 2px; font: 800 21px/1.2 var(--f-head); color: #1A2350; }
.letter__d { margin-top: 10px; font-size: 16px; line-height: 1.55; color: #3A2E1F; }
.letter__sig { margin-top: 16px; padding-top: 10px; border-top: 1px solid rgba(90, 60, 20, .3); text-align: right; font-family: var(--f-hand); font-size: 22px; color: #5A3E16; }
.why__after { margin-top: 26px; text-align: center; font-size: 14px; color: var(--snow-60); }

/* ==========================================================================
   ФИНАЛ + ФУТЕР
   ========================================================================== */
.final { position: relative; padding: 70px 0 80px; text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 40%, rgba(253, 233, 170, .14), transparent 70%), radial-gradient(50% 30% at 50% 70%, rgba(147, 228, 226, .08), transparent 70%); }
.final__chain { position: relative; margin: 0 auto 34px; padding: 0 var(--gutter); max-width: 780px; }
/* цепь замкнулась — вспышка по кругу */
.final__chain::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(92%, 600px); aspect-ratio: 640 / 340; transform: translate(-50%, -50%) scale(.7); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(253, 233, 170, .35), rgba(253, 233, 170, 0)); opacity: 0; }
.final.is-closed .final__chain::after { animation: chainFlash 1.6s var(--ease-out) forwards; }
@keyframes chainFlash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 25% { opacity: 1; } 100% { opacity: .35; transform: translate(-50%, -50%) scale(1.08); } }
.final.is-closed .chain-pl.on { animation: plPop .9s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes plPop { 40% { transform: scale(1.25); } 100% { transform: none; } }
.final__in { position: relative; }
.final__h { max-width: 820px; margin: 0 auto; font-size: 27px; }
.final__meta { margin-top: 14px; color: var(--snow-80); font-size: 15.5px; }
/* «Цепь огней замкнута» загорается в момент замыкания */
html.js .final:not(.is-closed) .eyebrow--c.rv.is-in { opacity: .35; }
.final .eyebrow--c { transition: opacity .8s; }
.final__quip { display: inline-block; margin-top: 24px; font-size: 28px; }
.cd--final { margin: 22px auto 0; }
.final__cta { display: grid; gap: 10px; margin: 22px auto 0; max-width: 420px; }

.ftr { position: relative; padding: 48px 0 calc(110px + var(--safe-b)); background: linear-gradient(180deg, transparent, #060A1E 40%); color: var(--snow-60); font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.ftr__brand { grid-column: 1 / -1; }
.ftr__brand p { margin-top: 10px; max-width: 40ch; }
.ftr__h { font: 800 12px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.ftr__grid a { display: flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--snow-80); }
.ftr__grid a:hover { color: var(--gold); }
.ftr__grid > div > p { line-height: 1.5; }
.ftr__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(147, 228, 226, .14); font-size: 13px; line-height: 1.6; }
.ftr__legal b { color: var(--snow-80); }

/* ==========================================================================
   МОДАЛКА = посадочный талон. Моб. — bottom sheet (лист-талон прирастает к низу),
   десктоп — талон по центру. Закрытие: свайп вниз, крестик, Esc, тап по фону.
   ========================================================================== */

/* ==========================================================================
   STICKY BOTTOM BAR (моб.)
   ========================================================================== */
.mbar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 11px 18px;
  border-radius: calc(var(--r-key-s) + 8px); background: rgba(15, 26, 66, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(5, 9, 28, .65), inset 0 0 0 1px rgba(253, 233, 170, .28);
  transform: translateY(calc(100% + 30px)); transition: transform .45s var(--ease-out); }
.mbar.is-vis { transform: none; }
.mbar__l { flex: 1; min-width: 0; }
.mbar__l span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.mbar__l b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .btn { padding: 0 24px; min-height: 48px; }

/* ==========================================================================
   РЕЖИССУРА СКРОЛЛА. Всё — только transform / opacity.
   Появление по IntersectionObserver (.is-in), у разных блоков разное:
   титры выезжают из-под маски по словам, карточки входят каскадом,
   иллюминаторы «раскрываются», письма ложатся на стол и получают сургуч.
   ========================================================================== */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .rv.is-in { opacity: 1; transform: none; }
/* после появления — обычные быстрые hover-переходы без задержки каскада */
.js .rv.is-done { transition: transform .35s var(--ease-out), box-shadow .35s, opacity .35s; }

/* титры H2: каждое слово выезжает снизу из-под невидимой кромки */
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .04em .16em 0; margin: -.1em -.04em -.16em 0; }
.h2 .w > span { display: inline-block; }
.h2 em.is-split { background: none; }
.h2 .w--em > span { background: linear-gradient(180deg, #FFF8E1 5%, var(--gold) 50%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .h2.rv.is-split { opacity: 1; transform: none; }
.js .h2.rv.is-split .w > span { transform: translate3d(0, 112%, 0); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--wi, 0) * 50ms + 60ms); }
.js .h2.rv.is-split.is-in .w > span { transform: none; }
/* надзаголовок: текст въезжает слева, золотая черта прочерчивается */
.js .eyebrow.rv { transform: translate3d(-16px, 0, 0); }
.js .eyebrow.rv span::after { transform: scaleX(0); transition: transform .9s .3s var(--ease-out); }
.js .eyebrow.rv.is-in span::after { transform: none; }
.js .lead.rv { transition-delay: .32s; }
/* карточки — каскадом, с лёгким «наездом» */
.js .fact.rv { transform: translate3d(0, 40px, 0) scale(.94); }
.js .callout.rv { transform: translate3d(36px, 0, 0); }
.js .pitem.rv { transform: translate3d(-28px, 0, 0); transition-delay: calc(var(--i, 0) * 70ms); }
.js .icard.rv, .js .char.rv { transform: translate3d(56px, 0, 0); transition-delay: calc(var(--i, 0) * 90ms); }
.js .vote.rv, .js .subscribe.rv, .js .map.rv, .js .photo.rv { transform: translate3d(0, 44px, 0) scale(.97); }
/* иллюминатор раскрывается: кольцо докручивается, кадр приближается */
.js .frame.rv .porthole__ring, .js .porthole--xl.rv .porthole__ring { transform: rotate(-70deg) scale(.86); transition: transform 1.3s var(--ease-out); transition-delay: inherit; }
.js .frame.rv .porthole__in, .js .porthole--xl.rv .porthole__in { transform: scale(.55); opacity: .2; transition: transform 1.1s var(--ease-out), opacity .9s; transition-delay: inherit; }
.js .frame.rv.is-in .porthole__ring, .js .porthole--xl.rv.is-in .porthole__ring { transform: none; }
.js .frame.rv.is-in .porthole__in, .js .porthole--xl.rv.is-in .porthole__in { transform: none; opacity: 1; }
.js .porthole--xl.rv { transform: scale(.92); }
/* письма ложатся на стол, затем — оттиск сургуча */
.js .letter.rv { transform: translate3d(0, -40px, 0) rotate(-9deg); transition-duration: 1s; }
.js .letter.rv.is-in { transform: rotate(-1.2deg); }
.js .letter.rv:nth-child(2) { transform: translate3d(0, -40px, 0) rotate(8deg); }
.js .letter.rv:nth-child(2).is-in { transform: rotate(1deg); }
.js .letter.rv:nth-child(3) { transform: translate3d(0, -40px, 0) rotate(-6deg); }
.js .letter.rv:nth-child(3).is-in { transform: rotate(-.6deg); }
.js .letter.rv .seal { opacity: 0; transform: scale(2.1) rotate(-20deg); transition: opacity .25s, transform .5s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--i, 0) * 90ms + .75s); }
.js .letter.rv.is-in .seal { opacity: 1; transform: rotate(12deg); }
/* рукописные реплики «пишутся» */
.js .hand.rv { transform: translate3d(0, 10px, 0) rotate(-6deg); transform-origin: 50% 60%; }
.js .hand.rv.is-in { transform: rotate(-2deg); }
/* талоны раздаются при показе дня */
.passes.is-deal > .pass { animation: dealIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes dealIn { from { opacity: 0; translate: 0 34px; rotate: -2deg; } }

/* Hero: «титры» на загрузке — строки выезжают из-под маски, кадр медленно наезжает */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .t-ln > span { animation: lineUp 1.15s var(--ease-out) both; }
  .js .hero .t-main .t-ln:nth-child(2) > span { animation-delay: .12s; }
  .js .hero .t-sub .t-ln > span { animation-delay: .32s; }
  .js .hero__chips, .js .hero__sub, .js .hero__meta, .js .hero__cta, .js .hero__more > .cd { animation: fadeUp .9s var(--ease-out) both; }
  .js .hero__chips { animation-delay: 0s; }
  .js .hero__sub { animation-delay: .5s; } .js .hero__meta { animation-delay: .6s; } .js .hero__cta { animation-delay: .7s; } .js .hero__more > .cd { animation-delay: .82s; }
  .js .hero__art { animation: dollyIn 2.4s var(--ease-out) both; }
  .js .hero__billing { animation: fadeUp 1s 1s var(--ease-out) both; }
}
@keyframes lineUp { from { transform: translate3d(0, 108%, 0); } }
@keyframes lineDraw { from { transform: scaleX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes quipIn { from { opacity: 0; transform: translate3d(-6px, 8px, 0) rotate(-9deg); } }
@keyframes dollyIn { from { opacity: 0; transform: scale(1.08); } }

/* Параллакс через CSS scroll-driven animations (Chrome 115+): класс .sda ставит JS после проверки */
@media (prefers-reduced-motion: no-preference) {
  .sda .plx--neb, .sda .plx--planet, .sda .plx--trail, .sda .plx--city, .sda .plx--ship, .sda .plx--img, .sda .plx--bokeh, .sda .hero .hero__in, .sda .hero__billing {
    animation-timing-function: linear; animation-fill-mode: both; animation-duration: 1ms; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .sda .plx--neb { animation-name: p-neb; } .sda .plx--planet { animation-name: p-planet; } .sda .plx--trail { animation-name: p-trail; }
  .sda .plx--city { animation-name: p-city; } .sda .plx--ship { animation-name: p-ship; } .sda .plx--img { animation-name: p-img; }
  .sda .plx--bokeh { animation-name: p-bokeh; } .sda .hero .hero__in { animation-name: p-copy; } .sda .hero__billing { animation-name: p-bill; }
  /* содержимое иллюминаторов и картинок карточек плывёт внутри рамки */
  .sda .porthole__in > .scn, .sda .porthole__in > img, .sda .porthole__in > .holo, .sda .icard__art > * {
    animation: p-view linear both; animation-timeline: view(); animation-range: cover; }
  .sda .story__ghost { animation: p-ghost linear both; animation-timeline: view(); animation-range: cover; }
}
@keyframes p-neb { to { transform: translate3d(0, 22%, 0) scale(1.1); } }
@keyframes p-planet { to { transform: translate3d(0, 30%, 0) scale(1.08); } }
@keyframes p-trail { to { transform: translate3d(0, 12%, 0); } }
@keyframes p-city { to { transform: translate3d(0, 16%, 0) scale(1.06); } }
@keyframes p-ship { to { transform: translate3d(14%, -16%, 0) scale(1.24); } }
@keyframes p-img { to { transform: translate3d(0, 9%, 0) scale(1.12); } }
@keyframes p-bokeh { to { transform: translate3d(0, -38%, 0); } }
@keyframes p-copy { to { transform: translate3d(0, -48px, 0); opacity: .3; } }
@keyframes p-bill { to { opacity: 0; } }
@keyframes p-view { from { transform: translate3d(0, 8%, 0) scale(1.14); } to { transform: translate3d(0, -8%, 0) scale(1.14); } }
@keyframes p-ghost { from { transform: translate3d(0, 70px, 0) rotate(-10deg); } to { transform: translate3d(0, -70px, 0) rotate(10deg); } }

/* ==========================================================================
   ≥ 400 px
   ========================================================================== */
@media (min-width: 400px) {
  .hide-xs, .hero__chips .hide-xs { display: inline-flex; }
  .hero__meta .hide-xs { display: inline; }
  .hero__h1 { font-size: 36px; }
}

/* ==========================================================================
   ≥ 600 px
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; }
  .final__cta { grid-template-columns: auto auto; justify-content: center; max-width: none; }
  .facts { gap: 16px; }
  .filters { display: flex; flex-wrap: wrap; }
  .vote__acts { grid-template-columns: auto auto; justify-content: start; }
  .vbtn { padding: 0 28px; }
  .subscribe__form { grid-template-columns: 1fr auto; }
  .subscribe__msg { grid-column: 1 / -1; }
  .letters { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   ≥ 768 px — планшет
   ========================================================================== */
@media (min-width: 768px) {
  :root { --sec: 96px; --hdr: 68px; }
  .h2 { font-size: 38px; line-height: 1.1; }
  .nw { white-space: nowrap; }
  .eyebrow { font-size: 13px; }
  .hero__h1 { font-size: 54px; }
  .t-sub { font-size: 24px; }
  .hero__sub { font-size: 18px; max-width: 54ch; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .cd__u b { font-size: 40px; }
  .sched { padding: 34px 0 26px; }
  .sched > * { padding-left: 28px; padding-right: 28px; }
  .dates { padding: 12px 28px; }
  .route { --pl: 120px; max-width: 640px; margin: 0 auto; }
  .route__list { gap: 40px; }
  .stop { gap: 28px; }
  .stop__body { padding-top: 22px; }
  .rail--deck { --cw: 300px; }
  .icard { width: 320px; }
  .frame { width: 300px; }
  .vote { grid-template-columns: auto 1fr; align-items: center; gap: 20px 24px; padding: 24px 28px; }
  .vote__acts { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; }
  .vote__res { grid-column: auto; }
  .parents { grid-template-columns: 1fr 1fr; align-items: start; }
  .final__h { font-size: 42px; }
  .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .ftr__brand { grid-column: auto; }
  .ftr { padding-bottom: 48px; }
  .mbar { left: auto; right: 16px; width: 380px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* талон горизонтально: корешок справа, перфорация вертикальная */
  .pass { grid-template-columns: 1fr 236px; }
  .pass__main { padding: 18px 22px; border-radius: var(--r-paper) 0 0 var(--r-paper);
    -webkit-mask: radial-gradient(circle 11px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle 11px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
  .pass__stub { padding: 18px 20px; border-radius: 0 var(--r-paper) var(--r-paper) 0; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(180deg, rgba(37, 63, 122, .42) 50%, transparent 0) 0 14px / 2px 10px repeat-y, linear-gradient(170deg, var(--gold), #F5DA92);
    -webkit-mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
  .pass--off .pass__stub { background-image: linear-gradient(180deg, rgba(37, 63, 122, .3) 50%, transparent 0); background-position: 0 14px; background-size: 2px 10px; background-repeat: repeat-y; }
  .pass__time { font-size: 54px; }
  .pass__row { gap: 20px; }
  .pass .barcode { width: 64px; }
}

/* ==========================================================================
   ≥ 1024 px — десктоп
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --sec: 104px; --hdr: 76px; --gutter: 32px; }
  .only-d { display: inline; }
  .only-m { display: none; }
  .burger { display: none; }
  .nav { display: flex; gap: 4px; margin-right: 8px; }
  .nav a { white-space: nowrap; padding: 10px 12px; min-height: 44px; display: flex; align-items: center; border-radius: var(--r-chip); text-decoration: none; font-size: 15px; font-weight: 700; color: var(--snow-80); transition: color .2s, background-color .2s; }
  .nav a:hover { color: var(--gold); background: rgba(253, 233, 170, .06); }
  .nav a.is-cur { color: var(--gold); }
  .hdr__phone { display: flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--snow); white-space: nowrap; }
  .logo { margin-right: 18px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__t { font-size: 17px; }
  .btn--hdr { padding: 0 22px; }
  /* правило красного: красной клавиша в хедере становится, только когда она одна в кадре */
  .btn--hdr.is-hot { --base: var(--red-base); color: #fff; background: linear-gradient(180deg, #E24A3A, var(--red) 55%, #C42C1F); text-shadow: 0 1px 0 rgba(120, 20, 10, .45);
    box-shadow: 0 3px 0 var(--base), 0 10px 22px -8px rgba(208, 50, 36, .6); }
  .btn--hdr.is-hot:hover { box-shadow: 0 3px 0 var(--base), 0 0 0 3px rgba(253, 233, 170, .35), 0 0 28px rgba(253, 233, 170, .45); }
  .mbar { display: none; }
  .h2 { font-size: 46px; line-height: 1.07; letter-spacing: -.02em; }
  .lead { font-size: 18px; }

  /* Hero: full-bleed 16:9, текст слева */
  .hero { min-height: max(700px, min(100vh, 980px)); display: flex; flex-direction: column; padding-top: calc(var(--hdr) + 56px); }
  .hero::after { display: none; }
  .hero__art { inset: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
  .hero__neb { inset: 0; background: radial-gradient(35% 45% at 78% 52%, rgba(253, 233, 170, .3), transparent 70%), radial-gradient(40% 40% at 60% 90%, rgba(147, 228, 226, .22), transparent 70%); }
  .hero__planet { width: 340px; max-width: none; right: 1%; top: 7%; }
  .hero__city { width: 250px; max-width: none; left: auto; right: 15%; bottom: 33%; transform: none; }
  .hero__ship { width: 560px; max-width: none; left: auto; right: 3%; bottom: 7%; transform: rotate(-9deg); }
  .hero__hull { height: 110px; }
  .hero__shade { background:
      linear-gradient(90deg, rgba(11, 18, 48, .92) 0%, rgba(11, 18, 48, .7) 32%, rgba(11, 18, 48, 0) 58%),
      linear-gradient(180deg, rgba(11, 18, 48, .6) 0%, transparent 22%, transparent 82%, var(--space) 100%); }
  .hero__img { object-position: 20% 10%; } /* широкий экран обрезает кадр по высоте: держим верх, где голова Деда Мороза */
  .hero__in { flex: 1; display: flex; align-items: center; }
  .hero__h1 { font-size: clamp(50px, 4.6vw, 68px); line-height: 1.02; }
  .hero__copy { max-width: 640px; }
  .t-sub { font-size: clamp(22px, 2vw, 28px); margin-top: 16px; }
  .t-sub i { flex-basis: 44px; }
  .hero__sub { margin-top: 20px; }
  .hero__meta { margin-top: 16px; font-size: 16px; }
  .hero__meta b { display: inline; }
  .hero__meta b::after { content: " · "; color: var(--teal); font-weight: 400; }
  .hero__cta { margin-top: 28px; gap: 14px; }
  .hero__cta .btn { min-height: 56px; padding: 0 32px; font-size: 17px; }
  .cd { margin-top: 28px; padding: 18px 20px 14px; }
  .cd__u b { font-size: 48px; }
  .hero__billing { display: flex; flex-wrap: wrap; gap: 8px 36px; position: relative; z-index: 2; padding-top: 30px; padding-bottom: 44px;
    font: 700 11.5px/1.4 var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--snow-60); }
  .hero__billing b { color: var(--gold); font-weight: 700; }
  .bokeh i:nth-child(1) { width: 120px; height: 120px; left: 46%; top: auto; bottom: 6%; filter: blur(5px); }
  .bokeh i:nth-child(3) { width: 180px; height: 180px; right: -50px; bottom: 30%; filter: blur(6px); }
  .bokeh i:nth-child(5) { width: 70px; height: 70px; left: 3%; bottom: 22%; }

  .sec--facts { padding-top: 64px; }
  .fact { padding: 28px 20px 26px; }
  .fact .ico { width: 64px; height: 64px; }
  .fact__t { font-size: 24px; }
  .fact p { font-size: 15.5px; }

  .story { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .story__ghost { width: 760px; right: -200px; top: -120px; }
  .story__text { padding: 24px 26px; }
  .porthole--xl { max-width: 380px; }

  .rail { padding-left: max(var(--gutter), calc((100vw - 1200px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1200px) / 2)); scroll-padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2)); gap: 20px; }
  .arrows { display: flex; }
  .rail--inter { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 30px var(--gutter) 0; }
  .rail--inter .icard { width: auto; max-width: none; }
  .rail-ctrl--m { display: none; }
  .rail--world { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; overflow: visible; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 10px var(--gutter) 0; }
  .rail--world .frame { width: auto; max-width: none; }
  .rail--world .porthole { max-width: 300px; margin: 0 auto; }
  .rail--deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; overflow: visible; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 16px var(--gutter) 0; }
  .rail--deck .char { width: auto; transform: none !important; }
  .rail--deck .char:nth-child(even) { margin-top: 40px; }
  .rail-ctrl--deck { display: none; }
  .char__name { font-size: 25px; }

  /* Маршрут: горизонтальная траектория на десктопе */
  .route { --pl: 120px; padding-top: 10px; max-width: none; }
  .route__line { left: 10%; right: 10%; top: calc(10px + var(--pl) / 2); bottom: auto; width: auto; height: 2px; }
  .route__fill { transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(253, 233, 170, .4), var(--gold)); }
  .route__comet { left: 0; top: 50%; }
  .stop:not(.is-on) .stop__body { transform: translate3d(0, 10px, 0); }
  .route__list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stop { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; }
  .stop__body { padding-top: 6px; }
  .stop__t { font-size: 17px; }
  .stop__d { font-size: 14px; }
  .stop__tag { font-size: 12.5px; padding: 7px 12px; text-align: left; }
  .route { --pl: 150px; }
  .route__list { gap: 20px; }
  .stop__t { font-size: 20px; }
  .stop__d { font-size: 15px; }
  .stop__tag { font-size: 13.5px; }

  .vote { margin-top: 28px; grid-template-columns: auto 1fr auto; }
  .vote__acts { grid-column: auto; grid-template-columns: auto auto; }
  .vote__res { grid-column: 1 / -1; }
  .sched { padding: 44px 0 30px; }
  .sched > * { padding-left: 44px; padding-right: 44px; }
  .dates { padding: 12px 44px; justify-content: flex-start; }
  .sched__head { grid-template-columns: 1fr auto; align-items: end; }
  .passes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .pass { grid-template-rows: 1fr auto; }
  .pass__time { font-size: 50px; }


  .pano { margin-top: 56px; }
  .pano__cap { font-size: 19px; }
  .subscribe { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 26px 32px; margin-top: 20px; }

  .parents { grid-template-columns: 1.05fr 1fr; gap: 24px; }
  .plist { grid-template-columns: 1fr; }
  .map { min-height: 400px; }

  .letters { grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 20px; }
  .letter { padding: 36px 28px 24px; }

  .final { padding: 100px 0 120px; }
  .final__h { font-size: 56px; line-height: 1.06; }
  .ftr { padding-top: 64px; }
}

@media (min-width: 1280px) {
  .nav a { padding: 10px 14px; }
}

/* ---------- тач-устройства: убрать hover-подъёмы ---------- */
@media (hover: none) {
  .fact:hover, .char:hover, .pass:not(.is-sel):hover { transform: none; }
}

/* ---------- уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__set + .marquee__set { display: none; }
  .marquee__set { flex-wrap: wrap; justify-content: center; }
  .bokeh, .hero__ship { animation: none; }
  .js .rv { opacity: 1; transform: none; }
  .lightline__label, .lnode::before, .lnode::after { display: none; }
}

/* иконки в ярлыках маршрута */
.tag-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag-ico * { vector-effect: non-scaling-stroke; }
.tag-ico .fl { fill: currentColor; stroke: none; }

/* компактный хедер на узких экранах и на 1024–1279 */
@media (max-width: 379px) {
  .cd__cap { letter-spacing: .1em; }
  .t-sub { letter-spacing: .07em; }
  .hdr__in { gap: 6px; }
  .logo { gap: 6px; }
  .logo__mark { width: 24px; height: 24px; }
  .logo__t { font-size: 13.5px; }
  .btn--hdr { padding: 0 12px; font-size: 14px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hdr__phone { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 10px 9px; font-size: 14.5px; }
  .logo { margin-right: 10px; }
}
@media (max-width: 339px) { .logo__mark { display: none; } }

/* модалка ≥ 768: талон по центру */
@media (min-width: 768px) {
}

/* ---------- первый экран на телефоне ----------
   Герои видны сразу: первый экран равен видимой высоте окна (svh — с панелями браузера),
   сверху название и дата, снизу кнопка. Описание и countdown идут сразу под ним. */
:root { --vh100: 100vh; }
@supports (height: 100svh) { :root { --vh100: 100svh; } }
@media (min-width: 768px), (orientation: landscape) {
  .hero__copy { display: flex; flex-direction: column; }
  .hero__first, .hero__more { display: contents; }
  .hero__chips { order: 1; } .hero__h1 { order: 2; }  .hero__chips { order: 1; } .hero__h1 { order: 2; } .hero__sub { order: 4; }
  .hero__meta { order: 5; } .hero__cta { order: 6; } .hero__copy .cd { order: 7; }
}
@media (max-width: 767px) and (orientation: portrait) {
  .hero { --hh: min(max(125vw, calc(var(--vh100) - 190px)), 150vw); padding-bottom: 8px; }
  .hero::after { display: none; }
  .hero__art { top: calc(var(--vh100) * .75 + 180px + var(--art-shift, 0px) - var(--hh)); bottom: auto; height: var(--hh);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 88%, transparent 100%); }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 18, 48, .75) 0%, rgba(11, 18, 48, 0) 34%, rgba(11, 18, 48, 0) 70%, rgba(11, 18, 48, .55) 88%, var(--space) 100%); }
  .hero__first { display: flex; flex-direction: column; min-height: calc(var(--vh100) - var(--hdr) - var(--safe-t) - 32px); }
  .hero__meta { text-shadow: 0 1px 10px rgba(11, 18, 48, .9); }
  .hero__addr { display: none; }
  .hero__cta { margin-top: auto; padding-top: 16px; }
  .hero__cta .btn--ghost { display: none; }
  .hero__more { padding-top: 34px; }
  .hero__more .hero__sub { margin-top: 0; }
  /* текст под первым экраном читают при скролле — он не должен гаснуть вместе с параллаксом */
  .hero .hero__in { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 767px) and (orientation: portrait) and (max-height: 759px) {
  .hero { --art-shift: 38px; }
}
@media (max-width: 379px) and (orientation: portrait) {
  .hero__chips .hide-xs { display: none; }
}
@media (max-width: 339px) and (orientation: portrait) {
  .hero__h1 { font-size: 29px; }
}
/* планшет: кадр стоит ниже текста, чтобы countdown не закрывал лица */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero::after { height: 560px; }
  .hero__copy .hero__sub { max-width: none; }
  .hero__art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%); mask-image: linear-gradient(180deg, transparent 0, #000 12%); }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 18, 48, 0) 0%, rgba(11, 18, 48, 0) 82%, var(--space) 100%); }
}

/* ---------- заголовок и подсказка: блок 1 из v1b ---------- */
.hero__billing .hero__hint { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 24px; letter-spacing: 0; text-transform: none; }
.hero__hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 600px) { .t-sub { font-size: 44px; } }
@media (min-width: 768px) { .t-sub { font-size: 56px; } }
@media (min-width: 1024px) { .t-sub { font-size: clamp(56px, 4.6vw, 70px); margin-top: 8px; } }
@media (max-width: 379px) { .t-sub { font-size: 36px; } }
@media (prefers-reduced-motion: reduce) { .pano .chain-dot, .pano .chain-pl { opacity: 1; transform: none; animation: none; } }
/* кольца планет заходят за текст маршрута, а не поверх него */
.stop__body { position: relative; z-index: 1; }
.stop { column-gap: 24px; }

/* ---------- финал: орбита планет ---------- */
.orbit { position: relative; width: 100%; aspect-ratio: 640 / 340; }
.orbit__ring { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; overflow: visible; }
.orbit__pl { position: absolute; left: 0; top: 0; width: 42%; aspect-ratio: 1; margin: -21% 0 0 -21%; will-change: transform; }
.orbit__pl img { display: block; width: 100%; height: 100%; }
.orbit__star { position: absolute; z-index: 3; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; opacity: .3; transform: scale(.6); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.orbit__star::before { content: ""; position: absolute; inset: -130%; border-radius: 50%; background: radial-gradient(closest-side, rgba(253, 233, 170, .5), rgba(147, 228, 226, .12) 55%, transparent); }
.orbit__star svg { position: relative; display: block; width: 100%; height: 100%; fill: #FFF3CF; }
.final.is-closed .orbit__star { opacity: 1; transform: none; }
.final.is-closed .orbit__star svg { animation: starBreath 4s ease-in-out infinite; }
@keyframes starBreath { 50% { transform: scale(1.14) rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .final.is-closed .orbit__star svg { animation: none; } }

/* ---------- телефон: дорогое размытие за карточками не даёт видимой разницы на звёздах, но тормозит скролл ---------- */
@media (max-width: 1023px) {
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13, 21, 58, .9); }
  .hdr.is-stuck { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(30, 50, 104, .97); }
  .mbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15, 26, 66, .98); }
  .bokeh i { filter: none !important; }
}
.vote__res:empty { display: none; }

/* маршрут на ПК: плашки заданий стоят на одной линии, сколько бы ни было текста выше */
@media (min-width: 1024px) {
  .stop { grid-template-rows: auto 1fr; align-content: stretch; }
  .stop__body { display: flex; flex-direction: column; align-items: center; height: 100%; }
  .stop__d { flex: 1; }
  .stop__tag { min-height: 60px; margin-top: 14px; }
  .stop__pirates { position: absolute; left: -10px; right: -10px; top: 100%; margin-top: 10px; transform: rotate(-2deg); transform-origin: center; }
  .route__done { margin-top: 72px; }
}

/* подчёркивание текущего раздела в меню */
.nav { position: relative; }
.nav__ind { position: absolute; left: 0; bottom: 5px; width: 1px; height: 2px; background: var(--gold); box-shadow: 0 0 8px rgba(253, 233, 170, .7); opacity: 0; transform-origin: 0 50%; pointer-events: none; transition: transform .5s var(--ease-out), opacity .3s; }

/* заставка перехода: только opacity и transform */
section[tabindex="-1"]:focus { outline: none; }
.warp { position: fixed; inset: 0; z-index: 47; display: grid; place-items: center; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden;
  background: radial-gradient(70% 55% at 50% 50%, #27407F, #0B1230 72%); transition: opacity .42s var(--ease-out), visibility 0s .42s; }
.warp.is-in { opacity: 1; visibility: visible; transition: opacity .2s ease-in; }
.warp__rays { position: absolute; left: 50%; top: 50%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax;
  background: repeating-conic-gradient(rgba(253, 233, 170, .2) 0 .7deg, transparent .7deg 9deg, rgba(147, 228, 226, .16) 9deg 9.7deg, transparent 9.7deg 18deg);
  -webkit-mask-image: radial-gradient(circle, transparent 10%, #000 55%); mask-image: radial-gradient(circle, transparent 10%, #000 55%);
  transform: scale(.72) rotate(0deg); transition: transform .6s var(--ease-out); }
.warp.is-in .warp__rays { transform: scale(1.1) rotate(8deg); transition: transform .62s linear; }
.warp__t { position: relative; font: 800 clamp(30px, 7vw, 56px)/1.1 var(--f-head); letter-spacing: -.02em; color: var(--gold); text-shadow: 0 0 30px rgba(253, 233, 170, .5); opacity: 0; transform: scale(.94); transition: opacity .2s, transform .35s var(--ease-out); }
.warp.is-in .warp__t { opacity: 1; transform: none; }

/* первый экран с новым кадром: текст не ложится на героев */
@media (min-width: 1024px) and (max-width: 1279px) { .hero__img { object-position: 38% 50%; } }
@media (min-width: 1500px) {
  .hero__in, .hero__billing { max-width: none; padding-left: 7vw; padding-right: 7vw; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__art { height: 800px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%); mask-image: linear-gradient(180deg, transparent 0, #000 12%); }
  .hero__img { object-position: 50% 60%; }
  .hero::after { height: 700px; }
}

/* index.html?review=1 — пометки для согласования, посетители их не видят */
.review [data-review] { outline: 2px dashed #FFD84D; outline-offset: 3px; }
.review [data-review]::after { content: attr(data-review); display: block; grid-column: 1 / -1; width: fit-content; margin-top: 8px; padding: 3px 8px; border-radius: var(--r-tag); background: #FFD84D; color: #0B1230; font: 800 12.5px/1.3 var(--f-text); letter-spacing: 0; text-transform: none; }

/* девять героев: на ПК ряды 3 × 3 и 5 + 4, последняя карточка не остаётся одна */
@media (min-width: 1024px) {
  .rail--deck { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; }
}
@media (min-width: 1280px) {
  .rail--deck { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 20px; }
  .rail--deck .char { width: calc((100% - 80px) / 5); }
  .rail--deck .char__name { font-size: 21px; }
  .rail--deck .char__role { font-size: 22px; }
}

/* Злыднус в стороне от цепи: свет гаснет, не дойдя до планеты */
.route__line { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 46px), transparent); }
@media (min-width: 1024px) {
  .route__line { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent); }
}
.stop--apart.is-on .stop__pl::after { background: radial-gradient(circle, rgba(208, 50, 36, .22), rgba(208, 50, 36, 0) 65%); }
.final__h { max-width: 900px; }
@media (min-width: 1024px) { .final__h { font-size: 46px; } }

/* ссылка на sparkle.by */
.ftr__home { margin-top: 18px; }
.ftr__home a { color: var(--gold); font-weight: 800; text-decoration: none; }
.ftr__home a:hover { text-decoration: underline; }


/* ---------- партнёры: premiera.by и Tilory.project ---------- */
.partners { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.partners img { display: block; width: auto; height: 30px; }
.partners__tilory { height: 34px !important; border-radius: 50%; }
/* телефон: вместо «Алиса·космос» два логотипа партнёров */
@media (max-width: 1023px) {
  .hdr .logo__t { display: none; }
  .hdr .logo { margin-right: 0; }
  .hdr .partners { position: relative; margin-right: auto; padding-left: 12px; margin-left: 4px; }
  .hdr .partners::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(253, 233, 170, .3); }
}
/* ПК: логотипы рядом со знаком «Алиса·космос», через тонкий разделитель */
@media (min-width: 1024px) {
  .hdr .partners { position: relative; padding-left: 14px; margin-right: 14px; }
  .hdr .partners::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(253, 233, 170, .3); }
  .hdr .partners img { height: 26px; }
  .hdr .partners__tilory { height: 30px !important; }
  .hdr .logo { margin-right: 14px; }
  .nav a.nav__other { color: var(--gold); }
}
@media (min-width: 1024px) and (max-width: 1439px) { .hdr__phone { display: none; } }
.ftr__org { margin-top: 18px; }
.ftr__org p { margin: 0; color: var(--snow-80); }
.ftr__support { margin-top: 10px !important; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal) !important; }
.ftr__logos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; }
.ftr__logos a, .ftr__logos span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--snow); font-weight: 800; text-decoration: none; }
.ftr__logos img { width: auto; height: 36px; }
.ftr__logos span img { border-radius: 50%; }
.menu__nav a.menu__other { color: var(--gold); }

/* шапка ПК с логотипами партнёров и ссылкой на «Маму»: всё помещается в одну строку */
@media (min-width: 1024px) and (max-width: 1679px) { .hdr__phone { display: none; } }
@media (min-width: 1024px) and (max-width: 1365px) {
  .hdr .logo__t { display: none; }
  .hdr .logo { margin-right: 12px; }
  .nav a { padding: 10px 8px; font-size: 14px; }
}

.ftr__org .ftr__support { margin-top: 0 !important; }
@media (min-width: 1024px) {
  .hdr .partners img { height: 32px; }
  .hdr .partners__tilory { height: 36px !important; }
}

/* значок-планета виден и на самых узких телефонах */
@media (max-width: 339px) { .hdr .logo__mark { display: block; width: 24px; height: 24px; } }


/* «Все проекты» слева в шапке: на телефоне значок, на широком ПК значок с подписью */
.allproj { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 40px; min-height: 40px; padding: 0 8px; margin-left: -8px; border-radius: 12px; color: var(--gold); text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; }
.allproj svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.allproj span { display: none; }
.allproj:hover { background: rgba(253, 233, 170, .08); }
.allproj + .logo { padding-left: 10px; border-left: 1px solid rgba(253, 233, 170, .22); }
@media (min-width: 1600px) { .allproj span { display: inline; } }
.partners__minsk { border-radius: 8px; }
.ftr__logos .ftr__minsk img { border-radius: 9px; }
.ftr__support--2 { margin-top: 14px !important; }

/* узкие телефоны: всё в одну строку */
@media (max-width: 379px) {
  .allproj { min-width: 34px; padding: 0 5px; margin-left: -6px; }
  .allproj svg { width: 20px; height: 20px; }
  .allproj + .logo { padding-left: 7px; }
  .hdr .partners { gap: 6px; padding-left: 8px; margin-left: 2px; }
  .hdr .partners img { height: 24px; }
  .hdr .partners__tilory { height: 27px !important; }
  .btn--hdr { padding: 0 12px; }
}
