:root {
  --ink: #0b1220;
  --ink-2: #121b2e;
  --text: #141821;
  --dim: #525b6b;
  --faint: #6b7482;
  --line: #e3e7ee;
  --line-strong: #c8cfdb;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --blue: #1d4ed8;
  --blue-hover: #1a43b8;
  --blue-soft: #e7eefd;
  --blue-bright: #3b82f6;
  --ok: #0b7a4b;
  --danger: #d92d20;
  --radius: 8px;
  --ease: cubic-bezier(.22, .8, .26, 1);
  --wrap: 1200px;
  --gut: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .09s var(--ease), border-color .09s var(--ease), color .09s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-line { border-color: var(--line-strong); background: var(--surface); }
.btn-line:hover { border-color: var(--text); }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn:focus-visible, .chip:focus-visible, .tab:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue-bright); outline-offset: 2px;
}

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(11,18,32,.96);
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff;
  backdrop-filter: saturate(140%) blur(8px);
}
.top .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.brand small { display: block; font-size: 12px; color: #8f9bb0; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: #b9c3d4; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }
.top-contacts { display: flex; align-items: center; gap: 14px; }
.top-phone { font-size: 19px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.top-phone:hover { color: #9ec0ff; }
.top .btn { height: 40px; padding: 0 16px; font-size: 15px; }
.icon-btn { display: none; }
/* Восемь пунктов меню и телефон делят строку с логотипом: «Вывоз снега»
   ломался на две строки, а у самого края (1081 px) шапка вылезала за экран.
   Поэтому промежутки уже, чем были, и ближе к сворачиванию в кнопку ужимаются. */
.nav { gap: 18px; }
.nav a { white-space: nowrap; }
.top .wrap { gap: 20px; }
@media (max-width: 1240px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .top-phone { font-size: 16px; }
  .top-contacts { gap: 10px; }
}
@media (max-width: 1140px) {
  .nav { gap: 11px; }
  .top .wrap { gap: 14px; }
  .top .btn { padding: 0 12px; font-size: 14px; }
}

/* Первый экран */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  /* Фон заполняет первый экран независимо от длины текста; шапка — 68 px + граница. */
  min-height: calc(100vh - 69px);
  min-height: calc(100svh - 69px);
  padding: 72px 0 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  animation: hero-zoom 14s cubic-bezier(.2, .6, .3, 1) both;
}
.hero-bg::after {
  /* Затемнение слева и снизу: текст и форма читаются на любой части снимка */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,18,32,.9) 0%, rgba(11,18,32,.62) 34%, rgba(11,18,32,.08) 62%, rgba(11,18,32,.2) 100%),
    linear-gradient(0deg, rgba(11,18,32,.85) 0%, rgba(11,18,32,0) 35%);
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #8fb3ff;
}
.live { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; font-size: 13px; color: #b9f2d3; font-weight: 600; letter-spacing: 0; text-transform: none; }
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.live i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e;
  animation: live-ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes live-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; }
.hero h1 span { color: #6f9dff; }
.hero-lead { margin-top: 22px; font-size: 19px; color: #c3cad8; max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-phone { display: flex; flex-direction: column; margin-right: 12px; text-decoration: none; }
.hero-phone b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-phone small { color: #8f9bb0; font-size: 13px; }
.hero-phone:hover b { color: #9ec0ff; }
.facts { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.facts li { padding: 20px 20px 0 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.facts b { display: block; font-size: 16px; }
.facts span { display: block; margin-top: 4px; font-size: 14px; color: #8f9bb0; }

/* Форма */
.form-card {
  background: var(--surface); color: var(--text); border-radius: 12px; padding: 28px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.45);
}
.form-card h2 { font-size: 24px; }
.form-card > p { margin-top: 6px; color: var(--dim); font-size: 15px; }
.form { margin-top: 20px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--dim); }
.field label i { font-style: normal; color: var(--danger); }
.inp {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface); font-size: 16px;
  transition: border-color .09s var(--ease), box-shadow .09s var(--ease);
}
textarea.inp { height: 84px; padding: 12px 14px; resize: vertical; }
select.inp {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23525b6b' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.inp:hover { border-color: var(--faint); }
.inp:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.18); }
.inp[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(217,45,32,.12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; height: 52px; font-size: 17px; }
.consent { font-size: 12px; color: var(--faint); line-height: 1.4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; border-radius: var(--radius); padding: 12px 14px; }
.form-note[hidden] { display: none; }
.form-note.err { background: #fdecea; color: #8a1c13; }
.form-done { text-align: center; padding: 20px 0 8px; }
.form-done svg { width: 48px; height: 48px; color: var(--ok); margin: 0 auto; }
.form-done h3 { margin-top: 14px; font-size: 22px; }
.form-done p { margin-top: 8px; color: var(--dim); }

/* Разделы */
section { padding: 96px 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.head p { color: var(--dim); max-width: 420px; font-size: 17px; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

/* Каталог. Ровный белый фон под двадцатью белыми карточками сливался в одно
   поле; чертёжная сетка и синие пятна света дают карточкам, на чём лежать. */
#tehnika {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(59,130,246,.16), transparent 70%),
    radial-gradient(ellipse 50% 45% at 100% 55%, rgba(29,78,216,.13), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(14,165,233,.10), transparent 70%),
    linear-gradient(180deg, #e9eef8 0%, #f1f4fa 100%);
}
#tehnika::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(29,78,216,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.07) 1px, transparent 1px),
    linear-gradient(rgba(29,78,216,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
}
#tehnika .wrap { position: relative; }
#tehnika .card { border-color: rgba(29,78,216,.10); box-shadow: 0 1px 2px rgba(19,26,46,.05), 0 10px 28px -16px rgba(19,26,46,.28); }
#tehnika .card:hover { border-color: rgba(29,78,216,.28); box-shadow: 0 24px 44px -20px rgba(19,26,46,.45); }
#tehnika .tab:not([aria-pressed="true"]) { background: rgba(255,255,255,.75); }
#tehnika .unsure { background: rgba(255,255,255,.7); border-color: rgba(29,78,216,.3); }

/* Каталог */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 15px; font-weight: 600; cursor: pointer; color: var(--dim);
  transition: background-color .09s var(--ease), color .09s var(--ease), border-color .09s var(--ease);
}
.tab:hover { border-color: var(--text); color: var(--text); }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 22px 22px; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 18px 36px -18px rgba(19,26,46,.35); transform: translateY(-4px); }
.card-img { margin: 0 -22px 18px; aspect-ratio: 3 / 2; overflow: hidden; background: #1a2232; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card[hidden] { display: none; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.card h3 { font-size: 19px; line-height: 1.2; }
.card-n { font-size: 12px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; }
.card p { margin-top: 8px; color: var(--dim); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 3px 9px; border-radius: 6px; background: var(--bg); color: var(--dim); border: 1px solid var(--line); }
.card .btn { margin-top: auto; height: 42px; font-size: 15px; width: 100%; }
.card-wide { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-wide p { color: #b9c3d4; }
.card-wide .card-n { color: #7d8aa3; }
.card-wide .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #d4dbe7; }
.card-wide .btn-line { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.card-wide .btn-line:hover { border-color: #fff; }
.unsure {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--surface);
}
.unsure b { font-size: 18px; }
.unsure p { color: var(--dim); margin-top: 2px; }

/* Как проходит заказ */
.steps-sec { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--line); counter-increment: s; }
.steps li::before {
  content: "0" counter(s); position: absolute; top: -2px; left: 0; width: 48px; border-top: 2px solid var(--blue);
  padding-top: 26px; font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .04em;
}
/* Синяя линия бежит по шагам слева направо, когда раздел доезжает до экрана */
.js .steps li::before { width: 0; transition: width .5s var(--ease); }
.js .steps.in li::before { width: 48px; }
.js .steps.in li:nth-child(2)::before { transition-delay: .25s; }
.js .steps.in li:nth-child(3)::before { transition-delay: .5s; }
.js .steps.in li:nth-child(4)::before { transition-delay: .75s; }
.steps h3 { margin-top: 28px; font-size: 21px; }
.steps p { margin-top: 10px; color: var(--dim); }

/* Почему с нами */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.why div { background: var(--surface); padding: 32px; }
.why .wide { grid-column: 1 / -1; }
.why svg { width: 28px; height: 28px; color: var(--blue); }
.why h3 { margin-top: 18px; font-size: 21px; }
.why p { margin-top: 8px; color: var(--dim); max-width: 460px; }

/* Документы */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.docs h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.docs > div > p { margin-top: 16px; color: var(--dim); font-size: 17px; }
.doc-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.doc-list li { display: flex; gap: 16px; align-items: center; padding: 18px 22px; }
.doc-list li + li { border-top: 1px solid var(--line); }
.doc-list svg { width: 22px; height: 22px; color: var(--ok); flex: none; }
.doc-list b { display: block; }
.doc-list span { color: var(--dim); font-size: 14px; }

/* Вопросы */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px;
  background: linear-gradient(var(--text), var(--text)) center/14px 2px no-repeat,
              linear-gradient(var(--text), var(--text)) center/2px 14px no-repeat;
  transition: transform .15s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--dim); font-size: 17px; }

/* Финальный призыв */
.cta { background: var(--ink); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.cta p { margin-top: 12px; color: #b9c3d4; font-size: 17px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 300px; }
.cta-phone { font-size: 34px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; text-align: center; }
.cta-phone:hover { color: #9ec0ff; }

/* Подвал */
.foot { background: #070b14; color: #8f9bb0; padding: 40px 0 48px; font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot .brand b { color: #fff; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Появление. Прячем только при работающем скрипте (.js на <html>): упади он —
   страница остаётся видимой целиком, а не пустой. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .card.in:hover { transform: translateY(-4px); }
.js .hero-in > * { opacity: 0; transform: translateY(18px); animation: rise .7s var(--ease) forwards; }
.js .hero-in > :nth-child(2) { animation-delay: .08s; }
.js .hero-in > :nth-child(3) { animation-delay: .16s; }
.js .hero-in > :nth-child(4) { animation-delay: .24s; }
.js .hero-in > :nth-child(5) { animation-delay: .32s; }
.js .form-card { opacity: 0; transform: translateY(24px) scale(.98); animation: rise .8s .2s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.btn-blue { position: relative; overflow: hidden; }
.btn-shine::after {
  /* Блик по главной кнопке раз в несколько секунд — чтобы глаз её находил */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: shine 5s 1.5s ease-in-out infinite;
}
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }

/* Нижняя панель на телефоне */
.dock { display: none; }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap { grid-template-columns: 1fr 400px; gap: 40px; }
  .nav { display: none; }
  .top-contacts { margin-left: auto; }
}
@media (max-width: 860px) {
  .js .card.in:hover { transform: none; }
  /* На телефоне форма уходит под текст, и снимок целиком лежит под заголовком */
  .hero-bg::after { background: linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,.85) 55%, rgba(11,18,32,.95) 100%); }
  .hero-bg img { object-position: 78% 50%; }
  :root { --gut: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; margin-top: 32px; }
  .facts li, .facts li + li { padding: 14px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid rgba(255,255,255,.12); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why { grid-template-columns: 1fr; }
  .why div { padding: 24px; }
  .docs { grid-template-columns: 1fr; gap: 28px; }
  .cta .wrap { flex-direction: column; align-items: stretch; }
  .cta-actions { min-width: 0; }
  .unsure { flex-direction: column; align-items: stretch; }
  .top-phone, .top .btn-blue { display: none; }
  .icon-btn {
    display: inline-flex; width: 40px; height: 40px; border-radius: var(--radius); align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.22);
  }
  .icon-btn svg { width: 18px; height: 18px; }
  .dock {
    display: grid; grid-template-columns: 1fr 46px 46px 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -8px rgba(19,26,46,.18);
  }
  .dock .btn { height: 46px; padding: 0 10px; font-size: 15px; }
  .dock .ico { padding: 0; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  /* Двадцать полноразмерных карточек на телефоне — одиннадцать экранов прокрутки.
     Здесь карточка — строка: название, строчка пояснения и кнопка справа. */
  .grid { grid-template-columns: 1fr; gap: 8px; }
  .card { padding: 10px 12px 10px 10px; display: grid; grid-template-columns: 84px 1fr auto; column-gap: 12px; align-items: center; }
  .card:hover { transform: none; }
  .card-img { grid-column: 1; grid-row: 1 / span 2; margin: 0; width: 84px; aspect-ratio: 1; border-radius: 8px; }
  .card-top { grid-column: 2; }
  .card h3 { font-size: 16px; }
  .card-n, .chips { display: none; }
  .card p { grid-column: 2; margin-top: 3px; font-size: 13px; line-height: 1.35; }
  .card .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; width: auto; height: 38px; padding: 0 12px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .hero-phone b { font-size: 26px; }
  .brand small { display: none; }
  .eyebrow { flex-wrap: wrap; }
  .live { flex-basis: 100%; margin: 8px 0 0; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; font-size: 16px; }
  .cta-phone { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js .hero-in > *, .js .form-card { opacity: 1; transform: none; }
  .js .steps li::before { width: 48px; }
}

/* ===== Многостраничность: всё ниже — для внутренних страниц и общих частей ===== */

/* Карточка каталога: картинка и название ведут на страницу машины,
   внизу цена «от» и две кнопки */
.card-link { text-decoration: none; color: inherit; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card-price { margin-top: 12px; font-size: 15px; color: var(--dim); }
.card-price b { color: var(--text); font-size: 18px; letter-spacing: -.01em; }
.card-wide .card-price, .card-wide .card-price b { color: #fff; }
.card-acts { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card .card-acts .btn { margin: 0; width: 100%; padding: 0 10px; }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #d6e2fc; }

/* Меню на телефоне: разделов стало шесть, в шапку они не влезают */
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .menu-btn {
    display: inline-flex; width: 40px; height: 40px; border-radius: var(--radius); align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.22); background: none; color: #fff; cursor: pointer;
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .top.open .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px var(--gut) 16px;
  }
  .top.open .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* Хлебные крошки */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; color: #8f9bb0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #5d6a82; }
.crumbs a { color: #b9c3d4; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Шапка внутренней страницы: текст слева, снимок в рамке справа */
.phero { position: relative; background: var(--ink); color: #fff; padding: 44px 0 64px; overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(59,130,246,.22), transparent 70%),
    linear-gradient(rgba(96,140,255,.06) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg, rgba(96,140,255,.06) 1px, transparent 1px) 0 0/48px 48px;
}
.phero .wrap { position: relative; }
.phero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.phero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.phero .lead { margin-top: 18px; font-size: 18px; color: #c3cad8; max-width: 600px; }
.phero-pic { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); }
.phero-pic img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s cubic-bezier(.2, .6, .3, 1) both; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge { padding: 10px 16px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.badge small { display: block; font-size: 12px; color: #8f9bb0; }
.badge b { font-size: 20px; letter-spacing: -.01em; }
.badge.main { background: var(--blue); border-color: var(--blue); }
.badge.main small { color: #c9d8ff; }
.phero .hero-actions { margin-top: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: #c3cad8; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: #4ade80; }
.sublinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sublinks span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #d4dbe7; }
.sublinks a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #d4dbe7; text-decoration: none; transition: border-color .15s var(--ease), color .15s var(--ease); }
.sublinks a:hover { border-color: #6f9dff; color: #fff; }

/* Текст статьи: узкая колонка, чтобы строку можно было прочитать, не крутя головой */
.article { max-width: 760px; }
.article h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 40px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { font-size: 18px; line-height: 1.65; color: #2a3140; }
.article ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.article li::marker { color: var(--blue); }

/* Таблица цен */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable th { font-size: 13px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; background: #f7f9fc; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:not(:first-child), .ptable th:not(:first-child) { text-align: right; white-space: nowrap; }
.ptable td b { font-size: 17px; }
.ptable td small { display: block; color: var(--dim); font-size: 14px; margin-top: 2px; white-space: normal; }
.ptable tbody tr { transition: background-color .15s var(--ease); }
.ptable tbody tr:hover { background: #f5f8ff; }
.ptable a { color: inherit; }
.note { margin-top: 14px; color: var(--dim); font-size: 15px; max-width: 820px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 20px; }

/* Плитки «для каких работ» */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; transition: border-color .2s var(--ease), box-shadow .25s var(--ease); }
.tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.tile:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(19,26,46,.3); }
.tile:hover::before { transform: scaleY(1); }
.tile h3 { font-size: 19px; }
.tile p { margin-top: 8px; color: var(--dim); }
.tile-n { font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .06em; display: block; margin-bottom: 14px; }

/* Характеристики */
.spec { width: 100%; border-collapse: collapse; }
.spec td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { color: var(--dim); width: 42%; padding-right: 16px; }
.spec td:last-child { font-weight: 600; }
.prose p + p { margin-top: 14px; }
.prose p { font-size: 17px; color: #2a3140; }
.prose a, .faq a, .note a, .cond a { color: var(--blue); }
.small-note { margin-top: 12px; font-size: 14px; color: var(--faint); }

/* Списки условий и шагов */
.cond { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cond li { display: flex; gap: 12px; align-items: start; font-size: 17px; }
.cond svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.olist { list-style: none; margin: 0; padding: 0; counter-reset: o; display: grid; gap: 14px; }
.olist li { counter-increment: o; display: flex; gap: 16px; align-items: start; font-size: 17px; }
.olist li::before { content: counter(o); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 15px; display: grid; place-items: center; }

/* Тёмный блок документов на вывоз */
.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(59,130,246,.2), transparent 70%),
              radial-gradient(ellipse 40% 50% at 0% 100%, rgba(14,165,233,.12), transparent 70%);
}
.dark .wrap { position: relative; }
.dark .head p { color: #b9c3d4; }
.dark .kicker { color: #8fb3ff; }
.dtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.dtile {
  display: flex; flex-direction: column; min-height: 210px; padding: 24px; border-radius: 12px; text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .25s var(--ease);
}
.dtile:hover { border-color: #3b82f6; background: rgba(59,130,246,.1); transform: translateY(-3px); }
.dtile h3 { font-size: 21px; }
.dtile p { margin-top: 10px; color: #aeb8c9; font-size: 15px; }
.dtile .more { margin-top: auto; padding-top: 18px; color: #6f9dff; font-weight: 700; }
.dtile:hover .more { color: #9ec0ff; }
.dtile.hl { border-color: rgba(59,130,246,.6); }

/* Услуги и материалы — карточки с ценой */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.scard:hover { border-color: var(--line-strong); box-shadow: 0 18px 36px -18px rgba(19,26,46,.35); transform: translateY(-4px); }
.js .scard.in:hover { transform: translateY(-4px); }
.scard .card-img { margin: 0; aspect-ratio: 16 / 9; }
.scard:hover .card-img img { transform: scale(1.06); }
.scard-b { padding: 20px 22px 22px; display: flex; flex-direction: column; }
.scard h3 { font-size: 20px; }
.scard p { margin-top: 8px; color: var(--dim); font-size: 15px; }
.scard .card-price { margin-top: auto; padding-top: 14px; }
.sgrid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .sgrid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sgrid.four { grid-template-columns: 1fr; } }

/* Блок с формой на внутренних страницах */
.form-sec { background: linear-gradient(180deg, #e9eef8, #f4f6fa); }
.form-sec .wrap { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.form-sec h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.form-sec .wrap > div > p { margin-top: 14px; font-size: 17px; color: var(--dim); }
.form-sec .hero-phone b { color: var(--text); }
.form-sec .hero-phone small { color: var(--faint); }
.form-sec .hero-actions { margin-top: 26px; }
.form-sec .btn-ghost { color: var(--text); border-color: var(--line-strong); }
.form-sec .btn-ghost:hover { border-color: var(--text); }
.form-sec .form-card { border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(19,26,46,.35); }
.js .form-sec .form-card { animation: none; opacity: 1; transform: none; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Подвал с картой сайта: ссылки на все страницы — и людям, и поиску */
.foot-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding-bottom: 36px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-map h4 { margin: 0 0 12px; color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.foot-map ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-map a { color: #8f9bb0; font-size: 14px; }
.foot > .wrap { display: block; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot-addr { margin-top: 6px; font-size: 13px; color: #6b7690; }

@media (max-width: 1080px) {
  .sgrid { grid-template-columns: repeat(2, 1fr); }
  .foot-map { grid-template-columns: repeat(3, 1fr); }
  .phero-grid { gap: 36px; }
}
@media (max-width: 860px) {
  .phero { padding: 28px 0 44px; }
  .phero-grid, .two, .form-sec .wrap { grid-template-columns: 1fr; gap: 28px; }
  .phero-pic { order: -1; }
  .phero .lead { font-size: 16px; }
  .ptable th, .ptable td { padding: 12px 14px; }
  .foot-map { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .js .scard.in:hover { transform: none; }
}
@media (max-width: 560px) {
  .sgrid { grid-template-columns: 1fr; }
  .card .card-acts { grid-column: 3; grid-row: 1 / span 3; display: block; }
  .card .card-acts .btn-line { display: none; }
  .card .card-acts .btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .card-price { grid-column: 2; margin-top: 4px; font-size: 13px; }
  .card-price b { font-size: 14px; }
  .card p.card-d { display: none; }
  .badge b { font-size: 17px; }
  .ptable td small { font-size: 13px; }
  /* Три колонки цен с «от 20 500 ₽» не влезали в 390 пикселей и раздвигали страницу */
  .ptable th, .ptable td { padding: 10px; }
  .ptable td b { font-size: 15px; }
  .ptable td:not(:first-child) { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .phero-pic img { animation: none; }
}

/* Плашка о cookie: Метрика ставит их всем, закон требует сказать об этом.
   На телефоне — над нижней панелью, иначе закрывала бы кнопки звонка. */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px;
  display: flex; gap: 16px; align-items: center; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px -12px rgba(19,26,46,.35);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: 14px; line-height: 1.45; color: var(--dim); }
.cookie a, .consent a { color: var(--blue); }
.cookie .btn { flex: none; height: 40px; padding: 0 18px; }
@media (max-width: 1080px) { .cookie { bottom: 80px; } }

/* Самые узкие телефоны, 320–370 точек. Шапка не помещалась: логотип, три
   значка связи и меню — 338 точек при 288 доступных, и кнопка меню уезжала
   за край экрана, открыть разделы было нечем. Значки связи здесь дублируют
   нижнюю панель (звонок, WhatsApp, Telegram), поэтому в шапке остаётся меню.
   Карточка-строка не сжималась уже самого длинного слова в названии
   («Экскаваторы-погрузчики») и выталкивала «Заказать» за край. */
@media (max-width: 370px) {
  .top .wrap { gap: 12px; }
  .top-contacts .icon-btn { display: none; }
  .card { grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 10px; }
  .card-img { width: 56px; }
  .card .btn, .card .card-acts .btn { padding: 0 10px; font-size: 13px; }
  .card h3 { overflow-wrap: anywhere; hyphens: auto; }
  /* «Асфальтоукладчика» в заголовках и «Экскаваторы-погрузчики» в таблице цен
     длиннее строки — без переноса в слове страница раздвигалась вбок. */
  h1, h2, .ptable th, .ptable td { overflow-wrap: anywhere; hyphens: auto; }
}
