/* Сайт «Эвакуатор Авто» — дизайн B «Маршрут» (утверждён 09.11.2026, docs/site-blocks/design/variant-b.html).
   Цвета, шрифт и отступы — только токены ниже (docs/DESIGN.md). */
@font-face { font-family: "Onest"; src: url("fonts/onest.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --c-bg: #f4f6f9;
  --c-surface: #ffffff;
  --c-text: #142233;
  --c-muted: #4c5a6b;
  --c-hint: #6b7787;
  --c-brand: #1f5c99;
  --c-brand-deep: #16365a;
  --c-call: #cc3426;
  --c-red: #e34d3e;
  --c-sky: #62a6da;
  --c-signal: linear-gradient(90deg, #e34d3e, #62a6da);
  --c-tint: #e4eef8;
  --c-on-dark-muted: #b9cce0;
  --c-border: #d5dde7;
  --c-ok: #1e7a46;
  --c-ok-bg: #e3f4ea;
  --c-error: #b42318;
  --radius: 14px;
  --radius-field: 12px;
  --radius-block: 22px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--c-text); background: var(--c-bg); padding-bottom: 56px; font-variant-numeric: lining-nums tabular-nums; }
::selection { background: var(--c-tint); color: var(--c-text); }
a { color: var(--c-brand); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 var(--space-4); letter-spacing: -.025em; }
h1 { font-size: clamp(34px, 5.4vw, 62px); letter-spacing: -.045em; line-height: 1.04; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-6); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--c-surface); padding: var(--space-2) var(--space-4); z-index: 10; }
.sec { padding: var(--space-16) 0 0; }
.sec__lead { color: var(--c-muted); max-width: 64ch; margin-top: calc(-1 * var(--space-2)); margin-bottom: var(--space-6); }
.muted { color: var(--c-muted); }
.mt-4 { margin-top: var(--space-4); }
.mb-2 { margin-bottom: var(--space-2); }
.tech-list { padding-left: 2.2em; display: grid; gap: var(--space-2); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 var(--space-6);
  background: var(--c-brand); color: #fff; border: 0; border-radius: var(--radius); font: 600 17px/1.1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease; }
.btn:hover { background: var(--c-brand-deep); }
.btn--call { background: var(--c-call); }
.btn--call:hover { background: #a92a1f; }
.btn--ghost { background: var(--c-surface); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-border); }
.btn--ghost:hover { background: var(--c-tint); }
.btn--wide, .btn--big { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Шапка ---------- */
.header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 5; }
.header__row { display: flex; align-items: center; gap: var(--space-6); min-height: 68px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.logo img { display: block; height: 36px; width: auto; }
.logo__mark { display: none !important; }
.nav { display: none; gap: var(--space-6); margin-left: auto; }
.nav a { color: var(--c-muted); text-decoration: none; padding: var(--space-3) 0; font-weight: 500; }
.nav a:hover { color: var(--c-text); }
.phone { margin-left: auto; color: var(--c-text); font-weight: 700; text-decoration: none; white-space: nowrap; padding: var(--space-3) 0; font-size: 17px; }

/* ---------- Мобильное меню (до 1000 px; макет утверждён владельцем 13.11.2026) ----------
   Анимация — только transform и opacity, 0,26 с; при «уменьшить движение» — без анимации. */
.burger { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--c-text); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.burger:hover { background: var(--c-bg); }
.burger__box { position: relative; width: 22px; height: 16px; }
.burger__box i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .24s ease-out, opacity .16s ease-out; }
.burger__box i:nth-child(1) { top: 0; }
.burger__box i:nth-child(2) { top: 7px; }
.burger__box i:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: var(--header-h, 69px) 0 0; z-index: 8; visibility: hidden; transition: visibility 0s linear .26s; }
.menu.is-open { visibility: visible; transition: none; }
.menu__shade { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: rgba(20, 34, 51, .4); opacity: 0; cursor: pointer; transition: opacity .26s ease-out; }
.menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px; display: flex; flex-direction: column; background: var(--c-surface);
  overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4) var(--space-4) calc(var(--space-6) + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(-12px); transition: transform .26s ease-out, opacity .2s ease-out; }
.menu.is-open .menu__shade, .menu.is-open .menu__panel { opacity: 1; }
.menu.is-open .menu__panel { transform: none; }
.menu__panel > * { flex: none; opacity: 0; transform: translateY(8px); transition: opacity .2s ease-out, transform .2s ease-out; }
.menu.is-open .menu__panel > * { opacity: 1; transform: none; }
.menu.is-open .menu__panel > :nth-child(2) { transition-delay: .03s; }
.menu.is-open .menu__panel > :nth-child(3) { transition-delay: .06s; }
.menu.is-open .menu__panel > :nth-child(n+4) { transition-delay: .09s; }
.menu__call { display: grid; gap: var(--space-2); }
.menu__call .btn { min-height: 56px; font-size: 18px; }
.menu__note { margin: var(--space-1) 0 0; color: var(--c-muted); font-size: 14px; text-align: center; text-wrap: balance; }
.menu__sec { margin-top: var(--space-6); }
.menu__h { margin: 0 0 var(--space-2); color: var(--c-muted); font-size: 15px; font-weight: 700; }
.menu__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); padding: 0; list-style: none; }
.menu__tiles a { display: flex; align-items: center; min-height: 52px; height: 100%; padding: var(--space-2) var(--space-3); border-radius: 12px; background: var(--c-bg); color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.25; }
.menu__list { padding: 0; list-style: none; border-top: 1px solid var(--c-border); }
.menu__list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 52px; border-bottom: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 500; font-size: 17px; }
.menu__tiles a:hover, .menu__msgr a:hover { background: var(--c-tint); }
.menu__list a:hover { color: var(--c-brand); }
.menu__panel:focus { outline: none; }
.menu__list a::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border: solid var(--c-hint); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.menu .menu__tiles a[aria-current="page"], .menu .menu__list a[aria-current="page"] { color: var(--c-brand); font-weight: 700; }
.menu__msgr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.menu__msgr a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu__foot { margin: var(--space-6) 0 0; color: var(--c-muted); font-size: 14px; }
.menu__foot a { color: inherit; }
html.is-menu-open { overflow: hidden; }
@media (min-width: 600px) { .menu__panel { transform: translateX(24px); box-shadow: 0 16px 48px -12px rgba(20, 34, 51, .45); } }
@media (min-width: 1000px) { .burger, .menu { display: none; } }
@media (max-width: 599px) { .header__row { gap: var(--space-3); } }
@media (prefers-reduced-motion: reduce) { .menu, .menu *, .burger__box i { transition: none !important; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: var(--space-8) 0 var(--space-12); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(#dce3ec 1px, transparent 1px), linear-gradient(90deg, #dce3ec 1px, transparent 1px); background-size: 44px 44px; }
.hero__grid { position: relative; display: grid; gap: var(--space-8); }
.hero__lead { font-size: 18px; color: var(--c-muted); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-6); }
.hero__facts { display: grid; gap: var(--space-3); list-style: none; padding: 0; max-width: 460px; }
.hero__facts li { display: flex; gap: var(--space-3); align-items: center; font-weight: 500; }
.hero__facts .ico { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--c-surface); color: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-border); }

/* ---------- Полоса фактов ---------- */
.strip { background: var(--c-brand-deep); color: #fff; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 18px var(--space-6); margin: 0 auto; max-width: var(--wrap); font-weight: 500; }
.strip li { display: inline-flex; align-items: center; gap: 10px; }
.strip .ico { color: var(--c-sky); }

/* ---------- Калькулятор по шагам ---------- */
.calc { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 24px; overflow: hidden; }
.calc__head { padding: 20px 24px 0; }
.calc__title { font-size: 25px; margin-bottom: 14px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 -4px var(--space-4); list-style: none; padding: 0; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15px; height: 3px; background: var(--c-border); border-radius: 2px; }
.steps::after { content: ""; position: absolute; left: 10%; top: 15px; height: 3px; border-radius: 2px; background: var(--c-signal); width: 80%; transform: scaleX(calc(var(--done, 0) / 4)); transform-origin: left center; transition: transform .25s ease; }
.steps button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; width: 100%; background: none; border: 0; padding: 0 4px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--c-hint); min-height: 44px; }
.steps button:disabled { cursor: default; }
.steps i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-surface); border: 2px solid var(--c-border); font-style: normal; font-weight: 700; font-size: 14px; }
.steps .is-done i { border-color: var(--c-brand); background: var(--c-brand); color: #fff; }
.steps .is-now i { border-color: var(--c-red); color: var(--c-call); }
.steps .is-now { color: var(--c-text); }
.pane { display: none; padding: 18px 24px 24px; gap: 14px; }
.pane.is-on { display: grid; }
.pane__title { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 0; padding: 0; }
.pane__sub { font-size: 14px; color: var(--c-muted); margin: -6px 0 0; }
.field { display: grid; gap: var(--space-2); margin: 0; }
/* legend у fieldset не участвует в сетке, gap на него не действует — отступ задаём явно */
fieldset.field > legend { margin-bottom: var(--space-2); }
.field > span, .field legend { font-size: 14px; color: var(--c-muted); font-weight: 500; padding: 0; }
.field input, .field select, .field textarea { font: 16px var(--font); padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-field); min-height: 50px; width: 100%; background: #fff; color: var(--c-text); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-hint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-brand); outline: 3px solid rgba(31, 92, 153, .18); outline-offset: 0; }
.field.is-invalid input { border-color: var(--c-error); }
.pts { display: grid; gap: 12px; position: relative; padding-left: 30px; }
/* Линия идёт от центра кольца «Откуда» к центру кольца «Куда»; кольца стоят по центру своих полей (поле 50 px, кольцо 22 px). */
.pts::before { content: ""; position: absolute; left: 9px; top: 52px; bottom: 25px; width: 4px; background: linear-gradient(180deg, var(--c-red), var(--c-sky)); }
.pts .field { position: relative; }
.pts .field::before { content: ""; position: absolute; left: -30px; bottom: 14px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--c-red); }
.pts .field:last-child::before { border-color: var(--c-sky); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-bg); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { position: relative; display: grid; }
.seg input, .chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; border: 0; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 9px; font-weight: 600; color: var(--c-muted); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--c-text); box-shadow: 0 1px 2px rgba(20, 34, 51, .12); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--c-sky); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; display: inline-flex; }
.chips span { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; border: 1px solid var(--c-border); border-radius: 999px; background: #fff; padding: 0 14px; font-size: 15px; cursor: pointer; }
.chips small { color: var(--c-muted); font-size: 13px; }
.chips input:checked + span { border-color: var(--c-brand); background: var(--c-tint); color: var(--c-brand-deep); font-weight: 600; }
.wheels { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: #fff; font-size: 22px; cursor: pointer; color: var(--c-brand); }
.stepper output { min-width: 44px; text-align: center; font-size: 18px; font-weight: 700; }
.tip { font-size: 14px; color: var(--c-muted); background: var(--c-bg); border-radius: 12px; padding: 10px 14px; margin: 0; }
.seg label { position: relative; }
.seg label:has(.seg__q) span { padding: 0 38px 0 8px; }
.seg__q { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; color: var(--c-muted); font: 700 14px var(--font); cursor: pointer; display: grid; place-items: center; }
.seg__q:hover { color: var(--c-brand); border-color: var(--c-brand); }
.seg__q:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 2px; }
/* Пояснение «что это» — по центру экрана поверх страницы */
.how-pop { width: min(420px, calc(100vw - 32px)); margin: auto; padding: var(--space-6); border: 0; border-radius: var(--radius-block); background: var(--c-surface); color: var(--c-text); box-shadow: 0 16px 48px -12px rgba(20, 34, 51, .45); font-size: 15px; line-height: 1.5; }
.how-pop::backdrop { background: rgba(20, 34, 51, .4); }
.how-pop p { margin: 0 0 var(--space-3); }
.how-pop ul { margin: 0 0 var(--space-3); padding-left: 18px; display: grid; gap: 4px; }
.how-pop__title { font-size: 20px; font-weight: 800; }
.how-pop__close { width: 100%; min-height: 44px; border: 0; border-radius: 12px; background: var(--c-brand); color: #fff; font: 700 15px var(--font); cursor: pointer; }
.sum { background: var(--c-brand-deep); color: #fff; border-radius: 18px; padding: 20px; display: grid; gap: 10px; }
.sum small { color: var(--c-on-dark-muted); font-size: 14px; }
.sum__total { font-size: 48px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; color: var(--c-on-dark-muted); border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 10px; margin: 0; }
.sum dd { color: #fff; text-align: right; margin: 0; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-muted); margin: 0; }
.note .ico { color: var(--c-ok); margin-top: 2px; }
.note.is-warn .ico { color: var(--c-brand); }
.navs { display: flex; gap: 10px; align-items: center; }
.navs .btn { flex: 1; }
.back { min-height: 52px; padding: 0 16px; border: 0; background: none; color: var(--c-muted); font-weight: 600; cursor: pointer; }
.alt { font-size: 14px; color: var(--c-muted); text-align: center; margin: 0; }
.alt a { font-weight: 600; }
.check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 14px; color: var(--c-muted); }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--c-brand); margin: 0; }
.trap { display: none !important; }
.done-box { display: grid; gap: 8px; justify-items: start; }
.done-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-ok-bg); color: var(--c-ok); }
.pay-box { display: grid; gap: 12px; background: var(--c-tint); border-radius: 18px; padding: 18px; }
.pay-box b { display: block; font-size: 18px; letter-spacing: -.015em; }
.pay-box p { font-size: 14px; color: var(--c-muted); margin: 0; }
.status { margin: 0; min-height: 1.5em; font-size: 14px; }
.status.is-error { color: var(--c-error); }

/* ---------- Карточки и блоки ---------- */
.cards { display: grid; gap: var(--space-4); }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-block); padding: var(--space-6); display: grid; gap: 10px; align-content: start; }
a.card { color: var(--c-text); text-decoration: none; transition: border-color .15s ease; }
a.card:hover { border-color: var(--c-brand); }
a.card b { color: var(--c-brand); }
.card h3 { margin: 0; }
.card h3 a { color: var(--c-text); text-decoration: none; }
.card h3 a:hover { color: var(--c-brand); }
.card p { margin: 0; color: var(--c-muted); }
.card ul { padding-left: 1.1em; color: var(--c-muted); }
.card__more { font-weight: 600; text-decoration: none; }
.svc__pic { margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) 0; height: 128px; background: linear-gradient(135deg, #e4eef8, #c9dbee); display: grid; place-items: center; border-radius: var(--radius-block) var(--radius-block) 0 0; overflow: hidden; }
.svc__pic svg { width: 72%; height: auto; }
.sit a { display: grid; gap: 6px; text-decoration: none; color: var(--c-text); }
.sit b { font-size: 18px; letter-spacing: -.01em; }
.sit span { font-size: 15px; color: var(--c-muted); }
.sit em { font-style: normal; font-weight: 600; color: var(--c-brand); font-size: 15px; }
.cta { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-4) var(--space-6); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 24px; padding: 22px 26px; }
.cta__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--c-signal); display: grid; place-items: center; color: #fff; }
.cta__dot .ico { width: 26px; height: 26px; }
.cta p { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.cta small { display: block; font-size: 15px; font-weight: 400; color: var(--c-muted); letter-spacing: 0; }
.cta__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; margin: 0 0 var(--space-4); }
.formula span { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 12px 16px; }
.formula em { font-style: normal; color: var(--c-muted); }
.ways b { font-size: 17px; }
.steps-list { list-style: none; padding: 0; counter-reset: s; }
.steps-list li { counter-increment: s; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-tint); color: var(--c-brand); font-weight: 700; }
.steps-list b { font-size: 17px; }
.tech-pic { border-radius: var(--radius-block); overflow: hidden; background: #24466c; position: relative; min-height: 240px; }
.tech-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tech-pic figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; background: rgba(20, 34, 51, .72); color: #fff; border-radius: 999px; padding: 3px 10px; }
.links-grid { list-style: none; padding: 0; display: grid; gap: var(--space-2) var(--space-6); }
.links-grid a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 500; }
.links-grid small { color: var(--c-hint); margin-left: 6px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; min-height: 56px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--c-brand); font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 0 18px; color: var(--c-muted); max-width: 72ch; margin: 0; }

/* ---------- Цены: чипы «от», таблицы карточками на телефоне, надбавки ---------- */
.chips--static { list-style: none; padding: 0; margin: 0; }
.chips--static li { padding: 8px 14px; border-radius: 999px; background: var(--c-tint); font-size: 15px; color: var(--c-muted); }
.chips--static b { color: var(--c-text); }
.prices.prices--cards { min-width: 0; border: 1px solid var(--c-border); border-radius: var(--radius-block); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.prices--cards th, .prices--cards td { padding: var(--space-3) var(--space-4); }
.prices--cards tbody tr:last-child td { border-bottom: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4); margin: 0; }
.kv dt { color: var(--c-muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 639px) {
  .prices--cards thead { display: none; }
  .prices--cards, .prices--cards tbody, .prices--cards tr, .prices--cards td { display: block; width: 100%; }
  .prices--cards tr { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--c-border); }
  .prices--cards tr:last-child { border-bottom: 0; }
  .prices.prices--cards td { display: flex; justify-content: space-between; gap: var(--space-4); padding: 2px 0; border: 0; }
  .prices.prices--cards td::before { content: attr(data-label); color: var(--c-muted); }
  .prices.prices--cards td:nth-child(1), .prices.prices--cards td:nth-child(2) { display: inline; }
  .prices.prices--cards td:nth-child(1) { font-weight: 600; }
  .prices.prices--cards td:nth-child(2)::before { content: " · "; }
  .prices.prices--cards td:nth-child(1)::before { content: none; }
  .prices.prices--cards td:nth-child(3) { margin-top: 4px; }
}

/* ---------- Формы заявок на внутренних страницах ---------- */
.lead { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-block); padding: var(--space-6); display: grid; gap: var(--space-4); }
.lead__title { font-size: 22px; margin: 0; }
.lead__status { margin: 0; min-height: 1.5em; }
/* В калькуляторе пустая строка статуса не занимает места: подпись «Диспетчер позвонит…» сразу под кнопкой (регион aria-live остаётся в DOM) */
.pane .lead__status { text-align: center; }
.pane .lead__status:empty { min-height: 0; margin-bottom: -14px; }
.lead__status.is-ok { color: var(--c-ok); font-weight: 700; }
.lead__status.is-error { color: var(--c-error); }

/* ---------- Внутренние страницы (до их вёрстки по схеме) ---------- */
.page { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.crumbs { font-size: 14px; color: var(--c-muted); margin-bottom: var(--space-4); }
.big { font-size: 24px; font-weight: 700; }
.table-wrap { overflow-x: auto; margin-bottom: var(--space-6); }
.prices { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--c-surface); }
.prices th, .prices td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--c-border); }
.prices th { background: var(--c-tint); }
.prose { max-width: 760px; }
.services { display: grid; gap: var(--space-4); margin: var(--space-8) auto; }
.facts { padding-left: 1.2em; margin: 0 0 var(--space-6); }
.facts li { margin-bottom: var(--space-2); }
.links { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.links a { display: inline-block; min-height: 44px; padding: var(--space-2) 0; }
.draft { background: #fff4e5; border: 1px solid #f0b46b; border-radius: var(--radius-field); padding: var(--space-3); }
.page .calc { margin: var(--space-8) 0; max-width: 560px; }

/* ---------- Подвал ---------- */
.footer { background: var(--c-brand-deep); color: var(--c-on-dark-muted); padding: var(--space-12) 0 var(--space-8); margin-top: var(--space-16); font-size: 14px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c-signal); }

/* ---------- Нижняя панель ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1.5fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--c-brand); }
.callbar a, .callbar button { display: grid; place-items: center; min-height: 56px; font: 700 17px var(--font); color: #fff; text-decoration: none; border: 0; background: var(--c-brand); cursor: pointer; }
.callbar a:first-child { background: var(--c-call); }
.msgr { position: fixed; left: 16px; right: 16px; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 7; background: var(--c-surface); border-radius: 18px; padding: var(--space-3); display: grid; gap: var(--space-2); box-shadow: 0 12px 32px -12px rgba(20, 34, 51, .4); }
.msgr a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-4); border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--c-text); background: var(--c-bg); }

@media (min-width: 640px) {
  .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: auto 1fr auto; }
  .cta__acts { grid-column: auto; }
}
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .callbar, .msgr { display: none; }
    .nav { display: flex; }
  .phone { margin-left: var(--space-4); font-size: 18px; }
  .logo img { height: 40px; }
  .hero { padding: var(--space-12) 0 var(--space-16); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--space-12); align-items: start; }
  .hero__copy { padding-top: 28px; }
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .links-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
}
@media (max-width: 999px) { .split > * + * { margin-top: var(--space-6); } }
@media (max-width: 599px) {
  .wrap { padding: 0 var(--space-4); }
  .logo__full { display: none !important; }
  .logo__mark { display: block !important; }
  .hero { padding: var(--space-6) 0 var(--space-8); }
  .hero__lead { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__facts { display: none; }
  .calc__head, .pane { padding-left: var(--space-4); padding-right: var(--space-4); }
  .steps button span { display: none; }
  .strip ul { padding: var(--space-4); }
  .cta { padding: 20px 18px; }
  .cta__acts .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==============================================================   Опора для блоков (правка владельца 09.11.2026: «текст висит в воздухе»).
   Ритм полос: светлый фон → белая полоса → тёмная полоса; у каждой секции заголовок
   стоит вместе с пояснением, содержимое — в карточках с иконками и плитках.
   ===================================================================== */
.sec { padding: var(--space-12) 0; }
.sec + .sec { padding-top: var(--space-12); }
.band { background: var(--c-surface); }
.band .card, .band .lead, .band .faq details { background: var(--c-bg); border-color: var(--c-bg); }
.band--deep { background: var(--c-brand-deep); color: #fff; border: 0; }
.band--deep h2, .band--deep h3, .band--deep b { color: #fff; }
.band--deep .sec__head p, .band--deep p { color: var(--c-on-dark-muted); }

.sec__head { display: grid; gap: var(--space-2) var(--space-12); margin-bottom: var(--space-6); }
.sec__head h2 { margin: 0; }
.sec__head p { margin: 0; color: var(--c-muted); max-width: 56ch; font-size: 17px; }
/* Подпись — под заголовком слева на всех экранах (решение владельца 06.11.2026) */

/* карточки с иконкой */
.card__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-tint); color: var(--c-brand); margin-bottom: 6px; }
.card__ico .ico { width: 24px; height: 24px; }
.band .card__ico { background: var(--c-surface); }
.card b { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.card { padding: var(--space-6); border-radius: 20px; }
a.card { position: relative; }
a.card .card__go { margin-top: auto; padding-top: var(--space-2); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-brand); font-size: 15px; }
a.card .card__go .ico { width: 18px; height: 18px; transition: transform .15s ease; }
a.card:hover .card__go .ico { transform: translateX(3px); }

/* плитки ссылок вместо голых списков */
.links-grid { gap: var(--space-3); }
.links-grid a { display: flex; align-items: center; gap: var(--space-3); min-height: 60px; padding: 12px 16px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; color: var(--c-text); font-weight: 600; line-height: 1.3; transition: border-color .15s ease; }
.band .links-grid a { background: var(--c-bg); border-color: var(--c-bg); }
.links-grid a:hover { border-color: var(--c-brand); }
.links-grid a > span { flex: 1; }
.links-grid small { margin: 0; flex: none; color: var(--c-muted); font-weight: 500; font-size: 13px; background: var(--c-tint); border-radius: 999px; padding: 2px 10px; }
.links-grid a::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--c-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* списки-галочки */
.tech-list { list-style: none; padding: var(--space-6); display: grid; gap: var(--space-3); }
.tech-list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); align-items: start; color: var(--c-text); }
.tech-list li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5c99' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* шаги на линии маршрута (тёмная полоса) */
.route-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-6); counter-reset: r; position: relative; }
.route-steps li { counter-increment: r; position: relative; display: grid; gap: 6px; align-content: start; }
.route-steps li::before { content: counter(r); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-brand-deep); border: 3px solid var(--c-sky); color: #fff; font-weight: 700; margin-bottom: var(--space-3); position: relative; z-index: 1; }
.route-steps li:first-child::before { border-color: var(--c-red); }
.route-steps b { font-size: 18px; }
.route-steps p { margin: 0; font-size: 15px; }
@media (min-width: 1000px) {
  .route-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .route-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 2px; background: var(--c-signal); }
}
@media (max-width: 999px) {
  .route-steps { padding-left: 0; }
  .route-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; background: var(--c-signal); }
  .route-steps li { grid-template-columns: 44px 1fr; column-gap: var(--space-4); }
  .route-steps li::before { grid-row: span 2; margin: 0; }
}

/* формула цены — одна сцена, а не три кнопки в воздухе */
.price-eq { display: grid; gap: var(--space-3); align-items: stretch; }
.price-eq__part { display: grid; gap: 6px; align-content: start; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px; padding: var(--space-6); }
.band .price-eq__part { background: var(--c-bg); border-color: var(--c-bg); }
.price-eq__part b { font-size: 20px; }
.price-eq__part p { margin: 0; color: var(--c-muted); font-size: 15px; }
.price-eq__op { display: grid; place-items: center; font-size: 28px; font-weight: 700; color: var(--c-brand); }
.price-eq__sum { background: var(--c-brand-deep); color: #fff; border-color: var(--c-brand-deep); }
.price-eq__sum b { color: #fff; }
.price-eq__sum p { color: var(--c-on-dark-muted); }
@media (min-width: 1000px) { .price-eq { grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1.2fr; } }
@media (max-width: 999px) { .price-eq__op { height: 24px; font-size: 22px; } }

/* полоса призыва — плотная тёмная плашка */
.cta { background: var(--c-brand-deep); border: 0; color: #fff; padding: var(--space-6) var(--space-8); }
.cta p { color: #fff; }
.cta small { color: var(--c-on-dark-muted); }
.cta .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* фото техники рядом со списком — одинаковая высота */
.split--media { align-items: stretch; }
.split--media .tech-pic { min-height: 320px; height: 100%; margin: 0; }
.split--media .tech-list { margin: 0; align-content: center; gap: var(--space-4); padding: var(--space-8); }

.sec--tight { padding: var(--space-6) 0; }
.sec--tight.band { padding: var(--space-6) 0; }
.mt-8 { margin-top: var(--space-8); }
.footer { margin-top: 0; }
.band .price-eq__sum { background: var(--c-brand-deep); border-color: var(--c-brand-deep); }
.links-grid a > span { min-width: 0; }
.links-grid small { max-width: 48%; text-align: center; line-height: 1.3; }
/* Телефон: карточки с иконкой — строкой (иконка слева), без «Как поможем» — вся карточка и так ссылка */
@media (max-width: 599px) {
  .cards--3 > a.card:has(.card__ico), .cards--4 > .card:has(.card__ico) { grid-template-columns: 48px 1fr; column-gap: var(--space-4); row-gap: 2px; padding: var(--space-4); }
  .cards--3 > a.card:has(.card__ico) .card__ico, .cards--4 > .card:has(.card__ico) .card__ico { grid-row: span 2; margin: 0; }
  .cards--3 > a.card:has(.card__ico) .card__go { display: none; }
  .svc__pic { height: 104px; }
}
=======
.draft { background: #fff4e5; border: 1px solid var(--c-accent); border-radius: 8px; padding: var(--space-3); }

.lead__note { font-size: 14px; color: var(--c-muted); margin: var(--space-3) 0 0; }

/* Согласие на cookie: над панелью «Позвонить» на телефоне, внизу экрана на компьютере */
.cookies { position: fixed; left: var(--space-3); right: var(--space-3); bottom: calc(56px + env(safe-area-inset-bottom) + var(--space-2)); z-index: 7;
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--c-bg); color: inherit; border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12); max-width: 760px; margin: 0 auto; }
.cookies[hidden] { display: none; }
.cookies__text { margin: 0; font-size: 12px; line-height: 1.4; flex: 1 1 auto; text-wrap: pretty; }
.cookies__actions { flex: 0 0 auto; }
.cookies__actions .btn { width: auto; min-height: 44px; padding: 0 var(--space-4); }
@media (min-width: 1000px) { .cookies { bottom: var(--space-4); } .cookies__text { font-size: 13px; } }

/* ---------- Подвал: телефон и мессенджеры сверху, три колонки ссылок, реквизиты внизу ---------- */
.footer { padding: var(--space-12) 0 var(--space-8); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__top { display: grid; gap: var(--space-4); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__logo img { display: block; height: 40px; width: auto; }
.footer__call { display: grid; gap: 4px; }
.footer__phone { font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.footer__msgr { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer__msgr a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; }
.footer__msgr a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); padding: var(--space-8) 0; }
.footer__h { margin: 0 0 var(--space-3); color: #fff; font-weight: 700; font-size: 15px; }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer__cols li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--c-on-dark-muted); }
.footer__cols li a:hover { color: #fff; }
.footer__legal { display: grid; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.footer__legal p { margin: 0; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.footer__links a { color: var(--c-on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer a.footer__dev { display: inline-flex; align-items: center; gap: var(--space-2); justify-self: start; min-height: 44px; color: var(--c-on-dark-muted); font-size: 13px; transition: color .15s ease-out; }
.footer a.footer__dev:hover, .footer a.footer__dev:focus-visible { color: #fff; text-decoration: none; }
.footer__dev svg { display: block; width: 30px; height: 15px; flex: none; }
@media (min-width: 1000px) {
  .footer__legal { grid-template-columns: 1fr auto; column-gap: var(--space-8); }
  .footer__legal > :not(.footer__dev) { grid-column: 1; }
  .footer a.footer__dev { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end; }
}
@media (min-width: 1000px) {
  .footer__top { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-12); }
  .footer__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- Отзывы: слева тёмная панель с кнопками, справа место под виджет Карт ---------- */
.reviews { display: grid; border-radius: 24px; overflow: hidden; background: var(--c-surface); box-shadow: 0 1px 0 var(--c-border), 0 12px 32px -20px rgba(20, 34, 51, .35); }
.reviews__side { position: relative; background: var(--c-brand-deep); color: var(--c-on-dark-muted); padding: var(--space-8) var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.reviews__side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c-signal); }
.reviews__side p { margin: 0; }
.reviews__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; }
.reviews__ico .ico { width: 24px; height: 24px; }
.reviews__title { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.reviews__acts { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.reviews__acts .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.reviews__frame { min-height: 0; display: grid; padding: var(--space-4); background: var(--c-tint); }
.reviews__frame.is-loaded { padding: 0; background: var(--c-surface); }
.reviews__frame iframe { width: 100%; height: 560px; border: 0; display: block; }
.reviews__load { display: grid; place-items: center; align-content: center; gap: var(--space-2); width: 100%; min-height: 200px; border: 2px dashed rgba(31, 92, 153, .3); border-radius: 18px; background: transparent; font: inherit; color: var(--c-text); cursor: pointer; text-align: center; padding: var(--space-6); }
.reviews__load:hover { border-color: var(--c-brand); background: rgba(255, 255, 255, .5); }
.reviews__load:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.reviews__load b { font-size: 18px; color: var(--c-brand); }
.reviews__load small { color: var(--c-muted); }
.reviews__load-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-surface); color: var(--c-brand); }
@media (min-width: 1000px) {
  .reviews { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .reviews__side { padding: var(--space-12) var(--space-8); }
  .reviews__frame { min-height: 420px; padding: var(--space-6); }
  .reviews__load { min-height: 100%; }
}

/* ---------- «Ещё возим»: остальные услуги полосой под карточками ---------- */
a.card:has(.card__go) { display: flex; flex-direction: column; }
.svc-more { margin-top: var(--space-4); display: grid; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-radius: 20px; background: var(--c-tint); align-items: center; }
.svc-more__title { margin: 0; font-weight: 700; color: var(--c-brand-deep); }
.svc-more__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.svc-more__list a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; background: var(--c-surface); color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--c-border); transition: box-shadow .15s ease, color .15s ease; }
.svc-more__list a .ico { color: var(--c-brand); width: 18px; height: 18px; }
.svc-more__list a:hover { color: var(--c-brand); box-shadow: inset 0 0 0 2px var(--c-brand); }
.svc-more__all { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); white-space: nowrap; }
.svc-more__all .ico { width: 18px; height: 18px; }
@media (min-width: 1000px) {
  .svc-more { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3) var(--space-6); padding: var(--space-6); }
  .svc-more__all { grid-column: 2; grid-row: 1 / span 2; }
}
.svc-more__all:hover { background: var(--c-surface); box-shadow: inset 0 0 0 2px var(--c-brand); }

/* ---------- Полировка: плитки одной высоты в ряду, сетка городов по 5, плотнее секции на телефоне ---------- */
.links-grid > li { display: grid; }
.links-grid a { height: 100%; min-height: 64px; }
@media (min-width: 1000px) { .links-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .sec { padding: var(--space-8) 0; }
  .sec + .sec { padding-top: var(--space-8); }
  .sec__head { margin-bottom: var(--space-4); }
  .split--media .tech-list { padding: var(--space-6); }
  .cta { padding: var(--space-6) var(--space-4); }
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* Полоса призыва сразу после секции того же фона — без двойного отступа */
.sec:not(.band) + .sec--tight:not(.band), .band + .sec--tight.band { padding-top: 0; }
.kv.mt-4 { margin-top: var(--space-4); }

/* ---------- Страницы мест: линии метро, справка о месте, ориентиры цены ---------- */
.metro-lines { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: var(--space-3); }
.metro-line { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) var(--space-6); border-radius: 20px; background: var(--c-bg); }
.metro-line__dot { width: 40px; height: 40px; font: 700 14px var(--font); }
.metro-line b { font-size: 17px; }
.metro-line p { margin: 2px 0 0; color: var(--c-muted); }
.place-grid { display: grid; gap: var(--space-4); }
.place-kv { padding: var(--space-6); gap: var(--space-3) var(--space-6); grid-template-columns: max-content 1fr; }
.place-kv dt { color: var(--c-muted); }
.place-kv dd { text-align: right; white-space: normal; }
.place-prices { padding: var(--space-6); }
.place-prices ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.place-prices li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; border-bottom: 1px solid var(--c-border); }
.place-prices li:last-child { border-bottom: 0; }
.place-prices p { margin: 0; font-size: 14px; }
@media (min-width: 1000px) {
  .metro-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .place-grid > :only-child { grid-column: 1 / -1; }
}

/* ---------- Хаб мест: поиск, группы, ориентиры цены ---------- */
.place-search { max-width: 480px; margin-bottom: var(--space-6); }
.place-group + .place-group { margin-top: var(--space-6); }
.place-group__title { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); font-size: 18px; }
.place-group__title small { color: var(--c-muted); font-weight: 500; font-size: 14px; }
.place-group__dot { width: 12px; height: 12px; flex: none; }
.links-grid--dense a { min-height: 52px; padding: 8px 16px; font-weight: 500; }
.links-grid [hidden], .place-group[hidden] { display: none; }
.hub-price { display: grid; gap: var(--space-2); }
.hub-price span { color: var(--c-muted); }
.hub-price b { font-size: 28px; color: var(--c-brand-deep); }
.links-grid--sub a > span small { display: block; max-width: none; margin-top: 2px; padding: 0; background: none; text-align: left; font-size: 14px; color: var(--c-muted); font-weight: 500; }
@media (max-width: 599px) {
  .place-kv { grid-template-columns: 1fr; gap: 2px; }
  .place-kv dd { text-align: left; margin-bottom: var(--space-3); }
  .place-kv dd:last-child { margin-bottom: 0; }
  .place-kv dt:empty { display: none; }
}
.place-group.is-collapsible:not(.is-open):not(.is-searching) [data-place-more] { display: none; }
.place-group.is-searching .place-group__more { display: none; }
.place-group__more { margin-top: var(--space-3); min-height: 44px; }
.is-groups-collapsible:not(.is-groups-open):not(.is-searching) [data-group-more] { display: none; }
.is-searching .place-groups__more { display: none; }
.place-groups__more { margin-top: var(--space-6); width: 100%; }

/* ---------- Контакты ---------- */
.contact-phones { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.contact-phone { display: grid; gap: 2px; padding: var(--space-4) var(--space-6); border-radius: 20px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-border); color: var(--c-text); text-decoration: none; }
.contact-phone span { color: var(--c-muted); font-size: 14px; }
.contact-phone b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.contact-phone:hover { box-shadow: inset 0 0 0 2px var(--c-brand); }
.contact-msgr { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.contact-msgr a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 600; }
.contact-msgr a .ico { color: var(--c-brand); width: 18px; height: 18px; }
.contact-msgr a:hover { box-shadow: inset 0 0 0 2px var(--c-brand); }
.office .reviews__title { font-size: 22px; }
.requisites { display: grid; gap: var(--space-4); padding: var(--space-6); }
.requisites .place-kv { padding: 0; }
.requisites .btn { justify-self: start; }
.review-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); }
.review-link > span:nth-child(2) { display: grid; gap: 2px; }
.review-link > .ico { color: var(--c-brand); }
@media (min-width: 1000px) { .contact-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Онлайн-оплата ---------- */
.pay-trust { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.pay-trust li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); align-items: start; }
.pay-trust .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--c-surface); color: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-border); }
.pay-trust span { display: block; color: var(--c-muted); }
.pay-trust b { display: block; color: var(--c-text); }
.pay-state { display: grid; gap: var(--space-3); }
.pay-state .btn { justify-self: start; }
.pay-fail { margin-bottom: var(--space-3); }

/* ---------- Хаб «Московская область» (docs/site-blocks/HUB-MO.md) ---------- */
.mo-pop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.mo-pop a { display: grid; gap: 4px; height: 100%; padding: var(--space-4); border-radius: 20px; background: var(--c-bg); color: var(--c-text); text-decoration: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s ease; }
.mo-pop a:hover { box-shadow: inset 0 0 0 2px var(--c-brand); }
.mo-pop b { font-size: 19px; color: var(--c-brand-deep); }
.mo-pop__km { color: var(--c-muted); font-size: 14px; }
.mo-pop__price { font-weight: 700; font-size: 18px; margin-top: var(--space-2); }
.mo-pop small { color: var(--c-muted); font-size: 13px; }
@media (min-width: 1000px) { .mo-pop { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mo-pop a { padding: var(--space-6); } }


.mo-dirs { display: grid; gap: var(--space-4); }
.mo-dir { padding: var(--space-4) var(--space-6) var(--space-6); border-radius: 20px; background: var(--c-bg); }
.place-group + .place-group.mo-dir { margin-top: 0; }
.mo-dir__title { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-2) 0 var(--space-3); font-size: 18px; }
.mo-dir__title small { color: var(--c-muted); font-weight: 500; font-size: 14px; margin-left: auto; }
.mo-dir__arrow { width: 24px; height: 24px; flex: none; fill: var(--c-call); }
.mo-dir__list { list-style: none; padding: 0; margin: 0; display: grid; }
.mo-dir__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-3); align-items: center; min-height: 44px; padding: var(--space-2) 0; border-bottom: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; }
.mo-dir__list li:last-child a { border-bottom: 0; }
.mo-dir__list a:hover span { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
.mo-dir__list span { font-weight: 600; }
.mo-dir__list small { color: var(--c-muted); font-size: 14px; }
.mo-dir__list b { font-size: 15px; min-width: 88px; text-align: right; }
.mo-dir .place-group__more { width: 100%; margin-top: var(--space-3); }
.mo-dir.is-collapsible:not(.is-open):not(.is-searching) [data-place-more] { display: none; }
@media (min-width: 1000px) { .mo-dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

.mo-scale { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.mo-scale::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 4px; border-radius: 2px; background: var(--c-signal); }
.mo-scale li { position: relative; display: grid; justify-items: center; gap: var(--space-2); text-align: center; }
.mo-scale span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 var(--space-2); border-radius: 999px; background: var(--c-surface); box-shadow: inset 0 0 0 2px var(--c-sky); font-weight: 700; font-size: 14px; position: relative; }
.mo-scale b { font-size: 20px; color: var(--c-brand-deep); }
@media (max-width: 599px) {
  .mo-scale { grid-template-columns: 1fr; gap: var(--space-3); }
  .mo-scale::before { display: none; }
  .mo-scale li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; }
  .mo-dir__list a { grid-template-columns: minmax(0, 1fr) auto; }
  .mo-dir__list small { grid-column: 1; grid-row: 2; margin-top: -6px; }
  .mo-dir__list b { grid-column: 2; grid-row: 1 / span 2; }
}

.mo-shosse { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mo-shosse > div { padding: var(--space-4) var(--space-6); border-radius: 20px; background: var(--c-bg); }
.mo-shosse h3 { margin: 0 0 var(--space-2); font-size: 16px; color: var(--c-brand-deep); }
.mo-shosse ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mo-shosse a { display: inline-flex; min-height: 32px; align-items: center; color: var(--c-text); }
@media (min-width: 1000px) { .mo-shosse { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Город области: схема «город и Москва», маршруты ---------- */
.city-intro { display: grid; gap: var(--space-6); }
.city-facts { display: grid; gap: var(--space-3); align-content: start; }
.city-facts__roads { margin: 0; }
.city-facts__roads a { color: var(--c-brand); }
.city-routes tr.is-moscow, .city-routes tr.is-moscow td { background: var(--c-tint); font-weight: 700; }
@media (min-width: 1000px) { .city-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }

/* Карточка маршрута на странице города (вместо схемы) */
.city-route { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: 24px; background: var(--c-brand-deep); color: #fff; }
.city-route__ends { display: flex; justify-content: space-between; gap: var(--space-4); }
.city-route__pt { display: grid; gap: 2px; }
.city-route__pt--to { text-align: right; }
.city-route__pt small { color: var(--c-on-dark-muted); font-size: 13px; }
.city-route__pt b { font-size: 22px; font-weight: 800; }
.city-route__line { position: relative; height: 16px; }
.city-route__line i { position: absolute; left: 8px; right: 8px; top: 6px; height: 4px; border-radius: 2px; background: var(--c-signal); }
.city-route__line::before, .city-route__line::after { content: ""; position: absolute; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--c-brand-deep); box-sizing: border-box; }
.city-route__line::before { left: 0; border: 4px solid var(--c-red); }
.city-route__line::after { right: 0; border: 4px solid var(--c-sky); }
.city-route__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); padding-top: var(--space-2); }
.city-route__nums span { display: grid; gap: 2px; }
.city-route__nums b { font-size: 20px; }
.city-route__nums small { color: var(--c-on-dark-muted); font-size: 13px; line-height: 1.3; }
@media (max-width: 599px) { .city-route__nums { grid-template-columns: 1fr 1fr; } .city-route__pt b { font-size: 18px; } }

/* ---------- Инфостраницы: вопросы, организациям, калькулятор, оплата, о компании ---------- */
.hero--short { padding-bottom: var(--space-8); }
.faq-top { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.faq-top .place-search { margin: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); align-content: end; }
.faq-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; background: var(--c-bg); color: var(--c-text); text-decoration: none; font-weight: 600; }
.faq-nav a:hover { box-shadow: inset 0 0 0 2px var(--c-brand); }
.faq-nav small { color: var(--c-muted); font-weight: 500; }
.faq-sec { scroll-margin-top: 88px; }
.faq-sec + .faq-sec, .faq-cta + .faq-sec { margin-top: var(--space-8); }
.faq-sec__title { font-size: 24px; margin: 0 0 var(--space-4); }
.faq-sec[hidden], [data-faq-item][hidden] { display: none; }
.faq__a { color: var(--c-muted); }
.faq-cta { margin-top: var(--space-8); }
@media (min-width: 1000px) { .faq-top { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: end; } }

.info-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); counter-reset: s; }
.info-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) var(--space-6); border-radius: 20px; background: var(--c-bg); }
.info-steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-brand-deep); color: #fff; font-weight: 700; }
.info-steps b { display: block; font-size: 17px; }
.info-steps p { margin: 4px 0 0; color: var(--c-muted); }
@media (min-width: 1000px) { .info-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.calc-wide { max-width: 760px; margin: 0 auto; }

/* ---------- «Полезно»: статьи ---------- */
.article__wrap { max-width: 860px; }
.article__meta { color: var(--c-muted); font-size: 14px; margin: var(--space-4) 0 0; }
.article__grid { display: grid; gap: var(--space-6); }
.article__toc { padding: var(--space-4) var(--space-6); border-radius: 20px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-border); align-self: start; }
.article__toc ol { margin: var(--space-2) 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.article__toc a { color: var(--c-text); }
.article__toc a:hover { color: var(--c-brand); }
.article__body { max-width: 72ch; }
.article__sec { scroll-margin-top: 88px; }
.article__sec + .article__sec, .article__cta + .article__sec { margin-top: var(--space-8); }
.article__body h2 { font-size: 26px; margin: 0 0 var(--space-3); }
.article__body p, .article__body li { line-height: 1.7; }
.article__body ol, .article__body ul { padding-left: 1.3em; display: grid; gap: var(--space-2); }
.article__body table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; font-size: 15px; }
.article__body th, .article__body td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--c-border); vertical-align: top; }
.article__body th { background: var(--c-tint); font-weight: 700; }

.article__cta { margin-top: var(--space-8); display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: 24px; background: var(--c-brand-deep); color: var(--c-on-dark-muted); }
.article__cta b { color: #fff; font-size: 20px; }
.article__cta p { margin: 4px 0 0; }
.article__cta a:not(.btn) { color: #fff; }
.article__cta-acts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.article__cta .btn--ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
@media (min-width: 1000px) {
  .article__grid { grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-12); }
  .article__toc { position: sticky; top: 96px; }
  .article__cta { grid-template-columns: 1fr auto; align-items: center; }
}
.articles { display: grid; gap: var(--space-4); }
.article-card { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); border-radius: 20px; background: var(--c-bg); color: var(--c-text); text-decoration: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s ease; }
.article-card:hover { box-shadow: inset 0 0 0 2px var(--c-brand); }
.article-card b { font-size: 20px; color: var(--c-brand-deep); line-height: 1.3; }
.article-card p { margin: 0; color: var(--c-muted); }
.article-card__meta { font-size: 13px; color: var(--c-muted); }
.article-card .card__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-brand); margin-top: var(--space-2); }
.article-card .card__go .ico { width: 18px; height: 18px; }
@media (min-width: 640px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Сетка фона первого экрана — под содержимым: позиционированный ::before иначе рисуется поверх кнопок */
.hero > .wrap { position: relative; }
.article__body a:not(.btn) { color: var(--c-brand); }
.article__body .article__cta a:not(.btn) { color: #fff; }

/* ---------- «Все направления» ---------- */
.dir-cards { display: grid; gap: var(--space-4); }
.dir-card { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); border-radius: 20px; background: var(--c-bg); }
.dir-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); color: var(--c-brand-deep); text-decoration: none; }
.dir-card__head b { font-size: 20px; }
.dir-card__head small { color: var(--c-muted); font-weight: 500; }
.dir-card__head:hover b { color: var(--c-brand); }
.dir-card ul { list-style: none; padding: 0; margin: 0; display: grid; }
.dir-card li a { display: flex; align-items: center; min-height: 36px; color: var(--c-text); border-bottom: 1px solid var(--c-border); text-decoration: none; }
.dir-card li a:hover { color: var(--c-brand); }
.dir-card__all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-brand); text-decoration: none; }
.dir-card__all .ico { width: 18px; height: 18px; }
@media (min-width: 640px) { .dir-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .dir-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.legal h2 { font-size: 22px; margin: var(--space-8) 0 var(--space-3); scroll-margin-top: 88px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: var(--space-6) 0 var(--space-2); }

/* ---------- Вакансии ---------- */
.seg--vacancy { border: 0; padding: 0; margin: 0 0 var(--space-3); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.seg--vacancy legend { font-size: 14px; font-weight: 600; margin-bottom: var(--space-2); padding: 0; }
.seg--vacancy label { position: relative; }
.seg--vacancy input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg--vacancy span { display: grid; place-items: center; min-height: 44px; padding: 0 var(--space-2); border-radius: 12px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-border); font-weight: 600; font-size: 14px; text-align: center; cursor: pointer; }
.seg--vacancy input:checked + span { background: var(--c-brand); color: #fff; box-shadow: none; }
.seg--vacancy input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.lead__row--one { grid-template-columns: 1fr; }
.vac-card { display: grid; gap: var(--space-3); align-content: start; }
.vac-card h3 { margin: 0; font-size: 20px; }
.vac-card .tech-list { padding: 0; }
.vac-card__note { color: var(--c-muted); font-size: 14px; margin: 0; }

/* ---------- Аудит Web Interface Guidelines 06.11.2026: цели нажатия на телефоне ≥ 44 px, касания, движение ---------- */
html { -webkit-tap-highlight-color: rgba(31, 92, 153, .15); }
a, button, summary, label, input, select, textarea { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 999px) {
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__cols li a, .footer__links a, .footer__cols a[href^="tel"], .footer__cols a[href^="mailto"] { min-height: 44px; display: inline-flex; align-items: center; }
  .dir-card li a { min-height: 44px; }
  .article__toc a { display: inline-flex; align-items: center; min-height: 44px; }
  .svc-card h3 a, .card__more { display: inline-flex; align-items: center; min-height: 44px; }
  .dir-card__head, .dir-card__all, .footer__logo, .footer__phone { min-height: 44px; display: inline-flex; align-items: center; }
  .dir-card__head { display: flex; }
}

/* ---------- Фото техники ---------- */
.svc__pic { height: 160px; }
.svc__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc__ico .ico { width: 56px; height: 56px; color: var(--c-brand); stroke-width: 1.5; }
.tech-pic--photo { background: var(--c-bg); min-height: 0; }
.tech-pic--photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.split--media .tech-pic--photo { min-height: 340px; }
.service-photo { margin: 0; border-radius: var(--radius-block); overflow: hidden; }
.service-photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
@media (max-width: 599px) { .svc__pic { height: 180px; } .split--media .tech-pic--photo { min-height: 240px; } }
img.photo--tall, .svc__pic img.photo--tall, .tech-pic--photo img.photo--tall { object-position: 50% 85%; }
.svc__pic { position: relative; } .svc__pic img { position: absolute; inset: 0; }
/* Фото без обрезки машины: блок «Техника» — в пропорциях снимка; карточки услуг — 4:3 (владелец, 06.11.2026: «кадры исправь») */
.tech-pic--photo, .split--media .tech-pic--photo { min-height: 0; height: auto; align-self: center; }
.tech-pic--photo img { position: static; width: 100%; height: auto; }
.svc__pic:has(img) { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 599px) { .split--media .tech-pic--photo { min-height: 0; } .svc__pic:has(img) { height: auto; } }

/* ---------- Сжатый блок «Подробнее о сервисе» на страницах мест ---------- */
.compact { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact a { display: flex; gap: var(--space-3); align-items: center; min-height: 64px; height: 100%; padding: var(--space-3) var(--space-4); border-radius: 16px; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-border); color: var(--c-text); text-decoration: none; }
.band .compact a { background: var(--c-bg); box-shadow: none; }
.compact a:hover { box-shadow: inset 0 0 0 2px var(--c-brand); }
.compact .ico { color: var(--c-brand); width: 24px; height: 24px; flex: none; }
.compact span { display: grid; gap: 2px; min-width: 0; }
.compact small { color: var(--c-muted); font-size: 13px; }
@media (min-width: 1000px) { .compact { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 599px) { .compact { grid-template-columns: 1fr; } }
h2.h3 { font-size: 20px; margin: 0; }
/* Услуги на страницах мест — панель, как «Ещё возим» на главной */
.svc-more--place { grid-template-columns: 1fr; }
.svc-more--place .svc-more__title { font-size: 18px; margin: 0; }
@media (min-width: 1000px) { .svc-more--place { grid-template-columns: 1fr; padding: var(--space-6); } }
/* Длинный список ориентиров (трассы) — в две колонки, без пустоты рядом со справкой */
@media (min-width: 1000px) {
  .place-grid:has(.place-prices li:nth-child(7)) { grid-template-columns: 1fr; }
  .place-prices:has(li:nth-child(7)) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); }
}

/* Левая колонка блока «Заказать»: звонок, мессенджеры и что будет после заявки */
.order-aside { display: grid; gap: var(--space-6); align-content: start; }
.order-aside > p { margin: calc(-1 * var(--space-4)) 0 0; }
.order-aside__call { display: grid; gap: var(--space-1); padding: var(--space-6); border-radius: var(--radius-block); background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-border); }
.order-aside__label { font-size: 14px; font-weight: 600; color: var(--c-muted); }
.order-aside__phone { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--c-text); text-decoration: none; font-variant-numeric: tabular-nums; }
.order-aside__phone .ico { width: 28px; height: 28px; color: var(--c-call); }
.order-aside__phone:hover { color: var(--c-brand); }
.order-aside__call .contact-msgr { margin-top: var(--space-3); }
.order-aside__steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.order-aside__steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); }
.order-aside__steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-tint); color: var(--c-brand); font-weight: 700; }
.order-aside__steps b { line-height: 32px; }
.order-aside__steps span { color: var(--c-muted); text-wrap: pretty; }

/* Галерея фото на странице услуги: плитки одной высоты, вертикальное фото обрезается по центру */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
.gallery__item { margin: 0; display: grid; gap: var(--space-2); }
.gallery__item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-block); display: block; }
.gallery__item img.photo--tall { object-position: 50% 60%; }
.gallery__item figcaption { font-size: 14px; color: var(--c-muted); }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Калькулятор отдельной страницы /kalkulyator/ (макет 2, calc-page-mockup-v2.html) ---------- */
/* Сцена: фон-карта во всю ширину, на ней билет маршрута. Без ключа Яндекс Карт — нейтральный рисунок улиц. */
.cstage { position: relative; background: #e7edf3; overflow: hidden; }
.cstage__map { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, transparent 47%, #fff 47.4%, #fff 48.6%, transparent 49%),
    linear-gradient(8deg, transparent 58%, #fff 58.3%, #fff 59.4%, transparent 59.7%),
    linear-gradient(172deg, transparent 30%, #fff 30.3%, #fff 31.2%, transparent 31.5%),
    radial-gradient(circle at 62% 22%, #dde8d6 0, #dde8d6 90px, transparent 91px),
    radial-gradient(circle at 40% 92%, #dde8d6 0, #dde8d6 64px, transparent 65px),
    repeating-linear-gradient(90deg, transparent 0 139px, #d9e2eb 139px 143px),
    repeating-linear-gradient(0deg, transparent 0 119px, #d9e2eb 119px 123px); }
.cstage__in { position: relative; display: grid; gap: var(--space-4); padding-top: var(--space-6); padding-bottom: var(--space-8); }
.cstage__in .crumbs { margin: 0; }
.cstage h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.cticket { width: min(480px, 100%); margin: 0; border: 0; background: var(--c-surface); border-radius: var(--radius-block); padding: var(--space-6) var(--space-6) var(--space-4); display: grid; gap: var(--space-3); box-shadow: 0 24px 56px -28px rgba(20, 34, 51, .55); }
.cticket__foot { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; justify-content: space-between; padding-left: 30px; }
.cticket__km { display: grid; grid-template-columns: auto 88px auto; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--c-muted); }
.cticket__km input { font: 700 17px var(--font); border: 1px solid var(--c-border); border-radius: var(--radius-field); padding: 10px 12px; min-height: 48px; width: 100%; text-align: center; color: var(--c-text); }
.cticket__km input:focus { border-color: var(--c-brand); outline: 3px solid rgba(31, 92, 153, .18); }
.cticket__km b { color: var(--c-text); }
.cticket__when { border: 0; margin: 0; padding: 0; }
.cticket__when .seg { min-width: 220px; }
.cticket__hint { margin: 0; padding-left: 30px; font-size: 13px; color: var(--c-hint); }

/* Рабочая часть: параметры слева, чек справа */
.cdesk { display: grid; gap: var(--space-6); padding-top: var(--space-6); padding-bottom: var(--space-12); }
.cdesk__main { display: grid; gap: var(--space-6); align-content: start; }
.cblock { background: var(--c-surface); border-radius: var(--radius-block); padding: var(--space-6); display: grid; gap: var(--space-4); box-shadow: 0 1px 0 var(--c-border); }
.cblock h2 { font-size: 20px; letter-spacing: -.02em; margin: 0; }
.cmodes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.cmode { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 2px var(--space-3); align-items: center; padding: var(--space-4) 44px var(--space-4) var(--space-4); border: 1px solid var(--c-border); border-radius: 16px; cursor: pointer; }
.cmode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cmode:has(input:checked) { border-color: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand); background: var(--c-tint); }
.cmode:has(input:focus-visible) { outline: 3px solid var(--c-sky); outline-offset: 2px; }
.cmode__ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--c-brand); }
.cmode b { font-size: 17px; line-height: 1.2; }
.cmode small { font-size: 14px; color: var(--c-muted); line-height: 1.3; }
.cmode .seg__q { top: 12px; right: 10px; transform: none; }

/* «Что с машиной»: строки с суммой справа, без вложенной рамки */
.copts { display: grid; margin: 0 calc(var(--space-6) * -1) calc(var(--space-6) * -1); border-top: 1px solid var(--c-border); }
.copts__wheels { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-6); }
.copts__wheels .stepper button { width: 40px; height: 40px; }
.copts__list { display: grid; }
.copts__list label { position: relative; display: block; border-top: 1px solid var(--c-border); }
.copts__list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.copts__list span { display: grid; grid-template-columns: 22px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-6); min-height: 52px; font-size: 15px; cursor: pointer; }
.copts__list span::before { content: ""; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--c-border); background: #fff center / 14px no-repeat; }
.copts__list small { font-size: 14px; font-weight: 600; color: var(--c-muted); }
.copts__list input:checked + span { background: var(--c-tint); }
.copts__list input:checked + span::before { background-color: var(--c-brand); border-color: var(--c-brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.copts__list input:checked + span small { color: var(--c-brand-deep); }
.copts__list input:focus-visible + span { outline: 3px solid var(--c-sky); outline-offset: -3px; }
.copts__list label:last-child span { border-radius: 0 0 var(--radius-block) var(--radius-block); }

/* Чек */
.creceipt { display: grid; border-radius: var(--radius-block); overflow: hidden; background: var(--c-surface); box-shadow: 0 28px 56px -30px rgba(20, 34, 51, .6), 0 0 0 1px rgba(20, 34, 51, .04); align-self: start; }
.creceipt__top { position: relative; background: var(--c-brand-deep); color: #fff; padding: var(--space-6) var(--space-6) var(--space-4); }
.creceipt__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c-signal); }
.creceipt__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); color: var(--c-on-dark-muted); font-size: 14px; }
.creceipt__final { border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .12); color: var(--c-on-dark-muted); }
.creceipt__final.is-final { background: rgba(30, 122, 70, .35); color: #c4f0d3; }
.creceipt__sum { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: var(--space-2) 0 var(--space-4); }
.creceipt__rows { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-3); margin: 0; padding-top: var(--space-3); border-top: 1px solid rgba(185, 204, 224, .2); font-size: 15px; }
.creceipt__rows:empty { display: none; }
.creceipt__rows dt { display: flex; gap: var(--space-2); color: var(--c-on-dark-muted); }
.creceipt__rows dt::after { content: ""; flex: 1; border-bottom: 1px dotted rgba(185, 204, 224, .4); transform: translateY(-5px); }
.creceipt__rows dd { margin: 0; font-weight: 600; text-align: right; }
.creceipt__hint { margin: var(--space-3) 0 0; font-size: 13px; color: var(--c-on-dark-muted); }
.creceipt__route { margin: var(--space-2) 0 0; font-size: 14px; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.creceipt__bottom, .creceipt__done { padding: var(--space-6); display: grid; gap: var(--space-3); }
.creceipt__title { font-size: 18px; letter-spacing: -.02em; margin: 0; }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--3 span { font-size: 14px; }
.creceipt .btn--call { width: 100%; box-shadow: 0 10px 20px -12px rgba(204, 52, 38, .7); }
.creceipt__phone { width: 100%; min-height: 48px; }
.creceipt__phone .ico { width: 18px; height: 18px; color: var(--c-call); }
.creceipt .lead__status { text-align: center; }
.creceipt .lead__status:empty { min-height: 0; margin-bottom: calc(var(--space-3) * -1); }
.creceipt__promise { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); justify-items: center; font-size: 13px; color: var(--c-muted); }
.creceipt__promise li { display: flex; gap: 6px; align-items: center; }
.creceipt__promise .ico { width: 15px; height: 15px; color: var(--c-ok); }

/* Телефон: полоса с ценой вместо общей панели «Позвонить / Написать» */
.cbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom)); background: var(--c-brand-deep); color: #fff; }
.cbar[hidden] { display: none; }
.cbar b { font-size: 22px; letter-spacing: -.02em; display: block; line-height: 1.2; }
.cbar small { display: block; font-size: 12px; color: var(--c-on-dark-muted); }
.cbar .btn { min-height: 48px; padding: 0 var(--space-6); }
body:has(.cpage) .callbar { display: none; }

@media (min-width: 1000px) {
  .cdesk { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); padding-top: var(--space-6); }
  .cstage__in { padding-bottom: var(--space-12); }
  .cstage__in > h1, .cstage__in > .crumbs { max-width: calc((100% - var(--space-6)) * 7 / 11); }
  .creceipt { position: sticky; top: 88px; margin-top: -440px; }
  .cbar { display: none; }
}
@media (max-width: 599px) {
  .cmodes { grid-template-columns: 1fr; }
  .cblock { padding: var(--space-4); }
  .copts { margin: 0 calc(var(--space-4) * -1) calc(var(--space-4) * -1); }
  .copts__wheels, .copts__list span { padding-left: var(--space-4); padding-right: var(--space-4); }
  .cticket { padding: var(--space-4); }
  .cticket__foot, .cticket__hint { padding-left: 0; }
  .cticket__when, .cticket__when .seg { min-width: 0; width: 100%; }
}

/* Подсказки адресов калькулятора (Яндекс Геосаджест) */
.geo-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin: 4px 0 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid rgb(3 7 18 / .12); border-radius: 12px; box-shadow: 0 8px 24px rgb(3 7 18 / .12); max-height: 280px; overflow-y: auto; }
.geo-suggest li { padding: 8px 12px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.geo-suggest li:hover, .geo-suggest li.is-active { background: rgb(3 7 18 / .06); }
