/* ============================================================
   ЧКЗ-МСК — дизайн-система (поверх main.css)
   Графит + фирменный жёлтый ЧКЗ, линейные иконки, строгая типографика
   ============================================================ */
:root {
  --ink: #15181b;
  --ink-2: #1f2428;
  --ink-3: #2b3136;
  --yellow: #f5c518;
  --yellow-2: #e2b100;
  --yellow-soft: #fff6d1;
  --paper: #ffffff;
  --mist: #f3f4f5;
  --mist-2: #e9ebed;
  --line: #e1e4e7;
  --text: #15181b;
  --muted: #5d656c;
  --muted-2: #8a9299;
  --ok: #1f8a4c;
  --err: #c0362c;
  --r: 6px;
  --r-lg: 12px;
  --sh: 0 1px 2px rgba(16,20,24,.06), 0 4px 16px rgba(16,20,24,.06);
  --sh-lg: 0 12px 40px rgba(16,20,24,.14);
  --container: 1240px;
}
body { color: var(--text); background: var(--paper); font-size: 16px; }
.container { max-width: var(--container); padding: 0 24px; }
.ic { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ── Кнопки ─────────────────────────────────────────────── */
.btn { border-radius: var(--r); font-weight: 700; letter-spacing: .01em; gap: 10px; padding: 13px 22px; font-size: 15px; }
.btn .ic { margin-right: -2px; }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-2); border-color: var(--yellow-2); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.btn-line { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ── Верхняя строка и шапка ─────────────────────────────── */
.topbar { background: var(--ink); color: rgba(255,255,255,.66); font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; gap: 24px; height: 36px; }
.topbar-note { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); }
.topbar-note b { color: var(--yellow); font-weight: 700; }
.topbar-links { margin-left: auto; display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.66); }
.topbar-links a:hover { color: #fff; }

.hdr { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr .container { display: flex; align-items: center; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand-name { display: block; font-size: 19px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: 4px; max-width: 190px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: var(--r); font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-link .ic { color: var(--muted-2); transition: transform .2s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.is-active { background: var(--mist); }
.nav-item:hover > .nav-link .ic { transform: rotate(180deg); }
.nav-drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 50; }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-drop a .ic { color: var(--muted); }
.nav-drop a:hover { background: var(--mist); }
.nav-drop a small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 1px; }
.nav-drop--mega { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 2px 8px; min-width: 760px; padding: 14px; }
.nav-drop--mega a { font-weight: 500; padding: 8px 10px; }
.nav-drop--mega .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 var(--r) var(--r); font-weight: 700; padding-top: 12px; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr-phone { text-align: right; line-height: 1.15; }
.hdr-phone a { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.hdr-phone span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.hdr-icon { width: 42px; height: 42px; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--mist); border: 0; cursor: pointer; }
.hdr-icon:hover { background: var(--mist-2); }
.hdr-burger { display: none; }
.hdr-search { display: none; border-top: 1px solid var(--line); background: #fff; }
.hdr-search.open { display: block; }
.hdr-search form { display: flex; gap: 10px; padding: 14px 0; }
.hdr-search input { flex: 1; border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 15px; }
.hdr-search input:focus { outline: none; border-color: var(--ink); }

/* Мобильное меню */
.mnav { position: fixed; inset: 0; z-index: 3000; display: none; }
.mnav.open { display: block; }
.mnav-bg { position: absolute; inset: 0; background: rgba(10,12,14,.5); }
.mnav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; display: flex; flex-direction: column; overflow-y: auto; animation: slideIn .22s ease; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mnav-list a, .mnav-list summary { display: flex; align-items: center; gap: 12px; padding: 15px 20px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--mist-2); cursor: pointer; list-style: none; color: var(--ink); }
.mnav-list summary::-webkit-details-marker { display: none; }
.mnav-list summary .ic:last-child { margin-left: auto; color: var(--muted-2); transition: transform .2s; }
.mnav-list details[open] summary .ic:last-child { transform: rotate(180deg); }
.mnav-list details a { padding-left: 52px; font-weight: 500; font-size: 15px; background: #fafbfb; }
.mnav-list > a .ic, .mnav-list summary .ic:first-child { color: var(--muted); }
.mnav-foot { margin-top: auto; padding: 20px; background: var(--mist); }
.mnav-foot .ph { display: block; font-size: 22px; font-weight: 900; color: var(--ink); }
.mnav-foot .ph2 { display: block; color: var(--muted); margin: 4px 0 14px; }

/* ── Секции ─────────────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec--tight { padding: 64px 0; }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--ink); color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: var(--yellow); }
.sec--ink .kicker, .phero .kicker { color: rgba(255,255,255,.7); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.sec-head h2, .h2 { font-size: clamp(28px, 3.1vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.sec-head p { color: var(--muted); max-width: 520px; margin: 12px 0 0; font-size: 16px; line-height: 1.6; }
.sec--ink .sec-head p { color: rgba(255,255,255,.62); }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }

/* ── Первый экран внутренних страниц ────────────────────── */
.phero { position: relative; background: var(--ink); color: #fff; padding: 56px 0 60px; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(21,24,27,.97) 0%, rgba(21,24,27,.9) 48%, rgba(21,24,27,.55) 100%),
  var(--phero-img, none) center/cover no-repeat; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.phero h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 16px; max-width: 900px; }
.phero p { color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.6; margin: 0; max-width: 760px; }
.phero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 26px; }
.crumbs a { color: rgba(255,255,255,.62); }
.crumbs a:hover { color: var(--yellow); }
.crumbs .ic { opacity: .5; }

/* ── Плитки-ссылки ──────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.tile:hover { border-color: transparent; box-shadow: var(--sh-lg); transform: translateY(-2px); }
.tile-ic { width: 52px; height: 52px; border-radius: 10px; background: var(--yellow-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tile h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; line-height: 1.25; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.tile .link-arrow { margin-top: auto; }
.tile--dark { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.tile--dark p { color: rgba(255,255,255,.6); }
.tile--dark .tile-ic { background: rgba(245,197,24,.14); color: var(--yellow); }
.tile--dark .link-arrow { color: var(--yellow); }

/* Карточки категорий с фото */
.ctiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ctile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.ctile:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); border-color: transparent; }
.ctile-img { aspect-ratio: 4 / 3; background: var(--mist) center/contain no-repeat; display: flex; align-items: center; justify-content: center; color: var(--muted-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.ctile-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.ctile-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ctile-body b { font-size: 16px; line-height: 1.3; font-weight: 800; }
.ctile-body span { font-size: 13px; color: var(--muted); }

/* ── Карточки товаров ───────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); transition: box-shadow .2s, border-color .2s; min-width: 0; }
.pcard:hover { box-shadow: var(--sh-lg); border-color: transparent; }
.pcard-img { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--mist-2); position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-art { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-bottom: 6px; }
.pcard-name { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 12px; }
.pcard-specs { margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.pcard-specs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--mist-2); padding-bottom: 4px; }
.pcard-specs b { color: var(--ink); font-weight: 600; text-align: right; }
.pcard-foot { margin-top: auto; display: flex; gap: 8px; }
.pcard-foot .btn { flex: 1; justify-content: center; }
.noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #b7bdc2; background: linear-gradient(135deg, #f7f8f9, #eef0f1); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.noimg .ic { width: 46px; height: 46px; stroke-width: 1.2; }

/* ── Текст статей и описаний ───────────────────────────── */
.prose { font-size: 16.5px; line-height: 1.75; color: #2a2f34; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 44px 0 16px; color: var(--ink); line-height: 1.2; }
.prose h3 { font-size: 20px; font-weight: 800; margin: 32px 0 12px; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 14px; height: 8px; border-left: 2.5px solid var(--yellow-2); border-bottom: 2.5px solid var(--yellow-2); transform: rotate(-45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 38px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow-soft); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.prose img { border-radius: var(--r-lg); margin: 10px 0 20px; max-height: 520px; width: auto; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-2); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose .note, .note { background: var(--yellow-soft); border-left: 4px solid var(--yellow); border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; margin: 4px 0 24px; font-size: 15.5px; }

/* Раскладка «текст + боковая колонка» */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.aside-sticky { position: sticky; top: 100px; display: grid; gap: 16px; }
.acard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.acard h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.acard p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; line-height: 1.55; }
.acard--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.acard--ink p { color: rgba(255,255,255,.62); }
.acard-phone { display: block; font-size: 22px; font-weight: 900; color: inherit; margin-bottom: 4px; letter-spacing: -.01em; }
.acard-list { list-style: none; margin: 0; padding: 0; }
.acard-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--mist-2); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.acard-list li:last-child a { border-bottom: 0; }
.acard-list a.is-active { color: var(--ink); }
.acard-list a.is-active::before { content: ""; width: 4px; height: 18px; background: var(--yellow); border-radius: 2px; margin-right: -2px; }
.acard-list a:hover { color: var(--yellow-2); }

/* ── Цифры ──────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 26px 24px 4px 0; }
.fact b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.fact span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; max-width: 230px; }
.sec--ink .fact b, .phero .fact b { color: var(--yellow); }
.sec--ink .fact span, .phero .fact span { color: rgba(255,255,255,.6); }
.sec--ink .facts, .phero .facts { border-color: rgba(255,255,255,.12); }

/* ── Таймлайн истории ───────────────────────────────────── */
.tline { position: relative; display: grid; gap: 0; }
.tline-item { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 0 0 34px; position: relative; }
.tline-item::before { content: ""; position: absolute; left: 150px; top: 6px; bottom: -6px; width: 2px; background: var(--line); transform: translateX(36px); }
.tline-item:last-child::before { display: none; }
.tline-year { font-size: 22px; font-weight: 900; letter-spacing: -.02em; text-align: right; color: var(--ink); line-height: 1.2; }
.tline-body { position: relative; padding-left: 26px; }
.tline-body::before { content: ""; position: absolute; left: -2px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px #fff; }
.tline-body h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.tline-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ── Сертификаты ────────────────────────────────────────── */
.cert-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cert-tab { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); }
.cert-tab span { color: var(--muted-2); font-weight: 600; margin-left: 4px; }
.cert-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cert-tab.is-active span { color: rgba(255,255,255,.55); }
.cert-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cert { display: flex; flex-direction: column; gap: 10px; color: var(--ink); cursor: zoom-in; background: none; border: 0; padding: 0; text-align: left; font: inherit; }
.cert-img { aspect-ratio: 3 / 4; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.cert-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert:hover .cert-img { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.cert span { font-size: 13px; line-height: 1.4; font-weight: 600; }
.lb { position: fixed; inset: 0; z-index: 4000; background: rgba(10,12,14,.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-prev .ic { transform: rotate(180deg); }
.lb-next { right: 18px; }
.lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; }

/* ── Документы ──────────────────────────────────────────── */
.docs { display: grid; gap: 10px; }
.doc { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: transparent; box-shadow: var(--sh-lg); }
.doc-ic { width: 48px; height: 48px; border-radius: 8px; background: #fbe9e7; color: #c0362c; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; letter-spacing: .04em; position: relative; }
.doc-title { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.doc-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.doc-dl { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.doc:hover .doc-dl { color: var(--yellow-2); }

/* ── Новости ────────────────────────────────────────────── */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ncard { display: flex; flex-direction: column; color: var(--ink); min-width: 0; }
.ncard-img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); margin-bottom: 16px; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard-img img { transform: scale(1.04); }
.ncard-date { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ncard h3 { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 8px; }
.ncard p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; color: var(--ink); }
.pager .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Контакты ───────────────────────────────────────────── */
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ccard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff; }
.ccard--main { border: 2px solid var(--yellow); }
.ccard-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; background: var(--mist); color: var(--muted); margin-bottom: 14px; }
.ccard--main .ccard-tag { background: var(--yellow); color: var(--ink); }
.ccard h3 { font-size: 20px; font-weight: 800; margin: 0 0 18px; line-height: 1.3; }
.crow { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 9px 0; font-size: 15px; line-height: 1.5; }
.crow .ic { color: var(--muted); margin-top: 2px; }
.crow a { color: var(--ink); font-weight: 600; }
.crow a:hover { color: var(--yellow-2); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Формы и заявка ─────────────────────────────────────── */
.form-control { border-radius: var(--r); border: 1.5px solid var(--line); padding: 12px 14px; font-size: 15px; }
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245,197,24,.35); }
.form-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); margin: 4px 0 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.consent a { color: var(--ink); text-decoration: underline; }
.form-msg:empty { display: none; }
.form-msg { margin-bottom: 14px; }
.lead-done { display: none; text-align: center; padding: 20px 0; }
.lead-done .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: #e6f4ec; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lead-done h3 { font-size: 22px; margin: 0 0 6px; }
.lead-done p { color: var(--muted); margin: 0; }
.is-sent .lead-fields { display: none; }
.is-sent .lead-done { display: block; }

.leadblock { background: var(--ink); color: #fff; border-radius: 16px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.leadblock::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(245,197,24,.07); pointer-events: none; }
.leadblock h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 14px; }
.leadblock > div > p { color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.leadblock-contacts { display: grid; gap: 10px; }
.leadblock-contacts a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; }
.leadblock-contacts a .ic { color: var(--yellow); }
.leadblock form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 28px; position: relative; z-index: 1; }
.leadblock .lead-done h3 { color: var(--ink); }

.modal { position: fixed; inset: 0; z-index: 3500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(10,12,14,.6); animation: fadeIn .2s; }
.modal-box { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 16px; padding: 36px; box-shadow: var(--sh-lg); animation: modalIn .22s ease; max-height: calc(100vh - 40px); overflow-y: auto; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.modal-box h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; padding-right: 40px; }
.modal-box > p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-item { border-radius: var(--r-lg); border: 1px solid var(--line); }
.faq-q { padding: 20px 22px; font-size: 16px; font-weight: 700; gap: 16px; }
.faq-q .arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink); }
.faq-item.open .faq-q .arrow { background: var(--yellow); color: var(--ink); }
.faq-a { font-size: 15.5px; }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 600px; }

/* ── Таблица характеристик ──────────────────────────────── */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec tr { border-bottom: 1px solid var(--mist-2); }
.spec td { padding: 12px 0; vertical-align: top; }
.spec td:first-child { color: var(--muted); padding-right: 20px; width: 50%; }
.spec td:last-child { font-weight: 700; text-align: right; }

/* ── Подвал ─────────────────────────────────────────────── */
.ftr { background: var(--ink); color: rgba(255,255,255,.6); padding: 72px 0 0; font-size: 14.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.ftr .brand { color: #fff; margin-bottom: 18px; }
.ftr .brand-sub { color: rgba(255,255,255,.5); }
.ftr-about { line-height: 1.65; max-width: 360px; margin: 0; }
.ftr h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 6px 0 18px; font-weight: 800; }
.ftr ul { display: grid; gap: 11px; }
.ftr a { color: rgba(255,255,255,.6); }
.ftr a:hover { color: var(--yellow); }
.ftr-phone { display: block; font-size: 22px; font-weight: 900; color: #fff !important; letter-spacing: -.01em; margin-bottom: 4px; }
.ftr-contacts .crow { color: rgba(255,255,255,.6); font-size: 14px; padding: 6px 0; }
.ftr-contacts .crow .ic { color: var(--yellow); }
.ftr-contacts .crow a { color: rgba(255,255,255,.8); font-weight: 500; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: rgba(255,255,255,.42); }
.ftr-bottom p { margin: 0; max-width: 760px; line-height: 1.55; }
.ftr-bottom nav { display: flex; gap: 20px; flex-shrink: 0; }
.ftr-bottom a { color: rgba(255,255,255,.55); }

/* Мобильная нижняя панель */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.mbar a, .mbar button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: var(--r); font-weight: 800; font-size: 14.5px; border: 0; cursor: pointer; font-family: inherit; }
.mbar .mbar-call { background: var(--mist); color: var(--ink); }
.mbar .mbar-lead { background: var(--yellow); color: var(--ink); }

/* Скрываем старые элементы, если где-то остались */
.sticky-cta, .bottom-nav, .mobile-drawer { display: none !important; }

/* ── Адаптив ────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .brand-sub { display: none; }
  .nav-link { padding: 10px 8px; font-size: 14px; }
  .hdr-phone span { display: none; }
}
@media (max-width: 1100px) {
  .nav, .hdr-cta { display: none; }
  .hdr-burger { display: inline-flex; }
  .brand-sub { display: block; }
  .tiles--4, .ctiles, .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .aside-sticky { position: static; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .leadblock { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
}
@media (max-width: 820px) {
  .topbar-note span.long, .topbar-links a.tb-mail { display: none; }
  .tiles, .tiles--4, .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctiles, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccards { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tline-item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .tline-item::before { left: 0; transform: none; top: 10px; }
  .tline-year { text-align: left; }
  .tline-body { padding-left: 0; }
  .tline-body::before { left: -32px; top: -24px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .hdr .container { height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; max-width: 160px; }
  .hdr-phone { display: none; }
  .mbar { display: flex; }
  .sec { padding: 56px 0; }
  .sec--tight { padding: 44px 0; }
  .phero { padding: 32px 0 40px; }
  .phero p { font-size: 16px; }
  .crumbs { margin-bottom: 18px; }
  .tiles, .tiles--2, .tiles--4, .ngrid { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
  .ctiles, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-body, .ctile-body { padding: 12px; }
  .pcard-name { font-size: 14px; }
  .pcard-specs { display: none; }
  .pcard-foot .btn { padding: 9px 8px; font-size: 13px; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .doc { grid-template-columns: 40px minmax(0, 1fr); padding: 14px; }
  .doc-ic { width: 40px; height: 40px; }
  .doc-dl { grid-column: 2; font-size: 13px; }
  .ftr { padding-top: 48px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .ftr-bottom { flex-direction: column; }
  .ftr-bottom nav { flex-wrap: wrap; }
  .leadblock { padding: 26px 20px; border-radius: 12px; }
  .leadblock form { padding: 20px; }
  .modal-box { padding: 26px 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-right: 12px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; margin-top: 34px; }
  .map { height: 320px; }
  .lb { padding: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── Главная ────────────────────────────────────────────── */
.home-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; padding: 72px 0 64px; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('/assets/img/site/factory-aerial.jpg') center 40%/cover no-repeat; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,19,22,.95) 0%, rgba(17,19,22,.78) 48%, rgba(17,19,22,.25) 100%), linear-gradient(0deg, rgba(17,19,22,.6), transparent 40%); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
.home-hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -.035em; font-weight: 900; margin: 0 0 20px; max-width: 760px; }
.home-hero__copy > p { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.74); max-width: 640px; margin: 0; }
.home-hero__facts { margin-top: 44px; }
.home-hero .fact span { max-width: 190px; font-size: 13.5px; }
.home-pick { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.home-pick__head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.home-pick__head .ic { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--yellow); }
.home-pick__head b { display: block; font-size: 18px; font-weight: 800; }
.home-pick__head span { font-size: 13.5px; color: var(--muted); }
.home-pick .form-label { display: block; margin: 0 0 6px; }
.home-pick select.form-control, .home-pick input.form-control { margin-bottom: 14px; }
.home-pick .form-row { gap: 12px; }
.home-pick__note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.home-pick__note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow-2); }
.home-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-about__media { position: relative; }
.home-about__media img { width: 100%; border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.home-about__badge { position: absolute; left: 24px; bottom: -24px; background: var(--yellow); color: var(--ink); padding: 18px 22px; border-radius: 12px; max-width: 280px; box-shadow: var(--sh-lg); }
.home-about__badge b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.home-about__badge span { font-size: 13.5px; line-height: 1.4; display: block; margin-top: 2px; }
.home-checks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.home-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 15.5px; line-height: 1.5; }
.home-checks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--yellow-soft); color: var(--ink); stroke-width: 2.4; margin-top: 1px; }
@media (max-width: 1100px) {
  .home-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .home-pick { max-width: 560px; }
  .home-about { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
  .home-hero { padding: 40px 0 36px; }
  .home-hero__copy > p { font-size: 16px; }
  .home-hero__facts { margin-top: 30px; }
  .home-hero .phero-actions .btn { width: 100%; justify-content: center; }
  .home-pick { padding: 20px; border-radius: 12px; }
  .home-about__badge { left: 12px; right: 12px; max-width: none; bottom: -30px; }
}
.home-hero .fact b { color: var(--yellow); }
.home-hero .fact span { color: rgba(255,255,255,.62); }
.home-hero .facts { border-color: rgba(255,255,255,.14); }
@media (max-width: 1400px) { .brand-sub { display: none; } }
@media (max-width: 1100px) { .brand-sub { display: block; } }
.home-hero .fact b { font-size: clamp(28px, 2.6vw, 38px); white-space: nowrap; }
@media (max-width: 1480px) and (min-width: 1101px) { .brand-sub { display: none; } }
.ctile-body b, .pcard-name, .tile h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 420px) { .hdr .brand-sub { display: none; } }

/* ── Каталог ────────────────────────────────────────────── */
.phero-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 28px; background: #fff; border-radius: 10px; padding: 6px 6px 6px 16px; color: var(--muted); }
.phero-search input { flex: 1; border: 0; font-size: 16px; padding: 10px 0; outline: none; min-width: 0; background: transparent; }
.subnav { position: sticky; top: 76px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.subnav a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.subnav a span { color: var(--muted-2); font-weight: 600; margin-left: 4px; }
.subnav a:hover { background: var(--yellow-soft); }
.series { margin-bottom: 64px; scroll-margin-top: 150px; }
.series:last-child { margin-bottom: 0; }
.series-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.series-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.series-head span { color: var(--muted); font-size: 14px; }
.series-desc, .cat-about { margin-bottom: 20px; }
.series-desc summary, .cat-about summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink); list-style: none; padding: 6px 0; }
.series-desc summary::-webkit-details-marker, .cat-about summary::-webkit-details-marker { display: none; }
.series-desc[open] summary .ic, .cat-about[open] summary .ic:last-child { transform: rotate(180deg); }
.series-desc .prose, .cat-about .prose { max-width: 900px; font-size: 15.5px; padding: 8px 0 4px; }
.cat-about { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 20px; margin-bottom: 40px; }
.series-intro { max-width: 940px; margin-bottom: 40px; }
.empty-state { text-align: center; padding: 40px 0; color: var(--muted); }
.empty-state .ic { color: var(--muted-2); }
.empty-state h2 { color: var(--ink); font-size: 24px; margin: 14px 0 8px; }
.pcard-name { color: var(--ink); }
.pcard-name:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

/* ── Карточка товара ────────────────────────────────────── */
.lcrumbs { background: var(--mist); border-bottom: 1px solid var(--line); }
.lcrumbs .crumbs { margin: 0; padding: 14px 0; color: var(--muted-2); }
.lcrumbs .crumbs a { color: var(--muted); }
.lcrumbs .crumbs a:hover { color: var(--ink); }
.pp { padding-top: 40px; }
.pp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pp-main { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; cursor: zoom-in; }
.pp-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pp-thumb { aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumb.is-active { border-color: var(--yellow-2); }
.pp-info h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 12px; }
.pp-info .kicker { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pp-info .kicker::before { flex-shrink: 0; }
.pp-maker { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.pp-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.pp-keys div { background: var(--mist); border-radius: 10px; padding: 14px 16px; }
.pp-keys span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; line-height: 1.3; }
.pp-keys b { font-size: 16px; font-weight: 800; line-height: 1.25; }
.pp-buy { border: 2px solid var(--ink); border-radius: 14px; padding: 22px; display: grid; gap: 16px; margin-bottom: 22px; }
.pp-buy b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.pp-buy > div > span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.pp-buy__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-buy__btns .btn { flex: 1 1 200px; justify-content: center; }
.pp-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.pp-trust li { display: flex; gap: 10px; align-items: flex-start; }
.pp-trust .ic { color: var(--yellow-2); margin-top: 2px; }
.pp-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; margin-top: 64px; align-items: start; }
.pp-h { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; }
.pp-body .prose + .pp-h, .pp-note + .pp-h { margin-top: 48px; }
.pp-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.doc--sm { grid-template-columns: 40px minmax(0, 1fr); padding: 12px; }
.doc--sm .doc-ic { width: 40px; height: 40px; }
.doc--sm .doc-title { font-size: 14px; }
@media (max-width: 1100px) {
  .pp-top, .pp-body { grid-template-columns: 1fr; gap: 32px; }
  .pp-main { max-width: 560px; }
  .subnav { top: 76px; }
}
@media (max-width: 640px) {
  .subnav { top: 64px; }
  .series-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .series-head h2 { font-size: 22px; }
  .pp { padding-top: 20px; }
  .pp-keys { grid-template-columns: 1fr 1fr; }
  .pp-buy { padding: 18px; }
  .pp-body { margin-top: 40px; }
  .phero-search .ic { display: none; }
}
.doc-title, .doc-meta { display: block; }
.pcard-art { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ── Подбор ─────────────────────────────────────────────── */
.selector { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 14px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--sh); }
.selector .form-label { display: block; margin-bottom: 6px; }
.selector .btn { height: 50px; }
.selector-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.fit-wrap { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.fit-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: #e6f4ec; color: var(--ok); font-size: 12.5px; font-weight: 800; padding: 6px 10px; border-radius: 8px 8px 0 0; }
.fit-wrap .pcard { border-top-left-radius: 0; flex: 1; }
@media (max-width: 900px) { .selector { grid-template-columns: 1fr 1fr; } .selector > div:first-child, .selector .btn { grid-column: 1 / -1; } }
.subnav-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.subnav-inline a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink); }
.subnav-inline a:hover { border-color: var(--ink); }
.pcard-img { overflow: hidden; }
.pcard-img img { position: absolute; inset: 0; }
.pcard-img .noimg { position: absolute; inset: 0; }
.opt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.opt-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; padding: 8px 0; border-bottom: 1px dashed var(--mist-2); }
.opt-list .ic { color: var(--yellow-2); margin-top: 2px; stroke-width: 2.4; }
.pp-desc ul { margin-top: 6px; }
@media (max-width: 640px) { .opt-list { grid-template-columns: 1fr; } }

/* ── Первый экран раздела с изделием ────────────────────── */
.phero--visual { padding: 44px 0 52px; }
.phero--visual::before { background:
  radial-gradient(ellipse 55% 75% at 78% 55%, rgba(245,197,24,.20), transparent 62%),
  radial-gradient(ellipse 35% 45% at 92% 20%, rgba(255,255,255,.06), transparent 70%),
  linear-gradient(110deg, #121417 0%, #1a1e22 55%, #22272c 100%); }
.phero--visual::after { mask-image: linear-gradient(90deg, transparent 20%, #000 75%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); opacity: .7; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; min-height: 340px; }
.phero-copy { min-width: 0; position: relative; z-index: 2; }
.phero-stats { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.phero-stats div { display: flex; flex-direction: column; }
.phero-stats b { font-size: 28px; font-weight: 900; color: var(--yellow); letter-spacing: -.02em; line-height: 1; }
.phero-stats span { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
.phero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.phero-visual--cut::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 14%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.6), transparent 70%); filter: blur(6px); }
.phero-visual--cut::after { content: ""; position: absolute; inset: 8% 10%; border: 1px solid rgba(245,197,24,.18); border-radius: 50%; transform: rotate(-8deg); }
.phero-visual--cut img { position: relative; z-index: 1; max-height: 340px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); animation: heroIn .7s ease both; }
.phero-visual--card img { width: min(420px, 100%); aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.04); transform: rotate(-2deg); animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; } }
.phero-visual--card img { animation-name: heroInCard; }
@keyframes heroInCard { from { opacity: 0; transform: translateY(14px) rotate(-2deg); } to { opacity: 1; transform: rotate(-2deg); } }
@media (max-width: 900px) {
  .phero-grid { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .phero-visual { order: -1; min-height: 0; margin-top: -6px; }
  .phero-visual--cut img { max-height: 200px; }
  .phero-visual--card img { width: min(300px, 80%); }
  .phero-visual--cut::after { display: none; }
}
@media (max-width: 640px) { .phero-stats { gap: 22px; } .phero-stats b { font-size: 22px; } }

/* ── Промо-блок серии ДЭН на главной ────────────────────── */
.promo-wrap { padding: 0 0 88px; }
.promo { position: relative; overflow: hidden; border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px;
  background: radial-gradient(ellipse 60% 90% at 78% 50%, #ffffff 0%, #f1f2f3 55%, #e6e8ea 100%); border: 1px solid var(--line); }
.promo::before { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; height: 160%; background: var(--yellow); transform: rotate(14deg); opacity: .95; }
.promo::after { content: ""; position: absolute; right: 30%; top: -30%; width: 3%; height: 160%; background: var(--ink); transform: rotate(14deg); opacity: .9; }
.promo-copy { position: relative; z-index: 2; padding: 56px 0 56px 56px; }
.promo-tag { display: inline-block; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; margin-bottom: 20px; }
.promo h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 16px; }
.promo h2 span { display: block; color: var(--muted); font-weight: 800; font-size: .62em; letter-spacing: -.01em; margin-top: 6px; }
.promo-copy > p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 24px; max-width: 520px; }
.promo-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.promo-points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.45; }
.promo-points .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; box-shadow: var(--sh); color: var(--ink); }
.promo-points b { font-weight: 800; }
.promo-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.promo-visual img { position: relative; z-index: 2; width: 112%; max-width: none; margin-right: -6%; mix-blend-mode: multiply; filter: contrast(1.04); }
.promo-ring { position: absolute; z-index: 1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.85) 45%, rgba(255,255,255,0) 70%); }
.promo-badge { position: absolute; z-index: 3; left: 4%; bottom: 10%; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh-lg); }
.promo-badge b { font-size: 26px; font-weight: 900; color: var(--yellow); letter-spacing: -.02em; }
.promo-badge span { font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.75); }
@media (max-width: 1000px) {
  .promo { grid-template-columns: 1fr; }
  .promo-copy { padding: 36px 28px 0; }
  .promo-visual { min-height: 0; padding: 0 0 20px; }
  .promo-visual img { width: 100%; margin: 0; }
  .promo::before { right: -30%; top: 40%; width: 90%; height: 90%; }
  .promo::after { display: none; }
}
@media (max-width: 640px) {
  .promo-wrap { padding-bottom: 56px; }
  .promo { border-radius: 16px; }
  .promo-copy { padding: 26px 18px 0; }
  .promo-copy .phero-actions .btn { width: 100%; justify-content: center; }
  .promo-badge { left: 12px; bottom: 12px; padding: 10px 14px; }
}
.promo-visual img { width: 78%; margin: 40px 6% 40px 0; mix-blend-mode: normal; filter: drop-shadow(0 34px 34px rgba(17,19,22,.35)) drop-shadow(0 8px 10px rgba(17,19,22,.2)); animation: heroIn .8s ease both; }
.promo-ring { width: 70%; background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 70%); }
@media (max-width: 1000px) { .promo-visual img { width: 70%; margin: 20px auto 30px; } }
@media (max-width: 1000px) { .promo::before { top: auto; bottom: -18%; right: -25%; width: 150%; height: 42%; transform: rotate(-8deg); } }

/* ── Статьи ─────────────────────────────────────────────── */
.subnav-inline a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.art-tags a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13.5px; font-weight: 600; }
.art-tags a:hover { background: rgba(245,197,24,.18); border-color: var(--yellow); }
.art-cover { width: 100%; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 30px; }
.art-body h2 { scroll-margin-top: 100px; }
.art-body a { font-weight: 600; }
.art-body table { font-size: 14.5px; }
.art-body th { background: var(--mist); font-weight: 700; }
.cat-articles { margin-top: 72px; }
.ctile-img--gen { background: #1d2125; }
.ctile-img--gen img { object-fit: cover; padding: 0; mix-blend-mode: normal; transition: transform .45s ease; }
.ctile:hover .ctile-img--gen img { transform: scale(1.05); }
.topbar-links a.tb-phone { color: #fff; font-weight: 700; }
@media (min-width: 1101px) and (max-width: 1360px) { .hdr-phone { display: none; } .nav-link { padding: 10px 9px; } }

/* ── Первый экран с фоновой иллюстрацией (assets/img/hero, hero_bg()) ── */
.phero--bg { display: flex; align-items: center; min-height: 480px; padding: 56px 0 64px; }
.phero--bg > .container { width: 100%; }
.phero--bg::before { background:
  linear-gradient(90deg, rgba(18,20,23,.95) 0%, rgba(18,20,23,.86) 30%, rgba(18,20,23,.45) 58%, rgba(18,20,23,.08) 100%),
  linear-gradient(0deg, rgba(18,20,23,.7) 0%, rgba(18,20,23,0) 32%),
  var(--phero-img, none) 72% center/cover no-repeat;
  animation: pheroBg 1.4s ease-out both; }
.phero--bg::after { mask-image: linear-gradient(90deg, #000 0%, transparent 45%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%); opacity: .35; }
.phero--bg h1 { max-width: 760px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.phero--bg p { max-width: 620px; color: rgba(255,255,255,.82); }
.phero--bg .phero-stats { margin-top: 24px; }
.phero--bg .btn-ghost { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
@keyframes pheroBg { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .phero--bg::before { animation: none; } }
@media (max-width: 900px) {
  .phero--bg { min-height: 0; padding: 150px 0 36px; align-items: flex-end; }
  .phero--bg::before { background:
    linear-gradient(180deg, rgba(18,20,23,.25) 0%, rgba(18,20,23,.7) 38%, rgba(18,20,23,.95) 70%, rgba(18,20,23,.98) 100%),
    var(--phero-img, none) 75% top/auto 62% no-repeat, #15181b; }
}
@media (max-width: 560px) { .phero--bg::before { background:
    linear-gradient(180deg, rgba(18,20,23,.2) 0%, rgba(18,20,23,.75) 34%, rgba(18,20,23,.96) 62%, rgba(18,20,23,.98) 100%),
    var(--phero-img, none) 78% top/auto 300px no-repeat, #15181b; } }

/* Меню каталога двумя группами: «Компрессоры» (основные группы продаж) и «Другое оборудование» */
.nav-drop--mega { grid-template-columns: minmax(300px, 1fr) minmax(440px, 1.35fr); gap: 0 18px; min-width: 820px; }
.mega-col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mega-col + .mega-col { border-left: 1px solid var(--line); padding-left: 18px; }
.mega-title { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 8px; }
.mega-col--main a { font-weight: 700; align-items: flex-start; }
.mega-col--main a .ic { margin-top: 2px; color: var(--ink); }
.mega-col--main a small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 6px; }
.mnav-list details .mnav-sub { display: block; padding: 12px 20px 6px 52px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fafbfb; border-bottom: 1px solid var(--mist-2); }
.sec--tight-top { padding-top: 0; }
@media (max-width: 900px) { .nav-drop--mega { min-width: 0; } }

/* Страница раздела: описание серии и сравнительная таблица моделей */
.series-lead { max-width: 900px; font-size: 15.5px; margin-bottom: 10px; }
.series-lead p:last-child { margin-bottom: 0; }
.view-switch { display: inline-flex; gap: 2px; padding: 3px; margin: 6px 0 14px; background: var(--mist); border-radius: var(--r); }
.view-switch button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: calc(var(--r) - 2px); background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.view-switch button:hover { color: var(--ink); }
.cat-views[data-view="table"] .view-switch [data-view-set="table"], .cat-views[data-view="cards"] .view-switch [data-view-set="cards"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(21, 24, 27, .12); }
.cat-views[data-view="table"] .pgrid--alt, .cat-views[data-view="cards"] .ptable-box { display: none; }
.ptable-wrap { overflow: auto; max-height: min(720px, 80vh); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.ptable-wrap:focus-visible { outline: 2px solid var(--yellow-2); outline-offset: 2px; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 10px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--mist-2); }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable thead th { position: sticky; top: 0; z-index: 2; padding: 0; background: var(--ink); color: #fff; border-bottom: 0; vertical-align: bottom; }
.ptable thead button { display: block; width: 100%; min-width: 96px; padding: 11px 14px; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: inherit; text-align: left; cursor: pointer; }
.ptable thead button:hover { color: var(--yellow); }
.ptable thead button::after { content: "↕"; margin-left: 5px; opacity: .4; }
.ptable thead th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; color: var(--yellow); }
.ptable thead th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; color: var(--yellow); }
.ptable .ptable-model { position: sticky; left: 0; z-index: 1; background: #fff; font-weight: 700; white-space: nowrap; box-shadow: 1px 0 0 var(--mist-2); }
.ptable thead .ptable-model { z-index: 3; background: var(--ink); box-shadow: none; }
.ptable tbody .ptable-model a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-2); text-underline-offset: 3px; }
.ptable tbody tr:hover > * { background: var(--yellow-soft); }
.ptable-act { width: 1%; white-space: nowrap; text-align: right; }
.ptable-act .btn { padding: 6px 12px; }
.ptable-none { color: var(--muted-2); }
.ptable-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.ptable-note b { color: var(--ink); }
@media (max-width: 560px) {
  .ptable { font-size: 13px; }
  .ptable th, .ptable td { padding: 8px 10px; }
  .ptable thead button { padding: 9px 10px; min-width: 84px; }
  .ptable .ptable-act { display: none; }
}
.series-tools { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.series-tools .view-switch { margin: 0; }
.series-head .view-switch button { font-size: 13px; padding: 6px 12px; }
@media (max-width: 560px) { .series-head { flex-wrap: wrap; } .series-tools { justify-content: flex-start; gap: 12px; } }

/* Подпись типа оборудования: под заголовком серии */
.series-head .series-caption { display: block; margin: 2px 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink-3); }
.phero .kicker { line-height: 1.5; }

/* Картинка серии рядом с описанием */
.series-about { margin-bottom: 18px; }
.series-about.has-pic { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.series-about .series-intro, .series-about .series-lead { max-width: 900px; }
.series-about--intro { margin-bottom: 40px; }
.series-about--intro .series-intro { margin-bottom: 0; }
.series-pic { display: flex; align-items: center; justify-content: center; height: 210px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.series-pic img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
@media (max-width: 760px) {
  .series-about.has-pic { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .series-about.has-pic .series-pic { order: -1; height: 190px; }
}

/* Подгрузка карточек серии */
.pgrid-note { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.series-calc { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-2); text-underline-offset: 3px; }

/* Калькулятор затрат и окупаемости */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; }
.calc-inputs { display: grid; gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.calc-inputs h2 { margin: 6px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.calc-inputs h2:first-child { margin-top: 0; }
.calc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.calc-opt { font-weight: 400; color: var(--muted-2); }
.calc-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.calc-range { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--yellow-2); cursor: pointer; }
.calc-how { border-top: 1px solid var(--mist-2); padding-top: 14px; font-size: 14px; }
.calc-how summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; list-style: none; }
.calc-how summary::-webkit-details-marker { display: none; }
.calc-how[open] summary .ic { transform: rotate(180deg); }
.calc-row--how { margin-top: 14px; }
.calc-how ul { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.5; color: var(--muted); }
.calc-how li b { color: var(--ink); }
.calc-result { position: sticky; top: 96px; display: grid; gap: 16px; padding: 28px; background: var(--ink); color: #fff; border-radius: var(--r-lg); }
.calc-main span { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); }
.calc-main b { display: block; margin-top: 4px; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--yellow); overflow-wrap: anywhere; }
.calc-main small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.calc-list { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.calc-list > div[hidden] { display: none; }
.calc-list dt { font-size: 14px; color: rgba(255, 255, 255, .75); }
.calc-list dd { margin: 0; font-size: 14.5px; font-weight: 700; text-align: right; }
.calc-list .is-accent dd { color: var(--yellow); }
.calc-verdict { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.calc-model { font-size: 14px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.calc-model[hidden] { display: none; }
.calc-audit { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.calc-audit:hover { color: var(--yellow); }
.calc-disclaimer { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-result { position: static; }
}
@media (max-width: 560px) {
  .calc-inputs, .calc-result { padding: 20px; }
  .calc-row { grid-template-columns: minmax(0, 1fr); }
  .calc-main b { font-size: 26px; }
}

/* Главная: «Выберите свой путь» */
.sec--path { padding-bottom: 44px; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.path-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.path-card:hover { border-color: var(--yellow-2); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.path-card.is-accent { border: 2px solid var(--yellow); }
.path-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 0; }
.path-copy b { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.path-copy span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.path-copy .ic { margin-top: 4px; transition: transform .2s; }
.path-card:hover .path-copy .ic { transform: translateX(5px); }
.path-card img { display: block; width: 100%; height: auto; margin-top: auto; transition: transform .4s; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
.path-card:hover img { transform: scale(1.03); }

/* Главная: «Нам доверяют» */
.trust { padding: 28px 0 0; }
.trust-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; }
.trust-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.trust-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.trust-nav { display: flex; gap: 6px; margin-left: auto; align-self: center; }
.trust-nav button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.trust-nav button:hover { border-color: var(--ink); }
.trust-nav [data-trust-prev] .ic { transform: rotate(180deg); }
.trust-row { display: flex; align-items: center; gap: 44px; margin: 0; padding: 20px 2px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row::-webkit-scrollbar { display: none; }
.trust-row li { flex: 0 0 auto; scroll-snap-align: start; }
.trust-row img { display: block; max-height: 52px; max-width: 170px; width: auto; height: auto; filter: grayscale(1); opacity: .72; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.trust-row li:hover img { filter: none; opacity: 1; }
@media (max-width: 1100px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .path-grid { grid-template-columns: minmax(0, 1fr); }
  .path-card { flex-direction: row; align-items: stretch; }
  .path-copy { flex: 1 1 0; min-width: 0; gap: 6px; padding: 16px; }
  .path-copy b { font-size: 17px; }
  .path-copy span { font-size: 13px; line-height: 1.4; }
  .path-card img { flex: 0 0 36%; width: 36%; min-height: 100%; margin: 0; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
  .trust-row { gap: 32px; }
  .trust-row img { max-height: 44px; max-width: 140px; }
  .trust-head p { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) { .path-card, .path-card img, .path-copy .ic { transition: none; } }
.ctiles-title { margin: 40px 0 18px; font-size: 24px; font-weight: 800; letter-spacing: -.015em; }

/* Отраслевые решения: плитки с фоном */
.itiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.itile { position: relative; display: flex; align-items: flex-end; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--ink-2); isolation: isolate; }
.itile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.itile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,18,21,.12) 0%, rgba(15,18,21,.5) 42%, rgba(15,18,21,.93) 100%); }
.itile:hover .itile-bg { transform: scale(1.05); }
.itile-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.itile-name { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.itile-lead { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.itile-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--yellow); }

/* Отраслевые решения: страница раздела */
.sstats-wrap { background: var(--ink); color: #fff; padding: 28px 0; }
.sstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px 28px; }
.sstat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--yellow); line-height: 1.15; margin-bottom: 4px; }
.sstat span { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.7); }
.ssol { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.ssol-aside { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; }
.stoc h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.stoc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.stoc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--muted); text-decoration: none; }
.stoc a:hover { color: var(--ink); border-left-color: var(--yellow); }
.ssec { scroll-margin-top: 96px; margin-bottom: 56px; }
.ssec:last-child { margin-bottom: 0; }
.prose .ssec > h2 { margin-top: 0; }
.prose .sfig { margin: 6px 0 22px; }
.prose .sfig a { display: block; text-decoration: none; cursor: zoom-in; }
.prose .sfig img { display: block; width: 100%; max-height: none; margin: 0; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.prose .sfig figcaption { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.sfigs { display: grid; gap: 16px; margin-bottom: 8px; align-items: start; }
.sfigs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sfigs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .sfigs .sfig { margin: 0 0 12px; }
.ssplit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; margin-bottom: 22px; }
.ssplit-body > *:last-child { margin-bottom: 0; }
.ssplit .scards { grid-template-columns: 1fr; }
.stable-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.prose .stable { margin: 0; font-size: 14px; line-height: 1.45; border-style: hidden; }
.prose .stable th, .prose .stable td { padding: 9px 12px; vertical-align: top; }
.prose .stable thead th { background: var(--ink-2); color: #fff; font-weight: 700; font-size: 13px; border-color: var(--ink-3); }
.prose .stable tbody th { font-weight: 700; color: var(--ink); background: var(--mist); }
.prose .stable tbody tr:nth-child(even) td { background: #fafbfb; }
.prose .stable--kv tbody th { width: 46%; font-weight: 600; }
.stable-note { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: -8px 0 22px !important; }
.prose .slist { gap: 8px; }
.prose .slist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.schips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.schips span { padding: 7px 14px; border-radius: 999px; background: var(--yellow-soft); font-size: 14px; font-weight: 600; color: var(--ink); }
.scards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.scard { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.prose .scard h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.prose .scard p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3a4046; }
.prose .slegend { counter-reset: none; gap: 8px; margin-bottom: 22px; }
.prose .slegend--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
.prose .slegend li { display: flex; gap: 12px; padding-left: 0; font-size: 14.5px; line-height: 1.5; }
.prose .slegend li::before { content: none; }
.slegend b { flex: none; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--yellow-soft); text-align: center; font-size: 12.5px; line-height: 24px; color: var(--ink); white-space: nowrap; }
.scase { padding: 22px 24px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.prose .scase h3 { margin: 0 0 4px; font-size: 18px; }
.prose .scase-place { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.prose .scase > .sfigs { margin-top: 12px; }
.prose .scase .slist { margin-bottom: 0; font-size: 15px; }
.sspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--r); background: var(--mist); }
.sspecs dt { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sspecs dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.prose .ssteps { counter-reset: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 0; }
.prose .ssteps li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r-lg); background: var(--mist); font-size: 13.5px; line-height: 1.45; }
.prose .ssteps li::before { content: none; }
.ssteps b { font-size: 15px; line-height: 1.25; color: var(--ink); }
.ssteps-n { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; line-height: 28px; text-align: center; }
.prose .ssrc { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.slinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.prose .slinks h3 { margin-top: 0; }
.prose .slinks ul { display: block; }
.prose .slinks .acard-list li { padding-left: 0; }
.prose .slinks .acard-list li::before { content: none; }
.prose .slinks a { text-decoration: none; }
.slinks .doc { margin-bottom: 10px; }
@media (max-width: 1100px) {
  .ssol { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ssol-aside { position: static; max-height: none; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); }
  .stoc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-left: 0; }
  .stoc a { padding-left: 0; margin-left: 0; border-left: 0; }
  .prose .ssteps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .itiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssplit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .itiles, .sfigs--2, .sfigs--3, .scards, .slinks { grid-template-columns: minmax(0, 1fr); }
  .itile { min-height: 300px; }
  .prose .slist--2, .prose .slegend--2, .stoc ol { grid-template-columns: minmax(0, 1fr); }
  .prose .ssteps { grid-template-columns: minmax(0, 1fr); }
  .scase { padding: 18px; }
  .sstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sstat b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .itile-bg { transition: none; } .itile:hover .itile-bg { transform: none; } }
.prose .stable tbody th { min-width: 130px; }
