/* B2B CONSULTING. Layout: data-flow editorial. Light paper pages, dark "instrument panels" carry the
   data illustrations; content in a readable column with a sticky section nav. */
:root {
  --paper: #F1F4F8; --surface: #FFFFFF; --ink: #13203A; --muted: #52607A; --line: #D5DDE8;
  --accent: #0B7A99; --accent-ink: #FFFFFF; --accent-soft: #E0F1F6; --warm: #B85F12;
  --panel: #0F1B33; --panel-ink: #D6E2F0; --panel-dim: #8A9CBA; --panel-line: rgba(255, 255, 255, .09);
  --ok: #1D7A4A; --ok-soft: #E1F2E8; --crit: #C2261B; --crit-soft: #FBE7E5; --warn-soft: #FBF0DC;

  /* Data illustration tokens (validated on --panel: L 0.48-0.67, CVD-separated, direct-labelled) */
  --vz-1: #1FA2C2; --vz-2: #CF7622; --vz-3: #DE4A7E; --vz-4: #7F6EF0;
  --sq-1: #172F4D; --sq-2: #1A4A6B; --sq-3: #1D6C8E; --sq-4: #2193B4; --sq-5: #63C9E3;

  --f-display: "Geologica", "Segoe UI", system-ui, sans-serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --s-xs: .8125rem; --s-sm: .9375rem; --s-md: 1.0625rem; --s-lg: 1.3rem; --s-xl: clamp(1.6rem, 3.2vw, 2.1rem); --s-xxl: clamp(1.75rem, 1rem + 3.4vw, 3.4rem);
  --wrap: 74rem; --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1426; --surface: #121D34; --ink: #E4EAF3; --muted: #98A6BE; --line: #24324D;
    --accent: #4CC6E4; --accent-ink: #0B1426; --accent-soft: #13314A; --warm: #F0A65A;
    --panel: #070E1D; --ok: #5FD394; --ok-soft: #10301F; --crit: #FF7D70; --crit-soft: #3A1715; --warn-soft: #33260E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1426; --surface: #121D34; --ink: #E4EAF3; --muted: #98A6BE; --line: #24324D;
  --accent: #4CC6E4; --accent-ink: #0B1426; --accent-soft: #13314A; --warm: #F0A65A;
  --panel: #070E1D; --ok: #5FD394; --ok-soft: #10301F; --crit: #FF7D70; --crit-soft: #3A1715; --warn-soft: #33260E;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--s-md)/1.62 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.14; text-wrap: balance; margin: 0; }
h1 { font-size: var(--s-xxl); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: var(--s-xl); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: var(--s-lg); font-weight: 700; }
p, ul, ol { margin: 0; }
img { max-width: 100%; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } .vz animateMotion { display: none; } }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
section.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font: 600 var(--s-xs) var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.section-head { display: grid; gap: .75rem; max-width: 48rem; margin-bottom: 2.25rem; }
.section-head .lead { font-size: var(--s-md); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 var(--s-sm)/1 var(--f-body); padding: .9rem 1.3rem; border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, filter .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }

/* Announcement bar (cybersecurity cross-link) */
.announce { background: var(--panel); color: var(--panel-ink); font-size: var(--s-xs); }
.announce a { display: flex; align-items: center; gap: .55rem; padding-block: .55rem; color: var(--panel-ink); text-decoration: none; }
.announce a:hover b { text-decoration: underline; }
.announce b { color: var(--vz-1); font-weight: 600; }
.announce-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--vz-3); flex-shrink: 0; animation: vzpulse 1.6s ease-in-out infinite; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-block: .75rem; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 800 1.08rem/1.1 var(--f-display); flex-shrink: 0; }
.logo img { width: 2.4rem; height: 2.4rem; }
.logo small { display: block; font: 400 .66rem var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: var(--s-sm); }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-phone { font: 600 var(--s-sm) var(--f-mono); color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-size: var(--s-sm); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); width: min(19rem, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; display: grid; gap: .15rem; box-shadow: 0 20px 40px -20px rgba(10, 20, 40, .35); }
.menu-panel a { padding: .55rem .6rem; border-radius: 6px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: var(--accent-soft); }
@media (max-width: 1020px) { .nav, .header-phone, .header-cta { display: none; } .menu { display: block; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero .wrap, .page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.3rem; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .h1-sub { display: block; margin-top: .8rem; font: 600 clamp(1.15rem, 2.1vw, 1.5rem)/1.35 var(--f-body); letter-spacing: 0; color: var(--accent); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.who { display: grid; gap: .4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; font-size: var(--s-sm); color: var(--muted); }
.who b { color: var(--ink); }

/* Instrument panel that holds an illustration */
.viz { margin: 0; background: var(--panel); border-radius: 16px; padding: clamp(.75rem, 2vw, 1.25rem); box-shadow: 0 30px 60px -30px rgba(8, 16, 40, .6); min-width: 0; display: grid; gap: .5rem; }
.viz-bar { display: flex; justify-content: space-between; gap: 1rem; font: .72rem var(--f-mono); color: var(--panel-dim); letter-spacing: .04em; padding: 0 .25rem; }
.viz-bar b { color: var(--vz-1); font-weight: 600; }
.vz { width: 100%; height: auto; display: block; }
.vz text { fill: var(--panel-ink); font: 11px var(--f-body); }
.vz .lbl { fill: var(--panel-ink); font-size: 11.5px; }
.vz .strong { font-weight: 700; }
.vz .dim { fill: var(--panel-dim); font-size: 10.5px; }
.vz .mono { font-family: var(--f-mono); }
.vz .val { fill: var(--panel-ink); font: 600 11px var(--f-mono); }
.vz .big { fill: var(--panel-ink); font: 700 18px var(--f-mono); }
.vz .pos { fill: var(--vz-1); font: 600 10.5px var(--f-mono); }
.vz .neg { fill: var(--vz-3); font-weight: 700; }
.vz .chip { fill: rgba(31, 162, 194, .16); stroke: var(--vz-1); stroke-width: 1; }
.vz .chip-t { fill: var(--vz-1); font: 600 11px var(--f-mono); }
.vz .c1 { fill: var(--vz-1); } .vz .c2 { fill: var(--vz-2); } .vz .c3 { fill: var(--vz-3); } .vz .c4 { fill: var(--vz-4); }
.vz .op { opacity: .35; }
.vz .s-c1 { stroke: var(--vz-1); } .vz .s-c2 { stroke: var(--vz-2); } .vz .s-c3 { stroke: var(--vz-3); } .vz .s-c4 { stroke: var(--vz-4); }
.vz .sq1 { fill: var(--sq-1); } .vz .sq2 { fill: var(--sq-2); } .vz .sq3 { fill: var(--sq-3); } .vz .sq4 { fill: var(--sq-4); } .vz .sq5 { fill: var(--sq-5); }
.vz .link { fill: none; stroke-width: 2; stroke-linecap: round; }
.vz .link.faint { opacity: .3; }
.vz .link.thin { stroke-width: 1.4; opacity: .9; }
.vz .tick { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.vz .dash { stroke-dasharray: 3 4; }
.vz .grid { stroke: var(--panel-line); stroke-width: 1; }
.vz .grid-poly { fill: none; stroke: var(--panel-line); }
.vz .axis { stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.vz .node { fill: var(--panel); stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.vz .panel { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .1); }
.vz .panel.strong { fill: rgba(31, 162, 194, .1); stroke: rgba(31, 162, 194, .55); }
.vz .hub { fill: rgba(31, 162, 194, .14); stroke: var(--vz-1); stroke-width: 1.5; }
.vz .hub-top { fill: rgba(31, 162, 194, .3); stroke: var(--vz-1); stroke-width: 1.5; }
.vz .cube-t { fill: #1C3556; stroke: var(--panel); stroke-width: 2; }
.vz .cube-r { fill: #142944; stroke: var(--panel); stroke-width: 2; }
.vz .cube-l { fill: #19304F; stroke: var(--panel); stroke-width: 2; }
.vz polygon.c1 { stroke: var(--panel); stroke-width: 2; }
.vz .shelf { fill: rgba(255, 255, 255, .25); }
.vz .prod { fill: rgba(255, 255, 255, .13); }
.vz .bbox { fill: none; stroke: var(--vz-2); stroke-width: 1.5; }
.vz .gap { fill: rgba(222, 74, 126, .1); stroke: var(--vz-3); stroke-dasharray: 3 3; }
.vz .band { fill: rgba(255, 255, 255, .06); }
.vz .target { stroke: var(--panel-ink); stroke-width: 2; }
.vz .area-c1 { fill: rgba(31, 162, 194, .2); stroke: var(--vz-1); stroke-width: 2; }
.vz .area-c2 { fill: rgba(207, 118, 34, .18); stroke: var(--vz-2); stroke-width: 2; }
.vz .ring { stroke: var(--panel); stroke-width: 2; }
.vz .line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.vz .promo-zone { fill: rgba(207, 118, 34, .1); }
.vz .check { fill: none; stroke: var(--vz-1); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.vz .rack { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .14); }
.vz .shield { fill: rgba(31, 162, 194, .18); stroke: var(--vz-1); stroke-width: 2; }
.vz .dotw { fill: var(--panel-ink); opacity: .85; }
.vz .ring2 { fill: none; stroke: var(--vz-2); stroke-width: 2; }
.vz .flowdash { stroke-dasharray: 5 7; animation: vzflow 1.6s linear infinite; }
.vz .flowdash.both { animation-duration: 2.4s; }
.vz .pulse { animation: vzpulse 1.6s ease-in-out infinite; }
@keyframes vzflow { to { stroke-dashoffset: -24; } }
@keyframes vzpulse { 50% { opacity: .3; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 1.5rem 1.6rem; display: grid; gap: .2rem; }
.stat b { font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 var(--f-display); color: var(--accent); }
.stat span { color: var(--muted); font-size: var(--s-sm); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; min-width: 0; }
.product:hover { border-color: var(--accent); transform: translateY(-2px); }
.product .code { font: 700 .82rem var(--f-mono); color: var(--accent); letter-spacing: .04em; }
.product h3 { font-size: 1.08rem; }
.product p { color: var(--muted); font-size: var(--s-sm); }
.product .more { font-size: var(--s-sm); font-weight: 600; color: var(--accent); margin-top: .3rem; }

/* Departments */
.depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dept { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .8rem; align-content: start; min-width: 0; }
.dept h3 { font-size: 1.1rem; }
.dept .dept-k { font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dept ul { list-style: none; padding: 0; display: grid; gap: .35rem; font-size: var(--s-sm); }
.dept a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.dept a:hover { color: var(--accent); border-color: var(--accent); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 2rem; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: .4rem; align-content: start; border-top: 2px solid var(--line); padding-top: .9rem; min-width: 0; }
.steps li::before { content: counter(st, decimal-leading-zero); font: 600 var(--s-sm) var(--f-mono); color: var(--accent); }
.steps b { font-weight: 600; }
.steps p { color: var(--muted); font-size: var(--s-sm); }

/* Advantages */
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; list-style: none; padding: 0; }
.adv li { padding-block: 1rem; border-top: 1px solid var(--line); font-size: var(--s-sm); color: var(--muted); }
.adv b { display: block; color: var(--ink); font-size: var(--s-md); margin-bottom: .15rem; }

/* Cross-sell banner */
.promo { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem; align-items: center; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 16px; background: var(--panel); color: var(--panel-ink); }
.promo h2 { color: var(--panel-ink); font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.promo p { color: var(--panel-dim); margin-top: .6rem; max-width: 60ch; }
.promo .badge { display: inline-block; font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--vz-3); margin-bottom: .6rem; }
.promo .btn-primary { background: var(--vz-1); color: #06121F; }

/* FAQ */
.faq { display: grid; max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .95rem; font: 1.2rem var(--f-mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); font-size: var(--s-sm); max-width: 65ch; }

/* Inner pages */
.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .hero-copy { gap: 1rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero .intro { color: var(--muted); font-size: 1.05rem; display: grid; gap: .7rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font: var(--s-xs) var(--f-mono); color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-hero.plain .wrap { grid-template-columns: minmax(0, 1fr); }

.content { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { display: grid; gap: 1rem; max-width: 46rem; min-width: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: .8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--accent); }
.prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 600; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem); display: grid; gap: 1rem; }
.side-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: grid; gap: .2rem; }
.side-nav b { font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.side-nav a { color: var(--ink); text-decoration: none; padding: .4rem .5rem; border-radius: 6px; font-size: var(--s-sm); line-height: 1.35; }
.side-nav a:hover { background: var(--accent-soft); }
.side-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.help { border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--panel); color: var(--panel-ink); display: grid; gap: .7rem; font-size: var(--s-sm); }
.help p { color: var(--panel-dim); }
.help b { color: var(--vz-1); }
.help .btn { width: 100%; background: var(--vz-1); color: #06121F; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

/* Catalog */
.catalog { display: grid; gap: 2.5rem; }
.cat-group { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 1.5rem 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.cat-group h2 { font-size: 1.3rem; }
.cat-group p.cat-note { color: var(--muted); font-size: var(--s-sm); margin-top: .5rem; }
.cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plain-list { columns: 2; padding-left: 1.2rem; color: var(--muted); font-size: var(--s-sm); }

/* Lead form */
.lead-wrap .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lead-copy { display: grid; gap: 1.2rem; }
.contacts { display: grid; gap: .6rem; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.contact span:first-child { font-size: var(--s-xs); color: var(--muted); }
.contact a, .contact .v { font: 600 var(--s-sm) var(--f-mono); color: var(--ink); text-decoration: none; }
form.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--s-sm); font-weight: 500; }
input[type="text"], input[type="email"], textarea, select { font: inherit; font-size: var(--s-md); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .7rem .85rem; width: 100%; }
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--s-sm); }
.check input { margin-top: .3rem; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--s-xs); color: var(--muted); }
.form-result { border-radius: 8px; padding: 1rem; font-size: var(--s-sm); display: grid; gap: .6rem; }
.form-result.ok { background: var(--ok-soft); }
.form-result.err { background: var(--crit-soft); }
.form-result.info { background: var(--warn-soft); }
.form-result pre { margin: 0; white-space: pre-wrap; font: .8rem var(--f-mono); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .75rem; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: var(--s-sm); }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot b { display: block; font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: var(--s-xs); }
.foot-base a { color: var(--muted); }

@media (max-width: 1020px) {
  .hero .wrap, .page-hero .wrap, .lead-wrap .wrap, .content, .promo, .cat-group { grid-template-columns: minmax(0, 1fr); }
  .depts, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side { position: static; }
}
@media (max-width: 640px) {
  .products, .related, .depts, .steps, .adv, .stats, .form-row, .cat-list, .foot { grid-template-columns: minmax(0, 1fr); }
  .plain-list { columns: 1; }
  .actions .btn { flex: 1 1 100%; }
}
