/* ==========================================================================
   Инкубатор 4.0 — стили сайта
   Структура: токены → база → раскладка → компоненты → секции главной →
   внутренние страницы → утилиты → печать.
   ========================================================================== */

/* ---------- Токены ---------- */
:root {
    --ink: #121619;
    --ink-2: #454e57;
    --muted: #5f6872;
    --line: #dde1e5;
    --line-strong: #c3c9cf;
    --bg: #f2f4f5;
    --white: #ffffff;

    --dark: #101316;
    --dark-2: #171b1f;
    --dark-3: #1e2328;
    --dark-line: #2a3137;
    --on-dark: #eef1f3;
    --on-dark-2: #a7b0b8;
    --on-dark-muted: #8a939c;

    --accent: #d23c1e;
    --accent-hover: #b53217;
    --accent-on-dark: #f0643f;
    --error: #c42b1c;
    --success: #13803a;

    /* Цвета диапазонов (проверены на различимость, в т. ч. при нарушениях цветовосприятия) */
    --band-915: #eda100;
    --band-24: #2a78d6;
    --band-52: #1baf7a;
    --band-58: #4a3aa7;

    --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 64px;
    --radius: 14px;
    --radius-l: 18px;
    --shadow: 0 1px 2px rgba(16, 20, 24, .05), 0 12px 32px rgba(16, 20, 24, .08);
}

@media (min-width: 1024px) {
    :root { --header-h: 70px; }
}

/* Темный контекст: диапазоны в шагах, подобранных для темной поверхности */
.hero,
.section--dark,
.page-hero,
.adv-card--wide,
.flow__node--unit,
.site-footer {
    --band-915: #c98500;
    --band-24: #3987e5;
    --band-52: #199e70;
    --band-58: #9085e9;
}

[data-band="915"] { --band-color: var(--band-915); }
[data-band="24"]  { --band-color: var(--band-24); }
[data-band="52"]  { --band-color: var(--band-52); }
[data-band="58"]  { --band-color: var(--band-58); }

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-underline-offset: 3px; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

main:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: rgba(210, 60, 30, .18); }

[hidden] { display: none !important; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mono { font-family: var(--font-mono); }

.nw { white-space: nowrap; }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Раскладка ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--white { background: var(--white); }

.section--dark,
.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    background: var(--dark);
    color: var(--on-dark);
}

/* Тонкая инженерная сетка на темных секциях */
.section--dark::before,
.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
    pointer-events: none;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .lead { margin-top: 16px; }

.section-head--split {
    max-width: none;
    display: grid;
    gap: 16px 56px;
    align-items: end;
}
.section-head--split .lead { margin-top: 0; }

@media (min-width: 1024px) {
    .section-head--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .section-head--end { grid-template-columns: 1fr auto; }
}

/* ---------- Типографика ---------- */
.eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow--dark { color: var(--on-dark-muted); }

.eyebrow__num { color: var(--accent); }
.eyebrow--dark .eyebrow__num { color: var(--accent-on-dark); }
.eyebrow__num::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    margin-left: 10px;
    vertical-align: middle;
    background: currentColor;
    opacity: .6;
}

.h2 {
    font-size: clamp(30px, 4.2vw, 50px);
    line-height: 1.08;
    letter-spacing: -.022em;
    font-weight: 600;
    text-wrap: balance;
}

.h3 {
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.3;
    letter-spacing: -.01em;
    font-weight: 600;
}

.h4 {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
}

.lead {
    font-size: clamp(16.5px, 1.35vw, 19px);
    line-height: 1.6;
    color: var(--ink-2);
    text-wrap: pretty;
}
.lead--dark { color: var(--on-dark-2); }

.h2 + .lead { margin-top: 20px; }

.figcaption {
    margin-top: 12px;
    font-size: 13.5px;
    color: var(--muted);
}

.note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--ink-2);
}
.note .icon { color: var(--accent); margin-top: 2px; }

.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px dashed var(--line-strong);
    background: var(--white);
    font-size: 14px;
    color: var(--ink-2);
}
.notice .icon { color: var(--muted); margin-top: 2px; }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11.5px;
    white-space: nowrap;
    color: var(--ink-2);
}
.tag--dark {
    border-color: rgba(255, 255, 255, .18);
    color: var(--on-dark-2);
}

/* ---------- Кнопки и ссылки ---------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    --btn-bd: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--btn-bd);
    border-radius: 10px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }

.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-hover); }

.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: #000; }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bd: var(--ink); }

.btn--ghost-dark {
    --btn-bg: rgba(255, 255, 255, .04);
    --btn-fg: var(--on-dark);
    --btn-bd: rgba(255, 255, 255, .22);
}
.btn--ghost-dark:hover { --btn-bd: rgba(255, 255, 255, .55); --btn-bg: rgba(255, 255, 255, .08); }

.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn[disabled],
.btn.is-loading { opacity: .7; cursor: progress; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--dark { color: var(--on-dark); margin-top: 16px; }

/* ---------- Диапазоны: метки ---------- */
.band-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    flex: none;
    border-radius: 50%;
    background: var(--band-color, currentColor);
}

.band-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.band-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--on-dark);
}

.band-chips--light .band-chip {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

/* ==========================================================================
   Шапка
   ========================================================================== */
.topbar {
    display: none;
    background: #0a0c0e;
    color: var(--on-dark-2);
    font-size: 13px;
}

@media (min-width: 1024px) {
    .topbar { display: block; }
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}

.topbar__tagline {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--on-dark-muted);
}

.topbar__contacts {
    display: flex;
    flex: none;
    gap: 24px;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-dark-2);
    text-decoration: none;
    transition: color .2s;
}
.topbar__link:hover { color: var(--on-dark); }
.topbar__link .icon { width: 16px; height: 16px; color: var(--on-dark-muted); }
.topbar__link .topbar__pin { color: var(--accent-on-dark); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(16, 19, 22, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    color: var(--on-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--on-dark);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
}
.logo__mark { width: 32px; height: 32px; }
.logo__ver { font-family: var(--font-mono); font-weight: 500; color: var(--accent-on-dark); }

.nav { display: none; }

.nav__list { display: flex; gap: 2px; }

.nav__link {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--on-dark-2);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--on-dark); background: rgba(255, 255, 255, .06); }
.nav__link[aria-current="page"],
.nav__link.is-active {
    color: var(--on-dark);
    box-shadow: inset 0 -2px 0 var(--accent-on-dark);
    border-radius: 8px 8px 0 0;
}

.site-header__cta { display: none; }

.burger {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.burger__line,
.burger__line::before,
.burger__line::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--on-dark);
    transition: transform .25s, background-color .25s;
}
.burger__line { position: relative; }
.burger__line::before,
.burger__line::after { content: ""; position: absolute; left: 0; }
.burger__line::before { top: -6px; }
.burger__line::after { top: 6px; }

.burger[aria-expanded="true"] .burger__line { background: transparent; }
.burger[aria-expanded="true"] .burger__line::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 768px) {
    .site-header__cta { display: inline-flex; }
}

@media (min-width: 1220px) {
    .nav { display: block; }
    .burger { display: none; }
    .site-header__inner { gap: 20px; }
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: var(--menu-h, calc(100dvh - var(--header-h)));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.mobile-menu__inner {
    display: grid;
    gap: 28px;
    padding-block: 24px 40px;
}

.mobile-menu__title {
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.mobile-menu__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: var(--on-dark);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}
.mobile-menu__link[aria-current="page"] { color: var(--accent-on-dark); }

.mobile-menu__contacts { display: grid; gap: 14px; }

.mobile-menu__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--on-dark-2);
    text-decoration: none;
}
.mobile-menu__contact .icon { color: var(--accent-on-dark); }

@media (min-width: 768px) {
    .mobile-menu__inner { grid-template-columns: 1fr 1fr; column-gap: 48px; }
    .mobile-menu__contacts,
    .mobile-menu__inner > .btn { grid-column: 1 / -1; }
    .mobile-menu__inner > .btn { justify-self: start; width: auto; }
}

html.menu-open,
html.modal-open { overflow: hidden; }

/* ==========================================================================
   Первый экран: заголовок сверху, комплект на «сцене», анализатор спектра
   ========================================================================== */
.hero {
    --mx: 0;
    --my: 0;
    --cx: 50%;
    --cy: 30%;
    overflow: hidden;
    padding-top: clamp(32px, 5vw, 72px);
    background: var(--dark);
}

/* Сетка медленно смещается — фон «живой» */
.hero::before {
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
    animation: hero-grid 48s linear infinite;
}

@keyframes hero-grid {
    to { background-position: 56px 56px, 56px 56px; }
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero__aura {
    position: absolute;
    border-radius: 50%;
    translate: calc(var(--mx) * -28px) calc(var(--my) * -18px);
    animation: hero-aura 22s ease-in-out infinite alternate;
    will-change: transform;
}

.hero__aura--1 {
    left: -14%;
    top: -22%;
    width: 62vw;
    height: 62vw;
    background: radial-gradient(circle, rgba(240, 100, 63, .20), transparent 62%);
}

.hero__aura--2 {
    right: -18%;
    top: 8%;
    width: 58vw;
    height: 58vw;
    background: radial-gradient(circle, rgba(57, 135, 229, .16), transparent 62%);
    animation-duration: 26s;
    animation-delay: -8s;
}

.hero__aura--3 {
    left: 26%;
    bottom: -38%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(144, 133, 233, .14), transparent 62%);
    animation-duration: 30s;
    animation-delay: -14s;
}

@keyframes hero-aura {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4%, 6%, 0) scale(1.08); }
    100% { transform: translate3d(-5%, -3%, 0) scale(.96); }
}

/* Мягкий свет за курсором */
.hero__spot {
    position: absolute;
    inset: 0;
    background: radial-gradient(520px circle at var(--cx) var(--cy), rgba(255, 255, 255, .06), transparent 62%);
    opacity: 0;
    transition: opacity .4s;
}
.hero.is-pointer .hero__spot { opacity: 1; }

.hero__top {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 5px 16px 5px 5px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.hero__sku {
    flex: none;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    letter-spacing: .04em;
}

.hero__eyebrow-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 .22em;
    font-size: clamp(58px, 10.4vw, 156px);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.045em;
    translate: calc(var(--mx) * 5px) calc(var(--my) * 3px);
}

/* «4.0» — моноширинный, с медленно переливающимся градиентом */
.hero__title-ver {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: -.07em;
    background: linear-gradient(100deg, #f0643f 0%, #ffb08f 22%, #f0643f 44%, #c98500 66%, #f0643f 88%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-shine 9s linear infinite;
}

@keyframes hero-shine {
    to { background-position: -250% 0; }
}

.hero__lead {
    max-width: 720px;
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.55;
    color: var(--on-dark-2);
    text-wrap: balance;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

@media (max-width: 559px) {
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__eyebrow { padding-right: 5px; }
    .hero__eyebrow-text { display: none; }
}

/* ---------- Сцена с комплектом ---------- */
.hero__stage {
    position: relative;
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: clamp(8px, 2vw, 20px) auto 0;
    padding-inline: var(--gutter);
}

.hero__product {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    margin: 0 auto;
    translate: calc(var(--mx) * -14px) calc(var(--my) * -9px);
}

.hero__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    -webkit-mask-image: radial-gradient(closest-side, #000 62%, rgba(0, 0, 0, .55) 80%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 62%, rgba(0, 0, 0, .55) 80%, transparent 100%);
}

/* Волны от комплекса — по одной на каждый диапазон */
.hero__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: min(900px, 110vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    translate: calc(var(--mx) * 18px) calc(var(--my) * 12px);
    pointer-events: none;
}

.hero__rings span {
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--band-color);
    border-radius: 50%;
    opacity: 0;
    animation: hero-ring 8s cubic-bezier(.22, .61, .36, 1) infinite;
}
.hero__rings span:nth-child(2) { animation-delay: 2s; }
.hero__rings span:nth-child(3) { animation-delay: 4s; }
.hero__rings span:nth-child(4) { animation-delay: 6s; }

@keyframes hero-ring {
    0% { transform: scale(.3); opacity: 0; }
    12% { opacity: .55; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* Показатели вокруг комплекса */
.hero__hud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.hud {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(23, 27, 31, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hud dt {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--on-dark-muted);
}

.hud dd {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--on-dark);
}

@media (min-width: 768px) {
    .hero__hud { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
    .hero__hud { display: block; margin: 0; }

    .hero__product { width: min(860px, calc(100% - 400px)); }

    .hud {
        position: absolute;
        z-index: 2;
        width: 196px;
        translate: calc(var(--mx) * 8px) calc(var(--my) * 6px);
        animation: hud-float 7s ease-in-out infinite alternate;
    }

    .hud--1 { left: 0; top: 16%; }
    .hud--2 { left: 24px; top: 56%; animation-delay: -2.5s; }
    .hud--3 { right: 0; top: 20%; animation-delay: -4s; }
    .hud--4 { right: 24px; top: 60%; animation-delay: -1.2s; }

    /* Выноска к комплексу */
    .hud::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 44px;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
    }
    .hud::before {
        content: "";
        position: absolute;
        top: calc(50% - 3px);
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--accent-on-dark);
        box-shadow: 0 0 0 4px rgba(240, 100, 63, .2);
    }
    .hud--1::after,
    .hud--2::after { left: 100%; }
    .hud--1::before,
    .hud--2::before { left: calc(100% + 44px); }
    .hud--3::after,
    .hud--4::after { right: 100%; transform: scaleX(-1); }
    .hud--3::before,
    .hud--4::before { right: calc(100% + 44px); }
}

@keyframes hud-float {
    from { transform: translateY(-6px); }
    to { transform: translateY(6px); }
}

/* ---------- Анализатор спектра ---------- */
.analyzer {
    position: relative;
    z-index: 2;
    margin-top: clamp(-72px, -5vw, -24px);
    padding: 16px 18px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-l);
    background: linear-gradient(180deg, rgba(23, 27, 31, .55), rgba(16, 19, 22, .92));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

@media (max-width: 1199px) {
    .analyzer { margin-top: 20px; }
}

.analyzer__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.analyzer__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-dark-2);
}

.analyzer__live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1baf7a;
    box-shadow: 0 0 0 0 rgba(27, 175, 122, .6);
    animation: live-dot 2s ease-out infinite;
}

@keyframes live-dot {
    0% { box-shadow: 0 0 0 0 rgba(27, 175, 122, .55); }
    100% { box-shadow: 0 0 0 9px rgba(27, 175, 122, 0); }
}

.analyzer__hint { color: var(--on-dark-muted); text-transform: none; letter-spacing: .02em; }
.analyzer__hint-touch { display: none; }

@media (hover: none) {
    .analyzer__hint-pointer { display: none; }
    .analyzer__hint-touch { display: inline; }
}

.analyzer__plot {
    position: relative;
    height: clamp(120px, 12vw, 160px);
    cursor: crosshair;
    touch-action: pan-y;
}

.analyzer__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.analyzer__label {
    position: absolute;
    left: var(--x);
    top: 4px;
    transform: translateX(-50%);
    padding: 2px 7px;
    border: 1px solid color-mix(in srgb, var(--band-color) 55%, transparent);
    border-radius: 999px;
    background: rgba(16, 19, 22, .85);
    font-family: var(--font-mono);
    font-size: 11.5px;
    white-space: nowrap;
    color: var(--on-dark);
    pointer-events: none;
    transition: background-color .2s, border-color .2s;
}
.analyzer__label--row1 { top: 30px; }
.analyzer__label.is-hot { background: var(--band-color); border-color: var(--band-color); color: #fff; }

.analyzer__marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--marker-x, 50%);
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .85), rgba(255, 255, 255, .15));
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.analyzer.is-active .analyzer__marker { opacity: 1; }

.analyzer__readout {
    position: absolute;
    bottom: 8px;
    left: var(--readout-x, 8px);
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(10, 12, 14, .92);
    font-size: 12px;
    white-space: nowrap;
    color: var(--on-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.analyzer.is-active .analyzer__readout { opacity: 1; }
.analyzer__readout b { font-weight: 500; color: var(--readout-color, var(--on-dark)); }

.analyzer__axis {
    position: relative;
    height: 18px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--on-dark-muted);
}
.analyzer__axis span {
    position: absolute;
    left: var(--x);
    transform: translateX(-50%);
    white-space: nowrap;
}

@media (max-width: 639px) {
    .analyzer { padding: 14px 12px 10px; }
    .analyzer__label { font-size: 10.5px; padding: 1px 5px; }
    .analyzer__label--row1 { top: 26px; }
    .analyzer__axis span { font-size: 10px; }
}

/* ---------- Бегущая строка ---------- */
.hero__marquee {
    position: relative;
    margin-top: clamp(40px, 5vw, 64px);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .08);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero__marquee-track {
    display: flex;
    width: max-content;
    animation: hero-marquee 60s linear infinite;
}
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }

.hero__marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 18px 22px 18px 0;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--on-dark-2);
}

.hero__marquee-item::after {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--accent-on-dark);
    transform: rotate(45deg);
}

@keyframes hero-marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Ключевые характеристики ---------- */
.keyspecs {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.keyspecs__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.keyspec {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.keyspec:nth-child(-n + 2) { border-top: 0; }

.keyspec__value {
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.keyspec__label {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.35;
}

.keyspec__note {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

@media (min-width: 768px) {
    .keyspecs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .keyspec:nth-child(-n + 3) { border-top: 0; }
    .keyspec:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .keyspec:nth-child(-n + 3) { border-top: 0; }
}

@media (min-width: 1200px) {
    .keyspecs__list { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 0; }
    .keyspec,
    .keyspec:nth-child(n + 3) {
        padding: 30px 20px;
        border-top: 0;
        border-left: 1px solid var(--line);
    }
    .keyspec:first-child { border-left: 0; padding-left: 0; }
    .keyspec:last-child { padding-right: 0; }
}

/* ==========================================================================
   О комплексе
   ========================================================================== */
.about__grid {
    display: grid;
    gap: 48px;
}

.about__points {
    display: grid;
    gap: 28px 32px;
    margin-top: 40px;
}

.about-point__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--accent);
}
.about-point__icon .icon { width: 22px; height: 22px; }


.about-point .h3 { margin-bottom: 8px; }
.about-point p { font-size: 15.5px; color: var(--ink-2); }

.about__media img {
    width: 100%;
    border-radius: var(--radius-l);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (min-width: 640px) {
    .about__points { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
    .about__media {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }
    .about__media img { aspect-ratio: 4 / 5; object-position: 38% 50%; }
}

/* ==========================================================================
   Диапазоны
   ========================================================================== */
.spectrum { margin-bottom: 48px; }

.spectrum__plot {
    position: relative;
    height: 230px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.spectrum__tick {
    position: absolute;
    top: 30px;
    bottom: 0;
    left: var(--x);
    width: 1px;
    background: rgba(255, 255, 255, .07);
}

.spectrum__tick > span {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translate(-50%, 10px);
    font-family: var(--font-mono);
    font-size: 12px;
    white-space: nowrap;
    color: var(--on-dark-muted);
}

.spectrum__band {
    position: absolute;
    bottom: 0;
    left: var(--from);
    width: var(--width);
    height: 100%;
    transition: opacity .25s;
}

.spectrum__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-width: 6px;
    height: 38%;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--band-color), color-mix(in srgb, var(--band-color) 35%, transparent));
    box-shadow: 0 0 28px color-mix(in srgb, var(--band-color) 50%, transparent);
    transition: filter .25s, height .25s;
}

.spectrum__label {
    position: absolute;
    left: 50%;
    bottom: calc(38% + 12px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    line-height: 1.2;
}

.spectrum__label::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 10px;
    background: var(--band-color);
    opacity: .7;
}

.spectrum__band--row1 .spectrum__label { bottom: calc(38% + 58px); }
.spectrum__band--row1 .spectrum__label::after { height: 56px; }

.spectrum__label b {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--on-dark);
}

.spectrum__label small {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--on-dark-muted);
}

/* Крайние подписи не выходят за границы графика */
.spectrum__band--first .spectrum__label { left: 0; transform: none; align-items: flex-start; }
.spectrum__band--first .spectrum__label::after { left: 2px; }

.spectrum__span {
    position: absolute;
    top: 0;
    left: var(--from);
    right: calc(100% - var(--to));
    height: 22px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.spectrum__span span {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    padding: 0 10px;
    background: var(--dark);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .04em;
    white-space: nowrap;
    color: var(--on-dark-2);
}

.spectrum__caption {
    font-size: 13px;
    color: var(--on-dark-muted);
}

.spectrum.has-hot .spectrum__band:not(.is-hot) { opacity: .3; }
.spectrum__band.is-hot .spectrum__bar { filter: brightness(1.2); height: 44%; }

@media (max-width: 639px) {
    .spectrum__plot { height: 200px; }
    .spectrum__label small { display: none; }
    .spectrum__band--row1 .spectrum__label { bottom: calc(38% + 40px); }
    .spectrum__band--row1 .spectrum__label::after { height: 38px; }
    .spectrum__band--last .spectrum__label { left: auto; right: -2px; transform: none; align-items: flex-end; }
    .spectrum__band--last .spectrum__label::after { left: auto; right: 4px; }
    .spectrum__tick > span { font-size: 11px; }
    .spectrum__span span { font-size: 11px; }
    .spectrum__span-extra { display: none; }
}

.band-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.band-card {
    position: relative;
    overflow: hidden;
    padding: 24px 22px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--dark-line);
    background: var(--dark-2);
    transition: border-color .25s, background-color .25s;
}

.band-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--band-color);
}

.band-card:hover,
.band-card.is-hot,
.band-card:focus-visible {
    border-color: color-mix(in srgb, var(--band-color) 60%, transparent);
    background: var(--dark-3);
}

.band-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.band-card__top .tag { margin-left: auto; }

.band-card__name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.band-card__range {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--on-dark);
}

.band-card__note {
    font-size: 14.5px;
    color: var(--on-dark-2);
}

.facts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 1px;
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius);
    background: var(--dark-line);
}

.facts-row > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 4px;
    padding: 18px 20px;
    background: var(--dark);
}

.facts-row dt { font-size: 13px; color: var(--on-dark-muted); }
.facts-row dd { font-size: 17px; font-weight: 600; color: var(--on-dark); }

/* ==========================================================================
   Устройство комплекса
   ========================================================================== */
.flow { margin-bottom: 56px; }

.flow__list {
    display: grid;
    gap: 18px;
}

.flow__node {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.flow__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink);
}
.flow__icon .icon { width: 26px; height: 26px; }

.flow__step {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 12px;
    color: var(--muted);
}

.flow__title { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.flow__text { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.flow__text b { color: inherit; font-weight: 600; }

.flow__bands { display: flex; gap: 6px; margin-top: 6px; }

.flow__node--unit {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--on-dark);
}
.flow__node--unit .flow__icon { background: rgba(255, 255, 255, .08); color: #fff; }
.flow__node--unit .flow__text { color: var(--on-dark-2); }
.flow__node--unit .flow__text b { color: var(--on-dark); }
.flow__node--unit .flow__step { color: var(--on-dark-muted); }

.flow__node--cable {
    border-style: dashed;
    border-color: var(--line-strong);
    background: transparent;
}

/* Соединительные линии: вертикальные на мобильных, горизонтальные на десктопе */
.flow__node:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 44px;
    top: 100%;
    width: 2px;
    height: 18px;
    background: var(--ink);
}

@media (min-width: 1024px) {
    .flow__list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 28px;
    }
    .flow__node:not(:last-child)::after {
        left: 100%;
        top: 45px;
        width: 28px;
        height: 2px;
    }
}

.flow__power {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 20px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.flow__power-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fdf0ec;
    color: var(--accent);
}

.flow__power-text { font-size: 14.5px; color: var(--ink-2); }
.flow__power-text b { color: var(--ink); font-weight: 600; }

.flow__power-line {
    flex: 1 1 40px;
    min-width: 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}

.flow__caption {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--muted);
}

.arch-benefits {
    display: grid;
    gap: 28px 24px;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.arch-benefit {
    padding-top: 20px;
    border-top: 2px solid var(--ink);
}

.arch-benefit__icon { display: block; margin-bottom: 12px; color: var(--accent); }
.arch-benefit__icon .icon { width: 26px; height: 26px; }
.arch-benefit .h4 { margin-bottom: 6px; }
.arch-benefit p { font-size: 15px; color: var(--ink-2); }

/* ==========================================================================
   Преимущества
   ========================================================================== */
.adv-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}

.adv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg);
}

.adv-card__num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 12px;
    color: var(--muted);
}

.adv-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--accent);
}
.adv-card__icon .icon { width: 24px; height: 24px; }

.adv-card p { font-size: 15px; color: var(--ink-2); }

.adv-card--wide {
    border-color: var(--dark);
    background:
        radial-gradient(circle at 90% 10%, rgba(240, 100, 63, .16), transparent 45%),
        var(--dark);
    color: var(--on-dark);
}
.adv-card--wide .adv-card__num { color: var(--on-dark-muted); }
.adv-card--wide .adv-card__icon { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: var(--accent-on-dark); }
.adv-card--wide p { color: var(--on-dark-2); max-width: 520px; }
.adv-card--wide .band-chips { margin-top: auto; padding-top: 12px; }

@media (min-width: 1024px) {
    .adv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .adv-card--wide { grid-column: span 2; }
}

/* ==========================================================================
   Технические характеристики
   ========================================================================== */
.specs__layout {
    display: grid;
    gap: 24px;
}
.specs__layout > * { min-width: 0; }

.specs__nav ul {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.specs__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.specs__nav a:hover { color: var(--ink); }

.specs__count { font-size: 12.5px; color: var(--muted); }

.specs__cta {
    display: none;
    margin-top: 24px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--dark);
    color: var(--on-dark);
}
.specs__cta p { margin-bottom: 14px; font-size: 14.5px; color: var(--on-dark-2); }

@media (min-width: 1024px) {
    .specs__layout {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }
    .specs__aside {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
    .specs__nav ul { display: grid; gap: 2px; overflow: visible; }
    .specs__nav a {
        padding: 11px 14px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        font-size: 15px;
        white-space: normal;
    }
    .specs__nav a:hover { background: var(--white); }
    .specs__nav a.is-active {
        background: var(--white);
        color: var(--ink);
        box-shadow: inset 3px 0 0 var(--accent);
    }
    .specs__cta { display: block; }
}

.spec-group {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
}

.spec-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}
.spec-group__head::-webkit-details-marker { display: none; }

.spec-group__title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.spec-group__count {
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
}

.spec-group__toggle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 8px;
    background: var(--bg);
    transition: transform .25s;
}
.spec-group[open] .spec-group__toggle { transform: rotate(180deg); }

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.spec-table th,
.spec-table td {
    padding: 13px 22px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.spec-table th {
    width: 52%;
    font-weight: 400;
    color: var(--ink-2);
}

.spec-table td {
    font-weight: 500;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.spec-table tr:hover { background: #fafbfb; }

@media (max-width: 419px) {
    .spec-group__count { display: none; }
}

@media (max-width: 639px) {
    .spec-group__head { padding: 16px 18px; }
    .spec-group__title { font-size: 16.5px; }
    .spec-table tr { display: block; padding: 12px 18px; border-top: 1px solid var(--line); }
    .spec-table th,
    .spec-table td { display: block; width: auto; padding: 0; border: 0; }
    .spec-table th { font-size: 13.5px; color: var(--muted); }
    .spec-table td { padding-top: 2px; }
}

.specs__cta-mobile { margin-top: 20px; }

@media (min-width: 1024px) {
    .specs__cta-mobile { display: none; }
}

/* ==========================================================================
   Комплектация
   ========================================================================== */
.kit__showcase {
    display: grid;
    gap: 24px;
    margin-bottom: 72px;
}

@media (min-width: 1024px) {
    .kit__showcase {
        grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
        gap: 40px;
        align-items: center;
    }
}

.hotspots {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-l);
    background: #2f3033;
}
.hotspots__img { width: 100%; }

.hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    padding: 0;
    border: 0;
    background: none;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.hotspot__num {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0 0 6px rgba(210, 60, 30, .28), 0 6px 18px rgba(0, 0, 0, .35);
    transition: transform .2s, box-shadow .2s;
}

.hotspot:hover .hotspot__num,
.hotspot:focus-visible .hotspot__num,
.hotspot.is-active .hotspot__num {
    transform: scale(1.12);
    box-shadow: 0 0 0 9px rgba(210, 60, 30, .32), 0 6px 18px rgba(0, 0, 0, .35);
}

.hotspot__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(10, 12, 14, .92);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .2s, transform .2s;
}

.hotspot:hover .hotspot__label,
.hotspot:focus-visible .hotspot__label,
.hotspot.is-active .hotspot__label {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 639px) {
    .hotspot__num { width: 28px; height: 28px; font-size: 13px; box-shadow: 0 0 0 4px rgba(210, 60, 30, .3); }
    .hotspot__label { display: none; }
}

.kit-legend {
    display: grid;
    gap: 8px;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .kit-legend { grid-template-columns: 1fr 1fr; }
}

.kit-legend__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--dark-line);
    border-radius: 12px;
    background: var(--dark-2);
    transition: border-color .2s, background-color .2s;
}

.kit-legend__num {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 600;
    transition: background-color .2s;
}

.kit-legend__item b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.kit-legend__item span:not(.kit-legend__num) { display: block; font-size: 13.5px; color: var(--on-dark-muted); }

.kit-legend__item.is-active {
    border-color: var(--accent-on-dark);
    background: var(--dark-3);
}
.kit-legend__item.is-active .kit-legend__num { background: var(--accent); color: #fff; }

.kit__subtitle {
    margin-bottom: 24px;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 600;
    letter-spacing: -.01em;
}

.comp-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 72px;
}

@media (min-width: 640px) {
    .comp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
    .comp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.comp-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-l);
    background: var(--dark-2);
}

.comp-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #2f3033;
}

.comp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.comp-card:hover .comp-card__media img { transform: scale(1.03); }

.comp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
}

.comp-card__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.comp-card__text { flex: 1; font-size: 14.5px; color: var(--on-dark-2); }

.comp-card__spec {
    padding-top: 12px;
    border-top: 1px solid var(--dark-line);
    font-size: 13px;
    color: var(--on-dark);
}

/* Позиции без фотографий — текстовая карточка */
.comp-card--extra {
    justify-content: flex-start;
    gap: 0;
    padding: 24px 22px;
    border-color: rgba(240, 100, 63, .35);
    background:
        radial-gradient(circle at 100% 0%, rgba(240, 100, 63, .14), transparent 55%),
        var(--dark-2);
}

.comp-card__eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-on-dark);
}

.comp-extra {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
    border-top: 1px solid var(--dark-line);
}
.comp-extra:last-child { padding-bottom: 0; }

.comp-extra__spec { font-size: 13px; color: var(--on-dark); }

.kit-spec {
    padding: clamp(22px, 3vw, 36px);
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-l);
    background: var(--dark-2);
}

.kit-spec__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-line);
}

.kit-spec__title { font-size: 22px; font-weight: 600; }
.kit-spec__count { font-size: 14px; color: var(--accent-on-dark); }

.kit-spec__groups {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}

.kit-spec__group-title {
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.kit-spec__list { display: grid; gap: 10px; }

.kit-spec__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--on-dark);
}
.kit-spec__list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-on-dark); stroke-width: 2; }

.kit-spec__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-line);
}

.kit-spec__note {
    display: flex;
    gap: 10px;
    max-width: 660px;
    font-size: 14px;
    color: var(--on-dark-muted);
}
.kit-spec__note .icon { margin-top: 2px; }

/* ==========================================================================
   Кабели
   ========================================================================== */
.cables__grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .cables__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
}

.lengths {
    margin: 36px 0 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
}

.lengths__title {
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.lengths__rows { display: grid; gap: 18px; }

.lengths__label {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14.5px;
    font-weight: 500;
}
.lengths__label span { font-weight: 400; color: var(--muted); }

.lengths__track {
    position: relative;
    height: 28px;
    border-radius: 4px;
    background-color: var(--bg);
    background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 20%);
}

.lengths__bar {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: var(--w);
    min-width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--ink);
    transition: background-color .2s;
}
.lengths__row:hover .lengths__bar { background: var(--accent); }

.lengths__value {
    position: absolute;
    top: 50%;
    left: var(--w);
    transform: translate(8px, -50%);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.lengths__value.is-inside {
    left: auto;
    right: 10px;
    transform: translateY(-50%);
    color: #fff;
}

.lengths__axis {
    position: relative;
    height: 18px;
    margin-top: 8px;
    font-size: 11.5px;
    color: var(--muted);
}

.lengths__axis span {
    position: absolute;
    left: var(--x);
    transform: translateX(-50%);
}
.lengths__axis span:first-child { transform: none; }
.lengths__axis span:last-child { transform: translateX(-100%); }

.cables__media img {
    width: 100%;
    border-radius: var(--radius-l);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.facts-list { display: grid; margin-top: 20px; }

.facts-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.facts-list dt { font-size: 15px; color: var(--ink-2); }
.facts-list dd { font-size: 15px; font-weight: 600; text-align: right; }

.facts-list--compact { margin-top: 0; }

/* ==========================================================================
   Питание
   ========================================================================== */
.power__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 1024px) {
    .power__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
        align-items: center;
    }
}

.power__media img {
    width: 100%;
    border-radius: var(--radius-l);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .power__media { order: 2; }
    .power__media img { aspect-ratio: 4 / 3; }
}

.power__stat {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin: 28px 0 16px;
}

.power__value {
    font-size: clamp(64px, 8vw, 104px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.04em;
}

.power__unit {
    padding-bottom: 6px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--ink-2);
}

.power__modes {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    margin-top: 24px;
}

.mode-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.mode-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--accent);
}
.mode-card p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }

/* ==========================================================================
   Применение
   ========================================================================== */
.use-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}

.use-grid__media figure {
    position: relative;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius-l);
}
.use-grid__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 60%;
}

.use-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-l);
    background: var(--dark-2);
}

.use-card__icon { margin-bottom: 10px; color: var(--accent-on-dark); }
.use-card__icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.use-card p { font-size: 14.5px; color: var(--on-dark-2); }

@media (min-width: 1024px) {
    .use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .use-grid__media { grid-row: span 2; }
}

/* ==========================================================================
   Совместимость
   ========================================================================== */
.compat__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 1024px) {
    .compat__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
}

.compat-table {
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    font-size: 15px;
}

.compat-table th,
.compat-table td {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.compat-table thead th {
    border-top: 0;
    background: var(--bg);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.compat-table tbody th { width: 34%; font-weight: 600; }

.compat__bands-title { margin-bottom: 12px; font-size: 15px; font-weight: 600; }

.freq-check {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
    box-shadow: var(--shadow);
}

.freq-check__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fdf0ec;
    color: var(--accent);
}
.freq-check__icon .icon { width: 26px; height: 26px; }

.freq-check__text { margin: 8px 0 18px; font-size: 15px; color: var(--ink-2); }

.freq-check__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.freq-check__input { display: flex; min-width: 0; }
.freq-check__input input { flex: 1; min-width: 0; border-radius: 10px 0 0 10px; }
.freq-check__input .freq-check__unit {
    flex: none;
    width: auto;
    padding-right: 30px;
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23454e57' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
    cursor: pointer;
}

@media (max-width: 419px) {
    .freq-check__form { grid-template-columns: 1fr; }
}

.freq-check__result:not(:empty) { margin-top: 16px; }

.freq-result {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    line-height: 1.5;
}
.freq-result .icon { margin-top: 2px; }
.freq-result b { font-weight: 600; }

.freq-result--ok { background: #edf7f0; border: 1px solid #bfe0c9; }
.freq-result--ok .icon { color: var(--success); stroke-width: 2.2; }
.freq-result--no { background: #fdf1ee; border: 1px solid #f2cbc0; }
.freq-result--no .icon { color: var(--accent); }
.freq-result--hint { background: var(--bg); border: 1px solid var(--line); }
.freq-result--hint .icon { color: var(--muted); }

.freq-check__note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.compat__cta { margin-top: 16px; }

/* ==========================================================================
   Гарантия
   ========================================================================== */
.warranty__card {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 3vw, 40px);
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 50%, rgba(240, 100, 63, .14), transparent 40%),
        var(--dark);
    color: var(--on-dark);
}

@media (min-width: 900px) {
    .warranty__card { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; }
}

.warranty__badge {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    width: 128px;
    height: 128px;
}

.warranty__badge .icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    stroke-width: .9;
    color: rgba(255, 255, 255, .22);
}

.warranty__num { position: relative; font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.warranty__unit { position: relative; font-family: var(--font-mono); font-size: 12.5px; color: var(--on-dark-2); }

.warranty__text p { max-width: 560px; margin-top: 8px; color: var(--on-dark-2); }

.warranty__meta { display: grid; gap: 14px; }
.warranty__meta > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.warranty__meta dt { font-size: 12.5px; color: var(--on-dark-muted); }
.warranty__meta dd { font-weight: 600; }

/* ==========================================================================
   Отзывы
   ========================================================================== */
.reviews-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
}

.review-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.review-card__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    font-weight: 600;
}

.review-card__who { flex: 1 1 120px; min-width: 0; }

@media (max-width: 359px) {
    .review-card { padding: 20px; }
}
.review-card__author { font-size: 16px; font-weight: 600; line-height: 1.3; }
.review-card__meta { font-size: 13.5px; line-height: 1.35; color: var(--muted); }

.stars { display: inline-flex; flex: none; gap: 2px; }
.stars .icon { width: 16px; height: 16px; }
.stars__on { color: var(--accent); }
.stars__off { color: var(--line-strong); }

.review-card__text {
    flex: 1;
    font-size: 15.5px;
    line-height: 1.65;
}

.review-card__foot {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.review-card__score { font-family: var(--font-mono); }

/* ==========================================================================
   FAQ и аккордеоны
   ========================================================================== */
.faq__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 1024px) {
    .faq__grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
        gap: 64px;
        align-items: start;
    }
    .faq__intro {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }
}

.doc-links { display: grid; gap: 10px; margin-top: 28px; }

.doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    text-decoration: none;
    transition: border-color .2s, background-color .2s;
}
.doc-link:hover { border-color: var(--ink); background: var(--white); }

.doc-link__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--accent);
}

.doc-link__text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.doc-link__text b { font-size: 15.5px; font-weight: 600; }
.doc-link__text span { font-size: 13.5px; color: var(--muted); }

.doc-link__arrow { color: var(--muted); transition: transform .2s, color .2s; }
.doc-link:hover .doc-link__arrow { color: var(--ink); transform: translateX(3px); }

.accordion { display: grid; gap: 10px; }

.accordion__item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color .2s;
}
.accordion__item[open] { border-color: var(--line-strong); }

.accordion__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}
.accordion__head::-webkit-details-marker { display: none; }

.accordion__q {
    flex: 1;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.4;
}

.accordion__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: transform .25s, background-color .2s, color .2s, border-color .2s;
}
.accordion__icon .icon { width: 16px; height: 16px; }

.accordion__item[open] .accordion__icon {
    transform: rotate(45deg);
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.accordion__body {
    padding: 0 20px 20px;
    font-size: 15.5px;
    color: var(--ink-2);
}
.accordion__body p + p { margin-top: 10px; }
.accordion__body a { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   CTA и формы
   ========================================================================== */
.cta__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 1024px) {
    .cta__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
}

.cta__title { margin-bottom: 18px; }

.checklist { display: grid; gap: 12px; margin-top: 24px; }

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
}

.checklist .icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    stroke-width: 2.6;
}

.checklist--dark li { color: var(--on-dark); }

.cta__media {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-l);
}
.cta__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (max-width: 1023px) {
    .cta__media { display: none; }
}

.card-form {
    padding: clamp(22px, 3vw, 36px);
    border-radius: 20px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.card-form__title {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}

.lead-form { position: relative; }

.lead-form__fields { display: grid; gap: 14px; }

.lead-form__row { display: grid; gap: 14px; }

@media (min-width: 560px) {
    .lead-form__row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field__label {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
}

.field__req { color: var(--accent); }

.field__input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.field__input::placeholder { color: #98a0a8; }
.field__input:hover { border-color: #9aa3ac; }
.field__input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(18, 22, 25, .12);
}

.field__input--area { min-height: 96px; resize: vertical; }

.field__input[aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(196, 43, 28, .1);
}

.field__error { font-size: 13px; line-height: 1.4; color: var(--error); }
.field__error:empty { display: none; }

.field--check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 4px 12px;
}
.field--check label { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.field--check label a { color: var(--ink); }
.field--check .field__error { grid-column: 2; }

.check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    border: 1.5px solid var(--line-strong);
    border-radius: 6px;
    background: var(--white);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.check:checked { border-color: var(--ink); background: var(--ink); }
.check:checked::after {
    content: "";
    width: 6px;
    height: 11px;
    margin-top: -2px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.check[aria-invalid="true"] { border-color: var(--error); }

.topic-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.topic-choice__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.topic-choice__item { position: relative; }
.topic-choice__item input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.topic-choice__item span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.3;
    transition: background-color .15s, color .15s, border-color .15s;
}
.topic-choice__item input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.topic-choice__item input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.lead-form__submit { margin-top: 4px; }

.lead-form__note {
    font-size: 12.5px;
    text-align: center;
    color: var(--muted);
}

.lead-form__status { font-size: 14px; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-error {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fdf0ee;
    color: var(--error);
}

.lead-form__success {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 24px 8px;
    text-align: center;
}

.lead-form__success-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e7f5ec;
    color: var(--success);
}
.lead-form__success-icon .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.lead-form__success-title { font-size: 20px; font-weight: 600; }
.lead-form__success-title:focus { outline: none; }
.lead-form__success-text { max-width: 360px; color: var(--ink-2); }
.lead-form__success .btn { margin-top: 6px; }

.lead-form.is-sent .lead-form__fields,
.lead-form.is-sent .lead-form__status { display: none; }

.hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Модальное окно ---------- */
.modal {
    width: min(580px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 20px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
    overscroll-behavior: contain;
}
.modal::backdrop {
    background: rgba(8, 10, 12, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.modal[open] { animation: modal-in .25s ease; }

@keyframes modal-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.modal__box { position: relative; padding: clamp(22px, 4vw, 36px); }
.modal__box .eyebrow { margin-bottom: 10px; }

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    transition: border-color .2s;
}
.modal__close:hover { border-color: var(--ink); }

.modal__title {
    margin-bottom: 8px;
    padding-right: 40px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.modal__lead { margin-bottom: 22px; font-size: 15px; color: var(--ink-2); }

/* ==========================================================================
   Контакты и карта
   ========================================================================== */
.contacts__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 1024px) {
    .contacts__grid {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 24px;
        align-items: stretch;
    }
}

.contacts__card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
}

.contacts__item { display: flex; align-items: flex-start; gap: 14px; }

.contacts__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: var(--bg);
    color: var(--accent);
}

.contacts__label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contacts__value { margin-top: 2px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.contacts__value a { text-decoration: none; }
.contacts__value a:hover { text-decoration: underline; }

.contacts__actions { display: grid; gap: 10px; margin-top: auto; }

.map {
    position: relative;
    min-height: clamp(360px, 46vw, 540px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: #e6eaed;
}

.map__frame,
.map__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 0;
}

.map__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

/* Стилизованная подложка-схема для состояния без карты */
.map__pattern {
    position: absolute;
    inset: 0;
    background-color: #e8ecef;
    background-image:
        linear-gradient(28deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
        linear-gradient(-62deg, transparent 48.5%, #fff 48.5%, #fff 51.5%, transparent 51.5%),
        linear-gradient(90deg, rgba(255, 255, 255, .9) 2px, transparent 2px),
        linear-gradient(rgba(255, 255, 255, .9) 2px, transparent 2px),
        radial-gradient(circle at 78% 26%, #cfe0e9 0 9%, transparent 9.5%);
    background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px, 100% 100%;
}

.map__marker {
    position: relative;
    color: var(--accent);
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25));
}
.map__marker .icon { width: 56px; height: 56px; fill: #fff; stroke-width: 1.5; }

.map__address {
    position: relative;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 17px;
    font-weight: 600;
}

.map__hint {
    position: relative;
    max-width: 360px;
    font-size: 13.5px;
    color: var(--ink-2);
}

/* ==========================================================================
   Подвал
   ========================================================================== */
.site-footer {
    padding-block: 64px 32px;
    background: #0b0d0f;
    color: var(--on-dark-2);
    font-size: 14.5px;
}

.site-footer__grid {
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}

@media (min-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 48px; }
}

.site-footer__about { max-width: 340px; margin-top: 16px; font-size: 14px; }
.site-footer__sku { margin-top: 14px; font-size: 12.5px; color: var(--on-dark-muted); }

.site-footer__title {
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }

.site-footer__contacts li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contacts .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--on-dark-muted); }

.site-footer .link-arrow { color: var(--on-dark); }

.site-footer__bottom {
    display: grid;
    gap: 8px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: var(--on-dark-muted);
}

@media (min-width: 640px) {
    .site-footer__bottom { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
}

.site-footer__top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    color: var(--on-dark-2);
}
.site-footer__top .icon { width: 16px; height: 16px; transform: rotate(-45deg); }

/* ---------- Мобильная панель CTA ---------- */
.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(16, 19, 22, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .3s ease;
}
.mobile-cta.is-visible { transform: none; }

@media (min-width: 768px) {
    .mobile-cta { display: none; }
}

/* ==========================================================================
   Внутренние страницы
   ========================================================================== */
.page-hero {
    overflow: hidden;
    padding-block: clamp(28px, 4vw, 48px) clamp(44px, 6vw, 80px);
    background:
        radial-gradient(ellipse 50% 70% at 85% 40%, #2b3036 0%, rgba(16, 19, 22, 0) 70%),
        var(--dark);
}

.page-hero__grid { display: grid; gap: 32px; }
.page-hero__grid > * { min-width: 0; }

@media (min-width: 1024px) {
    .page-hero__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 56px;
        align-items: center;
    }
}

.page-hero__title {
    margin: 18px 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.page-hero__lead {
    max-width: 640px;
    font-size: clamp(16.5px, 1.4vw, 19px);
    color: var(--on-dark-2);
    text-wrap: pretty;
}

.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-hero__meta .tag { white-space: normal; }

.page-hero__media img {
    width: 100%;
    border-radius: var(--radius-l);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13.5px;
    color: var(--on-dark-muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Страница отзывов */
.reviews-page__layout { display: grid; gap: 40px; }
.reviews-page__layout > * { min-width: 0; }

@media (min-width: 1100px) {
    .reviews-page__layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 48px;
        align-items: start;
    }
    .reviews-page__aside {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

.reviews-page__list { display: grid; gap: 16px; }

@media (min-width: 720px) {
    .reviews-page__list { grid-template-columns: 1fr 1fr; }
}

.aside-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
}
.aside-card + .aside-card { margin-top: 16px; }

.aside-card__title { margin-bottom: 14px; font-size: 17px; font-weight: 600; }
.aside-card p { font-size: 14.5px; color: var(--ink-2); }

.aside-card--dark {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--on-dark);
}
.aside-card--dark p { color: var(--on-dark-2); margin-bottom: 16px; }

.topic-links { display: grid; gap: 2px; }

.topic-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
}
.topic-links a:hover { color: var(--accent); }
.topic-links .icon { width: 16px; height: 16px; color: var(--muted); }

.consider-list { display: grid; gap: 0; }

.consider-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.consider-list dt { color: var(--ink-2); }
.consider-list dd { font-weight: 600; text-align: right; white-space: nowrap; }

/* Документация: оглавление и текст */
.doc-layout { display: grid; gap: 32px; }

@media (min-width: 1024px) {
    .doc-layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
    .doc-layout__aside {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

.toc {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
}
.toc__head::-webkit-details-marker { display: none; }
.toc__head .icon { width: 18px; height: 18px; transition: transform .2s; }
.toc[open] .toc__head .icon { transform: rotate(180deg); }

.toc ol { display: grid; gap: 2px; padding: 0 8px 10px; }

.toc a {
    display: block;
    padding: 8px 10px;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a.is-active { border-left-color: var(--accent); background: var(--bg); color: var(--ink); }

.doc-layout__aside .btn { margin-top: 16px; }

.prose {
    max-width: 780px;
    font-size: 16.5px;
    line-height: 1.7;
}

.prose > section + section { margin-top: 56px; }

.prose h2 {
    margin-bottom: 16px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.prose h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 600; line-height: 1.35; }

.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--ink); font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 600; }

.bullets { display: grid; gap: 8px; margin: 0 0 16px; }

.bullets li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-2);
}
.bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .7em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--accent);
}

.check-grid {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

@media (min-width: 640px) {
    .check-grid { grid-template-columns: 1fr 1fr; }
}

.check-grid li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    font-size: 15px;
    line-height: 1.5;
}
.check-grid li b { display: block; color: var(--ink); font-weight: 600; }
.check-grid li span { color: var(--ink-2); }
.check-grid .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--success); stroke-width: 2; }

.steps {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    counter-reset: step;
}

.steps li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    counter-increment: step;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.6;
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    padding-top: 1px;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
}
.steps li b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }

.callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #f1cfc4;
    border-radius: 14px;
    background: #fdf4f1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
}
.callout .icon { margin-top: 2px; color: var(--accent); }
.callout p { margin: 0; color: var(--ink); }

.callout--info { border-color: var(--line); background: var(--white); }
.callout--info .icon { color: var(--muted); }

.data-table {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    font-size: 15px;
    line-height: 1.5;
}

.data-table th,
.data-table td {
    padding: 13px 16px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    border-top: 0;
    background: var(--bg);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.data-table tbody th { font-weight: 600; color: var(--ink); }
.data-table td { color: var(--ink-2); }

@media (max-width: 719px) {
    .data-table--stack thead { display: none; }
    .data-table--stack tr { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
    .data-table--stack tbody tr:first-child { border-top: 0; }
    .data-table--stack th,
    .data-table--stack td { display: block; padding: 0; border: 0; }
    .data-table--stack td { margin-top: 8px; }
    .data-table--stack td::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-mono);
        font-size: 11.5px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--muted);
    }
}

.spec-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 1px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--line);
}

.spec-mini > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 2px;
    padding: 14px 16px;
    background: var(--white);
}
.spec-mini dt { font-size: 13px; color: var(--muted); }
.spec-mini dd { font-size: 16px; font-weight: 600; color: var(--ink); }

.prose-figure { margin: 24px 0; }
.prose-figure img { width: 100%; border-radius: var(--radius-l); }

.related {
    display: grid;
    gap: 12px;
    margin-top: 48px;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

/* FAQ-страница */
.faq-group + .faq-group { margin-top: 48px; }

.faq-group__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
    letter-spacing: -.01em;
}

.faq-group__count {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
}

/* Результат отправки формы без JavaScript */
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Сокращение анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Печать ---------- */
@media print {
    .topbar,
    .site-header,
    .mobile-cta,
    .modal,
    .cta,
    .map,
    .hero__actions,
    .specs__aside,
    .lead-form { display: none !important; }
    body { background: #fff; color: #000; }
    .section--dark,
    .hero,
    .page-hero { background: #fff !important; color: #000 !important; }
    .spec-group { break-inside: avoid; }
}
