/* ============================================================
 * LogiFleet — style.css
 * Ночной город: тёмная тема, неон cyan #22d3ee + magenta #ff2fb3,
 * amber акценты, glassmorphism. Адаптив 360 → 1440+.
 * ============================================================ */

:root {
  --bg: #050810;
  --bg-2: #0a1024;
  --surface: rgba(16, 24, 50, 0.55);
  --surface-solid: #0c1226;
  --border: rgba(148, 163, 216, 0.14);
  --text: #e8ecf8;
  --text-dim: #9aa3c0;
  --cyan: #22d3ee;
  --magenta: #ff2fb3;
  --amber: #ffb454;
  --violet: #7c6cf0;
  --cyan-glow: rgba(34, 211, 238, 0.35);
  --magenta-glow: rgba(255, 47, 179, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #050810 0%, #070c1c 45%, #0a1024 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.bot-open { overflow: hidden; }

img, svg { display: block; }
a { color: var(--cyan); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 88px 0; position: relative; }

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section__sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 44px;
}

/* ---------- Glass ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #0ea5c4);
  color: #04121a;
  box-shadow: 0 0 22px var(--cyan-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px var(--cyan-glow); }

.btn--neon {
  background: transparent;
  color: var(--magenta);
  border-color: var(--magenta);
  box-shadow: inset 0 0 12px rgba(255, 47, 179, 0.12);
}
.btn--neon:hover { box-shadow: 0 0 24px var(--magenta-glow), inset 0 0 14px rgba(255, 47, 179, 0.2); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ============================================================
 * Header
 * ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #05070f;
  box-shadow: 0 0 18px var(--cyan-glow);
}
.logo__mark svg { stroke: #05070f; }
.logo__word {
  display: block;
  height: 22px;
  width: auto;
  color: var(--text);
}

.header__nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header__nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.header__nav a:hover { color: var(--cyan); }

.header__cta { margin-left: 8px; }

/* Бургер */
.burger {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  margin-left: auto;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Переключатель Город/Регион ---------- */
.city-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.mode-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}
.mode-tabs__tab {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.mode-tabs__tab.is-active {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
}

.city-dropdown { position: relative; }
.city-dropdown__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}
.city-dropdown__btn:hover { border-color: var(--cyan); }
.city-dropdown__btn svg { transition: transform 0.2s ease; }
.city-dropdown.is-open .city-dropdown__btn svg { transform: rotate(180deg); }
.city-dropdown.is-disabled .city-dropdown__btn { opacity: 0.55; cursor: default; }

.city-dropdown__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  z-index: 60;
}
.city-dropdown.is-open .city-dropdown__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.city-dropdown__list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: background 0.12s ease, color 0.12s ease;
}
.city-dropdown__list button:hover { background: rgba(34, 211, 238, 0.1); color: var(--text); }
.city-dropdown__list button.is-active { color: var(--cyan); font-weight: 600; }

/* ============================================================
 * Hero
 * ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* Плавный fade-in после первого кадра (класс ставит js/scene.js) */
  opacity: 0;
  transition: opacity 1.3s ease 0.05s;
}
#hero-canvas.is-live { opacity: 1; }

/* Fallback без WebGL: статичный CSS-градиент «ночной город» */
.hero--no3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 20% 80%, rgba(34, 211, 238, 0.16), transparent 65%),
    radial-gradient(ellipse 55% 40% at 80% 75%, rgba(255, 47, 179, 0.14), transparent 65%),
    radial-gradient(ellipse 90% 55% at 50% 110%, rgba(18, 26, 58, 0.9), transparent 70%),
    linear-gradient(180deg, #05070f 0%, #080d1e 55%, #0b1130 100%);
}
.hero--no3d::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 30px, rgba(34, 211, 238, 0.32) 30px 33px, transparent 33px 64px,
      rgba(255, 47, 179, 0.26) 64px 67px, transparent 67px 100px,
      rgba(255, 180, 84, 0.2) 100px 102px, transparent 102px 140px),
    repeating-linear-gradient(0deg,
      rgba(120, 150, 220, 0.1) 0 2px, transparent 2px 46px),
    linear-gradient(180deg, transparent, rgba(9, 13, 28, 0.9));
  mask-image: linear-gradient(180deg, transparent, #000 25%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 48% at 80% 10%, rgba(124, 108, 240, 0.17), transparent 65%),
    radial-gradient(48% 40% at 12% 6%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(36% 30% at 45% 0%, rgba(255, 47, 179, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.42) 0%, rgba(5, 8, 16, 0.1) 40%, rgba(5, 8, 16, 0.88) 100%);
  pointer-events: none;
}

.hero__content { position: relative; z-index: 2; width: 100%; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-bottom: 22px;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* Бейдж «Повышенные ставки» (surge из админки) — неон-amber */
.surge-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffd166;
  background: rgba(255, 180, 84, 0.1);
  border: 1px solid rgba(255, 180, 84, 0.45);
  box-shadow: 0 0 14px rgba(255, 180, 84, 0.22), inset 0 0 10px rgba(255, 180, 84, 0.06);
  white-space: nowrap;
}
.surge-badge[hidden] { display: none; }
.surge-badge--hero { margin: 0 0 22px 10px; vertical-align: middle; }
.surge-badge--income { margin-left: 10px; }
.surge-badge--calc { display: flex; width: fit-content; margin: 10px auto 0; }
@media (max-width: 640px) {
  .surge-badge--hero { margin-left: 0; margin-top: -12px; display: inline-flex; }
  .surge-badge--income { margin-left: 0; margin-top: 8px; }
}

.hero__title {
  font-size: clamp(34px, 6.4vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin-bottom: 20px;
}
.hero__title .neon-cyan { color: var(--cyan); text-shadow: 0 0 26px var(--cyan-glow); }
.hero__title .neon-magenta { color: var(--magenta); text-shadow: 0 0 26px var(--magenta-glow); }

.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 34px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

/* Плавающие stat-карточки */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
}
.stat-card {
  padding: 18px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }
.stat-card__value {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.stat-card:nth-child(2) .stat-card__value { color: var(--magenta); }
.stat-card:nth-child(3) .stat-card__value { color: var(--amber); }
.stat-card__label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ============================================================
 * Сегменты ЦА
 * ============================================================ */
.segments { background: var(--bg-2); }
.segments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.segment-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.segment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 211, 238, 0.08);
}
.segment-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.segment-card:nth-child(2) .segment-card__icon { color: var(--magenta); background: rgba(255, 47, 179, 0.1); border-color: rgba(255, 47, 179, 0.25); }
.segment-card:nth-child(3) .segment-card__icon { color: var(--amber); background: rgba(255, 180, 84, 0.1); border-color: rgba(255, 180, 84, 0.25); }
.segment-card__title { font-size: 20px; font-weight: 700; }
.segment-card__tag { font-size: 13px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.segment-card__text { color: var(--text-dim); font-size: 15px; flex: 1; }
.segment-card__text em { color: var(--text); font-style: normal; font-weight: 600; }
.segment-card__link {
  align-self: flex-start;
  font-weight: 600;
  font-size: 15px;
  color: var(--cyan);
  background: none;
  border: none;
  padding: 0;
}
.segment-card__link:hover { text-decoration: underline; }

/* ============================================================
 * Калькулятор дохода
 * ============================================================ */
.calc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.calc__panel { padding: 34px; }
.calc__roles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.calc__role {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.calc__role:hover { border-color: var(--cyan); color: var(--text); }
.calc__role.is-active {
  background: rgba(34, 211, 238, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.18);
}

.calc__slider-group { margin-bottom: 28px; }
.calc__slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.calc__slider-head label { font-size: 15px; font-weight: 600; }
.calc__slider-value { font-size: 18px; font-weight: 800; color: var(--cyan); }

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--cyan) var(--fill, 50%), rgba(255, 255, 255, 0.1) var(--fill, 50%));
  border-radius: 999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid #06202a;
  box-shadow: 0 0 14px var(--cyan-glow);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid #06202a;
  box-shadow: 0 0 14px var(--cyan-glow);
  cursor: grab;
}

.calc__result {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-color: rgba(34, 211, 238, 0.3);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(34, 211, 238, 0.08), transparent 70%),
    var(--surface);
}
.calc__result-label { font-size: 14px; color: var(--text-dim); margin-bottom: 10px; }
.calc__result-sum {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.calc__result-sum .sep { color: var(--magenta); padding: 0 6px; font-weight: 400; }
.calc__result-period { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.calc__result-note {
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 22px;
}
.calc__result .btn { align-self: center; }

/* ============================================================
 * Тарифные карточки
 * ============================================================ */
.tariffs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.tariff-card {
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tariff-card:hover { transform: translateY(-5px); border-color: rgba(255, 47, 179, 0.4); }
.tariff-card__icon { color: var(--magenta); margin-bottom: 14px; }
.tariff-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tariff-card__rate { font-size: 26px; font-weight: 800; color: var(--text); }
.tariff-card__rate span { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.tariff-card__month { font-size: 13px; color: var(--cyan); margin: 4px 0 12px; }
.tariff-card__note { font-size: 13px; color: var(--text-dim); }

/* ============================================================
 * Шаги подключения
 * ============================================================ */
.steps { background: var(--bg-2); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step-card { padding: 28px 24px; position: relative; }
.step-card__num {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
  color: #05070f;
  background: linear-gradient(135deg, var(--cyan), #0ea5c4);
  box-shadow: 0 0 16px var(--cyan-glow);
  margin-bottom: 18px;
}
.step-card:nth-child(even) .step-card__num {
  background: linear-gradient(135deg, var(--magenta), #d61f93);
  box-shadow: 0 0 16px var(--magenta-glow);
}
.step-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card__text { font-size: 14px; color: var(--text-dim); }
.step-card__time {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
 * Бонусы
 * ============================================================ */
.bonuses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bonus-card { padding: 30px; }
.bonus-card__amount {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--amber);
  text-shadow: 0 0 22px rgba(255, 180, 84, 0.3);
  margin-bottom: 8px;
}
.bonus-card:nth-child(2) .bonus-card__amount { color: var(--magenta); text-shadow: 0 0 22px var(--magenta-glow); }
.bonus-card:nth-child(3) .bonus-card__amount { color: var(--cyan); text-shadow: 0 0 22px var(--cyan-glow); }
.bonus-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.bonus-card__text { font-size: 14px; color: var(--text-dim); }

/* ============================================================
 * Отзывы
 * ============================================================ */
.reviews { background: var(--bg-2); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.review-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review-card__quote { font-size: 15px; color: var(--text); flex: 1; }
.review-card__quote::before { content: '«'; color: var(--cyan); }
.review-card__quote::after { content: '»'; color: var(--cyan); }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #05070f;
  flex-shrink: 0;
}
.review-card:nth-child(1) .review-card__avatar { background: var(--cyan); }
.review-card:nth-child(2) .review-card__avatar { background: var(--magenta); }
.review-card:nth-child(3) .review-card__avatar { background: var(--amber); }
.review-card__name { font-weight: 700; font-size: 15px; }
.review-card__meta { font-size: 13px; color: var(--text-dim); }

/* ============================================================
 * FAQ
 * ============================================================ */
.faq__list { max-width: 780px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.is-open { border-color: rgba(34, 211, 238, 0.4); }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.faq-item__chevron {
  flex-shrink: 0;
  color: var(--cyan);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item__a-inner {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ============================================================
 * Финальный CTA + футер
 * ============================================================ */
.final-cta { text-align: center; }
.final-cta__box {
  padding: 64px 34px;
  border-color: rgba(34, 211, 238, 0.3);
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    radial-gradient(ellipse 70% 80% at 80% 100%, rgba(255, 47, 179, 0.1), transparent 60%),
    var(--surface);
}
.final-cta__title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.final-cta__sub { color: var(--text-dim); max-width: 560px; margin: 0 auto 30px; }
.final-cta__phone { margin-top: 22px; font-size: 14px; color: var(--text-dim); }
.final-cta__phone a { font-size: 18px; font-weight: 700; }
.final-cta__messenger a { font-size: 14px; font-weight: 600; }

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
  background: var(--bg-2);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__nav a { color: var(--text-dim); font-size: 14px; }
.footer__nav a:hover { color: var(--cyan); }
.footer__disclaimer {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 760px;
  line-height: 1.55;
}
.footer__disclaimer strong { color: var(--amber); font-weight: 600; }

/* ============================================================
 * Плавающая кнопка бота
 * ============================================================ */
.bot-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #05070f;
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bot-fab:hover { transform: scale(1.08); box-shadow: 0 8px 40px rgba(255, 47, 179, 0.5); }
.bot-fab::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.5);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================================
 * Бот-опросник (модальный чат)
 * ============================================================ */
.bot-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 5, 11, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.bot-overlay.is-open { opacity: 1; visibility: visible; }

.bot {
  width: 100%;
  max-width: 460px;
  height: min(720px, 92vh);
  display: flex;
  flex-direction: column;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.3s ease;
  will-change: transform;
}
.bot-overlay.is-open .bot { transform: translateY(0) scale(1); }

.bot__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.bot__avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #05070f;
  flex-shrink: 0;
}
.bot__title { font-weight: 700; font-size: 15px; }
.bot__status { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.bot__status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.bot__close {
  margin-left: auto;
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 22px;
  line-height: 1;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.bot__close:hover { color: var(--text); border-color: var(--cyan); }

.bot__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.bot__progress-label { font-size: 12px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.bot__progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bot__progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 0.4s ease;
}

.bot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot__msg {
  max-width: 82%;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  animation: msg-in 0.25s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bot__msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
}
.bot__msg--user {
  align-self: flex-end;
  background: rgba(34, 211, 238, 0.16);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-bottom-right-radius: 5px;
  color: var(--text);
}
.bot__msg-system {
  align-self: center;
  font-size: 12px;
  color: var(--text-dim);
}

.bot__msg--typing { display: flex; gap: 5px; padding: 15px 17px; }
.bot__msg--typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typing-bounce 1.1s ease-in-out infinite;
}
.bot__msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.bot__msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.bot__input-area { padding: 0 18px; }
.bot__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
}
.bot__option {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.bot__option:hover { border-color: var(--cyan); color: var(--cyan); }
.bot__option--primary {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}

.bot__form { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.bot__field {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}
.bot__field:focus { border-color: var(--cyan); }
.bot__field::placeholder { color: var(--text-dim); }
.bot__form-error { font-size: 13px; color: #ff6b81; min-height: 16px; }
.bot__submit {
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), #0ea5c4);
  color: #04121a;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bot__submit:hover { transform: translateY(-1px); box-shadow: 0 0 22px var(--cyan-glow); }
.bot__privacy { font-size: 11px; color: var(--text-dim); text-align: center; }

.bot__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}
.bot__back {
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.bot__back:hover:not(:disabled) { color: var(--text); border-color: var(--cyan); }
.bot__back:disabled { opacity: 0.35; cursor: default; }
.bot__hint { font-size: 12px; color: var(--text-dim); }

/* ============================================================
 * Reveal-анимации
 * ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ============================================================
 * Адаптив
 * ============================================================ */
@media (min-width: 769px) {
  .bot-overlay { align-items: center; padding: 24px; }
  .bot { border-radius: 20px; }
}

@media (max-width: 1024px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tariffs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .header__nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 7, 15, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .header__nav a:last-child { border-bottom: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .city-switch { margin-left: auto; }
  .burger { margin-left: 0; }

  .segments__grid,
  .bonuses__grid,
  .reviews__grid { grid-template-columns: 1fr; }

  .hero { padding-top: 104px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 14px; }
  .tariffs__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .mode-tabs__tab { padding: 6px 9px; font-size: 12px; }
  .city-dropdown__btn { font-size: 13px; padding: 8px 10px; }
  .calc__panel, .calc__result { padding: 24px 20px; }
  .bot-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }

  /* Шапка: всё должно помещаться вместе с бургером */
  .header__inner { gap: 8px; }
  .city-switch { gap: 6px; }
  .city-dropdown__btn svg:first-child { display: none; }
  .city-dropdown__list { left: auto; right: 0; }
}

@media (max-width: 430px) {
  .logo { font-size: 0; gap: 0; }
  .logo__mark { margin-right: 0; }
  .logo .logo__word { display: none; }
  .footer .logo { font-size: 20px; gap: 10px; }
  .footer .logo .logo__word { display: block; }
}

/* ============================================================
 * prefers-reduced-motion: отключаем анимации и параллакс
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bot-fab::after { display: none; }
}

/* ============================================================
 * VISUAL UPGRADE v2 — aurora-фон, переливы, дороги, премиум-типографика
 * ============================================================ */

/* Вращающийся угол для conic-градиентных рамок (fallback: статичная рамка) */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ---------- Фон: aurora mesh + noise ---------- */
body::before {
  content: '';
  position: fixed;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 16% 10%, rgba(34, 211, 238, 0.13), transparent 70%),
    radial-gradient(38% 34% at 84% 20%, rgba(255, 47, 179, 0.11), transparent 70%),
    radial-gradient(52% 44% at 55% 88%, rgba(124, 108, 240, 0.12), transparent 70%),
    radial-gradient(30% 28% at 28% 68%, rgba(34, 211, 238, 0.08), transparent 70%),
    radial-gradient(26% 24% at 76% 55%, rgba(255, 180, 84, 0.06), transparent 70%);
  animation: aurora-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.07); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.04); }
}

/* Тонкая noise-текстура поверх всего (SVG feTurbulence, ~0.03) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='180'%20height='180'%20filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Секции: полупрозрачные тона, чтобы aurora «просвечивала» */
.hero { background: transparent; }
.segments { background: linear-gradient(180deg, rgba(10, 16, 36, 0.66), rgba(5, 8, 16, 0.28)); }
.steps    { background: linear-gradient(180deg, rgba(5, 8, 16, 0.28), rgba(10, 16, 36, 0.66)); }
.reviews  { background: linear-gradient(180deg, rgba(10, 16, 36, 0.66), rgba(5, 8, 16, 0.28)); }
.footer   { background: rgba(7, 11, 24, 0.85); }

/* Светящиеся разделители секций вместо резких стыков */
.segments::before, .steps::before, .reviews::before, .footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 2%, rgba(34, 211, 238, 0.4) 28%,
    rgba(124, 108, 240, 0.35) 52%,
    rgba(255, 47, 179, 0.35) 74%, transparent 98%);
  opacity: 0.6;
}
.footer { position: relative; }

/* ============================================================
 * Типографика v2
 * ============================================================ */
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.8vw, 4.6rem);
  letter-spacing: -0.01em;
  line-height: 1.09;
}

/* Акцентные слова: живой переливающийся градиент */
.hero__title .neon-cyan,
.hero__title .neon-magenta {
  text-shadow: none;
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 7s ease-in-out infinite;
}
.hero__title .neon-cyan {
  background-image: linear-gradient(100deg, #22d3ee 0%, #a5f3fc 24%, #22d3ee 50%, #67e8f9 76%, #22d3ee 100%);
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.38));
}
.hero__title .neon-magenta {
  background-image: linear-gradient(100deg, #ff2fb3 0%, #fda4e3 24%, #ff2fb3 50%, #f472d0 76%, #ff2fb3 100%);
  filter: drop-shadow(0 0 24px rgba(255, 47, 179, 0.35));
  animation-delay: -3.5s;
}
@keyframes text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.1vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.22;
  max-width: 800px;
}

/* Eyebrow-надпись: мелкий капс + градиентная риска */
.section__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section__label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.logo { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: 0.01em; }
.footer .logo { font-size: 17px; }

.stat-card__value,
.tariff-card__rate,
.bonus-card__amount,
.calc__result-sum,
.step-card__num {
  font-family: var(--font-display);
  font-weight: 500;
}
.calc__result-sum { font-size: clamp(1.2rem, 2.1vw, 1.6rem); }
.stat-card__value { font-size: clamp(0.9rem, 1.7vw, 1.25rem); white-space: nowrap; }
.bonus-card__amount { font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
.tariff-card__rate { font-size: 1.35rem; }

.final-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.25;
}

.hero__badge { font-weight: 700; letter-spacing: 0.02em; }

/* ============================================================
 * Glass v2: внутренняя подсветка, глубина
 * ============================================================ */
.glass {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 28px rgba(120, 150, 220, 0.05),
    0 14px 36px rgba(2, 4, 12, 0.38);
}

/* ============================================================
 * Кнопки: shine-свайп
 * ============================================================ */
.btn { position: relative; overflow: hidden; }
.btn--primary::before,
.btn--neon::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-170%) skewX(-18deg);
  animation: btn-shine 4.4s ease-in-out infinite;
}
.btn--neon::before {
  background: linear-gradient(105deg, transparent, rgba(255, 47, 179, 0.3), transparent);
}
@keyframes btn-shine {
  0%, 58%  { transform: translateX(-170%) skewX(-18deg); }
  88%, 100% { transform: translateX(360%) skewX(-18deg); }
}

/* ============================================================
 * Градиентные рамки карточек (conic, медленное вращение)
 * ============================================================ */
.segment-card, .tariff-card, .final-cta__box { position: relative; }
.segment-card::before,
.tariff-card::before,
.final-cta__box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle),
    rgba(34, 211, 238, 0.7), transparent 26%,
    rgba(255, 47, 179, 0.55) 52%, transparent 78%,
    rgba(34, 211, 238, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.4;
  animation: border-spin 8s linear infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tariff-card::before {
  background: conic-gradient(from var(--angle),
    rgba(255, 47, 179, 0.65), transparent 26%,
    rgba(34, 211, 238, 0.5) 52%, transparent 78%,
    rgba(255, 47, 179, 0.65));
}
.segment-card:hover::before,
.tariff-card:hover::before,
.final-cta__box:hover::before { opacity: 0.95; }
@keyframes border-spin { to { --angle: 360deg; } }

/* ============================================================
 * Tilt (JS): glare-блик
 * ============================================================ */
.tilt-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, 0.09), transparent 46%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.tilt-active:hover::after { opacity: 1; }

/* ============================================================
 * Marquee-лента
 * ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  background: rgba(8, 12, 26, 0.5);
  border-top: 1px solid rgba(148, 163, 216, 0.1);
  border-bottom: 1px solid rgba(148, 163, 216, 0.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}
.marquee__group i,
.marquee__group em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee__group i { color: var(--text-dim); }
.marquee__group em {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.marquee__group b { color: var(--cyan); font-size: 10px; font-weight: 400; opacity: 0.8; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ============================================================
 * Дороги-маршруты (SVG между/внутри секций)
 * ============================================================ */
.route-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.route-deco svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 78%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.route-deco--flip svg { transform: translateY(-50%) scaleY(-1); }
.route-deco--cta svg { top: 0; transform: none; height: 100%; opacity: 0.4; }

.route-deco__base { fill: none; stroke-width: 1.4; opacity: 0.32; }
.route-deco__run {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 16 238;
  opacity: 0.85;
  animation: route-dash 4.6s linear infinite;
}
#steps   .route-deco__base, #steps   .route-deco__run { stroke: url(#route-grad-1); }
#bonuses .route-deco__base, #bonuses .route-deco__run { stroke: url(#route-grad-2); }
#cta     .route-deco__base, #cta     .route-deco__run { stroke: url(#route-grad-3); }
@keyframes route-dash { to { stroke-dashoffset: -254; } }

.route-deco__dot {
  fill: #22d3ee;
  filter: drop-shadow(0 0 5px #22d3ee) drop-shadow(0 0 14px rgba(34, 211, 238, 0.65));
}
.route-deco__dot--magenta {
  fill: #ff2fb3;
  filter: drop-shadow(0 0 5px #ff2fb3) drop-shadow(0 0 14px rgba(255, 47, 179, 0.65));
}
.route-deco__dot--amber {
  fill: #ffb454;
  filter: drop-shadow(0 0 5px #ffb454) drop-shadow(0 0 14px rgba(255, 180, 84, 0.65));
}

/* ============================================================
 * Курсор-glow (включается JS при pointer:fine)
 * ============================================================ */
.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  background: radial-gradient(circle,
    rgba(34, 211, 238, 0.13), rgba(124, 108, 240, 0.07) 42%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* ============================================================
 * Header: градиентная линия при скролле
 * ============================================================ */
.header.is-scrolled {
  background: rgba(5, 8, 16, 0.78);
  border-bottom-color: transparent;
}
.header.is-scrolled::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 2%, rgba(34, 211, 238, 0.55) 32%,
    rgba(255, 47, 179, 0.45) 68%, transparent 98%);
}

/* ============================================================
 * Reveal v2: разнообразные направления, экспоненциальная кривая
 * ============================================================ */
.reveal {
  transition: opacity 0.7s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}
.reveal--left  { transform: translateX(-42px); }
.reveal--right { transform: translateX(42px); }
.reveal--scale { transform: translateY(20px) scale(0.96); }
.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible { opacity: 1; transform: none; }

/* ============================================================
 * Бот: премиальная модалка
 * ============================================================ */
.bot-overlay {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(34, 211, 238, 0.08), transparent 70%),
    rgba(3, 5, 11, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bot {
  background: linear-gradient(180deg, #0d1329 0%, #080d1c 100%);
  border-color: rgba(148, 163, 216, 0.2);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(34, 211, 238, 0.06),
    0 0 70px rgba(34, 211, 238, 0.07);
  transition: transform 0.38s var(--ease-out-expo);
}

/* Аватар с неоновым вращающимся кольцом */
.bot__avatar {
  position: relative;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.45);
}
.bot__avatar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 15px;
  padding: 1.5px;
  background: conic-gradient(from var(--angle),
    transparent 0%, rgba(34, 211, 238, 0.9) 18%, transparent 36%,
    rgba(255, 47, 179, 0.7) 68%, transparent 86%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: border-spin 3.6s linear infinite;
  pointer-events: none;
}

/* Пузыри: градиенты, мягкие тени, плавное появление */
.bot__msg { animation: msg-in 0.38s var(--ease-out-expo); }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.bot__msg--bot {
  background: linear-gradient(135deg,
    rgba(34, 211, 238, 0.1), rgba(124, 108, 240, 0.08) 55%, rgba(255, 47, 179, 0.07));
  border-color: rgba(148, 163, 216, 0.2);
  box-shadow: 0 8px 22px rgba(2, 4, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.bot__msg--user {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(14, 165, 196, 0.16));
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 8px 22px rgba(2, 4, 12, 0.3), 0 0 18px rgba(34, 211, 238, 0.12);
}
.bot__option {
  transition: all 0.18s ease;
  backdrop-filter: blur(6px);
}
.bot__option:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34, 211, 238, 0.15); }
.bot__option--primary { box-shadow: 0 0 14px rgba(34, 211, 238, 0.14); }
.bot__progress-fill { box-shadow: 0 0 10px rgba(34, 211, 238, 0.5); }

/* Плавающая кнопка бота: двойное pulse-кольцо */
.bot-fab::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 47, 179, 0.45);
  animation: fab-pulse 2.4s ease-out infinite 1.2s;
}

/* ============================================================
 * Адаптив v2: урезаем тяжёлые эффекты
 * ============================================================ */
@media (max-width: 768px) {
  body::before { opacity: 0.7; animation-duration: 36s; }
  .route-deco svg { opacity: 0.4; }
  .marquee__group i, .marquee__group em { font-size: 11px; }
  .section__title { font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .cursor-glow { display: none; }
  /* боковые reveal-сдвиги дают горизонтальный перелив на узких экранах */
  .reveal--left, .reveal--right { transform: translateY(26px); }
}

/* ============================================================
 * prefers-reduced-motion: всё новое выключаем
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .marquee__track { animation: none; transform: none; }
  .cursor-glow { display: none !important; }
  .route-deco__run { animation: none; stroke-dasharray: none; opacity: 0.5; }
  .btn--primary::before, .btn--neon::before { display: none; }
  .bot-fab::before { display: none; }
  .segment-card::before, .tariff-card::before,
  .final-cta__box::before, .bot__avatar::after { animation: none; }
  .hero__title .neon-cyan, .hero__title .neon-magenta { animation: none; }
  .reveal--left, .reveal--right, .reveal--scale { transform: none; }
}

/* Фикс каскада: display-лого не должно ломать шапку на ≤430px */
@media (max-width: 430px) {
  .logo { font-size: 0; gap: 0; }
  .logo__mark { margin-right: 0; }
  .logo .logo__word { display: none; }
  .footer .logo { font-size: 17px; gap: 10px; }
  .footer .logo .logo__word { display: block; }
}

/* ============================================================
 * Гео-баннер оффера переезда (js/geo.js)
 * Desktop: слева внизу (fab бота — справа, не перекрываем).
 * Mobile: снизу по центру, над fab. z-index ниже бота (300) и fab (200).
 * Появление slide-up через .is-visible; reduced-motion — без анимации.
 * ============================================================ */
.geo-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 400px;
  padding: 18px 40px 18px 18px;
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(34, 211, 238, 0.08),
    0 14px 40px rgba(2, 4, 12, 0.55),
    0 0 34px rgba(34, 211, 238, 0.14);
  opacity: 0;
  transform: translateY(28px);
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}
.geo-banner.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }

.geo-banner__pin {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--amber);
  background: rgba(255, 180, 84, 0.1);
  border: 1px solid rgba(255, 180, 84, 0.35);
  box-shadow: 0 0 16px rgba(255, 180, 84, 0.18);
}

.geo-banner__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.geo-banner__text { font-size: 14px; color: var(--text-dim); line-height: 1.45; }
.geo-banner__text strong { color: var(--text); }
.geo-banner__km { color: var(--cyan); font-weight: 700; }

.geo-banner__reloc {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.4;
  color: var(--amber);
  background: rgba(255, 180, 84, 0.08);
  border: 1px solid rgba(255, 180, 84, 0.3);
  box-shadow: 0 0 18px rgba(255, 180, 84, 0.1);
}
.geo-banner__reloc-sum { font-weight: 700; }
.geo-banner__reloc-text { color: var(--text-dim); }

.geo-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.geo-banner__close {
  position: absolute;
  top: 8px; right: 10px;
  width: 26px; height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.geo-banner__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* Mobile: снизу по центру, над fab бота (54px + отступы) */
@media (max-width: 768px) {
  .geo-banner {
    left: 12px;
    right: 12px;
    bottom: 86px;
    max-width: none;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-banner { transition: none; transform: none; }
}

/* ============================================================
 * POLISH v3 — финальная полировка деталей
 * Микро-моушен (transform/opacity-first), a11y focus-visible,
 * scroll-progress, nav-spy, состояния кнопок.
 * Hover-эффекты — только для точных указателей (pointer:fine).
 * ============================================================ */

/* ---------- A11y: неоновый focus-visible ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.14), 0 0 18px rgba(34, 211, 238, 0.25);
}
input[type="range"]:focus-visible { outline: none; box-shadow: none; }
.bot__field:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18); }

/* ---------- Scroll-progress: тонкая неоновая полоса сверху ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--magenta));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.55), 0 0 4px rgba(255, 47, 179, 0.4);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  will-change: transform;
}

/* ---------- Навигация: underline-анимация + активный пункт ---------- */
.header__nav a { position: relative; }
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease-out-expo);
}
.header__nav a.is-active { color: var(--cyan); }
.header__nav a.is-active::after { transform: scaleX(1); }

/* ---------- Кнопки: :active / :disabled / secondary-перелив ---------- */
.btn:active { transform: scale(0.97); }
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.btn--neon:hover {
  background: linear-gradient(135deg, rgba(255, 47, 179, 0.16), rgba(124, 108, 240, 0.12));
}

/* ---------- Чипы города/режима: мягкие свечения ---------- */
.mode-tabs__tab { transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease; }
.mode-tabs__tab.is-active { box-shadow: 0 0 12px rgba(34, 211, 238, 0.18); }
.city-dropdown__btn { transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.city-dropdown__list button { transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.city-dropdown__list button.is-active { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.25); }

/* ---------- Hero: пульс точки бейджа, glow stat-карточек ---------- */
.hero__badge-dot { animation: dot-pulse 2.2s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.82); }
}
.stat-card { transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; }

/* ---------- Карточки без hover: шаги, отзывы, бонусы ---------- */
.step-card, .review-card, .bonus-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

/* ---------- FAQ: плавное раскрытие + fade содержимого ---------- */
.faq-item { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-item.is-open { box-shadow: 0 10px 30px rgba(2, 4, 12, 0.4), 0 0 20px rgba(34, 211, 238, 0.05); }
.faq-item__a { transition: max-height 0.38s var(--ease-out-expo); }
.faq-item__a-inner {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.06s, transform 0.36s var(--ease-out-expo) 0.06s;
}
.faq-item.is-open .faq-item__a-inner { opacity: 1; transform: none; }
.faq-item__q { transition: color 0.18s ease; }

/* ---------- Калькулятор: thumb-glow при drag, pulse суммы ---------- */
input[type="range"]::-webkit-slider-thumb { transition: box-shadow 0.18s ease, transform 0.18s ease; }
input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.14);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.8), 0 0 0 7px rgba(34, 211, 238, 0.16);
}
input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.85), 0 0 0 6px rgba(34, 211, 238, 0.2);
}
input[type="range"]::-moz-range-thumb { transition: box-shadow 0.18s ease, transform 0.18s ease; }
input[type="range"]:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1.14);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.8), 0 0 0 7px rgba(34, 211, 238, 0.16);
}
input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.85), 0 0 0 6px rgba(34, 211, 238, 0.2);
}
.calc__role:active { transform: scale(0.96); }
.calc__result-sum.is-pulsing { animation: sum-pulse 0.45s var(--ease-out-expo); }
@keyframes sum-pulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.045); }
  100% { transform: scale(1); }
}

/* ---------- Футер и финальный CTA: glow-ссылки ---------- */
.footer__nav a { transition: color 0.18s ease, text-shadow 0.18s ease; }
.final-cta__phone a { transition: color 0.18s ease, text-shadow 0.18s ease; }
.footer__nav a:hover,
.final-cta__phone a:hover { color: var(--cyan); text-shadow: 0 0 14px rgba(34, 211, 238, 0.55); }

/* ---------- Hover-эффекты: только точные указатели (не тач) ---------- */
@media (hover: hover) and (pointer: fine) {
  .header__nav a:hover::after { transform: scaleX(1); }
  .stat-card:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(34, 211, 238, 0.1); }
  .step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 211, 238, 0.08);
  }
  .review-card:hover {
    border-color: rgba(124, 108, 240, 0.5);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 24px rgba(124, 108, 240, 0.12);
  }
  .bonus-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 180, 84, 0.42);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 180, 84, 0.09);
  }
  .faq-item:hover { border-color: rgba(34, 211, 238, 0.28); }
  .faq-item__q:hover { color: var(--cyan); }
  .city-dropdown__btn:hover { box-shadow: 0 0 14px rgba(34, 211, 238, 0.12); }
}

/* ---------- Reduced motion: всё новое выключаем ---------- */
@media (prefers-reduced-motion: reduce) {
  #hero-canvas { transition: none; }
  .hero__badge-dot { animation: none; }
  .calc__result-sum.is-pulsing { animation: none; }
  .header__nav a::after { transition: none; }
  .faq-item__a, .faq-item__a-inner { transition: none; }
  .faq-item__a-inner { opacity: 1; transform: none; }
}
