/* AskMoney: дизайн-система редизайна 2026-11.
   Направление: продуктовый интерфейс в духе Яндекс Go (референс cartaxi.io):
   светлый фон, белые панели с большим радиусом, тёмно-синие блоки бренда,
   жёлтая кнопка действия. Калькулятор и таблица курсов: идея из exfm.app. */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f1f1ef;
  --surface-3: #e8e8e5;
  --text: #1b2838;
  --muted: #5b6472;
  --line: #e4e4e0;
  --dark: #1b2838;
  --dark-2: #243447;
  --on-dark: #ffffff;
  --on-dark-muted: #b4bfcc;
  --accent: #ffcc00;          /* только кнопки действия и активный выбор */
  --accent-hover: #f5bf00;
  --on-accent: #1b2838;
  --ok: #1f8a4c;
  --warn: #b3261e;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 10px 40px rgba(27, 40, 56, .08), 0 1px 3px rgba(27, 40, 56, .06);
  --shadow-sm: 0 4px 16px rgba(27, 40, 56, .06);

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(30px, 4.2vw, 48px);
  --fs-h2: clamp(26px, 3.2vw, 40px);
  --fs-h3: 20px;
  --fs-body: 17px;
  --fs-small: 14px;

  --wrap: 1344px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid #1b6ef3; outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 18px; height: 18px; }
.ico-fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--r-md);
  font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 249, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.03em; flex: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; }
.logo b { font-weight: 800; color: var(--text); }
.logo span { font-weight: 500; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; padding: 0 16px; border-radius: var(--r-sm);
  background: none; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-list > li:focus-within > .nav-link { background: var(--surface-2); }
.nav-link .ico { width: 18px; height: 18px; }
.nav-drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  padding: 8px; margin: 0; list-style: none;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.nav-list > li:hover > .nav-drop, .nav-list > li:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.nav-drop a:hover { background: var(--surface-2); }
.header-cta { flex: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: var(--r-sm); background: var(--surface-2); cursor: pointer; align-items: center; justify-content: center; }

.mnav { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); flex: none; }
.mnav-body { padding: 8px var(--gutter) 32px; display: grid; gap: 24px; }
.mnav-group h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.mnav-group a { display: flex; align-items: center; min-height: 48px; font-size: 19px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head p { max-width: 560px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.split > :first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.split-lead { margin-top: 16px; color: var(--muted); max-width: 440px; }
.split-lead + .btn, .split-lead + .link-arrow { margin-top: 24px; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > :first-child { position: static; }
}
.panel { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.panel-grey { background: var(--surface-2); border-radius: var(--r-xl); }
.panel-dark { background: var(--dark); color: var(--on-dark); border-radius: var(--r-xl); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22b35e; box-shadow: 0 0 0 4px rgba(34, 179, 94, .18); }

/* ---------- Hero с картой (главная) ---------- */
.hero { position: relative; isolation: isolate; }
.hero-map {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: #d3e7f5;
}
.tmap { width: 100%; height: 100%; font-family: var(--font); }
.tm-water { fill: #d3e7f5; }
.tm-land { fill: #eef0ea; stroke: #d9ddd2; stroke-width: 1.2; }
.tm-th { fill: #ffffff; stroke: #c9cfc3; stroke-width: 1.4; }
.tm-lbl { font-size: 15px; font-weight: 500; fill: #8a93a0; text-anchor: middle; letter-spacing: .04em; }
.tm-lbl-w { fill: #6f95b3; font-style: italic; font-size: 16px; }
.tm-lbl-t { font-size: 22px; font-weight: 700; fill: #b8bfc8; letter-spacing: .3em; text-transform: uppercase; }
.tm-city { cursor: pointer; }
.tm-city:focus { outline: none; }
.tm-halo { fill: var(--accent); opacity: 0; transition: opacity .2s; }
.tm-dot { fill: var(--dark); stroke: #fff; stroke-width: 3; transition: fill .2s; }
.tm-name { font-size: 17px; font-weight: 700; fill: var(--text); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.tm-city:hover .tm-dot, .tm-city:focus-visible .tm-dot { fill: #3a4d63; }
.tm-city:focus-visible .tm-halo { opacity: .5; }
.tm-city.is-active .tm-halo { opacity: .55; }
.tm-city.is-active .tm-dot { fill: var(--accent); stroke: var(--dark); }
.tm-city.is-active .tm-name { font-size: 20px; }
.hero-inner { padding-top: 24px; padding-bottom: 40px; min-height: clamp(780px, 54vw, 1000px); display: flex; align-items: flex-start; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero-badge {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--dark); color: #fff; font-weight: 600; box-shadow: var(--shadow);
}
@media (max-width: 960px) {
  .hero-map, .hero-badge { display: none; }
  .hero-inner { min-height: 0; padding-top: 8px; padding-bottom: 0; }
}

/* ---------- Панель обмена ---------- */
.order {
  width: 100%; max-width: 540px;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow);
  overflow: hidden;
}
.order-body { padding: 32px 28px 24px; }
.order h1, .order .order-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.city-pick { position: relative; display: inline-block; }
.city-pick select {
  appearance: none; -webkit-appearance: none; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 800; color: var(--text);
  padding: 0 2px; border-bottom: 3px dashed var(--accent); border-radius: 0;
}
.order-lead { margin-top: 10px; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) {
  .order { max-width: none; box-shadow: none; background: none; border-radius: 0; overflow: visible; }
  .order-body { padding: 16px 0 0; }
}

/* ---------- Калькулятор ---------- */
.calc { margin-top: 24px; }
.calc-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.calc-pair { position: relative; display: grid; gap: 6px; }
.calc-field {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 18px; border-radius: var(--r-md);
  background: var(--surface-2); border: 2px solid transparent; transition: border-color .15s, background-color .15s;
}
.calc-field:focus-within { border-color: var(--text); background: var(--surface); }
.calc-field-main { flex: 1; min-width: 0; }
.calc-field-cap { display: block; font-size: 13px; color: var(--muted); }
.calc-input {
  width: 100%; border: 0; outline: 0; background: none; padding: 2px 0 0;
  font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.calc-cur {
  position: relative; flex: none;
}
.calc-cur select, .calc-cur-static {
  appearance: none; -webkit-appearance: none;
  min-height: 44px; padding: 0 36px 0 14px; border: 0; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: 0 1px 2px rgba(27,40,56,.08);
  font-weight: 600; font-size: 16px; cursor: pointer;
}
.calc-cur-static { display: inline-flex; align-items: center; padding-right: 14px; cursor: default; }
.calc-cur .ico { position: absolute; right: 10px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; }
.calc-swap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark); color: #fff; border: 4px solid var(--surface);
}
.calc-swap .ico { width: 18px; height: 18px; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chip {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface-2); font-size: 14px; font-weight: 600;
}
.chip:hover { background: var(--surface-3); }
.calc-rate { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-methods { margin-top: 22px; }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.method { position: relative; }
.method input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 12px; top: 12px; }
.method label {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 12px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.method label .ico { width: 22px; height: 22px; }
.method input:checked + label { border-color: var(--accent); background: #fffbe6; }
.method input:focus-visible + label { outline: 3px solid #1b6ef3; outline-offset: 2px; }
.calc-note { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.calc-note .ico { width: 18px; height: 18px; margin-top: 1px; }
.calc-note.is-warn { color: var(--warn); }
.order-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 64px; padding: 0 24px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 18px; text-decoration: none;
  transition: background-color .15s;
}
.order-cta:hover { background: var(--accent-hover); }
.order-cta small { font-weight: 500; opacity: .75; }
@media (max-width: 960px) {
  .order-cta { border-radius: var(--r-md); margin-top: 20px; }
}
@media (max-width: 520px) {
  .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-input { font-size: 24px; }
}

/* ---------- Таблица курсов ---------- */
.rates { padding: clamp(24px, 3vw, 40px); }
.rates-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.rates-top h3 { font-size: 20px; }
.rates-upd { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-size: 14px; }
.rates-upd .ico { width: 16px; height: 16px; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: 500; font-size: 14px; color: var(--muted); padding: 0 12px 10px 0; }
.table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); }
.table td:last-child, .table th:last-child { padding-right: 0; text-align: right; }
.table .num { font-weight: 700; font-size: 18px; }
.panel-dark .table th { color: var(--on-dark-muted); }
.panel-dark .table td { border-top-color: rgba(255,255,255,.12); }
.pair { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.pair-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 15px; font-weight: 700; }
.panel .pair-ico, .panel-grey .pair-ico { background: var(--surface-2); }
.rates-foot { margin-top: 16px; font-size: 14px; color: var(--on-dark-muted); }
.rates-foot a { color: #fff; }
.sums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; padding: clamp(20px, 3vw, 32px); margin-top: 16px; }
.sums h3 { font-size: 17px; margin-bottom: 8px; }
@media (max-width: 640px) { .sums { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- Блок «почему» (тёмный блок с наезжающими карточками, cartaxi) ---------- */
.why-dark { padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 88px) clamp(120px, 12vw, 170px); width: min(100%, 940px); }
.why-dark h2 { font-size: clamp(32px, 4.5vw, 52px); }
.why-dark p { margin-top: 20px; color: var(--on-dark-muted); font-size: 18px; max-width: 520px; }
.why-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: calc(-1 * clamp(80px, 8vw, 110px)); position: relative; }
.why-card { padding: 28px 24px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.why-card .ico { width: 36px; height: 36px; stroke-width: 1.8; margin-bottom: 20px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .why-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: -72px; padding: 0 12px; }
  .why-dark { padding-bottom: 104px; }
}

/* ---------- Плитки-ссылки (услуги) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 12px; min-height: 240px;
  padding: 28px; border-radius: var(--r-lg); background: var(--surface-2);
  text-decoration: none; transition: background-color .15s, transform .15s;
}
.tile:hover { background: var(--surface-3); }
.tile-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; margin-bottom: 8px; }
.tile-ico .ico { width: 28px; height: 28px; stroke-width: 1.8; }
.tile p { color: var(--muted); font-size: 16px; }
.tile .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 0; } }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(220px, calc((100% - 96px) / 4)), 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--text); padding-top: 20px; }
.step::before { content: "0" counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } .step::before { margin-bottom: 12px; } }

/* ---------- Строки-списки (города, прайс как у cartaxi) ---------- */
.rows { margin: 0; padding: 8px 28px; list-style: none; }
.rows li + li { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 0; text-decoration: none; }
.row-main { flex: 1; min-width: 0; }
.row-title { display: block; font-weight: 600; font-size: 18px; }
.row-sub { display: block; color: var(--muted); font-size: 15px; }
.row-end { color: var(--muted); font-size: 15px; text-align: right; }
a.row:hover .row-title { text-decoration: underline; text-underline-offset: 3px; }
.row .ico { color: var(--muted); }
@media (max-width: 560px) { .rows { padding: 4px 20px; } }

/* ---------- Текст (SEO-блоки, статьи) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; } }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 14px; color: var(--muted); font-weight: 500; }
.prose blockquote { margin: 1.4em 0; padding: 20px 24px; background: var(--surface-2); border-radius: var(--r-md); }
.seo { padding: clamp(32px, 6vw, 80px) var(--gutter); }
.seo h2 { text-align: center; margin: 0 auto 28px; max-width: 900px; }
.seo .prose { margin: 0 auto; color: #2c3a4b; }
.seo-more[hidden] { display: none; }
.seo-toggle { display: flex; margin: 24px auto 0; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review { padding: 28px 24px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.review-who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.review-name { font-weight: 600; font-size: 18px; line-height: 1.2; }
.review-city { color: var(--muted); font-size: 14px; }
.stars { display: flex; gap: 2px; color: #f2b600; }
.stars .ico { width: 18px; height: 18px; }
.review p { color: #2c3a4b; font-size: 16px; }
@media (max-width: 1100px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; }
  .review { flex: 0 0 86%; scroll-snap-align: center; }
}

/* ---------- FAQ (отдельные белые плашки, cartaxi) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px; padding: 18px 28px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 28px 24px; color: #2c3a4b; max-width: 720px; }
.faq-a > * + * { margin-top: .8em; }
@media (max-width: 560px) { .faq summary { padding: 16px 20px; font-size: 17px; } .faq-a { padding: 0 20px 20px; } }

/* ---------- Финальный призыв ---------- */
.cta-dark { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 72px); }
.cta-dark h2 { font-size: clamp(28px, 3.6vw, 44px); }
.cta-dark p { margin-top: 16px; color: var(--on-dark-muted); max-width: 520px; }
.cta-dark-actions { display: grid; gap: 12px; justify-items: start; }
.cta-dark-actions small { color: var(--on-dark-muted); font-size: 14px; }
@media (max-width: 800px) { .cta-dark { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Внутренние страницы ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero { padding-top: clamp(16px, 3vw, 40px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px 56px; align-items: start; }
.page-hero h1 { margin-bottom: 18px; }
.page-lead { font-size: 19px; color: #2c3a4b; max-width: 640px; }
.page-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.page-facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); font-size: 15px; font-weight: 500; }
.page-facts .ico { width: 18px; height: 18px; }
.page-hero .order { max-width: none; }
@media (max-width: 1000px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) {
  .page-hero .order { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); overflow: hidden; }
  .page-hero .order-body { padding: 24px 20px 20px; }
  .page-hero .order-cta { border-radius: 0; margin-top: 0; }
}
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.aside-box { padding: 24px; }
.aside-box h3 { font-size: 18px; margin-bottom: 8px; }
.aside-box p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.panel-dark.aside-box p { color: var(--on-dark-muted); }
@media (max-width: 1000px) { .article { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }
.note { display: flex; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); background: #fff8d6; font-size: 16px; }
.note .ico { flex: none; margin-top: 2px; }
.stats { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.stat b { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Подвал ---------- */
.footer { margin-top: clamp(64px, 9vw, 120px); padding: 56px 0 32px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-about p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 300px; }
.footer h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer ul a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); text-decoration: none; font-size: 15px; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-about { grid-column: 1 / -1; } }

/* ---------- Нижняя кнопка на телефоне ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  transform: translateY(140%); transition: transform .25s;
}
.dock.is-on { transform: none; }
.dock .btn { width: 100%; min-height: 56px; box-shadow: var(--shadow); }
@media (min-width: 961px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
