/* Строймаг — дизайн-система v3 «стройбаза».
   Белый лист, чёрный текст, один цвет действия (оранжево-красный); WhatsApp зелёный только на своих кнопках.
   Заголовки — узкий жирный гротеск (Sofia Sans Condensed): длинные русские H1/H2 встают в 1–2 строки.
   Блоки с текстом — не карточки с тенью, а колонки под жирной линейкой; рамка только у прайса, формы,
   расчётов и фото-карточек. Теней нет (кроме формы первого экрана). Один файл, без фреймворков. */

@font-face { font-family: "Onest"; src: url(/assets/fonts/onest-cyr.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url(/assets/fonts/onest-lat.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia"; src: url(/assets/fonts/sofia-cyr.woff2) format("woff2"); font-weight: 600 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia"; src: url(/assets/fonts/sofia-lat.woff2) format("woff2"); font-weight: 600 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #12151a;       /* заголовки, тёмные полосы, линейки */
  --ink-2: #1d2128;
  --text: #20242a;
  --muted: #646b75;
  --brand: #f0500f;     /* действие: кнопки, цена «от», акценты */
  --brand-d: #c93f06;   /* ссылки-действия на белом (AA) */
  --brand-soft: #fff1ea;
  --wa: #1fa855;
  --wa-d: #178a45;
  --bg: #ffffff;
  --soft: #f4f5f6;
  --line: #e4e6e9;
  --line-2: #cdd1d6;
  --ok: #1c7a48;
  --err: #c0362c;
  --display: "Sofia", "Arial Narrow", "Roboto Condensed", "Onest", sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 8px; --r: 12px; --r-l: 16px;
  --wrap: 1240px; --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); font-variant-numeric: lining-nums; padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; font-size: 16.5px; } :root { --gut: 28px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-d); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid rgba(240, 80, 15, .5); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(36px, 9.6vw, 66px); line-height: .98; }
h2 { font-size: clamp(29px, 7vw, 46px); line-height: 1.02; }
h3 { font: 700 18px/1.3 var(--body); }
p { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }
.muted { color: var(--muted); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-s { width: 18px; height: 18px; }
.ic-xl { width: 56px; height: 56px; stroke-width: 1.3; }
.ic-tile { width: 28px; height: 28px; color: var(--brand); stroke-width: 1.6; }

/* ---------------------------------------------------------------- кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 10px;
  background: var(--brand); color: #fff; font: 700 16px/1.1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s, box-shadow .15s; }
.btn:hover { background: var(--brand-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-l { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-s { min-height: 38px; padding: 8px 14px; font-size: 14.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-wa { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-wa .ic { color: var(--wa); }
.btn-wa:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--wa); }
.cta-band .btn-wa, .sec-lead .btn-wa { background: var(--wa); color: #fff; box-shadow: none; }
.cta-band .btn-wa .ic, .sec-lead .btn-wa .ic { color: #fff; }
.cta-band .btn-wa:hover, .sec-lead .btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand-d); }
.btn-soft:hover { background: var(--brand); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- шапка */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font: 900 26px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.logo-t small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.nav { display: none; }
.citypick { position: relative; margin-left: auto; }
.citypick summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.citypick summary::-webkit-details-marker, .burger summary::-webkit-details-marker { display: none; }
.citypick summary:hover { background: var(--soft); }
.citypick summary .ic { color: var(--brand); width: 18px; height: 18px; }
.citypick summary .ic-s { color: var(--muted); width: 15px; height: 15px; }
.citypick-list { position: absolute; right: -60px; top: calc(100% + 8px); width: min(92vw, 520px); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 24px 48px -12px rgba(18, 21, 26, .22); padding: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 10px; z-index: 50; }
.citypick-list p { grid-column: 1 / -1; margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.citypick-list a { padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--text); }
.citypick-list a:hover { background: var(--soft); color: var(--ink); }
.citypick-list a[aria-current] { background: var(--ink); color: #fff; }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.hdr-phone, .hdr-cta { display: none; }
.hdr-wa span { display: none; }
.hdr-wa { padding: 8px 10px; min-height: 40px; }
@media (max-width: 520px) {
  .logo-t small { display: none; }
  .logo-mark { width: 27px; height: 27px; }
  .logo-t b { font-size: 22px; }
  .citypick summary { padding: 6px; font-size: 14px; }
  .citypick summary .ic-s { display: none; }
  .hdr-in { gap: 4px; }
}
.burger { display: flex; padding: 8px; border-radius: 8px; color: var(--ink); cursor: pointer; }
.mnav-t:checked ~ .burger { background: var(--soft); }
.mega { display: none; }
@media (max-width: 1099px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 24px 48px -12px rgba(18, 21, 26, .22);
    padding: 4px var(--gut) 96px; max-height: calc(100vh - 62px); max-height: calc(100dvh - 62px); overflow-y: auto; overscroll-behavior: contain; }
  .mnav-t:checked ~ .nav { display: block; }
  .nav-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--line); }
  .nav-a { padding: 13px 4px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
  .nav-a[aria-current] { color: var(--brand-d); }
  .ni-l { display: flex; padding: 13px 10px; color: var(--muted); cursor: pointer; }
  .ni-l .ic { transition: transform .2s; }
  .ni-t:checked + .ni-l .ic { transform: rotate(180deg); }
  .ni-t:checked ~ .mega { display: block; grid-column: 1 / -1; padding: 0 4px 12px; }
  .mega .wrap { max-width: none; padding: 0; }
  .mega-t { display: none; }
  .mega-h { margin: 10px 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .mega-g ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .mega-g a { display: block; padding: 8px 0; text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.3; }
  .mega-g li:has(> .mega-more) { grid-column: 1 / -1; }
  .mega-g .mega-more { font-weight: 700; color: var(--brand-d); }
  .nav-x a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; }
  .nav-x a:last-child { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .hdr-in { min-height: 72px; gap: 12px; }
  .nav { display: flex; gap: 0; margin-left: 10px; align-self: stretch; }
  .nav-i { display: flex; align-items: stretch; }
  .ni-l, .nav-x { display: none; }
  .nav-a { display: flex; align-items: center; padding: 0 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .15s, color .15s; }
  .nav-i:hover .nav-a, .nav-i:focus-within .nav-a { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
  .nav-a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand); }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 39; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2);
    box-shadow: 0 40px 60px -30px rgba(18, 21, 26, .35); padding: 30px 0 36px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility 0s .16s; }
  .nav-i:hover .mega, .nav-i:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .16s .06s, transform .16s .06s, visibility 0s .06s; }
  .mega-in { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
  .mega-t b { display: block; font: 800 38px/1 var(--display); color: var(--ink); }
  .mega-t p { margin: 12px 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
  .mega-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--brand-d); text-decoration: none; }
  .mega-all:hover { text-decoration: underline; }
  .mega-gs { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; }
  .mega-gs > .mega-g:only-child { grid-column: 1 / -1; }
  .mega-gs-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .mega-h { margin: 0 0 10px; padding-bottom: 9px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
  .mega-g ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 28px; }
  .mega-gs-2 .mega-g ul { columns: 2; }
  .mega-gs-2 .mega-g + .mega-g ul { columns: 3; }
  .mega-g-s ul { columns: 1; }
  /* раздел с группами (3+ колонок): узкие колонки, большие группы — на две */
  .mega-gs-n { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 30px; }
  .mega-gs-n .mega-g ul { columns: 1; }
  .mega-gs-n .mega-g-l { grid-column: span 2; }
  .mega-gs-n .mega-g-l ul { columns: 2; column-gap: 24px; }
  .mega-g li { break-inside: avoid; }
  .mega-g a { display: block; padding: 5px 0; text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500; line-height: 1.3; }
  .mega-g a:hover { color: var(--brand-d); }
  .mega-g .mega-more { font-weight: 700; color: var(--brand-d); margin-top: 4px; }
  .citypick-list { right: 0; }
  .hdr-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .hdr-phone .ic { display: none; }
  .hdr-wa { display: none; }
  .hdr-cta { display: inline-flex; }
  .burger { display: none; }
  .logo-t small { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .hdr-phone { display: none; } }
@media (min-width: 1520px) { .logo-t small { display: block; } }
@media (min-width: 900px) and (max-width: 1099px) { .hdr-wa span { display: inline; } .hdr-wa { padding: 8px 14px; } .hdr-cta { display: inline-flex; } }

main > .wrap:first-child:has(> .crumbs) { background: var(--soft); max-width: none; padding-left: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); padding-right: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); }
.crumbs ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-d); }

/* ---------------------------------------------------------------- первый экран */
.hero { position: relative; padding: 16px 0 32px; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-in { display: flex; flex-direction: column; gap: 16px; }
.hero-main, .hero-side { display: contents; }
.kicker { order: 0; display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kicker .ic { color: var(--brand); }
.hero h1 { order: 1; }
.hl { color: var(--brand); }
.lead-p { order: 2; font-size: 16.5px; line-height: 1.55; color: #3a4049; margin: 0; max-width: 60ch; }
.hero-price { order: 3; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
.hero-price .hp-v { color: var(--muted); font-size: 17px; font-weight: 600; white-space: nowrap; }
.hero-price b { font: 800 40px/1 var(--display); color: var(--ink); margin: 0 3px 0 2px; }
.hero-price a { font-size: 14px; font-weight: 600; color: var(--brand-d); text-decoration: none; }
.hero-price a:hover { text-decoration: underline; }
.quick { order: 4; }
.hero-card { order: 5; }
.offers { order: 6; }
.hero-btns { order: 7; display: none; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1000px) {
  .hero { padding: 22px 0 56px; }
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: start; }
  .hero-main, .hero-side { display: flex; flex-direction: column; gap: 22px; }
  .hero-main { padding-top: 14px; }
  .hero-btns { display: flex; order: 4; }
  .quick { order: 5; }
  .lead-p { font-size: 18px; }
  .hero-price b { font-size: 48px; }
}

.fig { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--line); }
.fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fig figcaption { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 5px; background: rgba(18, 21, 26, .6); color: #fff; font-size: 10.5px; line-height: 1.35; }
.fig figcaption a { color: #fff; text-decoration: none; }
.fig img.fit, .card-img img.fit, .sect-img img.fit { object-fit: contain; background: #fff; padding: 10px; }
.hero-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(18, 21, 26, .3); }
.hero-card .fig { border-radius: 0; }
.hero-card .hero-fig img { aspect-ratio: 16 / 9; }
@media (min-width: 1000px) { .hero-card .hero-fig img { aspect-ratio: 16 / 8; } }

.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 24px; }
.offers li { display: flex; gap: 9px; align-items: flex-start; }
.offers .ic { color: var(--ok); margin-top: 2px; }
.offers b { display: block; font-size: 15px; line-height: 1.3; color: var(--ink); }
.offers span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
@media (min-width: 620px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .offers { padding-top: 22px; border-top: 1px solid var(--line-2); gap: 14px 28px; } }

.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.quick div { padding-left: 11px; border-left: 3px solid var(--brand); }
.quick dt { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.quick dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.3; }
@media (min-width: 1000px) { .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.qform { background: #fff; padding: 18px 16px 20px; }
.qform-h { font: 800 28px/1.05 var(--display); color: var(--ink); margin: 0 0 4px; }
.qform-sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.hero-side > .qform { border: 1px solid var(--line-2); border-radius: var(--r-l); }
@media (min-width: 1000px) { .qform { padding: 22px 24px 24px; } }

.page-head { padding: 20px 0 36px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 10px 0 12px; }
.page-doc { background: #fff; border-bottom: 0; }
.page-doc .prose { max-width: 78ch; }
.page-doc h2 { margin: 34px 0 12px; font-size: 30px; }

/* ---------------------------------------------------------------- секции */
.sec { padding: 44px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 22px; max-width: 920px; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
.sec-note { color: var(--muted); }
.more { margin: 20px 0 0; font-weight: 700; }
.more a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--brand-d); }
.more a:hover { text-decoration: underline; }
@media (min-width: 900px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 30px; } }
.prose { max-width: 74ch; }
.note { background: var(--soft); border-left: 3px solid var(--brand); border-radius: 0 var(--r-s) var(--r-s) 0; padding: 10px 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.split > *, .lead > *, .hero-in > * { min-width: 0; }
.prose, .article, .note, td, th { overflow-wrap: break-word; }
tbody th { min-width: 110px; }
.city-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.city-grid h3 { margin-bottom: 12px; }
@media (min-width: 1000px) { .city-grid.two { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; } }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; } }
.split h3 { margin: 0 0 12px; }
.split h3 + * { margin-bottom: 20px; }
.box { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; }
.box h3 { margin-bottom: 12px; }
.box .btn { margin-top: 16px; }

/* полоса-призыв */
.cta-band { margin: 0; padding: 20px; border-radius: var(--r); background: var(--ink); color: #fff; display: grid; gap: 14px; }
.cta-band p { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.4; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-btns .btn { flex: 1 1 160px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 22px 28px; } .cta-band p { font-size: 18.5px; } .cta-btns .btn { flex: 0 0 auto; } }

/* ---------------------------------------------------------------- прайс */
.pricelist { background: #fff; border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; }
.pricelist ul { list-style: none; margin: 0; padding: 0; }
.pl-head { display: none; }
.pl-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 13px 16px; border-top: 1px solid var(--line); }
.pl-row:first-child { border-top: 0; }
.pl-name b { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.pl-name b a { text-decoration-color: var(--line-2); }
.pl-name small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 1px; }
.pl-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.pr { font-weight: 800; font-size: 19px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr small { font-weight: 500; font-size: 13.5px; color: var(--muted); }
.pr-ask { color: var(--muted); font-weight: 600; }
.pr-ask small { margin-left: 4px; font-weight: 400; font-size: 12.5px; }
.pl-extra .pl-name b { font-weight: 600; }
@media (min-width: 760px) {
  .pl-head { display: grid; grid-template-columns: minmax(0, 1fr) 380px; padding: 10px 22px; background: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
  .pl-head span:last-child { text-align: right; }
  .pl-row { grid-template-columns: minmax(0, 1fr) 380px; align-items: center; padding: 14px 22px; }
  .pl-row:hover { background: #fafafa; }
  .pl-price { justify-content: flex-end; text-align: right; }
  .pr { font-size: 21px; }
}
.pl-ask { margin-top: 22px; }
.pl-ask-h { margin: 0 0 4px; font-weight: 700; font-size: 17px; color: var(--ink); }
.pl-ask-s { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.pl-ask ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-ask li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 9px 9px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.pl-ask li > span { min-width: 0; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); }
.pl-ask li small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.pl-ask .btn { flex: none; }
@media (min-width: 700px) { .pl-ask ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pl-ask ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pl-note + .prose, .tbl + .prose { margin-top: 20px; }
.pl-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; max-width: 90ch; }
.price-meta, .price-deliv, .districts { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 90ch; }
.price-meta .ic, .price-deliv .ic, .districts .ic { color: var(--ok); margin-top: 2px; }
.price-deliv .ic, .districts .ic { color: var(--brand); }
.price-deliv b, .price-meta b { color: var(--text); }
.noprice { display: flex; gap: 14px; align-items: flex-start; background: var(--brand-soft); border-radius: var(--r); padding: 18px; margin-bottom: 14px; }
.noprice-h { font: 800 26px/1.1 var(--display); color: var(--ink); margin: 0 0 6px; }
.noprice p:last-child { margin-bottom: 0; }
.noprice .btn { margin-top: 4px; }
.near { margin-top: 18px; }
.near-h { font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.near ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.near li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.near li small { color: var(--muted); font-size: 12.5px; }
.near .pr { font-size: 16px; }

/* ---------------------------------------------------------------- карточки с фото */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
/* группы позиций раздела на хабах: подзаголовок под жирной линейкой + карточки */
.grp + .grp { margin-top: 40px; }
.grp-h { display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 800 26px/1.1 var(--display); color: var(--ink); }
.grp-h .ic { color: var(--brand); flex: none; }
.grp-s { margin: 10px 0 16px; color: var(--muted); max-width: 70ch; }
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: border-color .15s; }
.card:hover { color: var(--text); border-color: var(--ink); }
.card-img { display: block; aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-ph { display: grid; place-items: center; color: var(--line-2); background: var(--soft); }
.card-b { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.card-t { font-weight: 700; color: var(--ink); line-height: 1.25; font-size: 16px; }
.card-v { font-size: 13px; color: var(--muted); line-height: 1.4; }
.card-p { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }
.card-p b { color: var(--ink); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .card-v { display: none; } .card-b { padding: 10px 11px 12px; } .card-t { font-size: 15px; } }

.sect-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .sect-tiles { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.sect-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 230px; text-decoration: none; color: #fff; background: var(--ink); border-radius: var(--r-l); overflow: hidden; isolation: isolate; }
.sect-tile:hover { color: #fff; }
.sect-img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sect-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 21, 26, .05) 20%, rgba(18, 21, 26, .88) 88%); }
.sect-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sect-tile:hover .sect-img img { transform: scale(1.05); }
.sect-b { display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.sect-b b { font: 800 30px/1.02 var(--display); color: #fff; }
.sect-b span { color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.4; }
.sect-go { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 700; margin-top: 6px; }
.sect-go .ic { color: var(--brand); }
@media (min-width: 900px) { .sect-tile { min-height: 340px; } .sect-b { padding: 22px; } .sect-b b { font-size: 36px; } }

/* ---------------------------------------------------------------- текстовые блоки: колонки под линейкой */
.types, .when, .qa, .mist { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px 32px; }
@media (min-width: 760px) { .types, .when, .qa, .mist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .types, .when { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; } .qa, .mist { gap: 32px 56px; } }
.type, .when-i, .qa-i, .mist li { border-top: 2px solid var(--ink); padding-top: 14px; }
.type { position: relative; }
.type-n { display: block; font: 800 15px/1 var(--display); letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
.type h3, .when-i h3, .qa-i h3, .mist h3 { margin-bottom: 6px; font-size: 19px; }
.type h3 a { text-decoration: none; }
.type h3 a:hover { text-decoration: underline; }
.type p, .when-i p, .qa-i p, .mist p { color: #3d434c; font-size: 15.5px; }
.qa-i p, .mist p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tags span, .tag { display: inline-block; font-size: 12.5px; line-height: 1.3; padding: 4px 9px; border-radius: 6px; background: var(--soft); color: #4a5059; }
.type-more, .case-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-weight: 700; text-decoration: none; color: var(--brand-d); font-size: 14.5px; }
.type-more:hover, .case-more:hover, .when-f a:hover { text-decoration: underline; }
.when-i { display: flex; flex-direction: column; }
.when-i .ic-tile { display: none; }
.when-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 2px; }
.when-f a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; text-decoration: none; color: var(--brand-d); font-size: 14.5px; }
.mist li { display: flex; gap: 12px; align-items: flex-start; border-top-color: var(--err); }
.mist .ic-tile { color: var(--err); width: 26px; height: 26px; margin-top: 1px; }

.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.case { background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--line-2); scroll-margin-top: 90px; }
.case:target { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.case h3 { margin-bottom: 8px; font-size: 19px; }
.case-given { color: #3d434c; font-size: 15px; }
.case-f { margin: 10px 0 12px; padding: 11px 14px; background: var(--soft); border-radius: var(--r-s); font-size: 14px; }
.case-f span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.case-f code { font: 500 13.5px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.case-r { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; font-size: 18px; line-height: 1.3; color: var(--ink); }
.case-r .ic { color: var(--brand); margin-top: 3px; }
.case-t { display: flex; gap: 8px; align-items: flex-start; color: #3d434c; font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.case-t .ic { color: var(--muted); margin-top: 2px; }
.case-a summary { cursor: pointer; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.case-a ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.calc-wrap { margin-top: 32px; }
.calc-wrap h3 { margin-bottom: 12px; font-size: 20px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--ok); margin-top: 3px; }
@media (min-width: 760px) { .checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-2); }
.steps li:first-child { border-top: 2px solid var(--ink); }
.steps p { margin: 3px 0 0; }
.step-n { flex: none; width: 34px; font: 800 34px/1 var(--display); color: var(--brand); }
.steps-4 { gap: 24px 32px; }
.steps-4 li { flex-direction: column; gap: 8px; padding: 14px 0 0; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.steps-plain { padding-left: 22px; list-style: decimal; display: block; }
.steps-plain li { display: list-item; margin-bottom: 8px; padding: 0; border: 0 !important; }
.ticks { padding-left: 20px; }
.ticks li { margin-bottom: 6px; }

.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.factors li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.factors .ic { color: var(--brand); margin-top: 3px; }

.faq { max-width: 880px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 16px 0; font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ink); }
.faq summary:hover { color: var(--brand-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--brand); transition: transform .2s; margin-top: 3px; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 34px 18px 0; margin: 0; color: #3d434c; }

.article { max-width: 72ch; }
.article h3 { font-size: 21px; margin: 30px 0 10px; }
.article h3:first-child { margin-top: 0; }
.article p { line-height: 1.7; }

.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a, .pills span { display: inline-block; padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.pills a:hover { border-color: var(--ink); color: var(--ink); }
.pills a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills-static span { font-weight: 500; color: var(--text); }
.type-logo { display: block; height: 26px; width: auto; max-width: 110px; object-fit: contain; object-position: left center; margin-bottom: 10px; }
.pills-logo a { display: inline-flex; align-items: center; gap: 9px; }
.pills-logo img { height: 18px; width: auto; max-width: 62px; object-fit: contain; flex: none; }

.links-big { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .links-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .links-big { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.links-big a { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.3; }
.links-big a::after { content: "→"; color: var(--brand); font-weight: 700; flex: none; transition: transform .15s; }
.links-big a:hover { color: var(--brand-d); }
.links-big a:hover::after { transform: translateX(4px); }
.links-big .ic-tile { display: none; }
.links-big .muted { font-weight: 400; }
.links-big + .factors, .factors + .links-big, .links-big + .links-big { margin-top: 24px; }

.srcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.srcs li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.srcs .ic { color: var(--brand); margin-top: 3px; }
.srcs b { display: block; color: var(--ink); line-height: 1.3; }
.srcs span { display: block; font-size: 14px; color: #3d434c; margin-top: 2px; }
.srcs small { font-size: 12px; }
.srcs small a { color: var(--muted); }
.sources { margin-top: 16px; font-size: 13px; color: var(--muted); }
.sources summary { cursor: pointer; font-weight: 600; }
.sources ul { margin: 8px 0 0; padding-left: 18px; }
.sources a { color: var(--muted); word-break: break-all; }

/* ---------------------------------------------------------------- таблицы */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: var(--r); border: 1px solid var(--line-2); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
thead th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--soft); padding: 10px 14px; white-space: nowrap; }
tbody th, tbody td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
tbody tr:first-child th, tbody tr:first-child td { border-top: 0; }
thead + tbody tr:first-child th, thead + tbody tr:first-child td { border-top: 1px solid var(--line-2); }
tbody th { font-weight: 700; color: var(--ink); }
tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
td.src { font-size: 12.5px; color: var(--muted); min-width: 120px; }
td.src a { color: var(--muted); }
table.trucks th .ic { color: var(--brand); vertical-align: -3px; margin-right: 6px; }
table.trucks td b { color: var(--ink); font-weight: 800; }
@media (max-width: 640px) { .hide-s { display: none; } tbody th, tbody td { padding: 10px 12px; } table { font-size: 14.5px; } }
.photos .ph-t img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }

/* ---------------------------------------------------------------- калькулятор */
.calc { background: #fff; border-radius: var(--r); padding: 18px; border: 1px solid var(--line-2); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-grid .f-wide { grid-column: 1 / -1; }
@media (min-width: 760px) { .calc { padding: 22px; } .calc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.calc-out { display: block; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-s); background: var(--soft); border-left: 3px solid var(--brand); min-height: 54px; font-variant-numeric: tabular-nums; }
.calc-out b { color: var(--ink); font: 800 30px/1 var(--display); }
.calc-out .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.calc-out .row:last-child { border-bottom: 0; }
.calc-hint { color: var(--muted); font-size: 14px; }
.calc-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- формы */
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f span { font-size: 13px; font-weight: 600; color: #4a5059; }
input, select, textarea { font: 400 16px/1.3 var(--body); color: var(--text); width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; min-height: 50px; }
::placeholder { color: #9aa0a8; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646b75' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(240, 80, 15, .16); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.lead-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lead-form-q { gap: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 0; padding: 0; accent-color: var(--brand); }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lead-actions .btn { flex: 1 1 220px; }
.lead-status { margin: 0; font-weight: 600; font-size: 14.5px; }
.lead-status:empty { display: none; }
.lead-status.ok { color: var(--ok); }
.lead-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent .lead-form > :not(.lead-actions) { display: none; }
[hidden] { display: none !important; } /* .btn задаёт display и без этого перебивает атрибут hidden (кнопка оставалась после отправки) */

.modal { border: 0; padding: 0; border-radius: var(--r-l); width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; color: var(--text); background: #fff; box-shadow: 0 40px 80px -20px rgba(18, 21, 26, .5); }
.modal::backdrop { background: rgba(18, 21, 26, .6); }
html:has(dialog[open]) { overflow: hidden; }
.modal-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.modal-t { margin: 0; font: 800 30px/1 var(--display); color: var(--ink); }
.modal-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--soft); font: 400 28px/1 var(--body); color: var(--ink); cursor: pointer; }
.modal-x:hover { background: var(--line); }
.modal-b { padding: 16px 20px 22px; }
.modal .lead-form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.modal .lead-actions .btn { flex: 1 1 100%; }
.modal-b.sent .lead-status { font-size: 17px; padding: 8px 0 4px; }
@media (min-width: 560px) {
  .modal .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal .f-wide, .modal .lead-form > .f:nth-of-type(3) { grid-column: 1 / -1; }
}
@media (max-width: 559px) { .modal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 92vh; max-height: 92dvh; } }
.sec-lead { background: var(--ink); color: #fff; }
.lead { display: grid; gap: 22px; }
.lead-head h2 { color: #fff; margin-bottom: 12px; }
.lead-head p { color: #c3c8cf; }
.lead-points { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 9px; }
.lead-points li { padding-left: 26px; position: relative; color: #fff; font-weight: 600; }
.lead-points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.lead-or { margin: 0 0 10px; color: #c3c8cf; font-size: 14.5px; }
.lead .lead-form { background: #fff; color: var(--text); border-radius: var(--r-l); padding: 18px 16px; }
@media (min-width: 900px) {
  .lead { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .lead .lead-form { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 28px; gap: 14px; }
  .lead .f-wide { grid-column: 1 / -1; }
  .lead-actions .btn { flex: 0 0 auto; }
}

/* ---------------------------------------------------------------- подвал, панель, мелочи */
main > .wrap:has(> .photo-credits) { max-width: none; background: #0b0d10; border-bottom: 1px solid #24282f; padding-left: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); padding-right: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); }
.photo-credits { margin: 0; padding: 14px 0; font-size: 11.5px; line-height: 1.5; color: #7f8791; }
.photo-credits a { color: #a4abb5; text-decoration-color: #3a4049; }
.ftr { background: #0b0d10; color: #a4abb5; padding: 40px 0 28px; font-size: 14.5px; }
.ftr a { color: #d9dde2; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid #24282f; }
.logo-inv { color: #fff; }
.logo-inv .logo-t small { color: #7f8791; display: block; }
.ftr-contacts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ftr-contacts a, .ftr-contacts span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; }
.ftr-contacts .ic { color: var(--brand); width: 18px; }
.ftr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; padding-top: 28px; }
.ftr h3 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.ftr h3 a { color: #fff; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { padding: 3px 0; line-height: 1.4; }
.ftr-grid { grid-auto-flow: row dense; }
.ftr-wide { grid-column: 1 / -1; }
.ftr-gs { columns: 2; column-gap: 24px; }
.ftr-gs > div { break-inside: avoid; margin-bottom: 16px; }
.ftr-h { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7f8791; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: repeat(4, 1fr); } .ftr-wide { grid-column: span 2; } }
@media (min-width: 1100px) { .ftr-grid-5 { grid-template-columns: repeat(5, 1fr); } }
.ftr-cities { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #24282f; font-size: 13.5px; }
.ftr-note { margin-top: 16px; font-size: 12.5px; color: #7f8791; max-width: 100ch; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line-2); transition: transform .25s; }
.dock-cta { flex: 1; min-height: 52px; font-size: 17px; }
.dock-wa { flex: none; display: grid; place-items: center; width: 56px; height: 52px; border-radius: 10px; background: var(--wa); color: #fff; }
.dock-wa .ic { width: 28px; height: 28px; }
.dock.hide { transform: translateY(110%); }
@media (min-width: 900px) {
  .dock { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; border: 0; }
  .dock-cta { display: none; }
  .dock-wa { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 10px 24px -6px rgba(31, 168, 85, .55); }
  .dock.hide { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .hdr, .ftr, .dock, .sec-lead, .qform, .cta-band { display: none; } }

/* техника и запчасти: логотипы марок */
.kicker .brand-logo { height: 28px; width: auto; max-width: 120px; object-fit: contain; margin-right: 4px; }
.brand-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 620px) { .brand-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brand-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; min-height: 104px; padding: 14px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); text-align: center; transition: border-color .15s; }
.brand-tile:hover { border-color: var(--ink); color: var(--ink); }
.brand-tile img { height: 36px; width: auto; max-width: 110px; object-fit: contain; }
.brand-tile b { font-size: 14px; font-weight: 700; line-height: 1.2; }
.brand-tile.no-logo b { font: 800 24px/1 var(--display); letter-spacing: .01em; }
.brand-tile small { font-size: 12px; color: var(--muted); }
.photos .ph-t img.ph-logo { width: auto; max-width: 110px; height: 28px; object-fit: contain; border-radius: 0; }
