/* =========================================================
   ПЕРЕМЕННЫЕ — цвета и шрифты меняются здесь
   ========================================================= */
:root {
  --ink: #16181d;
  --ink-2: #23262e;
  --ink-3: #2f333d;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --white: #ffffff;

  --text: #16181d;
  --text-soft: #4d525e;
  --muted: #858a95;
  --on-ink: #f6f5f2;
  --on-ink-soft: #a9adb7;

  --accent: #ff5a1f;
  --accent-hover: #e94a10;
  --accent-soft: #ffe7dc;
  --night: #5b6cff;
  --night-soft: #e6e8ff;
  --ok: #22c55e;
  --warn: #c2410c;

  --line: rgba(22, 24, 29, 0.12);
  --line-strong: rgba(22, 24, 29, 0.85);
  --line-ink: rgba(255, 255, 255, 0.12);

  --radius: 6px;
  --radius-lg: 12px;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --header-h: 72px;

  --stripes: repeating-linear-gradient(-45deg, var(--accent) 0 12px, var(--ink) 12px 24px);
}

/* =========================================================
   БАЗА
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.is-hidden { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); }

/* =========================================================
   ШАПКА
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 241, 236, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: var(--accent); color: #fff; border-radius: var(--radius);
}
.brand__mark svg { width: 30px; height: 30px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong,
.footer__brand strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.brand__text em,
.footer__brand em { font-style: normal; color: var(--accent); }
.brand__text small { color: var(--muted); font-size: 12px; margin-top: 3px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: 15px; color: var(--text-soft); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header__contacts { display: flex; align-items: center; gap: 8px; }
.icon-link {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, color .2s;
}
.icon-link svg { width: 20px; height: 20px; }
.icon-link--telegram:hover { color: #229ed9; border-color: #229ed9; }
.icon-link--viber:hover { color: #7360f2; border-color: #7360f2; }
.header__phone {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 16px; border-radius: var(--radius);
  background: var(--ink); color: var(--on-ink); font-weight: 700; white-space: nowrap;
  transition: background .2s;
}
.header__phone:hover { background: var(--accent); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(48px, 7vw, 96px);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px,
    var(--paper);
}
.hero::before {
  /* дорожная разметка */
  content: ""; position: absolute; top: 0; bottom: 0; right: 38%; width: 6px;
  background: repeating-linear-gradient(to bottom, rgba(22,24,29,.07) 0 40px, transparent 40px 72px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 14px; font-weight: 600; color: var(--text-soft);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800; text-transform: uppercase;
}
.hero__accent {
  display: inline-block; padding: 0 .12em; margin: .04em 0;
  background: var(--accent); color: #fff;
  transform: skewX(-6deg);
}
.hero__lead { margin-top: 24px; max-width: 540px; font-size: 18px; color: var(--text-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.tariff-card {
  position: relative; overflow: hidden;
  padding: 34px 30px 28px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-ink);
  box-shadow: 0 30px 60px -20px rgba(22, 24, 29, 0.45);
}
.tariff-card__stripe { position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--stripes); }
.tariff-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tariff-card__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-ink-soft); }
.tariff-card__mode {
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255, 90, 31, 0.16); color: var(--accent);
}
.tariff-card__price { margin-top: 26px; padding-bottom: 24px; border-bottom: 1px dashed var(--line-ink); }
.tariff-card__price small { display: block; color: var(--on-ink-soft); font-size: 14px; }
.tariff-card__price strong {
  display: block; margin-top: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.4vw, 54px); letter-spacing: -0.03em;
}
.tariff-card__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.tariff-card__list li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.tariff-card__list span { color: var(--on-ink-soft); }
.tariff-card__list b { font-weight: 700; text-align: right; }
.tariff-card__note { margin-top: 22px; font-size: 13px; color: var(--on-ink-soft); }

/* бегущая строка */
.ticker { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); border-block: 4px solid var(--accent); }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker__track span {
  display: flex; align-items: center; gap: 26px; padding: 16px 13px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; text-transform: uppercase; white-space: nowrap;
}
.ticker__track span::after { content: ""; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   СЕКЦИИ
   ========================================================= */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2,
.contacts__text h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 17px; color: var(--text-soft); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.section-head--dark p:not(.kicker) { color: var(--on-ink-soft); }

/* =========================================================
   КАЛЬКУЛЯТОР
   ========================================================= */
.calculator-section { background: var(--white); }

.night-banner {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding: 16px 20px; border-radius: var(--radius-lg);
  background: var(--night-soft); color: #1f2a8a;
}
.night-banner svg { width: 28px; height: 28px; flex: none; color: var(--night); }
.night-banner strong { display: block; }
.night-banner span { font-size: 14px; }

.calculator { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.calculator__form { display: grid; gap: 16px; }

.step { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.step__head { display: flex; align-items: flex-start; gap: 16px; width: 100%; margin-bottom: 20px; }
.step__num {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--ink); color: var(--on-ink); font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.step__head strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step__head small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* транспорт */
.vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vehicle {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px; text-align: left; cursor: pointer;
  background: var(--white); border: 2px solid transparent; border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.vehicle:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 12px 24px -12px rgba(22,24,29,.25); }
.vehicle img { width: 100%; height: 70px; object-fit: contain; margin-bottom: 10px; filter: grayscale(.35); transition: filter .2s; user-select: none; }
.vehicle img.is-mirrored { transform: scaleX(-1); }
.vehicle strong { font-size: 15px; font-weight: 700; }
.vehicle small { font-size: 13px; color: var(--muted); }
.vehicle.is-active { border-color: var(--accent); box-shadow: none; }
.vehicle.is-active img { filter: none; }
.vehicle.is-active small { color: var(--accent); font-weight: 700; }
.vehicle.is-active::after {
  content: "✓"; position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
}

/* масса / кол-во */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chips--two { grid-template-columns: repeat(2, 1fr); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 16px 18px; border-radius: var(--radius-lg);
  background: var(--white); border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.chip strong { font-weight: 700; }
.chip small { color: var(--muted); font-size: 14px; }
.chip input:checked + span { border-color: var(--accent); box-shadow: none; }
.chip input:checked + span small { color: var(--accent); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* инфо-строка */
.info-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--white); border-left: 4px solid var(--accent); }
.info-line__icon { flex: none; font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.info-line p { color: var(--text-soft); font-size: 15px; }
.info-line strong { display: block; color: var(--text); margin-bottom: 2px; }

/* услуги */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; cursor: pointer;
  background: var(--white); border: 2px solid transparent; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.service input { position: absolute; opacity: 0; pointer-events: none; }
.service__box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 5px;
  border: 2px solid var(--line-strong); display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.service__box::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.service__text { flex: 1; min-width: 0; }
.service__text strong { display: block; font-weight: 700; }
.service__text small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.service b { flex: none; font-weight: 800; white-space: nowrap; }
.service input:checked ~ .service__box { background: var(--accent); border-color: var(--accent); }
.service input:checked ~ .service__box::after { opacity: 1; }
.service:has(input:checked) { border-color: var(--accent); box-shadow: none; }
.service input:focus-visible ~ .service__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.service--warn b { color: var(--warn); font-weight: 700; font-size: 14px; }

/* колёса */
.wheels { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.wheels__label { font-weight: 700; }
.wheels__label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.wheels__options { display: flex; gap: 6px; }
.wheels__options label { position: relative; cursor: pointer; }
.wheels__options input { position: absolute; opacity: 0; pointer-events: none; }
.wheels__options span {
  display: grid; place-items: center; min-width: 46px; height: 42px; padding: 0 12px;
  border-radius: var(--radius); border: 1px solid var(--line); font-weight: 700; transition: background .2s, color .2s;
}
.wheels__options input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.wheels__options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* итог */
.result {
  position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden;
  padding: 32px 26px 26px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-ink);
}
.result__stripe { position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--stripes); }
.result__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-ink-soft); }
.result__badge { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
.result__price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.result__price span { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.result__price small { font-size: 20px; font-weight: 700; }
.result__price.is-text span { font-size: 34px; }
.result__status { margin-top: 10px; color: var(--on-ink-soft); font-size: 14px; }

.result__details { list-style: none; margin: 22px 0; padding: 0; border-top: 1px dashed var(--line-ink); }
.result__details li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-ink); font-size: 14px; }
.result__details li span { color: var(--on-ink-soft); }
.result__details li strong { text-align: right; white-space: nowrap; }
.result__details li:last-child { border-bottom: 0; padding-top: 14px; font-size: 16px; }
.result__details li:last-child span { color: var(--on-ink); font-weight: 700; }
.result__details li:last-child strong { color: var(--accent); }

.result__warning { margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,90,31,.14); color: #ffb08f; font-size: 14px; }
.result__messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.result__messengers a { display: grid; place-items: center; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-ink); font-weight: 600; font-size: 14px; transition: background .2s; }
.result__messengers a:hover { background: rgba(255,255,255,.08); }
.result__note { margin-top: 18px; font-size: 12.5px; color: var(--on-ink-soft); }

/* ночной режим */
.night-tariff-active .tariff-card__mode,
.night-tariff-active .result__badge { background: rgba(91,108,255,.2); color: #b8c0ff; }

/* =========================================================
   КАК РАБОТАЕМ
   ========================================================= */
.how { background: var(--paper); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.how__steps li { position: relative; padding: 0 28px 0 0; }
.how__steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 72px; right: 12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px); opacity: .25;
}
.how__num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px;
}
.how__steps h3 { margin-top: 22px; font-size: 21px; font-weight: 700; }
.how__steps p { margin-top: 10px; color: var(--text-soft); }

/* =========================================================
   ПРЕИМУЩЕСТВА
   ========================================================= */
.advantages { background: var(--ink); color: var(--on-ink); }
.advantages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); border-radius: var(--radius-lg); overflow: hidden; }
.adv { padding: 32px 26px; background: var(--ink); transition: background .25s; }
.adv:hover { background: var(--ink-2); }
.adv__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: rgba(255,90,31,.14); color: var(--accent); }
.adv__icon svg { width: 26px; height: 26px; }
.adv h3 { margin-top: 24px; font-size: 19px; font-weight: 700; }
.adv p { margin-top: 10px; color: var(--on-ink-soft); font-size: 15px; }

/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contacts { position: relative; background: var(--accent); color: #fff; overflow: hidden; }
.contacts::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 12px; background: var(--stripes); }
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.contacts .kicker { color: var(--ink); }
.contacts__text p:not(.kicker) { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.9); }

.contacts__card { padding: 34px 30px; border-radius: var(--radius-lg); background: var(--white); color: var(--text); box-shadow: 0 30px 60px -24px rgba(22,24,29,.45); }
.contacts__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contacts__phone { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; transition: color .2s; }
.contacts__phone:hover { color: var(--accent); }
.contacts__methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.method { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.method:hover { transform: translateY(-2px); border-color: var(--ink); }
.method svg { width: 24px; height: 24px; color: var(--accent); }
.method--telegram svg { color: #229ed9; }
.method--viber svg { color: #7360f2; }
.method strong { display: block; font-weight: 700; }
.method small { display: block; color: var(--muted); font-size: 13px; }
.contacts__pay { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--text-soft); font-size: 15px; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer { background: var(--ink); color: var(--on-ink-soft); padding: 52px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand strong { color: var(--on-ink); }
.footer__brand p { margin-top: 6px; }
.footer__legal { display: grid; gap: 4px; justify-self: end; text-align: right; }
.footer__legal a,
.footer__cookie-settings { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__cookie-settings { padding: 0; border: 0; background: none; cursor: pointer; font-size: inherit; }
.footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-ink); }

/* мобильная кнопка */
.mobile-call {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px;
  height: 56px; border-radius: var(--radius-lg); background: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(255,90,31,.7);
}
.mobile-call svg { width: 20px; height: 20px; }

/* =========================================================
   COOKIE
   ========================================================= */
.cookie-consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(440px, calc(100% - 32px));
  padding: 22px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.5);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent strong { display: block; font-family: var(--font-display); font-size: 16px; }
.cookie-consent p { margin-top: 8px; font-size: 13.5px; color: var(--on-ink-soft); }
.cookie-consent a { color: var(--on-ink); text-decoration: underline; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-btn { min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-ink); background: transparent; color: var(--on-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.cookie-btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-btn--text { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.cookie-btn--light { color: var(--ink); border-color: var(--line); }

.cookie-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(22,24,29,.6); cursor: pointer; }
.cookie-modal__dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px; border-radius: var(--radius-lg); background: var(--white); }
.cookie-modal__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cookie-modal__header h2 { font-size: 22px; }
.cookie-modal__close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: none; font-size: 22px; line-height: 1; cursor: pointer; }
.cookie-modal__dialog > p { margin-top: 12px; color: var(--text-soft); font-size: 14px; }
.cookie-category { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px; border-radius: var(--radius-lg); background: var(--paper); }
.cookie-category strong { display: block; }
.cookie-category p { margin-top: 4px; font-size: 13px; color: var(--text-soft); }
.cookie-category em { font-style: normal; font-size: 12px; color: var(--muted); }
.cookie-switch { position: relative; flex: none; width: 46px; height: 26px; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: inherit; }
.cookie-switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9ccd3; transition: background .2s; pointer-events: none; }
.cookie-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cookie-switch input:checked + span { background: var(--accent); }
.cookie-switch input:checked + span::after { transform: translateX(20px); }
.cookie-switch input:disabled + span { opacity: .55; }
.cookie-switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.cookie-modal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
body.cookie-modal-open { overflow: hidden; }

/* =========================================================
   ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
   ========================================================= */
.privacy { padding: clamp(40px, 6vw, 80px) 0; }
.privacy .container { max-width: 860px; }
.privacy__head h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; text-transform: uppercase; }
.privacy__head h1 span { color: var(--accent); }
.privacy__head > p:not(.kicker) { margin-top: 18px; font-size: 17px; color: var(--text-soft); }
.privacy__body { margin-top: 36px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.privacy__section + .privacy__section { margin-top: 34px; padding-top: 34px; border-top: 1px dashed var(--line); }
.privacy__section h2 { display: flex; align-items: center; gap: 14px; font-size: 21px; font-weight: 700; }
.privacy__section h2 span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); font-size: 13px; }
.privacy__section h3 { margin-top: 20px; font-size: 16px; font-weight: 700; }
.privacy__section p,
.privacy__section li { color: var(--text-soft); }
.privacy__section p { margin-top: 12px; }
.privacy__section ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.privacy__section li::marker { color: var(--accent); }
.privacy__box { margin-top: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--accent); display: grid; gap: 2px; }
.privacy__box a { color: var(--accent); font-weight: 600; }
.privacy__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.privacy__updated { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__contacts { margin-left: auto; }
  .calculator { grid-template-columns: 1fr; }
  .result { position: static; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero__inner,
  .contacts__inner { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; gap: 28px; }
  .how__steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .how__steps li::after { display: none; }
  .how__num { grid-row: span 2; }
  .how__steps h3 { margin-top: 4px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__legal { justify-self: start; text-align: left; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header__phone { display: none; }
  .brand__text small { display: none; }
  .hero__actions .btn { width: 100%; }
  .chips { grid-template-columns: 1fr; }
  .step { padding: 20px 16px; }
  .advantages__grid { grid-template-columns: 1fr; }
  .contacts__methods { grid-template-columns: 1fr; }
  .method { flex-direction: row; align-items: center; }
  .mobile-call { display: flex; }
  body { padding-bottom: 80px; }
  .cookie-consent { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .result__price span { font-size: 54px; }
}

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

/* мелкие правки для узких экранов */
.btn,
.tariff-card__mode,
.result__badge { white-space: nowrap; }
.privacy__head h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 640px) {
  .privacy__head h1 { font-size: clamp(24px, 7.4vw, 40px); }
  .tariff-card { padding: 30px 20px 24px; }
}
