/* =====================================================================
   Три поршня — светлая тема сайта.
   Палитра, скругления и тени повторяют приложение: экраны приветствия,
   ввода телефона и ввода кода из SMS (Features/Auth в iOS-проекте).
   ===================================================================== */

:root {
  /* =====================================================================
     Цвета те же, что в мобильном приложении: Core/Theme/Theme.swift.
     Синий бренда, системные серые Apple, золото — только на звёздах.
     ===================================================================== */
  /* ── Поверхности светлой темы ── */
  --bg:        #f2f2f7;   /* фон приложения */
  --surface:   #ffffff;   /* карточка */
  --tint:      #e9e9f0;   /* подложка секции */
  --glass:     rgba(255, 255, 255, .74);
  --glass-2:   rgba(255, 255, 255, .56);
  /* ── Стекло ──
     Приём из новых версий iOS: полупрозрачная заливка, размытие фона,
     светлый блик по верхней кромке и тонкая обводка. Плотность держим
     не ниже 82%, иначе белые надписи на цветных кнопках теряют
     контраст, а серые на светлых — читаемость. */
  --glass-blur: 18px;
  --glass-edge: rgba(16, 24, 40, .13);    /* край стекла — темнее фона */
  --glass-edge-2: rgba(16, 24, 40, .08);
  --glass-spec: rgba(255, 255, 255, .55); /* блик по верхней кромке */
  --glass-tint: rgba(255, 255, 255, .58);

  /* ── Текст ── */
  --ink:       #1a1a1a;
  --ink-2:     #5f6672;   /* серый приложения #6B7280, на шаг темнее ради AA */
  --muted:     #646a78;   /* вместо #9CA3AF: тот давал 2,4:1 на мелком тексте */
  /* ── Границы ── */
  --line:      #e5e5ea;
  --line-2:    #d1d5db;
  /* ── Синий приложения: единственный акцент ──
     iosBlue #007AFF — то, чем покрашены акценты на экранах входа.
     Как буквы он даёт 4,0:1, поэтому для текста берём тон глубже,
     а сам iosBlue живёт в заливках, значках и градиенте кнопки. ── */
  --accent:    #0062cc;   /* буквы: 5,7:1 на белом */
  --accent-dk: #004fa3;
  --accent-rgb: 0, 122, 255;   /* iosBlue — для подложек и обводок */
  --ios-blue:  #007aff;
  --brass:     #0a6ed6;   /* заливки активных элементов */
  --brass-lite: #007aff;
  --signal:    #c2410c;   /* срочное; #FF9500 приложения как текст не читался */
  --red:       #d92d20;
  --gold:      #e0a100;   /* звёзды рейтинга — iosGold приложения */
  --gold-dk:   #b8860b;   /* legendGold приложения */
  /* Наследие: часть блоков ещё зовёт эти имена */
  --purple:    #0062cc;
  --teal:      #5f6672;
  --green:     #1c7f45;   /* success #34C759 приложения, доведён до AA */
  --on-green:  #ffffff;   /* галочка поверх зелёного */
  /* WhatsApp: узнаваемый зелёный мессенджера, приглушённый */
  --wa:        #22854f;
  --wa-dk:     #196b3e;
  --wa-rgb:    34, 133, 79;
  /* MAX: свой цвет мессенджера — синий с уходом в фиолетовый.
     Графит заказчику не подошёл, вернули как было. */
  --max-bg:    #5458dc;
  --max-bg-2:  #7c5cd6;
  /* ── Главное действие = кнопка со экрана входа ──
     Там градиент [iosBlue → brandDark]. Начало чуть притемнено:
     на чистом #007AFF белая надпись давала 4,0:1. ── */
  --act:       #0a6ed6;
  --act-2:     #1d4ed8;
  --act-ink:   #ffffff;
  --act-mark:  #ffffff;
  --on-brass:  #ffffff;   /* текст поверх синей заливки */
  /* ── Скругления: жёстче прежних, ближе к металлу ── */
  /* Одна мера для группы действий в шапке: пилюля номера и круги
     мессенджеров одного роста, иначе группа выглядит собранной наспех. */
  --hdr-btn: 42px;
  --r-icon: 10px;
  --r-card: 12px;
  --r-btn:  12px;
  --r-cta:  14px;
  --r-lg:   16px;
  --r-logo: 32px;
  --r-pill: 999px;
  /* ── Тени: очень тихие, глубину держат границы ── */
  --sh-card:   0 1px 2px rgba(16, 24, 40, .04), 0 2px 8px rgba(16, 24, 40, .05);
  --sh-card-2: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 20px rgba(16, 24, 40, .08);
  --sh-accent: 0 2px 8px rgba(var(--accent-rgb), .22);
  --sh-logo:   0 6px 16px rgba(16, 24, 40, .12), 0 2px 6px rgba(0, 0, 0, .06);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .8, .28, 1);
  /* ── Шрифты ──
     Manrope — геометричный гротеск: заголовки, надпись логотипа, цифры.
     Собранные формы, узкие пропорции, характер. До него пробовали Oswald
     (слишком узкий) и Nunito (мягкий, заголовки читались по-детски).
     Golos Text — основной текст, спроектирован под кириллицу. */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-rounded: var(--font-display);
}

/* ============================ ТЁМНАЯ ТЕМА ============================
   Значения взяты из тёмной палитры приложения. Включается кнопкой
   в шапке, запоминается в браузере; по умолчанию — как в системе.
------------------------------------------------------------------- */
html[data-theme="dark"] {
  /* Тёмная тема приложения: чёрный фон, карточка #1C1C1E */
  --bg:        #000000;
  --surface:   #1c1c1e;
  --tint:      #121214;
  --glass:     rgba(28, 28, 30, .74);
  --glass-2:   rgba(28, 28, 30, .56);
  /* В темноте стекло держится на светлоте, а не на прозрачности:
     блик слабее, обводка светлее фона. */
  --glass-edge: rgba(255, 255, 255, .18);
  --glass-edge-2: rgba(255, 255, 255, .08);
  --glass-spec: rgba(255, 255, 255, .12);
  --glass-tint: rgba(72, 74, 82, .5);

  --ink:       #f3f4f6;
  --ink-2:     #9ca3af;
  --muted:     #8b919c;   /* #6B7280 приложения на карточке давал 3,7:1 */
  --line:      #38383a;
  --line-2:    #48484a;
  --accent:    #64b5f6;   /* accentBlue тёмной темы приложения */
  --accent-dk: #90caf9;
  --accent-rgb: 100, 181, 246;
  --ios-blue:  #0a84ff;   /* системный синий тёмной темы */
  /* Заливка в темноте: глубже системного синего, чтобы белая надпись
     на ней читалась (на чистом #0A84FF выходило 3,7:1). */
  --brass:     #0b6ad4;
  --brass-lite: #2f8bf0;
  --signal:    #ffb74d;
  --red:       #ff6b6b;
  --gold:      #ffd426;   /* iosGold тёмной темы */
  --gold-dk:   #c9971f;   /* legendGold тёмной темы */
  --purple:    #64b5f6;
  --teal:      #9ca3af;
  --green:     #4cd97b;   /* success тёмной темы приложения */
  --on-green:  #06210f;
  --act:       #0b6ad4;
  --act-2:     #114fb8;
  --max-bg:    #6165e4;
  --max-bg-2:  #8a6ade;
  --act-ink:   #ffffff;
  --act-mark:  #ffffff;
  --on-brass:  #ffffff;
  /* На тёмном тени не читаются — глубину держим светлотой поверхностей */
  --sh-card:   0 1px 2px rgba(0, 0, 0, .4), 0 2px 10px rgba(0, 0, 0, .3);
  --sh-card-2: 0 1px 3px rgba(0, 0, 0, .45), 0 10px 26px rgba(0, 0, 0, .4);
  --sh-accent: 0 3px 12px rgba(10, 132, 255, .3);
  --sh-logo:   0 8px 20px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .4);
}
html[data-theme="dark"] .hero__aura {
  background:
    radial-gradient(38% 34% at 18% 26%, rgba(var(--accent-rgb), .18), transparent 70%),
    radial-gradient(34% 32% at 82% 30%, rgba(var(--accent-rgb), .16), transparent 70%),
    radial-gradient(32% 30% at 52% 68%, rgba(var(--accent-rgb), .12), transparent 72%),
    linear-gradient(180deg, rgba(20, 24, 29, .9), rgba(14, 17, 22, 0) 70%);
}
html[data-theme="dark"] .header.is-stuck { background: rgba(0, 0, 0, .84); }
html[data-theme="dark"] .brand__mark { background: var(--act); color: var(--act-ink); }
html[data-theme="dark"] .btn--glass { background: rgba(255, 255, 255, .08); color: var(--ink); border-color: var(--line-2); }
html[data-theme="dark"] .btn--glass:hover { background: rgba(255, 255, 255, .14); }
html[data-theme="dark"] .stats__item,
html[data-theme="dark"] .price-table tbody tr:hover { background: #1c2229; }
html[data-theme="dark"] .master__status { background: rgba(22, 27, 33, .9); color: var(--ink-2); }
html[data-theme="dark"] .map__viewport { background: linear-gradient(180deg, #14191f, #0f1317); }
html[data-theme="dark"] .map__grid { stroke: #262e37; }
html[data-theme="dark"] .map__abroad { fill: #191e24; stroke: #262d35; }
html[data-theme="dark"] .map__country { stroke: #414a55; }
html[data-theme="dark"] .map__regions { stroke: #303941; }
html[data-theme="dark"] #mapLand stop:first-child { stop-color: #212830; }
html[data-theme="dark"] #mapLand stop:last-child { stop-color: #171c22; }
html[data-theme="dark"] .map__legend { background: var(--surface); }
html[data-theme="dark"] .map__btn,
html[data-theme="dark"] .to-top { background: rgba(28, 34, 41, .92); color: var(--ink); }
html[data-theme="dark"] .map__label { background: rgba(28, 34, 41, .94); color: var(--ink); }
html[data-theme="dark"] .toast { background: rgba(237, 239, 242, .96); color: #14181d; }
html[data-theme="dark"] .fleet__chip { background: rgba(28, 34, 41, .92); color: var(--accent); }
html[data-theme="dark"] .fleet__icon,
html[data-theme="dark"] .card__icon { background: linear-gradient(160deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .16)); color: var(--accent); border-color: rgba(var(--accent-rgb), .2); }
html[data-theme="dark"] .dock__btn--wa { box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
html[data-theme="dark"] .hero__panel { background: linear-gradient(150deg, #1c2228 0%, #242b33 55%, #171c22 100%); border-color: #313943; }
html[data-theme="dark"] .cta { background: linear-gradient(140deg, #171c22 0%, #212830 55%, #14181d 100%); }
html[data-theme="dark"] .price-step__num { color: var(--line-2); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-rounded);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.028em; }
/* Заголовки секций — всегда одной строкой. Если текст длиннее, скрипт
   в app.js уменьшает размер до того, который влезает в ширину блока. */
h2 { font-size: clamp(1.85rem, 4.1vw, 3.1rem); line-height: 1.1; letter-spacing: -.028em; white-space: nowrap; }
/* Ключевое слово в любом заголовке секции — акцентным градиентом */
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* На тёмной карточке контактов градиент светлее, иначе не читается */
.cta h2 em { background: linear-gradient(135deg, var(--accent), #b3a2e8); -webkit-background-clip: text; background-clip: text; }
h3 { font-size: 1.08rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--act); color: var(--act-ink); padding: 12px 20px; border-radius: 0 0 var(--r-card) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* ============================== ЛОГОТИП ==============================
   Круглый значок с золотой эмблемой — как иконка приложения.
------------------------------------------------------------------- */
.mark {
  position: relative; flex: 0 0 auto;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), .18);
  box-shadow: 0 2px 6px rgba(16, 24, 40, .08), 0 0 0 4px rgba(var(--accent-rgb), .05);
}
.mark img { width: 100%; height: 100%; object-fit: cover; }
.mark--lg { width: 128px; height: 128px; border-width: 1.5px; box-shadow: var(--sh-logo), 0 0 0 10px rgba(var(--accent-rgb), .04); }
.mark--sm { width: 36px; height: 36px; }

/* ============================== КНОПКИ ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; min-height: 52px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-weight: 600; font-size: .96rem; letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .12s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn--lg   { padding: 17px 30px; min-height: 58px; font-size: 1.02rem; border-radius: var(--r-cta); }
.btn--sm   { padding: 11px 18px; min-height: 44px; font-size: .9rem; border-radius: var(--r-card); }
.btn--full { width: 100%; }
.btn--icon { width: 48px; min-height: 48px; padding: 0; flex: 0 0 auto; }

.btn--accent {
  background: linear-gradient(150deg, var(--act), var(--act-2));
  color: var(--act-ink); border-color: transparent;
  box-shadow: 0 2px 8px rgba(15, 18, 22, .18);
}
.btn--accent:hover { box-shadow: 0 6px 18px rgba(15, 18, 22, .26); }
.btn--accent svg { color: var(--act-mark); }

/* WhatsApp — всегда зелёный, это узнаваемый цвет мессенджера */
.btn--wa {
  background: linear-gradient(135deg, var(--wa), var(--wa-dk));
  color: #fff; border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 3px 10px rgba(31, 127, 73, .14);
}
.btn--wa:hover { background: linear-gradient(135deg, #1e7847, #145c34); box-shadow: 0 8px 22px rgba(25, 107, 62, .24); }
.btn--wa .i-wa { color: #fff; }

.btn--glass {
  background: var(--glass); color: var(--ink); border-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.btn--glass:hover { border-color: var(--line-2); background: #fff; }

.btn--dark { background: #1b1f24; color: #fff; box-shadow: 0 4px 12px rgba(15, 18, 22, .16); }
.btn--dark:hover { background: #0f1216; }
.btn--dark .i-wa { color: var(--wa); }

/* ============================== ШАПКА ============================== */
.header { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.header.is-stuck {
  background: rgba(242, 242, 247, .84);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(16, 24, 40, .05);
}
/* Только вертикальные поля: боковые приходят из .wrap. Если написать
   здесь padding целиком, логотип упрётся в край экрана. */
.header__inner { display: flex; align-items: center; gap: 14px; padding-block: 13px; transition: padding-block .25s var(--ease); }
.header.is-stuck .header__inner { padding-block: 9px; }

/* Логотип: крупная надпись + круглый значок «24/7» рядом — приём референса,
   но значок наш, с эмблемой компании. */
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__word {
  font-family: var(--font-rounded); font-weight: 700;
  font-size: clamp(1.16rem, 1.5vw, 1.4rem); letter-spacing: -.03em;
  text-transform: uppercase; line-height: 1;
}
/* Эмблема слева от названия */
.logo__mark { flex: 0 0 auto; display: grid; place-items: center; }
.logo__mark img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 5px rgba(16, 24, 40, .1);
}
/* Значок «24/7»: аккуратная пилюля с приглушённой дробью */
.logo__247 {
  flex: 0 0 auto; display: inline-flex; align-items: center;
  padding: 5px 9px; border-radius: var(--r-pill);
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .12));
  border: 1px solid rgba(var(--accent-rgb), .22);
  font-family: var(--font-rounded); letter-spacing: -.01em;
  color: var(--accent-dk); line-height: 1; white-space: nowrap;
}
.logo__247 b { font-size: .74rem; font-weight: 800; }
.logo__247 i { font-style: normal; font-size: .68rem; opacity: .5; margin: 0 1px; }

.logo__badge { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.logo__badge img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(16, 24, 40, .08);
}
.logo__badge b {
  padding: 4px 8px; border-radius: var(--r-pill);
  background: rgba(var(--accent-rgb), .1); color: var(--accent-dk);
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
/* Старая разметка логотипа (футер) */
.logo__text { display: flex; flex-direction: column; font-family: var(--font-rounded); font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; line-height: 1.15; }
.logo__text small { font-weight: 500; font-size: .69rem; color: var(--muted); letter-spacing: 0; }

.nav { display: flex; gap: 2px; margin: 0 auto; flex: 0 0 auto; }
.nav a:not(.btn) { padding: 9px 13px; border-radius: var(--r-icon); font-size: .93rem; color: var(--ink-2); font-weight: 500; white-space: nowrap; transition: background .18s, color .18s; }
.nav a:not(.btn):hover { background: rgba(var(--accent-rgb), .08); color: var(--accent); }
/* Подсветка раздела, который сейчас на экране */
.nav a.is-active { background: rgba(var(--accent-rgb), .12); color: var(--accent-dk); font-weight: 600; }
/* Вход в бонусную программу: на компьютере виден пункт «Бонусы» (последний),
   копия для бургера скрыта; в раскрытом меню наоборот (см. блок ≤1120 px). */
.nav a.nav__bonus--mob:not(.btn) { display: none; }
.nav a.nav__bonus--desk:not(.btn) { color: var(--accent-dk); }

/* Переключатель темы: круглая кнопка в шапке и строка в мобильном меню */
.icon-btn {
  width: var(--hdr-btn); height: var(--hdr-btn); display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 50%; border: 1px solid var(--line);
  background: var(--glass); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .18s, color .18s, background .18s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Переключатель темы и кнопки действий живут только в мобильном меню:
   на большом экране для них есть место в самой шапке. */
.nav__theme, .nav__actions { display: none; }


.header__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: color .18s; }
.header__phone svg { color: var(--accent); }
.header__phone:hover { color: var(--accent); }

/* Круглая кнопка WhatsApp в шапке: только значок, ровно в ряд с меню.
   Зелёный приглушённый, тонкое светлое кольцо — вписывается в шапку. */
.wa-round {
  flex: 0 0 auto; display: grid; place-items: center;
  width: var(--hdr-btn); height: var(--hdr-btn); border-radius: 50%;
  background: linear-gradient(160deg, var(--wa), var(--wa-dk));
  color: #fff; border: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .12), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .16s var(--ease), box-shadow .18s ease, filter .18s ease;
}
.wa-round:hover { filter: brightness(1.06); box-shadow: 0 4px 12px rgba(25, 107, 62, .3), inset 0 1px 0 rgba(255, 255, 255, .28); }
.wa-round:active { transform: scale(.93); }

/* Круглый — в пару к круглой кнопке WhatsApp */
/* Круглый — в пару к кнопке WhatsApp. Полоски центрируются флексом,
   поэтому стоят ровно при любом размере кнопки. */
.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--glass); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 19px; height: 1.7px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6.7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.7px) rotate(-45deg); }

/* ============================== ГЛАВНОЕ ==============================
   Фон — размытые цветные пятна, как animatedBackground в приложении.
------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(22px, 3vw, 42px) 0 clamp(44px, 5vw, 66px); }
.hero__aura {
  position: absolute; inset: -220px 0 auto 0; height: 980px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 34% at 18% 26%, rgba(var(--accent-rgb), .13), rgba(var(--accent-rgb), 0) 70%),
    radial-gradient(34% 32% at 82% 30%, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), 0) 70%),
    radial-gradient(32% 30% at 52% 68%, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), 0) 72%),
    linear-gradient(180deg, rgba(233, 240, 250, .9), rgba(248, 250, 252, 0) 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, .3) 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, .3) 76%, transparent 100%);
}
/* Две колонки: текст и визуальный блок. Полоса доводов — во всю ширину. */
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 52px); align-items: center;
}
.hero__text { min-width: 0; }
.hero__text h1 { margin: 0 0 14px; font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: .98; letter-spacing: -.035em; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; margin: 0 0 20px;
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.pill svg { flex-shrink: 0; }
/* Зелёной остаётся только точка «в сети» — сама плашка стальная,
   иначе рядом с кнопкой WhatsApp получается два зелёных пятна. */
.pill--live { background: var(--tint); border-color: var(--line); color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(var(--wa-rgb), .2); }

/* 22em давали три строки при колонке 559 px — теперь две */
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-2); max-width: 28em; margin: 0; text-wrap: balance; }

/* Строка «время прибытия + вызов» — приём из референса, в наших цветах */
/* Действия главного экрана: синяя кнопка звонка, рядом два тихих
   мессенджера, ниже строка про время прибытия. Раньше здесь стояли три
   плашки в ряд — они спорили между собой и путали, что нажимать. */
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin-top: 24px; }
/* Главная кнопка белая — так попросил заказчик. Чтобы она не потерялась
   среди цветных соседей и читалась, держим её на трёх приёмах: контурная
   рамка, заметная тень и номер, набранный синим. */
.hero__cta {
  /* Поля подобраны так, чтобы кнопка звонка и оба мессенджера встали
     в один ряд: колонка главного экрана — 559 px. */
  min-height: 62px; padding: 12px 22px; gap: 11px; font-size: 1.02rem;
  border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line-2);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 18px rgba(16, 24, 40, .1);
}
/* Значок на своей подложке: у белой кнопки нет заливки, и без этого
   пятна левая часть выглядела пустой. */
.hero__cta svg {
  box-sizing: content-box; padding: 8px;
  border-radius: 50%; background: rgba(var(--accent-rgb), .1);
}
.hero__cta:hover {
  border-color: var(--ios-blue);
  box-shadow: 0 2px 4px rgba(var(--accent-rgb), .12), 0 10px 26px rgba(var(--accent-rgb), .18);
}
.hero__cta svg { color: var(--ios-blue); }
.hero__cta-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.16; }
.hero__cta-text small {
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  letter-spacing: -.01em; color: var(--accent);
}
.hero__msgs { display: flex; gap: 8px; }
.hero__msg { min-height: 62px; padding: 12px 17px 12px 12px; gap: 9px; font-size: .95rem; border-radius: var(--r-pill); font-weight: 600; }
/* Значок в светлом кружке — так кнопки мессенджеров выглядели раньше,
   и так они меньше похожи на обычную надпись со стрелкой. */
.hero__msg svg {
  box-sizing: content-box; padding: 7px;
  border-radius: 50%; background: rgba(255, 255, 255, .18);
}
.eta-line {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding: 0; border: 0; background: none;
  font: inherit; font-size: .95rem; color: var(--ink-2);
  cursor: pointer; text-align: left;
  -webkit-appearance: none; appearance: none;
}
.eta-line strong { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.eta-line__go {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; color: var(--accent);
  border-bottom: 1px solid rgba(var(--accent-rgb), .35);
  transition: gap .18s var(--ease), border-color .18s;
}
.eta-line:hover .eta-line__go { gap: 8px; border-bottom-color: var(--accent); }


/* ------- Визуальный блок справа (вместо картинки в референсе) ------- */
.hero__panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #14181d 0%, #1d2329 55%, #12161a 100%);
  border: 1px solid #262d35; border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px); color: #fff;
  box-shadow: 0 18px 44px rgba(11, 18, 32, .26);
}
.hero__panel::before {
  content: ''; position: absolute; inset: -60% -30% auto auto; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .45), rgba(var(--accent-rgb), 0) 62%);
  pointer-events: none;
}
.hero__panel > * { position: relative; z-index: 1; }
.hero__panel-top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mark--panel { width: 56px; height: 56px; border-color: rgba(255, 255, 255, .3); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.hero__panel-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero__panel-title b { font-family: var(--font-rounded); font-size: 1.08rem; }
.hero__panel-title span { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.hero__panel-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.hero__panel-list li { position: relative; padding-left: 26px; font-size: .92rem; color: rgba(255, 255, 255, .84); }
.hero__panel-list li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.hero__panel-foot {
  display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; color: rgba(255, 255, 255, .68);
}
.hero__panel-line { display: flex; align-items: center; gap: 8px; }
.hero__panel-geo { color: rgba(255, 255, 255, .5); font-size: .8rem; }

/* Четыре довода — по мотивам FeatureRow из приложения */
.trust { grid-column: 1 / -1; list-style: none; margin: clamp(26px, 3.4vw, 38px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; text-align: left; }
.trust__item {
  display: flex; align-items: center; gap: 15px;
  padding: 18px 18px; border-radius: var(--r-card);
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.trust__icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; }
/* Четыре значка — одна семья. Разные цвета читались как «набор
   иконок из стока», а не как один сервис. */
.trust__icon--blue,
.trust__icon--green,
.trust__icon--purple,
.trust__icon--teal { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.trust__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.trust b { font-size: 1rem; font-weight: 600; }
.trust span { font-size: .86rem; color: var(--ink-2); line-height: 1.4; }

/* ============================ ОТКУДА ЦЕНА ============================ */
.price-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: price; }
.price-step {
  position: relative; counter-increment: price;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px 22px; box-shadow: var(--sh-card);
}
.price-step__icon { width: 46px; height: 46px; border-radius: var(--r-icon); display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); margin-bottom: 15px; }
.price-step__num { position: absolute; right: 18px; top: 18px; font-family: var(--font-rounded); font-size: 1.5rem; font-weight: 700; color: var(--line-2); line-height: 1; }
.price-step h3 { margin-bottom: 7px; }
.price-step p { margin: 0; font-size: .91rem; color: var(--ink-2); }

/* Таблица работ — как прайс в референсе, только вместо сумм порядок расчёта */
.price-table-wrap {
  margin-top: 16px; border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.price-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.price-table th {
  text-align: left; padding: 14px 22px;
  background: var(--tint); border-bottom: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #f7faff; }
.price-table td:first-child { font-weight: 600; }
.price-table td:last-child { color: var(--ink-2); white-space: nowrap; }

.price-note {
  margin-top: 16px; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.price-note__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-icon); display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.price-note p { margin: 0; font-size: .9rem; color: var(--ink-2); }
/* Строка о бонусной программе под прайсом: вся — ссылка, карточка как у строк прайса.
   Показывается только когда initBonusLinks получил enabled: true. */
.price-bonus {
  display: flex; align-items: center; gap: 14px; min-height: 56px; margin: 0 0 22px;
  padding: 10px 18px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
  color: var(--ink-2); font-size: .95rem; line-height: 1.4;
  transition: border-color .18s;
}
.price-bonus[hidden] { display: none; }
.price-bonus:hover { border-color: var(--accent); }
.price-bonus__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-icon); display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.price-bonus__text b { color: var(--ink); font-family: var(--font-rounded); font-weight: 700; }
.price-bonus__link { color: var(--accent); font-weight: 600; white-space: nowrap; }
/* Подсказка на последнем шаге заявки: тихая, чтобы не спорить с кнопками отправки */
.bonus-hint { margin: 14px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); text-align: center; text-wrap: balance; }
.bonus-hint[hidden] { display: none; }
.bonus-hint a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.bonus-hint b { font-weight: 700; color: var(--ink-2); }
@media (max-width: 560px) {
  .price-bonus { padding: 10px 14px; gap: 12px; font-size: .9rem; }
}

/* ============================== СЕКЦИИ ============================== */
.section { padding: clamp(54px, 7vw, 92px) 0; }
.section--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: clamp(30px, 3.8vw, 48px); }
.section__head > div { max-width: min(34em, 100%); min-width: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center > div { max-width: min(26em, 100%); }
.section__head h2 { margin-bottom: .4em; }
.section__lead { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.12rem); text-wrap: pretty; }

/* Надзаголовок — тихая строка с латунной чертой. Капсула с точкой над
   каждым заголовком читалась как шаблон, а не как наша страница. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 12px; padding: 0;
  background: none; border: 0;
  font-size: .73rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px; flex: 0 0 auto;
  background: var(--accent);
}

.section__aside { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chip {
  padding: 9px 15px; min-height: 42px; border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: .88rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--active { background: var(--brass); color: var(--on-brass); border-color: transparent; box-shadow: none; font-weight: 600; }

/* ============================ ТИПЫ ТЕХНИКИ ============================ */
/* Плитки техники: фото сверху, подпись под ним — как в референсе, но с фото */
/* Семь категорий. Ряды делим вручную: 4 + 3 на большом экране —
   так оба ряда заполнены целиком, без сиротливой карточки.
   Сетка из 12 колонок: 12 / 4 = 3, 12 / 3 = 4. */
.fleet { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.3vw, 18px); }
.fleet__item { grid-column: span 3; }
.fleet__item:nth-child(n+5) { grid-column: span 4; }
.fleet__item {
  display: flex; flex-direction: column; gap: 0; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
  transition: border-color .2s, box-shadow .25s, transform .2s var(--ease);
}
.fleet__item:hover { border-color: rgba(var(--accent-rgb), .3); box-shadow: var(--sh-card-2); transform: translateY(-3px); }
.fleet__item:hover .fleet__photo img { transform: scale(1.05); }

.fleet__photo { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.fleet__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fleet__chip {
  position: absolute; left: 12px; bottom: 12px;
  width: 42px; height: 42px; border-radius: var(--r-icon); display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--accent-dk);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(16, 24, 40, .18);
}
.fleet__icon {
  margin: 22px 22px 0; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(160deg, #eef5ff, #dfeaff);
  border: 1px solid rgba(var(--accent-rgb), .14); color: var(--accent-dk);
}
.fleet__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 18px 20px 20px; }
.fleet__item b { font-family: var(--font-rounded); font-size: 1.12rem; }
.fleet__item span { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.fleet__credits { margin: 14px 0 0; font-size: .76rem; color: var(--muted); text-align: center; }

/* ============================== МАСТЕРА ============================== */
/* Список мастеров как в референсе: фото слева, данные в центре,
   кнопки связи справа. Одна карточка — одна строка. */
.masters { display: grid; grid-template-columns: 1fr; gap: 12px; }
.master {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center; gap: 22px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-card);
  transition: border-color .2s, box-shadow .25s;
}
.master:hover { border-color: rgba(var(--accent-rgb), .28); box-shadow: var(--sh-card-2); }
.master.is-hidden { display: none; }

.master__photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); background: var(--tint); overflow: hidden; }
.master__photo img, .master__photo svg { width: 100%; height: 100%; object-fit: cover; }
.master__status {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .93); color: var(--ink-2);
  font-size: .68rem; font-weight: 500;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.master__rating { display: none; }

.master__body { min-width: 0; display: flex; flex-direction: column; }
.master__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.master__head h3 { margin: 0; font-size: 1.12rem; }
.master__exp { flex: 0 0 auto; white-space: nowrap; font-size: .7rem; font-weight: 700; color: var(--accent); background: rgba(var(--accent-rgb), .1); padding: 4px 9px; border-radius: var(--r-pill); }
.master__role { margin: 0 0 8px; font-size: .88rem; color: var(--accent); font-weight: 600; }
.master__note { margin: 0; font-size: .89rem; color: var(--ink-2); }

/* Рейтинг и счётчик выездов — строкой, как в референсе */
.master__mobile-rating { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: .85rem; color: var(--ink-2); flex-wrap: wrap; }
.master__mobile-rating b { color: var(--ink); font-weight: 700; }
.master__mobile-rating svg { color: var(--gold-dk); flex-shrink: 0; }

.master__meta { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.master__meta > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; min-width: 0; }
.master__meta dd { min-width: 0; }
.master__meta dt { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.master__meta dd { margin: 0; font-size: .85rem; color: var(--ink-2); }

.master__actions { display: flex; flex-direction: column; gap: 8px; align-self: center; }
.master__actions .btn { min-width: 168px; }
.masters__note { margin-top: 22px; text-align: center; color: var(--muted); font-size: .94rem; }

/* =============================== КАРТА ===============================
   Схема России + круглые логотипы в городах. Значки контр-масштабируются,
   поэтому остаются одного размера и видны на любом приближении.
------------------------------------------------------------------- */
.map-panel {
  position: relative; isolation: isolate; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(170deg, #ffffff, #f4f7fb);
  border: 1px solid var(--line); box-shadow: var(--sh-card-2);
}
.map__viewport {
  position: relative; overflow: hidden; touch-action: pan-y;
  aspect-ratio: 1000 / 560; cursor: grab;
  /* «Вода» под картой — чтобы земля читалась как земля */
  background: linear-gradient(180deg, #dfeaf8, #d4e2f3);
}
.map__viewport.is-drag { cursor: grabbing; }
.map__canvas { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
/* Кадр карты: та же пропорция, что у viewBox. Вписан по ширине и
   отцентрован по вертикали — значки городов совпадают с контуром. */
.map__frame { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 1000 / 560; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Слои карты: сетка, зарубежье, страна, регионы */
.map__grid { stroke: #bfd2ea; stroke-width: .5; vector-effect: non-scaling-stroke; }
.map__abroad { fill: #e7ebf1; stroke: #ccd5e1; stroke-width: .7; vector-effect: non-scaling-stroke; }
.map__country { stroke: #5b87bb; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.map__regions { stroke: #a8c5e8; stroke-width: .7; vector-effect: non-scaling-stroke; }

.map__pin { position: absolute; transform: translate(-50%, -50%); }
.map__badge {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 27px; height: 27px; margin: -13.5px 0 0 -13.5px;
  border-radius: 50%; overflow: hidden; background: #fff;
  border: 1.5px solid rgba(var(--accent-rgb), .4);
  box-shadow: 0 2px 7px rgba(16, 24, 40, .2);
  transform-origin: center; transition: box-shadow .18s;
  cursor: pointer; padding: 0;
}
.map__badge img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.map__badge:hover, .map__badge:focus-visible { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18), 0 3px 10px rgba(16, 24, 40, .22); z-index: 4; }
.map__badge--capital { z-index: 3; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12), 0 3px 10px rgba(16, 24, 40, .22); }

.map__dot {
  position: absolute; left: 0; top: 0; z-index: 1; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--accent); opacity: .45;
  border: 1.5px solid #fff; transform-origin: center; cursor: pointer; padding: 0;
}
.map__dot:hover, .map__dot:focus-visible { opacity: 1; z-index: 4; }

.map__label {
  position: absolute; left: 0; top: 0; z-index: 4; transform-origin: 0 50%;
  margin-left: 12px; padding: 3px 8px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font-size: 11px; font-weight: 600; white-space: nowrap; pointer-events: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
}

.map__toolbar { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; flex-direction: column; gap: 6px; }
.map__btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-icon); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .1);
  font-size: 1.1rem; line-height: 1; transition: border-color .18s, color .18s;
}
.map__btn:hover { border-color: var(--accent); color: var(--accent); }
.map__btn--reset { font-size: .68rem; font-weight: 700; letter-spacing: .04em; }

.map__legend {
  display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap;
  padding: 13px 18px; border-top: 1px solid var(--line);
  background: var(--surface); font-size: .82rem; color: var(--ink-2);
}
.map__legend b { color: var(--ink); font-weight: 600; }
.map__legend-row { display: flex; align-items: center; gap: 8px; }
.map__legend-row i { flex: 0 0 auto; display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff url("../img/logo-mark.png") center/cover no-repeat; border: 1.5px solid var(--accent); }
.map__legend-row i.is-dot { width: 9px; height: 9px; margin: 0 4.5px; background: var(--accent); opacity: .5; border-width: 1.5px; border-color: #fff; }
.map__legend-hint { margin-left: auto; color: var(--muted); }

/* ============================== УСЛУГИ ============================== */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--sh-card); transition: border-color .2s, box-shadow .25s, transform .2s var(--ease); }
.card:hover { border-color: rgba(var(--accent-rgb), .28); box-shadow: var(--sh-card-2); transform: translateY(-2px); }
.card__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .14)); color: var(--accent-dk); margin-bottom: 18px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .94rem; color: var(--ink-2); margin: 0; }

.tech-strip { margin-top: 18px; padding: 18px 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tech-strip__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tech-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; }
.tech-strip li { font-size: .84rem; padding: 6px 13px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }

/* ============================== ЗАЯВКА ============================== */
.request__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 26px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-rounded); font-weight: 700; font-size: 1rem; padding: 0 0 13px; }
.field__step { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 9px; background: var(--brass); color: var(--on-brass); font-size: .78rem; font-weight: 700; }
.field--row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt span { display: inline-flex; align-items: center; padding: 10px 16px; min-height: 46px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .9rem; cursor: pointer; transition: background .18s, color .18s, border-color .18s, box-shadow .18s; }
.opt span:hover { border-color: var(--accent); color: var(--accent); }
.opt input:checked + span { background: var(--brass); border-color: transparent; color: var(--on-brass); box-shadow: none; font-weight: 600; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Кнопка «определить моё место» под полем адреса */
.input__geo {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 13px; border-radius: var(--r-icon);
  border: 1px dashed rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .06);
  color: var(--accent-dk); font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: background .18s, border-color .18s;
}
.input__geo:hover { background: rgba(var(--accent-rgb), .12); border-color: var(--accent); }
.input__geo:disabled { opacity: .6; cursor: default; }

.input { display: flex; flex-direction: column; gap: 7px; }
.input > span { font-size: .83rem; color: var(--muted); font-weight: 500; }
.input input { padding: 14px 16px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1rem; font-family: inherit; width: 100%; transition: border-color .18s, box-shadow .18s; }
.input input::placeholder { color: var(--muted); }
.input input:focus { outline: none; border-color: var(--accent); border-width: 1.5px; box-shadow: 0 4px 12px rgba(var(--accent-rgb), .07); }

.request__result { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-card-2); padding: clamp(20px, 2.6vw, 26px); display: grid; gap: 15px; }
.request__label { margin: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.request__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.request__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .9rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.request__lines li:last-child { border-bottom: 0; }
.request__lines span { color: var(--muted); flex-shrink: 0; }
.request__lines b { text-align: right; font-weight: 600; }
.request__eta { display: flex; flex-direction: column; gap: 2px; padding: 15px 17px; border-radius: var(--r-card); border: 1px solid rgba(var(--accent-rgb), .2); background: linear-gradient(160deg, rgba(var(--accent-rgb), .08), rgba(var(--accent-rgb), .08)); }
.request__eta span { font-size: .82rem; color: var(--accent-dk); }
.request__eta strong { font-family: var(--font-rounded); font-size: 1.3rem; letter-spacing: -.02em; }
/* Точное время прибытия — считается от текущего времени */
.request__eta em { font-style: normal; margin-top: 3px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.request__note { margin: 0; font-size: .81rem; color: var(--muted); line-height: 1.5; }

/* ============================== ЭТАПЫ ============================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--sh-card); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; color: var(--on-brass); background: var(--brass); box-shadow: none; font-family: var(--font-rounded); font-size: 1.12rem; font-weight: 700; }
.step h3 { margin-bottom: 9px; }
.step p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* =============================== О НАС =============================== */
/* Пополам: слева рассказ, справа мотор. Раньше правая колонка была уже
   левой и после удаления карточек пустовала. */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 40px); align-items: stretch; }
.about__text p { color: var(--ink-2); }
.about__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.about__list li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-2); }
.about__list li::before { content: ''; position: absolute; left: 0; top: .58em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.about__list strong { color: var(--ink); }
.about__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.about__side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--sh-card); }
.mini-card__num { display: block; font-family: var(--font-rounded); font-size: 1.65rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 5px; line-height: 1.15; }
.mini-card p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.mini-card--accent { background: var(--brass); border-color: transparent; box-shadow: none; }
.mini-card--accent .mini-card__num { color: var(--on-brass); }
.mini-card--accent p { color: rgba(36, 26, 6, .78); }

/* =============================== ЗОНЫ =============================== */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.zone { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-card); transition: border-color .2s, box-shadow .25s; }
.zone:hover { border-color: rgba(var(--accent-rgb), .28); box-shadow: var(--sh-card-2); }
.zone__eta { margin: 0 0 9px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.zone h3 { margin-bottom: 7px; }
.zone__text { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ================================ FAQ ================================ */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-card); transition: border-color .2s; }
.faq__item[open] { border-color: rgba(var(--accent-rgb), .3); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; background: var(--accent); transition: transform .25s var(--ease); }
.faq__item summary i::before { left: 0; right: 0; top: 7.2px; height: 1.6px; }
.faq__item summary i::after  { top: 0; bottom: 0; left: 7.2px; width: 1.6px; }
.faq__item[open] summary i::after { transform: scaleY(0); }
.faq__body { padding: 0 20px 18px; color: var(--ink-2); font-size: .93rem; }

/* ================================ CTA ================================ */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #0f1317 0%, #191e24 55%, #101418 100%);
  border: 1px solid #262d35; color: #fff;
  border-radius: var(--r-lg); padding: clamp(28px, 4.4vw, 52px);
  box-shadow: 0 20px 50px rgba(11, 18, 32, .28);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(26px, 4.4vw, 48px); align-items: center;
}
/* Свечение по всей площади блока. Раньше это был квадрат 620×620,
   выступающий за верхний край: у его нижней кромки цвет не успевал
   сойти в ноль, и по блоку шла резкая горизонтальная линия — она
   разрезала кнопки. Проценты считаются от размера блока, поэтому
   границы больше нет ни на одной ширине экрана. */
.cta__aura {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(135% 105% at 88% -8%, rgba(var(--accent-rgb), .34), rgba(var(--accent-rgb), 0) 58%),
    radial-gradient(100% 80% at 4% 108%, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), 0) 60%);
}
.cta__text, .cta__actions { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta .eyebrow { color: rgba(255, 255, 255, .58); }
.cta__text p { color: rgba(255, 255, 255, .7); max-width: 34em; }
.cta__phone { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.cta__phone a { font-family: var(--font-rounded); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.03em; color: #fff; transition: color .18s; }
.cta__phone a:hover { color: var(--accent); }
.cta__hours { margin-top: 12px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.copy-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; min-height: 40px; border-radius: var(--r-icon); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .75); font-size: .8rem; cursor: pointer; white-space: nowrap; transition: border-color .18s, color .18s, background .18s; }
.copy-btn:hover { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .12); }
.cta__actions { display: grid; gap: 10px; }
.cta .btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .24); }
.cta .btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }

/* ============================== ФУТЕР ============================== */
.footer { background: var(--tint); border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { margin: 0 0 4px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: inherit; font-weight: 700; }
.footer__col a, .footer__col span { font-size: .9rem; color: var(--ink-2); }
.footer__col a:hover { color: var(--accent); }
.footer__col--brand p { font-size: .88rem; color: var(--muted); max-width: 320px; margin: 12px 0 0; }
.footer .logo__text { color: var(--ink); font-size: 1.02rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: .78rem; color: var(--muted); }

/* ========================= ПАНЕЛЬ НА ТЕЛЕФОНЕ ========================= */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 8px; padding-bottom: env(safe-area-inset-bottom); transform: translateY(150%); transition: transform .32s var(--ease); }
.dock.is-visible { transform: translateY(0); }
.dock__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .18);
  transition: transform .14s var(--ease), filter .18s;
}
.dock__btn:active { transform: scale(.97); }
.dock__btn--wa { background: linear-gradient(160deg, var(--wa), var(--wa-dk)); color: #fff; }
.dock__btn--wa svg { color: #fff; }
.dock__btn--call { flex: 1.35; background: linear-gradient(160deg, var(--act), var(--act-2)); color: var(--act-ink); }
.dock__btn--call svg { color: var(--act-mark); }

/* ===================== ПРОГРЕСС И КНОПКА «НАВЕРХ» ===================== */
.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--accent));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}
.to-top {
  position: fixed; right: 16px; bottom: 96px; z-index: 65;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(16, 24, 40, .14);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .22s, transform .22s var(--ease), border-color .18s, color .18s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* =============================== ТОСТ =============================== */
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 16px); z-index: 80; padding: 12px 20px; border-radius: var(--r-btn); background: rgba(26, 26, 26, .95); color: #fff; font-size: .88rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s var(--ease); max-width: calc(100vw - 32px); text-align: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ============================= АНИМАЦИИ ============================= */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}



/* ================== «НАШИ ЦЕНЫ» В ШАПКЕ (ТЕЛЕФОН) ==================
   На телефоне рядом с логотипом раньше стоял значок 24/7, а справа —
   кнопка вызова. Значок переехал в строку со временем, кнопка убрана:
   позвонить можно из главного экрана, меню и панели снизу. Освободившееся
   место занял ответ на первый вопрос клиента — сколько стоит выезд.
------------------------------------------------------------------- */
.header__price {
  /* На большом экране «Наши цены» есть в меню — показываем только
     на телефоне, там для них освободилось место. Блок растянут, а
     надпись выровнена по центру: так расстояние от разделителя до
     надписи и от надписи до меню получается одинаковым. */
  display: none;
  position: relative; flex: 1 1 auto; min-width: 0;
  align-items: center; justify-content: center;
  /* Отступ справа уравнивает расстояния: слева к нему добавляется
     разделитель, справа — промежуток до меню. */
  padding: 0 5px 0 14px;
  line-height: 1.15; white-space: nowrap;
}
/* Разделитель — тонкая линия, а не рамка вокруг: она отделяет надпись
   от логотипа, не превращая её в отдельную кнопку. */
.header__price::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 26px; border-radius: 1px;
  background: linear-gradient(180deg,
    rgba(var(--accent-rgb), 0), var(--line-2) 30%, var(--line-2) 70%,
    rgba(var(--accent-rgb), 0));
}
/* Подчёркивание — чтобы было видно, что надпись нажимается.
   Размер, вес и межбуквенное расстояние — как у надписи логотипа:
   раньше «Наши цены» были мельче и жирнее, и пара выглядела небрежно. */
.header__price-long, .header__price-short {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: -.02em; color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(var(--accent-rgb), .4);
  transition: color .18s, border-color .18s;
}
.header__price:hover .header__price-long,
.header__price:hover .header__price-short {
  color: var(--accent); border-bottom-color: var(--accent);
}
/* Короткая надпись включается только на самых узких экранах */
.header__price-short { display: none; }
.header__price:active { transform: scale(.98); }

/* Значок круглосуточной работы переехал сюда из логотипа: рядом со
   временем и текущей сменой он к месту. */
.pill__247 {
  margin-left: 2px; padding: 2px 7px; border-radius: var(--r-pill);
  background: rgba(var(--accent-rgb), .14); color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}

/* ============================ 1240px и ниже ============================ */
@media (max-width: 1240px) {
  .nav a { padding: 9px 11px; font-size: .91rem; }
  .header__phone { display: none; }
}

/* Шапка компьютера: восемь пунктов меню + действия без выхода за рамку (замер §11.2) */
@media (min-width: 1121px) {
  .nav { gap: 0; }                                       /* было 2px между пунктами */
  .nav a:not(.btn) { padding-inline: 8px; }              /* было 13px; :not(.btn) обязателен — иначе не перебьёт базовое правило */
  .header__inner { gap: 10px; }                          /* было 14px между логотипом, меню и действиями; на всех ширинах от 1121px, в том числе 1300+ (находка 35) */
}
@media (min-width: 1121px) and (max-width: 1299px) {
  .nav a:not(.btn) { font-size: .875rem; }               /* было .93rem (14,9 px) → 14 px, только на узких ноутбуках */
}
@media (min-width: 1121px) and (max-width: 1159px) {
  .nav a:not(.btn) { padding-inline: 6px; }              /* запас на узких окнах, в том числе с постоянной полосой прокрутки */
}

/* ============================ 1120px и ниже ============================ */
@media (max-width: 1120px) {
  .nav { display: none; }
  /* Список мастеров всегда в одну колонку — карточка строкой, как в референсе */
  .grid-cards, .zones, .steps, .fleet { grid-template-columns: repeat(2, 1fr); }
  /* Колонок стало меньше — карточка занимает ровно одну, иначе span 3
     из широкой сетки выталкивает соседей и ломает ряд. */
  .fleet__item, .fleet__item:nth-child(n+5) { grid-column: auto; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .price-flow { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .request { grid-template-columns: 1fr; }
  .request__result { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
}

/* ============================== ТЕЛЕФОН ============================== */
@media (max-width: 760px) {
  body { font-size: 15.5px; padding-bottom: 80px; }
  .wrap { padding: 0 18px; }
  html { scroll-padding-top: 74px; }

  /* Шапка на телефоне: логотип, «Наши цены» и меню — три элемента,
     между которыми не приходится выбирать. */
  .header__price { display: flex; }
  .header__call { display: none; }
  .header__theme { display: none; }
  .header__price b { font-size: .89rem; }
  .header__price small { font-size: .75rem; }
  /* Шапка: логотип, значок и кнопки одной спокойной строкой */
  .header { padding: 8px 0; }
  .header__inner { gap: 10px; }
  .header__actions { gap: 8px; }
  .logo { gap: 8px; }
  .logo__word { font-size: 1rem; }
  .logo__mark img { width: 36px; height: 36px; }
  .logo__247 { padding: 4px 7px; }
  .logo__247 b { font-size: .68rem; }
  .logo__text { font-size: 1rem; }
  .logo__text small { display: none; }
  .mark { width: 38px; height: 38px; }
  .burger { width: 42px; height: 42px; border-radius: 50%; }
  .wa-round svg { width: 19px; height: 19px; }

  /* Кнопки ниже и спокойнее, чем на большом экране */
  .btn { min-height: 48px; padding: 12px 20px; font-size: .93rem; }
  .btn--lg { min-height: 52px; padding: 14px 22px; font-size: .96rem; }
  .btn--sm { min-height: 42px; padding: 10px 15px; font-size: .87rem; }
}

/* Раскрытое меню (≤1120 px): панель с пунктами, переключателем темы и действиями */
@media (max-width: 1120px) {
  body.nav-open { overflow: hidden; }
  /* Затемнение позади меню: без него панель висела прямо на тексте
     страницы и читалась как случайный блок. */
  /* Шапку поднимаем выше затемнения: меню лежит внутри неё, а у шапки
     свой контекст наложения — иначе затемнение гасит и панель тоже. */
  body.nav-open .header { z-index: 56; }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0; z-index: 54;
    background: rgba(8, 10, 14, .42);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    animation: navFade .2s ease-out;
  }
  @keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  body.nav-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 66px 12px auto 12px; z-index: 55;
    max-height: calc(100vh - 82px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 6px; box-shadow: var(--sh-card-2);
    animation: navSlide .22s var(--ease);
  }
  /* Строки списка: разделители вместо широких плашек */
  body.nav-open .nav a:not(.btn) {
    position: relative; padding: 14px 14px 14px 16px; min-height: 50px;
    display: flex; align-items: center;
    border-radius: var(--r-icon); font-size: 1rem; font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav a:not(.btn):last-of-type { border-bottom: 0; }
  /* Последняя видимая строка без черты: за ней стоит скрытая копия «Бонусы» */
  body.nav-open .nav a:not(.btn):has(+ .nav__bonus--desk) { border-bottom: 0; }
  body.nav-open .nav a.is-active {
    background: rgba(var(--accent-rgb), .07); color: var(--accent);
  }
  /* Активный пункт помечен чертой у края, а не залитой плашкой */
  body.nav-open .nav a:not(.btn).is-active::before {
    content: ''; position: absolute; left: 5px; top: 12px; bottom: 12px;
    width: 3px; border-radius: 3px; background: var(--ios-blue);
  }
  /* Подчёркивание «Наших цен» — приём версии для компьютера,
     в списке оно выглядело оторванной линией */
  body.nav-open .nav__price { box-shadow: none; }
  /* Вход в бонусную программу: первая строка меню, выше и заметнее соседних
     по 50 px (≥ 64 px, лёгкий фон акцента). Копия для компьютера здесь скрыта
     и из раскладки, и из дерева доступности. */
  body.nav-open .nav a.nav__bonus--mob:not(.btn) {
    display: flex; gap: 14px; min-height: 64px;
    background: rgba(var(--accent-rgb), .07); color: var(--ink);
  }
  body.nav-open .nav a.nav__bonus--mob:not(.btn) > svg { flex: 0 0 auto; color: var(--accent-dk); }
  .nav__bonus-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .nav__bonus-text b { font-size: 1rem; font-weight: 600; line-height: 1.25; }
  .nav__bonus-text small { font-size: .82rem; font-weight: 400; color: var(--ink-2); line-height: 1.3; }
  .nav a.nav__bonus--desk:not(.btn), body.nav-open .nav a.nav__bonus--desk:not(.btn) { display: none; }
  /* В меню переключатель темы строкой: в шапке для него нет места */
  body.nav-open .nav__theme {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 4px 0 0; padding: 13px 16px; min-height: 48px;
    border: 0; border-top: 1px solid var(--line); border-radius: 0;
    background: none; color: var(--ink-2); font-size: .95rem; cursor: pointer;
  }
  .nav__theme-state {
    padding: 4px 10px; border-radius: var(--r-pill);
    background: rgba(var(--accent-rgb), .12); color: var(--accent);
    font-size: .78rem; font-weight: 700;
  }
  /* Действия внизу меню: закрыл список — и сразу можешь позвонить */
  body.nav-open .nav__actions {
    display: flex; gap: 8px; margin: 8px 4px 4px;
  }
  .nav__actions .btn { flex: 1; min-height: 50px; padding: 0 12px; border-radius: var(--r-pill); }
  .nav__actions .btn--accent { flex: 1.5; }
}

/* Планшет (761–1120 px): панель меню такая же, но прижата к правому краю.
   Раньше правила панели действовали только до 760 px, и бургер на планшете
   ничего не открывал — а именно там живёт вход в бонусную программу. */
@media (min-width: 761px) and (max-width: 1120px) {
  body.nav-open .nav {
    inset: 74px 18px auto auto; width: min(420px, calc(100vw - 36px));
    max-height: calc(100vh - 92px);
  }
}

@media (max-width: 760px) {
  .hero { padding: 12px 0 38px; }
  .hero__aura { inset: -150px 0 auto 0; height: 660px; }
  .hero__inner { grid-template-columns: 1fr; gap: 22px; }
  .hero__text h1 { font-size: clamp(1.95rem, 9.4vw, 2.55rem); }
  .hero__lead { font-size: .96rem; max-width: none; line-height: 1.5; }
  .pill { font-size: .64rem; margin-bottom: 14px; padding: 6px 12px; }

  /* Порядок на телефоне: сначала вызов, потом время прибытия */
  .hero__actions { flex-direction: column; margin-top: 18px; width: 100%; gap: 9px; }
  .hero__cta { width: 100%; min-height: 58px; }
  .hero__cta-text { align-items: center; }
  .hero__msgs { width: 100%; }
  .hero__msg { flex: 1 1 0; min-height: 54px; justify-content: center; padding: 10px 16px; }
  .hero__msg svg { padding: 6px; }
  .eta-line { width: 100%; justify-content: center; text-align: center; margin-top: 14px; }

  .hero__panel { padding: 18px; }
  .mark--panel { width: 48px; height: 48px; }
  .hero__panel-list { gap: 9px; margin-top: 14px; }
  .hero__panel-list li { font-size: .89rem; }

  .trust { grid-template-columns: 1fr; margin-top: 22px; gap: 9px; }
  .trust__item { padding: 15px 15px; gap: 14px; }
  .trust__icon { width: 46px; height: 46px; }
  .trust b { font-size: .97rem; }
  .trust span { font-size: .85rem; }

  /* Выше панели с кнопками: на 92 пикселях она задевала её край
     и накрывала угол карточки. */
  .to-top { right: 12px; bottom: 108px; width: 42px; height: 42px; }

  .section { padding: 46px 0; }
  .section__head { margin-bottom: 22px; text-align: left; align-items: flex-start; }
  .section__head h2 { font-size: clamp(1.7rem, 8.2vw, 2.2rem); }
  .section__head--center { align-items: flex-start; text-align: left; }
  .section__lead { font-size: .93rem; line-height: 1.5; }

  .section__aside { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 2px 18px 6px; margin: 0 -18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .section__aside::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  .grid-cards, .zones, .steps, .about__side, .fleet { grid-template-columns: 1fr; gap: 12px; }
  .fleet__item, .fleet__item:nth-child(n+5) { grid-column: auto; }
  /* На телефоне плитки в две колонки: фото сверху, подпись под ним */
  .fleet { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fleet__photo { aspect-ratio: 4 / 3; }
  .fleet__chip { width: 34px; height: 34px; left: 8px; bottom: 8px; }
  .fleet__chip svg { width: 19px; height: 19px; }
  .fleet__text { padding: 12px 13px 14px; gap: 3px; }
  .fleet__item b { font-size: .95rem; }
  .fleet__item span { font-size: .79rem; }
  .fleet__icon { margin: 14px 14px 0; width: 54px; height: 54px; border-radius: 16px; }

  /* Карточка мастера: фото слева, текст справа, кнопки во всю ширину */
  /* Карточка мастера: фото и данные строкой, ничего не сжимается */
  .master { grid-template-columns: 74px minmax(0, 1fr); align-items: start; gap: 0 13px; padding: 13px; border-radius: var(--r-card); }
  .master__photo { grid-column: 1; grid-row: 1; border-radius: var(--r-icon); }
  .master__status { display: none; }
  .master__body { grid-column: 2; grid-row: 1; }
  .master__head { gap: 5px 8px; }
  .master__head h3 { font-size: .99rem; }
  .master__exp { font-size: .66rem; padding: 3px 7px; }
  .master__role { margin-bottom: 4px; font-size: .8rem; }
  .master__mobile-rating { margin-bottom: 4px; font-size: .79rem; }
  .master__note { font-size: .84rem; line-height: 1.4; }
  .master__meta { grid-column: 1 / -1; margin-top: 11px; padding-top: 11px; gap: 8px; flex-direction: column; }
  .master__meta > div { flex-direction: column; gap: 1px; }
  .master__meta dt { font-size: .66rem; }
  .master__meta dd { font-size: .82rem; }
  .master__actions { grid-column: 1 / -1; flex-direction: row; margin-top: 11px; gap: 8px; }
  .master__actions .btn { min-width: 0; flex: 1 1 0; }

  .card { padding: 20px 18px; }
  .card__icon { width: 42px; height: 42px; margin-bottom: 13px; }

  /* Карта на телефоне: чуть выше по формату и мельче значки */
  .map__viewport { aspect-ratio: 5 / 6; }
  .map__badge { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .map__badge--capital { width: 31px; height: 31px; margin: -15.5px 0 0 -15.5px; }
  /* Кнопки масштаба — вверх справа: внизу их закрывает панель
     «WhatsApp / Позвонить», которая всегда висит над экраном. */
  .map__toolbar { right: 10px; top: 10px; bottom: auto; flex-direction: row; }
  .map__btn { width: 44px; height: 44px; }
  .map__legend { padding: 12px 16px; font-size: .8rem; gap: 7px 14px; }
  .map__legend-hint { margin-left: 0; width: 100%; }

  .price-step { padding: 20px 18px; }
  .price-step__num { right: 16px; top: 16px; font-size: 1.3rem; }

  /* Таблица на телефоне: строка в два уровня, без горизонтальной прокрутки */
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 13px 16px; border-bottom: 1px solid var(--line); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { padding: 0; border: 0; }
  .price-table td:first-child { font-size: .93rem; }
  .price-table td:last-child { text-align: left; white-space: normal; margin-top: 3px; font-size: .84rem; color: var(--muted); }
  .price-note { padding: 14px 16px; gap: 12px; }
  .price-note p { font-size: .87rem; }

  .tech-strip { padding: 16px 18px; gap: 12px; }
  .tech-strip li { font-size: .82rem; padding: 6px 12px; }

  .request__form { padding: 18px 16px; gap: 22px; }
  .field legend { font-size: .95rem; padding-bottom: 12px; }
  .field--row { grid-template-columns: 1fr; gap: 14px; }
  .opt span { padding: 10px 14px; font-size: .88rem; }
  .request__result { padding: 18px 16px; }
  .request__lines li { font-size: .88rem; }
  .request__eta strong { font-size: 1.1rem; }

  .step { padding: 20px 18px; }
  .about__cta { flex-direction: column; }
  .about__cta .btn { width: 100%; }
  .mini-card { padding: 18px; }

  .faq__item summary { padding: 15px 16px; font-size: .95rem; gap: 12px; }
  .faq__body { padding: 0 16px 16px; font-size: .9rem; }

  .cta { grid-template-columns: 1fr; padding: 24px 18px; }
  .cta__phone { gap: 12px; margin-top: 18px; }
  .cta__phone a { font-size: 1.5rem; }

  .footer { padding-top: 36px; }
  .footer__inner { grid-template-columns: 1fr; gap: 22px; }
  .footer__bottom { margin-top: 26px; }

  /* Нижняя панель: компактнее и без кричащих теней */
  .dock { display: flex; left: 10px; right: 10px; bottom: 10px; gap: 8px; }
  .dock__btn { padding: 0 12px; font-size: .92rem; border-radius: var(--r-pill); box-shadow: 0 4px 14px rgba(16, 24, 40, .16); }
  .dock__btn svg { width: 18px; height: 18px; }
  .toast { bottom: 84px; }
}

@media (max-width: 430px) {
  .header__actions .btn--accent { width: 46px; min-height: 46px; padding: 0; }
}

@media (max-width: 400px) {
  .master { grid-template-columns: 80px 1fr; gap: 0 12px; }
  .master__note { font-size: .84rem; }
}

/* Узкие телефоны: сжимаем шапку, но сохраняем и надпись, и значок */
@media (max-width: 380px) {
  .header__inner { gap: 8px; }
  .header__actions { gap: 6px; }
  .logo { gap: 7px; }
  .logo__word { font-size: 1rem; }
  .logo__mark img { width: 32px; height: 32px; }
  .logo__word { font-size: .94rem; }
  .header__actions .btn--accent { width: 40px; min-height: 40px; }
  .burger { width: 40px; height: 40px; }
  .burger span { width: 17px; }
}

/* ============================== ОТЗЫВЫ ============================== */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.review {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brass); color: var(--on-brass);
  font-family: var(--font-rounded); font-size: 1.1rem; font-weight: 700;
}
.review__who { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.review__who b { font-size: 1rem; }
.review__who span { font-size: .8rem; color: var(--muted); }
.review__source {
  flex: 0 0 auto; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .2);
  color: var(--accent-dk); font-size: .7rem; font-weight: 700; letter-spacing: .03em;
}
.review__stars { display: flex; align-items: center; gap: 3px; margin: 0; color: var(--gold-dk); }
.review__stars span { margin-left: 7px; font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.review__service { margin: 0; font-size: .84rem; color: var(--muted); }
.review__text { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.review__shot {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 9px 14px; border-radius: var(--r-icon);
  border: 1px dashed var(--line-2); background: transparent;
  color: var(--ink-2); font-size: .84rem; font-weight: 600; cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.review__shot:hover { border-color: var(--accent); color: var(--accent-dk); background: rgba(var(--accent-rgb), .06); }

/* Просмотр скриншота */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 22px; background: rgba(12, 17, 26, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
/* Оверлеи галереи: класс перебивает служебный [hidden], поэтому гасим явно. */
.viewer[hidden], .sheet[hidden] { display: none; }
/* Блокировка прокрутки страницы под оверлеем — на любой ширине экрана.
   Отдельный класс, чтобы не задевать мобильное меню (nav-open). */
body.is-locked { overflow: hidden; }
.lightbox img {
  max-width: min(760px, 100%); max-height: 86vh; width: auto; height: auto;
  border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12);
  color: #fff; font-size: 1rem;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }

/* Поля маршрута эвакуации */
.field--tow { padding: 16px; border-radius: var(--r-card); background: var(--tint); border: 1px solid var(--line); }
.field--tow[hidden] { display: none; }
.field--tow legend { padding-bottom: 12px; }

@media (max-width: 760px) {
  .reviews { grid-template-columns: 1fr; gap: 12px; }
  .review { padding: 18px 16px; gap: 9px; }
  .review__avatar { width: 40px; height: 40px; font-size: 1rem; }
  .review__text { font-size: .9rem; }
  .review__service { font-size: .8rem; }
  .lightbox { padding: 12px; }
  .lightbox__close { top: 10px; right: 10px; }
  .field--tow { padding: 14px; }
}

/* ==================== ЧАСТЫЕ ОБРАЩЕНИЯ (главный экран) ====================
   Тап по поломке открывает WhatsApp с уже описанной проблемой —
   клиенту остаётся дописать адрес.
------------------------------------------------------------------- */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.quick__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quick__btn {
  /* Поля подобраны так, чтобы четыре подсказки вставали в одну строку
     рядом с меткой: колонка главного экрана — всего 559 px. */
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  font-size: .85rem; font-weight: 500; white-space: nowrap;
  box-shadow: var(--sh-card);
  transition: color .18s, border-color .18s, transform .18s var(--ease);
}
/* Точку перед текстом убрали: она ничего не значила, а четыре подсказки
   из-за неё не укладывались в одну строку на большом экране. */
.quick__btn:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .35); transform: translateY(-1px); }

/* ==================== ПРОВЕРКА ГОРОДА ПОКРЫТИЯ ====================
   Поиск идёт по тому же списку городов, что нарисован на карте.
------------------------------------------------------------------- */
.citysearch {
  margin-top: 16px; padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 26px; align-items: start;
}
.citysearch__head { min-width: 0; }
.citysearch__title { margin: 0 0 5px; font-size: 1.08rem; }
.citysearch__hint { margin: 0; font-size: .89rem; color: var(--ink-2); text-wrap: pretty; }
.citysearch__box { position: relative; min-width: 0; }
.citysearch__field { position: relative; display: flex; align-items: center; }
.citysearch__icon { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.citysearch__input {
  width: 100%; min-height: 50px; padding: 12px 46px 12px 43px;
  border-radius: var(--r-card); border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink); font: inherit; font-size: .96rem;
  transition: border-color .18s, box-shadow .18s;
}
.citysearch__input::placeholder { color: var(--muted); }
.citysearch__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.citysearch__clear {
  position: absolute; right: 8px; width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
  transition: color .18s, background .18s;
}
.citysearch__clear:hover { color: var(--ink); background: var(--tint); }
.citysearch__list {
  position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none; max-height: 252px; overflow: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-card-2);
}
.citysearch__list li { margin: 0; }
.citysearch__list button {
  display: block; width: 100%; text-align: left; padding: 11px 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font: inherit; font-size: .93rem; cursor: pointer;
}
.citysearch__list button:hover,
.citysearch__list li.is-cursor button { background: var(--tint); color: var(--accent); }
.citysearch__answer {
  grid-column: 1 / -1; padding: 15px 17px; border-radius: var(--r-card);
  background: var(--tint); border: 1px solid var(--line);
}
.citysearch__yes { margin: 0 0 5px; font-size: .98rem; color: var(--ink); display: flex; align-items: flex-start; gap: 9px; }
.citysearch__yes > span:last-child { min-width: 0; }
.citysearch__tick {
  flex: 0 0 auto; display: grid; place-items: center; width: 23px; height: 23px;
  border-radius: 50%; background: rgba(var(--wa-rgb), .14); color: var(--green);
  font-size: .78rem; font-weight: 700; margin-top: 1px;
}
.citysearch__answer--miss .citysearch__tick { background: rgba(255, 193, 7, .2); color: var(--gold-dk); }
.citysearch__note { margin: 0; font-size: .88rem; color: var(--ink-2); text-wrap: pretty; }
.citysearch__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }

html[data-theme="dark"] .quick__btn { background: rgba(28, 34, 41, .92); }
html[data-theme="dark"] .citysearch__input { background: #12161b; }

@media (max-width: 900px) {
  .citysearch { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* Сетка два на два одинаковой ширины. При обычном переносе строки
     ширина капсулы зависела от длины надписи, и ряды выходили рваными:
     «Не запускается» рядом с «Горит ошибка», а «Эвакуация» болталась
     в половину ряда. */
  .quick {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-top: 16px;
  }
  .quick__label { grid-column: 1 / -1; text-align: center; margin-bottom: 2px; }
  .quick__btn {
    justify-content: center; padding: 11px 12px; font-size: .86rem;
    min-height: 46px; text-align: center;
  }
  .citysearch { padding: 17px 16px; border-radius: var(--r-card); }
  .citysearch__title { font-size: 1.02rem; }
  .citysearch__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==================== СХЕМА УЗЛОВ НА ФОТО ====================
   Точки стоят в процентах от кадра, поэтому не сползают ни на
   телефоне, ни на большом экране. Кадр держит пропорции фото —
   иначе точки разошлись бы с машиной.
------------------------------------------------------------------- */
.scheme { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.scheme__stage {
  position: relative; align-self: start; aspect-ratio: 560 / 373;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-card); background: var(--tint);
}
.scheme__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.scheme__hint {
  position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--ink-2);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.scheme__dot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.scheme__dot span {
  position: absolute; inset: 9px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .35);
  transition: transform .18s var(--ease);
}
.scheme__dot::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9); opacity: 0; transform: scale(.6);
  transition: opacity .2s, transform .2s var(--ease);
}
.scheme__dot::after {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: var(--accent); animation: schemePulse 2.6s var(--ease) infinite;
}
.scheme__dot:hover span, .scheme__dot:focus-visible span, .scheme__dot.is-active span { transform: scale(1.28); }
.scheme__dot.is-active::before { opacity: 1; transform: scale(1); }
.scheme__dot.is-active::after { animation: none; opacity: 0; }
@keyframes schemePulse {
  0%   { transform: scale(1);   opacity: .45; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.scheme__info {
  display: flex; flex-direction: column; gap: 9px; padding: 24px;
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.scheme__label { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scheme__info h3 { margin: 0; }
.scheme__text { margin: 0; font-size: .94rem; color: var(--ink-2); text-wrap: pretty; }
.scheme__who { margin: 0; font-size: .9rem; color: var(--ink); }
.scheme__who b { font-weight: 600; color: var(--ink-2); }
.scheme__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 8px; }
.scheme__chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 16px; }

html[data-theme="dark"] .scheme__hint { background: rgba(21, 26, 38, .9); }

@media (prefers-reduced-motion: reduce) {
  .scheme__dot::after { animation: none; opacity: 0; }
}
@media (max-width: 900px) {
  .scheme { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .scheme__info { padding: 17px 16px; border-radius: var(--r-card); }
  .scheme__dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .scheme__dot span, .scheme__dot::after { inset: 8px; }
  .scheme__hint { display: none; }
  .scheme__actions .btn { flex: 1 1 100%; justify-content: center; }
  .scheme__chips { margin-top: 13px; }
}
.scheme__signs { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 2px; padding: 0; }
.scheme__signs li { font-size: .83rem; padding: 6px 12px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); }

/* ==================== ЧЕК-ЛИСТ «ПОКА ЖДЁТЕ» ====================
   Отметки живут в localStorage: клиент может закрыть страницу
   и вернуться — галочки останутся.
------------------------------------------------------------------- */
.wait {
  margin-top: 22px; padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.wait__head { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.wait__intro { min-width: 0; flex: 1 1 320px; }
.wait__intro h3 { margin: 0 0 6px; }
.wait__lead { margin: 0; font-size: .92rem; color: var(--ink-2); text-wrap: pretty; }
.wait__meter { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.wait__count { font-family: var(--font-rounded); font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.wait__bar { display: block; width: 120px; height: 7px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--line); overflow: hidden; }
.wait__bar i { display: block; width: 0; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--teal)); transition: width .3s var(--ease); }
.wait__reset {
  padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: transparent; color: var(--ink-2); font-size: .8rem; cursor: pointer;
  transition: color .18s, border-color .18s;
}
.wait__reset:hover { color: var(--accent); border-color: var(--accent); }
.wait__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wait__item { margin: 0; }
.wait__item label {
  display: flex; align-items: flex-start; gap: 12px; height: 100%;
  padding: 14px 16px; border-radius: var(--r-card);
  background: var(--bg); border: 1px solid var(--line); cursor: pointer;
  transition: border-color .18s, background .18s;
}
.wait__item label:hover { border-color: var(--line-2); }
.wait__item input { position: absolute; opacity: 0; width: 0; height: 0; }
.wait__tick {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px; display: grid; place-items: center;
  border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--surface);
  color: var(--on-green); transition: background .18s, border-color .18s, transform .18s var(--ease);
}
.wait__tick svg { opacity: 0; transform: scale(.5); transition: opacity .18s, transform .18s var(--ease); }
.wait__item input:focus-visible + .wait__tick { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .16); }
.wait__item input:checked + .wait__tick { background: var(--green); border-color: var(--green); }
.wait__item input:checked + .wait__tick svg { opacity: 1; transform: scale(1); }
.wait__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wait__text b { font-size: .95rem; font-weight: 600; color: var(--ink); }
.wait__text span { font-size: .85rem; color: var(--ink-2); }
.wait__item.is-done label { background: rgba(var(--wa-rgb), .07); border-color: rgba(var(--wa-rgb), .3); }
.wait__item.is-done .wait__text b { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(var(--wa-rgb), .55); }
.wait__done {
  margin: 16px 0 0; padding: 13px 16px; border-radius: var(--r-card);
  background: rgba(var(--wa-rgb), .1); border: 1px solid rgba(var(--wa-rgb), .28);
  color: var(--ink); font-size: .92rem; font-weight: 600;
}

html[data-theme="dark"] .wait__item label { background: #12161b; }
html[data-theme="dark"] .wait__done { color: #7fd7a4; }

@media (max-width: 760px) {
  .wait__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wait { padding: 17px 16px; border-radius: var(--r-card); }
  .wait__head { gap: 14px; }
  .wait__meter { width: 100%; }
  .wait__bar { flex: 1 1 auto; width: auto; }
  .wait__item label { padding: 12px 13px; gap: 11px; }
}

/* ======================= ПРИМЕРЫ РАБОТ =======================
   Карусель на нативной прокрутке со «прилипанием»: на телефоне
   работает привычный свайп с инерцией, на компьютере — стрелки
   и автопрокрутка. Кадры приведены к одной пропорции, поэтому
   вертикальные и горизонтальные снимки стоят ровным рядом.
------------------------------------------------------------------- */
.works { position: relative; }
.works__track {
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 6px; margin: -4px -4px -6px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.works__track::-webkit-scrollbar { display: none; }
.work {
  flex: 0 0 auto; width: clamp(230px, 27vw, 330px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px; padding: 0;
  border: 0; background: transparent; text-align: left; cursor: pointer;
}
.work__frame {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-card); background: var(--tint);
  border: 1px solid var(--line); box-shadow: var(--sh-card);
  transition: box-shadow .25s, border-color .2s, transform .25s var(--ease);
}
.work__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.work:hover .work__frame { box-shadow: var(--sh-card-2); border-color: rgba(var(--accent-rgb), .3); transform: translateY(-2px); }
.work:hover .work__frame img { transform: scale(1.05); }
.work__zoom {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .2);
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s var(--ease);
}
.work:hover .work__zoom, .work:focus-visible .work__zoom { opacity: 1; transform: scale(1); }
.work__cap { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.work__cap b { font-size: .92rem; font-weight: 600; color: var(--ink); }
.work__cap span { font-size: .78rem; color: var(--muted); }
.works__arrow {
  position: absolute; top: calc(50% - 26px); z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(16, 24, 40, .14);
  transition: color .18s, border-color .18s, opacity .2s;
}
.works__arrow:hover { color: var(--accent); border-color: var(--accent); }
.works__arrow--prev { left: -10px; }
.works__arrow--next { right: -10px; }
/* Неактивную стрелку убираем совсем: полупрозрачная кнопка поверх
   первого кадра выглядела как случайный элемент. */
.works__arrow[disabled] { opacity: 0; pointer-events: none; }
/* Фильтров шесть, в одну строку с заголовком они не встают —
   отдаём им отдельную строку под текстом. */
#worksFilters { flex: 1 1 100%; justify-content: flex-start; }
.works__bar { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.works__count { font-family: var(--font-rounded); font-weight: 700; font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
.works__line { flex: 1 1 auto; height: 5px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.works__line i { display: block; width: 8%; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--teal)); transition: width .3s var(--ease); }

/* --------- Сетка со всеми фото --------- */
.sheet {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  background: var(--bg);
}
.sheet__bar {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line);
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sheet__title { font-family: var(--font-rounded); font-weight: 700; font-size: 1rem; color: var(--ink); }
.sheet__close {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: color .18s, border-color .18s;
}
.sheet__close:hover { color: var(--accent); border-color: var(--accent); }
.sheet__body {
  flex: 1 1 auto; overflow-y: auto; padding: 18px 20px 28px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px;
  align-content: start;
}
.sheet__item {
  /* Пропорцию держим через padding, а не aspect-ratio: у <button> высота
     от aspect-ratio не попадает в размер строки сетки, и плитки наезжают. */
  position: relative; height: 0; padding: 0 0 75%; border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; background: var(--tint); cursor: pointer;
  transition: border-color .18s, transform .2s var(--ease);
}
.sheet__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet__item:hover, .sheet__item:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.sheet__item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 8px;
  font-size: .76rem; color: #fff; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 25, .78));
}

/* --------- Просмотр на весь экран --------- */
.viewer {
  position: fixed; inset: 0; z-index: 95; display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(9, 13, 22, .96);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.viewer__top {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 18px;
}
.viewer__pos { font-family: var(--font-rounded); font-weight: 700; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.viewer__close {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer; transition: background .18s, border-color .18s;
}
.viewer__close:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.viewer__nav {
  align-self: center; justify-self: center; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer; transition: background .18s, border-color .18s;
}
.viewer__nav:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.viewer__stage {
  grid-column: 2; grid-row: 2; margin: 0; min-width: 0; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.viewer__stage img {
  max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain;
  border-radius: var(--r-card); box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  background: #11151a;
}
.viewer__stage figcaption { flex: 0 0 auto; font-size: .92rem; color: rgba(255, 255, 255, .8); text-align: center; }
.viewer__strip {
  grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 12px 18px 16px; scrollbar-width: none;
}
.viewer__strip::-webkit-scrollbar { display: none; }
.viewer__thumb {
  flex: 0 0 auto; width: 74px; height: 56px; padding: 0; overflow: hidden;
  border-radius: 10px; border: 2px solid transparent; background: #14181e;
  cursor: pointer; opacity: .55; transition: opacity .18s, border-color .18s;
}
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer__thumb:hover { opacity: .85; }
.viewer__thumb.is-current { opacity: 1; border-color: #fff; }

@media (max-width: 900px) {
  .works__arrow { display: none; }
}
@media (max-width: 560px) {
  .work { width: 78vw; }
  .works__bar { gap: 10px; flex-wrap: wrap; }
  .works__bar .btn { flex: 1 1 100%; justify-content: center; order: 3; }
  .sheet__body { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 9px; padding: 14px 14px 24px; }
  .viewer { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .viewer__nav { position: absolute; bottom: 96px; z-index: 2; width: 42px; height: 42px; }
  .viewer__nav--prev { left: 16px; }
  .viewer__nav--next { right: 16px; }
  .viewer__stage figcaption { font-size: .85rem; padding: 0 12px; }
  .viewer__thumb { width: 62px; height: 48px; }
}

/* ========================= МЕССЕНДЖЕР MAX =========================
   MAX — графитовый. Синий уже занят номером и главной кнопкой, зелёный —
   WhatsApp. Раньше MAX был белым с синим контуром: рядом с залитыми
   кнопками он читался как незаполненное поле, а не как действие.
------------------------------------------------------------------- */
.btn--max { background: linear-gradient(160deg, var(--max-bg), var(--max-bg-2)); color: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(16, 24, 40, .12), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--max:hover { filter: brightness(1.12); box-shadow: 0 4px 12px rgba(16, 24, 40, .2), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn--max svg { color: #fff; }
.max-round {
  flex: 0 0 auto; display: grid; place-items: center;
  width: var(--hdr-btn); height: var(--hdr-btn); border-radius: 50%;
  background: linear-gradient(160deg, var(--max-bg), var(--max-bg-2));
  color: #fff; border: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .12), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .16s var(--ease), box-shadow .18s ease, filter .18s ease;
}
.max-round:hover { filter: brightness(1.12); box-shadow: 0 4px 12px rgba(16, 24, 40, .2), inset 0 1px 0 rgba(255, 255, 255, .18); }
.max-round:active { transform: scale(.93); }
.dock__btn--max { flex: 0 0 auto; width: 58px; padding: 0; background: linear-gradient(160deg, var(--max-bg), var(--max-bg-2)); color: #fff; border: 0; }
.dock__btn--max svg { color: #fff; }

/* Форма мигает рамкой, когда к ней перешли по строке времени */
@keyframes requestFlash {
  0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); }
  100% { box-shadow: 0 0 0 16px rgba(var(--accent-rgb), 0); }
}
.request.is-flash { animation: requestFlash 1.1s var(--ease) 2; border-color: var(--accent); }

@media (max-width: 760px) {
  .hero__msg { min-height: 52px; }
}
@media (max-width: 380px) {
  .max-round svg { width: 19px; height: 19px; }
  .dock__btn--max { width: 52px; }
}
/* Совсем узкие экраны: два круга в шапку не влезают. MAX остаётся
   большой кнопкой на главном экране и в нижней панели. */
@media (max-width: 350px) {
  .max-round { display: none; }
}

/* ========================= МАРКИ ТЕХНИКИ =========================
   Три ряда значков едут в разные стороны. Ряд продублирован, поэтому
   лента замыкается без стыка. Под курсором и при поиске — стоп.
------------------------------------------------------------------- */
.brands__tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.brands__search { position: relative; display: flex; align-items: center; flex: 1 1 260px; min-width: 0; }
.brands__search svg:first-child { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.brands__search input {
  width: 100%; min-height: 48px; padding: 11px 44px 11px 43px;
  border-radius: var(--r-card); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem;
  transition: border-color .18s, box-shadow .18s;
}
.brands__search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.brands__clear {
  position: absolute; right: 8px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.brands__clear:hover { color: var(--ink); background: var(--tint); }
#brandFilters { flex: 1 1 100%; justify-content: flex-start; }

.brands {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  overflow: hidden; margin: 0 -18px; padding: 2px 0;
}
/* Края растворяются накладками — так лента не обрывается по линейке,
   и браузеру не приходится пересчитывать маску на каждом кадре. */
.brands::before, .brands::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 2; pointer-events: none;
}
.brands::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(248, 250, 252, 0)); }
.brands::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(248, 250, 252, 0)); }
html[data-theme="dark"] .brands::before { background: linear-gradient(90deg, var(--bg), rgba(11, 15, 26, 0)); }
html[data-theme="dark"] .brands::after { background: linear-gradient(270deg, var(--bg), rgba(11, 15, 26, 0)); }
.brands__row {
  display: flex; gap: 12px; width: max-content;
  animation: brandRun linear infinite;
  /* Отдельный слой композитора: без этого ряды подрагивают на телефоне */
  will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden;
}
.brands__row--back { animation-direction: reverse; }
.brands:hover .brands__row,
.brands:focus-within .brands__row { animation-play-state: paused; }
@keyframes brandRun {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* При поиске и фильтре ряды замирают и становятся обычной сеткой */
.brands.is-static { margin: 0; overflow: visible; }
.brands.is-static::before, .brands.is-static::after { display: none; }
.brands.is-static .brands__row { display: flex; flex-wrap: wrap; width: auto; animation: none; justify-content: center; }

.brand {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 16px 10px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color .18s, box-shadow .22s, transform .18s var(--ease);
}
.brand:hover, .brand:focus-visible { border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--sh-card-2); transform: translateY(-2px); }
.brand__mark {
  flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; color: var(--act-mark);
  background: linear-gradient(150deg, var(--act), var(--act-2));
  box-shadow: none;
}
.brand__text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.brand__text b { font-size: .93rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.brand__text span { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.brands__empty {
  margin: 18px auto 0; max-width: 34em; padding: 15px 18px; border-radius: var(--r-card);
  background: var(--tint); border: 1px solid var(--line); color: var(--ink-2);
  font-size: .92rem; text-align: center;
}
.brands__note { margin: 14px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

/* ---------- Поиск марки в форме заявки ---------- */
.brandpick { position: relative; margin-top: 14px; }
.brandpick__label { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.brandpick__field { position: relative; display: flex; align-items: center; }
.brandpick__field > svg:first-child { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.brandpick__field input {
  width: 100%; min-height: 46px; padding: 10px 42px 10px 40px;
  border-radius: var(--r-card); border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink); font: inherit; font-size: .94rem;
  transition: border-color .18s, box-shadow .18s;
}
.brandpick__field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.brandpick__clear {
  position: absolute; right: 7px; width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.brandpick__clear:hover { color: var(--ink); background: var(--tint); }
.brandpick__list {
  position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none; max-height: 240px; overflow: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-card-2);
}
.brandpick__list li { margin: 0; }
.brandpick__list button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 11px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer;
}
.brandpick__list button:hover, .brandpick__list li.is-cursor button { background: var(--tint); color: var(--accent); }
.brandpick__list .brand__mark { width: 28px; height: 28px; font-size: .72rem; }
.brandpick__list small { margin-left: auto; color: var(--muted); font-size: .75rem; }

html[data-theme="dark"] .brands__search input { background: #12161b; }
html[data-theme="dark"] .brandpick__field input { background: #12161b; }

@media (prefers-reduced-motion: reduce) {
  .brands__row { animation: none; }
}
@media (max-width: 560px) {
  .brands { gap: 9px; margin: 0 -14px; }
  .brands__row { gap: 9px; }
  .brand { padding: 8px 13px 8px 9px; gap: 9px; }
  .brand__mark { width: 32px; height: 32px; font-size: .76rem; }
  .brand__text b { font-size: .88rem; }
}

/* ===================== СВОДКА ПО ОТЗЫВАМ =====================
   Цифры считаются из самих отзывов. Полосы наполняются, когда блок
   появляется на экране — иначе анимация проходит незамеченной.
------------------------------------------------------------------- */
.rating {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 30px;
  align-items: center; margin-bottom: 18px; padding: 22px 26px;
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.rating__score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rating__score b { font-family: var(--font-rounded); font-size: 2.9rem; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.rating__stars { display: flex; gap: 2px; color: var(--gold-dk); }
.rating__count { font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.rating__bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rating__bars li { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--ink-2); }
.rating__bars i {
  flex: 1 1 auto; height: 8px; border-radius: var(--r-pill);
  background: var(--tint); border: 1px solid var(--line); overflow: hidden;
}
.rating__bars i b { display: block; width: 0; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold), var(--gold-dk)); transition: width .9s var(--ease); }
.rating__bars u { font-variant-numeric: tabular-nums; text-decoration: none; color: var(--ink); font-weight: 600; min-width: 1.4em; text-align: right; }
.rating__note { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--muted); text-wrap: pretty; }
.reviews__filters { justify-content: flex-start; margin-bottom: 16px; }
.reviews__empty { margin: 18px 0 0; text-align: center; color: var(--ink-2); font-size: .92rem; }

/* Длинный отзыв сворачивается: карточки в сетке остаются одной высоты */
.review__text.is-clamped {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.review__more {
  align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none;
  color: var(--accent); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer;
}
.review__more:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .rating { grid-template-columns: 1fr; gap: 14px; padding: 18px; text-align: center; }
  .rating__score { flex-direction: row; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
  .rating__score b { font-size: 2.4rem; }
  .rating__bars li { font-size: .78rem; }
}

/* ============ ПРАВКИ ПОСЛЕ ТЕСТА НА ТЕЛЕФОНЕ ============ */
/* Круглая кнопка MAX должна совпадать с WhatsApp на всех ширинах:
   у WhatsApp на планшете и телефоне размер меньше, MAX это повторяет. */
@media (max-width: 760px) {
  .max-round svg { width: 19px; height: 19px; }
}
/* «Москва и МО» — одной строкой, поэтому шрифт мельче остальных цифр */
.mini-card__num--wide { font-size: clamp(1.15rem, 2.1vw, 1.45rem); white-space: nowrap; }

/* Фото тягача теперь 1278 px по ширине, поэтому кадр схемы больше
   не приходится сужать — он снова занимает свою долю ряда. */
.scheme { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.scheme__stage { aspect-ratio: 3 / 2; }

/* На телефоне весь верхний блок — по центру */
@media (max-width: 760px) {
  .hero__text { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }

  .quick { justify-content: center; }
  .quick__label { flex: 1 0 100%; text-align: center; }
  .hero__panel-line, .hero__panel-geo { justify-content: center; text-align: center; }
}
@media (max-width: 900px) {
  .scheme { grid-template-columns: 1fr; }
}

/* Стрелка в поле марки — знак того, что список раскрывается */
.brandpick__chev { position: absolute; right: 13px; display: grid; place-items: center; color: var(--muted); pointer-events: none; }
.brandpick__list { max-height: 268px; }

/* ================= ОТЗЫВЫ: ЛИСТАЕМ В СТОРОНУ =================
   Раньше карточки лежали сеткой и растягивали страницу. Теперь это
   лента с прилипанием: свайп на телефоне, стрелки на компьютере.
------------------------------------------------------------------- */
.reviews-strip { position: relative; }
.reviews {
  display: flex; gap: 16px; align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px; margin: -4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 auto; width: clamp(268px, 44%, 420px); scroll-snap-align: start; }
.reviews__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(16, 24, 40, .14);
  transition: color .18s, border-color .18s, opacity .2s;
}
.reviews__arrow:hover { color: var(--accent); border-color: var(--accent); }
.reviews__arrow--prev { left: -10px; }
.reviews__arrow--next { right: -10px; }
.reviews__arrow[disabled] { opacity: 0; pointer-events: none; }
.reviews__nav { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.reviews__step {
  flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer; transition: color .18s, border-color .18s, opacity .2s;
}
.reviews__step:hover { color: var(--accent); border-color: var(--accent); }
.reviews__step[disabled] { opacity: .35; cursor: default; }
.reviews__line { flex: 1 1 auto; height: 5px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.reviews__line i { display: block; width: 12%; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--teal)); transition: width .3s var(--ease); }
.reviews__count { font-family: var(--font-rounded); font-weight: 700; font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
html[data-theme="dark"] .reviews__arrow { background: rgba(21, 26, 38, .92); }

@media (max-width: 900px) {
  .reviews__arrow { display: none; }
}
@media (max-width: 560px) {
  .review { width: 80vw; }
  .reviews { gap: 12px; }
  .reviews__nav { gap: 9px; margin-top: 13px; }
}

/* ============ МАРКИ: РУССКОЕ НАЗВАНИЕ И МОДЕЛИ ============ */
/* Русское написание рядом с латинским: люди ищут «Даф», «Скания» */
.brand__text span b { font-weight: 600; color: var(--ink-2); }
.brandpick__list small { flex: 0 0 auto; }
.brandpick__list em { font-style: normal; color: var(--muted); margin-left: 5px; }

/* Быстрый выбор модели под полем заявки */
.brandpick__models { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }
.brandpick__models > span {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-right: 1px;
}
.brandpick__models button {
  padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font: inherit; font-size: .83rem;
  cursor: pointer; white-space: nowrap;
  transition: color .18s, border-color .18s, transform .18s var(--ease);
}
.brandpick__models button:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .4); transform: translateY(-1px); }
.brandpick__models button.is-picked { background: var(--brass); color: var(--on-brass); border-color: transparent; font-weight: 600; }

/* ============ КОНЦОВКА ЧЕК-ЛИСТА ============ */
.wait__done {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.wait__done-text { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 1rem; }
.wait__done-mark {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: var(--accent);
}
.wait__done-call { flex: 0 0 auto; }
@media (max-width: 560px) {
  .wait__done { flex-direction: column; align-items: stretch; text-align: center; }
  .wait__done-text { justify-content: center; }
  .wait__done-call { justify-content: center; }
}





/* ======================= ЖИВОЙ МОТОР =======================
   Вся геометрия считается скриптом: поршни, шатуны и пальцы
   коленвала двигаются по кривошипно-шатунной формуле, поэтому
   ход поршня несимметричный — как у настоящего мотора.
------------------------------------------------------------------- */
/* В колонке блока «О нас» мотор стоит вертикально: картинка сверху,
   подпись и тахометр под ней. Двухколоночная раскладка внутри узкой
   колонки сплющивала картинку до неразличимого. */
.engine {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  align-content: start; margin: 0; padding: clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.engine__side { display: flex; flex-direction: column; }
/* Тахометр прижат к низу: так обе половины блока заканчиваются на одной
   линии, а не с рваным краем */
.engine__dash { margin-top: auto; }
.engine__box {
  position: relative; padding: 12px; border-radius: var(--r-card);
  background: linear-gradient(165deg, #eff4fb, #dfe8f4);
  border: 1px solid var(--line); cursor: pointer;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
html[data-theme="dark"] .engine__box { background: linear-gradient(165deg, #1e242b, #14181e); }
.engine__svg { display: block; width: 100%; height: auto; overflow: visible; }
.engine__hint {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; pointer-events: none;
  opacity: .9; transition: opacity .2s;
}
.engine__box.is-rev .engine__hint { opacity: 0; }

/* Детали мотора */
.eng-block { fill: rgba(var(--accent-rgb), .07); stroke: rgba(var(--accent-rgb), .22); stroke-width: 1.4; }
.eng-head { fill: rgba(var(--accent-rgb), .26); stroke: rgba(var(--accent-rgb), .3); stroke-width: 1; }
.eng-cyl { fill: rgba(255, 255, 255, .55); stroke: rgba(var(--accent-rgb), .28); stroke-width: 1.4; }
.eng-spark { fill: var(--gold); opacity: 0; }
.eng-rod { stroke: var(--accent-dk); stroke-width: 3.4; stroke-linecap: round; opacity: .75; }
.eng-piston rect { fill: var(--accent); stroke: var(--accent-dk); stroke-width: 1; }
.eng-piston line { stroke: rgba(255, 255, 255, .55); stroke-width: 1.6; stroke-linecap: round; }
.eng-shaft { stroke: rgba(var(--accent-rgb), .3); stroke-width: 3; stroke-linecap: round; }
.eng-crank { fill: none; stroke: rgba(var(--accent-rgb), .32); stroke-width: 1.6; }
.eng-pin { fill: var(--accent); }
html[data-theme="dark"] .eng-cyl { fill: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .eng-block { fill: rgba(var(--accent-rgb), .07); }

/* Приборка: стрелка тахометра идёт от той же цифры */
.engine__dash { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.engine__gauge { flex: 0 0 auto; width: 64px; height: 40px; }
.eng-gauge-track { fill: none; stroke: var(--line-2); stroke-width: 3.2; stroke-linecap: round; }
.eng-gauge-red { fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; opacity: .8; }
.eng-gauge-needle { stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; }
.eng-gauge-cap { fill: var(--accent-dk); }
.engine__label { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.engine__text { margin: 0 0 12px; font-size: .95rem; color: var(--ink-2); text-wrap: pretty; }
.engine__meter { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.engine__meter b { font-family: var(--font-rounded); font-size: 1.5rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.engine__meter span { font-size: .82rem; color: var(--ink-2); }
.engine__meter em { font-style: normal; font-size: .82rem; color: var(--muted); }

@media (max-width: 760px) {
  .engine { padding: 17px 16px; border-radius: var(--r-card); }
  /* Текст по левому краю, как остальной текст блока. По центру он был,
     пока мотор стоял отдельной полосой во всю ширину. */
  .engine__dash { justify-content: flex-start; margin-top: 16px; }
  .engine__rev { width: 100%; justify-content: center; }
}

/* Надпись «Так держать!» скрыта, пока не отмечены все пункты:
   класс с display перебивает служебный hidden, поэтому гасим явно. */
.wait__done[hidden] { display: none; }

/* ======================= ПРАЙС ПО ВЫЕЗДАМ =======================
   Две строки с суммами: слева тип техники, справа цена.
------------------------------------------------------------------- */
.pricelist {
  margin-bottom: 22px; padding: 8px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.pricelist__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--r-card);
  transition: background .18s;
}
.pricelist__row + .pricelist__row { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-card) var(--r-card); }
.pricelist__row:hover { background: var(--tint); }
.pricelist__icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .14));
  color: var(--accent-dk); border: 1px solid rgba(var(--accent-rgb), .16);
}
.pricelist__what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pricelist__what b { font-size: 1.02rem; }
.pricelist__what span { font-size: .86rem; color: var(--ink-2); }
.pricelist__sum {
  font-family: var(--font-rounded); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -.02em; color: var(--ink); white-space: nowrap;
}
.pricelist__note {
  margin: 4px 0 0; padding: 12px 18px 14px; font-size: .86rem; color: var(--muted); text-wrap: pretty;
}
@media (max-width: 560px) {
  .pricelist__row { grid-template-columns: auto minmax(0, 1fr); gap: 12px 13px; padding: 14px; }
  .pricelist__sum { grid-column: 1 / -1; font-size: 1.22rem; }
  .pricelist__what b { font-size: .97rem; }
  .pricelist__note { padding: 10px 14px 12px; }
}

/* ============ ЦЕНТРИРОВАНИЕ ДЛИННЫХ ЗАГОЛОВКОВ ============
   Заголовки идут в одну строку, и длинный текст был шире рамки
   в 26em: строка прижималась к левому краю и блок выглядел
   несимметрично. Рамку заголовка расширяем, а подзаголовок
   оставляем узким — так он и читается лучше.
------------------------------------------------------------------- */
/* Только для широких экранов: на телефоне заголовки намеренно слева. */
@media (min-width: 761px) {
  .section__head--center > div { max-width: min(52em, 100%); }
  .section__head--center .section__lead { max-width: 26em; margin-inline: auto; }
}

/* ============================= ДОРОГА =============================
   Полоска-разделитель: фура едет от края до края, разметка бежит ей
   навстречу. Двигаются только transform — телефону это ничего не стоит.
------------------------------------------------------------------- */
.road {
  position: relative; height: 82px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 62%, var(--tint) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.road__dashes {
  position: absolute; left: 0; bottom: 17px; width: calc(100% + 60px); height: 3px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 26px, transparent 26px 60px);
  border-radius: 2px; animation: roadDash 1.15s linear infinite;
}
@keyframes roadDash { to { transform: translate3d(-60px, 0, 0); } }
.road__truck {
  position: absolute; left: 0; bottom: 8px; z-index: 2;
  width: 132px; height: 56px; padding: 0; border: 0; background: none; cursor: pointer;
  animation: roadDrive 17s linear infinite;
  -webkit-tap-highlight-color: transparent;
}
@keyframes roadDrive {
  from { transform: translate3d(-150px, 0, 0); }
  to   { transform: translate3d(calc(100vw + 40px), 0, 0); }
}
.road:hover .road__truck, .road__truck:focus-visible { animation-play-state: paused; }
.road__body { position: relative; display: block; width: 100%; height: 100%; transition: transform .18s var(--ease); }
.road__truck.is-beep .road__body { transform: translateY(-3px); }
.road__svg { display: block; width: 100%; height: 100%; }
.rd-trailer { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.6; }
.rd-cab { fill: var(--accent); stroke: var(--accent-dk); stroke-width: 1.2; }
.rd-glass { fill: rgba(255, 255, 255, .72); }
.rd-frame { fill: var(--line-2); }
.rd-pipe { fill: var(--line-2); }
.rd-tyre circle { fill: #2f3740; }
.rd-hub circle { fill: var(--surface); }
.rd-light { fill: var(--gold); opacity: .55; }
.road__truck.is-beep .rd-light { opacity: 1; filter: drop-shadow(0 0 5px rgba(255, 193, 7, .9)); }
.road__logo {
  position: absolute; left: 21%; top: 21%; width: 17%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 1.5px solid var(--line-2); background: #fff;
}
.road__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.road__beep {
  position: absolute; left: 50%; top: -14px; transform: translate(-50%, 6px);
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card);
  font-size: .7rem; font-weight: 700; color: var(--accent);
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s var(--ease);
}
.road__truck.is-beep .road__beep { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .road__truck { animation: none; transform: translate3d(28px, 0, 0); }
  .road__dashes { animation: none; }
}
@media (max-width: 560px) {
  .road { height: 66px; }
  .road__truck { width: 104px; height: 44px; bottom: 7px; }
  .road__dashes { bottom: 13px; }
}

/* ==================== РИТМ ОТСТУПОВ ====================
   Один масштаб на весь сайт: поля страницы, вертикаль секций,
   зазоры сеток и внутренние поля карточек считаются от ширины
   экрана, поэтому на большом мониторе воздуха больше, а на
   телефоне ничего не разъезжается.
------------------------------------------------------------------- */
.wrap { padding: 0 clamp(20px, 2.2vw, 32px); }
.section { padding: clamp(52px, 5.4vw, 82px) 0; }
.section__head { margin-bottom: clamp(26px, 3.2vw, 44px); }
.grid-cards { gap: clamp(12px, 1.3vw, 18px); }
.card { padding: clamp(22px, 2.1vw, 28px) clamp(20px, 2vw, 26px); }
.zone { padding: clamp(22px, 2.1vw, 26px) clamp(20px, 2vw, 24px); }
.trust { gap: clamp(9px, .9vw, 12px); }

/* Карточки техники: подпись компактнее, ряд ровнее */
.fleet__text { padding: 16px 18px 18px; gap: 4px; }
.fleet__item b { font-size: clamp(.99rem, 1vw, 1.08rem); line-height: 1.25; }
.fleet__item span { font-size: .85rem; line-height: 1.42; }
/* Одинаковый подъём у всех карточек при наведении */
.fleet__item:hover { transform: translateY(-2px); }

/* Пятая категория не должна сиротливо стоять в половине ряда:
   если последняя карточка осталась одна — занимает всю ширину. */
@media (max-width: 1120px) {
  .fleet__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fleet__item:last-child:nth-child(odd) .fleet__photo { aspect-ratio: 21 / 9; }
}
@media (max-width: 760px) {
  .section { padding: 44px 0; }
  .section__head { margin-bottom: 20px; }
  .fleet__text { padding: 13px 14px 15px; }
}

/* Планшет и телефон: по две в ряд, последняя одиночная — во всю ширину.
   Раньше здесь стоял span 6 — счёт от широкой сетки на 12 колонок. Когда
   колонок стало две, span 6 не влезал, браузер добавлял неявные колонки
   и ряд разъезжался: первая карточка сжималась в нечитаемую полосу. */
@media (max-width: 1120px) {
  .fleet__item, .fleet__item:nth-child(n+5) { grid-column: auto; }
  .fleet__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Верхняя строка над шапкой убрана: она сворачивалась при прокрутке
   через max-height, из-за чего браузер пересчитывал раскладку всей
   страницы на каждом кадре и скролл на телефоне заметно дёргался.
   Её содержимое разошлось по местам: сумма — в «Наши цены» в шапке,
   город и время — в главный экран. */

/* Пункт меню «Наши цены» — единственный выделенный в навигации:
   тонкая линия снизу вместо чужеродной кнопки. */
.nav__price { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 rgba(var(--accent-rgb), .4); }
.nav__price:hover { box-shadow: inset 0 -2px 0 var(--accent); }

/* Кнопка вызова в шапке: одно главное действие, номер виден целиком */
.header__call {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  height: var(--hdr-btn); padding: 0 16px 0 13px; border-radius: var(--r-pill);
  /* Стекло, как у кнопки звонка в главном экране: синяя заливка спорила
     с синими пунктами меню рядом и перетягивала на себя внимание. */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .92), rgba(255, 255, 255, .78));
  color: var(--ink);
  border: 1px solid rgba(16, 24, 40, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 1px 2px rgba(16, 24, 40, .05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  transition: border-color .18s, box-shadow .18s, transform .16s var(--ease);
}
.header__call svg { color: var(--ios-blue); }
.header__call:hover {
  border-color: var(--ios-blue);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 2px 8px rgba(var(--accent-rgb), .18);
}
html[data-theme="dark"] .header__call {
  background: linear-gradient(180deg,
    rgba(92, 96, 104, .42), rgba(48, 51, 57, .36));
  color: var(--ink);
  border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-spec), 0 1px 2px rgba(0, 0, 0, .3);
}
html[data-theme="dark"] .header__call svg { color: var(--accent); }
.header__call:active { transform: scale(.98); }
.header__call-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__call-text b { font-family: var(--font-rounded); font-weight: 700; font-size: .97rem; letter-spacing: -.01em; }
.header__call-text small { font-size: .68rem; opacity: .85; }

@media (max-width: 1120px) {
  /* На узком остаются два факта, которые спрашивают первыми: куда
     выезжаем и от какой суммы. «Круглосуточно» уходит — оно есть
     в значке 24/7 рядом с логотипом. */
  /* Разделитель сразу после «Москвы» остался бы висеть без пары —
     скрываем именно его, второй разделит гео и цену. */
}
@media (max-width: 760px) {
  /* На телефоне в шапке одно понятное действие — вызов. Мессенджеры
     никуда не деваются: они всегда на виду в панели снизу. Меню —
     тихая кнопка без рамки, чтобы не читалась как третья равная. */
  :root { --hdr-btn: 40px; }
  .wa-round, .max-round { display: none; }

  .burger { border: 0 !important; background: none !important; box-shadow: none !important; }
  /* Размытие фона у прилипшей шапки на телефоне отключено: слой с
     backdrop-filter перерисовывается на каждом кадре прокрутки и это
     самая дорогая часть кадра. Вместо него — плотный фон. */
  .header.is-stuck {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: var(--bg);
  }
  html[data-theme="dark"] .header.is-stuck { background: var(--bg); }
  html { scroll-padding-top: 100px; }
}
@media (max-width: 460px) {
  /* Кнопка вызова на телефоне убрана: её место заняли «Наши цены».
     Позвонить можно из главного экрана, меню и панели снизу. */
  .header__call { display: none; }
  .header__inner { gap: 9px; }
  .header__price-long, .header__price-short { font-size: 1rem; }
}
@media (max-width: 370px) {
  /* Здесь в строку встают только логотип, короткая надпись и меню:
     сумма уходит, чтобы меню не выдавливалось за край. */
  .header__price small { display: none; }
  .logo__word { font-size: 1.02rem; }
  .header__inner { gap: 8px; }
  .header__price { padding-left: 11px; }
  .header__price-long, .header__price-short { font-size: .94rem; }
  .header__price-long { display: none; }
  .header__price-short { display: inline; }
}

}

/* Здесь стояло content-visibility для тяжёлых разделов. Убрано: на
   месте неотрисованных блоков оставались пустые пятна, если пролистать
   до них быстро. Плавность и без него держится — её обеспечивают общий
   обработчик прокрутки и отключённое размытие шапки на телефоне. */

/* ======================== ТИПОГРАФИКА ========================
   Заголовки и цифры набраны Manrope — геометричным гротеском. Он держит
   цены, время прибытия, обороты и счётчики: одна деталь, которая
   связывает разделы между собой.
------------------------------------------------------------------- */
h1, h2, .logo__word, .cta__phone a, .mini-card__num, .pricelist__sum,
.engine__meter b, .works__count, .reviews__count, .wait__count,
.rating__score b, .request__eta strong, .eta-line strong {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3, .fleet__item b, .field legend, .hero__panel-title b, .brand__text b {
  font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em;
}
/* Manrope собран плотнее округлого шрифта, поэтому крупным заголовкам
   хватает умеренного поджатия — иначе буквы начинают слипаться. */
.hero__text h1 { letter-spacing: -.026em; line-height: 1.03; }
.section__head h2 { letter-spacing: -.024em; }
.logo__word { letter-spacing: -.02em; }

/* Цифры — синим и в один ряд по ширине: так цена, время прибытия
   и счётчики читаются как значение, а не как обычный текст. */
.pricelist__sum, .mini-card__num, .rating__score b { color: var(--accent); }
.request__eta strong { color: var(--accent); }

/* ============================== СТЕКЛО ==============================
   Один набор приёмов на все стеклянные элементы: капсула со временем,
   кнопки главного экрана, подсказки частых поломок. Блик — верхний слой
   заливки, а не отдельный элемент: так он не перекрывает текст и не
   требует возни с порядком слоёв.
------------------------------------------------------------------- */
.pill--live,
.hero__cta,
.hero__msg,
.quick__btn {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
}

/* ---------- Капсула со временем и сменой ----------
   Раньше её заливка почти совпадала с фоном страницы и капсула
   читалась как случайное серое пятно. */
.pill--live {
  background:
    linear-gradient(180deg, var(--glass-spec), rgba(255, 255, 255, 0) 52%),
    var(--glass-tint);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    0 1px 2px rgba(16, 24, 40, .04);
  color: var(--ink-2);
}
html[data-theme="dark"] .pill--live {
  background: var(--glass-tint);
  border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-spec), 0 2px 8px rgba(0, 0, 0, .3);
}

/* ---------- Белая кнопка звонка ---------- */
/* Кнопка стала площе: заказчик сказал, что объёма слишком много.
   Стекло осталось, но тень короче, блик слабее, обводка тоньше. */
.hero__cta {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .92), rgba(255, 255, 255, .8));
  border: 1px solid rgba(16, 24, 40, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 1px 2px rgba(16, 24, 40, .05),
    0 3px 10px rgba(16, 24, 40, .06);
}
html[data-theme="dark"] .hero__cta {
  background: linear-gradient(180deg,
    rgba(92, 96, 104, .42), rgba(48, 51, 57, .36));
  border-color: var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-spec),
    0 2px 10px rgba(0, 0, 0, .3);
}

/* ---------- Кнопки мессенджеров ----------
   Цвет остаётся узнаваемым: заливка полупрозрачная, но плотная. */
.hero__msg.btn--wa {
  background: linear-gradient(180deg,
    rgba(34, 133, 79, .92), rgba(25, 107, 62, .86));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 1px 2px rgba(16, 24, 40, .08),
    0 4px 12px rgba(25, 107, 62, .18);
}
.hero__msg.btn--max {
  background: linear-gradient(180deg,
    rgba(84, 88, 220, .92), rgba(124, 92, 214, .86));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 1px 2px rgba(16, 24, 40, .08),
    0 4px 12px rgba(96, 84, 216, .2);
}
.hero__msg:hover { filter: brightness(1.06); }

/* ---------- Подсказки частых поломок ----------
   Были плоскими белыми таблетками с серой рамкой — теперь стекло
   того же семейства, что кнопки выше. */
.quick__btn {
  background:
    linear-gradient(180deg, var(--glass-spec), rgba(255, 255, 255, 0) 55%),
    var(--glass-tint);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-spec),
    0 1px 2px rgba(16, 24, 40, .05);
  color: var(--ink);
}
.quick__btn:hover {
  border-color: rgba(var(--accent-rgb), .5);
  box-shadow:
    inset 0 1px 0 var(--glass-spec),
    0 2px 6px rgba(var(--accent-rgb), .16),
    0 8px 20px rgba(var(--accent-rgb), .14);
}
html[data-theme="dark"] .quick__btn { color: var(--ink); }

/* ---------- Черновик заявки ---------- */
.draft-hint {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 10px 0 0; font-size: .82rem; color: var(--muted);
}
.draft-hint button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--accent);
  border-bottom: 1px solid rgba(var(--accent-rgb), .4);
}
.draft-hint button:hover { border-bottom-color: var(--accent); }

/* ---------- Строка прайса ведёт в мессенджер ---------- */
.pricelist__ask {
  grid-column: 2 / -1;
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 2px; font-size: .8rem; color: var(--accent);
  opacity: 0; transform: translateY(-2px);
  transition: opacity .18s, transform .18s var(--ease);
}
.pricelist__ask::after { content: '↓'; font-size: .95em; }
.pricelist__row:hover .pricelist__ask,
.pricelist__row:focus-visible .pricelist__ask { opacity: 1; transform: none; }
/* На телефоне наведения нет, а четыре одинаковые подписи подряд — шум.
   Там вместо них одна общая строка под прайсом. */
@media (hover: none) {
  .pricelist__ask { display: none; }
}
.pricelist__hint {
  display: none; margin: 12px 0 0; text-align: center;
  font-size: .84rem; color: var(--muted);
}
@media (hover: none) {
  .pricelist__hint { display: block; }
}

/* ========================= ЗАЯВКА ПО ШАГАМ =========================
   Один шаг за раз: длинная форма пугала объёмом. Полоска сверху
   показывает, где мы, и позволяет вернуться к пройденному шагу.
------------------------------------------------------------------- */
.request { display: block; }
.wizard {
  max-width: 660px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--sh-card);
}

/* ---------- Полоска шагов ---------- */
.wizard__bar {
  display: flex; gap: 4px; list-style: none; margin: 0 0 22px; padding: 0;
}
.wizard__tab { flex: 1 1 0; min-width: 0; }
.wizard__tab button {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 2px 10px; border: 0; background: none; cursor: pointer;
  /* Линия под шагом — она же индикатор пройденного пути */
  border-bottom: 2px solid var(--line);
  color: var(--muted); font-size: .76rem; font-weight: 600;
  transition: color .18s, border-color .18s;
}
.wizard__num {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--tint); color: var(--muted);
  font-family: var(--font-display); font-weight: 800; font-size: .82rem;
  transition: background .18s, color .18s;
}
.wizard__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* Пройденные шаги: можно вернуться и поправить */
.wizard__tab.is-done button { color: var(--ink-2); border-bottom-color: rgba(var(--accent-rgb), .45); }
.wizard__tab.is-done .wizard__num { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.wizard__tab.is-current button { color: var(--accent); border-bottom-color: var(--ios-blue); }
.wizard__tab.is-current .wizard__num {
  background: linear-gradient(160deg, var(--act), var(--act-2));
  color: var(--act-ink);
}
.wizard__tab button:hover { color: var(--accent); }

/* ---------- Сам шаг ---------- */
.wizard__step { animation: wizardIn .24s var(--ease); }
@keyframes wizardIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}
.wizard__title {
  margin: 0 0 4px; font-family: var(--font-body); font-weight: 600;
  font-size: 1.12rem; letter-spacing: -.01em;
}
.wizard__note { margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.wizard__title + .opts, .wizard__note + .opts { margin-top: 12px; }
.wizard__step .field--row { margin-top: 16px; }
.wizard__step .field--tow { margin-top: 16px; }

/* ---------- Кнопки перехода ---------- */
.wizard__nav {
  display: flex; gap: 10px; align-items: center;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.wizard__back { flex: 0 0 auto; }
.wizard__next { flex: 1 1 auto; }
.wizard__nav .btn { min-height: 50px; border-radius: var(--r-pill); }

/* ---------- Итоговый шаг ---------- */
.wizard__step .request__result {
  padding: 0; background: none; border: 0; box-shadow: none; position: static;
}
.wizard__step .request__lines { margin-top: 0; }

@media (max-width: 560px) {
  /* Названия шагов не влезают — остаются номера и линия под ними */
  .wizard__name { display: none; }
  .wizard__bar { gap: 6px; margin-bottom: 18px; }
  .wizard__tab button { padding-bottom: 8px; }
  .wizard__nav { gap: 8px; }
  .wizard__nav .btn { min-height: 48px; }
  .wizard__back { padding: 0 16px; }
}

/* У кнопок задан display: inline-flex, и он перебивает атрибут hidden —
   без этого правила «Назад» видна на первом шаге. */
.wizard__nav .btn[hidden] { display: none; }

/* Варианты выбора — ровной сеткой. При переносе по ширине текста ряды
   выходили рваными: «Легковой автомобиль» во всю строку, а рядом два
   коротких варианта. */
.wizard__step .opts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
}
.wizard__step .opt { display: block; }
.wizard__step .opt span {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 10px 14px;
  text-align: center; line-height: 1.25;
}
@media (max-width: 400px) {
  .wizard__step .opts { grid-template-columns: 1fr 1fr; }
  .wizard__step .opt span { font-size: .88rem; padding: 10px 8px; }
}

/* ===================== ЗАГОЛОВОК ГЛАВНОГО ЭКРАНА =====================
   Акцент на слове «выезд» и полоса дорожной разметки под заголовком.
   Штрихи едут сами, при наведении на текст — быстрее. Приём по теме:
   это дорога, по которой к вам едет мастер.
------------------------------------------------------------------- */
/* Только цвет: подсветка под словом читалась как выделение маркером
   и спорила с дорожной линией ниже — двух акцентов на заголовок много. */
.hero__text h1 em { font-style: normal; color: var(--accent); }
/* Мини-дорога под заголовком: та же машина, что в разделителе ниже по
   странице, только мелкая и без гудка.

   Цикл честный: машина въезжает слева, проезжает дорогу и полностью
   уходит за правый край — там анимация и начинается заново. Скачка не
   видно, потому что в момент перезапуска машины нет в кадре.

   Чего здесь намеренно нет:
   • ускорения при наведении. Смена длительности на ходу заставляет
     браузер пересчитать фазу анимации, и машина прыгает по дороге —
     именно от этого она дёргалась при движении мыши;
   • маски по краям. Она пересчитывается на каждом кадре и на телефоне
     даёт рывки;
   • процентов в описании кадров. Путь задан в пикселях, иначе браузер
     пересчитывает анимацию при каждом изменении раскладки. */
.hero__road {
  --road-w: 300px;      /* длина дороги */
  --road-in: -72px;     /* старт: машина целиком левее дороги */
  --road-out: 308px;    /* финиш: машина целиком правее дороги.
                           Запас в 8 px — чтобы перезапуск цикла
                           гарантированно случался вне кадра. */
  position: relative; display: block; overflow: hidden;
  /* Высота с запасом над машиной: дым поднимается из трубы вверх, а при
     высоте в размер машины контейнер его обрезал. */
  width: var(--road-w); height: 48px; margin: -6px 0 10px;
  /* Перерисовка не выходит за пределы дороги: рядом стоят кнопки и
     капсула с размытием фона. */
  contain: layout paint;
}
.hero__road-line {
  position: absolute; left: 0; bottom: 4px; height: 3px;
  width: calc(100% + 38px); border-radius: 2px; opacity: .42;
  background: repeating-linear-gradient(90deg,
    var(--ios-blue) 0 20px, rgba(var(--accent-rgb), 0) 20px 38px);
  animation: heroRoadDash 1.5s linear infinite;
  will-change: transform;
}
@keyframes heroRoadDash { to { transform: translate3d(-38px, 0, 0); } }
.hero__road-truck {
  position: absolute; bottom: 3px; left: 0; z-index: 2;
  width: 62px; height: 26px;
  animation: heroRoadDrive 7s linear infinite;
  /* Свой слой отрисовки: иначе силуэт растеризуется заново каждый кадр */
  will-change: transform; backface-visibility: hidden;
}
.hero__road-truck svg { display: block; width: 100%; height: 100%; }

/* Логотип на борту прицепа — как у большой машины в разделителе ниже */
.hero__road-logo {
  position: absolute; left: 19%; top: 20%; width: 19%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line-2); background: #fff;
}
.hero__road-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Дым из трубы за кабиной: вверх и назад по ходу движения.
   Три облачка со сдвигом по времени. Размытия нет намеренно — оно
   пересчитывается на каждом кадре, а машина и так едет. */
.hero__road-smoke {
  /* Привязан к верху трубы: она в силуэте на 58% ширины */
  position: absolute; left: 57%; top: 0;
  width: 14px; height: 14px; pointer-events: none;
}
.hero__road-smoke i {
  position: absolute; left: 0; top: 0;
  width: 5px; height: 5px; border-radius: 50%;
  /* Плотность подобрана замером: видимость — это прозрачность цвета,
     умноженная на прозрачность из анимации. При .5 дым отличался от
     светлого фона на два тона, то есть был не виден. */
  background: radial-gradient(circle at 40% 36%,
    rgba(108, 122, 140, .85), rgba(108, 122, 140, 0) 76%);
  animation: heroSmoke 1.8s linear infinite;
  will-change: transform, opacity;
}
.hero__road-smoke i:nth-child(2) { animation-delay: .6s; }
.hero__road-smoke i:nth-child(3) { animation-delay: 1.2s; }
@keyframes heroSmoke {
  0%   { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; }
  15%  { opacity: .8; }
  100% { transform: translate3d(-11px, -17px, 0) scale(2.1); opacity: 0; }
}
/* В темноте дым почти белый. Итоговая видимость — это прозрачность цвета,
   умноженная на прозрачность из анимации: при .42 в цвете получалось
   около .2, и на чёрном фоне дымок читался как тёмные шары. */
html[data-theme="dark"] .hero__road-smoke i {
  background: radial-gradient(circle at 40% 36%,
    rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 76%);
}
@keyframes heroRoadDrive {
  from { transform: translate3d(var(--road-in), 0, 0); }
  to   { transform: translate3d(var(--road-out), 0, 0); }
}
/* Кому анимация мешает — машина стоит на дороге, разметка не бежит */
@media (prefers-reduced-motion: reduce) {
  .hero__road-line { animation: none; }
  .hero__road-truck { animation: none; transform: translate3d(12px, 0, 0); }
  .hero__road-smoke { display: none; }
}
@media (max-width: 760px) {
  .hero__road {
    --road-w: 240px; --road-out: 248px;
    margin: 0 auto 14px;
  }
}

/* ---------- Ячейки выбора одного размера ----------
   Ширина задаётся сеткой, высота — общей мерой: подпись в две строки
   больше не делает ячейку выше соседней. */
.wizard__step .opts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  /* Все строки одной высоты — по самой высокой ячейке. Без этого строка
     с подписью в две строки оказывалась выше остальных: align-items
     выравнивает внутри строки, но не строки между собой. */
  grid-auto-rows: 1fr;
  gap: 8px; align-items: stretch;
}
.wizard__step .opt { display: block; height: 100%; }
.wizard__step .opt span {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 58px; padding: 10px 12px;
  text-align: center; line-height: 1.25;
}
@media (min-width: 620px) {
  .wizard__step .opts { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Своё описание поломки ---------- */
.wizard__own { margin-top: 14px; }
.wizard__own textarea {
  width: 100%; resize: vertical; min-height: 62px;
  font: inherit; color: var(--ink);
  padding: 12px 14px; border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .18s, box-shadow .18s;
}
.wizard__own textarea:focus-visible {
  outline: none; border-color: var(--ios-blue);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16);
}

/* ---------- Цена выезда на итоговом шаге ---------- */
.request__price {
  /* Без переноса: со wrap кнопка подсказки уезжала на строку ниже и
     висела под ценой сама по себе. Подпись при нехватке места
     переносится внутри себя. */
  display: flex; align-items: center; gap: 10px; flex-wrap: nowrap;
  margin: 14px 0 0; padding: 14px 16px;
  border-radius: var(--r-card);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .18);
}
.request__price-label { flex: 1 1 auto; min-width: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.3; }
.request__price b {
  flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 800; font-size: 1.24rem;
  letter-spacing: -.02em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
/* Цель нажатия 32 px — больше минимума 24 px из WCAG 2.5.8 */
.request__help {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .3);
  background: var(--surface); color: var(--accent); cursor: pointer;
  transition: background .18s, border-color .18s;
}
.request__help:hover { background: rgba(var(--accent-rgb), .12); border-color: var(--accent); }
.request__help[aria-expanded="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.request__helpbox {
  margin: 10px 0 0; padding: 14px 16px;
  border-radius: var(--r-card); background: var(--tint);
  border: 1px solid var(--line);
  font-size: .89rem; color: var(--ink-2); line-height: 1.5;
}
.request__helpbox p { margin: 0; }
.request__helpbox p + p { margin-top: 8px; }
.request__helpbox b { color: var(--ink); }
