/* ==========================================================================
   Jalkau — B2B-лендинг. Чистый CSS, mobile-first, без внешних шрифтов и CDN.
   Палитра: карбон + электрик (синяя молния), нейтральная бумага.
   ========================================================================== */

:root {
  --ink: #0e131c;
  --ink-2: #202938;
  --muted: #5b6676;
  --muted-2: #7b8595;
  --line: #dfe4ec;
  --line-2: #edf0f5;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --blue: #1f4dff;
  --blue-2: #3a63ff;
  --blue-deep: #1436c7;
  --dark: #0b0e15;
  --dark-2: #121826;
  --dark-line: rgba(255, 255, 255, 0.13);
  --ok: #0f8a4a;
  --warn: #8a5b00;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 19, 28, 0.05), 0 12px 32px -18px rgba(14, 19, 28, 0.28);
  --shadow-lg: 0 24px 60px -28px rgba(14, 19, 28, 0.45);
  --container: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Сброс / база --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

section[id], main[id] { scroll-margin-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.95rem, 6.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

:focus-visible {
  outline: 3px solid rgba(31, 77, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(31, 77, 255, 0.18); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

/* --- Плейсхолдеры {{...}} -------------------------------------------------- */
.is-ph {
  background: rgba(255, 191, 31, 0.22);
  border-bottom: 1px dashed rgba(160, 110, 0, 0.75);
  padding: 0 0.18em;
  border-radius: 3px;
  color: inherit;
  font-variant-numeric: tabular-nums;
}
.on-dark .is-ph,
.dark .is-ph {
  background: rgba(255, 191, 31, 0.2);
  border-bottom-color: rgba(255, 210, 90, 0.8);
  color: #ffe9a8;
}

/* --- Кнопки ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.25em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(31, 77, 255, 0.9);
}
.btn--primary:hover { background: var(--blue-2); color: #fff; }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #161d29; color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--dark-line);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.btn--wide { width: 100%; }
.btn--sm { min-height: 40px; padding: 0.45em 0.9em; font-size: 0.9rem; }
.btn[disabled],
.btn.is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Шапка ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 21, 0.94);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
}
.brand:hover { color: #fff; }
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #6b86ff);
  font-size: 0.92rem;
  transform: translateY(4px);
}
.brand__note {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0;
}

.nav { display: none; }
.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 6px 2px;
}
.nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.header-phone {
  display: none;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.header-phone:hover { color: #fff; }

.header-ozon {
  display: none;
  align-items: center;
  padding: 6px 2px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.header-ozon:hover { color: #fff; border-bottom-color: #fff; }
.site-header .btn { min-height: 40px; padding: 0.45em 0.95em; font-size: 0.9rem; }

.btn-label-short { display: none; }

.nav-toggle {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 0.45em 0.9em;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }

.mobile-nav {
  display: none;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0 14px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.98rem;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(31, 77, 255, 0.5), transparent 62%),
    radial-gradient(700px 420px at 6% 108%, rgba(31, 77, 255, 0.18), transparent 65%),
    linear-gradient(180deg, #0a0d14 0%, #0d1220 62%, #0a0e17 100%);
  overflow: hidden;
  padding: clamp(40px, 7vw, 72px) 0 clamp(48px, 8vw, 84px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.eyebrow b {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.hero h1 { color: #fff; max-width: 15.5em; }
.hero h1 em {
  font-style: normal;
  color: #9db4ff;
}
.hero__lead {
  margin-top: 18px;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}
.hero .actions { margin-top: 26px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.stats li {
  margin: 0;
  padding: 12px 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
}
.stats b {
  display: block;
  font-size: clamp(1.02rem, 2.6vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
.stats span {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0f1a;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95);
}
.hero__frame img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__caption a { color: #b9c9ff; }
.hero__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cdd8ff;
  backdrop-filter: blur(4px);
}
.hero__note {
  margin: 14px 0 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.56);
}

/* --- Секции общие ---------------------------------------------------------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: clamp(34px, 5vw, 60px); }

.section-head { max-width: 46em; margin-bottom: clamp(26px, 4vw, 40px); }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.lead-note {
  border-left: 3px solid var(--blue);
  padding: 2px 0 2px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.kicker--light { color: #9db4ff; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }

/* --- Карточки выгод -------------------------------------------------------- */
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.card {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.card__num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(31, 77, 255, 0.12), rgba(31, 77, 255, 0.04));
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.card strong { color: var(--ink); }

/* --- Товар: галерея + характеристики -------------------------------------- */
.product-grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}
.gallery { margin: 0; }
.gallery__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f2f4f8;
  box-shadow: var(--shadow);
}
.gallery__main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 700px) {
  .gallery__main img { aspect-ratio: 4 / 3.4; }
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.gallery__thumbs li { margin: 0; }
.thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f6;
  cursor: pointer;
  line-height: 0;
}
.thumb img { aspect-ratio: 1; object-fit: cover; transition: opacity 0.15s ease; }
.thumb:hover img { opacity: 0.82; }
.thumb[aria-pressed="true"] { border-color: var(--blue); }
.gallery__caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.gallery__hint { font-size: 0.8rem; color: var(--muted-2); }

.product-copy h2 { margin-bottom: 0.4em; }
.product-copy > p { color: var(--muted); }
.product-copy .lead-note { margin: 18px 0 24px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #fff;
}
.data-table caption {
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0 0 8px;
  color: var(--ink);
}
.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-2);
}
.data-table th {
  width: 40%;
  font-weight: 600;
  color: var(--muted);
}
.data-table td { color: var(--ink); }
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }
.data-table--kits th { width: auto; }
.data-table--kits td { text-align: right; color: var(--muted); white-space: nowrap; }
.data-table--kits th { color: var(--ink); font-weight: 500; }

.subhead {
  margin: 26px 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.product-copy .subhead:first-child { margin-top: 0; }

/* --- Отзывы ---------------------------------------------------------------- */
.reviews {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.review__rating {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--warn);
}
.review__text {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1 1 auto;
}
.review__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.reviews__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.reviews__foot p { margin: 0; flex: 1 1 260px; color: var(--muted); font-size: 0.9rem; }

/* --- Таблица условий ------------------------------------------------------- */
.terms-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.terms-card .data-table th { width: 44%; }
.terms-card .data-table th,
.terms-card .data-table td { padding: 13px 16px; }
.terms-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--line-2);
  background: #fbfcfe;
  font-size: 0.88rem;
  color: var(--muted);
}
.terms-foot p { margin: 0; flex: 1 1 240px; }

/* --- Калькулятор маржи ----------------------------------------------------- */
.calc {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.calc__fields {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.calc__result {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
}
.calc__result div { min-width: 0; }
.calc__result b {
  display: block;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calc__result span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); }
.calc__hint { margin: 0; font-size: 0.82rem; color: var(--muted-2); }
.calc__hint.is-warn { color: #a35400; }

/* --- Формы ----------------------------------------------------------------- */
.field { display: block; margin: 0; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 86px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa3b2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 77, 255, 0.16);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c8321d; box-shadow: 0 0 0 3px rgba(200, 50, 29, 0.12); }
.field__error {
  display: none;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #b12a17;
}
.field.is-invalid .field__error { display: block; }
.field__req { color: var(--blue); }

/* --- Заявка ---------------------------------------------------------------- */
.request {
  position: relative;
  color: #fff;
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(31, 77, 255, 0.55), transparent 60%),
    linear-gradient(160deg, #0c1019 0%, #111a2c 55%, #0b1120 100%);
}
.request__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.request h2 { color: #fff; }
.request__aside p { color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; }
.request__steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: rq; }
.request__steps li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  counter-increment: rq;
}
.request__steps li::before {
  content: counter(rq);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.74rem;
  font-weight: 700;
  color: #c8d5ff;
}
.request__form {
  padding: clamp(18px, 3.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}
.request__form .field > span { color: rgba(255, 255, 255, 0.86); }
.request__form .field input,
.request__form .field select,
.request__form .field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.request__form .field input::placeholder,
.request__form .field textarea::placeholder { color: rgba(255, 255, 255, 0.42); }
.request__form .field select { color: #fff; }
.request__form .field select option { color: #0e131c; background: #fff; }
.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.form-grid .field--full { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.form-actions .btn--primary { flex: 1 1 220px; }

.channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.channels__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 2px;
}
.channels .btn { min-height: 40px; padding: 0.4em 0.95em; font-size: 0.88rem; }
.channels .btn.is-attention {
  box-shadow: 0 0 0 3px rgba(255, 191, 31, 0.35);
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.form-note strong { color: rgba(255, 255, 255, 0.8); font-weight: 600; }

.result {
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
  display: none;
}
.result.is-visible { display: block; }
.result.is-ok { border-color: rgba(90, 210, 140, 0.45); background: rgba(16, 138, 74, 0.16); }
.result.is-warn { border-color: rgba(255, 191, 31, 0.5); background: rgba(255, 191, 31, 0.12); }
.result.is-error { border-color: rgba(255, 120, 100, 0.55); background: rgba(200, 50, 29, 0.16); }
.result__title { margin: 0 0 4px; font-weight: 700; font-size: 0.9rem; color: #fff; }
.result p { margin: 0 0 8px; }
.result p:last-child { margin-bottom: 0; }
.result__preview {
  margin: 10px 0 0;
  padding: 12px;
  max-height: 240px;
  overflow: auto;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font: 0.8rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

/* --- Шаги ------------------------------------------------------------------ */
.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: st;
}
.steps li {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: st;
  content: "Шаг " counter(st);
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.steps h3 { margin-bottom: 0.35em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* --- FAQ ------------------------------------------------------------------- */
.faq { display: grid; gap: 8px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 16px;
  box-shadow: var(--shadow);
}
.faq summary {
  position: relative;
  padding: 15px 30px 15px 0;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 15px; color: var(--muted); font-size: 0.93rem; }
.faq details p:last-child { margin-bottom: 16px; }

/* --- Контакты --------------------------------------------------------------- */
.contacts-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 12px; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.92rem;
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list span:first-child { color: var(--muted); }
.contact-list span:last-child,
.contact-list a { text-align: right; }
.contact-note { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted-2); }
.contact-note code { font-size: 0.95em; color: var(--muted); }
.ozon-card { display: grid; gap: 10px; align-content: start; }
.ozon-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* --- Нижняя мобильная панель ------------------------------------------------ */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 14, 21, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.mobile-cta .btn { flex: 1; min-height: 44px; }
body { padding-bottom: 70px; }
body.at-request .mobile-cta { display: none; }

/* --- Подвал ----------------------------------------------------------------- */
.site-footer {
  background: #080b11;
  color: rgba(255, 255, 255, 0.62);
  padding: 34px 0 28px;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.footer-brand { color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.footer-brand:hover { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer p { margin: 0 0 6px; }
.footer-legal { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.78rem; color: rgba(255, 255, 255, 0.44); }

/* --- Адаптив ---------------------------------------------------------------- */
@media (min-width: 560px) {
  .calc__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
  .hero h1 { font-size: clamp(2.3rem, 3.4vw, 3.2rem); }
  .product-grid { grid-template-columns: 0.88fr 1.12fr; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .request__grid { grid-template-columns: 0.85fr 1.15fr; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .contacts-grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  .nav { display: flex; gap: 22px; margin-left: 14px; }
  .nav-toggle { display: none; }
  .header-phone { display: inline-block; }
  .brand__note { display: inline; }
}

@media (min-width: 980px) {
  .header-ozon { display: inline-flex; }
}

@media (max-width: 1099px) {
  .header-phone { display: none; }
}

@media (max-width: 559px) {
  .brand__note { display: none; }
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
  .stats { grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; }
  .stats b { flex: 0 0 auto; }
  .stats span { margin-top: 0; }
  .request__form { padding: 16px; }
  .calc__result { grid-template-columns: 1fr 1fr; }
  .calc__result div:last-child { grid-column: 1 / -1; }
}

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

/* Печать — короткая версия без навигации и форм */
@media print {
  .site-header, .mobile-cta, .hero .actions, .request__form, .channels, .gallery__thumbs { display: none !important; }
  body { color: #000; padding-bottom: 0; }
  .hero, .request { background: #fff !important; color: #000 !important; }
  .hero h1, .request h2 { color: #000 !important; }
  .section { padding: 18px 0; }
}
