/* ============================================
   FlexGo — редизайн. Общие стили + темы
   ============================================ */

:root {
  --accent: #E60000;
  --accent-2: #FF4444;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(230, 0, 0, 0.14);
  --accent-ring: rgba(230, 0, 0, 0.38);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1240px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 420ms;

  --font-display: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', Menlo, monospace;
}

/* ---------- THEMES ---------- */
[data-theme="dark"] {
  --bg: #0B0C10;
  --bg-2: #111319;
  --surface: #16181F;
  --surface-2: #1C1F28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #EFF1F6;
  --text-2: #A6ADBB;
  --text-3: #6B7280;
  --shadow-1: 0 10px 30px rgba(0,0,0,.35), 0 2px 0 rgba(255,255,255,.04) inset;
  --shadow-2: 0 30px 80px rgba(0,0,0,.55);
  --glass: rgba(255,255,255,0.04);
}

[data-theme="light"] {
  --bg: #F5F6F8;
  --bg-2: #EEF0F4;
  --surface: #FFFFFF;
  --surface-2: #F7F8FB;
  --line: rgba(10, 15, 30, 0.08);
  --line-strong: rgba(10, 15, 30, 0.14);
  --text: #0B0F1E;
  --text-2: #4A5366;
  --text-3: #8A93A3;
  --shadow-1: 0 1px 0 rgba(10,15,30,.04), 0 10px 24px rgba(10,15,30,.06);
  --shadow-2: 0 20px 60px rgba(10,15,30,.12);
  --glass: rgba(255,255,255,0.7);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.nav__left {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; letter-spacing: -0.02em;
}
.nav__logo {
  width: 34px; height: 34px; border-radius: 10px;
  background:
    linear-gradient(45deg, var(--accent-ink) 25%, transparent 25%) 0 0 / 10px 10px,
    linear-gradient(-45deg, var(--accent-ink) 25%, transparent 25%) 0 0 / 10px 10px,
    var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-weight: 900;
  box-shadow: 0 6px 18px var(--accent-ring);
  position: relative;
}
.nav__logo::after {
  content: "F"; position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--accent); border-radius: 8px;
  margin: 4px;
}
.nav__links {
  display: flex; gap: 28px; margin-left: 28px;
  color: var(--text-2); font-size: 14px; font-weight: 500;
}
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__spacer { flex: 1; }
.nav__phone {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__phone .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.35); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.nav__cta {
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav__cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  display: grid; place-items: center; color: var(--text);
  transition: all .2s var(--ease);
}
.theme-toggle:hover { background: var(--surface); }

@media (max-width: 840px) {
  .nav__links, .nav__phone { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Шашечный декор в левом верхнем углу — фирменный таксомоторный акцент */
.hero__checker {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 180px; height: 96px;
  background-image:
    linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1a1a1a 75%),
    linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-color: var(--accent);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, #000 35%, transparent 75%);
          mask-image: linear-gradient(135deg, #000 0%, #000 35%, transparent 75%);
  border-bottom-right-radius: 18px;
  pointer-events: none;
  z-index: 0;
  opacity: .92;
  animation: heroCheckerSlide 14s linear infinite;
}
@keyframes heroCheckerSlide {
  from { background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
  to   { background-position: 200px 0, 200px 10px, 210px -10px, 190px 0; }
}

/* ── ХАОТИЧНЫЕ ШАШКИ (генерируются через JS) ── */
/* Базовый стиль — JS добавляет инлайн-позиционирование */
.chk {
  position: absolute;
  background-image:
    linear-gradient(45deg, var(--accent) 25%, transparent 25%, transparent 75%, var(--accent) 75%),
    linear-gradient(45deg, var(--accent) 25%, transparent 25%, transparent 75%, var(--accent) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
  z-index: -1;
}
.hero { position: relative; overflow: hidden; }
#benefits { position: relative; overflow: hidden; }
#calc     { position: relative; overflow: hidden; }
#steps    { position: relative; overflow: hidden; }
#compare  { position: relative; overflow: hidden; }
#tm       { position: relative; overflow: hidden; }
#cert     { position: relative; overflow: hidden; }
#request  { position: relative; overflow: hidden; }
#faq      { position: relative; overflow: hidden; }
@media (max-width: 700px) {
  .hero__checker { width: 130px; height: 70px; }
}
.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100svh;
  padding: 120px 0 80px;
  position: relative;
  z-index: 2;
  max-width: 100% !important;
  padding-left: 5vw;
  padding-right: 5vw;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--accent-ring);
}
.hero__eyebrow .eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.hero__text {
  max-width: 720px;
  position: relative;
  z-index: 3;
}
.hero__title {
  font-size: clamp(38px, 5.5vw, 72px);
  margin: 22px 0 24px;
  font-weight: 800;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__title .accent-word {
  display: inline;
  color: var(--accent);
  background-image: linear-gradient(transparent 68%, var(--accent-soft) 68%, var(--accent-soft) 94%, transparent 94%);
  padding: 0 4px;
  border-radius: 4px;
}

/* ── ROTATING COURIER TYPE WORD ── */
.type-rotator {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  min-width: 5.5ch;
  color: var(--accent);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.type-rotator__word {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(60%) rotateX(-40deg) scale(0.88);
  transform-origin: center top;
  pointer-events: none;
  transition:
    opacity 0.42s cubic-bezier(.4,0,.2,1),
    transform 0.42s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.type-rotator__word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
  pointer-events: auto;
}
.type-rotator__word.is-leaving {
  position: absolute;
  opacity: 0;
  transform: translateY(-50%) rotateX(30deg) scale(0.9);
}

/* ── ALTERNATING SECTION BACKGROUNDS ── */
.section-alt {
  background: #fff;
  color: #0B0F1E;
}
.section-alt .section-tag { background: rgba(230,0,0,0.1); color: #E60000; }
.section-alt .section-title { color: #0B0F1E; }
.section-alt .section-sub { color: #4A5366; }
.section-alt .bcard {
  background: #F5F6F8;
  border-color: rgba(10,15,30,0.08);
  box-shadow: 0 1px 0 rgba(10,15,30,.04), 0 10px 24px rgba(10,15,30,.06);
}
.section-alt .bcard__t { color: #0B0F1E; }
.section-alt .bcard__d { color: #4A5366; }
.section-alt .bcard__num { color: rgba(10,15,30,0.15); }
.section-alt .bcard__ico { background: rgba(230,0,0,0.1); color: #E60000; }
.section-alt .faq-item {
  background: #F5F6F8;
  border-color: rgba(10,15,30,0.08);
}
.section-alt .faq-item summary { color: #0B0F1E; }
.section-alt .faq-item__body { color: #4A5366; }
.section-alt .tm-card {
  background: #F5F6F8;
  border-color: rgba(10,15,30,0.08);
}
.section-alt .tm-card__text { color: #4A5366; }
.section-alt .tm-card__name { color: #0B0F1E; }
.section-alt .tm-card__meta { color: #8A93A3; }
.section-alt .tm-arrow { background: #ECECEC; color: #0B0F1E; }
.section-alt .faq-tabs, .section-alt .faq-tab { border-color: rgba(10,15,30,0.12); }
.section-alt .faq-tab { color: #4A5366; }
.section-alt .faq-tab.is-active { background: #E60000; color: #fff; }

/* services */
.section-alt .services__tabs { background: #F0F0F0; border-color: rgba(0,0,0,0.1); }
.section-alt .services__tab { color: #4A5366; }
.section-alt .services__tab:hover { color: #0B0F1E; }
.section-alt .services__info h3 { color: #0B0F1E; }
.section-alt .services__info .lead { color: #4A5366; }
.section-alt .services__feats li { color: #0B0F1E; }
.section-alt .services__price { border-color: rgba(0,0,0,0.1); }
.section-alt .services__price .lbl { color: #4A5366; }
.section-alt .services__visual { background: #F0F1F3; border-color: rgba(0,0,0,0.08); }

/* calculator */
.section-alt .calc__card { background: #F5F6F8; border-color: rgba(0,0,0,0.08); }
.section-alt .calc__field label { color: #4A5366; }
.section-alt .calc__field label b { color: #0B0F1E; }
.section-alt .rl { color: #4A5366; }
.section-alt .rv { color: #0B0F1E; }
.section-alt .rv small { color: #4A5366; }
.section-alt .r-period { color: #8A93A3; }
.section-alt hr { border-color: rgba(0,0,0,0.1); }
.section-alt .rrow { color: #4A5366; }
.section-alt .rv2 { color: #0B0F1E; }
.section-alt .calc__disc { color: #8A93A3; }
.section-alt .calc__chip {
  background: #E8E8EC; color: #4A5366;
  border-color: rgba(0,0,0,0.1);
}
.section-alt .calc__chip.is-active { background: #E60000; color: #fff; }

#calc .section-title,
#calc .section-sub {
  color: #FFFFFF;
}
#calc .calc__result,
#calc .calc__result .rl,
#calc .calc__result .rv,
#calc .calc__result .rv small,
#calc .calc__result .r-period,
#calc .calc__result .rrow,
#calc .calc__result .rv2,
#calc .calc__result .calc__disc {
  color: #FFFFFF;
}
#calc .calc__result hr {
  border-top-color: rgba(255,255,255,.25);
}

/* cert — инлайн-стили используют var(--text-2/3), переопределяем через CSS vars */
.section-alt .cert__card { background: #F5F6F8; border-color: rgba(0,0,0,0.08); }
.section-alt .cert__title { color: #0B0F1E; }
.section-alt .cert__sub { color: #4A5366; }
.section-alt .cert__feat { color: #4A5366; }
.section-alt .cert__stats { --text-2: #4A5366; --text-3: #8A93A3; }
.section-alt #cert { --text-2: #4A5366; --text-3: #8A93A3; }

/* form + sroute */
.section-alt .form__card { background: #F5F6F8; border-color: rgba(0,0,0,0.08); }
.section-alt .form__label { color: #4A5366; }
.section-alt .form__input { background: #fff; border-color: rgba(0,0,0,0.15); color: #0B0F1E; }
.section-alt .form__input::placeholder { color: #9AA0B0; }
.section-alt .form__note { color: #8A93A3; }
.section-alt .form__input:focus { border-color: #E60000; }
.section-alt .form__perks { background: #F0F1F3; border-color: rgba(0,0,0,0.08); }
.section-alt .form__perks h3 { color: #0B0F1E; }
.section-alt .form__perks p { color: #4A5366; }
.section-alt .form__perks li { color: #4A5366; }
.section-alt .sroute__stop-time { color: #E60000; }
.section-alt .sroute__stop-title { color: #0B0F1E; }
.section-alt .sroute__stop-desc { color: #4A5366; }
.section-alt .steps-h__title { color: #0B0F1E; }
.section-alt .steps-h__desc { color: #4A5366; }
.section-alt .steps-h__time { color: #E60000; }

/* переопределяем CSS-переменные для section-alt чтобы инлайн-стили тоже работали */
.section-alt {
  --text: #0B0F1E;
  --text-2: #4A5366;
  --text-3: #8A93A3;
  --surface: #F5F6F8;
  --surface-2: #EBEBEF;
  --line: rgba(0,0,0,0.1);
  --line-strong: rgba(0,0,0,0.2);
}

.hero__sub {
  color: rgba(255,255,255,.80); font-size: 18px; max-width: 560px;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px var(--accent-ring);
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); }

.hero__stats {
  display: flex; gap: 40px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2);
}
.hero__stats .stat-n {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  letter-spacing: -0.03em; color: #fff;
}
.hero__stats .stat-l {
  color: rgba(255,255,255,.65); font-size: 13px; margin-top: 4px;
}

/* Hero art — fullscreen background, позиционируется JS-ом к .hero */
.hero__art {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  overflow: hidden;
  box-shadow: none;
  z-index: 0;
  /* когда вне .hero — прикрепляем к hero через JS */
}
/* затемняющий оверлей */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,10,20,.82) 0%,
    rgba(8,10,20,.60) 45%,
    rgba(8,10,20,.25) 100%
  );
  z-index: 10;
  pointer-events: none;
}
/* city-scene без скруглений */
.hero__art .city-scene {
  border-radius: 0;
  box-shadow: none;
}
.hero__map { display: none; }
.hero__map svg { display: none; }

/* ============================================
   CITY SCENE — улица с домами и едущим такси
   ============================================ */

/*
  Цикл 30с: 0–50% день (0–15с), 50–63% закат, 63–77% ночь, 77–100% рассвет
*/
@keyframes daycycle-bg {
  0%,50% { background: linear-gradient(to bottom, #BFE3FF 0%, #E5F3FF 45%, #FFF6E0 100%); }
  63%    { background: linear-gradient(to bottom, #1a1f3a 0%, #2a2640 45%, #3a2a3a 100%); }
  77%    { background: linear-gradient(to bottom, #6E5A9A 0%, #C97A8A 50%, #FFD27A 100%); }
  100%   { background: linear-gradient(to bottom, #BFE3FF 0%, #E5F3FF 45%, #FFF6E0 100%); }
}
@keyframes daycycle-overlay {
  0%,47% { background: rgba(0,0,0,0); }
  55%    { background: rgba(60,30,0,.12); }
  63%    { background: rgba(8,12,30,.55); }
  77%    { background: rgba(80,40,80,.20); }
  100%   { background: rgba(0,0,0,0); }
}
@keyframes daycycle-sun {
  /* 0–50%: солнце наверху, день */
  0%,46% { transform: translate(0,0) scale(1); background: radial-gradient(circle, #FFE066 0%, #FFB347 60%, transparent 75%); box-shadow: 0 0 60px rgba(255,179,71,.55); opacity: 1; }
  /* 50–55%: начало заката, опускается */
  54%    { transform: translate(-16px,60px) scale(1.15); background: radial-gradient(circle, #FFB347 0%, #FF6B1A 60%, transparent 75%); box-shadow: 0 0 80px rgba(255,107,26,.6); opacity: .8; }
  /* 60%: глубокий закат */
  60%    { transform: translate(-30px,110px) scale(1.1); background: radial-gradient(circle, #FF6B1A 0%, #B83A8A 70%, transparent 80%); box-shadow: 0 0 70px rgba(184,58,138,.5); opacity: .4; }
  /* 63%: ушло за горизонт */
  63%    { transform: translate(-50px,140px) scale(.6); opacity: 0; }
  /* 67%: появляется с другой стороны (рассвет) */
  67%    { transform: translate(50px,140px) scale(.6); opacity: 0; }
  /* 77%: рассвет */
  77%    { transform: translate(20px,80px) scale(1); background: radial-gradient(circle, #FFD9C0 0%, #FF9B6B 60%, transparent 75%); box-shadow: 0 0 60px rgba(255,155,107,.55); opacity: 1; }
  /* 100%: день */
  100%   { transform: translate(0,0) scale(1); background: radial-gradient(circle, #FFE066 0%, #FFB347 60%, transparent 75%); box-shadow: 0 0 60px rgba(255,179,71,.55); opacity: 1; }
}

.city-scene {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  z-index: 1;
  animation: daycycle-bg 30s ease-in-out infinite;
}
/* затеняющий слой поверх сцены, мягкий ночью */
.city-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  animation: daycycle-overlay 30s ease-in-out infinite;
}

/* ----- небо ----- */
.city-scene__sky {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  overflow: hidden;
}
.city-scene__sun {
  position: absolute;
  top: 12%; right: 12%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE066 0%, #FFB347 60%, transparent 75%);
  box-shadow: 0 0 60px rgba(255,179,71,.55);
  animation: daycycle-sun 30s ease-in-out infinite;
}
.cloud {
  position: absolute;
  height: 18px;
  background: rgba(255,255,255,.85);
  border-radius: 100px;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
}
.cloud::before { width: 24px; height: 24px; top: -10px; left: 12px; }
.cloud::after  { width: 18px; height: 18px; top: -8px;  left: 32px; }
[data-theme="dark"] .cloud,
[data-theme="dark"] .cloud::before,
[data-theme="dark"] .cloud::after { background: rgba(180,190,220,.35); }

.cloud--1 { width: 60px; top: 18%; left: -70px; animation: cloud-drift 32s linear infinite; }
.cloud--2 { width: 50px; top: 28%; left: -60px; animation: cloud-drift 45s linear infinite; animation-delay: -10s; transform: scale(.85); }
.cloud--3 { width: 70px; top: 12%; left: -90px; animation: cloud-drift 38s linear infinite; animation-delay: -20s; transform: scale(1.1); opacity: .8; }
@keyframes cloud-drift {
  to { transform: translateX(560px); }
}

/* ----- КАРТОЧКИ-ПРЕИМУЩЕСТВА (SVG-облака) ----- */
.benefit-cloud-wrap {
  position: absolute;
  pointer-events: none;
  animation: benefit-cloud-drift 22s linear infinite;
}
.benefit-cloud-wrap--1 { top: 6%;  animation-delay:    0s; }
.benefit-cloud-wrap--2 { top: 24%; animation-delay:  -5.5s; }
.benefit-cloud-wrap--3 { top: 4%;  animation-delay: -11s; }
.benefit-cloud-wrap--4 { top: 22%; animation-delay: -16.5s; }

.benefit-cloud {
  position: relative;
  width: 180px;
  height: 110px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.16));
}
.benefit-cloud__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.benefit-cloud__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  gap: 2px;
}
.benefit-cloud__ico   { font-size: 20px; line-height: 1; }
.benefit-cloud__title { font-size: 11px; font-weight: 700; color: #1a1a2e; line-height: 1.3; text-align: center; }
.benefit-cloud__sub   { font-size: 9px; color: #555; line-height: 1.2; text-align: center; }

@keyframes benefit-cloud-drift {
  0%   { transform: translateX(700px);  opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(-400px); opacity: 0; }
}

@media (max-width: 700px) {
  .benefit-cloud-wrap--2, .benefit-cloud-wrap--4 { display: none; }
  .benefit-cloud { width: 130px; height: 80px; }
  .benefit-cloud__content { padding-top: 14px; }
  .benefit-cloud__ico { font-size: 15px; }
  .benefit-cloud__title { font-size: 9px; }
  .benefit-cloud__sub { display: none; }
}

/* ----- УВЕДОМЛЕНИЕ О ЗАКАЗЕ ----- */
.hero-order-notify {
  position: absolute;
  bottom: calc(100% - 20px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  border: 1.5px solid rgba(255,210,0,0.4);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(8px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 10;
}
.hero-order-notify.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.hero-order-notify__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-order-notify__title {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}
.hero-order-notify__sub {
  font-size: 10px;
  color: #888;
}
.hero-order-notify__accept {
  width: 24px; height: 24px;
  background: #22c55e;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ----- ТАКСОМЕТР ----- */
.hero-meter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,18,0.85);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 7px 18px;
  pointer-events: none;
  z-index: 10;
  border: 1px solid rgba(255,210,0,0.25);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-meter__label {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,210,0,0.6);
  margin-bottom: 0;
}
.hero-meter__value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #E60000;
  text-shadow: 0 0 12px rgba(230,0,0,0.5);
  letter-spacing: .04em;
}
.hero-meter__withdraw {
  margin-top: 0;
  font-size: 10px;
  font-weight: 600;
  color: #4ade80;
  text-shadow: 0 0 10px rgba(74,222,128,0.6);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s, transform .4s;
}
.hero-meter__withdraw.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- силуэт города (дальний план) ----- */
.city-scene__skyline {
  position: absolute;
  bottom: 32%;
  left: 0; right: 0;
  height: 22%;
  color: var(--text);
  pointer-events: none;
  z-index: 1;
}

/* ----- передний план: дома прокручиваются ----- */
.city-scene__houses-track {
  position: absolute;
  bottom: 22%;
  left: 0; right: 0;
  height: 38%;
  overflow: hidden;
  z-index: 2;
}
.city-scene__houses {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding-left: 20px;
  height: 100%;
  width: max-content;
  animation: houses-scroll 22s linear infinite;
}
@keyframes houses-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== дома ===== */
.bld {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 14px 10px 0;
  align-content: start;
  background: linear-gradient(to bottom, #f0d9b8 0%, #d9b78a 100%);
  border: 2px solid #5a3a1a;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  box-shadow: inset -3px 0 0 rgba(0,0,0,.08);
}
[data-theme="dark"] .bld {
  background: linear-gradient(to bottom, #8a94b0 0%, #5a6280 100%);
  border-color: #3a4060;
}
.bld__roof {
  position: absolute;
  top: -10px; left: -4px; right: -4px;
  height: 12px;
  background: #8a4a2a;
  border: 2px solid #5a3a1a;
  border-radius: 4px 4px 0 0;
}
[data-theme="dark"] .bld__roof { background: #8a5a3a; border-color: #5a3a1a; }
.bld__win {
  width: 100%;
  aspect-ratio: 1 / 1.3;
  border: 1.5px solid #5a3a1a;
  border-radius: 2px;
  /* день: стекло тёмное; ночь: тёплый свет */
  animation: win-daynight 30s ease-in-out infinite, win-flicker 4s ease-in-out infinite;
}
.bld__win:nth-child(odd)  { animation-delay: 0s, -1s; }
.bld__win:nth-child(3n)   { animation-delay: 0s, -2s; }
/* часть окон навсегда тёмная (нежилые/офис) */
.bld__win:nth-child(5n)   { animation: win-daynight-dark 30s ease-in-out infinite; }

@keyframes win-daynight {
  0%   { background: rgba(140,160,200,.35); box-shadow: none; }          /* день */
  30%  { background: rgba(140,160,200,.35); box-shadow: none; }
  42%  { background: #FFE066; box-shadow: 0 0 10px rgba(255,224,102,.7); } /* огни включились */
  58%  { background: #FFE066; box-shadow: 0 0 18px rgba(255,224,102,.9); } /* ночь — ярко */
  72%  { background: #FFD27A; box-shadow: 0 0 8px rgba(255,210,100,.5);  } /* рассвет */
  82%  { background: rgba(140,160,200,.35); box-shadow: none; }          /* день снова */
  100% { background: rgba(140,160,200,.35); box-shadow: none; }
}
@keyframes win-daynight-dark {
  0%, 35%  { background: rgba(80,90,110,.25); box-shadow: none; }
  42%, 72% { background: rgba(80,100,140,.4); box-shadow: none; }
  80%, 100%{ background: rgba(80,90,110,.25); box-shadow: none; }
}
@keyframes win-flicker {
  0%, 92%, 100% { opacity: 1; }
  93%, 97%      { opacity: .7; }
}
.bld__door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 26px;
  background: #5a3a1a;
  border: 2px solid #3a1a02;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.bld__door::after {
  content: "";
  position: absolute;
  top: 50%; right: 3px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #FFE066;
  box-shadow: 0 0 4px #FFE066;
}
.bld__sign {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1.5px solid #3a1a02;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255,210,0,.5);
  animation: sign-glow 2s ease-in-out infinite;
}
@keyframes sign-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255,210,0,.5); }
  50%      { box-shadow: 0 0 18px rgba(255,210,0,.9); }
}

/* размеры/вариации домов */
.bld--a { width: 90px;  height: 130px; grid-template-columns: repeat(2, 1fr); }
.bld--b { width: 110px; height: 170px; grid-template-columns: repeat(3, 1fr); background: linear-gradient(to bottom, #c9d4e8 0%, #8a9bbf 100%); }
[data-theme="dark"] .bld--b { background: linear-gradient(to bottom, #c9d4e8 0%, #8a9bbf 100%); }
.bld--c { width: 130px; height: 110px; grid-template-columns: repeat(3, 1fr); background: linear-gradient(to bottom, #f4b9a0 0%, #c97a5a 100%); padding-top: 26px; }
[data-theme="dark"] .bld--c { background: linear-gradient(to bottom, #f4b9a0 0%, #c97a5a 100%); }
.bld--d { width: 100px; height: 190px; grid-template-columns: repeat(3, 1fr); }
.bld--e { width: 80px;  height: 140px; grid-template-columns: repeat(2, 1fr); background: linear-gradient(to bottom, #b8d4b8 0%, #7a9a7a 100%); }
[data-theme="dark"] .bld--e { background: linear-gradient(to bottom, #b8d4b8 0%, #7a9a7a 100%); }
.bld--f { width: 95px;  height: 150px; grid-template-columns: repeat(2, 1fr); }
.bld--g { width: 140px; height: 160px; grid-template-columns: repeat(3, 1fr); background: linear-gradient(to bottom, #e8d090 0%, #b8985a 100%); padding-top: 26px; }
[data-theme="dark"] .bld--g { background: linear-gradient(to bottom, #e8d090 0%, #b8985a 100%); }

/* деревья */
.tree {
  flex-shrink: 0;
  width: 38px;
  height: 70px;
  position: relative;
  align-self: flex-end;
}
.tree::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 24px;
  background: #5a3a1a;
  border-radius: 2px;
}
.tree::after {
  content: "";
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 50px;
  background: radial-gradient(circle at 50% 60%, #5fa05f 0%, #3a7a3a 70%);
  border-radius: 50%;
  border: 2px solid #2a4a2a;
}
[data-theme="dark"] .tree::after { background: radial-gradient(circle at 50% 60%, #2a4a2a 0%, #1a2818 70%); }
.tree--small { width: 28px; height: 50px; }
.tree--small::after { width: 28px; height: 36px; bottom: 14px; }
.tree--small::before { height: 18px; }

/* фонари */
.lamp {
  flex-shrink: 0;
  width: 18px;
  height: 110px;
  position: relative;
  align-self: flex-end;
}
.lamp::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, #4a4a55 0%, #2a2a35 100%);
  border-radius: 2px;
}
.lamp::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 12px;
  background: radial-gradient(ellipse at 50% 30%, #FFE066 0%, #FFB347 80%);
  border-radius: 4px 4px 8px 8px;
  border: 1.5px solid #3a3a48;
  box-shadow: 0 0 16px rgba(255,224,102,.7);
  animation: lamp-flick 3s ease-in-out infinite;
}
@keyframes lamp-flick {
  0%, 95%, 100% { opacity: 1; }
  96%, 98%      { opacity: .7; }
}

/* ----- тротуар ----- */
.city-scene__sidewalk {
  position: absolute;
  bottom: 18%;
  left: 0; right: 0;
  height: 4%;
  background:
    repeating-linear-gradient(90deg,
      #c8c0b0 0 28px,
      #b0a898 28px 30px);
  border-top: 2px solid #6a5a3a;
  border-bottom: 2px solid #6a5a3a;
  z-index: 3;
}
[data-theme="dark"] .city-scene__sidewalk {
  background:
    repeating-linear-gradient(90deg,
      #b8a898 0 28px,
      #a89888 28px 30px);
  border-color: #1a1828;
}


/* ----- дорога ----- */
.city-scene__road {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 18%;
  background: linear-gradient(to bottom, #3a3a48 0%, #2a2a35 100%);
  border-top: 2px solid #1a1a25;
  z-index: 3;
}
[data-theme="dark"] .city-scene__road {
  background: linear-gradient(to bottom, #3a3a48 0%, #2a2a35 100%);
}
.city-scene__lane {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 4px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    90deg,
    #FFE066 0 28px,
    transparent 28px 56px
  );
  animation: lane-scroll .6s linear infinite;
}
@keyframes lane-scroll {
  to { background-position: -56px 0; }
}

/* ----- ТАКСИ ----- */
.taxi-car {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 64%;
  max-width: 440px;
  aspect-ratio: 16 / 7;
  z-index: 5;
  transform: translateX(-50%);
  animation: car-bounce .35s ease-in-out infinite alternate;
}
@keyframes car-bounce {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-3px); }
}
.taxi-car__svg { display: none; } /* убрано, заменено img */
.taxi-car__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}
.taxi-car__shadow {
  position: absolute;
  bottom: -6px;
  left: 8%;
  right: 8%;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, transparent 70%);
  filter: blur(4px);
  animation: car-shadow-bob .35s ease-in-out infinite alternate;
}
@keyframes car-shadow-bob {
  from { transform: scaleX(1);   opacity: .7; }
  to   { transform: scaleX(.92); opacity: .55; }
}

/* Ночное свечение фары машины */
.car-headglow {
  animation: headglow-daynight 30s ease-in-out infinite !important;
}
@keyframes headglow-daynight {
  0%, 32%   { opacity: 0; }
  42%, 68%  { opacity: .9; }
  78%, 100% { opacity: 0; }
}

/* Знак такси на крыше — ночью ярче */
.taxi-sign-led {
  fill: #FFE066;
}
.taxi-roof-sign {
  animation: sign-daynight 30s ease-in-out infinite;
}
@keyframes sign-daynight {
  0%, 30%  { filter: none; }
  42%, 70% { filter: drop-shadow(0 0 4px rgba(255,220,0,.9)); }
  80%,100% { filter: none; }
}
@keyframes wheel-spin {
  to { transform: rotate(360deg); }
}
/*
  Колёса поверх фото.
  Изображение заполняет ширину контейнера (object-fit:contain, ratio ≈16:6.7).
  Заднее колесо: центр ≈21% left, ≈79% top от изображения → ≈11% left, ≈9% bottom в контейнере.
  Переднее: ≈75% left → ≈65% left. Диаметр ≈20% ширины.
  Используем repeating-conic-gradient для спиц — колесо с фото просвечивает насквозь.
*/
/*
  Вращающиеся спицы поверх фото.
  Прозрачный центр + прозрачный обод — виден оригинал,
  крутятся только тонкие тёмные спицы.
*/
.taxi-car__wheel {
  position: absolute;
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 7;
  animation: wheel-spin 0.45s linear infinite;
  /* Слои снаружи внутрь: шина → обод → спицы → ступица */
  background:
    /* ступица */
    radial-gradient(circle at center, #555 0%, #333 14%, #222 16%, transparent 16%),
    /* 10 тонких спиц */
    repeating-conic-gradient(
      #c0c0c0 0deg 2.5deg,
      transparent 2.5deg 36deg
    ),
    /* внутренняя часть обода */
    radial-gradient(circle at center, transparent 16%, #1a1a1a 17%, #1a1a1a 38%, #aaa 39%, #ccc 44%, #888 47%, transparent 47%),
    /* шина */
    radial-gradient(circle at center, transparent 47%, #222 48%, #111 100%);
}
.taxi-car__wheel--rear  { left: 10%; bottom: 3%; }
.taxi-car__wheel--front { left: 75%; bottom: 3%; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }

/* Фары — включаются через .taxi-car.is-night */
.taxi-car__headlight {
  position: absolute;
  bottom: 30%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 4;
}
.taxi-car.is-night .taxi-car__headlight { opacity: 1; }

/* передняя фара — конус вправо */
.taxi-car__headlight--front {
  right: -35%;
  bottom: 5%;
  width: 55%;
  height: 28px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(255,245,180,.15) 30%,
    rgba(255,240,120,.55) 70%,
    rgba(255,235,80,.85) 100%);
  filter: blur(6px);
  border-radius: 0 50% 50% 0;
  transform-origin: left center;
  animation: headlight-flick 2s ease-in-out infinite;
}
/* задний фонарь — убран */
.taxi-car__headlight--rear { display: none; }
@keyframes headlight-flick {
  0%,100% { opacity: 1; transform: scaleX(1); }
  50%     { opacity: .85; transform: scaleX(1.08); }
}

.taxi-car__smoke {
  position: absolute;
  bottom: 26%;
  left: -1%;
  width: 44px;
  height: 34px;
  pointer-events: none;
}
.taxi-car__smoke span {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(180,180,190,.5);
  filter: blur(3px);
  animation: smoke-puff 1.6s ease-out infinite;
}
.taxi-car__smoke span:nth-child(1) { left: 0;  animation-delay: 0s; }
.taxi-car__smoke span:nth-child(2) { left: 8px; animation-delay: -.5s; }
.taxi-car__smoke span:nth-child(3) { left: 16px; animation-delay: -1s; }
@keyframes smoke-puff {
  0%   { transform: translate(0, 0) scale(.5); opacity: .7; }
  100% { transform: translate(-30px, -20px) scale(2); opacity: 0; }
}
.taxi-car__beam {
  position: absolute;
  /* выравниваем с фарой: фара при cx=351/380 ≈ 92% ширины SVG */
  right: -28%;
  bottom: 34%;
  width: 160px;
  height: 18px;
  /* развёрнут: яркий дальний конец, у машины прозрачный */
  background: linear-gradient(to left,
    rgba(255,240,100,.9) 0%,
    rgba(255,220,60,.45) 45%,
    transparent 100%);
  filter: blur(5px);
  border-radius: 50% 0 0 50%;
  /* ночью — включён, днём — выключен */
  animation: beam-flick 1.4s ease-in-out infinite, beam-daynight 30s ease-in-out infinite;
}
@keyframes beam-daynight {
  0%, 32%   { opacity: 0; }
  42%, 70%  { opacity: 1; }
  80%, 100% { opacity: 0; }
}
@keyframes beam-flick {
  0%,100% { opacity: .9; transform: scaleX(1); }
  50%     { opacity: 1;  transform: scaleX(1.15); }
}

/* встречная мини-машинка вдалеке */
.far-car { display: none; }

.far-car--hidden {
  position: absolute;
  bottom: 9%;
  width: 32px;
  height: 14px;
  background: linear-gradient(to bottom, #5a8acf 0%, #2a5a9f 100%);
  border-radius: 6px 8px 4px 4px / 8px 8px 4px 4px;
  border: 1.5px solid #1a2840;
  z-index: 4;
  right: -50px;
  animation: far-car-drive 9s linear infinite;
  box-shadow:
    -2px 0 0 #FFE066,
    inset -4px -2px 0 rgba(0,0,0,.2);
}
.far-car::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 4px; right: 4px;
  height: 6px;
  background: inherit;
  border: 1.5px solid #1a2840;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
@keyframes far-car-drive {
  0%   { right: -50px; }
  100% { right: calc(100% + 50px); }
}

/* отключаем старую центральную машинку, орбиту и лучи */
.hero__taxi-center, .hero__taxi-orbit, .hero__taxi-glow,
.hero__taxi-shadow-c, .hero__taxi-3d, .hero__taxi-beams { display: none !important; }
.hero__pin { display: none !important; }

.hero__car {
  position: absolute;
  display: none;
}

/* ---------- HERO TAXI (старая машинка на маршруте — отключена) ---------- */
.hero__taxi { display: none !important; }
.hero__taxi-OLD-disabled {
  position: absolute;
  width: 100px; height: 56px;
  z-index: 4;
  offset-path: path("M 25 370 C 95 330, 155 250, 235 230 S 375 200, 415 110");
  offset-rotate: auto;
  animation: hero-taxi-drive 9s cubic-bezier(.45,.05,.55,.95) infinite alternate;
  filter: drop-shadow(0 10px 18px rgba(255,210,0,.45));
}
.hero__taxi-svg { display: block; overflow: visible; }
.hero__taxi-shadow {
  position: absolute;
  bottom: -6px; left: 12%; right: 12%;
  height: 8px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.45), transparent 70%);
  filter: blur(3px);
  animation: taxi-shadow-bob 0.4s ease-in-out infinite alternate;
}
@keyframes taxi-shadow-bob {
  from { opacity: .8; transform: scaleX(1); }
  to   { opacity: .55; transform: scaleX(.85); }
}
.hero__taxi-beam {
  position: absolute;
  right: -56px;
  top: 18px;
  width: 70px; height: 28px;
  background: radial-gradient(ellipse at left center, rgba(255,224,102,.55) 0%, rgba(255,200,80,.18) 35%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: beam-flick 1.2s ease-in-out infinite;
}
@keyframes beam-flick {
  0%, 100% { opacity: .85; transform: scaleX(1); }
  50%      { opacity: 1;   transform: scaleX(1.05); }
}
.hero__taxi-svg {
  animation: taxi-bob 0.45s ease-in-out infinite alternate;
}
@keyframes taxi-bob {
  from { transform: translateY(0); }
  to   { transform: translateY(-1.5px); }
}
.hero__taxi-wheel {
  transform-origin: center;
  transform-box: fill-box;
  animation: wheel-spin .35s linear infinite;
}
@keyframes wheel-spin {
  to { transform: rotate(360deg); }
}
@keyframes hero-taxi-drive {
  0%   { offset-distance: 0%; }
  48%  { offset-distance: 50%; }
  52%  { offset-distance: 50%; }
  100% { offset-distance: 100%; }
}

/* ---------- ЦЕНТРАЛЬНОЕ ВРАЩАЮЩЕЕСЯ TAXI ---------- */
.hero__taxi-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
}
.hero__taxi-orbit {
  position: absolute;
  width: 78%; height: 78%;
  border-radius: 50%;
  border: 1.5px dashed var(--accent);
  opacity: .35;
  animation: orbit-spin 28s linear infinite;
}
.hero__taxi-orbit::before,
.hero__taxi-orbit::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-ring);
}
.hero__taxi-orbit::before { top: -6px; left: 50%; transform: translateX(-50%); }
.hero__taxi-orbit::after  { bottom: -6px; left: 50%; transform: translateX(-50%); opacity: .6; }
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
.hero__taxi-glow {
  position: absolute;
  width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent-soft) 0%, transparent 65%);
  filter: blur(20px);
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.15); opacity: 1; }
}
.hero__taxi-shadow-c {
  position: absolute;
  bottom: 18%;
  width: 60%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 70%);
  filter: blur(8px);
  animation: shadow-bob-c 2s ease-in-out infinite;
}
@keyframes shadow-bob-c {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(.85); opacity: .4; }
}
.hero__taxi-3d {
  position: relative;
  width: min(72%, 440px);
  aspect-ratio: 220 / 140;
  /* подвязано к скроллу через JS-переменную --scroll-rot */
  transform: rotate(calc(var(--scroll-rot, 0) * 1deg)) translateY(calc(var(--bob, 0) * 1px));
  transform-origin: center 70%;
  transition: transform .05s linear;
  animation: taxi-bob-c 3s ease-in-out infinite;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.35));
}
@keyframes taxi-bob-c {
  0%, 100% { --bob: 0; }
  50%      { --bob: -6; }
}
.hero__taxi-svg-c {
  width: 100%; height: 100%;
  overflow: visible;
}
.taxi-wheel-c {
  transform-origin: center;
  transform-box: fill-box;
  animation: wheel-spin-c .5s linear infinite;
}
@keyframes wheel-spin-c {
  to { transform: rotate(360deg); }
}
.hero__taxi-beams {
  position: absolute;
  width: 60%; height: 4px;
  bottom: 30%;
  left: 75%;
  background: linear-gradient(to right, rgba(255,224,102,.7), transparent);
  filter: blur(4px);
  border-radius: 4px;
  pointer-events: none;
  animation: beams-flick 1.5s ease-in-out infinite;
}
@keyframes beams-flick {
  0%, 100% { opacity: .9; transform: scaleX(1); }
  50%      { opacity: 1;   transform: scaleX(1.1); }
}
/* скрываем плавающие карточки и нижний "Баланс сегодня" чтобы машина была в фокусе */
.hero__floating { display: none !important; }
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,210,0,.18), 0 18px 36px rgba(255,210,0,.45);
  z-index: 3;
  offset-path: path("M 50 380 C 120 340, 180 260, 260 240 S 400 210, 440 120");
  animation: drive 8s ease-in-out infinite alternate;
}
@keyframes drive {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
.hero__car::after { display: none; }
@keyframes ping {
  0%   { transform: scale(.6); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero__pin {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 4px var(--surface);
  z-index: 2;
}
.hero__pin.p1 { left: 10%; top: 74%; }
.hero__pin.p2 { left: 78%; top: 18%; }
.hero__pin.p2::after {
  content: "Назначение"; position: absolute;
  top: -32px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg);
  font-size: 11px; font-weight: 600; padding: 4px 8px;
  border-radius: 6px; white-space: nowrap;
}

.hero__card {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px 20px;
  z-index: 4;
  display: flex; align-items: center; gap: 14px;
}
.hero__card .mono {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); letter-spacing: .06em; text-transform: uppercase;
}
.hero__card .fare {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--text);
}
.hero__card-sep { width: 1px; height: 36px; background: var(--line); }
.hero__card .green {
  font-size: 13px; color: #22C55E; font-weight: 600;
}

/* плашка под сценой — не перекрывает анимацию */
.hero__card--below {
  position: static;
  margin-top: 16px;
  left: auto; right: auto; bottom: auto;
  justify-content: space-between;
  width: 100%;
}

.hero__floating {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-1);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}
.hero__floating.f-top {
  top: 28px; right: 28px;
  display: flex; align-items: center; gap: 12px;
}
.hero__floating.f-top .badge-ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 800;
}
.hero__floating.f-top .t1 { font-weight: 700; font-size: 14px; }
.hero__floating.f-top .t2 { font-size: 12px; color: var(--text-2); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

@media (max-width: 1080px) {
  .hero__grid { padding: 100px 0 60px; }
  .hero__stats { gap: 24px; }
  .hero__stats .stat-n { font-size: 26px; }
  .hero__art { max-width: none; margin: 0; width: 100%; }
}

/* ---------- SECTION COMMON ---------- */
section { padding: 100px 0; }
.section-head {
  text-align: center; margin-bottom: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-tag {
  font-size: 14px;
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-2); font-size: 18px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- BENEFITS ---------- */
.benefits { padding-top: 40px; padding-bottom: 60px; }
.benefits__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.bcard {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.bcard:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
}
.bcard__ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.bcard__t { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.bcard__d { color: var(--text-2); font-size: 14px; }
.bcard__num {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); letter-spacing: .1em;
}
@media (max-width: 900px) { .benefits__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .benefits__grid { grid-template-columns: 1fr; } }

/* ---------- SERVICES TABS ---------- */
.services__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 auto 40px;
  width: min(920px, 100%);
}
.services__tab {
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .25s var(--ease);
  box-shadow: 0 8px 22px rgba(10,15,30,.04);
}
.services__tab.is-active {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 6px 16px var(--accent-ring);
  border-color: var(--accent);
}
.services__panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: stretch;
}
.services__panel.is-active { display: grid; }
.services__info {
  padding: 40px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.services__info h3 { font-size: 32px; margin-bottom: 16px; }
.services__info .lead { color: var(--text-2); font-size: 16px; margin-bottom: 24px; }
.services__feats { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.services__feats li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
}
.services__feats li svg {
  flex: 0 0 auto;
  color: var(--accent);
}
.services__visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  min-height: 380px;
  display: grid; place-items: center;
}
.placeholder {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 12px,
    rgba(255,148,69,.06) 12px, rgba(255,148,69,.06) 13px
  );
}
.placeholder__label {
  position: relative; text-align: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-3); letter-spacing: .1em;
  padding: 10px 18px; border: 1px dashed var(--line-strong);
  border-radius: 8px; background: var(--surface);
}
.services__price {
  margin-top: auto;
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.services__price .big {
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  color: var(--accent); letter-spacing: -0.03em;
}
.services__price .lbl { color: var(--text-2); font-size: 14px; }
.services__calc {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(230,0,0,.22);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.services__calc:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .services__panel.is-active { grid-template-columns: 1fr; }
}

/* ---------- CALCULATOR ---------- */
.calc {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calc__card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-2);
}
.calc__controls { display: grid; gap: 32px; }
.calc__intro {
  display: grid;
  gap: 10px;
}
.calc__intro h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
  color: var(--text);
}
.calc__intro p {
  margin: 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.calc__field { display: grid; gap: 12px; }
.calc__field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; color: var(--text-2);
}
.calc__field label b {
  color: var(--text); font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 4px;
  background: var(--line-strong);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 0 6px var(--accent-soft);
  transition: transform .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: none;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.calc__city-wrap { position: relative; margin-bottom: 10px; }
.calc__city-input {
  width: 100%; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface-2);
  color: var(--text); font-size: 14px; outline: none;
  transition: border-color .2s;
}
.calc__city-input:focus { border-color: var(--accent); }
.calc__city-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 10px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  margin-top: 4px; max-height: 260px;
}
.calc__city-option {
  display: block; width: 100%; border: 0; background: transparent; text-align: left;
  padding: 10px 14px; font-size: 14px; color: var(--text-2); cursor: pointer;
  transition: background .15s;
}
.calc__city-option:hover { background: var(--surface); color: var(--text); }
.calc__tariff-wrap { margin-top: 10px; }
.calc__tariff-wrap label { font-size: 13px; color: var(--text-3); margin-bottom: 6px; display: block; }
.calc__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.calc__chip {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--text-2); font-size: 13px; font-weight: 500;
  transition: all .2s var(--ease);
}
.calc__chip:hover { color: var(--text); border-color: var(--text-3); }
.calc__chip.is-active {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}
.calc__weekdays,
.calc__hours {
  display: grid;
  grid-template-columns: repeat(7, minmax(38px, 1fr));
  gap: 8px;
}
.calc__hours {
  grid-template-columns: repeat(6, minmax(42px, 1fr));
}
.calc__day,
.calc__hour {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.calc__day:hover,
.calc__hour:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: var(--text-3);
}
.calc__day.is-active,
.calc__hour.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(230, 0, 0, .18);
}
.calc__result {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in oklab, var(--accent), #000 14%) 100%);
  color: var(--accent-ink);
  position: relative; overflow: hidden;
}
.calc__result hr { border-top-color: rgba(0,0,0,.15); }
.calc__result::before { background: radial-gradient(circle at 80% -20%, rgba(255,255,255,.35), transparent 50%); }
.calc__result::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -20%, rgba(255,255,255,.2), transparent 50%);
  pointer-events: none;
}
.calc__result .rl {
  font-size: 13px; opacity: .85;
  font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 8px;
}
.calc__result .rv {
  font-family: var(--font-display); font-size: 48px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
}
.calc__result .rv small { font-size: 18px; opacity: .75; font-weight: 600; margin-left: 4px; }
.calc__result .r-period { font-size: 13px; opacity: .85; margin-top: 6px; }
.calc__result hr {
  border: none; border-top: 1px solid rgba(255,255,255,.2);
  margin: 20px 0;
}
.calc__result .rrow {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; margin-bottom: 10px;
}
.calc__result .rrow .rv2 { font-family: var(--font-display); font-weight: 700; }
.calc__meta,
.calc__demand,
.calc__conditions {
  position: relative;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
}
.calc__meta-title,
.calc__conditions > span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .78;
}
.calc__meta-date {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}
.calc__demand strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 900;
}
.calc__demand span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  opacity: .88;
}
.calc__conditions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.calc__conditions b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #E60000;
  font-size: 12px;
  font-weight: 900;
}
.calc__disc {
  margin-top: 20px; font-size: 11px;
  opacity: .7; line-height: 1.5;
}
.calc__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border-radius: 999px;
  background: #fff;
  color: #E60000;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.calc__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

@media (max-width: 900px) {
  .calc__card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}
@media (max-width: 520px) {
  .calc__card { padding: 24px; }
  .calc__weekdays { grid-template-columns: repeat(7, minmax(30px, 1fr)); gap: 5px; }
  .calc__hours { grid-template-columns: repeat(6, minmax(34px, 1fr)); gap: 5px; }
  .calc__day,
  .calc__hour { min-height: 34px; border-radius: 10px; font-size: 12px; }
  .calc__result .rv { font-size: 38px; }
}

/* ---------- STEPS ---------- */
.steps__track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.steps__track::before {
  content: ""; position: absolute;
  left: 5%; right: 5%; top: 36px; height: 2px;
  background-image: linear-gradient(to right, var(--line-strong) 50%, transparent 0%);
  background-size: 14px 2px;
}
.scard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: all .3s var(--ease);
}
.scard:hover { transform: translateY(-4px); border-color: var(--accent); }
.scard__n {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  margin-bottom: 20px;
  position: relative; z-index: 1;
  box-shadow: 0 8px 20px var(--accent-ring);
}
.scard__t { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.scard__d { color: var(--text-2); font-size: 14px; }
.scard__time {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); letter-spacing: .1em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .steps__track { grid-template-columns: repeat(2,1fr); }
  .steps__track::before { display: none; }
}
@media (max-width: 520px) { .steps__track { grid-template-columns: 1fr; } }

/* ---------- COMPARE ---------- */
.compare__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.ccol {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.ccol--bad {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.ccol--good {
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in oklab, var(--accent), #000 12%) 100%);
  color: var(--accent-ink);
  box-shadow: 0 20px 60px var(--accent-ring);
}
.ccol--good::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.ccol__label {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px; opacity: .7;
}
.ccol--good .ccol__label { opacity: .9; }
.ccol__title {
  font-size: 28px; font-weight: 800;
  margin-bottom: 24px;
}
.ccol__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ccol__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5;
}
.ccol__list li svg { flex: 0 0 auto; margin-top: 2px; }

@media (max-width: 740px) {
  .compare__grid { grid-template-columns: 1fr; }
}

/* ---------- TESTIMONIALS ---------- */
.tm-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 16px;
  align-items: stretch;
  margin: 0 auto;
}
.tm-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.tm-track {
  display: flex;
  gap: 24px;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.tm-track .tm-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  box-sizing: border-box;
}
.tm-track .tm-card:hover { border-color: var(--accent); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.tm-card__stars { display: flex; gap: 2px; margin-bottom: 16px; color: #F5A524; }
.tm-card__text { font-size: 16px; line-height: 1.5; margin-bottom: 24px; flex: 1; }
.tm-card__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.tm-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent), #000 30%));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  flex-shrink: 0;
  object-fit: cover;
}
.tm-card__name { font-weight: 700; font-size: 15px; }
.tm-card__meta { color: var(--text-2); font-size: 13px; }

.tm-arrow {
  width: 56px; height: 56px;
  align-self: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-1);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .25s var(--ease);
  box-shadow: 0 6px 18px rgba(13,18,30,.06);
}
.tm-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.06); }
.tm-arrow:disabled { opacity: .4; cursor: not-allowed; transform: none; background: var(--surface); color: var(--text-1); border-color: var(--line); }

.tm-dots {
  display: flex; justify-content: center; gap: 8px;
  margin: 24px 0 0;
}
.tm-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong);
  border: 0; cursor: pointer; padding: 0;
  transition: all .25s var(--ease);
}
.tm-dot.is-active { width: 28px; border-radius: 4px; background: var(--accent); }
.tm-dot:hover { background: var(--accent); }

.tm-actions { display: flex; justify-content: center; margin-top: 28px; }

@media (max-width: 1000px) {
  .tm-track .tm-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 700px) {
  .tm-carousel { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .tm-arrow { width: 44px; height: 44px; }
  .tm-track .tm-card { flex: 0 0 100%; padding: 24px; }
}

/* ---------- REVIEW MODAL ---------- */
.rv-modal[hidden] { display: none; }
.rv-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 20px;
}
.rv-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(13, 18, 30, .55);
  backdrop-filter: blur(4px);
  animation: rvFadeIn .25s var(--ease);
}
.rv-modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 80px rgba(13, 18, 30, .35);
  animation: rvPanelIn .35s cubic-bezier(.22,1,.36,1);
  max-height: 92vh; overflow-y: auto;
  box-sizing: border-box;
}
@keyframes rvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rvPanelIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.rv-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--text-2);
  display: grid; place-items: center;
  cursor: pointer; transition: all .2s var(--ease);
}
.rv-modal__close:hover { background: var(--surface-2); color: var(--text-1); }
.rv-modal__title { font-family: var(--font-display); font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.rv-modal__sub { color: var(--text-2); font-size: 14px; margin: 0 0 22px; }

.rv-form { display: grid; gap: 16px; }
.rv-field { display: grid; gap: 6px; }
.rv-field label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.rv-field input, .rv-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit; font-size: 15px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-1);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  resize: vertical;
}
.rv-field input:focus, .rv-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.rv-counter { font-size: 12px; color: var(--text-3); text-align: right; }
.rv-stars { display: flex; gap: 6px; }
.rv-star {
  width: 38px; height: 38px;
  background: transparent; border: 0; padding: 0;
  font-size: 28px; line-height: 1;
  color: var(--line-strong);
  cursor: pointer;
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.rv-star.is-on { color: #F5A524; }
.rv-star:hover { transform: scale(1.15); }
.rv-note { font-size: 12px; color: var(--text-3); margin: 0; }
.rv-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.rv-actions .btn { padding: 12px 22px; }

.rv-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; padding: 24px 0 6px;
  color: #22C55E;
}
.rv-success[hidden] { display: none !important; }
.rv-success__t { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text-1); }
.rv-success__d { color: var(--text-2); font-size: 14px; }

@media (max-width: 600px) {
  .rv-modal__panel { padding: 24px; }
  .rv-modal__title { font-size: 22px; }
}

/* ---------- APP SECTION ---------- */
.app {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.app__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.app__feats { display: grid; gap: 20px; margin-top: 32px; }
.app-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.app-feat__ico {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.app-feat__t { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.app-feat__d { color: var(--text-2); font-size: 13px; }

.app__phone {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}
.app__phone-img {
  position: relative; z-index: 2;
  display: block;
  width: 100%; height: auto;
  filter:
    drop-shadow(0 30px 60px rgba(13, 18, 30, .22))
    drop-shadow(0 12px 24px rgba(255, 210, 0, .12));
  animation: phoneFloat 7s ease-in-out infinite;
}
.app__phone-glow {
  position: absolute; inset: -8% -10%;
  z-index: 1;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(255, 165, 90, .35), transparent 60%),
    radial-gradient(55% 60% at 75% 75%, rgba(255, 210, 0, .22), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.app__phone-floater {
  position: absolute;
  z-index: 3;
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13, 18, 30, .12);
  font-size: 12px;
  white-space: nowrap;
  animation: floaterFloat 6s ease-in-out infinite;
}
.app__phone-floater--earn {
  top: 12%; left: -14%;
  animation-delay: -2s;
}
.app__phone-floater--commission {
  bottom: 14%; right: -10%;
}
.app__phone-floater .apf__lbl {
  font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-3); font-weight: 700;
}
.app__phone-floater .apf__amt {
  font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text-1);
  line-height: 1;
}
.app__phone-floater .apf__amt--green { color: #22C55E; }
.app__phone-floater .apf__sub { font-size: 11px; color: var(--text-2); }
@keyframes floaterFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 600px) {
  .app__phone-floater--earn { left: -4%; }
  .app__phone-floater--commission { right: -2%; }
  .app__phone-floater { padding: 10px 12px; }
  .app__phone-floater .apf__amt { font-size: 17px; }
}

@media (max-width: 860px) {
  .app__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- CERT ---------- */
.cert__card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.cert__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 540px;
  background: linear-gradient(135deg, #FFF6E0, #FFE7B0 60%, #FFD27A);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px;
  transition: transform .3s ease;
}
.cert__visual:hover { transform: translateY(-4px) rotate(-.5deg); }
.cert__visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.45), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,179,71,.25), transparent 60%);
  pointer-events: none;
}
.cert-ribbon {
  position: absolute;
  top: 22px; right: -32px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 24px 2px 82px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  z-index: 3;
}
.cert__visual svg.stamp { width: 140px; height: 140px; opacity: .9; }

@media (max-width: 860px) {
  .cert__card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    overflow: hidden;
  }
  .cert__card h2.section-title {
    font-size: clamp(22px, 5vw, 36px) !important;
  }
  .cert__card p {
    font-size: 14px !important;
  }
  .cert__stats {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .cert__stats > div > div:first-child {
    font-size: 24px !important;
  }
  .cert__stats > div > div:last-child {
    font-size: 12px !important;
  }
}

@media (max-width: 500px) {
  .cert__card { padding: 20px 16px; }
  .cert__visual { padding: 10px; }
  #cert { overflow: hidden; }
}

/* ---------- FORM ---------- */
.form-section {
  background: #050505;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.form__wrap {
  background: #fff; border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  align-items: start;
  box-shadow: var(--shadow-2);
}
#request .section-title,
#request .section-sub {
  color: #fff;
}
#request .section-tag {
  color: #fff;
  background: rgba(230,0,0,.18);
  border-color: rgba(230,0,0,.35);
}
#request .form__wrap,
#request .form__wrap h3,
#request .field label {
  color: #111827;
}
#request .form__perks {
  background: transparent;
  border-color: transparent;
}
#request .form__perks p,
#request .form__perks li,
#request .sroute__stop-desc,
#request .steps-h__desc {
  color: #4B5563;
}
.form__perks h3 { font-size: 26px; margin-bottom: 8px; }
.form__perks p { color: var(--text-2); margin-bottom: 0; }
.form__perks--route .sroute { grid-template-columns: 56px 1fr; gap: 0 16px; margin-top: 4px; }
.form__perks--route .sroute__road { min-height: 320px; }
.form__perks--route .sroute__stop { padding: 14px 0; }
.form__perks--route .sroute__stop-title { font-size: 14px; }
.form__perks--route .sroute__stop-desc  { font-size: 12px; }
.form__perks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.form__perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.form__perks li svg { color: var(--accent); flex: 0 0 auto; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 13px; color: var(--text-2); font-weight: 500;
}
.field input,
.form__select {
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff; color: #111827;
  font: inherit; font-size: 15px;
  transition: all .2s var(--ease);
  width: 100%;
}
.form__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111827 50%), linear-gradient(135deg, #111827 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field input:focus,
.form__select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field.err input { border-color: #EF4444; }
.field .err-txt { color: #EF4444; font-size: 12px; display: none; }
.field.err .err-txt { display: block; }

.form__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(11,15,30,.12);
  border-radius: 14px;
  background: #fff;
  color: #4B5563;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}
.form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #E60000;
}
.form__consent a {
  color: #E60000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__consent:hover {
  border-color: rgba(230,0,0,.35);
}

.form__channels {
  margin-top: 8px;
  display: grid; gap: 10px;
}
.ch-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(17,24,39,.12);
  background: #F9FAFB; color: #111827;
  text-align: left; transition: all .2s var(--ease);
}
.ch-btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.ch-btn .ch-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 13px;
  overflow: hidden;
  flex-shrink: 0;
}
.ch-btn .ch-ico img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ch-btn .ch-ico.wa { background: #25D366; }
.ch-btn .ch-ico.tg { background: #26A5E4; }
.ch-btn .ch-ico.mx { background: #167EFF; }
.ch-btn .ch-ico.ph { background: var(--text); color: var(--bg); }
.ch-btn .ch-t { font-weight: 700; font-size: 14px; }
.ch-btn .ch-d { color: #6B7280; font-size: 12px; margin-top: 2px; }
.ch-btn .ch-arrow { margin-left: auto; color: var(--text-3); transition: transform .2s var(--ease); }
.ch-btn:hover .ch-arrow { transform: translateX(4px); color: var(--accent); }

.form__privacy { color: #6B7280; font-size: 12px; margin-top: 16px; line-height: 1.5; }
.form__privacy a { color: #111827; text-decoration: underline; }

@media (max-width: 860px) {
  .form__wrap { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}
@media (max-width: 520px) { .form__wrap { padding: 24px; } }

/* Success state */
.form__success {
  display: none;
  padding: 24px 16px 32px;
  text-align: center;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.form__success.is-on { display: flex; animation: pop-in .5s var(--ease); }
@keyframes pop-in {
  0% { opacity: 0; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}
.form__success .check {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%; background: #22C55E; color: #fff;
  display: grid; place-items: center;
  animation: check-pop .6s var(--ease);
}
@keyframes check-pop {
  0% { transform: scale(0) rotate(-45deg); }
  60% { transform: scale(1.15) rotate(0); }
  100% { transform: scale(1) rotate(0); }
}

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-1); }
.faq-item summary {
  padding: 22px 24px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 17px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-display);
  font-size: 28px; font-weight: 300; color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
  padding: 0 24px 22px;
  color: var(--text-2); font-size: 15px; line-height: 1.65;
}

/* FAQ tabs */
.faq-tabs {
  max-width: 820px; margin: 0 auto 28px;
  display: flex; gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.faq-tab {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.faq-tab:hover { color: var(--text-1); }
.faq-tab__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: currentColor;
  opacity: .85;
}
.faq-tab.is-active {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(255,148,69,.35);
}
.faq-tab.is-active .faq-tab__ico { opacity: 1; }

.faq__list { display: none; }
.faq__list.is-active { display: grid; animation: faqFade .35s var(--ease); }
@keyframes faqFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .faq-tabs { flex-direction: column; border-radius: 18px; }
  .faq-tab { border-radius: 14px; justify-content: flex-start; }
}

/* ---------- BLOG ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.post:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-1); }
.post__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
  position: relative; overflow: hidden;
}
.post__img::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent, transparent 14px,
    rgba(255,148,69,.07) 14px, rgba(255,148,69,.07) 15px
  );
}
.post__img .post__label {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg); color: var(--accent);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line);
}
.post__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post__t { font-size: 18px; font-weight: 700; line-height: 1.3; }
.post__d { color: var(--text-2); font-size: 14px; }
.post__meta {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); letter-spacing: .08em; text-transform: uppercase;
}
@media (max-width: 860px) { .blog__grid { grid-template-columns: 1fr; } }

/* ---------- CONTACTS ---------- */
.contacts__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.ccard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  transition: all .3s var(--ease);
}
.ccard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-1); }
.ccard__ico {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  overflow: hidden;
}
.ccard__ico img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ccard__ico.ph { background: var(--text); color: var(--bg); }
.ccard__ico.wa { background: #25D366; }
.ccard__ico.tg { background: #26A5E4; }
.ccard__ico.mx { background: #167EFF; }
.ccard__ico.vk { background: #0077FF; }
.ccard__lbl { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.ccard__val { font-weight: 700; font-size: 15px; word-break: break-word; }

@media (max-width: 900px) { .contacts__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .contacts__grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   ROUTE TRACK — scroll-driven taxi on right edge
   ══════════════════════════════════════════════ */
#routeTrack {
  position: fixed;
  right: 14px;
  top: 90px;
  bottom: 90px;
  width: 24px;
  z-index: 90;
  pointer-events: none;
}
#routeTrack::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--accent) 0 8px,
    transparent 8px 18px
  );
  opacity: 0.35;
  border-radius: 2px;
}
#routeProgress {
  position: absolute;
  top: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  height: 0%;
  border-radius: 2px;
  opacity: 0.75;
  box-shadow: 0 0 6px var(--accent);
  transition: height 80ms linear;
}
#routeCarEl {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translateX(-50%) translateY(-50%);
  filter: drop-shadow(0 2px 8px rgba(255,210,0,0.7));
  transition: top 80ms linear;
}
@media (max-width: 900px) { #routeTrack { display: none; } }


/* ══════════════════════════════════════════════
   YANDEX PRO PHONE MOCKUP (success screen)
   ══════════════════════════════════════════════ */
.ypro-wrap {
  display: flex;
  justify-content: center;
  animation: phone-appear 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes phone-appear {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}
.ypro-phone {
  width: 248px;
  background: #f5f5f5;
  border-radius: 36px;
  box-shadow:
    0 0 0 8px #1a1a1a,
    0 0 0 10px #333,
    0 28px 64px rgba(0,0,0,0.45);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ypro-notch {
  width: 88px; height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}
/* Statusbar */
.ypro-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px 2px;
  font-size: 10px;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
}
.ypro-statusbar__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #111;
}

/* Map area */
.ypro-map {
  position: relative;
  height: 148px;
  overflow: hidden;
  flex-shrink: 0;
}
.ypro-map__svg {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
/* navigation arrow */
.ypro-arrow {
  position: absolute;
  bottom: 34%; left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  animation: arrow-bob 2s ease-in-out infinite;
}
@keyframes arrow-bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-3px); }
}
/* Skip pill */
.ypro-skip {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.ypro-skip__btn {
  background: white;
  border: none;
  border-radius: 16px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.ypro-skip__btn span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #888;
}
.ypro-skip__btn:active { transform: scale(0.96); }

/* Bottom sheet */
.ypro-sheet {
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 6px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  animation: sheet-up 0.45s 0.2s cubic-bezier(0.34,1.3,0.64,1) both;
}
@keyframes sheet-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.ypro-sheet__handle {
  width: 40px; height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: 0 auto 10px;
}
/* Distance */
.ypro-dist { text-align: center; margin-bottom: 10px; }
.ypro-dist__num {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
}
.ypro-dist__num span { font-size: 16px; font-weight: 600; }
.ypro-dist__timer { font-size: 22px; font-weight: 800; }
.ypro-dist__sub {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.ypro-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 8px 0;
}
/* Activity + Price */
.ypro-row2 {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px 0;
}
.ypro-col2 {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ypro-col2-sep {
  width: 1px; height: 36px;
  background: #f0f0f0;
  margin: 0 10px;
}
.ypro-col2__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.ypro-col2__icon--a   { background: #e8f5e9; color: #2e7d32; }
.ypro-col2__icon--bolt { background: #f3e8ff; font-size: 14px; }
.ypro-col2__label { font-size: 10px; color: #999; line-height: 1.2; }
.ypro-col2__val   { font-size: 14px; font-weight: 700; line-height: 1.2; }
.ypro-col2__val--green  { color: #2e7d32; }
.ypro-col2__val--purple { color: #7C3AED; }

/* Rating */
.ypro-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #333;
  padding: 4px 0;
}
.ypro-rating__val { font-weight: 700; color: #111; }

/* Address */
.ypro-addr { padding: 4px 0 8px; }
.ypro-addr__label { font-size: 10px; color: #999; margin-bottom: 2px; }
.ypro-addr__val   { font-size: 13px; font-weight: 600; color: #111; }

/* Accept button */
.ypro-accept-btn {
  width: 100%;
  padding: 14px 0;
  border-radius: 14px;
  border: none;
  background: #7C3AED;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  transition: transform 0.15s, background 0.2s;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.ypro-accept-btn:active { transform: scale(0.97); }
.ypro-accept-btn.is-pressed {
  animation: btn-press 0.35s cubic-bezier(0.36,0.07,0.19,0.97) forwards;
}
@keyframes btn-press {
  0%   { transform: scale(1);    background: #7C3AED; }
  25%  { transform: scale(0.93); background: #6d28d9; }
  60%  { transform: scale(1.03); background: #4CAF50; }
  100% { transform: scale(1);    background: #4CAF50; }
}

/* Accepted state */
.ypro-accepted {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  flex: 1;
  background: #fff;
  animation: phone-appear 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.ypro-accepted__ring {
  animation: ring-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes ring-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.ypro-accepted__title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  text-align: center;
}
.ypro-accepted__sub {
  font-size: 12px;
  color: #888;
  text-align: center;
  line-height: 1.6;
}
.ypro-accepted__sub span { font-weight: 700; color: #7C3AED; }

.ypro-homebar {
  height: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ypro-homebar::after {
  content: '';
  width: 90px; height: 4px;
  background: #111;
  border-radius: 2px;
  opacity: 0.15;
}

/* ══════════════════════════════════════════════
   CHECKER PARTICLES
   ══════════════════════════════════════════════ */
.chk-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 3px;
  background-image:
    linear-gradient(45deg, var(--accent) 25%, transparent 25%, transparent 75%, var(--accent) 75%),
    linear-gradient(45deg, var(--accent) 25%, transparent 25%, transparent 75%, var(--accent) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  animation: particle-fly 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-origin: center;
}
@keyframes particle-fly {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.3); opacity: 0; }
}

/* ══════════════════════════════════════════════
   PARALLAX HERO LAYERS
   ══════════════════════════════════════════════ */
[data-parallax] {
  will-change: transform;
}

/* ══════════════════════════════════════════════
   МАРШРУТ УСПЕХА (в секции #steps)
   ══════════════════════════════════════════════ */
.sroute {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 48px;
  align-items: start;
}

/* Road strip */
.sroute__road {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sroute__dashes {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--accent) 0 18px,
    transparent 18px 32px
  );
  opacity: 0.35;
  border-radius: 2px;
}
.sroute__dashes::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -16px; right: -16px;
  background: var(--accent-soft);
  border-radius: 40px;
  z-index: -1;
}
.sroute__car {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(255,210,0,0.45));
}
.sroute__markers {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  pointer-events: none;
}

/* ── Пузырь диалога над машинкой ── */
.sroute__bubble {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% - 14px));
  top: 0; /* управляется JS вместе с машинкой */
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.25s ease, scale 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
/* хвостик пузыря */
.sroute__bubble::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid var(--accent);
}
.sroute__bubble::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #fff;
  z-index: 1;
}
.sroute__bubble.is-visible {
  opacity: 1;
  scale: 1;
}

/* Stops */
.sroute__stops {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
}
.sroute__stop {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(-8px);
}
.sroute__stop:last-child { border-bottom: none; }
.sroute__stop.is-active {
  opacity: 1;
  transform: translateX(0);
}
.sroute__stop-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--line);
  flex-shrink: 0;
  margin-top: 4px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.sroute__stop.is-active .sroute__stop-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.sroute__stop--final.is-active .sroute__stop-dot {
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.2);
}
.sroute__stop-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.sroute__stop--final.is-active .sroute__stop-time { color: #22c55e; }
.sroute__stop-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
  line-height: 1.2;
}
.sroute__stop-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

@media (max-width: 700px) {
  .sroute { grid-template-columns: 1fr; }
  .sroute__road { display: none; }
}

/* ══════════════════════════════════════════════
   POPUP — ВОЗВРАТ ПОЛЬЗОВАТЕЛЯ
   ══════════════════════════════════════════════ */
#returnPopup {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px 18px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18), 0 0 0 1px var(--accent-soft);
  z-index: 200;
  transform: translateY(20px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  text-align: center;
}
#returnPopup.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.return-popup__close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 14px; color: var(--text-3);
  cursor: pointer; padding: 4px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}
.return-popup__close:hover { color: var(--text-1); background: var(--surface-2); }
.return-popup__icon {
  font-size: 32px;
  margin-bottom: 8px;
  animation: icon-bounce 2s ease-in-out infinite;
}
@keyframes icon-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.return-popup__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 4px;
}
.return-popup__sub {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.4;
}
.return-popup__btns {
  display: flex;
  gap: 8px;
}
.return-popup__btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s, transform 0.15s;
}
.return-popup__btn:active { transform: scale(0.96); }
.return-popup__btn--wa { background: #25D366; color: white; }
.return-popup__btn--tg { background: #2AABEE; color: white; }
.return-popup__btn:hover { opacity: 0.88; }

/* ---------- FOOTER ---------- */
/* ── LEATHER CTA ── */
.leather-cta {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  padding: 72px 0;
}
.leather-cta__texture {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(45deg, #000 0, #000 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, #000 0, #000 1px, transparent 0, transparent 50%);
  background-size: 10px 10px;
}
.leather-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.leather-cta__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.leather-cta__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.leather-cta__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.leather-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.leather-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: #fff;
  color: #E60000;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.leather-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.leather-cta__btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.leather-cta__btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* ── DASHBOARD FOOTER ── */
.ft {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}
.dashboard-ft {
  background: #0d0d12;
  border-top: 3px solid #222;
  padding: 0;
  color: #bbb;
}
.dashboard-ft__panel {
  display: grid;
  grid-template-columns: 180px 1fr 160px;
  gap: 0;
  min-height: 260px;
}
/* спидометр */
.dash-speedo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  border-right: 1px solid #1e1e28;
  background: #0a0a0f;
}
.dash-speedo__svg { width: 140px; }
.dash-speedo__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  color: #E60000;
  text-transform: uppercase;
  margin-top: 8px;
}
/* центр */
.dashboard-ft__center {
  padding: 40px 40px 24px;
}
.dashboard-ft__center .ft__grid {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 24px;
}
.dashboard-ft__center .ft__brand p { color: #666; font-size: 13px; }
.dashboard-ft__center .ft__col h4 { color: #FFD200; font-size: 11px; letter-spacing: .15em; margin-bottom: 12px; }
.dashboard-ft__center .ft__col a { color: #888; font-size: 13px; }
.dashboard-ft__center .ft__col a:hover { color: #FFD200; }
.dashboard-ft__center .ft__bottom { border-top: 1px solid #1e1e28; padding-top: 20px; color: #444; font-size: 12px; }
/* соцсети в футере */
.ft__socials { display: flex; gap: 8px; margin-top: 14px; }
.ft__socials a { display: block; width: 32px; height: 32px; border-radius: 8px; overflow: hidden; opacity: .7; transition: opacity .2s; }
.ft__socials a:hover { opacity: 1; }
.ft__socials img { width: 100%; height: 100%; object-fit: cover; }
/* индикаторы */
.dash-indicators {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 16px;
  border-left: 1px solid #1e1e28;
  background: #0a0a0f;
}
.dash-ind {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: .3;
}
.dash-ind--on { opacity: 1; }
.dash-ind span {
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #666;
}
.dash-ind--on span { color: #FFD200; }

@media (max-width: 900px) {
  .leather-cta__content { flex-direction: column; text-align: center; }
  .leather-cta__actions { width: 100%; }
  .leather-cta__btn { width: 100%; }
  .dashboard-ft__panel { grid-template-columns: 1fr; }
  .dash-speedo, .dash-indicators { display: none; }
  .dashboard-ft__center { padding: 32px 20px 20px; }
  .dashboard-ft__center .ft__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.ft__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.ft__brand p { color: var(--text-2); font-size: 14px; max-width: 320px; margin-top: 16px; }
.ft__col h4 { font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.ft__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft__col a { color: var(--text-2); font-size: 14px; transition: color .2s var(--ease); }
.ft__col a:hover { color: var(--accent); }
.ft__bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  color: var(--text-3); font-size: 13px;
}
@media (max-width: 860px) {
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ft__grid { grid-template-columns: 1fr; }
}

/* ---------- STICKY CTA ---------- */
.sticky-cta {
  position: fixed; right: 24px; bottom: 24px;
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 14px;
  box-shadow: 0 14px 40px var(--accent-ring);
  /* всегда видна — убираем скрытие */
  transform: none;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta:hover { background: var(--accent-2); box-shadow: 0 18px 48px var(--accent-ring); }
.sticky-cta .bolt {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.15);
  display: grid; place-items: center;
}
@media (max-width: 520px) {
  .sticky-cta { right: 12px; bottom: 12px; padding: 12px 18px 12px 14px; font-size: 13px; }
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: #EF4444; color: #fff;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 14px 40px rgba(239,68,68,.35);
  opacity: 0; pointer-events: none; z-index: 100;
  transition: all .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 120;
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(12,14,24,.96);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  display: grid;
  gap: 3px;
  font-size: 13px;
  line-height: 1.35;
}
.cookie-banner__text span { color: rgba(255,255,255,.72); }
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  cursor: pointer;
}
.cookie-banner__btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
}
@media (max-width: 640px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 76px;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
  }
  .cookie-banner__text {
    gap: 1px;
    font-size: 11px;
    line-height: 1.18;
  }
  .cookie-banner__text strong { font-size: 12px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions {
    width: auto;
    flex: 0 0 auto;
  }
  .cookie-banner__btn {
    flex: 0 0 auto;
    padding: 7px 6px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.15;
  }
}
@media (max-width: 480px) {
  .cookie-banner__text span {
    display: none;
  }
  .cookie-banner__text a {
    font-size: 10px;
  }
  .cookie-banner__actions {
    gap: 5px;
  }
}

/* ---------- STAT SHAKE ---------- */
@keyframes stat-shake-kf {
  0%,100% { transform: translateX(0) rotate(0deg); }
  15%     { transform: translateX(-5px) rotate(-2deg); }
  30%     { transform: translateX(5px) rotate(2deg); }
  45%     { transform: translateX(-4px) rotate(-1deg); }
  60%     { transform: translateX(4px) rotate(1deg); }
  75%     { transform: translateX(-2px) rotate(0deg); }
}
.stat-shake {
  animation: stat-shake-kf 0.55s ease-in-out;
  display: inline-block;
}

/* ---------- BCARD TILT ---------- */
.bcard {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  will-change: transform;
}

/* ---------- TAXI BUTTON ---------- */
.has-taxi-hover {
  position: relative;
  overflow: hidden;
}
.has-taxi-hover::after {
  content: "🚕";
  position: absolute;
  right: -2em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: right 0.35s cubic-bezier(.2,.8,.3,1), opacity 0.35s;
  opacity: 0;
  pointer-events: none;
  line-height: 1;
}
.has-taxi-hover:hover::after {
  right: 0.5em;
  opacity: 1;
}
.has-taxi-hover:hover {
  padding-right: 2.4em;
  transition: padding-right 0.3s ease, background 0.2s, transform 0.2s;
}

/* ---------- LOGO IMG ---------- */
.nav__logo-img {
  width: 34px; height: 34px; border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 18px var(--accent-ring);
  flex-shrink: 0;
}

/* ---------- NAV PARTNER BADGE ---------- */
.nav__partner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  flex-shrink: 0;
}
.nav__partner-x {
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  margin: 0 4px;
}
.nav__ya-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: none;
}
@media (max-width: 640px) {
  .nav__partner-badge { display: none; }
}

/* ---------- STAT ICON (emoji stats) ---------- */
.stat-icon {
  font-size: 28px; line-height: 1;
  background: none; -webkit-text-fill-color: unset;
}

/* ---------- SERVICES PHOTO ---------- */
.services__photo {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- POST IMG with cover ---------- */
.post__img {
  background-size: cover;
  background-position: center;
}

/* ---------- ARTICLE MODAL ---------- */
.art-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  overflow-y: auto;
}
.art-overlay.is-open {
  opacity: 1; pointer-events: all;
}
.art-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: 100%; max-width: 740px;
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
  margin: auto;
}
.art-overlay.is-open .art-modal {
  transform: translateY(0);
}
.art-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: 22px; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.art-close:hover { background: var(--accent); color: var(--accent-ink); }
.art-cover {
  width: 100%; aspect-ratio: 16/7;
  background: var(--surface-2) center/cover no-repeat;
}
.art-content {
  padding: 40px 48px 56px;
  font-size: 16px; line-height: 1.8; color: var(--text-2);
}
.art-content h1 { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.art-content h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.art-content h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 24px 0 8px; }
.art-content p { margin-bottom: 14px; }
.art-content ul, .art-content ol { padding-left: 24px; margin-bottom: 14px; }
.art-content li { margin-bottom: 6px; }
.art-content strong { color: var(--text); font-weight: 700; }
.art-content hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.art-content blockquote {
  border-left: 4px solid var(--accent); margin: 20px 0;
  padding: 12px 20px; background: var(--surface-2); border-radius: 0 8px 8px 0;
  color: var(--text); font-style: italic;
}
.art-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.art-content th { background: var(--surface-2); color: var(--text); font-weight: 700; padding: 10px 14px; text-align: left; border: 1px solid var(--line); }
.art-content td { padding: 9px 14px; border: 1px solid var(--line); }
.art-content em { color: var(--text-3); font-size: 13px; font-style: normal; }
.art-content code { background: var(--surface-2); border-radius: 4px; padding: 2px 6px; font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 600px) {
  .art-content { padding: 24px 20px 40px; }
  .art-content h1 { font-size: 20px; }
  .art-content h2 { font-size: 17px; }
}

/* скрыть паттерн-заглушку когда есть реальное фото */
.post__img[style*="background-image"]::before { display: none; }

/* ══════════════════════════════════════════════
   MOBILE FIXES
   ══════════════════════════════════════════════ */

/* Popup "Остались вопросы" — скрыт на мобилке */
@media (max-width: 700px) {
  #returnPopup { display: none !important; }
}

/* Hero meter — меньше на мобилке, не перекрывает машину */
@media (max-width: 700px) {
  .hero-meter {
    bottom: 4px;
    padding: 4px 10px;
    gap: 8px;
    font-size: 0;
  }
  .hero-meter__label { font-size: 7px; letter-spacing: .08em; }
  .hero-meter__value { font-size: 14px; }
  .hero-meter__withdraw { font-size: 9px; }
}

/* Сертификат — чиним верстку на мобилке */
@media (max-width: 860px) {
  .cert__card {
    padding: 24px 20px;
    gap: 20px;
  }
  .cert__card > div:first-child p,
  .cert__card > div:first-child h2 { text-align: left; }
}

/* "Выберите свой вариант" — фото сверху, текст снизу */
@media (max-width: 900px) {
  .services__panel.is-active {
    display: flex !important;
    flex-direction: column-reverse;
  }
  .services__visual { min-height: 220px; }
}

@media (max-width: 700px) {
  .services__tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 0;
    gap: 10px;
    padding: 0;
    margin-bottom: 28px;
  }
  .services__tab {
    justify-content: center;
    min-width: 0;
    min-height: 54px;
    padding: 11px 8px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.15;
    white-space: normal;
  }
  .services__tab svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }
  .services__info {
    padding: 24px;
  }
  .services__calc {
    width: 100%;
  }
}

/* Форма + шаги — мобилка */
@media (max-width: 700px) {

  /* Форма: одна колонка, компактные отступы */
  .form__wrap {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    gap: 28px !important;
  }

  /* Шаги: скрываем вертикальную дорогу, показываем горизонтальную */
  .form__perks--route .sroute {
    display: block !important;
    grid-template-columns: unset !important;
  }

  .form__perks--route .sroute__road,
  .sroute__road {
    display: block !important;
    min-height: unset !important;
    height: 60px !important;
    width: 100% !important;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    margin-bottom: 16px;
    flex-direction: unset !important;
  }

  .sroute__dashes {
    position: absolute !important;
    top: 50% !important; left: 0 !important; right: 0 !important;
    height: 3px !important;
    width: auto !important;
    transform: translateY(-50%) !important;
    background: repeating-linear-gradient(90deg, var(--accent) 0 24px, transparent 24px 40px) !important;
    animation: road-dash 1s linear infinite !important;
  }
  .sroute__dashes::before { display: none !important; }

  .sroute__car {
    position: absolute !important;
    top: 50% !important;
    left: -80px !important;
    transform: translateY(-50%) !important;
    animation: sroute-mobile-drive 5s linear infinite !important;
  }
  @keyframes sroute-mobile-drive {
    0%   { left: -80px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 105%; opacity: 0; }
  }

  .sroute__markers { display: none !important; }
  .sroute__bubble  { display: none !important; }

  .sroute__stops {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .sroute__stop {
    border-bottom: none !important;
    padding: 12px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
  }
  .sroute__stop-dot  { display: none !important; }
  .sroute__stop-time { font-size: 10px !important; }
  .sroute__stop-title { font-size: 13px !important; }
  .sroute__stop-desc  { font-size: 11px !important; }
}

/* Cert stats grid */
.cert__stats {
  display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
@media (max-width: 860px) {
  .cert__stats { gap: 14px 24px; }
  .cert__stats > div > div:first-child { font-size: 24px !important; }
}

/* ── Мобильный маршрут: машинка стоит, карточки едут ── */
@media (max-width: 700px) {

  .form__perks--route .sroute,
  .sroute { display: block !important; }

  /* Дорога — светлая, с жёлтыми полосками */
  .form__perks--route .sroute__road,
  .sroute__road {
    display: block !important;
    min-height: unset !important;
    height: 110px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #f5f5f0 !important;
    border: 1px solid #e0ddd0 !important;
    box-shadow: inset 0 -3px 8px rgba(0,0,0,.06) !important;
    margin-bottom: 0 !important;
  }

  /* Край дороги — серые полосы сверху и снизу */
  .sroute__road::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important; right: 0 !important;
    top: 0 !important; bottom: 0 !important;
    background:
      linear-gradient(#ccc 0 6px, transparent 6px calc(100% - 6px), #ccc calc(100% - 6px) 100%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  /* Жёлтая пунктирная разметка по центру — едет влево (иллюзия движения) */
  .sroute__dashes {
    position: absolute !important;
    top: 50% !important; bottom: auto !important;
    left: 0 !important; right: 0 !important;
    height: 4px !important;
    transform: translateY(-50%) !important;
    background: repeating-linear-gradient(90deg, #E60000 0 28px, transparent 28px 56px) !important;
    animation: mobile-road-move 0.7s linear infinite !important;
    z-index: 1 !important;
  }
  .sroute__dashes::before { display: none !important; }

  @keyframes mobile-road-move {
    from { background-position: 0 0; }
    to   { background-position: -56px 0; }
  }

  /* Машинка — стоит слева, чуть покачивается */
  .sroute__car--mobile {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    animation: car-idle-bounce 0.5s ease-in-out infinite alternate !important;
    z-index: 5 !important;
    transition: none !important;
  }
  @keyframes car-idle-bounce {
    from { transform: translateY(calc(-50% - 1px)); }
    to   { transform: translateY(calc(-50% + 1px)); }
  }

  .sroute__markers { display: none !important; }
  .sroute__bubble  { display: none !important; }

  /* Контейнер карточек — поверх дороги, по центру по высоте */
  .sroute__stops {
    position: absolute !important;
    top: 0 !important; bottom: 0 !important;
    left: 90px !important; /* правее машинки */
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    z-index: 6 !important;
  }

  /* Карточка — едет по дороге */
  .sroute__stop--card {
    position: absolute !important;
    left: 0 !important;
    width: calc(100% - 12px) !important;
    border-bottom: none !important;
    padding: 10px 14px !important;
    background: #fff !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.10) !important;
    will-change: transform !important;
  }
  .sroute__stop--card.is-active {
    border-color: #E60000 !important;
    box-shadow: 0 2px 16px rgba(255,210,0,.3) !important;
  }

  .sroute__stop-dot  { display: none !important; }
  .sroute__stop-card { padding: 0 !important; }
  .sroute__stop-time {
    font-size: 10px !important;
    color: #FFB300 !important;
    font-weight: 600 !important;
    letter-spacing: .03em !important;
  }
  .sroute__stop-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-top: 4px !important;
    line-height: 1.25 !important;
  }
  .sroute__stop-desc {
    font-size: 11px !important;
    color: #666 !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 860px) {
  .cert__visual {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .cert__visual img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
@media (max-width: 500px) {
  .cert__card { padding: 20px 16px; }
  .cert__visual { padding: 10px; }
}

/* ── Горизонтальный степпер "4 шага" ── */
.steps-h {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
}
.steps-h__item {
  position: relative;
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* соединительная линия между шагами */
.steps-h__item:not(.steps-h__item--last) .steps-h__line {
  position: absolute;
  top: 13px;
  left: 28px;
  right: 0;
  height: 2px;
  background: var(--line-strong);
}
.steps-h__item--last .steps-h__line { display: none; }

.steps-h__num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.steps-h__num--last {
  background: var(--surface-2);
  font-size: 14px;
}
.steps-h__time {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: .02em;
}
.steps-h__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.steps-h__desc {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
}

@media (max-width: 500px) {
  .steps-h {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
  }
  .steps-h__item:not(.steps-h__item--last) .steps-h__line { display: none; }
  .steps-h__item { padding: 0; }
}

/* steps-h на планшетах и мобилках, sroute только на широком ПК */
.steps-h--mobile { display: none; }
.sroute--desktop { display: grid; }

@media (max-width: 1080px) {
  .sroute--desktop { display: none !important; }
  .steps-h--mobile {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .steps-h--mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 8px !important;
  }
  .steps-h__item:not(.steps-h__item--last) .steps-h__line { display: none !important; }
}

@media (max-width: 700px) {
  .hero__art {
    aspect-ratio: unset;
  }
  .hero__grid {
    justify-content: flex-start;
    padding: 116px 0 50px;
  }
  .hero__text {
    max-width: 100%;
    transform: translateY(-54px);
  }
  .city-scene__road {
    height: 42% !important;
  }
  .city-scene__sidewalk {
    bottom: 42% !important;
    height: 4.5% !important;
  }
  .city-scene__houses-track {
    bottom: 46% !important;
    height: 30% !important;
  }
  .city-scene__skyline {
    bottom: 56% !important;
  }
  .taxi-car {
    bottom: 29% !important;
    left: 54% !important;
    width: min(80vw, 330px) !important;
    min-width: 235px !important;
  }
  .hero-meter {
    bottom: 17% !important;
  }
  .city-scene__houses-track {
    bottom: 46%;
    height: 30%;
  }
  .city-scene__sky {
    height: 52%;
  }
}
@media (max-width: 420px) {
  .hero__grid {
    padding-top: 102px;
  }
  .hero__text {
    transform: translateY(-74px);
  }
  .city-scene__road {
    height: 46% !important;
  }
  .city-scene__sidewalk {
    bottom: 46% !important;
  }
  .city-scene__houses-track {
    bottom: 50% !important;
    height: 28% !important;
  }
  .city-scene__skyline {
    bottom: 60% !important;
  }
  .taxi-car {
    bottom: 33% !important;
    left: 54% !important;
    width: 82vw !important;
    min-width: 225px !important;
  }
  .hero-meter {
    bottom: 20% !important;
  }
}
@media (max-width: 380px), (max-height: 700px) {
  .hero__grid {
    padding-top: 96px;
  }
  .hero__text {
    transform: translateY(-86px);
  }
  .hero__eyebrow {
    margin-bottom: 0;
  }
  .hero__title {
    margin-top: 14px;
    margin-bottom: 16px;
  }
  .hero__sub {
    margin-bottom: 22px;
  }
  .city-scene__road {
    height: 50% !important;
  }
  .city-scene__sidewalk {
    bottom: 50% !important;
  }
  .city-scene__houses-track {
    bottom: 54% !important;
    height: 26% !important;
  }
  .city-scene__skyline {
    bottom: 64% !important;
  }
  .taxi-car {
    bottom: 37% !important;
    left: 54% !important;
    width: 84vw !important;
    min-width: 220px !important;
  }
  .hero-meter {
    bottom: 24% !important;
  }
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  min-height: 100vh;
  background: #F4F6FA;
  color: #111827;
}
.legal-doc {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}
.legal-doc__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.legal-doc__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}
.legal-doc__brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.legal-doc__back {
  color: #E60000;
  font-weight: 800;
  text-decoration: none;
}
.legal-doc__card {
  background: #FFFFFF;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 18px 48px rgba(15,23,42,.08);
}
.legal-doc h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}
.legal-doc h2 {
  margin: 30px 0 10px;
  color: #111827;
  font-size: 22px;
}
.legal-doc p,
.legal-doc li {
  color: #374151;
  font-size: 15px;
  line-height: 1.72;
}
.legal-doc ul {
  padding-left: 20px;
}
.legal-doc a {
  color: #E60000;
}
.legal-table-wrap {
  width: 100%;
  margin: 16px 0 20px;
  overflow-x: auto;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px;
  background: #FFFFFF;
}
.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17,24,39,.08);
  vertical-align: top;
  text-align: left;
  line-height: 1.55;
}
.legal-table th {
  background: #F8FAFC;
  color: #111827;
  font-weight: 800;
}
.legal-table td {
  color: #374151;
}
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}
.legal-doc__note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #7C2D12;
}
.legal-doc__meta {
  color: #6B7280;
  font-size: 13px;
}
