/* ──────────────────────────────────────────────────────────────────────────
   Эвакуатор — ночная трасса в свете фар.
   Фон один: мокрый асфальт. Светится только световозвращающее:
   знаковый белый и катафотный янтарь. Красный — ровно один раз, на ДТП.
   Рамок, карточек и разделителей нет: группирует темнота.
   ────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'PT Sans Narrow';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/pt-sans-narrow-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans Narrow';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/pt-sans-narrow-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/golos-text-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2212, U+FEFF, U+FFFD;
}

:root {
  /* Асфальт ночью — единственный фон */
  --asphalt:      #07080a;
  --asphalt-deep: #030405;

  /* Световозвращающее */
  --sign:    #f2f4f0;   /* знаковый белый */
  --amber:   #ffb302;   /* катафот, проблесковый маячок */
  --brake:   #f2543a;   /* задний катафот — ровно один раз на странице */

  /* Неосвещённое: то же вещество, до которого не дошёл свет */
  --dim:     rgba(242, 244, 240, .58);
  --ghost:   rgba(242, 244, 240, .42);
  --trace:   rgba(242, 244, 240, .16);

  --display: 'PT Sans Narrow', 'Arial Narrow', system-ui, sans-serif;
  --text:    'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --lane: clamp(1.25rem, 5vw, 5.5rem);   /* поле до края полосы */
  --beat: clamp(4.5rem, 11vh, 9rem);     /* вертикальный такт между блоками */

  --bx: 60%;  --by: 30%;                 /* положение света фар */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--sign);
  font-family: var(--text);
  font-size: clamp(1rem, .96rem + .25vw, 1.14rem);
  line-height: 1.55;
  font-feature-settings: 'tnum' 0;
}

/* Поверхности, которые рисует не я: они тоже часть мира */
::selection { background: var(--amber); color: var(--asphalt-deep); }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
* { scrollbar-color: rgba(242,244,240,.22) var(--asphalt); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--asphalt); }
::-webkit-scrollbar-thumb { background: rgba(242,244,240,.18); }
::-webkit-scrollbar-thumb:hover { background: rgba(242,244,240,.3); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, .num, .plate-num {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: .92;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--amber); color: var(--asphalt-deep);
  padding: .7rem 1.1rem; font-weight: 600;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* ── Световозвращение ──────────────────────────────────────────────────────
   База — ровный знаковый белый. Сверху копия текста, по которой ходит свет
   фар: там, где луч, вещество отвечает янтарём. Это материал, не украшение. */
.reflect { position: relative; display: inline-block; color: rgba(242, 244, 240, .72); }
.reflect::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: #ffd27a;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(34vw 34vw at var(--bx) var(--by), #000 0%, #000 30%, rgba(0,0,0,.45) 62%, transparent 88%);
          mask-image: radial-gradient(34vw 34vw at var(--bx) var(--by), #000 0%, #000 30%, rgba(0,0,0,.45) 62%, transparent 88%);
}
@supports not (mask-image: radial-gradient(#000, transparent)) {
  .reflect::after { display: none; }
}

/* Луч: пятно света лежит на асфальте и ведёт за собой световозвращающее */
.beam {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(46vw 40vw at var(--bx) var(--by),
    rgba(255, 208, 130, .13) 0%,
    rgba(255, 190, 96, .06) 38%,
    transparent 72%);
}

/* ── Хребет страницы: прерывистая разметка вдоль левого края ──────────── */
.lane-spine {
  position: fixed; top: 0; bottom: 0;
  left: calc(var(--lane) / 2 - 3px);
  width: 6px; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    var(--trace) 0 44px,
    transparent 44px 78px
  );
}
@media (max-width: 46rem) { .lane-spine { left: 6px; width: 4px; } }

/* ── Шапка ────────────────────────────────────────────────────────────── */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.4vh, 1.9rem) var(--lane) 0;
}
.mark {
  font-family: var(--display); font-size: .96rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; white-space: nowrap;
}
.mark b { color: var(--sign); font-weight: 700; }
.top-nav { display: flex; align-items: baseline; gap: clamp(1rem, 2.6vw, 2.4rem); }
.top-nav a {
  font-size: .82rem; white-space: nowrap; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); text-decoration: none;
  transition: color .18s ease;
}
.top-nav a:hover { color: var(--sign); }
.top-nav .on-air { color: var(--amber); display: inline-flex; align-items: center; gap: .5rem; }

.on-air { white-space: nowrap; }
.on-air::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
}
@media (max-width: 60rem) { .top-nav .hide-sm { display: none; } }
@media (max-width: 30rem) {
  .mark { font-size: .8rem; letter-spacing: .12em; }
  .top-nav a, .top-nav .on-air { font-size: .72rem; letter-spacing: .1em; }
}

/* ── Первый экран ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(96svh, 62rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--lane) clamp(2rem, 5vh, 4rem);
  isolation: isolate;
}
.hero-photo {
  position: absolute; z-index: -1;
  top: 0; right: 0; bottom: 0;
  width: min(74%, 82rem);
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* Свет уходит в темноту: фотография не в рамке, она растворяется в асфальте */
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--asphalt) 0%, rgba(7,8,10,.86) 26%, rgba(7,8,10,.28) 62%, rgba(7,8,10,.55) 100%),
    linear-gradient(to bottom, var(--asphalt) 0%, transparent 22%, rgba(7,8,10,.35) 72%, var(--asphalt) 100%);
}

.hero-head {
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  letter-spacing: .01em;
  max-width: 30ch;
  margin-bottom: clamp(1rem, 2.4vh, 1.8rem);
}

.hero-lede { max-width: 46ch; color: var(--dim); margin-top: .9rem; }

/* Щит с номером — самый крупный объект страницы, уходит за левый край */
.plate {
  display: block; width: max-content; max-width: none;
  margin-left: calc(var(--lane) * -1);
  padding: clamp(.5rem, 1.4vh, 1rem) clamp(1rem, 2.6vw, 2.2rem);
  border: 4px solid rgba(242, 244, 240, .82);
  border-left: 0;
  background: rgba(3, 4, 5, .5);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.plate:hover, .plate:focus-visible { background: rgba(242,244,240,.07); border-color: var(--sign); }
.plate-num {
  display: block;
  font-size: clamp(2.35rem, 8.2vw, 7rem);
  letter-spacing: .005em;
  white-space: nowrap;
}
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .35rem clamp(1rem, 2.6vw, 2.4rem);
  margin-top: clamp(1rem, 2.4vh, 1.6rem);
  font-size: .96rem; color: var(--dim); line-height: 1.5;
}
.hero-facts span { white-space: nowrap; }
.hero-facts b { color: var(--sign); font-weight: 600; }

/* ── Общая колонка ────────────────────────────────────────────────────── */
.band { padding: var(--beat) var(--lane); position: relative; }
.band > * { max-width: 74rem; }
.band-title {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  margin-bottom: 1.4rem;
}
.band-lede { max-width: 62ch; color: var(--dim); margin-bottom: clamp(2.2rem, 5vh, 3.4rem); }

/* ── Что перевозим: строки вдоль полосы, без карточек ─────────────────── */
.load { border-collapse: collapse; width: 100%; max-width: 74rem; }
.load-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: clamp(.6rem, 2.4vw, 2.4rem);
  align-items: baseline;
  padding: clamp(1.1rem, 2.6vh, 1.7rem) 0;
  background-image: linear-gradient(to right, var(--trace) 0 34px, transparent 34px 60px);
  background-size: 60px 1px; background-repeat: repeat-x; background-position: 0 0;
}
.load-row:first-child { background-image: none; }
.load-name { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2rem); }
.load-note { color: var(--dim); }
.load-tag {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); white-space: nowrap; justify-self: end;
}
.load-row.is-wreck .load-tag { color: var(--brake); }   /* единственный красный на странице */

/* ── Цена ─────────────────────────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.field { margin-bottom: clamp(1.8rem, 4vh, 2.6rem); }
.field-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  margin-bottom: .9rem;
}
.field-head output { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0; color: var(--sign); }

/* Ползунок — сама дорога с километровыми отметками */
input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 34px; background: transparent; cursor: ew-resize; margin: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 34px;
  background:
    linear-gradient(to right, rgba(255,179,2,.55) 0 var(--done, 15%), transparent var(--done, 15%)) center / 100% 2px no-repeat,
    repeating-linear-gradient(to right, rgba(242,244,240,.34) 0 18px, transparent 18px 34px) center / 100% 2px no-repeat;
}
input[type=range]::-moz-range-track {
  height: 34px;
  background:
    linear-gradient(to right, rgba(255,179,2,.55) 0 var(--done, 15%), transparent var(--done, 15%)) center / 100% 2px no-repeat,
    repeating-linear-gradient(to right, rgba(242,244,240,.34) 0 18px, transparent 18px 34px) center / 100% 2px no-repeat;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 8px; height: 34px; border: 0; border-radius: 1px;
  background: var(--amber);
}
input[type=range]::-moz-range-thumb {
  width: 8px; height: 34px; border: 0; border-radius: 1px;
  background: var(--amber);
}

/* Варианты стоят неосвещёнными, выбранный выхвачен светом */
.pick { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.pick button {
  font: inherit; font-size: .95rem; color: var(--dim);
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.pick button:hover { color: var(--sign); }
.pick button[aria-pressed=true] { color: var(--sign); border-bottom-color: var(--amber); }

.check { display: flex; gap: .8rem; align-items: flex-start; color: var(--dim); cursor: pointer; transition: color .15s ease; }
.check:hover { color: var(--dim); }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 1.4rem; height: 1.4rem; margin: .12rem 0 0; flex: none; cursor: pointer;
  border: 2px dashed rgba(242, 244, 240, .5);
  background: transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.check:hover input { border-color: var(--sign); }
.check input:checked { border: 2px solid var(--amber); background: var(--amber); }
.check input:checked ~ span { color: var(--sign); }

/* Табло: значение переключается рывком, старое затухает за один такт */
.readout { position: relative; }
.sum {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: .9;
  color: var(--sign); white-space: nowrap;
}
.sum-ghost {
  position: absolute; left: 0; top: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: .9;
  color: var(--sign); white-space: nowrap; pointer-events: none;
  animation: decay .34s linear forwards;
}
@keyframes decay { from { opacity: .5; filter: blur(0); } to { opacity: 0; filter: blur(3px); } }
@media (prefers-reduced-motion: reduce) { .sum-ghost { display: none; } }

.tags { margin-top: 1.4rem; display: grid; gap: .55rem; max-width: 44ch; }
.tag-line {
  display: flex; justify-content: space-between; gap: 1.5rem;
  font-size: .93rem; color: var(--dim);
}
.tag-line b { font-family: var(--display); font-size: 1.15rem; color: var(--sign); font-weight: 700; white-space: nowrap; }
.calc-note { margin-top: 1.6rem; color: var(--dim); max-width: 46ch; font-size: .93rem; }

/* ── Пока едем ────────────────────────────────────────────────────────── */
.wait { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.6rem, 4vw, 3rem); max-width: 74rem; }
.wait-item { max-width: 34ch; }
.wait-num {
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .18em;
  color: var(--amber); display: block; margin-bottom: .7rem;
}
.wait-item h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.wait-item p { color: var(--dim); font-size: .96rem; }

/* ── Куда выезжаем ────────────────────────────────────────────────────── */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; max-width: 74rem; }
.area-list li { font-family: var(--display); font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--dim); }
.area-list a { color: var(--sign); text-decoration: none; text-underline-offset: .28em; text-decoration-thickness: 2px; }
.area-list a:hover { text-decoration: underline; text-decoration-color: var(--amber); }

/* ── Закрытие ─────────────────────────────────────────────────────────── */
.closing {
  padding: clamp(5rem, 14vh, 10rem) var(--lane) clamp(7rem, 16vh, 11rem);
  background: var(--asphalt-deep);
}
.closing-head { font-size: clamp(1.9rem, 5vw, 3.6rem); margin-bottom: clamp(1.8rem, 4vh, 2.8rem); max-width: 18ch; }

.closing-note { margin-top: 1.6rem; color: var(--dim); max-width: 42ch; }

footer {
  padding: 2rem var(--lane) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: var(--dim);
}
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--sign); }

/* ── Полоса вызова на телефоне ────────────────────────────────────────── */
.callbar { display: none; }
@media (max-width: 46rem) {
  .top-nav .tel-sm { display: none; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: block; text-align: center; text-decoration: none;
    background: var(--amber); color: var(--asphalt-deep);
    font-family: var(--display); font-size: 1.5rem; letter-spacing: .01em;
    padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom));
    box-shadow: 0 -14px 34px -18px rgba(0,0,0,.95);
  }
  body { padding-bottom: 4.4rem; }
  .calc { grid-template-columns: 1fr; }
  .load-row { grid-template-columns: minmax(0, 1fr) auto; }
  .load-note { grid-column: 1 / -1; }
  .hero { min-height: auto; padding-top: clamp(1.5rem, 4vh, 3rem); }
  .hero-photo { position: relative; width: auto; height: 32svh; margin: 0 calc(var(--lane) * -1) clamp(1.8rem, 4vh, 2.6rem); }
  .hero-photo::after {
    background:
      linear-gradient(to bottom, rgba(7,8,10,.55) 0%, transparent 30%, rgba(7,8,10,.55) 75%, var(--asphalt) 100%);
  }
  .hero-facts { max-width: none; }
  .hero { padding-bottom: clamp(3.5rem, 9vh, 5rem); }
  .plate { border-width: 3px; }
}

/* Появление: содержимое видно по умолчанию, класс ставит только живой скрипт */
.js-in [data-lit] { opacity: 0; transform: translateY(14px); }
.js-in [data-lit].lit {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
@media (prefers-reduced-motion: reduce) {
  .js-in [data-lit] { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Страницы городов: тот же мир, что и главная. Отличия только там, где
   на городской странице есть данные, которых на главной нет.
   ══════════════════════════════════════════════════════════════════════════ */

.crumbs {
  padding: clamp(1rem, 2.6vh, 1.8rem) var(--lane) 0;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ghost);
}
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--sign); }

/* Абзац про город — единственное место, где на сайте есть длинный текст */
.prose { max-width: 68ch; color: var(--dim); }
.prose p + p { margin-top: 1rem; }

/* Особенности города: те же строки вдоль полосы, что и «что заберём» */
.spots { max-width: 74rem; }
.spot {
  padding: clamp(1.1rem, 2.6vh, 1.7rem) 0;
  background-image: linear-gradient(to right, var(--trace) 0 34px, transparent 34px 60px);
  background-size: 60px 1px; background-repeat: repeat-x; background-position: 0 0;
  max-width: 62ch;
}
.spot:first-child { background-image: none; }
.spot h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: .45rem; }
.spot p { color: var(--dim); }

/* Тарифы города: строка — цена, без рамок и заливок */
.rates { width: 100%; max-width: 62rem; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: clamp(.8rem, 2vh, 1.15rem) 0; vertical-align: baseline; }
.rates tr + tr th, .rates tr + tr td {
  background-image: linear-gradient(to right, var(--trace) 0 34px, transparent 34px 60px);
  background-size: 60px 1px; background-repeat: repeat-x; background-position: 0 0;
}
.rates th { font-weight: 400; color: var(--dim); padding-right: 2rem; }
.rates th a { color: var(--sign); text-decoration: none; text-underline-offset: .26em; }
.rates th a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.rates td {
  font-family: var(--display); font-weight: 700; white-space: nowrap; text-align: right;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
}
.rates-note { margin-top: 1.4rem; color: var(--dim); max-width: 60ch; font-size: .95rem; }

.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; }
.links a { font-family: var(--display); font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--sign); text-decoration: none; text-underline-offset: .28em; }
.links a:hover { text-decoration: underline; text-decoration-color: var(--amber); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   Документы: политика, согласия, куки. Длинный текст в том же мире.
   ══════════════════════════════════════════════════════════════════════════ */

.doc { max-width: 44rem; padding: clamp(2rem, 6vh, 4rem) var(--lane) clamp(4rem, 10vh, 7rem); }
.doc h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.doc .doc-meta { color: var(--ghost); font-size: .92rem; margin-bottom: clamp(2rem, 5vh, 3rem); }
.doc h2 {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  margin: clamp(2.2rem, 5vh, 3.2rem) 0 .8rem;
}
.doc h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.doc p, .doc li { color: var(--dim); max-width: 68ch; }
.doc p + p { margin-top: .9rem; }
.doc ul { margin: .9rem 0 0; padding-left: 1.2rem; }
.doc li { margin-bottom: .5rem; }
.doc li::marker { color: var(--amber); }
.doc a { color: var(--sign); text-underline-offset: .24em; text-decoration-color: var(--amber); }
.doc b, .doc strong { color: var(--sign); font-weight: 600; }
.doc .fill { color: var(--amber); border-bottom: 1px dashed rgba(255,179,2,.5); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.doc th, .doc td { text-align: left; padding: .7rem 1rem .7rem 0; color: var(--dim); vertical-align: top; font-size: .95rem; }
.doc thead th { color: var(--sign); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.doc tbody tr th, .doc tbody tr td {
  background-image: linear-gradient(to right, var(--trace) 0 34px, transparent 34px 60px);
  background-size: 60px 1px; background-repeat: repeat-x; background-position: 0 0;
}
.doc .opt-out { margin-top: 1.2rem; }
.doc .opt-btn {
  font: inherit; font-family: var(--display); font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: .02em; cursor: pointer;
  background: none; color: var(--sign); border: 2px solid rgba(242,244,240,.5);
  padding: .55rem 1.1rem; transition: border-color .15s ease, background-color .15s ease;
}
.doc .opt-btn:hover { border-color: var(--sign); background: rgba(242,244,240,.06); }
.doc .opt-state { display: block; margin-top: .7rem; color: var(--amber); font-size: .92rem; }

/* ══════════════════════════════════════════════════════════════════════════
   Полоса о куках. Не перекрывает номер: висит внизу, над полосой вызова.
   ══════════════════════════════════════════════════════════════════════════ */

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; gap: 1rem clamp(1rem, 3vw, 2.4rem); align-items: center; flex-wrap: wrap;
  padding: clamp(.9rem, 2.2vh, 1.2rem) var(--lane);
  background: var(--asphalt-deep);
  border-top: 1px solid var(--trace);
  box-shadow: 0 -14px 34px -18px rgba(0,0,0,.95);
}
.cookie.shown { display: flex; }
.cookie p { color: var(--dim); font-size: .94rem; max-width: 62ch; flex: 1 1 22rem; }
.cookie a { color: var(--sign); text-underline-offset: .22em; text-decoration-color: var(--amber); }
.cookie-btn {
  font: inherit; font-family: var(--display); font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  background: var(--amber); color: var(--asphalt-deep); border: 0; padding: .6rem 1.4rem;
}
.cookie-btn:hover { background: #ffc63f; }
@media (max-width: 46rem) {
  .cookie { bottom: 4.4rem; }
  body.has-cookie-bar .callbar { box-shadow: none; }
}
