/* aerators.ru — 2026. Токены цвета: светлая тема по умолчанию, тёмная — по настройке устройства. */
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/golos-text-cyrillic-400-700.woff2?v=1) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/golos-text-latin-400-700.woff2?v=1) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/golos-text-cyrillic-400-700.woff2?v=1) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/golos-text-latin-400-700.woff2?v=1) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/golos-text-cyrillic-400-700.woff2?v=1) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/golos-text-latin-400-700.woff2?v=1) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/golos-text-cyrillic-400-700.woff2?v=1) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/golos-text-latin-400-700.woff2?v=1) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-cyrillic-400.woff2?v=1) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-latin-400.woff2?v=1) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-cyrillic-500.woff2?v=1) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-latin-500.woff2?v=1) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --paper: #f2f4f5;
  --surface: #ffffff;
  --plate: #ffffff;          /* фон под фото продукции: снимки на белом — плашка белая в обеих темах */
  --ink: #14191c;
  --ink-2: #4b555c;
  --ink-3: #6f7a82;
  --line: #d8dee2;
  --accent: #0b6e8c;
  --accent-hover: #095a73;
  --accent-soft: #e3f0f4;
  --on-accent: #ffffff;
  --dark: #11171a;
  --on-dark: #e8eef0;
  --on-dark-2: #a7b4ba;
  --accent-on-dark: #57c3da;
  --shadow: 0 1px 2px rgba(20, 25, 28, .06), 0 8px 24px rgba(20, 25, 28, .06);

  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: .8125rem;   /* 13 */
  --step-0: 1rem;        /* 16 */
  --step-1: 1.125rem;    /* 18 */
  --step-2: 1.375rem;    /* 22 */
  --step-3: 1.75rem;     /* 28 */
  --step-4: clamp(2rem, 1.4rem + 2.4vw, 3rem); /* 32–48 */
  --radius: 6px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1416; --surface: #161d20; --ink: #e6ecee; --ink-2: #a3afb5; --ink-3: #85929a; --line: #26313a;
    --accent: #57c3da; --accent-hover: #7ed3e5; --accent-soft: #15303a; --on-accent: #08262f;
    --dark: #0a0e10; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1416; --surface: #161d20; --ink: #e6ecee; --ink-2: #a3afb5; --ink-3: #85929a; --line: #26313a;
  --accent: #57c3da; --accent-hover: #7ed3e5; --accent-soft: #15303a; --on-accent: #08262f;
  --dark: #0a0e10; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font); font-feature-settings: "kern"; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-bottom: 24px; }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0 0 1em; }
main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.mono-label { font: 500 var(--step--1)/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.kicker { font: 500 var(--step--1)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

.preview-bar { background: #fde68a; color: #3b2f06; text-align: center; font: 500 var(--step--1)/1.4 var(--mono); padding: 8px 16px; }

/* Шапка */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand-mark { width: 36px; height: 36px; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; letter-spacing: .14em; font-size: 1.05rem; }
.brand-sub { font: 400 .75rem/1.3 var(--font); color: var(--ink-3); margin-top: 3px; }
.nav-desktop { margin-left: auto; flex: none; flex-wrap: nowrap; }
.nav-mobile { display: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.head-tools { display: flex; align-items: center; gap: 20px; flex: none; }
.head-phone { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head-phone .mono-label { font-size: .6875rem; }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang a { font: 500 var(--step--1)/1 var(--mono); padding: 8px 10px; color: var(--ink-2); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--surface); }

/* Кнопки */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-light:hover { background: #fff; color: var(--dark); }
.btn-outline-light { border-color: rgba(232, 238, 240, .35); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--on-dark); color: #fff; }
.btn-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; }

/* Главная: первый экран с «чертежом» флагмана */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(var(--surface), var(--paper)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 20ch; }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 58ch; margin: 20px 0 32px; }
.drawing { margin: 0; }
.drawing-plate { position: relative; background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 72px 64px 28px;
  background-image: linear-gradient(rgba(11, 110, 140, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 110, 140, .06) 1px, transparent 1px); background-size: 24px 24px; box-shadow: var(--shadow); }
.drawing-plate img { width: 100%; max-height: 440px; object-fit: contain; mix-blend-mode: multiply; }
.dim { position: absolute; font: 500 .75rem/1 var(--mono); color: #0b6e8c; display: flex; align-items: center; justify-content: center; }
.dim > span { background: #fff; padding: 2px 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dim small { font-size: .7em; }
.dim::before { content: ""; position: absolute; border: 0 solid #0b6e8c; }
.dim-h { top: 28px; bottom: 64px; right: 22px; width: 36px; }
.dim-h::before { top: 0; bottom: 0; left: 50%; border-left-width: 1px; }
.dim-h::after { content: ""; position: absolute; left: 30%; right: 30%; top: 0; bottom: 0; border-top: 1px solid #0b6e8c; border-bottom: 1px solid #0b6e8c; }
.dim-h > span { position: relative; z-index: 1; writing-mode: vertical-rl; transform: rotate(180deg); padding: 6px 2px; }
.dim-cap { top: 10px; left: 32%; right: 38%; height: 14px; }
.dim-skirt { bottom: 22px; left: 28px; right: 72px; height: 24px; }
.dim-cap::before, .dim-skirt::before { left: 0; right: 0; top: 50%; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; height: 8px; transform: translateY(-50%); }
.dim-cap > span, .dim-skirt > span { position: relative; z-index: 1; }
.drawing figcaption { margin-top: 12px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; color: var(--ink-2); }

.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-big { font-size: var(--step-3); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact-small { color: var(--ink-2); font-size: .95rem; line-height: 1.4; }

.section { padding: clamp(48px, 6vw, 88px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cat { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cat:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.cat-img { background: var(--plate); border-radius: 4px; aspect-ratio: 1; display: grid; place-items: center; padding: 12px; }
.cat-img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-body { display: flex; flex-direction: column; gap: 8px; }
.cat-title { font-size: var(--step-2); font-weight: 700; }
.cat-desc { color: var(--ink-2); }
.cat .mono-label { color: var(--accent); }

.prose { max-width: 70ch; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); }
.prose p:first-child { color: var(--ink); font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { border-collapse: collapse; margin: 0 0 1em; }
.prose td, .prose th { padding: 6px 12px 6px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.prose img { border-radius: 4px; }
.narrow-prose { margin-bottom: 32px; }

.band { background: var(--dark); color: var(--on-dark); padding: clamp(40px, 5vw, 64px) 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; }
.band h2 { margin-bottom: 12px; color: #fff; }
.band p { color: var(--on-dark-2); max-width: 60ch; margin: 0; }

/* Внутренние страницы */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(32px, 5vw, 56px) 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; background: var(--surface); }
.chips a:hover { border-color: var(--accent); color: var(--accent); }

.intro { margin: -8px 0 28px; }
.intro > summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.intro .prose { margin-top: 12px; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.product-img { background: var(--plate); display: grid; place-items: center; height: 280px; padding: 20px; overflow: hidden; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.product-img img { max-height: 240px; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.product-img:hover img { transform: scale(1.03); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body .mono-label { margin: 0 0 4px; }
.product-body h3 { margin-bottom: 12px; letter-spacing: .02em; }
.product-body > p:not(.mono-label) { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.specs { margin: 12px 0 0; padding-top: 12px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-2); font-size: .9rem; }
.specs dd { margin: 0; font: 500 .95rem/1.4 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.specs dt { flex: none; max-width: 60%; }
.specs dd.txt { font: 400 .9rem/1.45 var(--font); }
.product-body > .specs:last-child { margin-top: auto; }

.variants { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.variant { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; }
.variant-img { background: var(--plate); border: 1px solid var(--line); border-radius: 4px; height: 88px; display: grid; place-items: center; padding: 6px; overflow: hidden; cursor: zoom-in; }
.variant-img img { max-height: 74px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.variant-title { font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.variant .specs { margin: 0; padding-top: 0; border-top: 0; }
.variant .specs > div { padding: 4px 0; }
.variant-note { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }

.certs { display: flex; flex-wrap: wrap; gap: 12px; }
.certs a { display: block; background: var(--plate); border: 1px solid var(--line); border-radius: 4px; padding: 6px; cursor: zoom-in; }
.certs img { height: 140px; width: auto; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.g-item { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.g-item > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item > a:hover img { transform: scale(1.04); }
.g-item figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.g-cap { font-weight: 500; line-height: 1.35; }

.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.downloads a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "ext label go" "ext meta go"; gap: 2px 16px; align-items: center; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.downloads a:hover { border-color: var(--accent); }
.dl-ext { grid-area: ext; font: 500 .75rem/1 var(--mono); color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 10px 0; text-align: center; }
.dl-label { grid-area: label; font-weight: 500; }
.downloads .mono-label { grid-area: meta; text-transform: none; letter-spacing: 0; }
.dl-go { grid-area: go; font-size: 1.25rem; color: var(--accent); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid h2 { font-size: var(--step-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 24px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.tl-year { font: 500 var(--step-1)/1.2 var(--mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline p { margin: 6px 0 0; color: var(--ink-2); }

.contacts-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-company { font-weight: 600; margin: 8px 0 16px; }
.contact-card dl { margin: 0; display: grid; gap: 12px; }
.contact-card dt { font: 500 .75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.contact-card dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.site-foot { background: var(--dark); color: var(--on-dark-2); padding: 40px 0; font-size: .95rem; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.foot-grid p { margin: 0 0 6px; }
.foot-brand { color: #fff; font-weight: 700; letter-spacing: .14em; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.foot-copy { font: 400 var(--step--1)/1.4 var(--mono); color: var(--on-dark-2); }

/* Просмотр фото */
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.zoom::backdrop { background: rgba(10, 14, 16, .88); }
dialog.zoom figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px; gap: 14px; }
dialog.zoom img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; background: #fff; border-radius: 4px; }
dialog.zoom figcaption { color: #e8eef0; text-align: center; max-width: 70ch; }
dialog.zoom button { position: fixed; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
dialog.zoom button:hover { background: rgba(255, 255, 255, .25); }
.zoom-close { top: 16px; right: 16px; }
.zoom-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.zoom-next { right: 16px; top: 50%; transform: translateY(-50%); }
dialog.zoom[data-single] .zoom-prev, dialog.zoom[data-single] .zoom-next { display: none; }

/* Планшет и телефон */
@media (max-width: 1120px) {
  .head-phone .mono-label { display: none; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; order: 3; margin-left: auto; position: relative; }
  .nav-mobile > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
  .nav-mobile > summary::-webkit-details-marker { display: none; }
  .nav-mobile > summary::after { content: ""; width: 14px; height: 10px; background: linear-gradient(currentColor 0 0) top/100% 2px no-repeat, linear-gradient(currentColor 0 0) center/100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom/100% 2px no-repeat; }
  .nav-mobile > .nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; flex-direction: column; z-index: 30; }
  .nav-mobile .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}
@media (max-width: 960px) {
  .head-row { flex-wrap: wrap; gap: 12px 16px; padding-top: 10px; padding-bottom: 10px; }
  .head-tools { margin-left: 0; }
  .hero-grid, .about-grid, .contacts-grid, .band-grid { grid-template-columns: minmax(0, 1fr); }
  .drawing { max-width: 440px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: minmax(0, 1fr); }
  .contact-card { position: static; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .head-phone { font-size: .9rem; }
  .cat { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .fact { padding: 20px 12px; }
  .fact-big { font-size: var(--step-2); }
  .drawing-plate { padding: 20px 56px 52px 16px; }
  .dim-h { right: 14px; bottom: 52px; top: 20px; }
  .dim-skirt { bottom: 16px; left: 16px; right: 56px; }
  dialog.zoom figure { padding: 64px 12px; }
  .zoom-prev, .zoom-next { top: auto; bottom: 16px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-head, .site-foot, .band, .chips, dialog { display: none !important; }
  body { background: #fff; }
}
