/* =====================================================================
   Лёгкий переезд — стили
   Шрифты системные: внешние сервисы шрифтов не подключаем,
   чтобы не передавать IP-адреса посетителей за рубеж.
   ===================================================================== */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede6;
  --ink: #1b2420;
  --ink-2: #56625c;
  --ink-3: #8a938f;
  --line: #e3e0d7;
  --line-strong: #cfcabd;
  --brand: #1f7a63;
  --brand-600: #176450;
  --brand-soft: #e3f1eb;
  --accent: #ff7a3d;
  --accent-600: #ef6526;
  --accent-soft: #ffeee4;
  --danger: #d14343;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px rgba(27, 36, 32, .05);
  --shadow: 0 18px 50px rgba(27, 36, 32, .09), 0 2px 6px rgba(27, 36, 32, .04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font: 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(31, 122, 99, .45); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.lead { color: var(--ink-2); font-size: 18px; }
/* Пометка для данных, которые ещё нужно заполнить: ИНН, ОГРНИП, адрес */
.todo { padding: 0 4px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-600); font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border: 0; border-radius: var(--radius-sm);
  font-weight: 700; line-height: 1.2;
  cursor: pointer; text-decoration: none !important;
  transition: background-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-600); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(255, 122, 61, .32); }
.btn--accent:hover { background: var(--accent-600); box-shadow: 0 14px 30px rgba(255, 122, 61, .4); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--xl { padding: 14px 22px; min-height: 64px; font-size: 18px; text-align: left; border-radius: 16px; }
.btn--xl small { display: block; font-size: 13px; font-weight: 500; opacity: .9; margin-top: 2px; }
.btn .i { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 0; border: 0; background: none;
  color: var(--brand); font-size: 13px; font-weight: 600; cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }
.link-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--surface-2); cursor: pointer; transition: background-color .2s;
}
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.icon-btn--sm { width: 30px; height: 30px; background: transparent; }
.icon-btn--sm svg { width: 14px; height: 14px; stroke: var(--ink-3); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(27, 36, 32, .05); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.logo__mark { display: grid; place-items: center; flex: none; width: 128px; height: 72px; }
.header .logo__mark { width: 74px; height: 42px; }
.footer .logo__mark { width: 132px; height: 74px; }
.logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.logo__mark svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.logo__text { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.logo__text b { margin-left: .3em; font-weight: 800; color: var(--brand); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text b { color: #7fd1b6; }

.nav { display: flex; gap: 22px; margin: 0 auto; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav__phone-mobile { display: none; }

/* Выпадающие пункты меню */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font-weight: 600; font-size: 15px;
}
.nav__toggle::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--ink); }
.nav__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.nav__drop {
  position: absolute; top: calc(100% + 18px); left: -16px; z-index: 60;
  min-width: 290px; padding: 8px; display: grid; gap: 2px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow);
}
.nav__drop[hidden] { display: none; }
.nav__drop a { padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.nav__drop a:hover { background: var(--brand-soft); text-decoration: none; }

/* Ссылка «выбрать машину без веса» */
.calc__skip { margin: 14px 0 0; color: var(--ink-2); font-size: 14px; }
.calc__skip .link-btn { font-size: 14px; }

/* Группы в частых вопросах */
.faq__group { margin: 30px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.faq__group:first-of-type { margin-top: 10px; }
details.is-target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.header__right { display: flex; flex: none; align-items: center; gap: 18px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; color: var(--ink); font-weight: 800; line-height: 1.2; }
.header__phone:hover { text-decoration: none; color: var(--brand); }
.header__phone small { font-weight: 500; font-size: 12px; color: var(--ink-3); }

.burger { display: none; width: 44px; height: 44px; padding: 12px 10px; border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; flex: 0 0 2px; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.intro-cta { padding: 24px 0 0; }
.intro-cta .cta-band { padding: 28px 36px; }
.intro-cta .btn { flex: none; }
.hero {
  padding: 48px 0 80px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 122, 61, .12), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(31, 122, 99, .12), transparent 60%);
}
.hero__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; }
.hero__text { max-width: 780px; }
/* Призыв-девиз на первом экране: заметен, но не спорит с заголовком */
.hero__motto {
  display: inline-block; margin-top: 22px; padding: 9px 18px;
  border-radius: 99px; background: var(--accent-soft); color: var(--accent-600);
  font-size: 16px; font-weight: 800; letter-spacing: .02em;
}
.hero__art img { width: 100%; height: auto; filter: drop-shadow(0 22px 38px rgba(27, 36, 32, .13)); }
.hero h1 { margin: 16px 0 14px; font-size: clamp(32px, 5.2vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.hl { color: var(--brand); }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.hero__trust svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Калькулятор ---------- */
.calc {
  margin-top: 32px;
  padding: 28px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.calc__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: block; padding: 13px 14px; border-radius: 99px; text-align: center;
  background: var(--surface-2); color: var(--ink-2); line-height: 1.2;
  font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s;
}
.chip:hover span { color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(31, 122, 99, .45); outline-offset: 2px; }

.calc__step { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.step-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 800; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* поле во всю ширину сетки: каналы связи и примечание */
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field__opt { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.input--note { height: auto; min-height: 66px; padding: 12px 16px; line-height: 1.45; resize: vertical; }
.field__error { display: none; color: var(--danger); font-size: 13px; font-weight: 500; }
.field__error.is-shown { display: block; }

.input {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fcfbf9; font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #a7aeaa; }
.input::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(209, 67, 67, .1); }
.input--xs { height: 40px; padding: 0 10px; border-radius: 10px; font-size: 15px; }
select.input { padding-right: 30px; background: #fcfbf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356625c' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center / 16px; }
.input--num, .input--phone { height: 64px; font-size: 22px; font-weight: 700; border-radius: 16px; }
.input--phone { font-size: 20px; letter-spacing: .01em; }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.input-icon { position: relative; }
.input-icon .input { padding-left: 52px; }
.pin {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  color: #fff; font-size: 12px; font-weight: 800; pointer-events: none;
}
.pin--a { background: var(--brand); }
.pin--b { background: var(--accent); }

/* Маршрут */
.route { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.route__row { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: start; }
.route__row .toggle { margin-top: 27px; }
.route__extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 12px 14px; background: var(--brand-soft); border-radius: 12px; }
.route__extra label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.route__extra .input--xs { width: auto; min-width: 70px; background-color: #fff; }

/* Переключатель «Нужны грузчики» */
.toggle {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 16px 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; user-select: none;
  transition: border-color .2s, background-color .2s;
}
.toggle:hover { border-color: var(--line-strong); }
.toggle:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__box, .check__box {
  position: relative; flex: none; width: 22px; height: 22px;
  border: 2px solid var(--line-strong); border-radius: 7px; background: #fff;
  transition: background-color .15s, border-color .15s;
}
.toggle__box::after, .check__box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0);
  transition: transform .15s;
}
.toggle input:checked + .toggle__box, .check input:checked + .check__box { background: var(--brand); border-color: var(--brand); }
.toggle input:checked + .toggle__box::after, .check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.toggle input:focus-visible + .toggle__box, .check input:focus-visible + .check__box { outline: 3px solid rgba(31, 122, 99, .45); outline-offset: 2px; }
.toggle__text { font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.toggle__text small { display: block; font-weight: 500; color: var(--ink-2); }

/* Груз */
.cargo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; align-items: end; }
.cargo__btn { width: 100%; justify-content: flex-start; }
.hint { margin-top: 12px; font-size: 14px; color: var(--ink-2); }

/* Заметная опция сразу после веса и объёма */
.backload {
  position: relative; display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding: 20px;
  border: 2px solid var(--accent); border-radius: 18px;
  background: var(--accent-soft); cursor: pointer;
}
.backload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.backload__box {
  position: relative; flex: none; width: 30px; height: 30px;
  border: 2px solid var(--accent-600); border-radius: 8px; background: #fff;
}
.backload input:checked + .backload__box { background: var(--brand); border-color: var(--brand); }
.backload input:checked + .backload__box::after {
  content: ""; position: absolute; left: 9px; top: 4px; width: 8px; height: 14px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.backload input:focus-visible + .backload__box { outline: 3px solid var(--brand); outline-offset: 3px; }
.backload__text { flex: 1; min-width: 0; }
.backload__text strong { display: block; margin-bottom: 4px; font-size: 20px; line-height: 1.2; }
.backload__text > span { display: block; color: var(--ink-2); font-size: 15px; }
.backload__badge { flex: none; padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--brand-600); font-size: 13px; font-weight: 700; }

/* Кузов */
.truck { animation: rise .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.truck__hint { margin: -4px 0 16px; color: var(--ink-2); font-size: 15px; max-width: 860px; }
.truck__hint b { color: var(--ink); }
.truck__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tcard {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 0 0 auto; min-width: 116px;
  padding: 12px 14px 14px; border: 1.5px solid var(--line); border-radius: 18px;
  background: var(--surface); text-align: left; cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s, opacity .2s;
}
.tcard:hover:not(:disabled) { border-color: var(--brand); }
.tcard.is-sel { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(31, 122, 99, .14); }
.tcard.is-off { opacity: .55; cursor: not-allowed; }
.tcard__pic { align-self: center; margin: 2px 0 6px; }
.tcard__pic img { display: block; height: 72px; width: auto; }
.tcard__spec { font-size: 12.5px; color: var(--ink-2); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); font-size: 11px; font-weight: 700; }
.badge--ok { background: var(--brand); color: #fff; }
.badge--off { background: transparent; padding-left: 0; }
.truck__load { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 18px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.meter b { color: var(--ink); font-weight: 700; }
.meter em { font-style: normal; font-weight: 700; color: var(--ink); }
.meter__bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #33a383); transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* Контакты */
.contact__lead { max-width: 760px; margin: -4px 0 18px; color: var(--ink-2); }
.contact__lead b { color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 16px 28px; align-items: start; }
/* слева друг под другом: имя и телефон */
.contact__left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.field--note { margin-top: 16px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* Четыре канала: на широком экране в ряд, на узком — 2×2 */
.channels--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) {
  .channels--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.channel--call { background: var(--brand); box-shadow: 0 10px 22px rgba(31, 122, 99, .3); }
.channel {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 64px; border: 0; border-radius: 16px; color: #fff;
  font-size: 17px; font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.channel svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.channel:hover { transform: translateY(-2px); filter: brightness(1.05); }
.channel:disabled { cursor: wait; opacity: .7; transform: none; }
.channel--tg { background: #229ed9; box-shadow: 0 10px 22px rgba(34, 158, 217, .3); }
.channel--max { background: linear-gradient(135deg, #4b7bff, #8b45f0); box-shadow: 0 10px 22px rgba(107, 92, 245, .3); }
.channel--sms { background: var(--ink); box-shadow: 0 10px 22px rgba(27, 36, 32, .22); }
.channel.is-loading { color: transparent; }
.channel.is-loading svg { opacity: 0; }
.channel.is-loading::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.consents { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; max-width: 860px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .check__box { margin-top: 1px; }
.check:has(input.is-invalid) .check__box { border-color: var(--danger); }
.req { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-600); font-size: 11.5px; font-weight: 700; }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Секции ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--surface-2); }
.section__head { margin-bottom: 40px; }
.section__head h2, .why h2 { margin-top: 14px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.025em; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: var(--brand-soft); }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: 8px; font-size: 19px; font-weight: 800; }
.service p { color: var(--ink-2); }

.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.why .lead { margin: 16px 0 22px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--ink-2); font-weight: 600; }
.stat--fact b { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.2; }
.stat--fact span { font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps span { display: block; margin-bottom: 18px; color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.steps h3 { margin-bottom: 8px; font-size: 19px; font-weight: 800; }
.steps p { color: var(--ink-2); font-size: 15px; }

.faq details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--brand); font-size: 22px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px 56px; border-radius: 30px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(135deg, #1f7a63, #155a49);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { margin-top: 8px; opacity: .85; font-size: 17px; }

/* ---------- Подвал ---------- */
.footer { padding: 56px 0 28px; background: #16201c; color: #a9b5b0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr 1fr; gap: 32px; }
.footer .logo { flex-direction: column; align-items: flex-start; }
.footer h4 { margin-bottom: 12px; color: #fff; font-size: 15px; }
.footer p { line-height: 1.8; }
.footer a { color: #e3ebe7; }
.footer__muted { margin-top: 12px; color: #8a9893; }
/* Девиз: тихо, но заметно — набран курсивом и приглушён */
.footer__motto { margin-top: 12px; font-size: 15px; font-weight: 700; letter-spacing: .03em; color: rgba(227, 235, 231, .78); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #7f8d88; }

/* ---------- Выезжающая панель ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .35s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 28, 25, .45); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(860px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg); border-radius: 28px 0 0 28px; box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
  transform: translateX(102%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; flex-shrink: 0; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 28px 12px; }
.drawer__head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.drawer__head p { margin-top: 4px; color: var(--ink-2); }
.drawer__tools { display: flex; flex-shrink: 0; flex-direction: column; gap: 12px; padding: 8px 28px 16px; border-bottom: 1px solid var(--line); }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -28px; padding: 0 28px; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; padding: 8px 14px; border: 0; border-radius: 99px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.cat:hover { color: var(--ink); }
.cat.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.cat i { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border-radius: 99px; background: var(--accent); color: #fff; font-style: normal; font-size: 12px; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.search .input { height: 46px; padding-left: 42px; background: var(--surface); }

.drawer__body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 20px 28px 28px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.items__empty { padding: 40px 0; text-align: center; color: var(--ink-3); }

.item {
  display: flex; flex-direction: column; gap: 12px; padding: 14px;
  border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.item.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.item__top { display: flex; gap: 12px; align-items: flex-start; }
.item__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--surface-2); color: var(--ink-2); transition: background-color .2s, color .2s; }
.item__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.item.is-on .item__icon { background: var(--brand-soft); color: var(--brand); }
.item__info { flex: 1; min-width: 0; }
.item__info h3 { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.item__note { font-size: 12px; color: var(--ink-3); }
.item__dims { margin-top: 3px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 11px; background: var(--surface-2); }
.seg button { padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

.item__edit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 12px; background: var(--bg); }
.item__edit label, .item--form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.item__edit-note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); }
.item__edit .link-btn { grid-column: 1 / -1; justify-self: start; }

.item__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 40px; height: 38px; border: 0; text-align: center; font-weight: 700; font-size: 15px; background: transparent; }
.stepper input:focus { outline: none; background: var(--brand-soft); }
.item.is-on .stepper { border-color: var(--brand); }

.item--add {
  align-items: center; justify-content: center; gap: 6px; min-height: 160px;
  border: 2px dashed var(--line-strong); background: transparent; color: var(--ink-2);
  text-align: center; cursor: pointer;
}
.item--add:hover { border-color: var(--brand); color: var(--brand); }
.item--add b { color: var(--ink); font-size: 15px; }
.item--add small { font-size: 12.5px; }
.item--add .item__icon { background: var(--brand-soft); color: var(--brand); }
.item--form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-color: var(--brand); border-style: solid; }
.item--form h3 { grid-column: 1 / -1; font-size: 15px; }
.item__wide { grid-column: 1 / -1; }
.item__err { grid-column: 1 / -1; color: var(--danger); font-size: 13px; }
.item__form-actions { display: flex; justify-content: flex-end; gap: 8px; }

.drawer__foot {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 16px 28px calc(16px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  border-bottom-left-radius: 28px;
}
.totals { display: flex; gap: 28px; }
.totals small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.totals b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.drawer__actions { display: flex; gap: 10px; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; visibility: hidden; transition: visibility 0s .25s; }
.modal.is-open { visibility: visible; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 28, 25, .5); opacity: 0; transition: opacity .25s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative; width: 100%; max-width: 440px; padding: 36px 32px 32px;
  border-radius: 28px; background: var(--surface); text-align: center;
  opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .25s, transform .25s;
}
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand-soft); }
.modal__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.modal.is-error .modal__icon { display: none; }
.modal h2 { font-size: 24px; font-weight: 800; }
.modal p { margin: 10px 0 24px; color: var(--ink-2); }
.modal .btn { width: 100%; }

/* ---------- Отзывы ---------- */
.reviews__lead { margin-top: 14px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card, .review-invite { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.review-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-card__name { margin: 0; min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.review-card__score { flex: none; font-size: 13px; font-weight: 700; color: var(--brand-600); }
.review-card__stars { margin-top: 6px; color: #ac4b18; letter-spacing: 2px; font-size: 15px; }
.review-card__text { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.review-invite { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--brand-soft); border-color: #bad9cb; }
.review-invite__icon { font-size: 22px; color: var(--brand); }
.review-invite h3 { font-size: 18px; }
.review-invite p { font-size: 14.5px; }
.review-invite .btn { margin-top: auto; padding: 11px 18px; font-size: 14px; }
.review-invite p { color: var(--ink-2); }
.review-invite .btn { margin-top: auto; }

.review-dialog {
  position: fixed; inset: 0; z-index: 130; margin: auto;
  width: calc(100% - 32px); max-width: 660px; max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 32px; border: 0; border-radius: 26px;
  color: var(--ink); background: var(--surface); box-shadow: var(--shadow);
}
.review-dialog:not([open]) { display: none; }
.review-dialog::backdrop { background: rgba(20, 28, 25, .6); }
.review-dialog.is-fallback { box-shadow: 0 0 0 100vmax rgba(20, 28, 25, .6); }
.review-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.review-dialog__head h2 { margin-top: 12px; font-size: 28px; }
.review-dialog__intro { margin: 16px 0 24px; color: var(--ink-2); font-size: 15px; }
.review-form { display: flex; flex-direction: column; gap: 20px; }
.review-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-form input[type="date"] { display: block; min-width: 0; }
.review-form input[type="date"]::-webkit-calendar-picker-indicator { display: block !important; opacity: 1; }
.review-form__textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.review-form .hint { margin: 0; font-size: 12px; }
.review-form .check { font-size: 13px; }
.review-rating { margin: 0; padding: 0; border: 0; min-width: 0; }
.review-rating legend { margin-bottom: 8px; padding: 0; }
.review-rating__options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.review-rating label { position: relative; cursor: pointer; }
.review-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-rating span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; }
.review-rating b { color: #ac4b18; font-size: 22px; }
.review-rating input:checked + span { background: var(--brand-soft); border-color: var(--brand); }
.review-rating input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.review-form__note { margin: -8px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.review-form__status { padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-600); }
.review-form__status.is-error { background: #fff0ec; color: #9b3028; }
.review-form__retry { display: block; margin-top: 10px; font-weight: 700; text-decoration: underline; }
.review-form .btn:disabled { cursor: wait; opacity: .65; }
@media (max-width: 960px) {
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__top { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .reviews__grid { margin: 0 -16px; padding: 2px 16px 10px; }
  .review-card, .review-invite { padding: 16px; }
  .review-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 24px 18px; border-radius: 20px; }
  .review-dialog__head h2 { font-size: 24px; }
  .review-form__grid { grid-template-columns: minmax(0, 1fr); }
  .review-rating__options { gap: 6px; }
  .review-form .btn { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Кнопка «вернуться к расчёту» ---------- */
.calc-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 99px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  box-shadow: 0 14px 32px rgba(255, 122, 61, .38);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s, transform .25s, background-color .2s;
}
.calc-fab:hover { background: var(--accent-600); color: #fff; text-decoration: none; }
.calc-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.calc-fab svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* пока висит уведомление о cookie, кнопку не показываем — они мешают друг другу */
body.has-cookie .calc-fab { opacity: 0; pointer-events: none; }

/* ---------- Уведомление о cookie ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 16px 20px;
  max-width: 760px; margin: 0 auto; padding: 16px 20px;
  border-radius: 18px; background: #1b2420; color: #dfe6e3; font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2); animation: rise .4s ease;
}
.cookie a { color: #8fdcc2; }
.cookie__actions { display: flex; gap: 8px; flex: none; }
.cookie .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.cookie .btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .truck__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px;
    background: var(--surface); box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav__phone-mobile { display: block; border: 0; color: var(--brand); font-weight: 800; }
  .nav__item { display: block; width: 100%; }
  .nav__toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__toggle::after { margin-top: 0; }
  .nav__drop { position: static; min-width: 0; margin: 8px 0 4px; padding: 6px; border: 0; box-shadow: none; background: var(--bg); }
  .nav__drop a { padding: 10px; font-size: 15.5px; color: var(--ink-2); }
  .header__right { margin-left: auto; }
  .header__phone { display: none; }
  .burger { display: flex; }
  .route { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .reviews__grid {
    display: flex; gap: 12px; overflow-x: auto;
    margin: 0 -24px; padding: 2px 24px 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review-card, .review-invite { flex: 0 0 76%; }
  .cargo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cargo__btn { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .truck__load { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .section { padding: 64px 0; }
}

@media (max-width: 600px) {
  :root { --header-h: 56px; }
  .container { padding: 0 16px; }
  .header__inner { gap: 10px; }
  .header__cta { display: none; }
  .header .logo__mark { width: 58px; height: 33px; }
  .logo__text { font-size: 16px; }
  .intro-cta { padding-top: 16px; }
  .intro-cta .cta-band { gap: 18px; padding: 24px 20px; border-radius: 22px; }
  .intro-cta .btn { width: 100%; padding: 16px; }
  .hero { padding: 28px 0 56px; }
  .lead { font-size: 16px; }
  .calc { margin: 24px -6px 0; padding: 18px 16px 22px; border-radius: 24px; }
  .calc__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .chip span { padding: 12px 6px; font-size: 13.5px; }
  .calc__step { padding-top: 20px; margin-top: 20px; }
  .route__row { grid-template-columns: 1fr; }
  .route__row .toggle { margin-top: 0; height: 50px; }
  .toggle__text { white-space: normal; }
  .toggle__text small { display: inline; }
  .toggle__text small::before { content: " "; }
  .backload { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px 12px; padding: 16px; }
  .backload__badge { grid-column: 2; justify-self: start; }
  .input--xs, .stepper input { font-size: 16px; }
  .truck__list { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .tcard__pic img { height: 64px; }
  .channels { gap: 8px; }
  .channel { flex-direction: column; gap: 4px; height: 72px; font-size: 14px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .service { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-radius: 18px; }
  .service:hover { transform: none; box-shadow: none; }
  .service__icon { grid-row: span 2; width: 46px; height: 46px; margin: 0; border-radius: 13px; }
  .service__icon svg { width: 24px; height: 24px; }
  .service h3 { margin: 0 0 4px; font-size: 16px; }
  .service p { font-size: 14px; line-height: 1.45; }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .steps li { padding: 14px; border-radius: 16px; }
  .steps span { margin-bottom: 8px; font-size: 12px; }
  .steps h3 { margin-bottom: 4px; font-size: 15px; }
  .steps p { font-size: 13px; line-height: 1.4; }
  .section { padding: 44px 0; }
  .section__head { margin-bottom: 26px; }
  .stat { padding: 18px 16px; }
  .stat--fact b { font-size: 17px; }
  .stat--fact span { font-size: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .drawer__panel { top: 4vh; width: 100%; border-radius: 24px 24px 0 0; transform: translateY(102%); }
  .drawer__head { padding: 18px 16px 8px; }
  .drawer__head h2 { font-size: 22px; }
  .drawer__head p { font-size: 14px; }
  .drawer__tools { padding: 8px 16px 12px; }
  .cats { margin: 0 -16px; padding: 0 16px; }
  .drawer__body { padding: 14px 16px 20px; }
  .items { grid-template-columns: 1fr; gap: 10px; }
  .item--add { min-height: 90px; flex-direction: row; text-align: left; }
  .item--add small { display: none; }
  .drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; gap: 12px; }
  .totals { width: 100%; justify-content: space-between; gap: 12px; }
  .totals b { font-size: 19px; }
  .drawer__actions { width: 100%; }
  .drawer__actions .btn--brand { flex: 1; }

  .calc-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; padding: 16px; }
  .cookie { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; }
  .cookie__actions { flex-wrap: wrap; }
  .cookie__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Правовые страницы ---------- */
.legal { padding: 40px 0 80px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 600; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.legal__meta { margin: 10px 0 28px; color: var(--ink-3); font-size: 14px; }
.legal h2 { margin: 36px 0 12px; font-size: 21px; font-weight: 800; }
.legal p, .legal li { color: #333d39; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal__card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal .ph { padding: 0 4px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-600); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); font-weight: 700; }
@media (max-width: 600px) { .legal__card { padding: 20px 16px; border-radius: 18px; } }

/* ---------------------------------------------------------------------
   Кромки-«вылеты» на телефоне.
   Блоки с отрицательными отступами должны ровно совпадать с краем экрана,
   иначе страница становится шире телефона и начинает ездить вбок.
   Этот блок стоит в самом конце специально: он перекрывает более ранние
   правила для 760px и 1100px.
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  .reviews__grid { margin: 0 -16px; padding: 2px 16px 10px; }
  .truck__list { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
}

/* ---------------------------------------------------------------------
   Подсказки городов.
   Своя выпадашка вместо системной: та на телефоне раскрывается на весь
   экран. Размер и положение задаются скриптом — ровно под полем.
   --------------------------------------------------------------------- */
.suggest {
  position: absolute; z-index: 70;
  max-height: 264px; overflow-y: auto; padding: 6px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow);
}
.suggest[hidden] { display: none; }
.suggest button {
  display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font: inherit; font-size: 15px;
  text-align: left; cursor: pointer;
}
.suggest button:hover, .suggest button.is-active { background: var(--brand-soft); }
