/* ==========================================================================
   Подключение к ЕГАИС — Центр автоматизации торговли (podklyuchenie-k-egais)
   Школа: retail counter (directions.md §2) — тёплая бумажная поверхность,
   тёмно-зелёный акцент, крупные цены. Manrope (display) + Source Sans 3 (body).
   Все контрастные пары замерены: текст ≥4.5:1, границы и фокус ≥3:1.
   ========================================================================== */

/* ---------- шрифты: локальные, кириллица + латиница отдельными сабсетами --- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/manrope-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/manrope-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/sourcesans3-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/sourcesans3-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ---------- токены -------------------------------------------------------- */
:root {
  --surface: #faf7f1;      /* тёплая бумага */
  --surface-2: #ffffff;    /* карточки, формы */
  --ink: #1a211d;          /* 15.35:1 на surface */
  --ink-2: #5d6b62;        /* 5.24:1 на surface */
  --accent: #14503a;       /* 8.77:1 на surface, 9.38:1 от белого текста */
  --accent-deep: #0f3b2b;  /* тёмная плашка */
  --on-dark-2: #a8c4b5;    /* 6.68:1 на accent-deep */
  --amber: #8a5300;        /* 5.92:1 на surface */
  --border: #e0d6c6;       /* декоративные линии */
  --border-strong: #9a8b74;/* 3.32:1 на белом — границы полей */
  --danger: #9c1c10;

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --shell: 1140px;
  --pad: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 16px;
  --ring: 0 0 0 3px #ffffff, 0 0 0 6px var(--accent);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.125rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 750;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: 650;
}

p { margin: 0 0 0.85em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); }

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

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

/* только для скринридеров */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- типографические мелочи --------------------------------------- */
.kicker {
  margin: 0 0 0.75em;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;   /* ALL CAPS требует положительного трекинга */
  text-transform: uppercase;
  color: var(--accent);
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 0.28em;
}

/* ---------- кнопки ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease,
              transform 120ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #103d2c; }
.btn-primary:active { transform: translateY(1px); }

.btn-sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.9375rem;
}

.btn-block { width: 100%; }

/* ---------- шапка -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 241, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: auto;
  height: 40px;
  max-width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
  text-align: right;
}
.header-phone-label {
  font-size: 0.6875rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.header-phone-number {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-phone:hover .header-phone-number { color: var(--accent); }

/* ---------- hero --------------------------------------------------------- */
.hero {
  background: var(--surface);
  padding-block: clamp(32px, 5.5vw, 64px) clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 0.4em; }

.hero-lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 1.5em;
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin-bottom: 1.75em;
}
.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9688rem;
  line-height: 1.45;
  color: var(--ink);
}
.hero-facts .ico { color: var(--accent); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 1.5em;
}

.hero-phone {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--border-strong);
  padding-bottom: 1px;
  white-space: nowrap;
}
.hero-phone:hover { color: var(--accent); border-bottom-color: var(--accent); }

.gift {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 12px 18px 12px 16px;
  border-left: 3px solid var(--amber);
  background: #fff8e8;
  border-radius: 0 8px 8px 0;
}
.gift-strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
}
.gift-note {
  font-size: 0.875rem;
  color: #6f5c46;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 1px 2px rgba(26, 33, 29, 0.08),
              0 12px 32px -12px rgba(26, 33, 29, 0.22);
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- общие полосы ------------------------------------------------ */
.band { padding-block: clamp(40px, 6vw, 76px); }
.band-pain,
.band-steps,
.band-recall { background: var(--surface-2); }
.band-services,
.band-form { background: var(--surface); }
.band-how { background: var(--accent-deep); }

.band-head { max-width: 46em; margin-bottom: clamp(24px, 3.5vw, 40px); }
.band-head h2 { margin-bottom: 0.4em; }
.band-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- боли: 6 карточек ------------------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pain-card {
  background: var(--surface-2);
  padding: 24px 22px 26px;
}
.pain-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 12px;
}
.pain-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.45em;
}
.pain-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- услуги ------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.svc-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}
.svc-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

.svc-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  color: var(--ink);
}
.svc-from,
.svc-period {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
}
.svc-sum {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.svc-free {
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.svc-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f4efe4;
}
.svc-card-wide .svc-price {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  flex: none;
}

.svc-foot {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ---------- шаги --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step { position: relative; padding-top: 20px; }

.step::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--border);
}
.step:first-child::before { background: var(--accent); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
}
.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4em;
}
.step p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- как устроено ------------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.band-how,
.band-how h2 { color: #fff; }
.band-how .kicker { color: var(--on-dark-2); }
.how-copy p {
  color: #dfe9e2;
  font-size: 1.0313rem;
  line-height: 1.6;
  max-width: 36em;
}
.how-note {
  margin-top: 1.25em;
  padding-top: 1em;
  border-top: 1px solid rgba(168, 196, 181, 0.3);
  font-size: 0.9375rem;
  color: var(--on-dark-2);
}

.how-diagram {
  padding: 24px;
  border: 1px solid rgba(168, 196, 181, 0.32);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}
.diagram-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.diagram-row { display: flex; justify-content: center; }

.diagram-node {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.diagram-fork {
  display: flex;
  justify-content: space-around;
  padding-inline: 22%;
  height: 26px;
  margin-block: 4px;
}
.diagram-line {
  width: 2px;
  background: var(--on-dark-2);
  opacity: 0.55;
}

.diagram-row-double { gap: 12px; }

.diagram-box {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 14px 14px;
  border-radius: 8px;
  border: 1px solid rgba(168, 196, 181, 0.4);
  background: rgba(255, 255, 255, 0.07);
}
.diagram-box-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
}
.diagram-box-note {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--on-dark-2);
}

/* ---------- форма ------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.form-copy h2 { margin-bottom: 0.4em; }
.form-copy p {
  color: var(--ink-2);
  max-width: 32em;
}

.form-phone {
  display: inline-block;
  margin: 4px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.form-phone:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-assurance {
  display: grid;
  gap: 8px;
}
.form-assurance li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.form-assurance li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.form-card,
.recall-card {
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(26, 33, 29, 0.05),
              0 10px 28px -18px rgba(26, 33, 29, 0.25);
}

.form-title {
  font-size: 1.1875rem;
  margin-bottom: 1.1em;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-body);
}
.req { color: var(--danger); font-weight: 700; }

.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field textarea {
  resize: vertical;
  min-height: 88px;
}
.field input::placeholder,
.field textarea::placeholder { color: #6f6a60; }  /* 5.38:1 на белом */

.field input:hover,
.field textarea:hover { border-color: #7a6250; }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 80, 58, 0.18);
}

.field-error {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--danger);
  font-weight: 600;
}

.field-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-block: 4px 20px;
}
.field-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: none;
  cursor: pointer;
}
.field-check label {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
}
.field-check a {
  color: var(--accent);
  text-underline-offset: 2px;
}

/* honeypot: невидим для людей, доступен ботам */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.lp-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdf1ef;
  border: 1px solid #e8c4bd;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--danger);
}

.form-success {
  padding: 8px 0;
}
.form-success h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5em;
}
.form-success p {
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.form-success-phone a {
  font-weight: 700;
  color: var(--accent);
}

/* ---------- повторный CTA ----------------------------------------------- */
.recall-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
.recall-copy h2 { margin-bottom: 0.45em; }
.recall-copy p { color: var(--ink-2); max-width: 32em; }
.recall-phone-wrap { margin-top: 1em; }
.recall-phone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.recall-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.recall-card .form-title { margin-bottom: 0.9em; }
.recall-card .field { margin-bottom: 12px; }

/* ---------- подвал ------------------------------------------------------- */
.site-footer {
  background: var(--accent-deep);
  color: #dfe9e2;
  padding-block: clamp(36px, 5vw, 56px) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(168, 196, 181, 0.25);
}

.footer-brand img {
  height: 40px;
  width: auto;
  /* логотип на светлой подложке — на тёмном фоне читается как плашка */
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 30em;
  margin: 0;
}

.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 0.9em;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col li {
  font-size: 0.9375rem;
  line-height: 1.45;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-col a:hover {
  border-bottom-color: var(--on-dark-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--on-dark-2);
}
.footer-legal { max-width: 46em; }

/* ---------- адаптив ------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid,
  .how-grid,
  .form-grid,
  .recall-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media { order: -1; }
  .how-diagram { max-width: 520px; }

  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }

  .header-inner { min-height: 64px; gap: 10px; }
  .brand img { height: 32px; }
  .header-phone-label { display: none; }
  .header-phone-number { font-size: 0.9375rem; }
  .header-right { gap: 12px; }
  .header-right .btn-sm { display: none; }

  .pain-grid,
  .svc-grid,
  .steps,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .pain-card { padding: 20px 18px 22px; }

  .svc-card-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .step::before { display: none; }
  .step { padding-top: 0; }

  .diagram-fork { padding-inline: 18%; }
  .diagram-row-double { flex-direction: column; }

  .hero-actions { gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-phone { font-size: 1.0625rem; }

  .gift { display: flex; }
}

@media (max-width: 380px) {
  :root { --pad: 14px; }
  h1 { font-size: 1.75rem; }
  .header-phone-number { font-size: 0.875rem; }
}

/* ---------- reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- печать ------------------------------------------------------- */
@media print {
  .site-header, .band-recall, .hero-media, .skip { display: none; }
  body { background: #fff; }
  .band-how { background: #fff; color: #000; }
  .band-how h2, .how-copy p { color: #000; }
}
