/* ==========================================================================
   BYNIT — дизайн-система
   Промышленный B2B: графит + сталь + фирменный мятный акцент (#5ED1AD)
   ========================================================================== */

/* --- Токены ------------------------------------------------------------- */
:root {
  /* Бренд */
  --brand:        #5ED1AD;   /* мятный из логотипа — графический акцент */
  --brand-600:    #34B893;
  --brand-deep:   #07785C;   /* доступный зелёный для текста/ссылок на белом */
  --brand-tint:   #E9F8F2;

  /* Графит / сталь */
  --ink:          #0C141C;
  --ink-800:      #16222E;
  --ink-700:      #22333F;
  --steel:        #4B5E70;
  --steel-400:    #7A8B9B;
  --line:         #DFE5EB;
  --line-soft:    #EDF1F5;
  --surface:      #FFFFFF;
  --bg:           #F6F8FA;
  --bg-warm:      #F1F4F7;

  /* Служебные */
  --danger:       #C2352B;
  --focus:        #0B7CC0;

  /* Типографика */
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Ритм 4/8 */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow-1: 0 1px 2px rgba(12,20,28,.06), 0 1px 3px rgba(12,20,28,.05);
  --shadow-2: 0 4px 12px rgba(12,20,28,.07), 0 12px 32px rgba(12,20,28,.06);
  --shadow-3: 0 12px 40px rgba(12,20,28,.14);

  --container: 1200px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- Сброс -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .55vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 var(--s-4); }
p, li { overflow-wrap: anywhere; }

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

/* --- Раскладка ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.section { padding-block: clamp(48px, 6vw, 88px); }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }
.section--alt { background: var(--bg); }
.section--dark { background: var(--ink); color: #D6DEE6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--steel); max-width: 62ch; }
.section-head { max-width: 70ch; margin-bottom: var(--s-6); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--dark .eyebrow { color: var(--brand); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Кнопки ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-size: .98rem; font-weight: 700; letter-spacing: -0.01em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--ink-700); color: #fff; box-shadow: var(--shadow-2); }
.btn--accent { background: var(--brand); color: #043024; }
.btn--accent:hover { background: var(--brand-600); color: #043024; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--steel-400); }
.section--dark .btn--ghost,
.hero .btn--ghost,
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* --- Шапка -------------------------------------------------------------- */
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); color: #fff; }

.topbar {
  background: var(--ink); color: #9FB0BF;
  font-size: .84rem; letter-spacing: .01em;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; justify-content: space-between; min-height: 38px; }
.topbar a { color: #D6DEE6; text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar__geo { display: inline-flex; align-items: center; gap: 6px; }
.topbar__geo svg { width: 14px; height: 14px; opacity: .7; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: var(--s-5); min-height: var(--nav-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: .06em; color: var(--ink); }
.logo__tag  { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400); font-weight: 600; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav > .btn { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px;
  white-space: nowrap;
  font-family: var(--font-head); font-size: .93rem; font-weight: 600;
  color: var(--ink-700); text-decoration: none; border-radius: 8px;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-tint); }
.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --- Герой -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #C9D4DE;
}
/* Фоновая фотография первого экрана */
.hero__bg {
  position: absolute; inset: 0; opacity: .85;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,11,16,.92) 0%, rgba(6,11,16,.86) 32%,
                            rgba(6,11,16,.62) 55%, rgba(6,11,16,.32) 100%),
    radial-gradient(760px 380px at 82% 12%, rgba(94,209,173,.14), transparent 65%);
}
.hero--photo .hero__grid { padding-block: clamp(64px, 8vw, 116px); }
.hero--photo .hero__lede { color: #C3D0DA; }
.hero .container { position: relative; z-index: 2; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #AEBDC9; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-top: var(--s-6); padding: 0; list-style: none; }
.hero__facts li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #9FB0BF; }
.hero__facts svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.hero__figure { position: relative; }
.hero__figure svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

/* --- Карточки ----------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s-5);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.card--link:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }
.card__num {
  font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .1em;
  color: var(--brand-deep); background: var(--brand-tint);
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-3);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-4);
}
.card__icon svg { width: 22px; height: 22px; color: var(--brand-deep); }
.section--dark .card {
  background: var(--ink-800); border-color: rgba(255,255,255,.1); color: #B6C4D0;
}
.section--dark .card__icon { background: rgba(94,209,173,.14); }
.section--dark .card__icon svg { color: var(--brand); }

/* Товарная карточка */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card__media { background: var(--bg-warm); border-bottom: 1px solid var(--line); padding: var(--s-5); }
.product-card__media img, .product-card__media svg { margin-inline: auto; }
.product-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { margin-bottom: var(--s-1); }
.product-card__sku { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--steel-400); text-transform: uppercase; margin-bottom: var(--s-3); }
.product-card .spec-mini { list-style: none; margin: 0 0 var(--s-5); padding: 0; font-size: .92rem; }
.product-card .spec-mini li { display: flex; justify-content: space-between; gap: var(--s-3); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.product-card .spec-mini li:last-child { border-bottom: 0; }
.product-card .spec-mini dt, .product-card .spec-mini b { color: var(--ink); font-weight: 600; }
.product-card .spec-mini span:first-child { color: var(--steel); }
.product-card__foot { margin-top: auto; }

/* --- Цифры -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats > div { background: var(--surface); padding: var(--s-5); }
.stats__value { font-family: var(--font-head); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats__label { font-size: .9rem; color: var(--steel); margin-top: 6px; }
.section--dark .stats { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.section--dark .stats > div { background: var(--ink-800); }
.section--dark .stats__value { color: #fff; }
.section--dark .stats__label { color: #93A4B4; }

/* --- Таблицы ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
caption { text-align: left; padding: var(--s-4) var(--s-5) 0; font-weight: 700; font-family: var(--font-head); color: var(--ink); }
th, td { padding: 13px var(--s-5); text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--bg); font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-warm); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { font-size: .88rem; color: var(--steel); margin-top: var(--s-3); }

/* --- Список характеристик ----------------------------------------------- */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin: 0; }
.specs > div { background: var(--surface); padding: var(--s-4) var(--s-5); }
.specs dt { font-size: .86rem; color: var(--steel); margin-bottom: 2px; }
.specs dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* --- Чек-лист ----------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307785C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(94,209,173,.16); }

/* --- Ступени опта ------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.tier { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5) var(--s-5); }
.tier--featured { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.tier__badge { position: absolute; top: -12px; left: var(--s-5); background: var(--brand); color: #043024; font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier__name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.tier__qty { font-size: .9rem; color: var(--steel); margin-bottom: var(--s-4); }
.tier ul { margin: 0 0 var(--s-5); }
.tier .btn { margin-top: auto; }

/* --- Шаги / процесс ----------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
.step { position: relative; padding-left: 60px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; padding-top: 6px; }
.step p:last-child { margin-bottom: 0; }
.section--dark .step::before { background: var(--brand); color: #043024; }

/* --- Аккордеон FAQ ------------------------------------------------------ */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-4) var(--s-5);
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  display: flex; align-items: flex-start; gap: var(--s-4); min-height: 56px;
  transition: background-color .15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg); }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 20px; height: 20px; margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5E70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__answer { padding: 0 var(--s-5) var(--s-5); color: var(--steel); max-width: 78ch; }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }

/* --- Калькулятор -------------------------------------------------------- */
.calc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.calc__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); }
.calc__out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.field { margin-bottom: var(--s-5); }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .field__label {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--ink); margin-bottom: var(--s-2);
}
.field__hint { font-size: .84rem; color: var(--steel); margin-top: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; min-width: 60px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink-700);
  cursor: pointer; background: var(--surface);
  transition: all .15s var(--ease);
}
.seg label:hover { border-color: var(--steel-400); }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc__total { padding: var(--s-5); border-bottom: 1px solid var(--line); background: var(--bg); }
.calc__total strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); display: block; }
.calc__disclaimer { padding: var(--s-4) var(--s-5); font-size: .85rem; color: var(--steel); background: var(--bg-warm); border-top: 1px solid var(--line); }

/* --- Формы -------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5); }
.form-grid .span-2 { grid-column: 1 / -1; }
.input, .textarea, .select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { min-height: 116px; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--steel-400); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-tint); outline: none; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.req { color: var(--danger); }
.error-msg { display: none; color: var(--danger); font-size: .86rem; margin-top: 6px; font-weight: 600; }
.error-msg.is-visible { display: block; }
.form-consent { font-size: .86rem; color: var(--steel); display: flex; gap: var(--s-3); align-items: flex-start; }
.form-consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand-deep); }
.form-status { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--brand-tint); color: #04513C; }
.form-status--err { background: #FDECEA; color: #8E241C; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- CTA-полоса --------------------------------------------------------- */
.cta-band { background: var(--ink); color: #C9D4DE; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { max-width: 60ch; margin-bottom: 0; color: #A8B8C5; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --- Хлебные крошки ----------------------------------------------------- */
.breadcrumbs { padding-block: var(--s-4); border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .87rem; color: var(--steel); }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--steel-400); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-deep); text-decoration: underline; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }

/* --- Подвал ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #91A3B2; font-size: .93rem; padding-block: var(--s-8) var(--s-5); }
.site-footer a { color: #C9D4DE; text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__tag { color: var(--steel-400); }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; font-size: .84rem; color: #7B8D9C; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; }

/* --- Утилиты ------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }
.muted { color: var(--steel); }
.small { font-size: .88rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-family: var(--font-head); font-size: .8rem; font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }

/* --- Появление при скролле --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* --- Фотографии производства -------------------------------------------- */
.photo { margin: 0; }
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  display: block;
}
.photo figcaption {
  margin-top: var(--s-3);
  font-size: .88rem; color: var(--steel); line-height: 1.5;
}
.section--dark .photo figcaption { color: #93A4B4; }

.photo-grid .photo img { aspect-ratio: 3 / 2; }
.photo--tall img { aspect-ratio: 3 / 4; }
.photo--wide img { aspect-ratio: 16 / 9; }

/* кликабельное фото: лёгкое приближение и курсор-лупа */
.photo--zoom img { cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .3s var(--ease); }
.photo--zoom img:hover { transform: scale(1.015); box-shadow: var(--shadow-2); }

/* Просмотр фото во весь экран */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 13, 18, .94);
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--s-4);
  padding: clamp(16px, 4vw, 48px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 94vw); max-height: 78vh;
  width: auto; height: auto; border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__caption {
  margin: 0; max-width: 70ch; text-align: center;
  color: #C9D4DE; font-size: .95rem; line-height: 1.5;
}
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 0; color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }

@media (max-width: 1080px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Адаптив ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(6,11,16,.80) 0%, rgba(6,11,16,.68) 45%, rgba(6,11,16,.84) 100%),
      radial-gradient(600px 300px at 70% 10%, rgba(94,209,173,.10), transparent 65%);
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 560px; margin-inline: auto; }
  .calc { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--nav-h)) 0 auto 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-3);
    padding: var(--s-4) var(--s-5) var(--s-6);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { min-height: 52px; padding: 0 var(--s-4); font-size: 1.05rem; }
  .nav > .btn { display: inline-flex; margin-top: var(--s-4); width: 100%; }
  .grid-3, .grid-2, .tiers { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding-inline: var(--s-4); }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
}

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

@media print {
  .site-header, .topbar, .nav-toggle, .cta-band, .site-footer { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* --- Починка горизонтальной прокрутки на узких экранах ------------------
   Ячейки grid и flex по умолчанию имеют min-width:auto и растягиваются
   под содержимое. Из-за этого .table-wrap с его overflow-x:auto не может
   прокрутиться внутри себя и выталкивает страницу вширь.
   Обнаружено на мобильной вёрстке bynit.by 06.10.2026. */
.grid > *,
.split > *,
.product-card,
.product-card__body,
.hero__grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }

/* ========================================================================
   bynit.by — доводка витрины (06.10.2026)
   ===================================================================== */

/* --- Браузерные поверхности ---------------------------------------------
   Выделение, каретка, фокус и скроллбар по умолчанию принадлежат браузеру,
   а не странице. Забираем их в палитру. */
::selection { background: var(--brand); color: #043024; }
::-moz-selection { background: var(--brand); color: #043024; }
html { scrollbar-color: var(--steel-400) var(--bg); }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: var(--bg); }
*::-webkit-scrollbar-thumb { background: var(--steel-400); border-radius: 99px; border: 3px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: var(--steel); }
.input, .textarea { caret-color: var(--brand-deep); }
.section--dark .input, .section--dark .textarea { caret-color: var(--brand); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 6px;
}
.section--dark :where(a, button, input, textarea):focus-visible { outline-color: var(--brand); }

/* Цифры в таблицах и ценах — моноширинные, чтобы колонки не плясали */
table, .price__value, .compare__sum { font-variant-numeric: tabular-nums; }

/* --- Починка горизонтальной прокрутки ---------------------------------- */
.grid > *, .split > *, .product-card, .product-card__body,
.hero__grid > *, .compare > * { min-width: 0; }
.table-wrap { max-width: 100%; }

/* --- Сравнение «в сборе против каркаса» --------------------------------- */
.compare {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.compare__col {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-6); background: var(--surface);
  display: flex; flex-direction: column;
}
.compare__col--ours { border-color: var(--brand); background: var(--brand-tint); }
.compare__label {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--steel); margin-bottom: var(--s-4);
}
.compare__col--ours .compare__label { color: var(--brand-deep); }
.compare__line {
  display: flex; justify-content: space-between; gap: var(--s-4);
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
  font-size: .96rem;
}
.compare__line span:first-child { color: var(--steel); }
.compare__line b { font-weight: 600; white-space: nowrap; }
.compare__sum {
  margin-top: auto; padding-top: var(--s-5);
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  font-family: var(--font-head);
}
.compare__sum span { font-size: .92rem; color: var(--steel); }
.compare__sum b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.compare__col--ours .compare__sum b { color: var(--brand-deep); }

/* --- Полоса доверия ------------------------------------------------------ */
.trust { display: grid; gap: var(--s-5); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.trust__item { display: flex; gap: 13px; align-items: flex-start; }
.trust__item svg { flex: none; width: 21px; height: 21px; color: var(--brand-deep); margin-top: 2px; }
.trust__item b { display: block; font-family: var(--font-head); font-size: .98rem; margin-bottom: 3px; }
.trust__item span { font-size: .9rem; color: var(--steel); line-height: 1.5; }

/* --- Цена в карточке модели --------------------------------------------- */
.price { display: flex; align-items: baseline; gap: 9px; margin: var(--s-4) 0 var(--s-3); }
.price__value { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.price__unit { font-size: .92rem; color: var(--steel); }
.price__note { font-size: .86rem; color: var(--steel-400); margin: 0 0 var(--s-4); }

/* --- Один осмысленный момент движения -----------------------------------
   Содержимое первого экрана поднимается со сдвигом по очереди — ровно один
   раз, при загрузке. Остальные секции используют обычный reveal. */
@media (prefers-reduced-motion: no-preference) {
  .hero__grid > div > * { animation: rise .62s cubic-bezier(.16,1,.3,1) backwards; }
  .hero__grid > div > *:nth-child(1) { animation-delay: .04s; }
  .hero__grid > div > *:nth-child(2) { animation-delay: .12s; }
  .hero__grid > div > *:nth-child(3) { animation-delay: .2s; }
  .hero__grid > div > *:nth-child(4) { animation-delay: .28s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); filter: blur(5px); }
    to   { opacity: 1; transform: none; filter: none; }
  }
}

/* --- Состояния кнопок ---------------------------------------------------- */
.btn { transition: background-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--accent { box-shadow: 0 2px 8px -4px rgba(12,20,28,.28); }
.btn--accent:hover { box-shadow: 0 6px 16px -6px rgba(12,20,28,.32); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* --- Фотографии производства -------------------------------------------- */
.photo img { transition: transform .5s var(--ease); }
.photo--zoom:hover img { transform: scale(1.025); }

/* --- Контраст: найдено измерением в браузере 06.10.2026 ------------------ */

/* Белая карточка формы внутри тёмной секции наследовала светлый цвет текста:
   подписи полей шли #D6DEE6 по белому — контраст 1,36:1, читать невозможно. */
.form-card { color: var(--ink); }
.form-card .field > span { color: var(--ink); }
.form-card .form-consent, .form-card .field__hint { color: var(--steel); }

/* Вторичный текст на тёмном: был --steel (2,8:1). Тон взят от собственного
   текста секции #D6DEE6, а не нейтрально-серый. */
.section--dark .lede,
.section--dark .muted,
.section--dark .small,
.section--dark p { color: #A8B6C2; }
.section--dark .form-card .muted,
.section--dark .form-card .small,
.section--dark .form-card p { color: var(--steel); }

/* Ссылки на тёмном: тёмно-зелёный давал 3,4:1 — берём мятный из палитры. */
.section--dark a:not(.btn) { color: var(--brand); }
.section--dark a:not(.btn):hover { color: #8FE3C6; }
.form-card a { color: var(--brand-deep); }

/* Подпись в логотипе была 10,56px при полу в 11px и контрасте 3,5:1. */
.logo__tag { font-size: 11.5px; color: var(--steel); }

/* Цветное свечение кнопки на тёмном фоне — убираем, там оно читается
   как ореол, а не как тень. */
.section--dark .btn--accent { box-shadow: none; }
.section--dark .btn--accent:hover { box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }

/* Таблица внутри обёртки упиралась в рамку. */
.table-wrap { padding: 2px; }

/* --- Подвал и мелочи: вторая волна правок по измерению ------------------- */

/* В подвале был стиль только для h4, а разметка использует h3 —
   заголовки шли цветом --ink по тёмному фону, то есть были невидимы. */
.site-footer h3 {
  color: #fff; font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: var(--s-4);
  font-family: var(--font-head);
}
.site-footer .muted, .site-footer .small { color: #A8B6C2; }
.site-footer .logo__tag { color: #93A4B4; }

/* Сечение трубы в карточке модели — важная характеристика, а читалась
   бледно-серым: 3,3:1. */
.product-card__sku { color: var(--steel); }

/* Якоря: html уже несёт scroll-padding-top, собственный scroll-margin
   на секциях складывался с ним и давал двойной отступ. Не дублируем. */

/* Фотографии имеют собственные пропорции — фиксируем кадр, чтобы
   разные по формату снимки не ломали сетку. */
.photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.photo--wide img { aspect-ratio: 16 / 9; }
.hero__bg { aspect-ratio: auto; }

/* Текстовая цена («по запросу») — не цифра, крупный кегль ей не идёт
   и ломает строку на узком экране. */
.price__value--text { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.price { flex-wrap: wrap; row-gap: 2px; }

/* --- Диаграмма «из чего складывается цена» -------------------------------
   Две полосы в одном масштабе: сразу видно и разницу в сумме,
   и то, что у нас цена состоит из двух частей, одну из которых
   покупатель выбирает сам. */
.bars { display: grid; gap: var(--s-6); margin-top: var(--s-6); }

.bar-row__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-4); margin-bottom: 11px; flex-wrap: wrap;
}
.bar-row__title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.bar-row__where { display: block; font-family: var(--font-body); font-weight: 400; font-size: .86rem; color: var(--steel); margin-top: 2px; }
.bar-row__sum { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.025em; white-space: nowrap; }
.bar-row__sum--ours { color: var(--brand-deep); }

.bar { display: flex; height: 42px; border-radius: 10px; overflow: hidden; background: var(--bg); }
.bar__seg { height: 100%; }
.bar__seg--other { background: var(--steel-400); }
.bar__seg--frame { background: var(--brand-deep); }
.bar__seg--sheet { background: var(--brand); }

.bar__legend {
  display: flex; flex-wrap: wrap; gap: 6px var(--s-5);
  margin: 10px 0 0; font-size: .9rem; color: var(--steel);
}
.bar__legend span { display: inline-flex; align-items: center; gap: 8px; }
.bar__legend i { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.dot--other { background: var(--steel-400); }
.dot--frame { background: var(--brand-deep); }
.dot--sheet { background: var(--brand); }

.bars__save {
  margin: 0; padding: var(--s-5);
  background: var(--brand-tint); border-radius: var(--radius-lg);
  font-family: var(--font-head); font-weight: 700; color: var(--brand-deep);
  display: flex; align-items: center; gap: 12px;
}
.bars__save svg { width: 22px; height: 22px; flex: none; }

/* Короткий ряд неценовых отличий — вместо второй таблицы */
.diffs { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); margin-top: var(--s-6); }
@media (max-width: 760px) { .diffs { grid-template-columns: 1fr; } }
.diffs div { font-size: .94rem; }
.diffs b { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--steel); font-weight: 600; margin-bottom: 4px; }
.diffs span { color: var(--ink); }

/* --- Сравнение одним блоком ---------------------------------------------
   Две строки на общей подложке, а не две карточки рядом: сразу видно,
   что это одно сравнение, и чья строка какая. */
.vs {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface); margin-top: var(--s-6);
}
.vs__head {
  padding: 15px var(--s-6); background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.vs__head span { font-family: var(--font-body); font-weight: 400; color: var(--steel); }

.vs__row {
  display: grid; grid-template-columns: 208px 1fr 112px;
  gap: var(--s-5); align-items: center; padding: var(--s-5) var(--s-6);
}
.vs__row + .vs__row { border-top: 1px solid var(--line); }
.vs__row--ours { background: var(--brand-tint); }

.vs__who { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.vs__who small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: .84rem; color: var(--steel); margin-top: 3px; line-height: 1.4;
}
.vs__row--ours .vs__who { color: var(--brand-deep); }
.vs__row--ours .vs__who small { color: #2E6B59; }

.vs__bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; background: rgba(12,20,28,.06); }
.vs__row--ours .vs__bar { background: rgba(7,120,92,.1); }
.vs__bar span { height: 100%; }
.vs__bar .s-other { background: var(--steel-400); }
.vs__bar .s-frame { background: var(--brand-deep); }
.vs__bar .s-sheet { background: var(--brand); }

.vs__sum { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.025em; text-align: right; white-space: nowrap; }
.vs__row--ours .vs__sum { color: var(--brand-deep); }

.vs__keys { display: flex; flex-wrap: wrap; gap: 5px var(--s-5); margin: 9px 0 0; font-size: .85rem; color: var(--steel); }
.vs__row--ours .vs__keys { color: #2E6B59; }
.vs__keys span { display: inline-flex; align-items: center; gap: 7px; }
.vs__keys i { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.vs__foot {
  padding: 15px var(--s-6); border-top: 1px solid var(--line);
  background: var(--brand-deep); color: #fff;
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 700;
}
.vs__foot svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 760px) {
  .vs__row { grid-template-columns: 1fr auto; gap: 11px var(--s-4); padding: var(--s-5); }
  /* без явных позиций сумма уезжала под полосу: автораскладка ставила её
     в третий ряд, потому что полоса занимает обе колонки */
  .vs__who  { grid-column: 1; grid-row: 1; }
  .vs__sum  { grid-column: 2; grid-row: 1; align-self: start; }
  .vs__bar  { grid-column: 1 / -1; grid-row: 2; }
  .vs__keys { grid-column: 1 / -1; grid-row: 3; }
  .vs__head, .vs__foot { padding-inline: var(--s-5); }
}

/* --- «Они против нас»: лобовое сравнение ---------------------------------
   Два столбца в одной плоскости. Левый приглушён, правый — фирменный
   тёмно-зелёный: разницу видно раньше, чем человек начнёт читать. */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-6); position: relative; }
@media (max-width: 820px) { .duel { grid-template-columns: 1fr; gap: var(--s-6); } }

.duel__side { border-radius: var(--radius-lg); padding: var(--s-6); display: flex; flex-direction: column; }
.duel__side--them { background: var(--bg); border: 1px solid var(--line); }
.duel__side--us { background: var(--brand-deep); color: #EAF7F2; border: 1px solid var(--brand-deep); }

.duel__tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin: 0 0 var(--s-5);
}
.duel__side--them .duel__tag { background: #E7EBEF; color: var(--steel); }
.duel__side--us   .duel__tag { background: rgba(255,255,255,.16); color: #fff; }

.duel__price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem); letter-spacing: -.035em; line-height: 1; margin: 0 0 7px; }
.duel__side--them .duel__price { color: var(--steel); }
.duel__side--us   .duel__price { color: #fff; }
.duel__price small { font-size: .42em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }

.duel__sub { font-size: .9rem; margin: 0 0 var(--s-5); }
.duel__side--them .duel__sub { color: var(--steel); }
.duel__side--us   .duel__sub { color: #B9E4D5; }

/* мини-диаграмма состава цены */
.duel__bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin-bottom: 7px; }
.duel__side--them .duel__bar { background: #DCE2E8; }
.duel__side--us   .duel__bar { background: rgba(255,255,255,.18); }
.duel__bar b { height: 100%; display: block; }
.duel__parts { display: flex; flex-wrap: wrap; gap: 4px var(--s-4); font-size: .82rem; margin: 0 0 var(--s-5); }
.duel__parts span { display: inline-flex; align-items: center; gap: 6px; }
.duel__parts i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.duel__side--them .duel__parts { color: var(--steel); }
.duel__side--us   .duel__parts { color: #B9E4D5; }

.duel__list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 13px; }
.duel__list li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: .95rem; line-height: 1.45; }
.duel__list svg { width: 22px; height: 22px; margin-top: 1px; }
.duel__side--them .duel__list svg { color: var(--danger); }
.duel__side--us   .duel__list svg { color: var(--brand); }
.duel__list em { display: block; font-style: normal; font-size: .85rem; margin-top: 2px; }
.duel__side--them .duel__list em { color: var(--steel-400); }
.duel__side--us   .duel__list em { color: #9FD9C6; }

/* Плашка «против» между столбцами */
.duel__mid {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; z-index: 2;
  font-family: var(--font-head); font-weight: 800; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .04em; color: var(--steel);
  box-shadow: 0 4px 14px -6px rgba(12,20,28,.25);
}
@media (max-width: 820px) { .duel__mid { display: none; } }

.duel-save {
  margin: var(--s-5) 0 0; padding: var(--s-5) var(--s-6);
  background: var(--brand); color: #043024; border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 13px;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); letter-spacing: -.015em;
}
.duel-save svg { width: 26px; height: 26px; flex: none; }

/* --- Контраст в блоке сравнения: пересчитано по измерению ---------------
   Зелёная панель углублена до #05614A — так у светлых оттенков
   остаётся запас, и вторичный текст проходит порог 4,5:1,
   не сливаясь при этом с основным. */
.duel__side--us { background: #05614A; border-color: #05614A; color: #fff; }
.duel__side--us .duel__sub,
.duel__side--us .duel__parts,
.duel__side--us .duel__list em { color: #AEDDCB; }
.duel__side--us .duel__tag { background: rgba(255,255,255,.18); color: #fff; }

/* Слева бледно-серый не читался: 3,3:1 */
.duel__side--them .duel__list s,
.duel__side--them .duel__list em { color: var(--steel); }

/* --- Основная модель и облегчённая --------------------------------------- */
.main-model {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: var(--s-6); align-items: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s-6); margin-top: var(--s-6);
}
@media (max-width: 860px) { .main-model { grid-template-columns: 1fr; } }
.main-model__media { background: var(--bg); border-radius: 12px; padding: var(--s-5); }
.main-model__media img { width: 100%; height: auto; display: block; }
.main-model__body > h3 { margin: 2px 0 0; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.main-model__body .btn { margin-top: var(--s-5); }

.alt-model {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-5) var(--s-6);
  align-items: center; margin-top: var(--s-5);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s-5) var(--s-6);
}
@media (max-width: 680px) { .alt-model { grid-template-columns: 1fr; } }
.alt-model h3 { margin: 3px 0 6px; font-size: 1.2rem; }
.alt-model p { margin: 0; font-size: .94rem; color: var(--steel); max-width: 62ch; }
.alt-model__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
@media (min-width: 681px) { .alt-model__cta { align-items: flex-end; } }
.alt-model__price { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }

/* Ячейки новых сеток тоже должны уметь сжиматься: без min-width:0
   таблица с min-width:520px растягивает колонку и выталкивает страницу. */
.main-model > *, .main-model__body, .alt-model > *, .duel > * { min-width: 0; }

/* --- Таблицы на телефоне: без горизонтальной прокрутки --------------------
   Боковая прокрутка внутри таблицы на телефоне неудобна: видно только
   первые колонки, а цену надо искать. Разворачиваем каждую строку
   в карточку «подпись — значение». */
@media (max-width: 680px) {
  .table-wrap { overflow-x: visible; border: 0; background: transparent; padding: 0; }
  .table-wrap table { min-width: 0; width: 100%; display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody { display: block; }
  .table-wrap tr {
    display: block; background: var(--surface);
    border: 1px solid var(--line); border-radius: 12px;
    padding: 13px 15px; margin-bottom: 10px;
  }
  .table-wrap tr:last-child { margin-bottom: 0; }
  .table-wrap tbody tr:hover { background: var(--surface); }
  .table-wrap td {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: var(--s-4); padding: 7px 0; border-bottom: 1px solid var(--line-soft);
    text-align: right;
  }
  .table-wrap td::before {
    content: attr(data-label); color: var(--steel);
    font-weight: 500; text-align: left; flex: none;
  }
  .table-wrap td:last-child { border-bottom: 0; padding-bottom: 0; }
  /* первая ячейка — размер, работает как заголовок строки */
  .table-wrap td:first-child {
    font-family: var(--font-head); font-weight: 800; font-size: 1.08rem;
    padding-top: 0; justify-content: flex-start;
  }
  .table-wrap td:first-child::before { content: none; }
  .main-model__media { padding: var(--s-4); }
}

/* В разметке «Как купить» используется <ol>, а номера рисует счётчик
   в .step::before — родные маркеры списка давали вторую нумерацию. */
.steps { list-style: none; margin: 0; padding: 0; }


/* --- Схемы и блок «о нас» (добавлено 07.10.2026) ------------------------ */
.scheme {
  margin: 0 0 var(--s-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  overflow: hidden;
}
.scheme img { display: block; width: 100%; height: auto; }
.scheme figcaption {
  margin-top: var(--s-4);
  font-size: .95rem;
  line-height: 1.5;
  color: var(--steel);
}
.scheme--inline { margin: var(--s-5) 0 0; padding: var(--s-4); }

.about-facts {
  list-style: none;
  margin: 0 0 var(--s-6);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.about-facts li {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: var(--s-4) var(--s-5);
}
.about-facts b { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.about-facts span { display: block; margin-top: 6px; font-size: .93rem; line-height: 1.5; color: var(--steel); }

@media (max-width: 860px) { .about-facts { grid-template-columns: 1fr; } }

/* Фотографии по две в ряд даже на узких экранах — так их видно больше */
@media (max-width: 560px) {
  .photo-grid { gap: var(--s-3, 12px); }
  .photo-grid .photo img,
  .photo-grid .photo--wide img { aspect-ratio: 4 / 3; }
  .photo figcaption { font-size: .82rem; line-height: 1.4; }
}


/* --- Живое фото в первом экране на телефоне и планшете ------------------ */
.hero__shot { display: none; }
@media (max-width: 1024px) {
  .hero__shot {
    display: block;
    margin: var(--s-6) 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
  }
  .hero__shot img {
    display: block; width: 100%; height: auto;
    aspect-ratio: 4 / 3; object-fit: cover;
  }
  .hero__shot figcaption {
    padding: 10px 14px 12px;
    background: rgba(255,255,255,.06);
    font-size: .86rem; line-height: 1.45; color: #C3D0DB;
  }
  /* фон под текстом может быть темнее — живое фото теперь показывает отдельный кадр */
  .hero::after {
    background:
      linear-gradient(180deg, rgba(6,11,16,.90) 0%, rgba(6,11,16,.84) 45%, rgba(6,11,16,.92) 100%),
      radial-gradient(600px 300px at 70% 10%, rgba(94,209,173,.12), transparent 65%);
  }
}


/* --- Рекламный кадр и схема в карточке основной модели ------------------ */
.model-shot { margin: 0 0 var(--s-5); }
.model-shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.model-shot figcaption {
  margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--steel);
}
.model-scheme { display: block; width: 100%; height: auto; }
