/* АСК Неруд. Концепция: «карьер и техника» — белые рабочие поверхности, графит,
   сигнальный жёлтый как у самосвалов; крупные фото материала, плотная сетка. */
:root {
  --ink: #1c1b18;          /* графит, основной текст и тёмные секции */
  --ink-2: #2a2824;
  --paper: #ffffff;
  --stone: #f3f2ef;        /* светлый фон секций, оттенок щебня */
  --line: #e3e0d9;
  --muted: #6c675e;
  --accent: #ffb400;       /* сигнальный жёлтый */
  --accent-2: #f0a200;
  --on-accent: #1c1b18;
  --on-dark: #f5f3ee;
  --on-dark-muted: #b6b0a5;
  --ok: #1f7a4a;
  --err: #b42318;
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 14px;
  --r-sm: 10px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(28px, 4.6vw, 54px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.muted { color: var(--muted); font-size: 14px; margin-top: 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hl { color: var(--accent-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 600 15px/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--ghost span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn--ghost small { font-weight: 500; font-size: 12px; opacity: .8; }
.btn--lg { min-height: 58px; padding: 14px 28px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Шапка */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 36px; height: 36px; border-radius: 9px; background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; align-content: end; gap: 2px; padding: 6px; }
.logo__mark i { display: block; background: var(--accent); border-radius: 50% 50% 3px 3px; height: 10px; }
.logo__mark i:first-child { grid-column: 1 / 3; width: 60%; margin: 0 auto; height: 9px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__txt b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.logo__txt small { font-size: 11px; color: var(--muted); }
.logo--light .logo__txt small { color: var(--on-dark-muted); }
.hdr__nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.hdr__nav a { padding: 8px 9px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.hdr__nav a:hover, .hdr__nav a[aria-current] { background: var(--stone); }
.hdr__contacts { display: flex; flex-direction: column; text-align: right; flex: none; }
.hdr__phone { font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.hdr__contacts small { font-size: 12px; color: var(--muted); }
.hdr__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--stone); cursor: pointer; position: relative; flex: none; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 22px; height: 2px; background: var(--ink); content: ''; transition: transform .2s; }
.burger span { top: 22px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: flex; flex-direction: column; padding: 8px var(--gut) 20px; border-top: 1px solid var(--line); background: var(--paper); }
.mnav a { padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.mnav__phone { font-weight: 700 !important; font-size: 20px; border: 0 !important; }
@media (max-width: 1360px) { .hdr__cta { display: none; } }
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hdr__contacts { margin-left: auto; }
}
@media (max-width: 560px) { .hdr__contacts small { display: none; } .hdr__phone { font-size: 15px; } .logo__txt small { display: none; } .hdr__in { gap: 12px; min-height: 64px; } }
@media (max-width: 380px) { .logo__txt { display: none; } }

/* Первый экран */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__video { position: absolute; inset: 0; }
.hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video video.is-on { opacity: 1; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,18,15,.92) 0%, rgba(20,18,15,.78) 45%, rgba(20,18,15,.35) 100%); }
.hero__in { position: relative; padding-block: clamp(48px, 8vw, 96px); }
.hero__text { max-width: 860px; display: grid; gap: 22px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(30px, 4.8vw, 58px); }
.hero .hl { color: var(--accent); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: #e9e5dc; max-width: 640px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; color: #ddd8ce; }
.trust b { display: block; color: #fff; font-size: 15px; }
.trust svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } .hero__btns .btn { width: 100%; } }

/* Заголовок внутренних страниц */
.phead { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.phead::before { content: ''; position: absolute; inset: 0; background-image: var(--phead-img, none); background-size: cover; background-position: center; opacity: .35; }
.phead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.92), rgba(20,18,15,.55)); }
.phead .wrap { position: relative; z-index: 1; padding-block: clamp(36px, 6vw, 72px); display: grid; gap: 18px; }
.phead .hl { color: var(--accent); }
.phead__sub { max-width: 720px; color: #e3ded4; font-size: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--on-dark-muted); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a::after { content: '/'; margin-left: 8px; opacity: .6; }

/* Секции */
.sec { padding-block: clamp(48px, 7vw, 88px); }
.sec--tint { background: var(--stone); }
.sec--dark { background: var(--ink); color: var(--on-dark); }
.sec--dark .eyebrow { color: var(--accent); }
.sec--dark p { color: var(--on-dark-muted); }
.sec--accent { background: var(--accent); color: var(--on-accent); }
.sec__head { display: grid; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 760px; }
.sec__head p { color: var(--muted); font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > div { display: grid; gap: 18px; align-content: start; min-width: 0; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Крупные карточки категорий */
.bigcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.bigcard { position: relative; display: block; min-height: clamp(320px, 34vw, 440px); border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); isolation: isolate; }
.bigcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: -2; }
.bigcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,15,0) 35%, rgba(20,18,15,.88) 100%); }
.bigcard:hover img { transform: scale(1.04); }
.bigcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; }
.bigcard h3 { font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.bigcard p { color: #ece8df; font-size: 16px; max-width: 440px; }
.bigcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.tag { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.bigcard__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.bigcard__cta svg { transition: transform .2s; }
.bigcard:hover .bigcard__cta svg { transform: translateX(4px); }
@media (max-width: 720px) { .bigcards { grid-template-columns: 1fr; } }

/* Карточки товаров */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.product, .service { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); scroll-margin-top: 90px; }
.product__img { position: relative; aspect-ratio: 3 / 2; max-width: 100%; }
.product__img img, .service img { width: 100%; height: 100%; object-fit: cover; }
.service img { aspect-ratio: 3 / 2; height: auto; }
.product__frac { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20,18,15,.78); color: #fff; font-size: 13px; font-weight: 600; }
.product__body, .service__body { display: flex; flex-direction: column; gap: 16px; padding: 22px; flex: 1; }
.product h3, .service h3 { font-size: 22px; }
.specs { margin: 0; display: grid; gap: 0; }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.specs--big > div { font-size: 16px; padding: 14px 0; }
.product__use h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.product__use ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.product__use li { padding-left: 18px; position: relative; }
.product__use li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.service p { color: var(--muted); }
.price { font-family: var(--f-display); font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price__from { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price__unit { font-size: 15px; color: var(--muted); }
.price__ask { font-family: var(--f-body); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.services .price { font-size: 18px; }

/* Подбор по задаче */
.tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.task { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); font: 500 15px/1.35 var(--f-body); text-align: left; cursor: pointer; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.task:hover { border-color: var(--ink); box-shadow: 0 6px 20px rgba(28,27,24,.08); }
.task b { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Почему мы */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.why__item { background: var(--stone); padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.sec:not(.sec--tint) .why__item { background: var(--paper); }
.why__item h3::before { content: ''; display: block; width: 28px; height: 6px; border-radius: 3px; background: var(--accent); margin-bottom: 14px; }
.why__item p { color: var(--muted); }
.why--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; background: none; border: 0; overflow: visible; }
.why--5 .why__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.why--dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sec--dark .why--dark .why__item { background: var(--ink); }
.why--dark .why__item p { color: var(--on-dark-muted); }
@media (max-width: 960px) { .why, .why--dark, .why--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why, .why--dark, .why--5 { grid-template-columns: 1fr; } }

/* Калькулятор */
.sec--calc { background: var(--stone); scroll-margin-top: 70px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.calc__intro { display: grid; gap: 16px; }
.calc__intro > p { color: var(--muted); font-size: 17px; }
.calc__help { margin-top: 8px; padding: 20px; border-radius: var(--r); border: 1px dashed #cfcac0; display: grid; gap: 10px; }
.calc__help h3 { font-size: 16px; }
.calc__help p { font-size: 15px; color: var(--muted); }
.vol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.vol label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.vol input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: 500 15px var(--f-body); background: var(--paper); color: var(--ink); }
.vol .btn { grid-column: 1 / -1; justify-self: start; }
.calc__box { background: var(--paper); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(28,27,24,.08); }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
.calc__res { display: grid; gap: 8px; padding: 18px; border-radius: var(--r-sm); background: var(--ink); color: var(--on-dark); font-variant-numeric: tabular-nums; }
.calc__res > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.calc__res span { color: var(--on-dark-muted); font-size: 14px; }
.calc__res small { display: block; font-size: 12px; }
.calc__total { padding-top: 10px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.15); }
.calc__total b { font-family: var(--f-display); font-size: 26px; color: var(--accent); }
.calc__note { font-size: 12px; color: var(--on-dark-muted); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc__row { grid-template-columns: 1fr; } }

/* Поля форм */
.lead { display: grid; gap: 14px; }
.lead__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: 500 16px/1.3 var(--f-body); }
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,180,0,.35); }
.fld input.is-err { border-color: var(--err); }
.lead__agree { font-size: 12px; color: var(--muted); }
.lead__msg { font-weight: 600; font-size: 15px; padding: 12px 14px; border-radius: var(--r-sm); background: #e8f4ec; color: var(--ok); }
.lead__msg.is-err { background: #fdecea; color: var(--err); }
.lead--dark .fld { color: var(--on-accent); }
.lead--dark .fld input, .lead--dark .fld textarea { border-color: rgba(28,27,24,.25); }
.lead--dark .btn--accent { background: var(--ink); color: var(--on-dark); }
.lead--dark .btn--accent:hover { background: var(--ink-2); }
.lead--dark .lead__agree { color: rgba(28,27,24,.75); }
@media (max-width: 520px) { .lead__fields { grid-template-columns: 1fr; } .lead .btn { width: 100%; } }

/* Машины */
.trucks { display: grid; gap: 14px; }
.trucks__item { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: center; }
.trucks__bar { height: 34px; border-radius: 8px; background: rgba(127,120,108,.18); overflow: hidden; }
.trucks__bar i { display: block; height: 100%; border-radius: 8px; background: repeating-linear-gradient(135deg, var(--accent) 0 14px, var(--accent-2) 14px 28px); }
.trucks__lbl { display: flex; flex-direction: column; line-height: 1.2; }
.trucks__lbl b { font-family: var(--f-display); font-size: 20px; font-variant-numeric: tabular-nums; }
.trucks__lbl span { font-size: 13px; color: var(--muted); }
.sec--dark .trucks__lbl span { color: var(--on-dark-muted); }
.trucks__note { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .trucks__item { grid-template-columns: minmax(0, 1fr) 130px; } }

/* B2B тизер */
.b2bt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.b2bt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.b2bt__body { display: grid; gap: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); margin-top: 1px; }
@media (max-width: 860px) { .b2bt { grid-template-columns: 1fr; } }

/* Этапы */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(st); font-family: var(--f-display); font-weight: 800; font-size: 32px; color: var(--accent-2); line-height: 1; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Города */
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.city { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.city:hover, .city.is-current { border-color: var(--ink); }
.city.is-current { background: var(--accent); }
.city svg { width: 22px; height: 22px; color: var(--accent-2); }
.city.is-current svg { color: var(--ink); }
.city span { display: flex; flex-direction: column; line-height: 1.25; }
.city small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq__list { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.faq summary { cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font-size: 20px; font-weight: 500; }
.faq details[open] summary::after { content: '−'; background: var(--accent); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cta > div { display: grid; gap: 14px; }
.cta p { font-size: 17px; }
.cta__phone a { font-weight: 700; font-size: 20px; white-space: nowrap; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Таблицы */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.tbl table { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--stone); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:last-child { text-align: right; }
.tbl a { font-weight: 600; text-decoration: none; }
.tbl a:hover { text-decoration: underline; }

/* Контакты, тексты */
.contacts { display: grid; gap: 22px; }
.contacts > div { display: grid; gap: 4px; }
.contacts span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contacts__big { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.contacts__mid { font-size: 22px; font-weight: 600; }
.formcard { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--stone); display: grid; gap: 12px; }
.formcard p { color: var(--muted); }
.prose { display: grid; gap: 16px; max-width: 760px; font-size: 17px; }
.prose h2 { font-size: 22px; margin-top: 12px; }
.terms { display: grid; gap: 14px; }

/* Подвал */
.ftr { background: #141310; color: var(--on-dark-muted); padding-block: 56px 96px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; }
.ftr__grid > div { display: grid; gap: 10px; align-content: start; }
.ftr h3 { color: var(--on-dark); font-size: 15px; margin-bottom: 4px; }
.ftr a { text-decoration: none; color: var(--on-dark-muted); }
.ftr a:hover { color: var(--on-dark); }
.ftr .logo, .ftr .logo b { color: var(--on-dark); }
.ftr__brand p { max-width: 300px; font-size: 14px; }
.ftr__cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ftr__phone { font-size: 20px; font-weight: 700; color: var(--on-dark) !important; }
.ftr .btn { justify-self: start; }
.ftr__bottom { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* Мобильная панель */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { min-height: 50px; }
  body { padding-bottom: 72px; }
}

/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20,18,15,.6); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px; }
.modal__box h2 { font-size: clamp(22px, 3vw, 28px); padding-right: 36px; }
.modal__sub { color: var(--muted); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--stone); font-size: 24px; cursor: pointer; color: var(--ink); }
.modal__or { font-size: 14px; color: var(--muted); }
.modal__or a { font-weight: 700; color: var(--ink); }
.modal .lead__fields { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.split > div > .btn { justify-self: start; }
.b2bt__body, .cta > div, .calc__intro { min-width: 0; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; } }
@media (max-width: 440px) {
  .hdr__in { gap: 8px; }
  .logo__txt b { font-size: 15px; }
  .logo__mark { width: 32px; height: 32px; }
  .hdr__phone { font-size: 14px; }
  .burger { width: 42px; height: 42px; }
  .burger span { top: 20px; left: 10px; }
}
.b2bt img { height: auto; align-self: center; }
.hdr__nav { flex-wrap: nowrap; }
.hdr__nav a { white-space: nowrap; padding: 8px 8px; }
@media (max-width: 1460px) { .hdr__cta { display: none; } }
@media (max-width: 1220px) { .hdr__nav a[href="kontakty.html"] { display: none; } }
.phead::before { opacity: .5; }

/* Галерея реальных фото */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); aspect-ratio: 3 / 4; max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .gallery figure { flex: 0 0 62%; scroll-snap-align: start; }
}
.trucks__lbl b { font-size: 17px; }
.phead::before { display: none; }
.phead__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }

/* Логотип (утверждённый вариант: «А» из слоёв) */
.logo img { display: block; height: 46px; width: auto; }
.logo__short { display: none !important; }
.ftr__legal { font-size: 13px; }
@media (max-width: 560px) {
  .logo__full { display: none !important; }
  .logo__short { display: block !important; height: 28px !important; }
}

/* Слайдер фото в карточке товара */
.slider { position: absolute; inset: 0; overflow: hidden; }
.slider__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track img { flex: 0 0 100%; scroll-snap-align: start; }
.slider__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #1c1b18; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.slider__btn--prev { left: 10px; } .slider__btn--next { right: 10px; }
.slider__btn:hover { background: #ffb400; }
.slider__dots { position: absolute; right: 14px; bottom: 18px; display: flex; gap: 6px; }
.slider__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.slider__dots i.is-on { background: #ffb400; }

/* Офис: адрес, мини-карта, маршрут */
.office__addr { font-size: 18px; font-weight: 600; line-height: 1.5; }
.office__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.office__map { position: relative; border-radius: 18px; overflow: hidden; min-height: 340px; background: var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.office__map iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
@media (min-width: 901px) { .office__navi { display: none; } }
.office__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; text-decoration: none; color: var(--ink); background: repeating-linear-gradient(45deg, #f4f1ea 0 22px, #ece7dc 22px 44px); }
.office__ph b { max-width: 320px; font-size: 16px; line-height: 1.4; }
.office__ph span { font-weight: 600; text-decoration: underline; }

/* Адаптив: доработки 06.10 */
.calc__box, .calc__intro { min-width: 0; }
select, input, textarea { max-width: 100%; min-width: 0; }
select { text-overflow: ellipsis; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.trust li > span { min-width: 0; }
@media (max-width: 400px) {
  .hdr__contacts { display: none; }
  .burger { margin-left: auto; }
  .mbar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mbar .btn { padding-left: 10px; padding-right: 10px; font-size: 15px; gap: 6px; }
}
/* Список преимуществ на светлом фоне (страница «О компании») */
.sec .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; align-content: start; }
.sec .trust li { color: var(--muted); font-size: 15px; }
.sec .trust b { color: var(--ink); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 480px) { .sec .trust { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .city { padding: 12px; gap: 8px; }
  .city svg { width: 18px; height: 18px; flex: none; }
  .city span { min-width: 0; }
  .city b { font-size: 14px; overflow-wrap: anywhere; }
  .city small { font-size: 12px; white-space: nowrap; }
}
@media (max-width: 600px) {
  .specs--big > div { display: grid; grid-template-columns: 1fr; gap: 2px; text-align: left; }
  .specs--big dd { text-align: left; justify-self: start; }
}
@media (max-width: 420px) {
  .calc__total { flex-wrap: wrap; }
  .calc__total b { font-size: 22px; white-space: nowrap; }
}
@media (max-width: 360px) { .city svg { display: none; } .city { padding: 10px 12px; } }
/* Телефон в горизонтальном положении и низкие экраны */
@media (max-height: 520px) and (orientation: landscape) {
  .hdr__in { min-height: 56px; }
  .hdr__contacts small { display: none; }
  .logo img { height: 34px; }
  .mbar { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .mbar .btn { min-height: 40px; }
}
