/* «ЯЗЬ» — ночной лёд и оранжевый кивок */

:root {
  --bg: #07131c;
  --bg-2: #0b1c28;
  --panel: #102534;
  --panel-2: #153044;
  --line: rgba(150, 205, 235, .16);
  --line-2: rgba(150, 205, 235, .3);
  --text: #eaf4f9;
  --muted: #9bb4c2;
  --accent: #ff6b3d;
  --accent-ink: #1a0a04;
  --ice: #6fd6ff;
  --ok: #58d68d;
  --bad: #ff8a8a;
  --r: 18px;
  --r-sm: 12px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 32px);
  --buybar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--font);
  padding-bottom: var(--buybar);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { width: min(820px, 100%); }

.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-300%); background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { transform: none; }

h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 6.2vw, 62px); }
h2 { font-size: clamp(25px, 4vw, 40px); }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.hl { color: var(--accent); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); font-weight: 600; margin-bottom: 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #c9dde8; max-width: 34em; }
.note { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.link { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(111, 214, 255, .4); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 10px 30px -10px rgba(255, 107, 61, .7);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: #ff7d55; }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15.5px; }
.btn--lg { min-height: 58px; padding: 14px 34px; font-size: 18px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: rgba(111, 214, 255, .08); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.chip-btn { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 19, 28, .7); font-size: 14px; color: var(--text); }
.chip-btn:hover { border-color: var(--ice); }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; background: rgba(7, 19, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); letter-spacing: .04em; text-decoration: none; min-height: 44px; }
.logo__mark { width: 30px; height: 30px; color: var(--ice); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 15.5px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: rgba(111, 214, 255, .08); }

/* первый экран */
.hero { position: relative; padding: clamp(36px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(111, 214, 255, .16), transparent 70%),
    radial-gradient(45% 45% at 5% 95%, rgba(255, 107, 61, .13), transparent 70%);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__text > * + * { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px !important; }
.facts li { padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(16, 37, 52, .6); }
.facts b { display: block; font: 700 clamp(16px, 1.7vw, 20px)/1.2 var(--display); white-space: nowrap; }
.facts span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 4px; }
.hero__pic { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #0d2130; transform: rotate(1.2deg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
/* Чертёж на белом фоне превращаем в «синьку»: инверсия и возврат оттенков. */
.hero__pic img { width: 100%; filter: invert(1) hue-rotate(180deg) contrast(.92); mix-blend-mode: screen; }
.hero__pic figcaption { padding: 12px 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* секции */
.sec, .lab { padding: clamp(52px, 8vw, 104px) 0; }
.sec--alt, .lab { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-sub { margin-top: 14px; color: #c0d5e0; font-size: 18px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }

/* 3D-лаборатория */
.lab__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 20px; align-items: stretch; }
.stage {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(90% 80% at 50% 35%, #1c4058 0%, #0c2231 60%, #081724 100%);
  min-height: 500px; touch-action: pan-y;
}
#viewer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#viewer:active { cursor: grabbing; }
.stage__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%);
  padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: rgba(7, 19, 28, .86); border: 1px solid var(--line-2); color: var(--text);
  transition: opacity .2s; will-change: transform;
}
.tag::after { content: ''; position: absolute; left: calc(50% + var(--lead-x, 0px)); top: 100%; width: 1px; height: var(--lead, 12px); background: rgba(234, 244, 249, .45); }
.tag.is-hot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tag.is-off { opacity: 0; }
.stage__load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.stage__fallback { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 20px; background: #0c2231; text-align: center; }
.stage__fallback img { max-height: 70%; width: auto; border-radius: var(--r-sm); }
.stage__fallback p { font-size: 14.5px; color: var(--muted); max-width: 30em; }
.stage__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; pointer-events: none; }
.stage__bar > * { pointer-events: auto; }
.stage__bar .chip-btn { margin-left: auto; min-height: 44px; }
.readout { padding: 8px 14px; border-radius: 999px; background: rgba(7, 19, 28, .78); border: 1px solid var(--line); font-size: 14px; }
.readout b { font-family: var(--display); font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.readout--dim b { color: var(--ice); }

.controls { display: flex; flex-direction: column; gap: 22px; }
.ctl > label, .ctl > legend { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; margin-bottom: 8px; width: 100%; }
.ctl__hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.ctl__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ice), var(--accent)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ice), var(--accent)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { grid-column: 1 / -1; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg label span { display: grid; place-items: center; min-height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-weight: 600; }
.seg input:checked + span { background: var(--ice); color: #04202d; border-color: var(--ice); }
.seg input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 3px; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.tgl { position: relative; display: inline-flex; }
.tgl input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tgl span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--muted); }
.tgl span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #3b566a; }
.tgl input:checked + span { color: var(--text); border-color: var(--ice); }
.tgl input:checked + span::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(88, 214, 141, .18); }
.tgl input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 3px; }

.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 20px; }
.parts button { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 56px; text-align: left; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--panel); font-size: 15px; line-height: 1.4; color: #c9dde8; }
.parts button:hover, .parts button.is-hot { border-color: var(--accent); background: var(--panel-2); }
.parts b { color: var(--text); }
.dot { flex: none; width: 14px; height: 14px; border-radius: 4px; margin-top: 4px; }
.dot--base { background: #e8964a; } .dot--spring { background: #b9c4cc; } .dot--weight { background: #77828c; }
.dot--slider { background: #35c9c9; } .dot--runner { background: #5ee0d0; } .dot--bushing { background: #ef6a5a; } .dot--tip { background: #2f9aa0; }

/* свойства */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.card p { margin-top: 10px; color: #b9cfdb; font-size: 15.5px; }
.card--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, #1d3d52, #102534 60%); border-color: var(--line-2); }
.card--big h3 { font-size: 24px; font-family: var(--display); }
.card--big p { font-size: 17px; }
.card__num { font: 800 clamp(64px, 10vw, 120px)/.9 var(--display); color: var(--accent); margin-bottom: auto; padding-bottom: 20px; }
.pull { margin-top: clamp(28px, 4vw, 48px); padding-left: 22px; border-left: 4px solid var(--accent); font: 600 clamp(19px, 2.6vw, 27px)/1.35 var(--display); max-width: 24em; }

/* принцип действия */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.how__text > * + * { margin-top: 18px; }
.how__text p { color: #c9dde8; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); color: #c9dde8; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--display); }
.steps b { color: var(--text); }
.how__author { font-size: 15.5px; color: var(--muted) !important; }
.how__pics { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; align-items: start; }
.shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot img { width: 100%; object-fit: cover; }
.shot figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); }

/* видео */
.videos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.video--main { grid-row: span 2; }
.video h3 { margin-top: 12px; font-size: 17px; }
.video--main h3 { font-size: 21px; }
.video a { display: inline-block; padding: 8px 0; font-size: 14.5px; color: var(--ice); text-decoration: none; min-height: 40px; }
.video a:hover { text-decoration: underline; }
.video__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .4s; }
.video__play:hover img { opacity: 1; transform: scale(1.03); }
.video__icon { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.video__icon::after { content: ''; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--accent-ink); }
.video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r); background: #000; }
.more { margin-top: 22px; }

/* сравнение */
.cmp { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.cmp__row { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; }
.cmp__row + .cmp__row { border-top: 1px solid var(--line); }
.cmp__row > * { padding: 15px 18px; font-size: 15.5px; color: #c0d5e0; }
.cmp__row > [role=rowheader] { color: var(--text); font-weight: 600; }
.cmp__row--head > * { font-weight: 700; color: var(--text); font-size: 15px; background: rgba(7, 19, 28, .5); }
.cmp__us { background: rgba(255, 107, 61, .1); color: var(--text) !important; font-weight: 600; box-shadow: inset 1px 0 var(--line), inset -1px 0 var(--line); }
.cmp__row--head .cmp__us { background: var(--accent); color: var(--accent-ink) !important; font-family: var(--display); }

/* отзывы */
.revs { columns: 3 300px; column-gap: 16px; }
.rev { break-inside: avoid; margin-bottom: 16px; padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.rev blockquote { position: relative; font-size: 16px; color: #d5e6ef; padding-top: 26px; }
.rev blockquote::before { content: '“'; position: absolute; left: -4px; top: -18px; font: 800 60px/1 var(--display); color: var(--accent); }
.rev--big { background: linear-gradient(160deg, #1d3d52, #102534 70%); border-color: var(--line-2); }
.rev--big blockquote { font-size: 17.5px; }
.rev figcaption { display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.rev figcaption span { color: var(--muted); }
.rev figcaption a { color: var(--ice); text-decoration: none; padding: 8px 0 0; min-height: 36px; justify-self: start; }
.rev figcaption a:hover { text-decoration: underline; }

/* заказ */
.sec--order { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.order { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: 84px; }
.form { display: grid; gap: 28px; }
.fs legend { display: flex; align-items: center; gap: 12px; font: 700 19px/1.2 var(--display); margin-bottom: 16px; padding: 0; }
.fs__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ice); color: #04202d; font-size: 15px; }
.qty-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.qty-chip { display: grid; gap: 2px; justify-items: center; min-height: 64px; padding: 10px 4px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: transparent; }
.qty-chip b { font: 700 17px var(--display); }
.qty-chip span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.qty-chip:hover { border-color: var(--ice); }
.qty-chip[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qty-chip[aria-pressed=true] span { color: var(--accent-ink); }
.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stepper { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; flex: none; }
.stepper button { width: 50px; height: 50px; border: 0; background: transparent; font-size: 24px; line-height: 1; }
.stepper button:hover { background: rgba(111, 214, 255, .1); }
.stepper input { width: 62px; height: 50px; border: 0; background: transparent; text-align: center; font: 700 19px var(--display); -moz-appearance: textfield; appearance: textfield; border-radius: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-hint { font-size: 15px; color: var(--ok); flex: 1; min-width: 180px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; align-content: start; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld > span { font-size: 14.5px; font-weight: 600; }
.fld > span i { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea, .lookup input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: #0a1c28; font-size: 17px; color: var(--text);
}
.fld textarea { resize: vertical; min-height: 76px; }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%), linear-gradient(135deg, var(--ice) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.fld input::placeholder, .fld textarea::placeholder, .lookup input::placeholder { color: #5f7a8a; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .lookup input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px rgba(111, 214, 255, .16); }
.fld.is-bad input, .fld.is-bad select { border-color: var(--bad); }
.err { display: block; font-style: normal; font-size: 14px; color: var(--bad); min-height: 0; }
.err:empty { display: none; }
.err--form { font-size: 15.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.pay { position: relative; display: block; }
.pay input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pay__box { display: grid; gap: 6px; align-content: start; height: 100%; min-height: 108px; padding: 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); }
.pay__box b { font-size: 16px; line-height: 1.25; }
.pay__box span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.pay__box svg { width: 28px; height: 28px; color: var(--ice); }
.pay input:checked + .pay__box { border-color: var(--accent); background: rgba(255, 107, 61, .1); box-shadow: 0 0 0 1.5px var(--accent); }
.pay input:focus-visible + .pay__box { outline: 3px solid var(--ice); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #c0d5e0; cursor: pointer; min-height: 44px; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.total { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.total__label { display: block; font-size: 14px; color: var(--muted); }
.total__sum { font: 800 clamp(28px, 5vw, 38px)/1.1 var(--display); white-space: nowrap; }

.price h3 { margin-bottom: 14px; }
.price__table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.price__table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 0 8px; }
.price__table td { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.price__table th:not(:first-child), .price__table td:not(:first-child) { text-align: right; }
.price__table td:nth-child(2) { font-weight: 700; }
.price__table td:last-child { color: var(--muted); }
.price__table tr.is-cur td { color: var(--accent); }
.after { counter-reset: a; display: grid; gap: 14px; }
.after li { counter-increment: a; position: relative; padding-left: 40px; font-size: 15.5px; color: #c0d5e0; }
.after li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ice); color: var(--ice); font: 700 13px var(--display); }
.after b { color: var(--text); }

/* экран «заказ принят» и карточки оплаты */
.done { display: grid; gap: 22px; }
.done__head { display: flex; gap: 16px; align-items: center; }
.done__head h3 { font: 700 clamp(20px, 3vw, 26px)/1.2 var(--display); }
.done__head p { margin-top: 4px; color: #c0d5e0; }
.done__ok { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #05301a; font-size: 26px; font-weight: 800; }
.done__foot { display: flex; flex-wrap: wrap; gap: 10px; }
.paybox { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-sm); background: #0a1c28; border: 1px solid var(--line-2); }
.paybox h4 { font-size: 17px; }
.paybox ol { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; color: #c0d5e0; font-size: 15.5px; }
.kv { display: grid; gap: 8px; }
.kv__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--panel); }
.kv__row dt { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.kv__row dd { margin: 0; font-weight: 600; font-size: 16.5px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kv__row--big dd { font: 700 clamp(18px, 4.6vw, 23px)/1.2 var(--display); }
.copy { min-width: 44px; min-height: 44px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; color: var(--ice); }
.copy:hover { border-color: var(--ice); }
.copy.is-done { color: var(--ok); border-color: var(--ok); }
.qr { display: grid; grid-template-columns: 168px 1fr; gap: 16px; align-items: center; }
.qr__img { width: 168px; height: 168px; padding: 10px; border-radius: 12px; background: #fff; }
.qr__img svg { width: 100%; height: 100%; display: block; }
.receipt { display: grid; gap: 10px; justify-items: start; }
.receipt h4 { font-size: 17px; }
.receipt__btn { position: relative; overflow: hidden; }
.receipt__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.receipt__state { font-size: 15px; }
.receipt__state.is-ok { color: var(--ok); }
.receipt__state.is-bad { color: var(--bad); }

/* вопросы */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 17px; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: #c0d5e0; }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; background: #050e15; font-size: 15px; color: var(--muted); }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 8px; }
.foot p { margin-top: 4px; }
.foot .link { display: inline-block; padding: 6px 0; }
.foot__copy { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* нижняя панель покупки на телефоне */
.buybar { display: none; }

.toast { position: fixed; left: 50%; bottom: calc(var(--buybar) + 20px); transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--text); color: #06202c; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* служебные страницы: статус, политика, админка */
.page { padding: clamp(28px, 6vw, 64px) 0 80px; min-height: 70vh; }
.page h1 { font-size: clamp(21px, 6vw, 40px); margin-bottom: 18px; hyphens: manual; }
.page__grid { display: grid; gap: 20px; }
.lookup { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.lookup label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; min-width: 0; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 6px 0 4px; }
.flow li { position: relative; padding-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.flow li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px; background: #1e3a4d; }
.flow li.is-done::before { background: var(--ok); }
.flow li.is-cur { color: var(--text); font-weight: 700; }
.flow li.is-cur::before { background: var(--accent); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--panel-2); border: 1px solid var(--line-2); white-space: nowrap; }
.badge--new { color: #ffd27a; } .badge--receipt { color: var(--ice); } .badge--paid { color: var(--ok); }
.badge--shipped { color: #c6a8ff; } .badge--done { color: var(--muted); } .badge--cancelled { color: var(--bad); }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 22px; margin-top: 30px; }
.prose p, .prose li { color: #c9dde8; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

.adm-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.adm-bar .spacer { flex: 1; }
.tabs { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.tabs button { min-height: 44px; padding: 8px 20px; border: 0; background: transparent; font-weight: 600; }
.tabs button[aria-selected=true] { background: var(--ice); color: #04202d; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { padding: 16px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font: 700 24px var(--display); }
.stat span { font-size: 13.5px; color: var(--muted); }
.ord { display: grid; gap: 14px; }
.ord__card { display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.ord__head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.ord__head h3 { font-family: var(--display); }
.ord__meta { font-size: 14px; color: var(--muted); }
.ord__body { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 15.5px; color: #c9dde8; overflow-wrap: anywhere; }
.ord__edit { display: grid; grid-template-columns: 180px 1fr 1fr auto; gap: 10px; align-items: end; }
.ord__edit label, .set label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.ord__edit input, .ord__edit select, .set input, .set textarea, .login input { width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #0a1c28; font-size: 16px; color: var(--text); }
.set { display: grid; gap: 22px; }
.set fieldset { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.set legend { font: 700 17px var(--display); padding: 0 8px; }
.set .wide { grid-column: 1 / -1; }
.set .onoff { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15.5px; min-height: 44px; }
.set .onoff input { width: 22px; height: 22px; min-height: 0; accent-color: var(--accent); }
.login { display: grid; gap: 14px; max-width: 380px; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ---------- планшет ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .top__in .btn { margin-left: auto; }
  .hero__in, .lab__grid, .how, .order { grid-template-columns: minmax(0, 1fr); }
  .hero__pic { transform: none; max-width: 620px; }
  .stage { min-height: 0; height: clamp(360px, 62vh, 560px); }
  .side { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: 1fr 1fr; }
  .video--main { grid-column: 1 / -1; grid-row: auto; }
  .ord__edit { grid-template-columns: 1fr 1fr; }
}

/* ---------- телефон ---------- */
@media (max-width: 640px) {
  :root { --buybar: 68px; }
  body { font-size: 16.5px; }
  .top__in { min-height: 56px; }
  .top__in .btn { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .stage { height: clamp(340px, 112vw, 62vh); }
  .stage__bar { left: 8px; right: 8px; bottom: 8px; }
  .readout { padding: 6px 11px; font-size: 13px; }
  .readout--dim { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card--big { grid-column: auto; grid-row: auto; }
  .how__pics { grid-template-columns: 1fr 1fr; }
  .videos { grid-template-columns: 1fr; }
  .revs { columns: 1; }
  .grid2 { grid-template-columns: 1fr; }
  .pays { grid-template-columns: 1fr; }
  .pay__box { min-height: 0; grid-template-columns: 28px 1fr; column-gap: 12px; }
  .pay__box svg { grid-row: span 2; }
  .qty-chips { gap: 6px; }
  .qty-chip { min-height: 60px; padding-inline: 2px; }
  .qty-chip b { font-size: 14px; white-space: nowrap; }
  .qty-chip span { font-size: 12px; }
  .total .btn { flex: 1 1 100%; }
  .qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot__in { grid-template-columns: 1fr; gap: 22px; }
  .lookup { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { padding: 8px 0 8px 22px; }
  .flow li::before { right: auto; top: 12px; width: 10px; height: 10px; border-radius: 50%; }
  .ord__body, .ord__edit { grid-template-columns: 1fr; }
  .done__foot .btn { flex: 1 1 100%; }
  .kv__row--big { grid-template-columns: minmax(0, 1fr); }
  .kv__row--big dd { white-space: nowrap; font-size: clamp(17px, 5.4vw, 22px); }
  .kv__row--big .copy { justify-self: stretch; }

  /* таблица сравнения превращается в карточки */
  .cmp { border: 0; background: none; display: grid; gap: 12px; overflow: visible; }
  .cmp__row--head { display: none; }
  .cmp__row { grid-template-columns: 1fr; border: 1px solid var(--line) !important; border-radius: var(--r-sm); background: var(--panel); overflow: hidden; }
  .cmp__row > * { padding: 10px 16px; }
  .cmp__row > [role=rowheader] { font-family: var(--display); font-size: 15.5px; padding-top: 14px; }
  .cmp__row > [role=cell] { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; border-top: 1px solid var(--line); }
  .cmp__row > [role=cell]::before { content: attr(data-col); color: var(--muted); font-weight: 400; font-size: 13.5px; }
  .cmp__us { box-shadow: none; }

  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 19, 28, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-2); transition: transform .25s;
  }
  .buybar.is-hidden { transform: translateY(110%); }
  .buybar span { font-size: 15px; color: #c0d5e0; }
  .buybar b { font-family: var(--display); color: var(--text); }
  .buybar .btn { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
