/* mvtaxi.org — редизайн 2026-10, раскладка в духе uber.com.
 *
 * Белый фон, чистый чёрный текст и кнопки, серые (#F3F3F3) карточки, крупные
 * жирные заголовки одним гротеском. Ритм страницы — ряды «настоящий скриншот +
 * короткий текст + одна чёрная кнопка». Красный MV — только логотип и живые
 * сигналы (занятые машины в демо). Брендинга Uber нет.
 *
 * Шрифт: Onest (латиница + кириллица); армянские буквы берёт Noto Sans Armenian.
 */

:root {
  color-scheme: light;
  /* Постоянные цвета — не меняются с темой */
  --black: #000000;
  --white: #FFFFFF;
  --paper: #FFFFFF;          /* текст и кнопки на чёрных полосах, QR, логотипы оплаты */
  --paper-2: #E8E8E8;
  --red: #E31E24;
  --green: #05A357;
  --on-black-2: #AFAFAF;
  --line-dark: rgba(255, 255, 255, 0.16);

  /* Тема: светлая */
  --bg: #FFFFFF;
  --fg: #000000;
  --fg-soft: #333333;
  --card: #FFFFFF;           /* карточка на сером */
  --grey: #F3F3F3;
  --grey-2: #E8E8E8;
  --line: #E2E2E2;
  --line-strong: #D0D0D0;
  --input-bg: #FFFFFF;
  --input-border: #B8B8B8;
  --input-border-hover: #8A8A8A;
  --text-2: #5E5E5E;
  --text-3: #8A8A8A;
  --btn: #000000;
  --btn-fg: #FFFFFF;
  --btn-hover: #333333;
  --ink-bg: #000000;         /* «чёрные» полосы: демо, звонок, подвал */
  --dark-2: #1A1A1A;
  --bezel-ring: transparent;
  --ok-bg: #E6F6EC; --ok-fg: #04733E;
  --err-bg: #FDECEC; --err-fg: #B3141A;
  --shadow: 0 12px 40px -12px rgba(0, 0, 0, .25);

  --font: "Onest", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-btn: 8px;
  --radius: 16px;
  --gutter: 16px;
  --header-h: 64px;
}
/* Тёмная тема: по системе, пока человек не выбрал сам (data-theme на <html>,
   его ставит скрипт в <head> до первой отрисовки). Блок повторён дважды
   намеренно — у CSS нет способа сказать «система ИЛИ явный выбор» одним
   селектором. Правя один, правьте второй. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --fg: #FFFFFF; --fg-soft: #D6D6D6; --card: #242424;
    --grey: #161616; --grey-2: #242424; --line: #2B2B2B; --line-strong: #3A3A3A;
    --input-bg: #0F0F0F; --input-border: #5C5C5C; --input-border-hover: #8C8C8C;
    --text-2: #A8A8A8; --text-3: #7C7C7C;
    --btn: #FFFFFF; --btn-fg: #000000; --btn-hover: #E2E2E2;
    --ink-bg: #121212; --dark-2: #1F1F1F; --bezel-ring: #2E2E2E;
    --ok-bg: #0E2B1B; --ok-fg: #5DD38F; --err-bg: #331314; --err-fg: #FF8A8E;
    --shadow: 0 12px 40px -12px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --fg: #FFFFFF; --fg-soft: #D6D6D6; --card: #242424;
  --grey: #161616; --grey-2: #242424; --line: #2B2B2B; --line-strong: #3A3A3A;
    --input-bg: #0F0F0F; --input-border: #5C5C5C; --input-border-hover: #8C8C8C;
  --text-2: #A8A8A8; --text-3: #7C7C7C;
  --btn: #FFFFFF; --btn-fg: #000000; --btn-hover: #E2E2E2;
  --ink-bg: #121212; --dark-2: #1F1F1F; --bezel-ring: #2E2E2E;
  --ok-bg: #0E2B1B; --ok-fg: #5DD38F; --err-bg: #331314; --err-fg: #FF8A8E;
  --shadow: 0 12px 40px -12px rgba(0, 0, 0, .8);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

/* ── База ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
/* hidden побеждает display: flex/grid у компонентов (шаги /ride, списки) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; }
h3 { font-size: 1.1rem; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--btn); color: var(--btn-fg); border-radius: var(--radius-btn); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1408px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 920px; }
.muted { color: var(--text-2); }
.ic { width: 24px; height: 24px; flex: none; }

/* ── Кнопки ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius-btn);
  font-family: var(--font); font-size: 1rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s;
}
.btn .ic { width: 20px; height: 20px; }
.btn--dark { background: var(--btn); color: var(--btn-fg); }
.btn--dark:hover { background: var(--btn-hover); }
.btn--grey { background: var(--grey); color: var(--fg); }
.btn--grey:hover { background: var(--grey-2); }
.btn--ghost-dark { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-dark); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.section--ink .btn--dark { background: var(--paper); color: var(--black); }
.section--ink .btn--dark:hover { background: var(--paper-2); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.link-arrow { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ── Шапка ────────────────────────────────────────────────────────── */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 26px; width: auto; }
.site-nav { display: none; gap: 2px; margin-right: auto; }
.site-nav__link { padding: 8px 12px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav__link:hover, .site-nav__link.is-active { background: var(--grey); }

.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.langs { display: none; gap: 2px; }
.langs__item { padding: 6px 10px; border-radius: 999px; font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--text-2); }
.langs__item:hover { background: var(--grey); color: var(--fg); }
.langs__item.is-active { color: var(--fg); background: var(--grey); }
.header-phone { display: none; flex-direction: column; line-height: 1.1; text-decoration: none; text-align: right; }
.header-phone__num { font-weight: 700; font-size: .98rem; white-space: nowrap; }
.header-phone__note { font-size: .75rem; color: var(--text-2); }
.header-cta { width: 40px; padding: 0; }
.header-cta span { display: none; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 40px; height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--grey); cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg);
  padding: 8px var(--gutter) 32px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.mobile-nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.mobile-nav__langs { display: flex; gap: 8px; }
.mobile-nav__langs a { flex: 1; text-align: center; padding: 10px 0; border-radius: var(--radius-btn); background: var(--grey); text-decoration: none; font-weight: 500; }
.mobile-nav__langs a.is-active { background: var(--btn); color: var(--btn-fg); }

@media (min-width: 640px) { .header-cta { width: auto; padding: 0 16px; } .header-cta span { display: inline; } }
@media (min-width: 900px) { .langs { display: flex; } }
@media (min-width: 1360px) { .header-phone { display: flex; } }
@media (min-width: 1180px) {
  .site-nav { display: flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
  .site-header__actions { margin-left: 0; }
}

/* ── Секции ───────────────────────────────────────────────────────── */

.main { display: block; }
.section { padding: 64px 0; }
.section--tight { padding-top: 24px; }
.section--grey { background: var(--grey); }
.section--ink { background: var(--ink-bg); color: var(--paper); }
.section--ink p, .section--ink .section-lead { color: var(--on-black-2); }
@media (min-width: 900px) { .section { padding: 96px 0; } .section--tight { padding-top: 32px; } }

.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 24px; max-width: 24ch; }
.lang-hy .section-title { letter-spacing: -.005em; }
.section-lead { font-size: 1.1rem; color: var(--text-2); max-width: 62ch; }
.section-head { margin-bottom: 40px; }
.section-head .section-lead { margin-bottom: 0; }

.split { display: grid; gap: 40px; align-items: start; }
.two-col { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--form { grid-template-columns: 5fr 6fr; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ── Первый экран ─────────────────────────────────────────────────── */

.hero { padding: 32px 0 24px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.035em; line-height: 1.02; max-width: 12ch; margin-bottom: 20px; }
.lang-hy .hero__title { letter-spacing: -.01em; line-height: 1.08; }
.hero__lead { font-size: 1.15rem; color: var(--text-2); max-width: 44ch; margin-bottom: 28px; }
.hero__driver { margin: 20px 0 0; }
.hero__driver a { color: var(--text-2); text-underline-offset: 4px; }
.hero__driver a:hover { color: var(--fg); }
.hero__media { display: flex; justify-content: center; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 40px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero__grid--text { grid-template-columns: 1fr; }
}

/* Карточка заказа: номер в виде «поля», под ним кнопки магазинов */
.order-card { display: grid; gap: 12px; max-width: 460px; }
.order-card__call { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--grey); border-radius: var(--radius-btn); text-decoration: none; }
.order-card__call .ic { width: 22px; height: 22px; }
.order-card__call span { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.order-card__call small { font-size: .82rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.order-card__call:hover { background: var(--grey-2); }

/* ── Скриншоты ────────────────────────────────────────────────────── */

.shot { margin: 0; }
.shot img { width: 100%; height: auto; }
/* Телефон: экран в тонкой чёрной рамке со скруглением как у iPhone */
.shot--phone { width: min(320px, 78vw); padding: 9px; border-radius: 48px; background: var(--black); box-shadow: 0 0 0 1px var(--bezel-ring), 0 40px 80px -30px rgba(0, 0, 0, .45); }
.shot--phone img { border-radius: 40px; }
/* Панель: окно браузера */
.shot--panel { border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .35); }
.shot__bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--grey); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }

/* ── Цифры ────────────────────────────────────────────────────────── */

.stats { display: flex; flex-wrap: wrap; gap: 32px 64px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats__item { display: flex; flex-direction: column; }
.stats__value { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats__label { color: var(--text-2); }

/* ── Плитки услуг ─────────────────────────────────────────────────── */

.tiles-uber { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-content: space-between;
  min-height: 150px; padding: 20px; border-radius: var(--radius); background: var(--grey); text-decoration: none;
  transition: background-color .15s;
}
.tile:hover { background: var(--grey-2); }
.tile__text { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; color: var(--text-2); }
.tile__text b { font-size: 1.1rem; color: var(--fg); }
.tile__icon { width: 44px; height: 44px; stroke-width: 1.4; }
.tile__more { grid-column: 1; justify-self: start; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: var(--card); font-size: .88rem; font-weight: 500; }

/* ── Ряд «скриншот + текст» ───────────────────────────────────────── */

.row { padding: 64px 0; }
.row__grid { display: grid; gap: 40px; align-items: center; }
.row__grid--text .row__media { display: none; }
.row__media { display: flex; justify-content: center; }
.row__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.025em; margin-bottom: 18px; max-width: 18ch; }
.lang-hy .row__title { letter-spacing: -.005em; }
.row__lead { font-size: 1.1rem; color: var(--text-2); max-width: 52ch; margin: 0; }
@media (min-width: 900px) {
  .row { padding: 96px 0; }
  .row__grid { grid-template-columns: 1fr 1fr; gap: 96px; }
  .row--flip .row__media { order: 2; }
  .row__grid--text { grid-template-columns: minmax(0, 760px); }
  .row .shot--panel { width: 100%; }
}

/* ── Способы заказа ───────────────────────────────────────────────── */

.ways { display: grid; gap: 16px; }
.ways__item { padding: 24px; border-radius: var(--radius); background: var(--grey); }
.ways__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); margin-bottom: 16px; }
.ways__item h3 { margin-bottom: 6px; }
.ways__item p { color: var(--text-2); margin: 0; }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }

/* ── Возможности ──────────────────────────────────────────────────── */

.features { display: grid; gap: 36px 48px; }
.features__item .ic { width: 32px; height: 32px; margin-bottom: 14px; stroke-width: 1.5; }
.features__item h3 { margin-bottom: 6px; }
.features__item p { color: var(--text-2); margin: 0; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 48px 64px; } }

.points { display: grid; gap: 28px; }
.points li { display: flex; gap: 16px; align-items: flex-start; }
.points .ic { width: 28px; height: 28px; margin-top: 2px; stroke-width: 1.5; }
.points h3 { margin-bottom: 4px; }
.points p { margin: 0; color: var(--text-2); }
.points--light p { color: var(--on-black-2); }
@media (min-width: 640px) { .points--two { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 900px) { .points--grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ── Карточки-ссылки ──────────────────────────────────────────────── */

.paths { display: grid; gap: 16px; }
.paths__item { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--grey); text-decoration: none; transition: background-color .15s; }
.section--grey .paths__item { background: var(--card); }
.paths__item h3 { font-size: 1.25rem; }
.paths__item p { color: var(--text-2); margin: 0 0 12px; }
.paths__more { margin-top: auto; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--card); font-size: .88rem; font-weight: 500; }
.section--grey .paths__more { background: var(--grey); }
.paths__item:hover { background: var(--grey-2); }
.section--grey .paths__item:hover { box-shadow: inset 0 0 0 1px var(--fg); background: var(--card); }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(3, 1fr); } .paths--stack { grid-template-columns: 1fr; } }

.tiles { display: grid; gap: 16px; }
.tiles__item { padding: 24px; border-radius: var(--radius); background: var(--grey); }
.section--grey .tiles__item { background: var(--card); }
.tiles__item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tiles__item p { color: var(--text-2); margin: 0; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.checks .ic { width: 22px; height: 22px; margin-top: 2px; }
.checks--plain .ic { color: var(--text-2); }

/* Шаги — настоящая последовательность, поэтому с номерами */
.steps { display: grid; gap: 28px; counter-reset: step; margin-top: 8px; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--btn); color: var(--btn-fg); font-weight: 700; }
.section--ink .steps li::before { background: var(--paper); color: var(--black); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-2); }
.section--ink .steps p { color: var(--on-black-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ── Кнопки магазинов ─────────────────────────────────────────────── */

.app-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.app-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border-radius: var(--radius-btn); background: var(--btn); color: var(--btn-fg); text-decoration: none; }
.app-btn .ic { width: 22px; height: 22px; }
.app-btn__text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; }
.app-btn__text small { font-size: .7rem; font-weight: 500; opacity: .75; }
.app-btn:hover { background: var(--btn-hover); }
.app-btn--soon { background: var(--grey); color: var(--text-3); cursor: default; }
.app-btn--soon:hover { background: var(--grey); }
.app-buttons--dark .app-btn { background: var(--paper); color: var(--black); }
.app-buttons--dark .app-btn:hover { background: var(--paper-2); }
.app-buttons--dark .app-btn--soon { background: var(--dark-2); color: var(--on-black-2); }

.app-card { padding: 28px; border-radius: var(--radius); background: var(--grey); }
.app-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.app-card h3 small { font-weight: 500; font-size: .95rem; color: var(--text-2); }
.app-card p { color: var(--text-2); }

.app-cards { display: grid; gap: 16px; }
.app-cards__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 20px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.app-cards__item:hover { background: var(--grey); }
.app-cards__text { display: flex; flex-direction: column; gap: 4px; }
.app-cards__text b { font-size: 1.35rem; }
.app-cards__text small { color: var(--text-2); font-size: .92rem; }
.app-cards__arrow { font-size: 2.2rem; line-height: 1; }
@media (min-width: 900px) { .app-cards { grid-template-columns: 1fr 1fr; } }

/* ── Внутренние страницы ──────────────────────────────────────────── */

.page-hero { padding: 40px 0 48px; }
.page-hero__grid { display: grid; gap: 32px; align-items: end; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.75rem); letter-spacing: -.03em; line-height: 1.04; max-width: 18ch; margin-bottom: 18px; }
.lang-hy .page-hero__title { letter-spacing: -.01em; }
.page-hero__lead { font-size: 1.15rem; color: var(--text-2); max-width: 58ch; margin: 0; }
@media (min-width: 900px) {
  .page-hero { padding: 64px 0; }
  .page-hero--split .page-hero__grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: .9rem; color: var(--text-2); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.facts__item { padding: 18px; border-radius: var(--radius); background: var(--grey); }
.facts__item dt { font-size: .85rem; color: var(--text-2); }
.facts__item dd { margin: 4px 0 0; font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.facts__item--accent { background: var(--ink-bg); color: var(--paper); }
.facts__item--accent dt { color: var(--on-black-2); }
.facts__item--accent dd { font-size: 2.4rem; }

.price-card { padding: 28px; border-radius: var(--radius); background: var(--ink-bg); color: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.price-card__label { color: var(--on-black-2); }
.price-card__value { font-weight: 700; font-size: clamp(2rem, 3.8vw, 2.8rem); letter-spacing: -.02em; white-space: nowrap; }
.price-card__value--text { font-size: 1.5rem; white-space: normal; }

/* ── Калькулятор ──────────────────────────────────────────────────── */

.calc { display: grid; gap: 32px; padding: 28px; border-radius: var(--radius); background: var(--dark-2); }
.calc__inputs { display: grid; gap: 28px; }
.calc__field { display: flex; flex-direction: column; gap: 12px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; }
.calc__label output { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; cursor: pointer; background: linear-gradient(to right, var(--paper) var(--fill, 50%), #3A3A3A var(--fill, 50%)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 0; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__chips button { padding: 6px 14px; border-radius: 999px; border: 0; background: #2A2A2A; color: var(--paper); cursor: pointer; font-variant-numeric: tabular-nums; }
.calc__chips button.is-active { background: var(--paper); color: var(--black); }
.calc__results { display: grid; gap: 1px; margin: 0; background: var(--line-dark); }
.calc__results > div { background: var(--dark-2); padding: 16px 0; }
.calc__results dt { color: var(--on-black-2); font-size: .9rem; }
.calc__results dd { margin: 2px 0 0; font-weight: 600; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.calc__main dd { font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--paper); }
.fine { font-size: .9rem; color: var(--on-black-2); margin-top: 20px; max-width: 72ch; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 64px; padding: 40px; } }

.split-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.split-sides__col { padding: 24px; border-radius: var(--radius); background: var(--grey); }
.split-sides__col--mv { background: var(--ink-bg); color: var(--paper); }
.split-sides__col h3 { margin-bottom: 12px; }
.split-sides__col li { padding: 6px 0; border-top: 1px solid var(--line); }
.split-sides__col--mv li { border-color: var(--line-dark); }
.split-sides__plus { align-self: center; font-size: 2rem; font-weight: 700; }
@media (max-width: 520px) { .split-sides { grid-template-columns: 1fr; } .split-sides__plus { justify-self: center; } }

/* ── Платформа ────────────────────────────────────────────────────── */

.modules { display: grid; gap: 16px; }
.modules__item { padding: 24px; border-radius: var(--radius); background: var(--grey); }
.modules__item .ic { width: 30px; height: 30px; margin-bottom: 16px; stroke-width: 1.5; }
.modules__item h3 { margin-bottom: 6px; }
.modules__item p { margin: 0; color: var(--text-2); font-size: .97rem; }
@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .modules { grid-template-columns: repeat(4, 1fr); } }

.shots-grid { display: grid; gap: 32px; margin-top: 8px; }
.shots-grid figure { margin: 0; }
.shots-grid figcaption { margin-top: 14px; font-weight: 600; font-size: 1.05rem; }
.shots-grid figcaption small { display: block; font-weight: 400; color: var(--text-2); font-size: .95rem; }
@media (min-width: 900px) { .shots-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; } }

.models { display: grid; gap: 12px; }
.models__item { padding: 24px; border-radius: var(--radius); background: var(--card); }
.models__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.models__item p { margin: 0; color: var(--text-2); }
.models__item a { display: inline-block; margin-top: 10px; font-weight: 500; }

/* Живой демо-город */
.demo { display: grid; gap: 40px; align-items: center; }
.demo__title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 16px; max-width: 20ch; }
.demo__lead { color: var(--on-black-2); font-size: 1.08rem; max-width: 52ch; }
.demo__roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.demo__roles li { padding: 6px 12px; border-radius: 999px; background: var(--dark-2); font-size: .9rem; }
.demo__access { font-size: .95rem; }
.demo__live { border-radius: var(--radius); background: var(--dark-2); padding: 12px; }
.demo__map { position: relative; border-radius: 10px; overflow: hidden; background: #1B1B1B; aspect-ratio: 400 / 260; }
.demo__map.is-empty { display: none; }
.demo__map .maplibregl-ctrl-attrib { font-size: 10px; }
.demo__counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 12px 0 0; background: var(--line-dark); border-radius: 10px; overflow: hidden; }
.demo__counts > div { background: var(--dark-2); padding: 12px 14px; display: flex; flex-direction: column-reverse; }
.demo__counts dt { font-size: .85rem; color: var(--on-black-2); }
.demo__counts dd { margin: 0; font-weight: 700; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.demo__counts .is-free dd { color: #3DDC84; }
.demo__counts .is-busy dd { color: #FF5A5F; }
.demo__note { margin: 12px 2px 0; font-size: .82rem; color: var(--on-black-2); }
@media (min-width: 640px) { .demo__counts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .demo { grid-template-columns: 5fr 6fr; gap: 64px; } }

/* ── FAQ ──────────────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { margin: 0 0 22px; color: var(--text-2); max-width: 72ch; }
.more-link { margin-top: 24px; font-weight: 500; }
.more-link a { text-underline-offset: 4px; }

/* ── Финальная полоса ─────────────────────────────────────────────── */

.call-band { background: var(--ink-bg); color: var(--paper); padding: 64px 0; }
.call-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.call-band__title { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; }
.call-band__lead { margin: 6px 0 0; font-size: 1.15rem; color: var(--on-black-2); }
.call-band__phone {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: var(--radius-btn);
  background: var(--paper); color: var(--black); text-decoration: none;
  font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2rem); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.call-band__phone .ic { width: .9em; height: .9em; }
.call-band__phone:hover { background: var(--paper-2); }

/* ── Формы ────────────────────────────────────────────────────────── */

.lead-card { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.section--grey .lead-card { box-shadow: none; }
.lead-card__title { font-size: 1.6rem; letter-spacing: -.015em; margin-bottom: 8px; }
.lead-card__text { color: var(--text-2); }
@media (min-width: 900px) { .lead-card { padding: 36px; } }
.lead-form { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 560px) { .lead-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .9rem; font-weight: 500; }
/* Поля всегда с видимой рамкой (в обеих темах); фокус — рамка цвета текста
   толщиной 2px, добранная тенью, чтобы поле не прыгало. */
.field__input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-btn); border: 1px solid var(--input-border); background: var(--input-bg); color: var(--fg); font: inherit; transition: border-color .15s; }
.field__input:hover { border-color: var(--input-border-hover); }
.section--grey .field__input { background: var(--input-bg); }
textarea.field__input { min-height: 96px; resize: vertical; }
.field__input:focus { outline: none; border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.field__input::placeholder { color: var(--text-3); }
.field__input--file { padding: 10px; }
.lead-form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lead-form__note { margin: 0; font-size: .85rem; color: var(--text-2); flex: 1 1 220px; }
.lead-form__note a { color: inherit; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-btn); font-weight: 500; }
.form-alert--success { background: var(--ok-bg); color: var(--ok-fg); }
.form-alert--error { background: var(--err-bg); color: var(--err-fg); }
.aside-note { margin-top: 28px; color: var(--text-2); }
.aside-note a { color: var(--fg); font-weight: 600; }
.aside-note--light a { color: var(--paper); }

/* ── Скачать ──────────────────────────────────────────────────────── */

.downloads { display: grid; gap: 20px; }
@media (min-width: 900px) { .downloads { grid-template-columns: 1fr 1fr; } }
.download { padding: 32px; border-radius: var(--radius); background: var(--grey); scroll-margin-top: calc(var(--header-h) + 16px); }
.download--ink { background: var(--ink-bg); color: var(--paper); }
.download--ink p { color: var(--on-black-2); }
.download--ink .app-btn { background: var(--paper); color: var(--black); }
.download__title { font-size: 2rem; letter-spacing: -.02em; margin-bottom: 10px; }
.download__title small { font-weight: 500; font-size: 1rem; color: var(--text-2); letter-spacing: 0; }
.download--ink .download__title small { color: var(--on-black-2); }
.download__shot { display: flex; justify-content: center; margin: 8px 0 28px; }
.download__shot .shot--phone { width: min(240px, 60vw); }
.download--ink .shot--phone { background: #222; }
.download__row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.download__option { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.download__hint { margin: 16px 0 0; font-size: .85rem; color: var(--text-2); }
.qr { width: 140px; height: 140px; padding: 8px; background: var(--paper); border-radius: 10px; box-sizing: content-box; display: block; }
.qr img, .qr canvas { width: 140px; height: 140px; }
.qr--sm { width: 84px; height: 84px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.qr--sm img, .qr--sm canvas { width: 84px; height: 84px; }

/* ── О компании, контакты, ошибки, документы ──────────────────────── */

.prose p { font-size: 1.12rem; max-width: 62ch; }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--grey); }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.aside-card__phone { display: block; margin-top: 20px; font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.aside-card .muted { margin: 0; }

.contact-list { display: grid; margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-2); font-weight: 500; }
.contact-list dt .ic { width: 20px; height: 20px; color: var(--fg); }
.contact-list dd { margin: 6px 0 0 30px; font-size: 1.1rem; }
.contact-list a { text-underline-offset: 4px; }
.contact-list__big { font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.contact-list__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.error-page__code { font-weight: 800; font-size: 5rem; line-height: 1; letter-spacing: -.04em; margin-bottom: 12px; }

.doc-wrap .section { padding: 0; }
.doc-note { padding: 12px 16px; border-radius: var(--radius-btn); background: var(--grey); color: var(--text-2); margin-bottom: 32px; }
.legal-document { max-width: 820px; }
.legal-document h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.02em; margin-bottom: 20px; }
.legal-document h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-document h3 { margin: 24px 0 8px; }
.legal-document p, .legal-document li { color: var(--fg-soft); }
.legal-document ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal-document ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1em; }
.legal-document table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.legal-document td, .legal-document th { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.doc-meta { color: var(--text-2); }

.jobs { display: grid; gap: 12px; }
.job-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--grey); }
.job-card__title { font-size: 1.15rem; }
.go-page { max-width: 640px; margin: 0 auto; padding: 64px var(--gutter); }

/* ── Подвал ───────────────────────────────────────────────────────── */

.site-footer { background: var(--ink-bg); color: var(--on-black-2); padding: 64px 0 40px; font-size: .95rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand img { height: 30px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__phone { display: inline-block; font-weight: 700; font-size: 1.6rem; margin-top: 4px; }
.site-footer__muted { color: var(--on-black-2); margin: 6px 0 0; }
.site-footer__muted a { color: var(--on-black-2); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__title { color: var(--paper); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.site-footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; gap: 24px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__legal a { color: var(--on-black-2); font-size: .88rem; }
.site-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer__pay-label { width: 100%; font-size: .85rem; }
.site-footer__pay img { height: 34px; width: auto; background: var(--paper); border-radius: 6px; padding: 4px 6px; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
}

/* ── Тема ─────────────────────────────────────────────────────────── */

.brand__logo { height: 26px; width: auto; color: var(--fg); }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0;
  border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer;
}
.theme-toggle:hover { background: var(--grey); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }

/* ── Заказ на сайте (/ride) ───────────────────────────────────────── */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn--lg { min-height: 56px; font-size: 1.05rem; font-weight: 600; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-btn { padding: 0; border: 0; background: none; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.link-btn[disabled] { color: var(--text-3); text-decoration: none; cursor: default; }

.ride { display: grid; grid-template-rows: 46vh auto; min-height: calc(100vh - var(--header-h)); }
.ride__map { grid-row: 1; position: relative; background: var(--grey); min-height: 280px; }
.ride__panel { grid-row: 2; position: relative; padding: 24px var(--gutter) 40px; background: var(--bg); }
@media (min-width: 960px) {
  .ride { grid-template-columns: 440px 1fr; grid-template-rows: none; height: calc(100vh - var(--header-h)); min-height: 600px; }
  .ride__map { grid-row: 1; grid-column: 2; min-height: 0; }
  .ride__panel { grid-row: 1; grid-column: 1; overflow-y: auto; padding: 32px 32px 40px; border-right: 1px solid var(--line); }
  .page-ride .site-footer, .page-ride .call-band { display: none; }
}
.ride__step { display: flex; flex-direction: column; gap: 16px; }
.ride__title { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.01em; }
.ride__lead { margin: 0; color: var(--text-2); }
.ride__hint, .ride__fine { margin: 0; color: var(--text-2); font-size: .9rem; }
.ride__fine a { color: var(--fg); }
.ride__note { padding: 16px; border-radius: var(--radius-btn); background: var(--grey); }
.ride__back { align-self: flex-start; padding: 6px 0; border: 0; background: none; color: var(--text-2); cursor: pointer; font: inherit; }
.ride__back:hover { color: var(--fg); }

.route-box { position: relative; display: grid; gap: 8px; }
.route-box__field { position: relative; display: flex; align-items: center; border-radius: var(--radius-btn); background: var(--input-bg); border: 1px solid var(--input-border); transition: border-color .15s; }
.route-box__field:hover { border-color: var(--input-border-hover); }
.route-box__field:focus-within { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.route-box__dot { flex: none; width: 10px; height: 10px; margin-left: 16px; background: var(--fg); }
.route-box__dot--a { border-radius: 50%; }
.route-box__dot--b { border-radius: 2px; }
.route-box__input { flex: 1; min-width: 0; min-height: 52px; padding: 0 12px; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 1rem; }
.route-box__input:focus { outline: none; }
.route-box__input::placeholder { color: var(--text-3); }
.route-box__locate { display: grid; place-items: center; width: 44px; height: 44px; margin-right: 4px; border: 0; border-radius: 999px; background: none; color: var(--fg); cursor: pointer; }
.route-box__locate:hover { background: var(--grey-2); }
.route-box__locate .ic { width: 20px; height: 20px; }
.route-box__locate.is-busy { opacity: .5; }

.sugg { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow-y: auto; padding: 6px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.sugg li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.sugg li b { font-weight: 500; }
.sugg li span { color: var(--text-2); font-size: .88rem; }
.sugg li[aria-selected="true"], .sugg li:hover { background: var(--grey); }
.sugg__empty { color: var(--text-2); cursor: default !important; }

.tariffs { display: flex; flex-direction: column; gap: 12px; }
.tariffs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tariffs__head h2 { font-size: 1.25rem; }
.tariffs__route { color: var(--text-2); font-size: .9rem; white-space: nowrap; }
.tariffs__list { display: grid; gap: 8px; }
.tariff { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 14px; padding: 10px 16px 10px 8px; border-radius: 14px; background: var(--grey); border: 2px solid transparent; cursor: pointer; transition: background-color .15s; }
/* Картинка тарифа — PNG из mv-admin с прозрачным фоном, без подложки. */
.tariff__pic { display: grid; place-items: center; height: 56px; }
.tariff__pic img { width: 88px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .18)); transition: transform .25s ease; }
.tariff[aria-checked="true"] .tariff__pic img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .tariff__pic img { transition: none; } }
.tariff__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tariff:hover { background: var(--grey-2); }
.tariff[aria-checked="true"] { border-color: var(--fg); background: var(--card); }
.tariff:focus-visible { outline-offset: 2px; }
.tariff__name { font-weight: 600; }
.tariff__price { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-align: right; }
.tariff__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--text-2); font-size: .85rem; }
.tariff__surge { color: var(--red); font-weight: 600; }
.ride__comment { margin: 4px 0 0; }
.ride__pay { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-btn); background: var(--grey); font-weight: 500; }
.ride__pay .ic { width: 20px; height: 20px; }

.ride__form { display: flex; flex-direction: column; gap: 14px; }
.ride__form .field { margin: 0; }
.phone-input { display: flex; align-items: stretch; gap: 8px; }
.phone-input__cc { display: grid; place-items: center; padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid var(--input-border); background: var(--grey); font-weight: 600; }
.code-input { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

.ride__status-label { margin: 0; color: var(--text-2); font-size: .9rem; }
.driver-card { display: grid; gap: 12px; padding: 18px; border-radius: 12px; background: var(--grey); }
.driver-card__car b { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--paper); color: var(--black); box-shadow: inset 0 0 0 1px #BDBDBD; font-size: 1.1rem; letter-spacing: .04em; }
.driver-card__car span { display: block; margin-top: 6px; color: var(--text-2); }
.driver-card__who { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.driver-card__rating { color: var(--text-2); }
.ride__summary { display: grid; gap: 1px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); }
.ride__summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--bg); }
.ride__summary dt { color: var(--text-2); }
.ride__summary dd { margin: 0; text-align: right; font-weight: 500; }
.ride__account { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .9rem; }

/* Пины A/B и машина на карте (HTML-маркеры MapLibre) */
.pin { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--white); font-size: .8rem; font-weight: 700; box-shadow: 0 0 0 3px var(--white), 0 6px 14px rgba(0, 0, 0, .35); }
.pin--b { border-radius: 8px; }
.car-marker { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.car-marker svg { width: 22px; height: 22px; }
.ride__map .maplibregl-ctrl-attrib { font-size: 10px; }

/* ── Мини-форма заказа в первом экране главной ───────────────────── */
.hero-order { display: grid; gap: 10px; margin: 28px 0 14px; max-width: 480px; }
.hero-order__or { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; }
.hero-order__or a { color: var(--fg); font-weight: 600; }

/* «Ваша поездка» в шапке */
.ride-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 240px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--grey); color: var(--fg); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ride-pill:hover { background: var(--grey-2); }
.ride-pill__text { overflow: hidden; text-overflow: ellipsis; }
.ride-pill__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(5, 163, 87, .5); }
.ride-pill[data-state="searching"] .ride-pill__dot { background: #F5A524; }
@media (prefers-reduced-motion: no-preference) { .ride-pill__dot { animation: ride-pulse 1.8s infinite; } }
@keyframes ride-pulse { 0% { box-shadow: 0 0 0 0 rgba(5, 163, 87, .5); } 70% { box-shadow: 0 0 0 8px rgba(5, 163, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 163, 87, 0); } }
.ride__captcha { min-height: 0; }
.shots-grid__cap { margin: 14px 0 0; display: flex; flex-direction: column; gap: 2px; }
.shots-grid__cap b { font-size: 1.05rem; }
.shots-grid__cap span { color: var(--text-2); }
.page-hero__aside .shot--phone { margin-inline: auto; }
