/* ==========================================================================
   SYSTEM POWER — MONOLIT (единый чистый стиль, редизайн 2026)
   Полностью заменяет старый styles.css. Тёмная тема + светлый вариант.
   Шрифты: Montserrat (дисплей/текст) + IBM Plex Mono (подписи).
   ========================================================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- ТОКЕНЫ (ТЗ: две темы) ---------- */
:root, [data-theme="mono"] {
    color-scheme: dark;
    --bg:#0b0b0c; --fg:#f4f3f0; --muted:#b3b1ab; --muted2:#c9c7c1; --dim:#7d7b76;
    --line:#242425; --line2:#2f2f30; --surface:#141415; --surface2:#08080a;
    --bg-blur:rgba(11,11,12,.86);
    --accent:#f4f3f0; --accent-fg:#0b0b0c;
    --band:#f4f3f0; --band-fg:#0b0b0c; --band-muted:#57544d;
    --state-danger:#ff5a4d; --state-success:#00a37a;
    /* алиасы для существующих правил */
    --bg-base:var(--bg); --bg-surface-1:var(--surface); --bg-surface-2:#1c1c1f; --bg-cream:var(--band);
    --border-strong:var(--line2); --border-subtle:var(--line);
    --text-primary:var(--fg); --text-secondary:var(--muted); --text-muted:var(--dim);
    --accent-cream:var(--fg);
    /* геометрия по ТЗ */
    --radius-sm:0; --radius-md:0; --radius-lg:0;
    --container:1360px; --pad:48px; --header-h:76px;
    --font-display:'Archivo','Montserrat',system-ui,'Helvetica Neue',Arial,sans-serif;
    --font-body:'Archivo','Montserrat',system-ui,'Helvetica Neue',Arial,sans-serif;
    --font-mono:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;
}
[data-theme="color"] {
    color-scheme: light;
    --bg:#ffffff; --fg:#0b0b0c; --muted:#555555; --muted2:#3d3d3d; --dim:#858585;
    --line:#e8e8e8; --line2:#dbdbdb; --surface:#ffffff; --surface2:#f6f6f5;
    --bg-blur:rgba(255,255,255,.88);
    --accent:#0b5fff; --accent-fg:#ffffff;
    --band:#0b0b0c; --band-fg:#ffffff; --band-muted:#b3b1ab;
    --bg-surface-2:#f4f4f3; --accent-cream:var(--fg);
}

/* ---------- БАЗА / ТИПОГРАФИКА ---------- */
body {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.7;
    background: var(--bg);
    color: var(--muted2);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; color: var(--fg); text-wrap: balance; }
p { line-height: 1.7; }
strong { font-weight: 700; color: var(--fg); }
a { transition: color .15s ease; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 6.7vw, 96px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* eyebrow / mono-подпись */
.section-eyebrow, .mono-label {
    font-family: var(--font-mono); font-size: 13px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
}
.section-title-center { text-align: center; }
.section h2, .section-title-center {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.02em;
}

/* ---------- КНОПКИ ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1;
    padding: 20px 36px; border-radius: 0; border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-secondary, .btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--accent); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }

/* ---------- ХЕДЕР ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200; height: var(--header-h);
    background: var(--bg-blur); backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 100%; }
.site-header.is-hero { background: transparent; border-bottom-color: transparent; }
.site-header.is-scrolled { background: var(--bg-blur); border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; color: var(--text-primary); }
.logo img { height: 34px; width: auto; }
[data-theme="color"] .logo img { filter: invert(1) brightness(0.12); }
.header-left { margin-right: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a, .nav-item > span { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; }
.nav > a:hover, .nav-item:hover > span { color: var(--text-primary); }
.nav-item.has-dropdown { position: relative; }
.nav-item .dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 220px; background: var(--bg-surface-1); border: 1px solid var(--border-strong);
    border-radius: var(--radius-md); padding: 8px; opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease; display: flex; flex-direction: column; gap: 2px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.dropdown a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-secondary); }
.dropdown a:hover { background: var(--bg-surface-2); color: var(--text-primary); }
.nav-top, .nav-footer, .nav-close { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-ghost { padding: 10px 20px; font-size: 13px; border-color: var(--text-primary); color: var(--text-primary); }
.header-actions .btn-ghost:hover { background: var(--text-primary); color: var(--bg-base); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-secondary); }
.theme-toggle:hover { color: var(--text-primary); border-color: var(--text-primary); }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.theme-toggle .icon-sun { display: none; }
[data-theme="color"] .theme-toggle .icon-sun { display: block; }
[data-theme="color"] .theme-toggle .icon-moon { display: none; }
.language-switch { display: flex; gap: 4px; }
.language-switch a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); padding: 5px 8px; border-radius: var(--radius-sm); }
.language-switch a.active { color: var(--text-primary); background: var(--bg-surface-2); }
.language-switch a:hover { color: var(--text-primary); }

/* Гамбургер (мобилка) */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-primary); transition: transform .2s ease, opacity .2s ease; }

/* ---------- ФУТЕР ---------- */
.site-footer { background: var(--bg-base); border-top: 1px solid var(--border-strong); padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.footer-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-grid > div:first-child .footer-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: 0.02em; color: var(--text-primary); text-transform: none; }
.footer-text { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; display: flex; flex-direction: column; gap: 6px; }
.footer-text a { color: var(--text-secondary); }
.footer-text a:hover { color: var(--text-primary); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.telegram-icon, .email-copy-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-secondary); position: relative; }
.telegram-icon:hover, .email-copy-icon:hover { color: var(--text-primary); border-color: var(--text-primary); }
.telegram-icon svg, .email-copy-icon svg { width: 18px; height: 18px; fill: currentColor; }
.copy-tooltip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--bg-surface-2); color: var(--text-primary); font-size: 11px; padding: 4px 8px; border-radius: var(--radius-sm); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.email-copy-icon.copied .copy-tooltip { opacity: 1; }
.footer-meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; border-top: 1px solid var(--border-strong); margin-top: 40px; padding-top: 24px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0.80) 0%, rgba(11,11,12,0.88) 50%, rgba(11,11,12,0.97) 100%); }
.hero-glow, .hero-play { display: none; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 960px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-content h1 {
    font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 6.2vw, 88px);
    line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase; color: #fff;
    max-width: 1020px; overflow-wrap: break-word;
}
.hero-tagline { display: none; }
.hero-subtitle { font-weight: 400; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; color: var(--text-secondary); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }

/* ---------- TRUST BAR ---------- */
.section-trust { padding: 0; }
.section-trust .container { max-width: none; padding: 0; }
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.trust-item { padding: 34px clamp(24px, 4vw, 56px); border-left: 1px solid var(--border-strong); display: flex; flex-direction: column; gap: 8px; }
.trust-item:first-child { border-left: none; }
.trust-item strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 50px); line-height: 1; letter-spacing: -0.02em; color: var(--text-primary); }
.trust-item span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- LOGOS ---------- */
.section-logos { padding: clamp(44px, 5vw, 64px) 0; }
.logos-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(32px, 5vw, 68px); }
.logos-item img { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.72; transition: filter .25s ease, opacity .25s ease; }
[data-theme="color"] .logos-item img { filter: brightness(0); opacity: 0.72; }
.logos-item:hover img { filter: none; opacity: 1; }

/* ---------- ENGINEERING (инженерный подход) ---------- */
.section-engineering { text-align: left; }
.section-engineering .eng-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.4vw, 64px); align-items: start; }
.eng-left .section-eyebrow { display: block; margin-bottom: 22px; }
.eng-left h2 { text-align: left; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 22px; max-width: 600px; }
.eng-text p { text-align: left; color: var(--text-secondary); font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.eng-text p:last-child { margin-bottom: 0; }
.eng-features { display: flex; flex-direction: column; gap: 12px; }
.eng-feature { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 24px 28px; }
.eng-feature h3 { text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.eng-feature p { text-align: left; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ---------- CATEGORY CARDS (главная: продукция) ---------- */
.section-categories h2 { margin-bottom: 40px; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.category-card { display: flex; flex-direction: column; border: none; border-radius: 0; overflow: visible; background: transparent; }
.category-card:hover .category-card-cta { color: var(--accent); border-color: var(--accent); }
.category-card-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); padding: 0 0 16px; }
.category-card-image { aspect-ratio: 16 / 10; overflow: hidden; }
.category-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover .category-card-image img { transform: scale(1.04); }
.category-card-bg { display: none; }
.category-card-content { padding: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.category-card-content h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.0; letter-spacing: -0.02em; }
.category-card-content p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 44ch; }
.category-card-cta { display: inline-block; align-self: flex-start; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-primary); border-bottom: 1px solid var(--text-primary); padding-bottom: 3px; margin-top: 12px; transition: color .15s, border-color .15s; }
.category-card-cta::after { content: " \2192"; }

/* ---------- CLIENTS ---------- */
.section-clients .section-eyebrow { display: block; margin-bottom: 22px; }
.clients-statement { max-width: 900px; }
.clients-statement p { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 40px; }
.clients-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.client-badge { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }

/* ---------- CUSTOM CTA ---------- */
.section-custom { background: var(--bg-base); }
.custom-cta { display: flex; align-items: stretch; background: var(--bg-cream); border-radius: var(--radius-lg); overflow: hidden; }
[data-theme="color"] .custom-cta { background: #0b0b0c; }
.custom-cta-body { flex: 1 1 56%; padding: clamp(32px, 4.5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.custom-cta-body .section-eyebrow { color: #7d7b76; }
.custom-cta h2 { color: #0b0b0c; font-weight: 900; font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; }
[data-theme="color"] .custom-cta h2 { color: #f4f3f0; }
.custom-cta p { color: #3a3833; max-width: 48ch; font-size: 16px; }
[data-theme="color"] .custom-cta p { color: #cbc9c3; }
.custom-cta .btn-secondary { align-self: flex-start; background: #0b0b0c; color: #f4f3f0; border-color: #0b0b0c; margin-top: 6px; }
[data-theme="color"] .custom-cta .btn-secondary { background: #f4f3f0; color: #0b0b0c; border-color: #f4f3f0; }
.custom-cta .btn-secondary::after { content: "→"; }
.custom-cta .btn-secondary:hover { background: #000; }
.custom-cta-media { flex: 1 1 44%; min-height: 300px; position: relative; }
.custom-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.custom-cta-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px 20px; background: linear-gradient(transparent, rgba(11,11,12,0.9)); display: flex; flex-direction: column; gap: 4px; }
.custom-cta-caption-main { color: #f4f3f0; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.custom-cta-caption-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(244,243,240,0.65); }

/* ---------- FAQ ---------- */
.section-faq h2, .faq-block h2 { margin-bottom: 32px; text-align: left; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-surface-1); }
.faq details[open] { border-color: var(--text-muted); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--text-muted); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq-content { padding: 0 24px 22px; color: var(--text-secondary); line-height: 1.7; }
.faq-content p { margin-bottom: 12px; }
.faq-content p:last-child { margin-bottom: 0; }

/* ---------- PAGE HEADER / BREADCRUMBS / КОНТЕНТ ---------- */
.page-header { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--border-strong); }
.page-header h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -0.025em; }
.page-header > .container > p { color: var(--text-secondary); font-size: 17px; margin-top: 16px; max-width: 70ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text-primary); }
.breadcrumbs span { color: var(--border-strong); }
.breadcrumbs > span:last-child { color: var(--text-secondary); }

/* Общий текстовый контент (страницы, статьи, описания) */
.content-block, .text-block, .prose, .section-text, .category-description { color: var(--text-secondary); line-height: 1.75; }
.content-block h2, .text-block h2, .prose h2, .category-description h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); color: var(--text-primary); margin: 40px 0 18px; letter-spacing: -0.02em; position: relative; padding-left: 18px; }
.content-block h2::before, .prose h2::before, .category-description h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--accent); border-radius: 2px; }
.content-block h3, .text-block h3, .prose h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); color: var(--text-primary); margin: 28px 0 12px; }
.content-block p, .text-block p, .prose p, .section-text p { margin-bottom: 16px; }
.content-block a, .text-block a, .prose a, .section-text a { color: var(--accent); }
.content-block a:hover, .prose a:hover { color: var(--accent-hover); }
.content-block ul, .text-block ul, .prose ul { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.content-block ul li, .text-block ul li, .prose ul li { position: relative; padding-left: 22px; }
.content-block ul li::before, .text-block ul li::before, .prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.content-block ol, .prose ol { margin: 16px 0 16px 20px; list-style: decimal; display: flex; flex-direction: column; gap: 10px; }
.content-block table, .prose table, .text-block table { margin: 24px 0; font-size: 15px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); overflow: hidden; }
.content-block th, .content-block td, .prose th, .prose td, .text-block th, .text-block td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-strong); }
.content-block th, .prose th, .text-block th { background: var(--bg-surface-1); color: var(--text-primary); font-family: var(--font-display); font-weight: 600; }
.content-block tr:last-child td, .prose tr:last-child td { border-bottom: none; }
.content-block blockquote, .prose blockquote { border-left: 3px solid var(--accent); padding: 8px 0 8px 20px; margin: 20px 0; color: var(--text-primary); font-style: italic; }
.article-date, .blog-card-date { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 12px; }

.section-header { margin-bottom: 40px; }
.section-header h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em; }
.section-header p { color: var(--text-secondary); margin-top: 12px; max-width: 70ch; }
.layout-two-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.section--hero { padding-bottom: 0; }
.section--content { padding-top: 32px; }
/* Вложенные секции внутри карточки контента: снимаем двойные отступы */
.content.prose > .section, .content.prose .section { padding: 0; }
.content.prose .section > .container { padding: 0; max-width: none; }
.content.prose .section + .section { margin-top: 36px; }
.content.prose > *:first-child { margin-top: 0; }
.content.prose { padding: clamp(28px, 3vw, 40px); }

/* ---------- КАТАЛОГ (category-show) ---------- */
.category-description .text-block ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.category-description .text-block li { background: var(--bg-surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 16px 18px 16px 40px; font-size: 14.5px; }
.category-description .text-block li::before { content: ""; left: 18px; top: 22px; }
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; margin-top: 32px; }
.catalog-filters { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 22px; }
.filters { display: flex; flex-direction: column; gap: 20px; }
.filters .field { display: flex; flex-direction: column; gap: 8px; }
.filters-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.filter-options { display: flex; flex-direction: column; gap: 8px; max-height: 190px; overflow-y: auto; }
.filter-options label, .filters .field > label { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.filters input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.filters-close { display: none; }
.catalog-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-bottom: 24px; }
.catalog-toolbar .field { display: flex; align-items: center; gap: 10px; }
.catalog-toolbar label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.filters-toggle { display: none; }
.filters-overlay { display: none; }

/* Инпуты/селекты */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
    width: 100%; background: var(--bg-surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    padding: 12px 14px; font-size: 15px; color: var(--text-primary); transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select { cursor: pointer; }

/* ---------- КАРТОЧКИ ТОВАРА (сетка) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--border-strong); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-surface-1); transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: var(--text-muted); transform: translateY(-3px); }
.product-card-media { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-card-content { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.35; color: var(--text-primary); }
.product-card-content p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; }
.product-card-content ul { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.product-card-content ul li { font-size: 12.5px; color: var(--text-muted); padding-left: 12px; position: relative; }
.product-card-content ul li::before { content: "·"; position: absolute; left: 2px; color: var(--text-muted); }
.product-card-content > span { margin-top: auto; padding-top: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }
.rating-badge .rating-star { color: var(--accent-yellow, #ffc400); }

/* ---------- КАРТОЧКА ТОВАРА (страница) ---------- */
.product-layout { display: flex; flex-direction: column; gap: 56px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-gallery { position: relative; }
.product-gallery-track { display: flex; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-md); transition: transform .35s ease; }
.product-gallery-slide { min-width: 100%; aspect-ratio: 1; background: #fff; }
.product-gallery-slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.product-placeholder { aspect-ratio: 1; background: var(--bg-surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-md); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(11,11,12,0.7); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.gallery-prev { left: 12px; } .gallery-next { right: 12px; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-thumb { width: 66px; height: 66px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.product-thumb.is-active { border-color: var(--accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-details { display: flex; flex-direction: column; gap: 24px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.product-specs h2, .product-desc-preview h2, .product-files h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 14px; letter-spacing: -0.01em; }
.product-specs table { background: var(--line); border: 1px solid var(--line); border-collapse: separate; border-spacing: 1px; }
.product-specs th, .product-specs td { background: var(--bg); padding: 13px 16px; font-size: 15px; text-align: left; }
.product-specs th { color: var(--muted); font-weight: 500; width: 52%; }
.product-specs td { color: var(--fg); }
.product-desc-content { color: var(--text-secondary); line-height: 1.7; overflow: hidden; }
.product-desc-preview:not(.is-expanded) .product-desc-content { max-height: 140px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.product-desc-preview.is-expanded .product-desc-content { max-height: none; -webkit-mask-image: none; mask-image: none; }
.product-desc-more { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.product-desc-preview.is-expanded .more-text, .product-desc-preview:not(.is-expanded) .less-text { display: none; }
.product-files a.product-file { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 14px 18px; transition: border-color .2s; }
.product-file:hover { border-color: var(--text-muted); }
.product-file-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: #fff; background: var(--state-danger); padding: 4px 8px; border-radius: var(--radius-sm); }
.product-file-name { flex: 1; color: var(--text-primary); font-size: 14.5px; }
.product-file-size { color: var(--text-muted); font-size: 13px; }
.product-buy-toggle { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: space-between; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 16px 20px; font-family: var(--font-display); font-weight: 600; color: var(--text-primary); }
.product-buy-icon { color: var(--text-muted); font-size: 20px; }
.product-buy-panel { padding: 16px 0 0; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-logo { display: flex; align-items: center; justify-content: center; width: 64px; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; }
.partner-logo img { max-width: 80%; max-height: 70%; object-fit: contain; }

/* Отзывы */
.product-reviews { display: flex; flex-direction: column; gap: 20px; }
.product-reviews h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; }
.reviews-summary { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }
.review-stars { color: var(--fg); letter-spacing: 2px; }
.review-flash { padding: 14px 18px; border-radius: var(--radius-md); font-size: 14.5px; }
.review-flash--ok { background: rgba(0,163,122,0.12); color: var(--state-success); border: 1px solid rgba(0,163,122,0.3); }
.review-flash--err { background: rgba(255,90,77,0.12); color: var(--state-danger); border: 1px solid rgba(255,90,77,0.3); }
.review-card { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-surface-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); }
.review-meta { display: flex; flex-direction: column; gap: 3px; }
.review-meta strong { font-family: var(--font-display); }
.review-date, .review-purchase { font-size: 12.5px; color: var(--text-muted); }
.review-source { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.review-source img { width: 22px; height: 22px; object-fit: contain; }
.review-source a { font-size: 12.5px; color: var(--accent); }
.review-title { font-family: var(--font-display); font-weight: 700; color: var(--text-primary); }
.review-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.65; }
.review-form-card { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 26px; background: var(--bg-surface-1); }
.review-form-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.review-form { display: flex; flex-direction: column; gap: 14px; }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-rating-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; align-items: center; }
.review-rating-pick input { position: absolute; opacity: 0; width: 0; }
.review-rating-pick label { font-size: 26px; color: var(--border-strong); cursor: pointer; line-height: 1; }
.review-rating-pick input:checked ~ label, .review-rating-pick label:hover, .review-rating-pick label:hover ~ label { color: var(--accent); }

/* ---------- PARTNERS / DOCUMENTS / BRAND / CONTACTS / ORDER ---------- */
.partner-grid, .partners-grid, .brand-grid, .documents-grid, .list-grid, .contact-details { display: grid; gap: 20px; }
.partner-grid, .partners-grid, .brand-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.documents-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.partner-card, .document-card, .brand-card, .order-card, .contact-card, .content { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 26px; background: var(--bg-surface-1); }
.partner-card--large { grid-column: span 2; }
.brand-card-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.partner-logo-lg img { max-height: 48px; width: auto; }
.cta-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 6px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.contact-tab { padding: 10px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); }
.contact-tab.active { background: var(--text-primary); color: var(--bg-base); border-color: var(--text-primary); }
.contact-panel { display: none; margin-top: 20px; }
.contact-panel.active { display: block; }

/* Форма контактов/заявки */
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-field label { font-size: 14px; color: var(--text-secondary); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-secondary); margin: 8px 0 16px; }
.form-consent input { width: 17px; height: 17px; accent-color: var(--accent); margin-top: 2px; }

/* ---------- LEAD MODAL ---------- */
body.lead-modal-open, body.lightbox-open, body.nav-open { overflow: hidden; }
.lead-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lead-modal[hidden] { display: none; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.lead-modal-dialog { position: relative; z-index: 1; width: 100%; max-width: 480px; background: var(--bg-surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 32px; max-height: 90vh; overflow-y: auto; }
.lead-modal-close { position: absolute; top: 16px; right: 18px; font-size: 26px; color: var(--text-muted); line-height: 1; }
.lead-modal-close:hover { color: var(--text-primary); }
.lead-modal-dialog h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-bottom: 22px; letter-spacing: -0.01em; }
.lead-modal-error { color: var(--state-danger); font-size: 14px; margin-bottom: 12px; }
.lead-modal-success p { color: var(--state-success); font-size: 16px; }
.lead-modal .btn-primary { width: 100%; margin-top: 8px; background: var(--accent); color: #fff; border-color: var(--accent); }
.lead-modal .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.review-form .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); align-self: flex-start; }
.review-form .btn-primary:hover { background: var(--accent-hover); }

/* ALTCHA */
altcha-widget {
    --altcha-color-base: var(--bg-surface-2); --altcha-color-border: var(--border-strong);
    --altcha-color-text: var(--text-primary); --altcha-border-radius: var(--radius-sm);
    --altcha-max-width: 100%; display: block;
}

/* iti phone */
.iti { width: 100%; }
.iti__dropdown-content { background: var(--bg-surface-1); color: var(--text-primary); border: 1px solid var(--border-strong); }
.iti__country:hover { background: var(--bg-surface-2); }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 26px; font-size: 34px; color: #fff; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }

/* ---------- РЕЙТИНГ В КАРТОЧКАХ ТОВАРА ---------- */
.card-rating { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--text-secondary); }
.card-rating-star { color: var(--fg); font-size: 13px; }
.card-rating-cnt { color: var(--text-muted); }

/* ---------- КАРТОЧКИ БЛОГА (индекс) ---------- */
.blog-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.blog-card-full { grid-column: 1 / -1; }
.blog-card-link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border-strong); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-surface-1); transition: border-color .2s ease, transform .2s ease; }
.blog-card-link:hover { border-color: var(--text-muted); transform: translateY(-3px); }
.blog-card-full .blog-card-link { flex-direction: row; }
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-surface-2); }
.blog-card-full .blog-card-img { max-width: 46%; aspect-ratio: auto; }
.blog-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.blog-card-body h2, .blog-card-body h3, .blog-card-body .blog-card-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.18; letter-spacing: -0.01em; color: var(--text-primary); }
.blog-card-body p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
.blog-card-full .blog-card-body { justify-content: center; padding: clamp(24px, 3vw, 44px); }

/* ---------- ABOUT / SECTION-ABOUT ---------- */
.section-about .about-grid, .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-image { border-radius: var(--radius-md); overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-placeholder { aspect-ratio: 4 / 3; background: var(--bg-surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-md); }

/* ---------- КОНТАКТЫ (варианты) ---------- */
.contact-method-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.contact-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-primary); font-weight: 600; font-size: 14px; }
.contact-btn:hover, .contact-btn--phone:hover { border-color: var(--text-primary); }
.contacts-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contacts-card, .contact-block, .contact-widget, .contact-card { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 26px; background: var(--bg-surface-1); }
.contact-widget-text { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
.contacts-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-strong); }
.contacts-map iframe, .contacts-map img { width: 100%; display: block; border: 0; }

/* ---------- ПРОЧИЕ КОМПОНЕНТЫ ---------- */
.category-facts { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.category-facts li { font-size: 12.5px; color: var(--text-muted); padding-left: 12px; position: relative; }
.category-facts li::before { content: "·"; position: absolute; left: 2px; }
.category-card-title { font-family: var(--font-display); font-weight: 800; }
.article-products { margin-top: 48px; }
.certificates { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.advantages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.checkbox-field input { width: 17px; height: 17px; accent-color: var(--accent); margin-top: 2px; }
.brand-download { display: inline-flex; align-items: center; gap: 8px; }
.seo-text { color: var(--text-secondary); }
.metrics { display: grid; gap: 20px; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1024px) {
    .product-hero { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .header-actions .btn-ghost, .header-actions .theme-toggle, .header-actions .language-switch { display: none; }
    .site-header .nav {
        position: fixed; inset: 0; top: 0; height: 100dvh; width: 100%;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 4px; padding: 84px 28px 32px; background: var(--bg-base);
        overflow-y: auto; z-index: 300; display: none;
    }
    body.nav-open .site-header .nav { display: flex; animation: navIn .25s ease; }
    .nav > a, .nav-item > span { font-size: 20px; font-weight: 600; color: var(--text-primary); padding: 14px 0; border-bottom: 1px solid var(--border-strong); }
    .nav-item.has-dropdown .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: transparent; padding: 4px 0 12px 16px; }
    .nav-footer { display: block; margin-top: 20px; }
    .nav-language { display: flex; gap: 12px; }
    .nav-language a { font-family: var(--font-mono); text-transform: uppercase; color: var(--text-secondary); }
    .nav-language a.active { color: var(--text-primary); }
    .section-engineering .eng-grid { grid-template-columns: 1fr; gap: 32px; }
    .category-grid { grid-template-columns: 1fr; }
    .custom-cta { flex-direction: column; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); z-index: 320; border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; background: var(--bg-base); }
    body.filters-open .catalog-filters { transform: translateX(0); }
    body.filters-open .filters-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 310; }
    .filters-close, .filters-toggle { display: inline-flex; }
    .layout-two-columns { grid-template-columns: 1fr; }
    .trust-bar { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: none; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border-strong); }
}
@keyframes navIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-grid { grid-template-columns: 1fr; }
    .review-form-row { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: clamp(26px, 8vw, 40px); }
    .trust-bar { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   MOCKUP FIXES 2026-07-29
   ============================================================ */
/* Производство — в макете без сайдбара */
body[class*="page--custom-production"] .layout-two-columns { grid-template-columns: 1fr !important; }
body[class*="page--custom-production"] .aside { display: none !important; }

/* Статья: бейдж тега, мета, лид, вставка «ИЗ КАТАЛОГА» */
.article-tag-badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--accent); color: var(--accent-fg); padding: 5px 10px; }
.article-meta { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--text-muted); margin-left: 12px; }
.article-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--text-secondary); max-width: 60ch; margin: 22px 0 34px; }
.article-hero-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; margin: 0 0 42px; }

.catalog-embed { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 0; border: 1px solid var(--border-strong); background: var(--surface2); margin: 40px 0; }
.catalog-embed-img { aspect-ratio: 1; overflow: hidden; }
.catalog-embed-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-embed-body { padding: 26px 30px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.catalog-embed-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.catalog-embed-kicker .k-label { background: var(--accent); color: var(--accent-fg); padding: 4px 9px; margin-right: 10px; }
.catalog-embed-kicker .k-sku { color: var(--text-muted); }
.catalog-embed-body h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.catalog-embed-body p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.catalog-embed-specs { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); width: 100%; border: 1px solid var(--border-strong); background: var(--bg); }
.catalog-embed-specs > div { padding: 12px 14px; border-right: 1px solid var(--border-strong); }
.catalog-embed-specs > div:last-child { border-right: none; }
.catalog-embed-specs .s-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 4px; }
.catalog-embed-specs .s-value { font-family: var(--font-display); font-weight: 700; color: var(--text-primary); font-size: 17px; }
.catalog-embed-cta { display: inline-block; background: var(--accent); color: var(--accent-fg); font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 13px 22px; margin-top: 6px; }
.catalog-embed-cta:hover { opacity: 0.9; }
.catalog-embed-cta::after { content: " \2192"; }
@media (max-width: 700px) {
    .catalog-embed { grid-template-columns: 1fr; }
}

/* Статейные цитатные списки с левой синей линией (макет) */
.prose .key-list, .text-block .key-list { border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; margin: 26px 0; list-style: none; }
.prose .key-list li, .text-block .key-list li { padding: 6px 0; color: var(--text-secondary); }

/* catalog-embed: специфичность против .text-block a / li::before */
.text-block .catalog-embed-cta, .prose .catalog-embed-cta, .content-block .catalog-embed-cta {
    color: var(--accent-fg);
    text-decoration: none;
    border-bottom: none;
}
.text-block .key-list li::before, .prose .key-list li::before { content: none; }
.text-block .catalog-embed h3 { margin: 0; }


/* Блог-листинг по стилю макета: карточки без боксов */
.blog-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.blog-card { display: flex; flex-direction: column; align-items: flex-start; }
.blog-card-photo { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 20px; background: var(--surface2); }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-photo img { transform: scale(1.04); }
.blog-card-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); display: flex; gap: 14px; margin-bottom: 12px; }
.blog-card-kicker .blog-card-tagline { color: var(--accent); }
.blog-card h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 14px; }
.blog-card-more { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-primary); border-bottom: 1px solid var(--text-primary); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.blog-card-more::after { content: " \2192"; }
.blog-card:hover .blog-card-more { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1000px) { .blog-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-cards-grid { grid-template-columns: 1fr; } }

/* === monolit-design-sync applied 2026-07-29b === */
/* ============================================================================
   System Power — синхронизация стилей с макетом «Монолит»
   Коммитить в: public/public/themes/systempower/monolit.css

   Способ 1 (быстрый): подключить этот файл после monolit.css в layouts/default.php
   Способ 2 (правильный): перенести блоки ниже в monolit.css, заменив
   соответствующие правила по указанным номерам строк.
   ========================================================================= */

/* --- 1. ТОКЕНЫ ТЁМНОЙ ТЕМЫ — заменяет monolit.css:21–39 --------------------
   Совпадает с текущим, кроме --hero-fade (его в репозитории нет). */
:root, [data-theme="mono"] {
  --bg:#0b0b0c; --fg:#f4f3f0; --muted:#b3b1ab; --muted2:#c9c7c1; --dim:#7d7b76;
  --line:#242425; --line2:#2f2f30; --surface:#141415; --surface2:#08080a;
  --bg-blur:rgba(11,11,12,.86);
  --hero-fade:#0b0b0c;
  --accent:#f4f3f0; --accent-fg:#0b0b0c;
  --band:#f4f3f0; --band-fg:#0b0b0c; --band-muted:#57544d;
}

/* --- 2. ТОКЕНЫ СВЕТЛОЙ ТЕМЫ — заменяет monolit.css:41–48 ------------------
   В репозитории светлая тема холоднее и контрастнее макета: серые #e8e8e8 /
   #555555 вместо тёплых бумажных оттенков. Приводим к макету. */
[data-theme="color"] {
  --bg:#ffffff; --fg:#0b0b0c; --muted:#555555; --muted2:#3d3d3d; --dim:#858585;
  --line:#e8e8e8; --line2:#dbdbdb; --surface:#ffffff; --surface2:#f6f6f5;
  --bg-blur:rgba(255,255,255,.88);
  --hero-fade:#ffffff;
  --accent:#0b5fff; --accent-fg:#ffffff;
  --band:#0b0b0c; --band-fg:#f4f3f0; --band-muted:#b3b1ab;
  --bg-surface-2:#f6f6f5; --accent-cream:var(--fg);
}

/* --- 3. НУЛЕВЫЕ РАДИУСЫ — правит monolit.css:273, 280, 355, 395, 467 ------
   Токены --radius-* уже 0, но остались захардкоженные скругления. */
.content-block h2::before,
.prose h2::before,
.category-description h2::before { border-radius: 0; }

.content-block ul li::before,
.text-block ul li::before,
.prose ul li::before { border-radius: 0; width: 5px; height: 5px; }

.gallery-nav,
.lightbox-nav,
.review-avatar { border-radius: 0; }

/* --- 4. ЗАГОЛОВКИ В ТЕКСТЕ — правит monolit.css:272–273 -------------------
   В макете у H2 нет вертикальной акцентной полосы и отступа слева. */
.content-block h2,
.text-block h2,
.prose h2,
.category-description h2 { padding-left: 0; }
.content-block h2::before,
.prose h2::before,
.category-description h2::before { content: none; }

/* --- 5. ОСТАТКИ ЖЁЛТОГО АКЦЕНТА — правит monolit.css:345 -----------------
   Третий цвет в макете — синий #0b5fff, не жёлтый. */
.rating-badge .rating-star { color: var(--accent); }

/* --- 6. ЛОГОТИПЫ ПАРТНЁРОВ И БРЕНДОВ -------------------------------------
   По умолчанию монохром, при наведении — оригинальные цвета. */
.logos-item img,
.partner-logo img {
  filter: brightness(0) invert(1);
  opacity: .72;
  transition: filter .25s ease, opacity .25s ease;
}
[data-theme="color"] .logos-item img,
[data-theme="color"] .partner-logo img { filter: brightness(0); opacity: .72; }
.logos-item img:hover,
.partner-logo:hover img,
[data-theme="color"] .logos-item img:hover,
[data-theme="color"] .partner-logo:hover img { filter: none; opacity: 1; }

/* Плашка логотипа не должна быть белой в тёмной теме — правит monolit.css:382 */
.partner-logo { background: transparent; border-color: var(--line2); }

/* --- 7. CTA-ПОЛОСА — правит monolit.css:229–245 ---------------------------
   Инверсия делается токенами --band, а не хардкодом #0b0b0c / #f4f3f0. */
.custom-cta { background: var(--band); }
.custom-cta h2 { color: var(--band-fg); }
.custom-cta p { color: var(--band-muted); }
.custom-cta .btn-secondary {
  background: var(--bg); color: var(--fg); border-color: var(--bg);
}
.custom-cta-caption-sub { color: var(--band-muted); }

/* --- 8. ГДЕ КУПИТЬ: до 8 продавцов, все равнозначны ----------------------
   Ни одного выделенного продавца, компактная сетка, внешняя ссылка ↗. */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.buy-item {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line2); padding: 9px 12px;
  font-size: 13px; font-weight: 600; color: var(--fg);
  transition: border-color .2s ease;
}
.buy-item:hover { border-color: var(--accent); }
.buy-item-mark {
  width: 22px; height: 22px; flex: 0 0 22px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line2);
  font-family: var(--font-mono); font-size: 10px; color: var(--muted2);
}
.buy-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buy-item-ext { color: var(--accent); font-size: 12px; }
.buy-note {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.buy-note a, .buy-note button {
  font-size: 14px; font-weight: 600; color: var(--fg);
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
@media (max-width: 640px) { .buy-grid { grid-template-columns: 1fr; } }

/* --- 9. ВСТРОЙКА ТОВАРА В СТАТЬЮ — дополняет monolit.css:578–605 ---------
   Формат 1: крупный блок «Из каталога». */
.catalog-embed { background: var(--surface); border-color: var(--line); }
.catalog-embed-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin: 18px 0 24px;
}
.catalog-embed-specs > div { background: var(--bg); padding: 14px; }

/* Формат 2: парный блок из двух компактных карточек. */
.catalog-pair { margin: 44px 0; }
.catalog-pair-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 14px;
}
.catalog-pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.catalog-pair-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: border-color .2s ease;
}
.catalog-pair-card:hover { border-color: var(--accent); }
.catalog-pair-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.catalog-pair-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-pair-body { padding: 22px; }
.catalog-pair-code {
  font-family: var(--font-mono); font-size: 11px; color: var(--dim); margin-bottom: 8px;
}
.catalog-pair-name { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.catalog-pair-more {
  font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
@media (max-width: 860px) { .catalog-pair-grid { grid-template-columns: 1fr; } }

/* --- 10. КАРТОЧКА ТОВАРА: артикул поверх фото, без стикера «в наличии» ---- */
.product-card-photo { position: relative; }
.product-card-code-overlay {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: #f4f3f0; background: rgba(11,11,12,.7); padding: 4px 8px;
}
.product-stock-badge { display: none; }

/* --- 11. ОТЗЫВЫ СО ССЫЛКОЙ НА ИСТОЧНИК ----------------------------------- */
.review-source {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line2); padding: 11px 14px; margin-top: 4px;
  transition: border-color .2s ease;
}
.review-source:hover { border-color: var(--accent); }
.review-source-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  background: var(--accent); color: var(--accent-fg); padding: 3px 7px;
}
.review-source a { color: var(--fg); font-size: 13px; font-weight: 600; }

/* --- 12. HERO ОСТАЁТСЯ ТЁМНЫМ В ОБЕИХ ТЕМАХ ----------------------------- */
.hero-video, .hero { background: #0b0b0c; color: #f4f3f0; }
.hero-video h1, .hero h1 { color: #f4f3f0; }
.hero-video p, .hero p { color: #b3b1ab; }
.hero-video-overlay {
  background: linear-gradient(180deg,
    rgba(11,11,12,.72) 0%, rgba(11,11,12,.55) 45%, var(--hero-fade) 100%);
}

/* --- 13. ССЫЛКИ ПО УМОЛЧАНИЮ -------------------------------------------- */
a { color: inherit; }
.prose a, .content-block a, .text-block a, .section-text a { color: var(--accent); }
.prose a:hover, .content-block a:hover { color: var(--accent); opacity: .8; }

/* --- 14. КАТАЛОГ БЕЗ САЙДБАРА (к новому category-show.php) ------------ */
.catalog-layout { display: block; }            /* гасим старую двухколонку */
.catalog-filters.filters--sticky { position: static; }

.page-lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 760px; margin-top: 16px; }

.catalog-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 28px;
}
.catalog-bar-search { flex: 1; min-width: 220px; }
.catalog-bar-search input {
  width: 100%; background: var(--surface); border: 1px solid var(--line2);
  border-radius: 0; padding: 11px 14px; color: var(--fg); font-size: 14px;
}
.catalog-bar-filter { position: relative; }
.catalog-bar-filter > summary {
  list-style: none; cursor: pointer; user-select: none;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line2); padding: 11px 14px;
}
.catalog-bar-filter > summary::-webkit-details-marker { display: none; }
.catalog-bar-filter > summary::after { content: " ▾"; color: var(--dim); }
.catalog-bar-filter[open] > summary { border-color: var(--accent); color: var(--fg); }
.catalog-bar-options {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 220px; max-height: 320px; overflow: auto;
  background: var(--bg); border: 1px solid var(--line2);
  padding: 10px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.catalog-bar-options label { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--muted2); cursor: pointer; }
.catalog-bar-options input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); }
.catalog-bar-sort {
  background: var(--surface); border: 1px solid var(--line2); border-radius: 0;
  padding: 11px 14px; color: var(--fg); font-size: 14px;
}
.catalog-bar-apply { padding: 11px 20px; font-size: 14px; }

.product-grid--monolit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-grid--monolit .product-card { background: transparent; transition: border-color .2s ease; }
.product-grid--monolit .product-card:hover { border-color: var(--accent); transform: none; }
.product-grid--monolit .product-card-media { aspect-ratio: 4 / 3; background: var(--surface); border-bottom: 1px solid var(--line); }
.product-grid--monolit .product-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-grid--monolit .product-card-content { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.product-grid--monolit .product-card-content h3 { font-size: 17px; line-height: 1.3; }
.product-grid--monolit .product-card-content p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.product-card-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product-card-facts li {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--dim); border: 1px solid var(--line2); padding: 4px 8px;
}
.product-card-more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--fg); }
.product-grid--monolit .product-card:hover .product-card-more { color: var(--accent); }

.category-description { max-width: 900px; margin: 56px 0 0; }

/* Список категорий: две крупные карточки */
.category-grid--monolit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.category-grid--monolit .category-card { padding: 56px; border-right: 1px solid var(--line); }
.category-grid--monolit .category-card:last-child { border-right: none; }
.category-grid--monolit .category-card:hover { background: var(--surface); }
.category-grid--monolit .category-card-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); margin: 24px 0; }
.category-grid--monolit .category-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .product-grid--monolit { grid-template-columns: 1fr; }
  .category-grid--monolit { grid-template-columns: 1fr; }
  .category-grid--monolit .category-card { border-right: none; border-bottom: 1px solid var(--line); }
}

/* --- 15. КОНТЕНТНЫЕ СТРАНИЦЫ БЕЗ САЙДБАРА (к новому page.php) --------- */
.layout-two-columns { display: block; }        /* гасим старую сетку, если где-то осталась */
.aside--sticky { position: static; margin-top: 48px; }
.section-text .text-block, .prose { max-width: 760px; }
.custom-cta--band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--band); color: var(--band-fg); padding: 64px 48px; }
.custom-cta--band h2 { color: var(--band-fg); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.custom-cta--band p { color: var(--band-muted); }
.custom-cta--band .custom-cta-form { background: var(--bg); color: var(--fg); padding: 32px; border: 1px solid var(--line); }
@media (max-width: 900px) { .custom-cta--band { grid-template-columns: 1fr; } }

/* === end monolit-design-sync === */


/* Наличие из CRM sissol.ru */
.stock-state { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.stock-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.stock-state--in { color: var(--state-success); }
.stock-state--in::before { background: var(--state-success); }
.stock-state--wait { color: var(--text-secondary); }
.stock-state--wait::before { background: var(--dim); }


/* Партнёр с наличием в «Где купить» */
.partner-logo--stock { position: relative; }
.partner-logo--stock::after { content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--state-success); }


/* Где купить: список поставщиков */
.buy-item-mark img { max-width: 16px; max-height: 16px; object-fit: contain; display: block; }
.buy-item-avail { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--state-success); white-space: nowrap; }
.product-buy-panel .buy-grid { margin-top: 12px; }


/* Дропдаун «Продукция»: без щели между пунктом и меню (hover не обрывается) */
.nav-item .dropdown { z-index: 300; }
.nav-item .dropdown::before { content: ""; position: absolute; left: -12px; right: -12px; bottom: 100%; height: 18px; }
.nav-item.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }


/* Культура производства */
.section-culture .section-eyebrow { display: block; margin-bottom: 18px; }
.culture-lede { max-width: 62ch; color: var(--text-secondary); margin: 14px 0 34px; }
.culture-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.culture-item { margin: 0; }
.culture-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--surface2); }
.culture-item figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 10px; line-height: 1.5; text-transform: uppercase; }
.culture-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.culture-points li { font-size: 15px; color: var(--text-secondary); padding-left: 18px; position: relative; }
.culture-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 2px; background: var(--accent); }
@media (max-width: 1000px) { .culture-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .culture-strip { grid-template-columns: repeat(2, 1fr); } }

/* Как мы работаем */
.process-steps { counter-reset: step; list-style: none; padding: 0; margin: 10px 0 0; max-width: 760px; }
.process-steps li { counter-increment: step; position: relative; padding: 14px 0 14px 58px; border-bottom: 1px solid var(--line); color: var(--text-secondary); }
.process-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.process-steps li strong { color: var(--text-primary); }

.footer-requisites { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

.culture-item img { cursor: zoom-in; }

/* ==========================================================================
   РЕДИЗАЙН, ВАРИАНТ A (WP-3, 17.11.2026): синий логотипа #0071CE, крупные карточки,
   без надзаголовков, светлая тема по умолчанию (тёмная — переключателем).
   Все новые блоки — классы sp-*; секции из page_sections (templates sp_*).
   ========================================================================== */
:root, [data-theme="mono"] {
    --sp-brand:#2f8fe0; --sp-brand-ink:#5aa8ec; --sp-tint:rgba(0,113,206,.16);
    --sp-card:#141415; --sp-alt:#101011;
}
[data-theme="color"] {
    --accent:#0071ce; --accent-fg:#ffffff;
    --sp-brand:#0071ce; --sp-brand-ink:#005aa6; --sp-tint:#e9f2fb;
    --sp-card:#ffffff; --sp-alt:#f5f5f3;
}
.section-eyebrow { display: none; }

.sp-sec, .sp-hero, .sp-page-hero, .sp-ctaband { font-size: 17px; line-height: 1.6; }
.sp-sec { padding: clamp(56px, 7vw, 104px) 0; background: var(--bg); }
.sp-sec.sp-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sp-sec.sp-alt { background: var(--sp-alt); }
.sp-sec.sp-dark, .sp-hero { background: #0b0b0c; color: #c9c8c3; }
.sp-sec.sp-dark h2, .sp-sec.sp-dark h3, .sp-hero h1 { color: #fff; }
.sp-sec h2, .sp-ctaband h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.08; }
.sp-sec h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; letter-spacing: -.01em; }
.sp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sp-head p { max-width: 560px; color: var(--muted); font-size: 18px; }
.sp-icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; }
.sp-icon-xl { width: 44px; height: 44px; stroke-width: 1.4; }
.sp-icon-l { width: 32px; height: 32px; stroke-width: 1.5; }
.sp-ic { color: var(--sp-brand); }
.sp-mono { font-family: var(--font-mono); }
.sp-mt { margin-top: 28px; }
.sp-mt-s { margin-top: 16px; }
.sp-lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 760px; }
.sp-strong { font-weight: 700; color: var(--fg); }

.sp-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1; padding: 18px 28px; border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s; white-space: nowrap; cursor: pointer; }
.sp-btn .sp-icon { width: 18px; height: 18px; }
.sp-btn-primary { background: #0071ce; color: #fff; border-color: #0071ce; }
.sp-btn-primary:hover { background: #005aa6; border-color: #005aa6; color: #fff; }
.sp-btn-ghost { border-color: var(--fg); color: var(--fg); background: transparent; }
.sp-btn-ghost:hover { background: var(--fg); color: var(--bg); }
.sp-hero .sp-btn-ghost, .sp-dark .sp-btn-ghost { border-color: #fff; color: #fff; }
.sp-hero .sp-btn-ghost:hover, .sp-dark .sp-btn-ghost:hover { background: #fff; color: #0b0b0c; }
.sp-btn[disabled] { opacity: .6; cursor: wait; }
.sp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sp-brand); }
.sp-link .sp-icon { width: 18px; height: 18px; transition: transform .18s; }
a:hover .sp-link .sp-icon, .sp-link:hover .sp-icon { transform: translateX(4px); }
.sp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* герой главной */
.sp-hero { position: relative; overflow: hidden; }
.sp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 600px; }
.sp-hero-copy { padding: clamp(56px, 7vw, 104px) 48px clamp(48px, 5vw, 72px) 0; display: flex; flex-direction: column; justify-content: center; }
.sp-hero h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; max-width: 760px; line-height: 1.05; }
.sp-hero .sp-lead { color: #c9c8c3; margin-top: 24px; max-width: 620px; }
.sp-hero-media { position: relative; border-left: 1px solid #2a2a2d; min-height: 320px; }
.sp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hero-tag { position: absolute; left: 0; bottom: 0; background: #0b0b0c; color: #fff; padding: 14px 18px; font-size: 14px; border-top: 1px solid #2a2a2d; border-right: 1px solid #2a2a2d; }
.sp-facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #2a2a2d; }
.sp-fact { padding: 26px 24px; border-right: 1px solid #2a2a2d; }
.sp-fact:last-child { border-right: 0; }
.sp-fact b { display: block; font-family: var(--font-mono); font-size: clamp(22px, 2.2vw, 30px); color: #fff; font-weight: 500; letter-spacing: -.02em; }
.sp-fact span { font-size: 15px; color: #c9c8c3; }

/* плитки-входы */
.sp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sp-tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; background: var(--sp-card); transition: background .18s; }
.sp-tile:hover { background: var(--sp-tint); }
.sp-tile p { color: var(--muted); font-size: 16px; }
.sp-tile .sp-link { margin-top: auto; padding-top: 8px; }
.sp-ic-box { width: 72px; height: 72px; display: grid; place-items: center; background: var(--sp-tint); color: var(--sp-brand); margin-bottom: 8px; transition: background .18s, color .18s; }
.sp-tile:hover .sp-ic-box { background: #0071ce; color: #fff; }

/* сегменты */
.sp-segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.sp-seg { grid-column: span 2; background: var(--sp-card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .18s, transform .18s; }
.sp-seg.sp-wide { grid-column: span 3; }
.sp-seg:hover { border-color: var(--sp-brand); transform: translateY(-2px); }
.sp-seg-top { padding: 32px 32px 0; display: flex; flex-direction: column; gap: 14px; }
.sp-seg-body { padding: 12px 32px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sp-seg-body p { color: var(--muted); font-size: 16px; }
.sp-seg .sp-link { margin-top: auto; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip { font-family: var(--font-mono); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line2); color: var(--fg); background: var(--sp-card); }

/* семейства */
.sp-families { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.sp-fam { border: 1px solid var(--line); background: var(--sp-card); display: flex; flex-direction: column; transition: border-color .18s; }
.sp-fam:hover { border-color: var(--sp-brand); }
.sp-fam-img { height: 300px; background: var(--sp-alt); overflow: hidden; border-bottom: 1px solid var(--line); }
.sp-fam-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sp-fam:hover .sp-fam-img img { transform: scale(1.03); }
.sp-fam-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sp-fam-body p { color: var(--muted); font-size: 16px; }
.sp-fam-body .sp-link { margin-top: auto; }

/* типы шкафов */
.sp-types { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sp-type { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; background: var(--sp-card); transition: background .18s; }
.sp-type:hover { background: var(--sp-tint); }
.sp-type .sp-ic { margin-bottom: 6px; }
.sp-type p { font-size: 15px; color: var(--muted); }
.sp-params { font-family: var(--font-mono); font-size: 13px; color: var(--fg); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line2); }

/* подбор РУСП */
.sp-selector { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); background: var(--sp-card); }
.sp-sel-controls { padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 26px; background: var(--sp-alt); }
.sp-sel-group h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.sp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-opt { font-family: var(--font-mono); font-size: 14px; padding: 10px 14px; border: 1px solid var(--line2); background: var(--sp-card); color: var(--fg); transition: all .15s; }
.sp-opt:hover { border-color: var(--fg); }
.sp-opt[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sp-sel-note { font-size: 14px; color: var(--muted); }
.sp-sel-results { padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-content: start; min-height: 360px; }
.sp-model { border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.sp-model[hidden], .sp-sel-empty[hidden] { display: none; }
.sp-model:hover { border-color: var(--sp-brand); }
.sp-sku { font-family: var(--font-mono); font-size: 13px; color: var(--sp-brand); }
.sp-model h4 { font-size: 16px; letter-spacing: -.01em; line-height: 1.25; }
.sp-spec { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.sp-front { width: 100%; height: auto; background: var(--sp-alt); }
.sp-sel-empty { grid-column: 1 / -1; color: var(--muted); padding: 24px; }

/* производство, этапы, цифры */
.sp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sp-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 8px; }
.sp-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.sp-mosaic .sp-big { grid-column: span 2; grid-row: span 2; }
.sp-steps { counter-reset: sps; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sp-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sp-step::before { counter-increment: sps; content: counter(sps, decimal-leading-zero); font-family: var(--font-mono); font-size: 22px; color: var(--sp-brand); }
.sp-step h3 { font-size: 20px; }
.sp-step p { font-size: 16px; color: var(--muted); margin-top: 4px; }
.sp-numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-top: 40px; }
.sp-numbers-top { margin-top: 0; }
.sp-num { padding: 24px; border-right: 1px solid var(--line); }
.sp-num:last-child { border-right: 0; }
.sp-num b { display: block; font-family: var(--font-mono); font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; color: var(--fg); white-space: nowrap; }
.sp-num span { font-size: 15px; color: var(--muted); }

/* документы */
.sp-docs { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 20px; align-items: stretch; }
.sp-doc { border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; background: var(--sp-card); }
.sp-doc p { font-size: 15px; color: var(--muted); }
.sp-doc-img { border: 1px solid var(--line); background: var(--sp-alt); padding: 16px; display: grid; place-items: center; }
.sp-doc-img img { max-height: 300px; width: auto; box-shadow: 0 6px 24px rgba(0,0,0,.08); }

/* партнёры, статьи */
.sp-partners { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sp-partner { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 6px; background: var(--sp-card); transition: background .15s; }
.sp-partner:hover { background: var(--sp-tint); }
.sp-partner b { font-size: 18px; color: var(--fg); }
.sp-partner span { font-size: 14px; color: var(--muted); }
.sp-partner .sp-mono { font-size: 13px; color: var(--sp-brand); }
.sp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-related a { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--sp-card); }
.sp-related a:hover { border-color: var(--sp-brand); }
.sp-related h3 { font-size: 19px; }
.sp-src { font-size: 14px; color: var(--dim); }
.sp-related .sp-link { margin-top: auto; }

/* заявка */
.sp-lead-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.sp-dark .sp-lead { color: #c9c8c3; margin-top: 20px; }
.sp-contacts { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.sp-contacts > div { display: flex; gap: 14px; align-items: flex-start; }
.sp-contacts .sp-icon { color: #4aa3ec; margin-top: 3px; }
.sp-contacts b { color: #fff; display: block; font-size: 18px; }
.sp-contacts span { font-size: 15px; }
.sp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-field { display: flex; flex-direction: column; gap: 6px; }
.sp-full { grid-column: 1 / -1; }
.sp-field[hidden], .sp-consent[hidden], .sp-form button[hidden] { display: none; }
.sp-field label { font-size: 14px; color: #c9c8c3; }
.sp-field input, .sp-field textarea, .sp-field select { background: #151517; border: 1px solid #2a2a2d; color: #fff; padding: 15px 16px; outline: none; border-radius: 0; font-size: 16px; }
.sp-field input:focus, .sp-field textarea:focus, .sp-field select:focus { border-color: #0071ce; }
.sp-field textarea { min-height: 120px; resize: vertical; }
.sp-attach { display: flex !important; align-items: center; gap: 12px; border: 1px dashed #3a3a3e; padding: 16px; color: #c9c8c3; font-size: 15px; cursor: pointer; }
.sp-attach:hover { border-color: #0071ce; }
.sp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c9c8c3; }
.sp-consent a { text-decoration: underline; }
.sp-consent input { margin-top: 4px; }
.sp-form-msg { padding: 14px 16px; border: 1px solid #2a2a2d; background: #151517; color: #fff; }
.sp-form altcha-widget { --altcha-color-base: #151517; --altcha-color-text: #fff; --altcha-color-border: #2a2a2d; }

/* внутренние страницы */
.sp-page-hero { border-bottom: 1px solid var(--line); background: var(--sp-alt); }
.sp-page-hero > .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 56px; }
.sp-page-hero h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; margin-top: 20px; line-height: 1.06; }
.sp-ph-media { aspect-ratio: 4 / 3; background: var(--sp-card); border: 1px solid var(--line); overflow: hidden; }
.sp-ph-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-crumbs { font-size: 14px; color: var(--dim); padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.sp-crumbs a:hover { color: var(--sp-brand); }
.sp-answer { border-left: 3px solid var(--sp-brand); padding: 4px 0 4px 20px; font-size: 19px; color: var(--fg); max-width: 760px; margin-top: 22px; }
.sp-price { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.sp-price b { font-family: var(--font-mono); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; color: var(--fg); }
.sp-price span { font-size: 14px; color: var(--muted); }
.sp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sp-toc a { font-size: 14px; padding: 8px 12px; border: 1px solid var(--line2); background: var(--sp-card); }
.sp-toc a:hover { border-color: var(--sp-brand); color: var(--sp-brand); }
.sp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-card { border: 1px solid var(--line); padding: 30px; background: var(--sp-card); display: flex; flex-direction: column; gap: 12px; }
.sp-card p, .sp-card li { color: var(--muted); font-size: 16px; }
.sp-card p a { color: var(--sp-brand); font-weight: 700; }
.sp-card.sp-no .sp-ic { color: #b42318; }
.sp-checks { display: flex; flex-direction: column; gap: 10px; }
.sp-checks li { display: flex; gap: 10px; }
.sp-checks li .sp-icon { width: 18px; height: 18px; color: var(--sp-brand); margin-top: 5px; }
.sp-checks b { color: var(--fg); }
.sp-biglist { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.sp-biglist > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.sp-biglist > div:nth-child(odd) { border-right: 1px solid var(--line); }
.sp-biglist > div:nth-child(even) { padding-left: 24px; }
.sp-biglist-one { grid-template-columns: 1fr; }
.sp-biglist-one > div:nth-child(odd) { border-right: 0; }
.sp-biglist-one > div:nth-child(even) { padding-left: 0; }
.sp-biglist .sp-icon { color: var(--sp-brand); width: 28px; height: 28px; }
.sp-biglist h3 { font-size: 19px; }
.sp-biglist p { font-size: 15.5px; color: var(--muted); margin-top: 4px; }
.sp-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.sp-spec { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--sp-card); }
table.sp-spec th, table.sp-spec td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
table.sp-spec th { font-weight: 700; color: var(--fg); background: var(--sp-alt); font-size: 14px; }
table.sp-spec tbody th { width: 320px; }
table.sp-spec td a { color: var(--sp-brand); }
.sp-decode { display: flex; flex-wrap: wrap; border: 1px solid var(--line); background: var(--sp-card); }
.sp-decode div { padding: 20px 22px; border-right: 1px solid var(--line); flex: 1 1 140px; }
.sp-decode div:last-child { border-right: 0; }
.sp-decode b { display: block; font-family: var(--font-mono); font-size: 22px; color: var(--sp-brand); font-weight: 500; }
.sp-decode span { font-size: 14px; color: var(--muted); }
.sp-ctaband { background: #0071ce; color: #fff; }
.sp-ctaband .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.sp-ctaband h2 { color: #fff; font-size: clamp(24px, 2.8vw, 36px); }
.sp-ctaband p { color: #dbeafc; margin-top: 8px; }
.sp-ctaband .sp-btn { background: #fff; color: #0071ce; border-color: #fff; }
.sp-ctaband .sp-btn:hover { background: #0b0b0c; color: #fff; border-color: #0b0b0c; }

@media (max-width: 1200px) {
    .sp-types { grid-template-columns: repeat(3, 1fr); }
    .sp-docs { grid-template-columns: repeat(2, 1fr); }
    .sp-doc-img { grid-column: 1 / -1; }
    .sp-partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .sp-sec, .sp-hero, .sp-page-hero, .sp-ctaband { font-size: 16px; }
    .sp-hero-grid, .sp-two-col, .sp-lead-grid, .sp-page-hero > .container, .sp-selector { grid-template-columns: 1fr; }
    .sp-hero-copy { padding: 48px 0 36px; }
    .sp-hero-media { min-height: 260px; border-left: 0; border-top: 1px solid #2a2a2d; margin: 0 calc(var(--pad) * -1); }
    .sp-facts { grid-template-columns: repeat(2, 1fr); }
    .sp-fact { border-bottom: 1px solid #2a2a2d; padding: 18px 16px; }
    .sp-fact:nth-child(2n) { border-right: 0; }
    .sp-fact:last-child { grid-column: 1 / -1; }
    .sp-tiles, .sp-types, .sp-partners, .sp-grid3, .sp-grid2, .sp-related, .sp-families, .sp-docs { grid-template-columns: 1fr; }
    .sp-tile { min-height: 0; padding: 26px 20px; }
    .sp-segs { grid-template-columns: 1fr; }
    .sp-seg, .sp-seg.sp-wide { grid-column: auto; }
    .sp-seg-top { padding: 24px 20px 0; }
    .sp-seg-body { padding: 10px 20px 22px; }
    .sp-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sp-sel-controls { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
    .sp-sel-results { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
    .sp-numbers { grid-template-columns: 1fr 1fr; }
    .sp-num { border-bottom: 1px solid var(--line); }
    .sp-num:nth-child(2n) { border-right: 0; }
    .sp-form { grid-template-columns: 1fr; }
    .sp-biglist { grid-template-columns: 1fr; }
    .sp-biglist > div:nth-child(odd) { border-right: 0; }
    .sp-biglist > div:nth-child(even) { padding-left: 0; }
    .sp-ctaband .container { flex-direction: column; align-items: flex-start; }
    .sp-mosaic { grid-auto-rows: 120px; }
    .sp-decode div { flex: 1 1 45%; border-bottom: 1px solid var(--line); }
    .sp-fam-img { height: 220px; }
    table.sp-spec tbody th { width: auto; }
    .sp-btn { white-space: normal; }
}
@media (max-width: 480px) {
    .sp-sel-results { grid-template-columns: 1fr; }
}
.sp-faq { border-top: 1px solid var(--line); }
.sp-faq details { border-bottom: 1px solid var(--line); }
.sp-faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 19px; color: var(--fg); display: flex; justify-content: space-between; gap: 20px; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: '+'; font-family: var(--font-mono); font-weight: 400; font-size: 24px; color: var(--sp-brand); line-height: 1; }
.sp-faq details[open] summary::after { content: '–'; }
.sp-faq-a { padding: 0 0 22px; color: var(--muted); max-width: 860px; }
.sp-card ul { display: flex; flex-direction: column; gap: 8px; }
.sp-card ul li { position: relative; padding-left: 22px; }
.sp-card ul li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--sp-brand); }
.sp-card.sp-no ul li::before { background: #b42318; }
.sp-attach { position: relative; }
.sp-attach input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; opacity: 0; overflow: hidden; clip: rect(0,0,0,0); }
.sp-form input[name="website"] { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; padding: 0; border: 0; overflow: hidden; }
.sp-card ul.sp-checks li { padding-left: 0; }
.sp-card ul.sp-checks li::before { display: none; }
.nav > a, .nav-item > span { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1240px) {
    .site-header .container { gap: 16px; }
    .nav { gap: 16px; }
    .nav > a, .nav-item > span { font-size: 13px; }
    .header-actions .btn-ghost, .header-actions .language-switch { display: none; }
}
.sp-price { margin-top: 22px; display: block; }
.sp-price ul { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); background: var(--sp-card); width: fit-content; max-width: 100%; }
.sp-price li { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-right: 1px solid var(--line); }
.sp-price li:last-child { border-right: 0; }
.sp-price li span { font-size: 13px; color: var(--muted); }
.sp-price li b { font-family: var(--font-mono); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; color: var(--fg); white-space: nowrap; }
.sp-price p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.sp-prose { max-width: 860px; color: var(--muted2); }
.sp-prose p + p { margin-top: .9em; }
.sp-prose a { color: var(--sp-brand); font-weight: 600; }
@media (max-width: 900px) { .sp-price li { border-right: 0; border-bottom: 1px solid var(--line); width: 100%; } }
@media (max-width: 900px) { .sp-hero-media { margin: 0 calc(var(--pad) * -1); } }
@media (max-width: 640px) { .sp-hero-media { margin: 0 -20px; } }

/* == rusp-picker 20261117 start == подбор РУСП «по задаче» (sp_rusp_selector) */
.rp-tabs { display: flex; gap: 0; border: 1px solid var(--line); border-bottom: 0; background: var(--sp-alt); width: fit-content; max-width: 100%; }
.rp-tab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--muted); background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; }
.rp-tab:last-child { border-right: 0; }
.rp-tab .sp-icon { width: 18px; height: 18px; }
.rp-tab[aria-selected="true"] { background: var(--sp-card); color: var(--fg); box-shadow: inset 0 3px 0 var(--sp-brand); }
.rp-tab:focus-visible { outline: 2px solid var(--sp-brand); outline-offset: -2px; }
.rp-panel[hidden] { display: none; }
.rp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--sp-card); }
.rp-ask { padding: 28px; border-right: 1px solid var(--line); }
.rp-out { padding: 28px; background: var(--sp-alt); position: relative; }
.rp-q { font-size: 20px !important; margin-bottom: 6px; }
.rp-qt { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.rp-sockets { border: 1px solid var(--line); margin-bottom: 14px; background: var(--sp-alt); }
.rp-sockets summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: 15px; color: var(--sp-brand); }
.rp-sockets ul { padding: 0 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.rp-sockets li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: 14px; color: var(--muted2); align-items: start; }
.rp-sock { display: inline-block; font-family: var(--font-mono); font-size: 12.5px; line-height: 1; padding: 5px 7px; border: 1px solid; white-space: nowrap; text-align: center; }
.rp-sock-1f16 { color: #1f6fb5; border-color: #9cc7ee; background: #eef6fd; }
.rp-sock-3f16 { color: #8a5a00; border-color: #e7c27a; background: #fdf6e7; }
.rp-sock-3f32 { color: #b42318; border-color: #f0a9a2; background: #fdeeec; }
.rp-sock-3f63 { color: #5b2b8a; border-color: #c7a9e6; background: #f5eefc; }
:root:not([data-theme="color"]) .rp-sock { background: transparent; }
.rp-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rp-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.rp-item.is-on { background: linear-gradient(90deg, var(--sp-tint), transparent 70%); }
.rp-item-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.rp-ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--sp-brand); background: var(--sp-tint); }
.rp-ic .sp-icon { width: 22px; height: 22px; }
.rp-item-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rp-item-txt b { font-size: 16px; color: var(--fg); line-height: 1.25; }
.rp-ex { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.rp-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.rp-step { display: inline-flex; align-items: center; border: 1px solid var(--line2); background: var(--sp-card); }
.rp-step button { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: var(--fg); cursor: pointer; }
.rp-step button:hover:not(:disabled) { background: var(--sp-tint); color: var(--sp-brand); }
.rp-step button:disabled { opacity: .35; cursor: default; }
.rp-step button:focus-visible { outline: 2px solid var(--sp-brand); outline-offset: -2px; }
.rp-step .sp-icon { width: 18px; height: 18px; }
.rp-qty { min-width: 30px; text-align: center; font-family: var(--font-mono); font-size: 17px; font-weight: 600; color: var(--fg); }
.rp-item.is-on .rp-qty { color: var(--sp-brand); }
.rp-more { margin: 10px 0 2px 52px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; }
.rp-more[hidden] { display: none; }
.rp-pw { display: inline-flex; align-items: center; gap: 8px; color: var(--muted2); }
.rp-pw input { width: 78px; padding: 7px 8px; border: 1px solid var(--line2); background: var(--sp-card); color: var(--fg); font-family: var(--font-mono); font-size: 15px; }
.rp-pwn { font-size: 13px; color: var(--dim); }
.rp-note { flex-basis: 100%; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.rp-warn { flex-basis: 100%; color: #b42318; font-size: 13.5px; }
.rp-warn[hidden] { display: none; }
.rp-reset { margin-top: 14px; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; }
.rp-reset[hidden] { display: none; }
.rp-reset .sp-icon { width: 16px; height: 16px; }
.rp-empty { color: var(--muted); font-size: 15px; }
.rp-res[hidden], .rp-none[hidden], .rp-custom[hidden], .rp-mh[hidden], .rp-empty[hidden] { display: none; }
.rp-calc { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--sp-card); margin: 8px 0 18px; }
.rp-calc > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rp-calc > div:last-child { border-bottom: 0; }
.rp-calc dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-mono); padding-top: 2px; }
.rp-calc dd { font-size: 15px; color: var(--muted2); }
.rp-calc dd b { color: var(--fg); font-family: var(--font-mono); font-weight: 600; }
.rp-mh { font-size: 15px; margin-bottom: 10px; color: var(--fg); }
.rp-models { display: flex; flex-direction: column; gap: 10px; }
.rp-model { display: grid; grid-template-columns: 96px 1fr; gap: 14px; border: 1px solid var(--line); background: var(--sp-card); padding: 12px; transition: border-color .15s; }
.rp-model:hover { border-color: var(--sp-brand); }
.rp-model .sp-front { width: 96px; }
.rp-model h4 { font-size: 15px; line-height: 1.3; margin: 2px 0 6px; color: var(--fg); }
.rp-model ul { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; color: var(--muted2); margin-bottom: 6px; }
.rp-model li { position: relative; padding-left: 14px; }
.rp-model li::before { content: ''; position: absolute; left: 0; top: .65em; width: 7px; height: 2px; background: var(--sp-brand); }
.rp-model .sp-link { font-size: 14px; }
.rp-none { border: 1px solid #f0a9a2; background: var(--sp-card); padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rp-none b { color: var(--fg); }
.rp-none-why { color: #b42318; font-size: 14px; }
.rp-none p { font-size: 14.5px; color: var(--muted2); }
.rp-custom { margin-top: 14px; font-size: 14.5px; color: var(--muted2); }
.rp-assume { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.rp-assume summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--sp-brand); }
.rp-assume p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 8px; }
.rp-bar { display: none; }
.rp-panel + .rp-panel .sp-selector { border-top: 1px solid var(--line); }
@media (min-width: 901px) { .rp-stick { position: sticky; top: 96px; } }
@media (max-width: 900px) {
    .rp-grid { grid-template-columns: 1fr; }
    .rp-ask { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 14px; }
    .rp-out { padding: 18px 14px; }
    .rp-tabs { width: 100%; }
    .rp-tab { flex: 1 1 50%; justify-content: center; padding: 13px 10px; font-size: 14px; }
    .rp-more { margin-left: 0; }
    .rp-calc > div { grid-template-columns: 1fr; gap: 2px; }
    .rp-bar:not([hidden]) { display: flex; position: sticky; bottom: 0; z-index: 5; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #0071ce; color: #fff; font-weight: 700; font-size: 15px; margin-top: -1px; }
    .rp-bar .sp-icon { width: 18px; height: 18px; transform: rotate(90deg); }
    .rp-sockets li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 480px) {
    .rp-item-head { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; }
    .rp-ic { width: 32px; height: 32px; }
    .rp-step button { width: 38px; height: 42px; }
    .rp-qty { min-width: 24px; }
    .rp-item-txt b { font-size: 15px; }
}
@media (max-width: 380px) { .rp-step button { width: 38px; height: 40px; } .rp-item-head { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; } .rp-ic { width: 34px; height: 34px; } }
/* == rusp-picker 20261117 end == */

/* == sp-home 20261117 start == герой-видео, шапка на баннере, партнёры логотипами, FAQ с фото, обложки статей, фото решений */
.has-video-hero .sp-hero--video { margin-top: calc(var(--header-h) * -1); }
.sp-hero--video { position: relative; min-height: clamp(620px, 92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; background: #0b0b0c; isolation: isolate; }
.sp-hv-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sp-hv-poster, .sp-hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hv-video { opacity: 0; transition: opacity .6s ease; }
.sp-hv-video.is-on { opacity: 1; }
.sp-hv-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(8,8,10,.86) 0%, rgba(8,8,10,.66) 42%, rgba(8,8,10,.30) 100%),
    linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,0) 22%, rgba(8,8,10,0) 58%, rgba(8,8,10,.88) 100%); }
.sp-hv-body { width: 100%; padding-top: calc(var(--header-h) + clamp(40px, 7vh, 96px)); }
.sp-hero--video .sp-hero-copy { padding: 0 0 clamp(36px, 6vh, 64px); max-width: 820px; }
.sp-hero--video h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.sp-hero--video .sp-lead { color: #e4e3df; }
.sp-hv-facts { width: 100%; }
.sp-hero--video .sp-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.sp-hero--video .sp-fact { border-right-color: rgba(255,255,255,.18); }
.sp-hero--video .sp-fact span { color: #d6d5d0; }
.sp-hv-tag { position: absolute; right: 0; top: calc(var(--header-h) + 16px); background: rgba(8,8,10,.6); color: #e4e3df; padding: 8px 14px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .sp-hv-video { display: none; } }
/* шапка поверх баннера: прозрачная, светлый логотип и меню; при прокрутке — обычная */
:is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.12); }
:is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .logo img { filter: none; }
:is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .nav-toggle { border-color: rgba(255,255,255,.5); }
:is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .nav-toggle span { background: #fff; }
@media (min-width: 901px) {
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .nav > a,
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .nav-item > span,
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .language-switch a { color: rgba(255,255,255,.88); }
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .nav > a:hover,
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .nav-item:hover > span,
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .language-switch a.active { color: #fff; }
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .language-switch a.active { background: rgba(255,255,255,.14); }
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .theme-toggle { color: #fff; border-color: rgba(255,255,255,.4); }
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .header-actions .btn-ghost { color: #fff; border-color: #fff; }
    :is(.has-video-hero, .has-photo-hero) .site-header.is-hero:not(.is-scrolled) .header-actions .btn-ghost:hover { background: #fff; color: #0b0b0c; }
}
@media (max-width: 900px) {
    .sp-hero--video { min-height: clamp(560px, 100svh, 760px); }
    .sp-hv-shade { background: linear-gradient(180deg, rgba(8,8,10,.62) 0%, rgba(8,8,10,.55) 40%, rgba(8,8,10,.92) 100%); }
    .sp-hero--video .sp-facts { grid-template-columns: 1fr 1fr; }
    .sp-hero--video .sp-fact:last-child { grid-column: auto; }
    .sp-hero--video .sp-fact:nth-child(2n) { border-right: 0; }
    .sp-hero--video .sp-fact { border-bottom: 1px solid rgba(255,255,255,.18); }
    .sp-hv-tag { display: none; }
    .sp-hero--video .sp-cta-row .sp-btn { flex: 1 1 100%; justify-content: center; }
}

/* Где купить: логотипы партнёров плиткой */
.sp-partners--logos .sp-partner { align-items: flex-start; gap: 10px; min-height: 168px; }
.sp-partner-logo { height: 64px; width: 100%; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 6px; }
.sp-partner-logo img { max-height: 44px; max-width: min(190px, 100%); width: auto; height: auto; object-fit: contain; }
.sp-partner-logo--text { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--fg); line-height: 1.1; }
.sp-partner-logo--direct { color: var(--sp-brand); }
.sp-partner-logo--direct .sp-icon { width: 40px; height: 40px; stroke-width: 1.4; }
.sp-partner .sp-partner-name { font-weight: 700; color: var(--fg); font-size: 16px; }
.sp-partner .sp-partner-sub { font-size: 14px; color: var(--muted); }
:root:not([data-theme="color"]) .sp-partner-logo img { background: #fff; padding: 6px 10px; }
@media (max-width: 900px) {
    .sp-partners.sp-partners--logos { grid-template-columns: 1fr 1fr; }
    .sp-partners--logos .sp-partner { min-height: 0; padding: 18px 14px; }
    .sp-partner-logo { height: 48px; }
    .sp-partner-logo img { max-height: 34px; }
    .sp-partners--logos .sp-mono { font-size: 12px; word-break: break-all; }
}

/* FAQ главной: слева фото производства, справа аккордеон */
.faq-layout--photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-photo { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.faq-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--surface2); }
.faq-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) {
    .faq-layout--photo { grid-template-columns: 1fr; }
    .faq-photo { position: static; }
    .faq-photo img { aspect-ratio: 16 / 9; }
}

/* Полезные материалы: обложки статей */
.sp-related--covers a { padding: 0; gap: 0; overflow: hidden; }
.sp-related--covers .sp-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sp-alt); border-bottom: 1px solid var(--line); }
.sp-related--covers .sp-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sp-related--covers a:hover .sp-cover img { transform: scale(1.03); }
.sp-related--covers .sp-rel-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-photo img { aspect-ratio: auto; }

/* Решения для объектов: фото сегмента */
.sp-seg-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sp-alt); border-bottom: 1px solid var(--line); }
.sp-seg.sp-wide .sp-seg-photo { aspect-ratio: 21 / 9; }
.sp-seg-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sp-seg:hover .sp-seg-photo img { transform: scale(1.03); }
@media (max-width: 900px) { .sp-seg.sp-wide .sp-seg-photo { aspect-ratio: 3 / 2; } }
/* == sp-home 20261117 end == */

/* 17.11.2026 владелец: подписи справа у заголовков секций убрать */
.sp-head > p { display: none !important; }

/* 17.11.2026 владелец: плашку «Производство System Power, Смоленск» на герое убрать; системную кнопку Play поверх фонового видео не показывать */
.sp-hv-tag { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls { display: none !important; }

/* == article-layout 20261119: статьи и текстовые страницы в две колонки, обложка-баннер == */
.sr-only { width: 1px !important; height: 1px !important; }
/* длинное слово в заголовке и колонки карточки товара не растягивают страницу на телефоне */
.page-header h1, .article-hero h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1024px) { .product-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .product-specs table { table-layout: fixed; } .product-specs th, .product-specs td { overflow-wrap: anywhere; padding: 11px 12px; } }

.article-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 300px; background: #0b0b0c; color: #fff; overflow: hidden; }
.article-hero-media, .article-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-hero-media { z-index: -2; }
.article-hero-media img { object-fit: cover; object-position: center; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(8,8,10,.45) 0%, rgba(8,8,10,.78) 38%, rgba(8,8,10,.9) 100%); }
.article-hero-inner { position: relative; padding-top: 24px; padding-bottom: 32px; }
.article-hero .breadcrumbs, .article-hero .breadcrumbs a, .article-hero .breadcrumbs span, .article-hero .breadcrumbs > span:last-child { color: rgba(255,255,255,.88); }
.article-hero .breadcrumbs a:hover { color: #fff; }
.article-hero .article-topmeta { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.article-hero .article-meta { color: rgba(255,255,255,.92); }
.article-hero h1 { color: #fff; font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 6.6vw, 34px); line-height: 1.06; letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
@media (min-width: 768px) {
    .article-hero { min-height: 360px; }
    .article-hero::before { background: linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.82) 45%, rgba(8,8,10,.5) 75%, rgba(8,8,10,.35) 100%); }
    .article-hero-inner { padding-top: 32px; padding-bottom: 44px; }
    .article-hero h1 { font-size: clamp(34px, 4vw, 54px); }
}
@media (min-width: 1200px) { .article-hero { min-height: 420px; } }

.article-head .article-topmeta { margin-bottom: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: clamp(32px, 4.5vw, 64px); padding-bottom: clamp(56px, 6vw, 96px); }
.article-main { min-width: 0; max-width: 780px; }
.article-main > .section, .article-main .section { padding: 0; }
.article-main .section > .container { max-width: none; padding: 0; }
.article-main > .section + .section { margin-top: 56px; }
.article-main .section-text .text-block { max-width: none; }
.article-main .text-block > h2:first-child, .article-main .text-block-body > :first-child { margin-top: 0; }
.article-main .article-lead { margin: 0 0 32px; max-width: none; }
.article-main figure { margin: 28px 0; }
.article-main figure img { width: 100%; height: auto; }
.article-main .article-products { margin-top: 56px; }
.article-main [id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.table-scroll > table { margin: 0; }

.article-toc ol { list-style: none; margin: 0; padding: 0; }
.article-toc a { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: color .15s ease, border-color .15s ease; }
.article-toc a:hover { color: var(--fg); }
.article-toc .toc-h3 a { padding-left: 26px; font-size: 14px; }
.article-toc a[aria-current="true"] { color: var(--fg); font-weight: 600; border-left-color: var(--accent); }
.article-toc-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.article-toc--inline { border: 1px solid var(--line2); margin: 0 0 32px; }
.article-toc--inline summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--fg); font-size: 16px; }
.article-toc--inline ol { padding: 4px 18px 16px; }
.article-toc--rail { display: none; }

.article-cta { background: var(--surface2); border: 1px solid var(--line2); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.article-cta-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.2; color: var(--fg); letter-spacing: -0.01em; }
.article-cta-text { font-size: 16px; line-height: 1.5; color: var(--muted); }
.article-cta .btn { width: 100%; justify-content: center; margin-top: 4px; }
.article-cta-phone { font-family: var(--font-mono); font-size: 15px; color: var(--fg); text-align: center; }

@media (min-width: 1024px) {
    .article-layout { grid-template-columns: minmax(0, 780px) minmax(260px, 1fr); column-gap: clamp(40px, 5vw, 88px); }
    .article-layout--single { grid-template-columns: minmax(0, 780px); }
    .article-aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 28px; }
    .article-toc--rail { display: block; }
    .article-toc--rail ol { position: relative; max-height: calc(100vh - var(--header-h) - 380px); min-height: 140px; overflow-y: auto; overscroll-behavior: contain; }
    .article-toc--inline { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .article-main .text-block, .article-main .article-lead { font-size: 18px; }
}
/* == article-layout 20261119 end == */

/* обложка статьи под прозрачной шапкой (20.11.2026): фото заходит под шапку, сверху затемнение под меню */
.has-photo-hero .article-hero { margin-top: calc(var(--header-h) * -1); min-height: calc(300px + var(--header-h)); }
.has-photo-hero .article-hero-inner { padding-top: calc(var(--header-h) + 24px); }
@media (min-width: 768px) {
    .has-photo-hero .article-hero { min-height: calc(360px + var(--header-h)); }
    .has-photo-hero .article-hero-inner { padding-top: calc(var(--header-h) + 32px); }
    .has-photo-hero .article-hero::before { background:
        linear-gradient(180deg, rgba(8,8,10,.6) 0, rgba(8,8,10,0) calc(var(--header-h) + 48px)),
        linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.82) 45%, rgba(8,8,10,.5) 75%, rgba(8,8,10,.35) 100%); }
}
@media (min-width: 1200px) { .has-photo-hero .article-hero { min-height: calc(420px + var(--header-h)); } }

/* == merge-contacts-shkafy 20261120 start == «Контакты и где купить», хаб «Электрощиты собственного производства» */
.sp-prose h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--fg); margin: 1.6em 0 .5em; }
.sp-prose h3:first-child { margin-top: 0; }
.sp-prose ul { margin: .6em 0 0; padding-left: 1.2em; }
.sp-prose li + li { margin-top: .35em; }
.sp-prose ul + p { margin-top: .9em; }
.culture-lede p + p { margin-top: .8em; }
.sp-wherebuy-h { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--fg); margin: 0 0 14px; }
.sp-partners + .sp-wherebuy-h { margin-top: 36px; }
.contact-legal summary { cursor: pointer; font-weight: 600; color: var(--fg); list-style-position: inside; }
.contact-legal[open] summary { margin-bottom: 8px; }
.page--contacts .sp-sec[id], .page--shkafy .sp-sec[id], .page--shkafy .section-culture[id] { scroll-margin-top: calc(var(--header-h, 72px) + 12px); }
.page--contacts .contacts-grid { align-items: stretch; }
.page--contacts .contacts-map iframe { height: 100%; min-height: 380px; }
@media (max-width: 900px) { .page--contacts .contacts-grid { grid-template-columns: 1fr; } .page--contacts .contacts-map iframe { min-height: 300px; } }
@media (max-width: 900px) { .nav > a, .nav-item > span { white-space: normal; } } /* длинный пункт «Электрощиты собственного производства» в мобильном меню */
/* == merge-contacts-shkafy 20261120 end == */

/* «Где купить» — цена «прайс-лист» и наличие продавца (этап 5, 28.11.2026; разметка pages/product.njk) */
.buy-item-city { color: var(--text-secondary); font-size: 12px; }
.buy-item-price { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.buy-item-note { color: var(--text-secondary); font-size: 10px; letter-spacing: 0.04em; }
.buy-item-avail--order, .buy-item-avail--ask { color: var(--text-secondary); }
