/* ==========================================================================
   Диспетчер 835+ — стили сайта
   Концепция: «полевой прибор» — графит, оливковый цвет корпуса и
   акцент цвета индикации экрана. Светлые секции под предметные фото.
   ========================================================================== */

:root {
  --ink: #12150f;
  --ink-2: #2a2f24;
  --muted: #5d6354;
  --line: #dadecf;
  --paper: #f3f4ee;
  --paper-2: #e9ebe2;
  --white: #ffffff;

  --dark: #0f110d;
  --dark-2: #171a14;
  --dark-3: #20241c;
  --dark-line: #2c3127;
  --dark-text: #e8ebde;
  --dark-muted: #9ca290;

  --olive: #5c6b31;
  --olive-2: #7b8b45;
  --signal: #c9dc5c;
  --signal-2: #b3c84a;
  --warn: #c98a52;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 21, 15, .06), 0 8px 24px rgba(18, 21, 15, .06);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 72px;
  --container: 1240px;
  --gutter: 24px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--signal-2); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: .9em;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); font-size: .94rem; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: #d6e86c; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127, 140, 90, .12); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--olive);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(15, 17, 13, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  color: var(--dark-text);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--dark-line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo-mark { color: var(--olive-2); display: flex; }
.logo-text { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.logo-text b { color: var(--signal); }
.logo-text small { font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-muted); margin-top: 3px; }

.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 9px; border-radius: 8px;
  text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--dark-muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav a.is-active { color: var(--dark-text); background: var(--dark-3); }
.nav-contacts { display: none; }

.header-cta { flex: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--dark-line); border-radius: 10px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--dark-text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { margin-left: auto; }
.main-nav a { white-space: nowrap; }

.topbar { background: #0a0c08; color: var(--dark-muted); font-size: .8rem; border-bottom: 1px solid var(--dark-line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar-contacts { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.topbar-address { display: inline-flex; align-items: center; gap: 6px; color: var(--dark-text); text-decoration: none; }
.topbar-address .pin { color: var(--signal); }
.topbar-email { color: var(--signal); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 1300px) { .topbar-note { display: none; } .topbar-inner { justify-content: center; } }
@media (max-width: 640px) { .topbar-email { display: none; } .topbar-inner { min-height: 32px; } }

@media (max-width: 1300px) {
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .main-nav {
    /* Шапка с backdrop-filter — контейнер для fixed-потомков, поэтому высота задаётся явно */
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--dark); padding: 16px var(--gutter) 32px;
    overflow-y: auto; margin: 0;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 1.15rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--dark-line); background: none !important; }
  .nav-contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .nav-address { display: inline-flex; gap: 8px; align-items: center; color: var(--dark-muted); text-decoration: none; }
  .nav-address .pin { color: var(--signal); }
  .nav-email { color: var(--signal); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; --gutter: 16px; }
  .hide-sm { display: none; }
  .logo-mark { display: none; }
  .header-inner { gap: 12px; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark .eyebrow { color: var(--signal); }
.section-dark p { color: var(--dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p:last-child { color: var(--dark-muted); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.media-light { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.media-light img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--muted); }

/* ---------- Первый экран ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 75% 40%, rgba(92, 107, 49, .22), transparent 60%),
    var(--dark);
  color: var(--dark-text);
  padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero .eyebrow { color: var(--signal); }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #c3c8b6; max-width: 600px; }
.hero-specs {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius);
  overflow: hidden; margin: 28px 0;
}
.hero-specs li { background: var(--dark-2); padding: 14px 18px; display: flex; flex-direction: column; }
.hero-specs b { font-family: var(--mono); font-weight: 600; font-size: 1.2rem; color: var(--signal); letter-spacing: -.01em; }
.hero-specs span { font-size: .85rem; color: var(--dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-primary { word-break: break-word; }
.hero-note { margin: 16px 0 0; font-size: .85rem; color: var(--dark-muted); }
.hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--dark-line); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}
@media (max-width: 420px) {
  .hero-specs { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Ключевые цифры ---------- */
.figures { background: var(--dark-2); color: var(--dark-text); border-top: 1px solid var(--dark-line); }
.figures-grid { margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.figure { padding: 28px 20px 30px; border-left: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 4px; }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure dd { display: contents; margin: 0; }
.figure dd b { order: 1; font-family: var(--mono); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; color: var(--signal); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 4px; }
.figure dt { order: 2; font-size: .88rem; font-weight: 700; color: var(--dark-text); }
.figure dd span { order: 3; font-size: .78rem; color: var(--dark-muted); line-height: 1.4; }
@media (max-width: 1100px) {
  .figures-grid { grid-template-columns: repeat(3, 1fr); }
  .figure:nth-child(4) { border-left: 0; padding-left: 0; }
  .figure:nth-child(n+4) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 620px) {
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure { padding: 20px 14px; }
  .figure:nth-child(4) { border-left: 1px solid var(--dark-line); padding-left: 14px; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}

/* ---------- Что это ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-text p { color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.about-points { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.about-points li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.about-points h3 { margin-bottom: .4em; }
.about-points p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .about-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .about-points { grid-template-columns: 1fr; } }

/* ---------- Диапазоны ---------- */
.spectrum { margin: 0 0 40px; padding: 28px 28px 20px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); }
.spectrum-track { position: relative; height: 64px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--dark-3) 0 1px, transparent 1px 2%); }
.band-seg, .band-gap { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; }
.band-seg { border-radius: 8px; color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: .9rem; }
.band-seg i, .band-gap i { font-style: normal; white-space: nowrap; }
.seg-1 { background: #8fa04a; }
.seg-2 { background: var(--signal-2); border-radius: 8px 0 0 8px; }
.seg-3 { background: var(--signal); border-radius: 0 8px 8px 0; border-left: 2px solid var(--dark-2); }
.band-gap { border: 1px dashed var(--dark-line); border-radius: 8px; color: var(--dark-muted); font-size: .72rem; font-family: var(--mono); }
.spectrum-scale { position: relative; height: 28px; margin-top: 8px; font-family: var(--mono); font-size: .76rem; color: var(--dark-muted); }
.spectrum-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.spectrum-scale span:first-child { transform: none; }
.spectrum-scale span:last-child { transform: translateX(-100%); }
.spectrum figcaption { color: var(--dark-muted); font-size: .82rem; margin-top: 6px; }
@media (max-width: 700px) {
  .spectrum { padding: 20px 16px 14px; }
  .band-gap i { display: none; }
  .band-seg { font-size: .72rem; }
  .spectrum-scale { font-size: .64rem; }
  .spectrum-scale span:nth-child(3) { top: 14px; }
}

.bands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.band-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.band-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--signal); }
.band-card:nth-child(1)::before { background: #8fa04a; }
.band-card:nth-child(2)::before { background: var(--signal-2); }
.band-num { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.band-card h3 { font-family: var(--mono); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; color: var(--dark-text); margin-bottom: 4px; }
.band-range { font-family: var(--mono); color: var(--signal) !important; font-size: 1.05rem; margin-bottom: 14px; }
.band-card p:last-child { margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .bands-grid { grid-template-columns: 1fr; } }

/* ---------- Как устроен ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.flow { list-style: none; display: flex; flex-direction: column; }
.flow-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; position: relative; padding-bottom: 28px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 4px; width: 2px;
  background: linear-gradient(var(--olive-2), var(--line));
}
.flow-idx {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; background: var(--white); border: 1px solid var(--line); color: var(--olive);
}
.flow-out .flow-idx { background: var(--ink); color: var(--signal); border-color: var(--ink); }
.flow-step h3 { margin: 4px 0 4px; }
.flow-step p { margin: 0; color: var(--muted); }
.flow-outputs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.flow-outputs li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; line-height: 1.4; }
@media (max-width: 520px) { .flow-outputs { grid-template-columns: 1fr; } }

.hotspots { position: relative; }
.hs {
  position: absolute; transform: translate(-50%, -50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--signal); font: 600 .85rem var(--mono);
  box-shadow: 0 0 0 5px rgba(201, 220, 92, .45);
}
.hotspots figcaption { padding: 18px 22px 20px; border-top: 1px solid var(--line); }
.hs-legend { padding-left: 1.3em; display: grid; gap: 6px; color: var(--ink-2); font-size: .9rem; }
.hs-legend li::marker { font-family: var(--mono); font-weight: 600; color: var(--olive); }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

.arch-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.arch-notes p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .arch-notes { grid-template-columns: 1fr; } }

/* ---------- Преимущества ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.adv-card:first-child { grid-column: span 2; background: var(--ink); color: var(--dark-text); border-color: var(--ink); }
.adv-card:first-child p { color: var(--dark-muted); }
.adv-card:first-child .adv-num { color: var(--signal); }
.adv-num { font-family: var(--mono); font-size: .8rem; color: var(--olive); margin-bottom: 28px; }
.adv-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } .adv-card:first-child { grid-column: auto; } }

/* ---------- Характеристики ---------- */
.specs { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs-tabs { display: flex; gap: 4px; padding: 8px; background: var(--paper-2); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.specs-tabs button {
  flex: none; border: 0; background: transparent; padding: 10px 16px; border-radius: 8px;
  font: 600 .9rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap;
}
.specs-tabs button:hover { color: var(--ink); }
.specs-tabs button[aria-selected="true"] { background: var(--ink); color: var(--signal); }
.specs-panel { padding: 8px 28px 20px; }
.specs-panel + .specs-panel { border-top: 1px solid var(--line); }
.specs-panel-title { font-size: 1.05rem; margin: 18px 0 6px; }
.specs-acc { all: unset; display: flex; justify-content: space-between; align-items: center; width: 100%; cursor: pointer; }
.specs-acc::after { content: "+"; font: 500 1.2rem/1 var(--mono); color: var(--olive); }
.specs-acc[aria-expanded="true"]::after { content: "−"; }
.specs-acc:focus-visible { outline: 2px solid var(--signal-2); outline-offset: 4px; }
.specs.is-tabbed .specs-panel + .specs-panel { border-top: 0; }
.specs.is-tabbed .specs-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.specs.is-accordion .specs-panel { padding-bottom: 0; }
.specs.is-accordion .specs-panel-title { margin: 0; padding: 18px 0; }
.specs.is-accordion .specs-panel.is-collapsed .spec-table { display: none; }
.specs.is-accordion .spec-table { margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { font-weight: 500; color: var(--muted); width: 46%; padding-right: 24px; }
.spec-table td { font-family: var(--mono); font-size: .95rem; font-weight: 500; }
.specs-footnote { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.specs-footnote a { color: var(--olive); font-weight: 600; }
@media (max-width: 640px) {
  .specs-panel { padding: 4px 16px 12px; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table th, .spec-table td { padding: 0; border: 0; }
  .spec-table th { font-size: .85rem; margin-bottom: 2px; }
}

/* ---------- Комплектация ---------- */
.kit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.kit-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.kit-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kit-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.kit-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.kit-qty { font-family: var(--mono); font-weight: 600; font-size: .95rem; background: var(--ink); color: var(--signal); border-radius: 8px; padding: 8px 6px; text-align: center; }
.kit-item-muted { background: transparent; border-style: dashed; }
.kit-item-muted .kit-qty { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.kit-views { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.kit-views figcaption { padding: 14px 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .kit-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .kit-views { grid-template-columns: 1fr; } }

/* ---------- Питание ---------- */
.power-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.power-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); }
.power-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.power-diagram { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; align-items: center; gap: 8px; margin: 24px 0; }
.pd-col { display: grid; gap: 8px; }
.pd-node { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; background: var(--paper); display: flex; flex-direction: column; gap: 2px; }
.pd-node b { font-size: .92rem; }
.pd-node span { font-family: var(--mono); font-size: .82rem; color: var(--olive); }
.pd-core { background: var(--ink); border-color: var(--ink); color: var(--dark-text); }
.pd-core span { color: var(--signal); }
.pd-device { border-color: var(--olive-2); }
.pd-arrow { height: 2px; background: var(--olive-2); position: relative; }
.pd-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--olive-2); border-right: 0; }
.power-autonomy { background: var(--ink); color: var(--dark-text); border-color: var(--ink); }
.power-autonomy .eyebrow { color: var(--signal); }
.power-autonomy .muted { color: var(--dark-muted); }
.big-value { font-family: var(--mono); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--signal); font-weight: 600; letter-spacing: -.04em; margin: 8px 0 24px; }
.big-value small { font-size: .35em; letter-spacing: 0; color: var(--dark-muted); }
.mini-specs { margin: 0 0 20px; display: grid; gap: 0; }
.mini-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); font-size: .92rem; }
.mini-specs dt { color: var(--dark-muted); }
.mini-specs dd { margin: 0; font-family: var(--mono); text-align: right; }
@media (max-width: 960px) { .power-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .power-diagram { grid-template-columns: 1fr; }
  .pd-arrow { width: 2px; height: 22px; margin: 0 auto; }
  .pd-arrow::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--olive-2); border-bottom: 0; }
  .pd-col { grid-template-columns: 1fr 1fr; }
}

/* ---------- Применение ---------- */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.use-card { background: var(--dark); padding: 28px; }
.use-card h3 { color: var(--dark-text); }
.use-card h3::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 2px; background: var(--signal); margin-bottom: 18px; }
.use-card p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .use-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .use-grid { grid-template-columns: 1fr; } }

/* ---------- Совместимость ---------- */
.compat-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; }
.compat-card { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: var(--white); }
.compat-card ul { list-style: none; display: grid; gap: 10px; }
.compat-card li { display: flex; gap: 10px; align-items: baseline; }
.compat-yes li::before { content: "✓"; color: var(--olive); font-weight: 800; }
.compat-no { background: transparent; border-style: dashed; }
.compat-no li { color: var(--muted); }
.compat-no li::before { content: "✕"; color: var(--warn); font-weight: 800; }
.compat-cta { background: var(--ink); color: var(--dark-text); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.compat-cta p { margin: 0; color: var(--dark-muted); }
.compat-cta .btn { white-space: normal; }
@media (max-width: 960px) { .compat-grid { grid-template-columns: 1fr 1fr; } .compat-cta { grid-column: 1 / -1; } }
@media (max-width: 600px) { .compat-grid { grid-template-columns: 1fr; } }

/* ---------- Гарантия ---------- */
.warranty { display: flex; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.warranty h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.warranty p { margin: 0; color: var(--muted); }
.warranty-value { margin: 0; flex: none; width: 140px; height: 140px; border-radius: 50%; border: 2px solid var(--olive-2); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.warranty-value b { font-family: var(--mono); font-size: 3rem; line-height: 1; color: var(--olive); }
.warranty-value span { font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .warranty { flex-direction: column; align-items: flex-start; } .warranty-value { width: 110px; height: 110px; } .warranty-value b { font-size: 2.4rem; } }

/* ---------- Отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.stars { color: var(--olive); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.review-text { color: var(--ink-2); font-size: .97rem; flex: 1; }
.review-card > footer { display: flex; flex-direction: column; font-size: .88rem; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card > footer span { color: var(--muted); }
@media (max-width: 960px) { .reviews-grid { grid-template-columns: 1fr; } }

.resources { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.resource { display: block; text-decoration: none; background: var(--ink); color: var(--dark-text); border-radius: var(--radius); padding: 28px; transition: transform .2s; }
.resource:hover { transform: translateY(-2px); }
.resource p { color: var(--dark-muted); }
.resource .link-arrow { color: var(--signal); }
@media (max-width: 700px) { .resources { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1.2rem/1 var(--mono); background: var(--paper-2); color: var(--olive); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--ink); color: var(--signal); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }
.faq details a { color: var(--olive); font-weight: 600; }
.faq-more { margin-top: 24px; }

/* ---------- Финальный CTA ---------- */
.cta-final {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201, 220, 92, .14), transparent 60%),
    var(--olive);
  background-color: #2d3419;
  color: var(--dark-text);
  padding: clamp(56px, 8vw, 100px) 0;
}
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-final h2 { max-width: 760px; }
.cta-final p { color: #cfd5bd; }
.cta-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cta-points li { border: 1px solid rgba(232, 235, 222, .25); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.cta-box { background: rgba(15, 17, 13, .5); border: 1px solid rgba(232, 235, 222, .15); border-radius: var(--radius); padding: 28px; }
.cta-box .btn { width: 100%; white-space: normal; word-break: break-word; }
.cta-box p { margin: 14px 0 0; font-size: .85rem; text-align: center; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Контакты и карта ---------- */
.contacts { background: var(--paper); padding-bottom: 0; }
.contacts-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contacts-info { padding-bottom: clamp(48px, 6vw, 80px); }
.contact-list { margin: 24px 0 28px; display: grid; gap: 18px; }
.contact-list dt { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-size: 1.2rem; font-weight: 700; }
.contact-list a { text-decoration: none; color: var(--olive); word-break: break-word; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map {
  position: relative; min-height: 460px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); border-bottom: 0;
}
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; text-align: center; color: var(--olive);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper-2);
}
.map-placeholder-addr { font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 0; }
.map-placeholder a { color: var(--olive); font-weight: 600; }
.map-frame, .map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-info { padding-bottom: 0; }
  .map { min-height: 360px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; }
}

/* ---------- Внутренние страницы ---------- */
.page-hero { background: var(--dark); color: var(--dark-text); padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); max-width: 960px; }
.page-intro { color: var(--dark-muted); font-size: 1.08rem; max-width: 820px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--dark-muted); margin-bottom: 20px; font-family: var(--mono); }
.breadcrumbs a { color: var(--signal); text-decoration: none; }

.reviews-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.reviews-list { display: grid; gap: 16px; }
.review-card-full header { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--signal); font-weight: 800; font-size: 1.1rem; }
.review-author { font-size: 1.05rem; margin: 0; }
.review-role { margin: 0; color: var(--muted); font-size: .88rem; }
.review-card-full time { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.review-card-full .review-text { margin: 0; }
.side-panel { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h2 { font-size: 1.15rem; }
.side-card p { color: var(--muted); font-size: .93rem; }
.side-card-accent { background: var(--ink); color: var(--dark-text); border-color: var(--ink); }
.side-card-accent p { color: var(--dark-muted); }
.side-card-accent .btn { white-space: normal; word-break: break-word; font-size: .9rem; }
@media (max-width: 960px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}
@media (max-width: 520px) {
  .review-card-full header { grid-template-columns: 40px 1fr; }
  .review-avatar { width: 40px; height: 40px; }
  .review-card-full time { grid-column: 1 / -1; }
}

.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 16px); }
.doc-toc-title { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.doc-toc ol { padding-left: 1.4em; display: grid; gap: 6px; font-size: .92rem; }
.doc-toc a { text-decoration: none; color: var(--ink-2); }
.doc-toc a:hover, .doc-toc a.is-active { color: var(--olive); }
.doc { max-width: 820px; min-width: 0; }
.doc section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.doc section:last-of-type { border-bottom: 0; }
.doc h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.doc p { color: var(--ink-2); }
.doc a:not(.btn):not(.link-arrow) { color: var(--olive); font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--olive-2); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font: 600 .95rem var(--mono); color: var(--olive); }
.steps-compact li { padding-top: 12px; padding-bottom: 12px; }
.steps-compact li::before { top: 11px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.trouble-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.trouble-table th, .trouble-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.trouble-table thead th { background: var(--ink); color: var(--signal); font-family: var(--mono); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.trouble-table tbody tr:last-child td { border-bottom: 0; }
.trouble-table td:first-child { font-weight: 700; }
@media (max-width: 640px) {
  .table-scroll { border: 0; background: transparent; overflow: visible; }
  .trouble-table { min-width: 0; }
  .trouble-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .trouble-table, .trouble-table tbody, .trouble-table tr, .trouble-table td { display: block; width: 100%; }
  .trouble-table tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 6px 0; }
  .trouble-table td { border: 0; padding: 8px 16px; }
  .trouble-table td::before { content: attr(data-label); display: block; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
}
.doc-links { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 8px 0 32px; }
.doc-cta { background: var(--ink); color: var(--dark-text); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.doc-cta h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.doc-cta p { color: var(--dark-muted) !important; }
.doc-cta .btn { white-space: normal; word-break: break-word; }
.doc .faq + .faq { margin-top: 8px; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
}
@media (max-width: 520px) {
  .steps li { padding-left: 52px; }
  .steps li::before { left: 14px; }
}

/* ---------- Футер ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .logo-text { color: var(--dark-text); }
.footer-brand p { margin-top: 16px; max-width: 360px; }
.footer-title { font-family: var(--mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--dark-text); margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a, .footer-contacts a { text-decoration: none; color: var(--dark-muted); }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--signal); }
.footer-contacts address { display: grid; gap: 8px; }
.footer-contacts a { color: var(--signal); font-weight: 600; word-break: break-word; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: .8rem; }
.footer-bottom a { color: var(--dark-muted); }
.footer-bottom a:hover { color: var(--signal); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Окно cookie ----------
   Не блокирует страницу: компактная карточка у нижнего края, без затемнения фона. */
.cookie-banner {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: min(520px, calc(100vw - 48px));
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  background: var(--dark-2); color: var(--dark-text);
  border: 1px solid var(--dark-line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  font-size: .86rem; line-height: 1.5;
  animation: cookie-in .3s ease-out;
}
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0; color: var(--dark-muted); }
.cookie-text a { color: var(--signal); }
.cookie-accept { flex: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px; gap: 12px; font-size: .82rem; }
}
