/* =========================================================
   ЯК Телеком — стили сайта
   Концепция: ночное небо и утренний туман чередуются полосами,
   подписи — как на авиаприборах (моноширинный шрифт).
   ========================================================= */

/* ---------- Шрифты (лежат на вашем хостинге, без Google) ---------- */
@font-face {
  font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
/* Макет: полосы «ночь / туман» во всю ширину, внутри — колонка до 1200px */
:root {
  --night: #0B1630;        /* ночное небо — тёмные секции */
  --night-2: #13244A;      /* приподнятые панели на тёмном */
  --night-line: rgba(138, 148, 166, 0.30);
  --sky-text: #F2F4F8;     /* текст на тёмном */
  --sky-dim: #A9B2C2;      /* вторичный текст на тёмном */
  --fog: #EDF1F5;          /* утренний туман — светлые секции */
  --fog-card: #FFFFFF;
  --fog-line: #D2D9E2;
  --ink: #121826;          /* текст на светлом */
  --ink-dim: #4E5A6E;      /* вторичный текст на светлом */
  --signal: #FF5F1F;       /* сигнальный оранжевый — единственный яркий акцент */
  --signal-ink: #C2410C;   /* оранжевый для мелкого текста на светлом */
  --horizon: #FFB547;      /* тёплый свет горизонта, только в градиентах */
  --good: #7BD9A9;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 16px;
  --band-pad: clamp(64px, 9vw, 120px);
  color-scheme: light;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--night);
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Полосы и колонка ---------- */
.band { position: relative; padding-block: var(--band-pad); overflow: hidden; }
.band--night { background: var(--night); color: var(--sky-text); }
.band--fog { background: var(--fog); color: var(--ink); }
.wrap {
  position: relative; max-width: 1200px; margin-inline: auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}

/* Заголовок секции: приборная подпись + заголовок + вводный абзац */
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--signal-ink);
}
.band--night .kicker { color: var(--horizon); }
.kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.12; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-dim); max-width: 62ch; }
.band--night .lead { color: var(--sky-dim); }
.mono { font-family: var(--font-mono); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #FF7A42; }
.btn--ghost { border-color: currentColor; background: transparent; }
.band--night .btn--ghost:hover { color: var(--horizon); }
.band--fog .btn--ghost:hover { color: var(--signal-ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 999px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 22, 48, 0.94); color: var(--sky-text);
  border-bottom: 1px solid var(--night-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sky-text); flex: 0 0 auto; }
.logo svg { width: 40px; height: 40px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }
.logo__tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--sky-dim); margin-top: 7px; }
.nav { display: flex; align-items: center; gap: 6px 24px; font-size: 15px; }
.nav a { text-decoration: none; color: #D3D9E3; padding: 8px 0; }
.nav a:hover { color: var(--horizon); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--font-mono); font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--horizon); }
.header-actions .btn--ghost { color: var(--signal); }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--night-line);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2px; background: var(--sky-text); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--night); border-bottom: 1px solid var(--night-line);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
  }
  .site-header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--night-line); font-size: 17px; }
}
@media (max-width: 640px) {
  .header-phone, .header-actions .btn--ghost { display: none; }
  .logo__tag { display: none; }
}

/* ---------- Первый экран ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) 0; }
.hero__isolines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__glow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 340px; pointer-events: none;
  background: radial-gradient(ellipse 55% 100% at 50% 100%, rgba(255,181,71,0.20), rgba(255,95,31,0.06) 45%, rgba(11,22,48,0) 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px 56px; align-items: center; }
.hero__text { display: grid; gap: 22px; min-width: 0; }
.coords { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: #B9C1CF; flex-wrap: wrap; }
.blink { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: blink 1.6s ease-in-out infinite; flex: 0 0 auto; }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -0.025em; }
.hero__line { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.3; color: var(--signal); }
.hero__sub { font-size: 18px; color: #C9D0DC; max-width: 36em; }

.locate {
  margin-top: 6px; padding: 22px; border: 1px solid var(--night-line); border-radius: 18px;
  background: rgba(19, 36, 74, 0.7); display: grid; gap: 14px; max-width: 620px;
}
.locate label { font-family: var(--font-display); font-weight: 500; font-size: 16px; }
.locate__row { display: flex; flex-wrap: wrap; gap: 10px; }
.locate input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1px solid rgba(138, 148, 166, 0.55); background: var(--night); color: var(--sky-text); font-size: 16px;
}
.locate input::placeholder { color: #8892A5; }
.locate__note { font-size: 14px; color: #A9B2C2; }
.locate__note a { color: var(--sky-text); }

.radar-box { position: relative; width: 100%; max-width: 520px; justify-self: center; display: grid; gap: 14px; justify-items: center; min-width: 0; }
.radar { display: block; width: 100%; height: auto; }
.radar__sweep { transform-origin: 260px 260px; animation: sweep 7s linear infinite; }
.radar.is-scanning .radar__sweep { animation-duration: 1.1s; }
.radar__route { animation: fly 1.2s linear infinite; }
.radar__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.badge-5g {
  position: absolute; top: 3%; right: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--night); border: 1.5px solid var(--signal);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
}
.radar-status { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: #8A94A6; min-height: 1.6em; text-align: center; }
.radar-status .is-live { color: var(--horizon); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; padding: 26px 0 40px; margin-top: clamp(32px, 5vw, 56px); position: relative; }
.facts::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(255,181,71,0), rgba(255,181,71,0.75) 50%, rgba(255,181,71,0)); }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { flex: 0 0 auto; width: 28px; height: 28px; color: var(--signal); margin-top: 2px; }
.fact b { display: block; font-weight: 600; font-size: 17px; }
.fact span { display: block; font-size: 14.5px; line-height: 1.45; color: #A9B2C2; margin-top: 3px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .radar-box { max-width: 420px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Знакомо? ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 20px; background: var(--fog-card); border: 1px solid var(--fog-line); border-radius: var(--radius);
}
.pain p { font-size: 16.5px; line-height: 1.45; }
.bars { width: 30px; height: 24px; margin-top: 2px; }
.bars rect { fill: none; stroke: #9AA5B5; stroke-width: 1.5; }
.bars rect.on { fill: var(--signal); stroke: var(--signal); }
@media (max-width: 960px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Маршрут сигнала ---------- */
.route { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: wp; }
.route::before {
  content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background-image: linear-gradient(90deg, var(--signal) 50%, transparent 50%);
  background-size: 14px 2px; animation: dash 1.4s linear infinite;
}
.waypoint { position: relative; display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; min-width: 0; }
.waypoint__icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--night-2); border: 1.5px solid var(--night-line); color: var(--sky-text); position: relative; z-index: 1;
}
.waypoint__icon svg { width: 34px; height: 34px; }
.waypoint__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--horizon); }
.waypoint h3 { font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.waypoint p { font-size: 14.5px; color: var(--sky-dim); line-height: 1.45; }
.waypoint:last-child .waypoint__icon { border-color: var(--signal); }
@media (max-width: 900px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route::before { display: none; }
  .waypoint:not(:last-child)::after {
    content: ""; position: absolute; left: 35px; top: 76px; bottom: 4px; width: 2px;
    background-image: linear-gradient(180deg, var(--signal) 50%, transparent 50%); background-size: 2px 14px;
    animation: dash-v 1.4s linear infinite;
  }
  .waypoint { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 4px; padding-bottom: 24px; }
  .waypoint:last-child { padding-bottom: 0; }
  .waypoint__icon { grid-row: 1 / span 3; }
  .waypoint__num { align-self: end; padding-top: 10px; }
}

/* ---------- 5G без сказок ---------- */
.g5 {
  margin-top: clamp(56px, 8vw, 96px); padding: clamp(24px, 4vw, 48px); border-radius: 22px;
  background: var(--night-2); border: 1px solid var(--night-line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center;
}
.g5__text { display: grid; gap: 16px; min-width: 0; }
.g5__text p { color: #C9D0DC; }
.g5__badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--signal); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
}
.scale { display: grid; gap: 14px; min-width: 0; }
.scale__track { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.scale__seg { min-height: 64px; border-radius: 12px; padding: 12px 16px; display: grid; align-content: center; gap: 2px; }
.scale__seg b { font-family: var(--font-display); font-size: 20px; }
.scale__seg small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; }
.scale__seg--now { background: var(--signal); color: var(--ink); }
.scale__seg--next { border: 1.5px dashed var(--sky-dim); color: var(--sky-text); }
.scale__seg--next small { color: var(--sky-dim); }
.scale__marks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 14.5px; color: var(--sky-dim); line-height: 1.45; }
.footnote { font-size: 13.5px; color: #8A94A6; line-height: 1.5; }
@media (max-width: 860px) { .g5 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Комплекты ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 20px;
  background: var(--fog-card); border: 1px solid var(--fog-line);
}
.plan__code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--signal-ink); }
.plan h3 { font-size: 24px; line-height: 1.15; }
.plan__for { color: var(--ink-dim); font-size: 15.5px; margin-top: -8px; }
.plan ul { display: grid; gap: 10px; flex: 1 1 auto; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15.5px; line-height: 1.45; }
.plan li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border: 2px solid var(--signal); border-radius: 50%; }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 24px; padding-top: 16px; border-top: 1px solid var(--fog-line); font-variant-numeric: tabular-nums; }
.plan .btn { width: 100%; }
.plan--top { background: var(--night); color: var(--sky-text); border-color: var(--night); }
.plan--top .plan__code { color: var(--horizon); }
.plan--top .plan__for { color: var(--sky-dim); }
.plan--top .plan__price { border-top-color: var(--night-line); }
.plans-note {
  margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 14px;
  border: 1px dashed #A9B3C1; font-size: 15.5px; color: var(--ink-dim); max-width: 880px;
}
.plans-note b { color: var(--ink); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Видеонаблюдение ---------- */
.cctv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.cctv__list { display: grid; gap: 18px; margin: 28px 0 32px; }
.cctv__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.cctv__list svg { width: 26px; height: 26px; color: var(--signal); margin-top: 2px; }
.cctv__list b { display: block; font-weight: 600; }
.cctv__list span { display: block; color: var(--sky-dim); font-size: 15.5px; }
.camframe { width: 100%; height: auto; border-radius: 18px; display: block; }
.blink-dot { animation: blink 1.6s ease-in-out infinite; }
@media (max-width: 900px) { .cctv { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Квиз ---------- */
.quiz {
  background: var(--fog-card); border: 1px solid var(--fog-line); border-radius: 22px;
  padding: clamp(20px, 4vw, 40px); max-width: 880px;
}
.quiz__progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-dim); }
.quiz__dots { display: flex; gap: 6px; }
.quiz__dots i { width: 28px; height: 6px; border-radius: 3px; background: var(--fog-line); }
.quiz__dots i.on { background: var(--signal); }
.quiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz legend { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; margin-bottom: 20px; padding: 0; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span {
  display: grid; gap: 4px; min-height: 84px; align-content: center; padding: 16px 18px; border-radius: 14px;
  border: 1.5px solid var(--fog-line); background: var(--fog); transition: border-color .15s ease, background-color .15s ease;
}
.option b { font-weight: 600; font-size: 16.5px; }
.option small { color: var(--ink-dim); font-size: 14px; line-height: 1.35; }
.option input:hover + span { border-color: #9AA5B5; }
.option input:checked + span { border-color: var(--signal); background: #FFF4EE; }
.option input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.quiz__nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.quiz__result { display: grid; gap: 14px; }
.quiz__result .plan__code { font-size: 12px; }
.quiz__result h3 { font-size: clamp(26px, 3vw, 34px); }
.quiz__result p { color: var(--ink-dim); max-width: 60ch; }
.quiz__result .quiz__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
@media (max-width: 720px) { .options { grid-template-columns: minmax(0, 1fr); } .option span { min-height: 64px; } }

/* ---------- Полётный план ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--night-line); min-width: 0; }
.step__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--horizon); }
.step h3 { font-size: 18px; line-height: 1.25; }
.step p { font-size: 15px; color: var(--sky-dim); line-height: 1.5; }
.step:first-child { border-top-color: var(--signal); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Правила ---------- */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.rule { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--fog-line); }
.rule svg { width: 30px; height: 30px; color: var(--signal-ink); }
.rule h3 { font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.rule p { color: var(--ink-dim); font-size: 15.5px; }
@media (max-width: 760px) { .rules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Экипаж ---------- */
.crew { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.crew__people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); }
.person__photo {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 12px; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, rgba(138,148,166,0.10) 0 10px, rgba(138,148,166,0.04) 10px 20px);
  border: 1px dashed var(--night-line); overflow: hidden;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__mono { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--sky-dim); }
.person b { font-size: 17px; }
.person span { font-size: 14px; color: var(--sky-dim); }
@media (max-width: 900px) { .crew { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Бортжурнал (включить, когда будут фото) ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--fog-card); border: 1px solid var(--fog-line); border-radius: 18px; overflow: hidden; }
.case img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.case div { padding: 18px; display: grid; gap: 6px; }
.case small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--signal-ink); }
@media (max-width: 900px) { .cases { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--fog-card); border: 1px solid var(--fog-line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 17px; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--signal-ink); border-bottom: 2px solid var(--signal-ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 20px 20px; color: var(--ink-dim); max-width: 68ch; }

/* ---------- Заявка ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 32px 48px; align-items: start; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3.5vw, 36px); border-radius: 22px; background: var(--night-2); border: 1px solid var(--night-line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 500; color: #D3D9E3; }
.field label i { font-style: normal; color: var(--signal); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; font-size: 16px;
  background: var(--night); color: var(--sky-text); border: 1px solid rgba(138,148,166,0.55);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8892A5; }
.field input[aria-invalid="true"] { border-color: var(--signal); }
.field__err { font-size: 13.5px; color: #FFB08A; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 8px 8px 14px; border-radius: 999px;
  border: 1px solid var(--signal); font-size: 14.5px;
}
.chip button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,95,31,0.18); color: var(--sky-text); cursor: pointer; line-height: 1; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; color: var(--sky-dim); line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--signal); }
.consent a { color: var(--sky-text); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 15px; line-height: 1.5; padding: 14px 16px; border-radius: 12px; }
.form__status.is-ok { background: rgba(123, 217, 169, 0.12); border: 1px solid rgba(123, 217, 169, 0.5); color: #CFF5E1; }
.form__status.is-err { background: rgba(255, 95, 31, 0.12); border: 1px solid rgba(255, 95, 31, 0.5); color: #FFD9C7; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.contacts { display: grid; gap: 22px; }
.contact small { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: #8A94A6; margin-bottom: 4px; }
.contact a, .contact p { font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.contact--big a { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); }
.contact a:hover { color: var(--horizon); }
@media (max-width: 900px) { .request { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Подвал ---------- */
.site-footer { background: #070F22; color: var(--sky-dim); padding-block: 40px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.site-footer .logo__tag { display: block; }
.footer__legal { display: grid; gap: 4px; margin-top: 18px; line-height: 1.5; }
.footer__links { display: grid; gap: 10px; justify-items: end; text-align: right; }
.footer__links a { color: #D3D9E3; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } .footer__links { justify-items: start; text-align: left; } }

/* ---------- Нижняя панель на телефоне ---------- */
.dock {
  display: none; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: rgba(11, 22, 48, 0.96); border-top: 1px solid var(--night-line);
  gap: 10px; grid-template-columns: 1fr 1fr;
}
.dock .btn { min-height: 48px; font-size: 15px; }
.dock .btn--ghost { color: var(--sky-text); }
@media (max-width: 760px) {
  .dock { display: grid; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Плашка о cookie ---------- */
.cookie {
  position: fixed; z-index: 70; left: var(--gutter-l); right: var(--gutter-r); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-inline: auto; padding: 16px 18px; border-radius: 16px;
  background: var(--fog-card); color: var(--ink); border: 1px solid var(--fog-line);
  box-shadow: 0 12px 40px rgba(11, 22, 48, 0.28); display: grid; gap: 12px; font-size: 14.5px;
}
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cookie { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Документы (политика, согласие, 404) ---------- */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin-bottom: 12px; }
.doc h2 { font-size: 20px; margin: 36px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; color: #2C3646; }
.doc ul, .doc ol { padding-left: 22px; list-style: disc; }
.doc ol { list-style: decimal; }
.doc .muted { color: var(--ink-dim); font-size: 15px; }
.lost { text-align: center; display: grid; gap: 22px; justify-items: center; padding-block: 40px; }
.lost h1 { font-size: clamp(30px, 4vw, 48px); }
.lost p { color: var(--sky-dim); max-width: 46ch; }

/* ---------- Анимации ---------- */
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes fly { to { stroke-dashoffset: -24; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes dash { to { background-position: 14px 0; } }
@keyframes dash-v { to { background-position: 0 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
