/* Главная v3: девять сцен. Основа (цвета, шрифты, кнопка) — assets/css/base.css */
html:not(.js) .ln > span, html:not(.js) .fade, html:not(.js) [data-rv] { transform: none; opacity: 1; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

html { scroll-padding-top: 96px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--gold); color: #14110a; padding: 10px 14px; border-radius: 3px; }
.skip:focus { top: 12px; }

/* шапка: после первого экрана получает плотный фон, текст сцен под логотипом не проходит */
.top { padding-top: clamp(14px, 1.6vw, 20px); padding-bottom: clamp(14px, 1.6vw, 20px); transition: background-color 0.35s, box-shadow 0.35s; }
body.past-hero .top { background: var(--night); box-shadow: 0 1px 0 var(--line); }
.top-r { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.langs { display: flex; gap: 2px; }
.langs a { font: 500 13px/1 var(--text); letter-spacing: 0.06em; color: var(--muted); padding: 9px 8px; border-radius: 2px; transition: color 0.25s; }
.langs a:hover { color: var(--paper); }
.langs a[aria-current] { color: var(--gold); }
.top-cta { font: 600 14px/1 var(--text); color: var(--paper); border: 1px solid var(--line-strong); padding: 11px 16px; border-radius: 3px; transition: background-color 0.3s, color 0.3s, border-color 0.3s; white-space: nowrap; }
.top-cta:hover, body.past-hero .top-cta { background: var(--gold); border-color: var(--gold); color: #14110a; }
body.past-hero .top-cta:hover { background: var(--gold-hot); }
body.at-final .top-cta { visibility: hidden; }

/* сцена с домами: одна на всю страницу, видна в первом экране и в финале */
.bg-scene { position: fixed; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 70% 78%, #151925 0%, #0b0d13 46%, var(--night) 100%); }
.bg-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease-out; }
.bg-scene canvas.is-ready { opacity: 1; }
/* статичный кадр: виден, если нет WebGL, скрипт не загрузился или вкладка открыта в фоне */
html:not(.js) .bg-scene::before, .bg-scene.poster::before { content: ""; position: absolute; inset: 0; background: url(img/derazalar.webp) right center / cover no-repeat; }
main { position: relative; z-index: 1; }
.s { position: relative; background: var(--night); }
.s-hero, .s-final { background: transparent; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* появление блоков при прокрутке */
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-rv].in { opacity: 1; transform: none; }

h2.display { font-size: clamp(32px, 4.2vw, 68px); text-wrap: balance; }
h3.display { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.06; }
.rmedia { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 6px; background: var(--night-2); }
.rmedia img, .rmedia canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rmedia canvas { opacity: 0; transition: opacity 0.6s ease; }
.is-live .rmedia canvas { opacity: 1; }
.rplay { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(9, 10, 14, 0.62); display: grid; place-items: center; color: var(--paper); transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease-out); }
.rplay svg { width: 15px; height: 15px; margin-left: 2px; }
figure:hover .rplay, figure:focus-visible .rplay { background: var(--gold); color: #14110a; transform: scale(1.08); }

/* ───────── 1. первый экран ───────── */
.s-hero { height: 112vh; }
.veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 10, 14, 0.9) 0%, rgba(9, 10, 14, 0.7) 30%, rgba(9, 10, 14, 0) 47%), linear-gradient(0deg, rgba(9, 10, 14, 0.82) 0%, rgba(9, 10, 14, 0) 26%), radial-gradient(140% 120% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%); }
.copy { position: absolute; left: var(--pad); bottom: clamp(36px, 7vh, 76px); z-index: 5; width: min(42vw, 640px); display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { font: 500 14px/1.3 var(--text); letter-spacing: 0.06em; color: var(--gold); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.copy h1 { font-size: clamp(38px, min(5.5vw, 10.6vh), 96px); margin-bottom: clamp(16px, 2.4vh, 28px); }
html[lang="ru"] .copy h1 { font-size: clamp(34px, min(4.6vw, 9.6vh), 80px); }
html[lang="en"] .copy h1 { font-size: clamp(36px, min(5.2vw, 10.2vh), 90px); }
.sub { max-width: 33em; color: var(--paper-2); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; margin-bottom: clamp(20px, 3.2vh, 34px); }
/* число: в покое видны оба — сколько было и сколько стало */
.hud { position: absolute; right: var(--pad); bottom: clamp(18px, 3.2vh, 32px); z-index: 5; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hud::before { content: ""; position: absolute; inset: -30% -14% -10% -24%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(9, 10, 14, 0.78), rgba(9, 10, 14, 0)); }
.hud-what { font: 500 14px/1.3 var(--text); letter-spacing: 0.04em; color: var(--gold); margin-bottom: 12px; }
.hud-nums { display: flex; align-items: flex-end; gap: clamp(12px, 1.5vw, 24px); }
.hud-a, .hud-b { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.hud-n0 { font-size: clamp(34px, min(4.6vw, 7.6vh), 70px); line-height: 0.86; color: var(--paper-2); }
.hud-num { font-size: clamp(56px, min(7.4vw, 12.4vh), 112px); line-height: 0.86; color: var(--gold-hot); min-width: 2.05em; text-align: right; white-space: nowrap; }
.hud-num i { display: inline-block; width: 0.47em; text-align: center; font-style: normal; }
.hud-num i.sp { width: 0.14em; }
.hud-arrow { font-size: clamp(26px, 3vw, 46px); line-height: 1; color: var(--gold); padding-bottom: 1.05em; }
.hud-c { font: 400 13px/1.2 var(--text); color: var(--paper-2); white-space: nowrap; transition: opacity 0.35s; }
.hud-c b { font-weight: 500; color: var(--paper); }
.hud-c.is-moving { opacity: 0; }
.hud-a, .hud-arrow { transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }
.hud.solo .hud-a, .hud.solo .hud-arrow { opacity: 0; transform: translateX(14px); }
.hud-src { margin-top: 12px; white-space: nowrap; font: 400 12px/1.4 var(--text); color: var(--muted); }
.hud-ctl { position: absolute; right: var(--pad); top: clamp(72px, 10.5vh, 104px); z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hud-legend { display: flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--text); color: var(--paper); }
.hud-legend i { width: 9px; height: 11px; background: var(--gold-hot); box-shadow: 0 0 14px 2px rgba(255, 201, 107, 0.7); flex: none; }
.months { display: flex; gap: 22px; }
.mg { display: grid; grid-template-columns: repeat(3, auto); column-gap: 4px; row-gap: 6px; }
.mg em { grid-column: 1 / -1; font: 500 11px/1 var(--text); font-style: normal; letter-spacing: 0.1em; color: var(--muted); text-align: left; padding: 0 0 6px 2px; border-bottom: 1px solid var(--line); }
.mg.is-with em { color: var(--gold); border-color: var(--line-strong); }
.months button { min-width: 44px; height: 30px; padding: 0 8px; font: 500 13px/1 var(--text); color: var(--muted); border-radius: 2px; transition: color 0.25s, background-color 0.25s; }
.months button:hover { color: var(--paper); }
.months button[aria-pressed="true"] { color: #14110a; background: var(--gold); }
@media (min-width: 821px) and (max-height: 800px) {
  .copy { bottom: clamp(24px, 4.6vh, 40px); }
  .eyebrow { margin-bottom: 14px; }
  .sub { margin-bottom: 18px; font-size: 15px; line-height: 1.5; }
  .hud-src { display: none; }
}

/* ───────── 2. доказательство цифрами: поток заявок (из концепта C) ───────── */
.s-proof .track { height: 150vh; }
.vor { display: flex; flex-direction: column; }
.vor::after { content: ""; position: absolute; right: -12%; bottom: -30%; width: 62%; height: 90%; pointer-events: none; background: radial-gradient(closest-side, rgba(217, 180, 95, 0.085), rgba(217, 180, 95, 0) 70%); }
.vor-head { position: relative; z-index: 2; padding: clamp(80px, 11.4vh, 118px) var(--pad) 0; display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(24px, 5vw, 96px); }
.vor-head h2 { font-size: clamp(34px, min(5.2vw, 9.4vh), 86px); margin-bottom: 12px; }
.proof-meta { color: var(--paper-2); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; max-width: 40em; }
.proof-side { margin: 0; padding: 0 0 4px; list-style: none; display: flex; gap: clamp(24px, 3vw, 52px); text-align: right; }
.proof-side b { display: block; font-size: clamp(34px, 3.8vw, 62px); line-height: 1; margin-bottom: 8px; white-space: nowrap; color: var(--gold-hot); }
.proof-side span { font-size: 15px; color: var(--paper); white-space: nowrap; }
.vstage { position: relative; z-index: 1; flex: 1; min-height: 0; margin-top: clamp(14px, 3.2vh, 40px); }
#funnel { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate { position: absolute; top: 0; bottom: 70px; left: calc(var(--g) * 100%); padding: 2px 0 0 18px; pointer-events: none; color: var(--paper); transition: opacity 0.5s var(--ease-out); }
.gate--1 { left: var(--pad); } .gate--2 { --g: 0.47; } .gate--3 { --g: 0.75; }
.gate::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 0; width: 1px; background: linear-gradient(to bottom, rgba(243, 239, 230, 0.5), rgba(243, 239, 230, 0.16) 34%, rgba(243, 239, 230, 0.07)); }
.gate--3::before { background: linear-gradient(to bottom, var(--gold), rgba(217, 180, 95, 0.3) 34%, rgba(217, 180, 95, 0.1)); }
.gate__label { display: block; font: 500 13px/1.2 var(--text); letter-spacing: 0.07em; color: var(--paper-2); }
.gate__num { display: block; margin-top: 8px; white-space: nowrap; font: 300 clamp(38px, min(5.3vw, 9vh), 84px)/0.95 var(--text); letter-spacing: -0.035em; transform-origin: 0 60%; transition: transform 0.6s var(--ease-out); }
.gate--3 .gate__num { color: var(--gold-hot); }
.gate__sub { display: block; margin-top: 10px; font: 400 13px/1.3 var(--text); color: var(--muted); transition: color 0.4s; }
.gate__was { display: block; margin-top: 10px; font: 400 13px/1.3 var(--text); color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.is-with .gate__was { opacity: 0.85; transform: none; transition-delay: 1.1s; }
.vstage[data-hot="2"] .gate:not(.gate--2), .vstage[data-hot="3"] .gate:not(.gate--3), .vstage[data-hot="1"] .gate:not(.gate--1) { opacity: 0.42; }
.vstage[data-hot="1"] .gate--1 .gate__num, .vstage[data-hot="2"] .gate--2 .gate__num, .vstage[data-hot="3"] .gate--3 .gate__num { transform: scale(1.06); }
.vfoot { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(14px, 2.4vh, 24px); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; font: 400 13px/1.35 var(--text); color: var(--muted); }
.vmonths { position: relative; display: flex; gap: 26px; padding-bottom: 9px; }
.vmonths::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.vm-grp { display: grid; gap: 5px; }
.vm-cap { font: 500 11px/1 var(--text); letter-spacing: 0.1em; color: var(--muted); }
.vm-grp--with .vm-cap { color: var(--gold); }
.vm-row { display: flex; gap: 4px; }
.vmonths button { padding: 5px 9px 5px 0; margin-right: 6px; font: 400 14px/1.2 var(--text); color: var(--muted); transition: color 0.3s; }
.vmonths button:hover { color: var(--paper-2); }
.vmonths button[aria-pressed="true"] { color: var(--paper); }
.vm-mark { position: absolute; bottom: 0; left: 0; height: 2px; width: 40px; background: var(--gold); transform-origin: 0 50%; z-index: 1; will-change: transform; transition: transform 0.7s var(--ease-out); }
.mo-s { display: none; }
.vlegend { display: flex; align-items: center; gap: 10px; color: var(--paper-2); white-space: nowrap; }
.vlegend i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 10px 2px rgba(243, 239, 230, 0.35); }
.vsource { text-align: right; max-width: 34ch; }
@media (min-width: 821px) and (max-height: 760px) { .gate__was { display: none; } .gate { bottom: 62px; } }
@media (min-width: 821px) and (max-width: 1080px) { .vsource { display: none; } .proof-side { display: none; } }
.proof-after-unused { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 96px); padding: clamp(30px, 5vh, 52px) var(--pad); border-top: 1px solid var(--line); align-items: start; }
.what h3 { margin-bottom: 14px; }
.what p { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: var(--paper); max-width: 32em; }
.proof-note { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 70em; padding: 16px var(--pad) 22px; border-top: 1px solid var(--line); }

/* ───────── 3. ролики: сцена в полном цвете, без затемнения ───────── */
.s-reels { padding: clamp(52px, 8vh, 84px) 0 clamp(30px, 5vh, 52px); border-top: 1px solid var(--line); overflow: hidden; }
.reels-head { padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(20px, 3.6vh, 38px); }
.reels-head h2 { max-width: 13em; }
.reels-head p { color: var(--paper-2); font-size: 15px; line-height: 1.5; max-width: 24em; text-align: right; }
.rstrip { padding: 0 var(--pad); cursor: grab; touch-action: pan-y; user-select: none; }
.rstrip.is-drag { cursor: grabbing; }
.rtrack { display: flex; gap: clamp(12px, 1.4vw, 22px); will-change: transform; }
.rcard { flex: none; width: clamp(210px, min(22.5vw, 35vh), 350px); margin: 0; cursor: pointer; }
.rcard figcaption, .bcard figcaption { padding-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.rcard figcaption b { font: 400 22px/1.15 var(--display); }
.rcard figcaption span { font-size: 13px; color: var(--muted); }

/* ───────── 4. люди: съёмки с лицами, основатель, клиенты о работе ───────── */
.s-people { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.5fr); grid-template-areas: "l shots" "rev shots"; grid-template-rows: auto 1fr; gap: clamp(18px, 3vh, 30px) clamp(28px, 5vw, 80px); padding: clamp(56px, 9vh, 96px) var(--pad) clamp(44px, 7.5vh, 80px); border-top: 1px solid var(--line); align-items: start; }
.people-shots { grid-area: shots; } .people-l { grid-area: l; } .people-rev { grid-area: rev; }
.people-l .label { color: var(--gold); margin-bottom: 14px; }
.people-l h2 { font-size: clamp(38px, 4.4vw, 72px); margin-bottom: 14px; }
.people-about { color: var(--paper-2); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; max-width: 31em; margin-bottom: 22px; }
/* место под портрет: появляется, когда в v3.json → people_media.portrait указан файл */
.portrait { margin: 0 0 22px; width: min(100%, 320px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--night-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.rev { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; row-gap: 4px; width: 100%; text-align: left; padding: 15px 0; border-top: 1px solid var(--line); align-items: center; cursor: pointer; }
.rev b { grid-column: 1; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; transition: color 0.3s; }
.rev span { grid-column: 1; font-size: 14px; color: var(--paper-2); line-height: 1.45; }
.rev i { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--text); font-style: normal; color: var(--gold); white-space: nowrap; }
.rev i svg { width: 13px; height: 13px; }
.rev:hover b { color: var(--gold-hot); }
.people-h3 { font: 500 14px/1.3 var(--text); letter-spacing: 0.04em; color: var(--gold); margin-bottom: 8px; }
.revs { display: grid; grid-template-columns: 1fr; }
/* место под два видеоотзыва: появляется, когда в people_media.reviews указаны файлы */
.vrevs { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); gap: clamp(10px, 1.2vw, 18px); }
.vrev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.people-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.people-shots h3 { margin-bottom: clamp(14px, 2.6vh, 26px); }
.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.bcard { margin: 0; cursor: pointer; }
.bcard figcaption b { font: 400 clamp(18px, 1.5vw, 22px)/1.15 var(--display); }
.bcard figcaption span { font-size: 13px; line-height: 1.4; color: var(--paper-2); }

/* окно ролика со звуком */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(5, 6, 9, 0.95); display: grid; place-items: center; opacity: 0; transition: opacity 0.35s; }
.lb.in { opacity: 1; }
.lb video, .lb iframe { height: min(88svh, 160vw); aspect-ratio: 9 / 16; background: #000; border: 0; border-radius: 4px; }
.lb iframe { aspect-ratio: 9 / 17; background: #fff; }
.lb button { position: absolute; top: 18px; right: 18px; font: 500 14px/1 var(--text); color: var(--paper); padding: 14px 16px; border: 1px solid var(--line); border-radius: 3px; }
.lb button:hover { border-color: var(--gold); color: var(--gold-hot); }

/* ───────── 5. что делаем: путь объявление → заявка → звонок → офис, по нему идёт огонёк из окон ───────── */
.s-model { padding: clamp(48px, 8vh, 88px) var(--pad) clamp(40px, 7vh, 76px); border-top: 1px solid var(--line); }
.statement { font-size: clamp(26px, 3.2vw, 54px); line-height: 1.1; max-width: 23em; margin-bottom: clamp(36px, 6.5vh, 70px); }
.statement .w { opacity: 0.42; transition: opacity 0.35s linear; }
.statement .w.on { opacity: 1; }
.model-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 5vh, 54px); }
.model-head h2 { font-size: clamp(34px, 4.8vw, 82px); max-width: 11em; }
.model-lead { color: var(--paper-2); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; max-width: 34em; padding-bottom: 0.5em; }
.model-lead b { color: var(--paper); font-weight: 600; }
.model-lead span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.path { position: relative; --p: 0; }
.path-line { position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: var(--line); }
.path-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.path-dot { position: absolute; top: -5px; left: calc(var(--p) * 100%); width: 9px; height: 11px; margin-left: -4px; z-index: 2; background: var(--gold-hot); box-shadow: 0 0 18px 4px rgba(255, 201, 107, 0.78), 0 0 64px 16px rgba(255, 190, 90, 0.26); }
.path-st { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 44px); }
.st { position: relative; padding-top: 60px; opacity: 0.34; transition: opacity 0.6s var(--ease-out); }
.st.on { opacity: 1; }
.st-ico { position: absolute; left: 0; top: 0; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; background: var(--night); color: var(--muted); border: 1px solid var(--line); border-radius: 50%; transition: color 0.4s, border-color 0.4s, box-shadow 0.6s; }
.st-ico svg { width: 22px; height: 22px; }
.st.on .st-ico { color: var(--gold-hot); border-color: var(--line-strong); box-shadow: 0 0 26px rgba(255, 190, 90, 0.28); }
.st-win { opacity: 0; transition: opacity 0.6s 0.2s; }
.st.on .st-win { opacity: 1; }
.st-label { display: block; font: 500 14px/1.2 var(--text); letter-spacing: 0.06em; color: var(--gold); margin-bottom: 12px; }
.st-e + .st-e { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-e h3 { font-size: clamp(20px, 1.8vw, 27px); line-height: 1.1; margin-bottom: 8px; }
.st-e p { color: var(--paper-2); font-size: 15px; line-height: 1.55; }
.st-e .row-who { color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 6px; }

/* ───────── 6. с кем работали: карта Ферганской долины, города загораются при прокрутке ───────── */
.s-clients { padding: clamp(40px, 6vh, 64px) var(--pad) clamp(32px, 5vh, 52px); border-top: 1px solid var(--line); }
.s-clients > h2 { margin-bottom: clamp(8px, 2vh, 20px); }
.mapwrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(22px, 3.6vh, 36px); }
.vmap { width: 100%; height: auto; overflow: visible; }
.topo path { stroke: rgba(243, 239, 230, 0.27); stroke-width: 1; }
.topo path:first-child { stroke: rgba(217, 180, 95, 0.55); stroke-width: 1.3; stroke-dasharray: 3 7; }
.river { stroke: rgba(130, 160, 230, 0.5); stroke-width: 1.6; }
.leg { stroke: var(--gold); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.75; transition: stroke-dashoffset 1.1s var(--ease-inout); }
.leg.on { stroke-dashoffset: 0; }
.city text { font: 500 23px/1 var(--text); fill: var(--muted); transition: fill 0.5s; }
.c-ring { fill: none; stroke: rgba(243, 239, 230, 0.34); stroke-width: 1.2; transition: stroke 0.5s; }
.c-dot { fill: rgba(243, 239, 230, 0.34); transition: fill 0.5s; }
.c-glow { fill: var(--gold-hot); opacity: 0; filter: blur(11px); transition: opacity 0.9s; }
.city.on text { fill: var(--paper); }
.city.on .c-dot { fill: var(--gold-hot); }
.city.on .c-ring { stroke: var(--gold); }
.city.on .c-glow { opacity: 0.38; }
.city.is-quiet text { font-size: 19px; fill: var(--paper-2); }
.city.is-quiet .c-ring { stroke: rgba(243, 239, 230, 0.6); }
.cityb { padding: 13px 0 14px; border-top: 1px solid var(--line); opacity: 0.32; transition: opacity 0.6s var(--ease-out); }
.cityb:last-child { border-bottom: 1px solid var(--line); }
.cityb.on { opacity: 1; }
.cityb h3 { font-size: clamp(22px, 2.1vw, 30px); margin-bottom: 6px; transition: color 0.5s; }
.cityb.on h3 { color: var(--gold-hot); }
.cityb ul, .restlist { list-style: none; margin: 0; padding: 0; }
.cityb ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cityb li, .restlist li { font-size: 15px; line-height: 1.45; color: var(--paper); }
.cityb li span, .restlist li span { color: var(--muted); font-size: 13px; }
.cityb li b, .restlist li b { font-weight: 500; }
.clients-b { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 6vw, 96px); }
.clients-b h3 { font: 500 14px/1.3 var(--text); letter-spacing: 0.04em; color: var(--gold); margin-bottom: 12px; }
.restlist { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 24px; }
.inds { margin: 0; display: grid; gap: 7px; }
.ind { display: grid; grid-template-columns: minmax(110px, 0.28fr) 1fr; gap: 16px; }
.ind dt { color: var(--muted); font-size: 14px; }
.ind dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--paper-2); }
.par-h { margin-top: 18px; }
.par-names { font: 400 clamp(19px, 1.8vw, 26px)/1.2 var(--display); margin-bottom: 8px; }
.par-names a { border-bottom: 1px solid var(--line-strong); transition: color 0.3s; }
.par-names a:hover { color: var(--gold-hot); }
.par-note { font-size: 14px; color: var(--paper-2); line-height: 1.5; }

/* ───────── 7. цена и начало ───────── */
.s-price { padding: clamp(44px, 7vh, 76px) var(--pad) clamp(36px, 6vh, 64px); border-top: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.price-l .label { color: var(--gold); margin-bottom: 18px; }
.price-big { font-size: clamp(42px, 6vw, 104px); line-height: 0.96; color: var(--gold-hot); margin-bottom: 20px; text-wrap: balance; }
.price-desc { font-size: clamp(16px, 1.4vw, 21px); line-height: 1.5; max-width: 28em; margin-bottom: clamp(20px, 3.6vh, 36px); }
.terms { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; }
.terms li { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 20px; }
.terms b { font: 400 20px/1.2 var(--display); }
.terms span { font-size: 15px; line-height: 1.55; color: var(--paper-2); }
.price-note, .steps-note { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 36em; }
.price-r h3 { margin-bottom: clamp(14px, 2.6vh, 26px); }
.steps { list-style: none; margin: 0 0 16px; padding: 0; position: relative; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: var(--paper-2); }
.steps li b { color: var(--paper); font-weight: 600; }
.st-n { font-size: 28px; line-height: 1; color: var(--gold); }
.steps li:first-child .st-n { color: #14110a; background: var(--gold); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 21px; }
.free { margin-top: clamp(24px, 4vh, 40px); padding: clamp(20px, 2.6vw, 36px); background: var(--night-2); border: 1px solid var(--line); border-radius: 4px; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.free .label { color: var(--gold); margin-bottom: 14px; }
.free h3 { font-size: clamp(28px, 3.4vw, 56px); line-height: 1.02; max-width: 9.5em; }
.free-r > p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: var(--paper); margin-bottom: 14px; }
.pts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.pts li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: var(--paper-2); }
.pts li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 9px; height: 11px; background: var(--gold-hot); box-shadow: 0 0 12px 1px rgba(255, 201, 107, 0.6); }

/* цена и бесплатная проверка — на светлом фоне: главное для решения видно сразу */
.s-price { background: var(--paper); color: #14110a; border-top: 0; padding-top: clamp(76px, 12vh, 124px); padding-bottom: clamp(68px, 11vh, 112px); }
/* шов тёмного и светлого смягчён: тень уходит в бумагу сверху и снизу */
.s-price::before, .s-price::after { content: ""; position: absolute; left: 0; right: 0; height: 44px; pointer-events: none; }
.s-price::before { top: 0; background: linear-gradient(180deg, rgba(9, 10, 14, 0.9), rgba(9, 10, 14, 0.28) 40%, rgba(9, 10, 14, 0)); }
.s-price::after { bottom: 0; background: linear-gradient(0deg, rgba(9, 10, 14, 0.9), rgba(9, 10, 14, 0.28) 40%, rgba(9, 10, 14, 0)); }
.s-price .price-l .label, .s-price .st-n { color: #7a5f1d; }
.s-price .price-big { color: #14110a; }
.s-price .terms li, .s-price .steps li { border-color: rgba(20, 17, 10, 0.16); }
.s-price .terms span, .s-price .steps li { color: #46423a; }
.s-price .steps li b { color: #14110a; }
.s-price .price-note, .s-price .steps-note { color: #4a463d; }
.s-price .steps li:first-child .st-n { background: #14110a; color: var(--gold-hot); }
.s-price .free { background: var(--night); border-color: var(--night); color: var(--paper); }
.s-price .free .label { color: var(--gold); }
.s-price :focus-visible { outline-color: #14110a; }

/* ───────── 8. вопросы ───────── */
.s-faq { display: grid; grid-template-columns: 0.75fr 1.5fr; gap: clamp(28px, 6vw, 96px); padding: clamp(40px, 6.5vh, 70px) var(--pad); border-top: 1px solid var(--line); align-items: start; }
.faq-l h2 { font-size: clamp(30px, 3.4vw, 56px); margin-bottom: clamp(18px, 3.4vh, 34px); }
.faq-contacts { display: grid; gap: 10px; justify-items: start; }
.faq-contacts a { border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: color 0.3s; }
.faq-contacts a:first-child { font: 400 clamp(24px, 2.3vw, 34px)/1.1 var(--display); white-space: nowrap; }
.faq-contacts a:hover { color: var(--gold-hot); }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--display); transition: color 0.3s; }
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--gold-hot); }
.q summary i { position: relative; width: 18px; height: 18px; flex: none; }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1.5px; background: var(--gold); transition: transform 0.5s var(--ease-out); }
.q summary i::after { transform: rotate(90deg); }
.q[open] summary i::after { transform: rotate(0deg); }
.q-a { overflow: hidden; }
.q-a p { padding: 0 48px 22px 0; color: var(--paper-2); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; max-width: 44em; }

/* ───────── 9. финал: квартал сверху, все окна горят ───────── */
.s-final { padding: 0; min-height: 100svh; }
.final-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(9, 10, 14, 0.95) 0%, rgba(9, 10, 14, 0.84) 34%, rgba(9, 10, 14, 0) 54%), linear-gradient(180deg, var(--night) 0%, rgba(9, 10, 14, 0) 20%), linear-gradient(0deg, rgba(9, 10, 14, 0.8) 0%, rgba(9, 10, 14, 0) 24%); }
.final-in { position: relative; min-height: 100svh; width: min(41vw, 590px); margin-left: var(--pad); padding: clamp(96px, 14vh, 140px) 0 clamp(32px, 5.4vh, 56px); display: flex; flex-direction: column; justify-content: flex-end; }
.final-in h2 { font-size: clamp(34px, 4.6vw, 76px); margin-bottom: clamp(12px, 2.2vh, 22px); }
.final-text { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; color: var(--paper); max-width: 30em; margin-bottom: clamp(18px, 3.2vh, 32px); }
.direct-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cta-line::before { background: var(--gold); }
.cta-line:hover { color: #14110a; }
/* поле-игрушка: ничего не отправляет, только зажигает окно в макете. Стоит отдельно от кнопок связи */
.toy { margin-top: clamp(22px, 4vh, 40px); padding-top: 16px; border-top: 1px solid var(--line); max-width: 440px; }
.proj { display: grid; gap: 8px; }
.proj span { font: 500 13px/1.3 var(--text); letter-spacing: 0.04em; color: var(--gold); }
.proj input, .lead input { width: 100%; height: 48px; padding: 0 14px; background: var(--night-3); border: 1px solid rgba(243, 239, 230, 0.1); border-radius: 3px; color: var(--paper); font: 400 16px/1 var(--text); transition: border-color 0.25s, background-color 0.25s; }
.proj input::placeholder, .lead input::placeholder { color: #6b675d; }
.proj input:focus, .lead input:focus { outline: none; border-color: var(--gold); background: #1c202b; }
.proj small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.lead { display: grid; gap: 14px; }
.lead-title { font-size: 15px; line-height: 1.5; color: var(--paper-2); max-width: 34em; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead label { display: grid; gap: 7px; }
.lead label span { font: 500 13px/1 var(--text); color: var(--muted); }
.lead input { height: 54px; }
.lead .cta { justify-self: start; margin-top: 6px; }
.lead-err { color: #ff9d86; font-size: 14px; }
.lead-priv { font-size: 12px; line-height: 1.4; color: var(--muted); }
.lead-done p { color: var(--paper); font-size: 18px; line-height: 1.5; max-width: 30em; }
.alt { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 15px; }
.alt a { color: var(--paper); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color 0.3s; }
.alt a:hover { color: var(--gold-hot); }
.final-stat { position: absolute; right: var(--pad); bottom: clamp(28px, 5vh, 52px); z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; font: 400 13px/1.3 var(--text); color: var(--paper-2); }
.final-stat::before { content: ""; position: absolute; inset: -22% -12% -20% -22%; z-index: -1; background: radial-gradient(closest-side, rgba(9, 10, 14, 0.82), rgba(9, 10, 14, 0)); }
.final-stat .fs-note { color: var(--paper); font-size: 14px; }
.final-stat span:first-child { font-weight: 500; font-size: 14px; letter-spacing: 0.04em; color: var(--gold); }
.final-stat b { font-size: clamp(44px, 5.6vw, 88px); line-height: 0.9; color: var(--gold-hot); white-space: nowrap; }
.final-stat b i { font-style: normal; color: var(--gold); font-size: 0.5em; padding: 0 0.35em; vertical-align: 0.3em; }
.yours { position: fixed; left: 0; top: 0; z-index: 6; padding: 6px 10px 7px; background: var(--gold-hot); color: #14110a; font: 600 13px/1 var(--text); border-radius: 3px; pointer-events: none; white-space: nowrap; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; will-change: transform; }
.yours::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 18px; background: var(--gold-hot); }

.foot { position: relative; z-index: 1; background: var(--night); padding: clamp(32px, 6vh, 60px) var(--pad) 26px; border-top: 1px solid var(--line); }
.foot-slogan { font-size: clamp(44px, 10.5vw, 190px); line-height: 0.92; color: var(--paper); margin-bottom: clamp(22px, 4vh, 44px); white-space: nowrap; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; font-size: 13px; color: var(--muted); }
.foot-row a:hover { color: var(--paper); }
.mbar { display: none; }

/* ───────── телефон ───────── */
@media (max-width: 820px) {
  .top-cta { display: none; }
  body.past-hero:not(.at-final) .top-cta { display: block; padding: 10px 12px; font-size: 13px; }
  body.past-hero:not(.at-final) .brand span { display: none; }
  /* нижняя полоса «позвонить / Telegram»: появляется после первого экрана, в финале уступает место кнопкам сцены */
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(9, 10, 14, 0.97); box-shadow: 0 -1px 0 var(--line); transform: translateY(105%); transition: transform 0.45s var(--ease-out); }
  body.past-hero:not(.at-final) .mbar { transform: none; }
  .mbar a { display: grid; place-items: center; height: 48px; border-radius: 3px; font: 600 15px/1 var(--text); color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
  .mbar a:last-child { background: var(--gold); color: #14110a; box-shadow: none; }

  .bg-scene { bottom: auto; height: 58svh; }
  .bg-scene.poster::before, html:not(.js) .bg-scene::before { background-image: url(img/derazalar-m.webp); background-position: center top; }
  .s-hero { height: 112svh; }
  .s-hero .pin { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 20px; }
  .veil { background: linear-gradient(0deg, var(--night) 0%, var(--night) 42svh, rgba(9, 10, 14, 0.86) 48svh, rgba(9, 10, 14, 0) 62svh), linear-gradient(180deg, rgba(9, 10, 14, 0.55) 0%, rgba(9, 10, 14, 0) 16%); }
  .hud { position: relative; right: auto; bottom: auto; order: 1; align-items: flex-start; text-align: left; margin-bottom: 14px; }
  .hud::before { display: none; }
  .hud-what { font-size: 13px; margin-bottom: 8px; }
  .hud-a, .hud-b { align-items: flex-start; gap: 6px; }
  .hud-n0 { font-size: 34px; } .hud-num { font-size: 58px; text-align: left; min-width: 0; }
  .hud-arrow { font-size: 26px; padding-bottom: 0.95em; }
  .hud-c { font-size: 12.5px; }
  .hud-src, .hud-ctl { display: none; }
  .copy { position: relative; left: auto; bottom: auto; order: 2; width: 100%; }
  .eyebrow { display: none; }
  .copy h1, html[lang="ru"] .copy h1, html[lang="en"] .copy h1 { font-size: clamp(29px, 8.6vw, 40px); margin-bottom: 10px; }
  .sub { font-size: 15px; line-height: 1.5; margin-bottom: 16px; }

  .s-proof .track { height: 190svh; }
  .vor::after { right: -40%; bottom: 6%; width: 120%; height: 60%; }
  .vor-head { display: block; padding-top: clamp(70px, 10.5svh, 92px); }
  .vor-head h2 { font-size: clamp(30px, 9vw, 42px); margin-bottom: 8px; }
  .proof-meta { font-size: 13px; }
  .proof-side { display: none; }
  .vstage { margin-top: 16px; margin-bottom: 14px; }
  .gate { top: calc(var(--gy) * (100% - 62px)); bottom: auto; left: var(--pad); padding: 11px 0 0 0; width: 46%; }
  .gate--1 { --gy: 0; } .gate--2 { --gy: 0.35; } .gate--3 { --gy: 0.67; }
  .gate::before { top: 0; bottom: auto; left: 0; width: calc(100vw - 2 * var(--pad)); height: 1px; background: linear-gradient(to right, rgba(243, 239, 230, 0.5), rgba(243, 239, 230, 0.14) 50%, rgba(243, 239, 230, 0.07)); }
  .gate--3::before { background: linear-gradient(to right, var(--gold), rgba(217, 180, 95, 0.3) 50%, rgba(217, 180, 95, 0.12)); }
  .gate__label { font-size: 12px; }
  .gate__num { font-size: clamp(34px, 10.6vw, 44px); margin-top: 6px; }
  .gate__sub, .gate__was { margin-top: 7px; font-size: 12px; }
  .vfoot { bottom: 0; display: block; }
  .vmonths { justify-content: space-between; gap: 12px; }
  .vmonths button { font-size: 13px; padding-right: 7px; margin-right: 3px; }
  .mo-l { display: none; } .mo-s { display: inline; }
  .vlegend, .vsource { display: none; }
  .proof-after { grid-template-columns: 1fr; }

  .reels-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .reels-head p { text-align: left; }
  .rstrip { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; cursor: auto; touch-action: auto; }
  .rstrip::-webkit-scrollbar { display: none; }
  .rtrack { width: max-content; padding-right: var(--pad); }
  .rcard { width: 66vw; scroll-snap-align: center; }
  .s-people { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .rev { grid-template-columns: 1fr; } .rev i { grid-column: 1; grid-row: auto; margin-top: 6px; }

  .model-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .model-head p { text-align: left; padding: 0; }
  .row { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .row h3 { grid-column: 2; } .row-t, .row-who { grid-column: 2; padding-top: 0; }
  .devs { grid-template-columns: 1fr 1fr; }
  .clients-b, .price-grid, .free, .s-faq { grid-template-columns: 1fr; }
  .ind { grid-template-columns: 1fr; gap: 2px; }
  .terms li { grid-template-columns: 1fr; gap: 6px; }
  .q-a p { padding-right: 0; }
  .lead-row { grid-template-columns: 1fr; }
  .lead .cta, .direct-btns .cta { width: 100%; justify-content: space-between; }
  .s-final { min-height: 0; }
  .final-veil { inset: 0 0 auto 0; height: 58svh; background: linear-gradient(0deg, var(--night) 0%, rgba(9, 10, 14, 0) 46%); }
  .final-in { width: auto; min-height: 0; margin: 0; padding: 52svh var(--pad) 36px; background: linear-gradient(180deg, rgba(9, 10, 14, 0) 38svh, var(--night) 58svh); }
  .final-stat { right: auto; left: var(--pad); bottom: auto; top: 34svh; align-items: flex-start; text-align: left; }
  .final-stat b { font-size: 44px; }
  .foot-slogan { white-space: normal; }
  .foot { padding-bottom: 84px; }
}
@media (max-width: 820px) and (max-height: 700px) { .s-hero .sub { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .s-hero, .s-proof .track { height: 100svh; }
  [data-rv], .row > *, .statement .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .row::after { transform: scaleX(1); transition: none; }
  .rstrip { overflow-x: auto; }
}

/* ───────── без скриптов (или если главный скрипт не загрузился): всё содержимое видно статично ───────── */
html:not(.js) .s-hero, html:not(.js) .s-proof .track { height: 100svh; }
html:not(.js) .rstrip { overflow-x: auto; }
html:not(.js) .row > * { opacity: 1; transform: none; }
html:not(.js) .row::after { transform: scaleX(1); }
html:not(.js) .yours, html:not(.js) .proj small { display: none; }

/* ───────── телефон, круг 3 ───────── */
@media (max-width: 820px) {
  .mbar { background: var(--night); }
  .vstage { margin-bottom: 78px; }              /* месяцы потока стоят над нижней полосой */
  .proof-note { padding-bottom: 18px; }
  .s-people { grid-template-columns: 1fr; grid-template-areas: "shots" "l" "rev"; }   /* лица выше текста */
  .revs { grid-template-columns: 1fr; }
  .model-head { grid-template-columns: 1fr; gap: 14px; }
  .path-line { left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .path-fill { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .path-dot { left: -4px; top: calc(var(--p) * 100%); margin: -5px 0 0; }
  .path-st { grid-template-columns: 1fr; gap: 0; }
  .st { padding: 0 0 28px 60px; }
  .st-label { padding-top: 11px; }
  .mapwrap { grid-template-columns: 1fr; gap: 14px; }
  .city text { font-size: 34px; } .city.is-quiet text { font-size: 26px; }
  .restlist { grid-template-columns: 1fr; }
  .toy { display: none; }                         /* макет при вводе уже ушёл бы с экрана */
  .final-in { padding-top: 43svh; background: linear-gradient(180deg, rgba(9, 10, 14, 0) 34svh, var(--night) 44svh); }
  .final-in h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .final-stat { top: calc(43svh - 132px); bottom: auto; right: auto; left: var(--pad); align-items: flex-start; text-align: left; padding: 10px 12px 11px; background: rgba(9, 10, 14, 0.88); border-radius: 4px; gap: 6px; }
  .final-stat::before { display: none; }
  .final-stat b { font-size: 38px; }
}

/* ───────── круг 4 ───────── */
@media (max-width: 820px) {
  .s-people { grid-template-areas: "shots" "l" "rev"; grid-template-rows: none; }
  .st { opacity: 0.62; }                          /* станции пути читаются и до прихода огонька */
  .final-in { padding-bottom: 22px; }
  .foot { padding: 26px var(--pad) 26px; }        /* в финале нижней полосы нет, пустота под контактами не нужна */
  .foot-slogan { margin-bottom: 18px; }
  .foot-row { gap: 10px 22px; font-size: 14px; }
  .foot-row a[href^="tel"] { color: var(--paper); }
  .city.is-quiet text { font-size: 28px; }
}

/* ───────── меню: пять пунктов в шапке; на узком экране выезжает справа ───────── */
.brand, .top-r { position: relative; z-index: 2; }
.menu { display: flex; align-items: center; z-index: 1; }
.menu-links { display: flex; gap: clamp(2px, 0.8vw, 12px); }
.menu-links a { font: 500 14px/1 var(--text); letter-spacing: 0.02em; color: var(--paper-2); padding: 10px; border-radius: 2px; white-space: nowrap; transition: color 0.25s; text-shadow: 0 1px 14px rgba(9, 10, 14, 0.9); }
.menu-links a:hover { color: var(--paper); }
.menu-links a[aria-current] { color: var(--gold); }
.menu-x, .burger { display: none; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.foot-nav a { color: var(--paper-2); transition: color 0.25s; }
.foot-nav a:hover { color: var(--paper); }
.foot-nav a[aria-current] { color: var(--gold); }
@media (max-width: 1180px) {
  .burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; }
  .burger i { display: block; width: 22px; height: 1.5px; background: var(--paper); transition: transform 0.4s var(--ease-out); }
  body.menu-open .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .menu { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 96px var(--pad) 40px; background: var(--night); transform: translateX(100%); visibility: hidden; transition: transform 0.5s var(--ease-out), visibility 0s 0.5s; overflow-y: auto; }
  body.menu-open .menu { transform: none; visibility: visible; transition: transform 0.5s var(--ease-out); }
  .menu-links { flex-direction: column; gap: 2px; }
  .menu-links a { font: 400 clamp(34px, 9vw, 54px)/1.1 var(--display); letter-spacing: -0.01em; color: var(--paper); padding: 8px 0; text-shadow: none; }
  .menu-x { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
  .menu-x .langs { margin-left: -8px; }
  .menu-tel { font: 400 26px/1 var(--display); color: var(--gold-hot); }
  .menu-tg { font: 500 16px/1 var(--text); color: var(--paper); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
  body.menu-open .top-cta { visibility: hidden; }
  body.menu-open .top { background: var(--night); }
}
@media (max-width: 820px) {
  .top-r > .langs { display: none; }
  .top-r { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .menu, .burger i { transition: none !important; } }
html:not(.js) .burger { display: none; }

/* ───────── анкета первого экрана (25.11): три вопроса, дом строится по ответам ───────── */
.qz-h1 { font-size: clamp(34px, min(4.5vw, 8.4vh), 74px); margin-bottom: clamp(16px, 2.6vh, 26px); max-width: 11.5em; text-wrap: balance; transition: opacity 0.28s, transform 0.4s var(--ease-out); }
html[lang="ru"] .qz-h1, html[lang="en"] .qz-h1 { font-size: clamp(32px, min(4vw, 7.8vh), 66px); }
.qz-h1.swap { opacity: 0; transform: translateY(10px); }
.quiz { width: 100%; max-width: 520px; }
.qz-n { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.qz-n i { width: 26px; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background-color 0.4s; }
.qz-n i.on { background: var(--gold); }
.qz-n span { margin-left: 8px; font: 500 13px/1 var(--text); color: var(--paper-2); letter-spacing: 0.04em; }
.qz-step { display: none; }
.qz-step.is-on { display: block; animation: qz-in 0.5s var(--ease-out); }
@keyframes qz-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qz-q { font: 500 clamp(17px, 1.35vw, 21px)/1.3 var(--text); color: var(--paper); margin-bottom: 12px; }
.qz-opts { display: flex; flex-direction: column; gap: 8px; }
.qz-opts button { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 18px; text-align: left; font: 500 16px/1.3 var(--text); color: var(--paper);
  background: rgba(16, 18, 26, 0.82); border: 1px solid var(--line-strong); border-radius: 3px; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.qz-opts button svg { width: 16px; height: 16px; flex: none; opacity: 0.5; transition: transform 0.4s var(--ease-out), opacity 0.25s; }
.qz-opts button:hover, .qz-opts button:focus-visible { border-color: var(--gold); background: rgba(217, 180, 95, 0.12); }
.qz-opts button:hover svg { opacity: 1; transform: translateX(4px); }
.qz-opts button.picked { background: var(--gold); border-color: var(--gold); color: #14110a; }
.qz-done:not([hidden]) { display: block; animation: qz-in 0.6s var(--ease-out); }
.qz-lead { color: var(--paper-2); font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
.qz-tips { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: t; }
.qz-tips li { counter-increment: t; position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--paper); }
.qz-tips li::before { content: counter(t); position: absolute; left: 0; top: 9px; font: 400 22px/1 var(--display); color: var(--gold-hot); }
.qz-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.qz-btns .cta { min-height: 52px; font-size: 16px; }
.qz-copied { margin-top: 10px; font-size: 13px; color: var(--gold); }
.qz-re { margin-top: 12px; font: 500 13px/1 var(--text); color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.qz-re:hover { color: var(--paper); }
.hero-static { display: none; }
.h1s { font-size: clamp(38px, min(5.5vw, 10.6vh), 96px); margin-bottom: clamp(16px, 2.4vh, 28px); }
.s-hero .hud, .s-hero .hud-ctl { transition: opacity 0.8s var(--ease-out), visibility 0.8s; }
html.js .s-hero.quiz-wait .hud, html.js .s-hero.quiz-wait .hud-ctl { opacity: 0; visibility: hidden; }
/* без скриптов: прежний первый экран */
html:not(.js) .quiz, html:not(.js) .qz-h1 { display: none; }
html:not(.js) .hero-static { display: block; }
@media (max-width: 820px) {
  .qz-h1, html[lang="ru"] .qz-h1, html[lang="en"] .qz-h1 { font-size: clamp(28px, 7.8vw, 36px); margin-bottom: 12px; }
  .s-hero .hud { display: none; }          /* число 88 → 1 022 на телефоне — в следующей сцене */
  .qz-q { font-size: 16px; margin-bottom: 10px; }
  .qz-opts button { min-height: 48px; padding: 10px 14px; font-size: 15px; }
  .qz-tips li { font-size: 14px; padding: 8px 0 8px 30px; }
  .qz-btns .cta { width: 100%; justify-content: space-between; }
  .s-hero .copy .eyebrow { display: flex; font-size: 12.5px; margin-bottom: 10px; }
}
@media (max-width: 1100px) and (min-width: 821px) { .copy { width: min(56vw, 600px); } }
.qz-n[hidden] { display: none; }
@media (max-width: 820px) {
  .s-hero.quiz-end .copy .eyebrow, .s-hero.quiz-end .qz-lead { display: none; }
  .s-hero.quiz-end .qz-h1 { margin-bottom: 8px; }
  .qz-tips { margin-bottom: 14px; }
  .qz-tips li { font-size: 13.5px; line-height: 1.45; }
}

/* ───────── разбор 25.11: правки первого экрана ───────── */
.qz-h1 { white-space: pre-line; }                        /* «Quruvchimisiz?» и «Sizga 3 ta savolimiz bor» — две строки, два смысла */
.s-hero .copy .eyebrow { text-wrap: balance; }
/* число 88 → 1 022 под советами, в колонке текста */
.hud.in-quiz { position: relative; right: auto; bottom: auto; align-items: flex-start; text-align: left; margin: 0 0 16px; }
.hud.in-quiz::before { display: none; }
.hud.in-quiz .hud-what { font-size: 13px; margin-bottom: 6px; }
.hud.in-quiz .hud-a, .hud.in-quiz .hud-b { align-items: flex-start; gap: 5px; }
.hud.in-quiz .hud-n0 { font-size: clamp(28px, 3vw, 40px); color: var(--paper); }
.hud.in-quiz .hud-num { font-size: clamp(44px, min(4.6vw, 8vh), 64px); text-align: left; min-width: 0; }
.hud.in-quiz .hud-arrow { font-size: clamp(22px, 2vw, 30px); padding-bottom: 0.9em; }
.hud.in-quiz .hud-c { font-size: 13px; color: var(--paper); }
.hud.in-quiz .hud-legend { margin-top: 8px; font-size: 12.5px; color: var(--paper-2); }
.hud.in-quiz .hud-legend i { width: 7px; height: 9px; }
.hud.in-quiz .hud-src { display: none; }
.s-hero.quiz-end .copy .eyebrow, .s-hero.quiz-end .qz-lead { display: none; }
.qz-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 10px; }
.qz-hint, .qz-foot .qz-copied { margin: 0; font-size: 13px; line-height: 1.4; color: var(--paper-2); }
.qz-foot .qz-copied { color: var(--gold); }
.qz-hint[hidden], .qz-foot .qz-copied[hidden] { display: none; }
.qz-foot .qz-re { margin-top: 0; flex: none; }
@media (max-width: 820px) {
  /* телефон: сцена ~40 % экрана, анкета сразу под домами, без пустого асфальта */
  .s-hero:not(.quiz-end) .pin { justify-content: flex-start; padding-top: max(38svh, 230px); }
  .veil { background: linear-gradient(0deg, var(--night) 0%, var(--night) 52svh, rgba(9, 10, 14, 0.86) 58svh, rgba(9, 10, 14, 0) 64svh), linear-gradient(180deg, rgba(9, 10, 14, 0.55) 0%, rgba(9, 10, 14, 0) 16%); }
  .s-hero .copy .eyebrow { letter-spacing: 0.02em; }
  .s-hero .copy .eyebrow::before { display: none; }
  .s-hero .hud.in-quiz { display: none; }  /* на телефоне число — в следующей сцене, экрану не хватает высоты */
  .qz-foot { flex-wrap: wrap; }
}
@media (min-width: 821px) {
  /* финал анкеты: заголовок из ответа короче по роли, но длиннее по словам — меньше кегль, чтобы колонка не упиралась в меню */
  .s-hero.quiz-end .qz-h1, html[lang="ru"] .s-hero.quiz-end .qz-h1, html[lang="en"] .s-hero.quiz-end .qz-h1 { font-size: clamp(30px, min(3.3vw, 6.2vh), 52px); max-width: 13em; }
}

/* ───────── карта 25.11: Ташкент и Ферганская долина, точки проектов ───────── */
.umap { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: start; }
.umap-fig { position: relative; }
.reg { fill: rgba(243, 239, 230, 0.025); stroke: rgba(243, 239, 230, 0.16); stroke-width: 0.8; stroke-linejoin: round; }
.reg.is-f { fill: rgba(217, 180, 95, 0.06); stroke: rgba(217, 180, 95, 0.42); stroke-width: 1; }
.ct { font: 500 15px/1 var(--text); fill: var(--paper-2); letter-spacing: 0.02em; pointer-events: none; }
.pj { cursor: pointer; outline: none; }
.pj-hit { fill: transparent; }
.pj-d { fill: rgba(243, 239, 230, 0.3); transition: fill 0.5s, r 0.3s; }
.pj-g { fill: var(--gold-hot); opacity: 0; filter: blur(5px); transition: opacity 0.8s; }
.pj.on .pj-d { fill: var(--gold-hot); }
.pj.on .pj-g { opacity: 0.55; animation: pj-pulse 2.8s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -0.37s); }
.pj.is-par.on .pj-d { fill: #fff3d6; }
.pj.hi .pj-d, .pj:focus-visible .pj-d { r: 6; fill: #fff; }
.pj.hi .pj-g, .pj:focus-visible .pj-g { opacity: 0.95; animation: none; }
@keyframes pj-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.75; } }
.umap-tip { position: absolute; z-index: 4; min-width: 180px; max-width: 260px; padding: 11px 14px 12px; border-radius: 4px; background: rgba(14, 15, 20, 0.96); box-shadow: 0 0 0 1px rgba(217, 180, 95, 0.55), 0 14px 36px rgba(0, 0, 0, 0.55); pointer-events: none; display: flex; flex-direction: column; gap: 3px; }
.umap-tip[hidden] { display: none; }
.umap-tip b { font: 400 20px/1.15 var(--display); color: var(--gold-hot); }
.umap-tip .t-d { font-size: 13px; color: var(--paper); }
.umap-tip .t-w { font-size: 12.5px; color: var(--paper-2); }
.umap-tip em { font-style: normal; font-size: 12.5px; color: var(--gold); margin-top: 4px; }
.umap-tip em:empty, .umap-tip .t-d:empty { display: none; }
.umap-hint { margin-top: 6px; font-size: 13px; color: var(--paper-2); }
.umap-osm { margin-top: 2px; font-size: 11px; color: var(--muted); }
.umap .cityb { opacity: 1; padding: 10px 0 11px; }
.umap .cityb h3 { font-size: clamp(19px, 1.6vw, 24px); color: var(--paper); }
.umap .cityb ul { gap: 3px 16px; }
.umap .cityb li { font-size: 14px; cursor: default; transition: color 0.3s; }
.umap .cityb li.hi { color: var(--gold-hot); }
@media (max-width: 820px) {
  .umap { grid-template-columns: 1fr; }
  .ct { font-size: 24px; }
  .umap-fig .vmap { margin: 0 calc(var(--pad) * -1); width: calc(100% + var(--pad) * 2); }
}
.umap { grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); }
@media (max-width: 820px) { .umap { grid-template-columns: 1fr; } }

/* ───────── анкета 25.11: этапы дома подписаны, свой ответ, сообщение над домом ───────── */
.qz-n { align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.qz-seg { display: flex; flex-direction: column; gap: 6px; }
.qz-seg i { width: 64px; }
.qz-seg b { font: 500 11.5px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; }
.qz-seg:has(i.on) b { color: var(--gold); }
.qz-n > span#qz-n { margin-left: 6px; margin-top: -4px; }
.qz-opts button.qz-other { border-style: dashed; color: var(--paper-2); }
.qz-opts button.qz-other.is-open { border-style: solid; border-color: var(--gold); color: var(--paper); }
.qz-free { display: flex; gap: 8px; }
.qz-free[hidden] { display: none; }
.qz-free input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--gold); background: rgba(9, 10, 14, 0.85); color: var(--paper); font: 500 16px/1 var(--text); }
.qz-free input::placeholder { color: var(--muted); }
.qz-free input:focus { outline: none; box-shadow: 0 0 0 3px rgba(217, 180, 95, 0.25); }
.qz-free .cta { min-height: 50px; flex: none; }
.qz-toast { position: absolute; z-index: 6; left: 62%; top: 22%; transform: translate(-50%, 10px); max-width: min(440px, 80vw); padding: 10px 16px; border-radius: 3px; background: rgba(9, 10, 14, 0.86); box-shadow: 0 0 0 1px rgba(217, 180, 95, 0.6); font: 500 15px/1.35 var(--text); color: var(--gold-hot); text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.qz-toast.on { opacity: 1; transform: translate(-50%, 0); }
.qz-toast:empty { display: none; }
@media (max-width: 820px) {
  .qz-seg i { width: 48px; }
  .qz-opts .qz-other { min-height: 44px; }
  .qz-toast { left: 50%; top: 13svh; font-size: 14px; }
  .qz-free .cta { padding: 0 14px; }
}
.lb video.wide { height: auto; width: min(92vw, 1200px); aspect-ratio: 16 / 9; }

/* ───────── карта 25.11 (вечер): цвета партнёров, тусклые бренды, легенда ───────── */
.pj.k-assalom.on .pj-d, .lg-assalom i, .li-assalom b { fill: #ff9a3c; color: #ff9a3c; }
.pj.k-assalom .pj-g { fill: #ff8a2a; }
.pj.k-partner.on .pj-d, .lg-partner i, .li-partner b { fill: #ff4d3d; color: #ff5a4a; }
.pj.k-partner .pj-g { fill: #ff3b2f; }
.pj.k-assalom.on .pj-g, .pj.k-partner.on .pj-g { opacity: 0.6; }
.pj.k-brand .pj-d { fill: rgba(243, 239, 230, 0.18); }
.pj.k-brand.on .pj-d { fill: rgba(245, 214, 140, 0.55); }
.pj.k-brand.on .pj-g { opacity: 0.22; animation: none; }
.pj.k-star.on .pj-d { fill: #fff4c8; }
.pj.k-star.on .pj-g { opacity: 0.9; fill: #ffd24a; }
.pj.hi .pj-g { opacity: 0.95 !important; }
.pj.k-brand.hi .pj-d, .pj.k-assalom.hi .pj-d, .pj.k-partner.hi .pj-d { r: 4.5; }
.umap-leg { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--paper-2); }
.umap-leg li { display: flex; align-items: center; gap: 7px; }
.umap-leg i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.lg-own i { color: var(--gold-hot); }
.lg-assalom i { color: #ff9a3c; }
.lg-partner i { color: #ff5a4a; }
.lg-brand i { color: rgba(245, 214, 140, 0.55); box-shadow: none; }
.umap .cityb li[data-k] { cursor: default; }
.umap .cityb li[data-k].hi { color: var(--paper); }

/* приближение карты по клику на область */
.reg.is-f { cursor: zoom-in; transition: fill 0.3s; }
.reg.is-f:hover { fill: rgba(217, 180, 95, 0.12); }
.reg { vector-effect: non-scaling-stroke; }
.umap.zoomed .vmap { overflow: hidden; }
.umap.zoomed .reg.is-f { cursor: pointer; }
.pj-s { transform: scale(calc(1 / var(--z, 1))); }
.ct { font-size: calc(15px / var(--z, 1)); }
@media (max-width: 820px) { .ct { font-size: calc(24px / var(--z, 1)); } }

/* приближение по городу */
.cityz { fill: transparent; cursor: zoom-in; }
.ct[data-bb]:not([data-bb=""]) { pointer-events: auto; cursor: zoom-in; }
.ct[data-bb]:not([data-bb=""]):hover { fill: var(--gold-hot); }

/* подписи наших проектов — только при приближении к городу */
.pj-t { font: 500 11px/1 var(--text); fill: var(--paper); opacity: 0; pointer-events: none; transition: opacity 0.5s 0.4s; paint-order: stroke; stroke: rgba(9, 10, 14, 0.85); stroke-width: 3px; }
.umap.zc .pj-t { opacity: 0.92; }

/* статьи блога на главной */
.s-hblog .hb-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.s-hblog .hb-head p { max-width: 460px; color: var(--paper-2); font-size: 16px; line-height: 1.5; }
.hb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hb-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 4px; color: var(--paper); text-decoration: none; transition: border-color 0.3s, background 0.3s; }
.hb-card:hover { border-color: var(--gold); background: rgba(217, 180, 95, 0.05); }
.hb-card .tag { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.hb-card h3 { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.2; }
.hb-card p { font-size: 14.5px; line-height: 1.5; color: var(--paper-2); }
.hb-all { display: inline-block; margin-top: 22px; color: var(--gold); font-weight: 500; }
@media (max-width: 960px) { .hb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hb-grid { grid-template-columns: 1fr; } }

.s-hblog { padding: clamp(48px, 8vh, 88px) var(--pad); border-top: 1px solid var(--line); }

/* 26.11 — оффер на первом экране над анкетой (Элбек) */
.qz-offer { max-width: 30em; color: var(--paper-2); font: 500 clamp(15px, 1.2vw, 19px)/1.45 var(--text); margin: 0 0 clamp(16px, 2.6vh, 26px); padding-left: 14px; border-left: 2px solid var(--gold); text-wrap: pretty; }
.s-hero.quiz-end .qz-offer { display: none; }
html:not(.js) .qz-offer { display: none; }
@media (max-width: 820px) { .qz-offer { font-size: 14.5px; margin-bottom: 14px; padding-left: 11px; } }
.people-ask { margin-top: 18px; font: 500 15px/1.4 var(--text); color: var(--paper-2); }
.people-ask a { color: var(--gold); border-bottom: 1px solid currentColor; }
/* 27.11 Элбек: точки партнёров сильно тусклее, наши проекты и Yaponamama — ярче их */
.pj.k-assalom.on .pj-d, .pj.k-partner.on .pj-d { opacity: 0.42; }
.pj.k-assalom.on .pj-g, .pj.k-partner.on .pj-g { opacity: 0.12; animation: none; }
.pj.k-assalom.hi .pj-d, .pj.k-partner.hi .pj-d { opacity: 1; }

/* ───────── правки по критике 01.12 ───────── */
.qz-smm { display: inline-block; margin-top: 14px; padding: 6px 0; font-size: 14px; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.s-hero.quiz-end .qz-smm { display: none; }
.people-note, .umap-osm, .hud-src, .vm-cap, .lead-priv, .hb-card .tag, .qz-seg b { font-size: 13px; }
@media (max-width: 820px) {
  .s-hero .copy .eyebrow, .gate__label, .gate__sub, .gate__was { font-size: 13px; }
  /* первый экран: длинная строка об оплате и ссылка на SMM помещаются без прокрутки */
  .s-hero:not(.quiz-end) .pin { padding-top: max(32svh, 150px); padding-bottom: 8px; }
  .s-hero:not(.quiz-end) .veil { background: linear-gradient(0deg, var(--night) 0%, var(--night) 64svh, rgba(9, 10, 14, 0.9) 69svh, rgba(9, 10, 14, 0) 77svh); }
  .s-hero .copy .eyebrow { margin-bottom: 8px; }
  .s-hero:not(.quiz-end) .qz-h1 { font-size: clamp(25px, 7vw, 32px); margin-bottom: 10px; }
  .qz-smm { margin-top: 8px; padding: 4px 0; }
  /* итог анкеты: дома остаются над заголовком, текст на тёмном фоне */
  .s-hero.quiz-end .veil { background: linear-gradient(0deg, var(--night) 0%, var(--night) 70svh, rgba(9, 10, 14, 0.86) 75svh, rgba(9, 10, 14, 0) 82svh); }
}
@media (max-width: 820px) and (max-height: 720px) {
  .s-hero:not(.quiz-end) .pin { padding-top: 92px; }
  .s-hero:not(.quiz-end) .qz-opts button { min-height: 42px; padding: 7px 14px; }
  .s-hero:not(.quiz-end) .veil { background: rgba(9, 10, 14, 0.82); }
}
@media (min-width: 821px) {
  /* новый заголовок длиннее: держим две строки, чтобы колонка не заходила под меню */
  html[lang="uz"] .s-hero:not(.quiz-end) .qz-h1, html[lang="en"] .s-hero:not(.quiz-end) .qz-h1 { font-size: clamp(26px, min(2.75vw, 5.2vh), 46px); max-width: none; margin-bottom: clamp(12px, 2vh, 22px); }
  .s-hero .qz-smm { margin-top: 8px; }
}

/* ссылка на страницу «14 этапов» */
.proc-link { margin-top: 18px; font-size: 16px; line-height: 1.4; }
.proc-link a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.proc-link svg { width: 16px; height: 16px; flex: none; }
.s-price .proc-link a { color: #14110a; }

/* зона нажатия на телефоне не меньше 44 px (02.12.2026) */
@media (max-width: 820px) {
  .foot-nav { gap: 0 24px; }
  .foot-nav a, .foot-row a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-row { gap: 0 22px; }
  .menu-tg { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}

@media (max-width: 820px) { .foot-row .langs { margin-left: -8px; } }
/* 03.12.2026, скорость: текст первого экрана виден сразу, анимируется только сдвиг. Прозрачность 0 откладывала LCP на ~1 с */
.s-hero .fade, .ph .fade { opacity: 1; }
