/* ============================================================
   ЛАЗЕРНАЯ РЕЗКА — ПРОТОТИП 2
   Методология: BEM | Цветовая схема: Dark industrial premium
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s7:  1.75rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  --header-h: 72px;

  /* Palette — Dark Industrial Premium */
  --bg:         #0d1117;
  --surface:    #161b22;
  --surface-2:  #1c2128;
  --surface-3:  #21262d;
  --border:     rgba(255,255,255,.07);
  --border-2:   rgba(255,255,255,.12);

  --text:       #e6edf3;
  --text-muted: #8b949e;
  --text-faint: #484f58;

  /* Accent — жаркий оранжево-красный (лазер, огонь, металл) */
  --accent:         #ff4e00;
  --accent-hover:   #ff6a2a;
  --accent-glow:    rgba(255,78,0,.22);
  --accent-subtle:  rgba(255,78,0,.10);
  --accent-subtle2: rgba(255,78,0,.06);

  /* Second accent — электрик */
  --electric:       #00b4d8;
  --electric-sub:   rgba(0,180,216,.10);

  /* Status */
  --ok:      #3fb950;
  --gold:    #e3b341;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.6);
  --shadow-accent: 0 8px 32px rgba(255,78,0,.25);

  /* Layout */
  --content: 1240px;
  --transition: 180ms cubic-bezier(.16,1,.3,1);

  /* Fonts */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Inter', 'Arial', sans-serif;
}

/* ── BASE RESET ─────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: min(calc(100% - var(--s8)), var(--content));
  margin-inline: auto;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0 var(--s6);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: .02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(255,78,0,.4);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--secondary:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.22);
}

.btn--ghost {
  background: rgba(255,255,255,.04);
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--text); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.18);
}
.btn--outline:hover {
  border-color: rgba(255,78,0,.45);
  color: var(--accent-hover);
  background: var(--accent-subtle2);
}

.btn--sm { min-height: 38px; padding: 0 var(--s4); font-size: var(--text-xs); }
.btn--lg { min-height: 56px; padding: 0 var(--s8); font-size: var(--text-base); }
.btn--full { width: 100%; }

/* ── EYEBROW ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  background: var(--accent-subtle);
  color: var(--accent-hover);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--s5);
}
.eyebrow--electric {
  background: var(--electric-sub);
  color: var(--electric);
}

/* ── SECTION ────────────────────────────────────────────────── */
.section {
  padding-block: clamp(var(--s12), 7vw, var(--s24));
}
.section__head {
  margin-bottom: var(--s10);
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: .01em;
  line-height: 1.0;
  margin-bottom: var(--s4);
}
.section__lead {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 58ch;
}

/* ── CARD BASE ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }

/* ── CHIP ───────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}
.chip--ok { background: rgba(63,185,80,.1); border-color: rgba(63,185,80,.2); color: var(--ok); }
.chip--accent { background: var(--accent-subtle); border-color: rgba(255,78,0,.2); color: var(--accent-hover); }

/* ── FORM ELEMENTS ──────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.form-input {
  min-height: 50px;
  padding: 0 var(--s4);
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.form-input::placeholder { color: rgba(139,148,158,.85); }

.form-select option {
  background: var(--surface-2);
  color: var(--text);
}

.form-textarea {
  min-height: 100px;
  padding: var(--s3) var(--s4);
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s3) center;
  padding-right: var(--s8);
}

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: var(--s8);
}

/* ── ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header--scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.6); }

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(var(--s2), 2vw, var(--s4));
  min-height: var(--header-h);
  flex-wrap: nowrap;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}
.logo__svg { height: 28px; width: auto; }
.logo__tagline {
  display: none;
  flex-direction: column;
  gap: 1px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  padding-left: var(--s3);
  line-height: 1.3;
  flex-shrink: 0;
}
.logo__tagline-sub {
  font-weight: 400;
  color: var(--text-faint);
}

/* Мобильный/планшет (<1200): лого + иконка телефона + кнопка + бургер */
@media (max-width: 1199px) {
  .header__inner { gap: var(--s2); }
  .header__right {
    margin-left: auto;
    gap: var(--s2);
  }
  .logo__svg { height: 26px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .header__inner { gap: var(--s2); }
  .header__nav { gap: var(--s3); }
  .header__nav a { font-size: var(--text-xs); }
}
@media (min-width: 1200px) {
  .logo__tagline { display: flex; }
  .header__cta-full { display: inline; }
  .header__cta-short { display: none; }
}

/* Nav — десктоп с 1200px, ниже — бургер */
.header__nav { display: none; }
@media (min-width: 1200px) {
  .header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: clamp(var(--s3), 1.5vw, var(--s6));
    flex-shrink: 0;
    min-width: 0;
    margin-inline: var(--s2);
  }
  .header__nav a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition);
    white-space: nowrap;
  }
  .header__nav a:hover { color: var(--text); }
}

/* Header right */
.header__right {
  display: flex;
  align-items: center;
  gap: clamp(var(--s2), 1.5vw, var(--s4));
  flex-shrink: 0;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
  min-width: 40px;
  min-height: 40px;
}
.header__phone:hover { color: var(--accent-hover); }
.header__phone-icon { flex-shrink: 0; color: var(--accent-hover); display: block; }
.header__phone-text { display: none; }
@media (min-width: 1200px) {
  .header__phone-text { display: inline; }
  .header__phone-icon { display: none; }
}

.header__cta-short { display: none; }
@media (max-width: 479px) {
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
  .logo__svg { height: 24px; }
}

/* Mobile menu toggle */
.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  cursor: pointer;
}
@media (min-width: 1200px) { .header__burger { display: none; } }

/* ── ══════════════════════════════════════════════════════════
   POPUP (Модальное окно)
   ══════════════════════════════════════════════════════════ ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.popup-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: var(--s8);
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(16px);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--shadow-lg);
}
.popup-overlay.is-open .popup { transform: translateY(0); }

.popup__close {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  transition: background var(--transition), color var(--transition);
}
.popup__close:hover { background: rgba(255,255,255,.1); color: var(--text); }

.popup__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--s2);
  letter-spacing: .02em;
}
.popup__sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--s6);
}
.popup__form { display: flex; flex-direction: column; gap: var(--s4); }
.popup__privacy {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-align: center;
}
.popup__privacy a { color: var(--text-muted); text-decoration: underline; }

/* ── ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ ── */
.hero {
  padding-block: clamp(var(--s10), 6vw, var(--s20));
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 760px);
  display: flex;
  align-items: center;
}

.hero--cinematic .hero__container {
  position: relative;
  z-index: 2;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  /* Fallback — без фото: намеренный «техно»-градиент */
  background-image:
    linear-gradient(128deg, rgba(13,17,23,.98) 0%, rgba(13,17,23,.9) 40%, rgba(22,27,34,.78) 100%),
    radial-gradient(ellipse 90% 70% at 82% 38%, rgba(255,78,0,.15), transparent 58%),
    radial-gradient(ellipse 55% 45% at 12% 75%, rgba(0,180,216,.07), transparent 55%),
    repeating-linear-gradient(-12deg, rgba(255,255,255,.012) 0 1px, transparent 1px 72px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* С реальным фото лазера */
.hero--has-photo .hero__backdrop {
  background-image:
    linear-gradient(118deg, rgba(13,17,23,.93) 0%, rgba(13,17,23,.78) 44%, rgba(13,17,23,.52) 100%),
    radial-gradient(ellipse 75% 55% at 80% 40%, rgba(255,78,0,.1), transparent 55%),
    url('../img/hero/laser-zone.jpg');
  background-size: cover, cover, cover;
  background-position: center, center, center 38%;
}

.hero--has-photo .hero__overlay {
  background:
    linear-gradient(180deg, rgba(13,17,23,.4) 0%, transparent 32%, rgba(13,17,23,.55) 100%),
    linear-gradient(90deg, rgba(13,17,23,.55) 0%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 80px);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,17,23,.35) 0%, transparent 35%, rgba(13,17,23,.5) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

/* Фоновый градиент — legacy glow (под контентом) */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,78,0,.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,180,216,.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}

/* Hero left */
.hero__content { display: flex; flex-direction: column; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 6.5rem);
  line-height: .96;
  letter-spacing: .01em;
  margin-bottom: var(--s5);
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__title--refined {
  font-size: clamp(2.75rem, 1.8rem + 3.5vw, 5.25rem);
  line-height: 1.02;
  margin-bottom: var(--s6);
  max-width: 12ch;
}

.hero__lead {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 55ch;
  margin-bottom: var(--s6);
}
.hero__lead--compact {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: rgba(230,237,243,.88);
  max-width: 42ch;
  margin-bottom: var(--s8);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}
.hero__chips--compact {
  gap: var(--s2);
  margin-bottom: var(--s8);
}

/* A/B варианты CTA */
.hero__cta-a,
.hero__cta-b { margin-bottom: var(--s4); }

.hero__cta-a {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.hero__cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--s10);
  transition: color var(--transition);
}
.hero__cta-link:hover { color: var(--accent-hover); }
.hero__cta-link::after {
  content: '→';
  transition: transform var(--transition);
}
.hero__cta-link:hover::after { transform: translateX(3px); }

.hero__cta-b {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  max-width: 480px;
}
.hero__cta-b .cta-b__title {
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--s4);
}
.hero__cta-b .cta-b__fields {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s3);
}
.hero__cta-b .cta-b__fields .form-input { flex: 1 1 140px; }
.hero__cta-b .cta-b__note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: var(--s2);
}

/* AB switcher */
.ab-switch {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s6);
  font-size: var(--text-xs);
  color: var(--text-faint);
}
.ab-switch__label {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ab-switch__btns {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 3px;
}
.ab-switch__btn {
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.ab-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
}

/* Метрики */
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
@media (min-width: 520px) { .hero__metrics { grid-template-columns: repeat(4, 1fr); } }

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
}
.metric__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s2);
  letter-spacing: .02em;
}
.metric__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hero right — станок */
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.machine-card {
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.machine-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,78,0,.08), transparent 60%);
}
.machine-card__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.machine-card__mock {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--s8);
}
.machine-card__mock-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s4);
  opacity: .45;
  color: var(--accent-hover);
}
.machine-card__mock-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: var(--s2);
}
.machine-card__mock-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--s4);
}
.machine-card__badge {
  position: absolute;
  bottom: var(--s4);
  left: var(--s4);
  z-index: 2;
  background: rgba(13,17,23,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text);
}
.machine-card__badge span { color: var(--accent); }

.machine-card--premium {
  min-height: 400px;
  padding: var(--s4);
  border-color: rgba(255,255,255,.1);
  box-shadow: var(--shadow-md);
}
.machine-card--premium::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(255,78,0,.14), transparent 55%);
}
.machine-card--premium .machine-card__photo {
  inset: var(--s4);
  width: calc(100% - var(--s8));
  height: calc(100% - var(--s8));
  border-radius: calc(var(--r-xl) - 10px);
  object-position: center 40%;
}
.machine-card--premium:not(.machine-card--placeholder)::after {
  content: '';
  position: absolute;
  inset: var(--s4);
  border-radius: calc(var(--r-xl) - 10px);
  box-shadow: inset 0 -40px 60px rgba(13,17,23,.55);
  pointer-events: none;
  z-index: 2;
}
.machine-card--premium:has(.machine-card__mock)::after {
  display: none;
}
.machine-card--premium .machine-card__mock {
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Статистика под hero */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s10);
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: 1fr; }
}

.hero-stat {
  background: rgba(22,27,34,.75);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text);
  letter-spacing: .03em;
  line-height: 1;
  margin-bottom: var(--s2);
}
.hero-stat__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

.hero__panel-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.panel-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  text-align: center;
}
.panel-mini__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--accent);
  letter-spacing: .03em;
  display: block;
  margin-bottom: var(--s1);
}
.panel-mini__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── ══════════════════════════════════════════════════════════
   ПРЕИМУЩЕСТВА
   ══════════════════════════════════════════════════════════ ── */
.benefits { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.benefits__bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 640px) {
  .benefits__bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits__bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(0, auto);
  }
  .benefit-card--featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    padding: var(--s7);
  }
  .benefit-card--featured .benefit-card__title { font-size: var(--text-xl); }
  .benefit-card--accent { grid-column: 3; grid-row: 1; }
  .benefits__bento > .benefit-card:nth-child(3) { grid-column: 3; grid-row: 2; }
  .benefits__bento > .benefit-card:nth-child(4) { grid-column: 1; grid-row: 3; }
  .benefits__bento > .benefit-card:nth-child(5) { grid-column: 2; grid-row: 3; }
  .benefits__bento > .benefit-card:nth-child(6) { grid-column: 1 / -1; grid-row: 4; }
  .benefit-card--wide { grid-column: 1 / -1; grid-row: 5; }
}

/* Широкий десктоп: блок 06 в третьей колонке, как в bento-макете */
@media (min-width: 1280px) {
  .benefits__bento > .benefit-card:nth-child(6) { grid-column: 3; grid-row: 3; }
  .benefit-card--wide { grid-row: 4; }
}

.benefit-card--featured {
  background: linear-gradient(145deg, var(--surface-3), var(--surface-2));
  border-color: rgba(255,78,0,.2);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .benefit-card--featured { grid-column: span 2; }
  .benefits__bento > .benefit-card:nth-child(6) { grid-column: 1 / -1; }
}

.benefit-card--accent {
  border-color: rgba(227,179,65,.18);
  background: var(--surface-2);
}

@media (min-width: 1024px) {
  .benefit-card:not(.benefit-card--featured):not(.benefit-card--wide) {
    padding: var(--s4) var(--s5);
  }
  .benefit-card:not(.benefit-card--featured):not(.benefit-card--wide) .benefit-card__title {
    font-size: var(--text-sm);
    margin-bottom: var(--s1);
  }
  .benefit-card:not(.benefit-card--featured):not(.benefit-card--wide) .benefit-card__text {
    font-size: var(--text-xs);
    line-height: 1.45;
  }
}


@media (min-width: 640px) and (max-width: 1023px) {
  .benefit-card--span-2 { grid-column: 1 / -1; }
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (min-width: 640px)  { .benefits__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .benefits__grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card {
  padding: var(--s5);
  border-radius: var(--r-xl);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}
.benefit-card:hover {
  border-color: rgba(255,78,0,.25);
  background: var(--surface-3);
}

.benefit-card__title {
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--s2);
  color: var(--text);
}
.benefit-card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.benefit-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--s3);
}

.benefit-card--wide {
  grid-column: 1 / -1;
  background: var(--surface-2);
  border-color: rgba(255,78,0,.15);
}
.benefit-card__wide-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
@media (min-width: 768px) {
  .benefit-card__wide-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--s6);
  }
  .benefit-card__wide-inner > div { flex: 1; }
}

/* ── ══════════════════════════════════════════════════════════
   ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ
   ══════════════════════════════════════════════════════════ ── */
.specs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
@media (min-width: 900px) {
  .specs__grid { grid-template-columns: 1.1fr 0.9fr; }
}

.specs { border-bottom: 1px solid var(--border); }

.specs__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  margin-bottom: var(--s6);
}
@media (min-width: 768px) {
  .specs__highlights { grid-template-columns: repeat(4, 1fr); }
}

.specs-highlight {
  padding: var(--s5);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
  transition: border-color var(--transition);
}
.specs-highlight:hover { border-color: var(--border-2); }
.specs-highlight--accent {
  border-color: rgba(255,78,0,.25);
  background: linear-gradient(160deg, rgba(255,78,0,.06), var(--surface-2));
}
.specs-highlight__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--gold);
  letter-spacing: .04em;
  line-height: 1.1;
  margin-bottom: var(--s2);
}
.specs-highlight--accent .specs-highlight__value { color: var(--accent-hover); }
.specs-highlight__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.35;
}

.specs__panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
}
.specs__panel-title {
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--border);
}

.specs__materials {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}
.specs__materials-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
  margin-bottom: var(--s3);
}
.specs__materials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--transition);
}
.spec-item:hover { border-color: var(--border-2); }
.spec-item__label { font-size: var(--text-sm); color: var(--text-muted); }
.spec-item__value {
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--gold);
  white-space: nowrap;
}
.spec-item__value--accent { color: var(--accent-hover); }

.specs__visual {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  position: relative;
  overflow: hidden;
}
.specs__visual::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,78,0,.08), transparent 70%);
  pointer-events: none;
}
.specs__visual-title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text);
}
.specs__visual-photo {
  flex: 1;
  width: 100%;
  min-height: 260px;
  max-height: 420px;
  border-radius: var(--r-lg);
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border);
}
.specs__visual-placeholder {
  flex: 1;
  border: 1.5px dashed rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--s6);
  gap: var(--s3);
}
.specs__visual-placeholder-icon { font-size: 40px; opacity: .3; }

/* Теги на визуале */
.specs__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

/* ── ══════════════════════════════════════════════════════════
   ЧТО РЕЖЕМ (МАТЕРИАЛЫ)
   ══════════════════════════════════════════════════════════ ── */
.materials { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.materials__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  align-items: start;
}

.materials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (min-width: 640px)  { .materials__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .materials__grid { grid-template-columns: repeat(3, 1fr); } }

.material-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.material-card:hover {
  border-color: rgba(255,78,0,.28);
}
.material-card__marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--border-2);
}
.material-card--steel .material-card__marker { background: #6b7280; }
.material-card--stainless .material-card__marker { background: #94a3b8; }
.material-card--aluminum .material-card__marker { background: #cbd5e1; }
.material-card--brass .material-card__marker { background: var(--gold); }
.material-card--copper .material-card__marker { background: #c2785c; }
.material-card--custom .material-card__marker { background: var(--accent); }

.material-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s2);
}
.material-card__max {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding: var(--s1) var(--s2);
  background: rgba(227,179,65,.1);
  border-radius: var(--r-sm);
}
.material-card--steel .material-card__max { color: var(--accent-hover); background: rgba(255,78,0,.1); }

.material-card__name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text);
}
.material-card__spec {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── ══════════════════════════════════════════════════════════
   КАК РАБОТАЕМ
   ══════════════════════════════════════════════════════════ ── */
.process { border-bottom: 1px solid var(--border); }

.process__contract {
  display: flex;
  gap: var(--s5);
  align-items: flex-start;
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s8);
  background: linear-gradient(135deg, rgba(255,78,0,.07), rgba(22,27,34,.85));
  border: 1px solid rgba(255,78,0,.22);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-xl);
}
.process__contract-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255,78,0,.12);
  color: var(--accent-hover);
}
.process__contract-body strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: var(--s2);
  line-height: 1.3;
}
.process__contract-body p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 72ch;
}

.process__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  position: relative;
}
@media (min-width: 768px) {
  .process__track {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .process__track {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--s3);
  }
  .process__track::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2) 10%, var(--border-2) 90%, transparent);
    pointer-events: none;
  }
}

.process-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  position: relative;
  z-index: 1;
  transition: border-color var(--transition);
}
.process-step:hover { border-color: rgba(255,78,0,.2); }

.process-step__num {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255,78,0,.1);
  border: 1px solid rgba(255,78,0,.2);
  color: var(--accent-hover);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
}

.process-step__title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text);
  margin-bottom: var(--s2);
  line-height: 1.25;
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  position: relative;
}
@media (min-width: 768px)  { .process__steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .process__steps { grid-template-columns: repeat(6, 1fr); } }

/* legacy .process__steps — стили шагов заданы в .process__track выше */

/* ── ══════════════════════════════════════════════════════════
   ЦЕНЫ
   ══════════════════════════════════════════════════════════ ── */
.prices { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.prices__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
@media (min-width: 900px) { .prices__layout { grid-template-columns: 260px 1fr; } }

.prices__tabs {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
@media (max-width: 899px) { .prices__tabs { flex-direction: row; flex-wrap: wrap; } }

.price-tab {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  border-radius: var(--r-lg);
  background: transparent;
  border: 1.5px solid transparent;
  border-left: 3px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  width: 100%;
}
.price-tab__marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .85;
}
.price-tab--steel .price-tab__marker { background: #8b949e; }
.price-tab--stainless .price-tab__marker { background: #d0d7de; }
.price-tab--aluminum .price-tab__marker { background: #58a6ff; }
.price-tab--brass .price-tab__marker { background: var(--gold); }

.price-tab:hover {
  background: rgba(255,255,255,.03);
  border-color: var(--border);
  border-left-color: var(--border-2);
  color: var(--text);
}
.price-tab.is-active {
  background: var(--surface-3);
  border-color: var(--border-2);
  border-left-color: var(--accent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,78,0,.08);
}
.price-tab.is-active .price-tab__marker {
  box-shadow: 0 0 0 3px rgba(255,78,0,.15);
}

.prices__table-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.prices__table { width: 100%; border-collapse: collapse; }
.prices__table th,
.prices__table td {
  text-align: left;
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  vertical-align: middle;
}
.prices__table th {
  background: rgba(255,255,255,.03);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.prices__table th.prices__col-price,
.prices__table td.prices__col-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.prices__table td:first-child { font-weight: 600; color: var(--text); }
.prices__table td.prices__col-price {
  color: var(--accent-hover);
  font-weight: 700;
  font-size: var(--text-base);
}
.prices__table td:last-child { color: var(--text-muted); font-size: var(--text-xs); max-width: 28ch; }
.prices__table tbody tr {
  transition: background var(--transition);
}
.prices__table tbody tr:hover {
  background: rgba(255,255,255,.035);
}
.prices__table tr:last-child td { border-bottom: none; }
.prices__table tr.is-popular { background: rgba(255,78,0,.045); }
.prices__table tr.is-popular:hover { background: rgba(255,78,0,.07); }
.prices__table tr.is-popular td:first-child::after {
  content: 'популярно';
  display: inline-block;
  margin-left: var(--s2);
  font-size: 10px;
  padding: 2px 6px;
  background: var(--accent-subtle);
  color: var(--accent-hover);
  border-radius: var(--r-pill);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  vertical-align: middle;
}

.prices__disclaimer {
  padding: var(--s4) var(--s5);
  font-size: var(--text-sm);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  line-height: 1.5;
}
[data-min-order],
.quiz__sidebar-min-value,
.quiz__estimate-value,
.hero-stat__value {
  white-space: nowrap;
}

.prices__footer {
  padding: var(--s4) var(--s5);
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
}
.prices__note { font-size: var(--text-xs); color: var(--text-muted); }

/* ── ══════════════════════════════════════════════════════════
   КВИЗ-КАЛЬКУЛЯТОР
   ══════════════════════════════════════════════════════════ ── */
.quiz {
  position: relative;
}
.quiz::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,78,0,.06), transparent 50%);
  pointer-events: none;
}

.quiz__wrap {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.quiz__header {
  padding: var(--s6) var(--s8);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.quiz__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
}
.quiz__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: .02em;
}
.quiz__sub { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--s1); }

/* Progress bar */
.quiz__progress {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.quiz__progress-bar {
  flex: 1;
  min-width: 120px;
  height: 4px;
  background: var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.quiz__progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--r-pill);
  transition: width .4s ease;
  width: 33%;
}
.quiz__progress-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.quiz__body { padding: var(--s8); }

/* Шаги квиза */
.quiz__step { display: none; }
.quiz__step.is-active { display: block; }

.quiz__step-title {
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--s6);
}

/* Строка позиции */
.quiz__position {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--s6);
  margin-bottom: var(--s4);
}
.quiz__position-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: var(--s3);
  align-items: end;
}
@media (max-width: 767px) {
  .quiz__position-row { grid-template-columns: 1fr 1fr; }
  .quiz__position-row .form-field:last-child { grid-column: span 2; }
}
.quiz__position-remove {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,78,0,.1);
  border: 1px solid rgba(255,78,0,.2);
  border-radius: var(--r-md);
  color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-end;
  transition: background var(--transition);
}
.quiz__position-remove:hover { background: rgba(255,78,0,.2); }

.quiz__file-zone {
  border: 1.5px dashed rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  padding: var(--s6);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  margin-top: var(--s4);
  background: rgba(255,255,255,.02);
  position: relative;
}
.quiz__file-zone:hover {
  border-color: rgba(255,78,0,.35);
  background: var(--accent-subtle2);
}
.quiz__file-zone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
  color: var(--text-muted);
  transition: color var(--transition);
}
.quiz__file-zone:hover .quiz__file-zone-icon { color: var(--accent-hover); }
.quiz__file-zone-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s1);
}
.quiz__file-zone-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.quiz__file-zone input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
}

.quiz__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s6);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
}

/* Шаг 2 — доставка */
.quiz__delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.quiz__delivery-opt {
  padding: var(--s5);
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.quiz__delivery-opt:hover { border-color: var(--border-2); }
.quiz__delivery-opt.is-selected {
  border-color: var(--accent);
  background: var(--accent-subtle);
}
.quiz__delivery-opt-icon { font-size: 36px; margin-bottom: var(--s3); }
.quiz__delivery-opt-title { font-weight: 700; font-size: var(--text-base); }
.quiz__delivery-opt-sub { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--s1); }

/* Шаг 3 — результат и форма */
.quiz__result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
@media (min-width: 768px) {
  .quiz__result-grid { grid-template-columns: 1fr 1fr; }
}
.quiz__estimate {
  background: linear-gradient(135deg, rgba(255,78,0,.08), rgba(255,78,0,.03));
  border: 1px solid rgba(255,78,0,.2);
  border-radius: var(--r-xl);
  padding: var(--s6);
}
.quiz__estimate-label { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s3); }
.quiz__estimate-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--accent-hover);
  letter-spacing: .02em;
  margin-bottom: var(--s2);
}
.quiz__estimate-note { font-size: var(--text-xs); color: var(--text-muted); }

.quiz__contact-form { display: flex; flex-direction: column; gap: var(--s4); }
.quiz__contact-methods {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}
.quiz__contact-method {
  flex: 1;
  min-width: 120px;
  padding: var(--s3) var(--s4);
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
}
.quiz__contact-method svg { flex-shrink: 0; opacity: .9; }
.quiz__contact-method:hover { border-color: var(--border-2); }
.quiz__contact-method.is-selected {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: var(--accent-hover);
}

/* ── ══════════════════════════════════════════════════════════
   ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ
   ══════════════════════════════════════════════════════════ ── */
.services { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (min-width: 768px)  { .services__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(6, 1fr); } }

.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: all var(--transition);
  min-height: 160px;
}
.service-card:hover {
  border-color: rgba(255,78,0,.25);
}
.service-card__icon {
  font-size: 36px;
  line-height: 1;
}
.service-card__title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
}
.service-card__sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

/* ── ══════════════════════════════════════════════════════════
   КЕЙСЫ / ГАЛЕРЕЯ
   ══════════════════════════════════════════════════════════ ── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (min-width: 768px) { .gallery__grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; } }

.gallery-item {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  min-height: 240px;
  padding: var(--s5);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.gallery-item:hover { border-color: var(--border-2); }
.gallery-item:first-child { grid-row: span 2; min-height: 360px; }

.gallery-item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.gallery-item:hover .gallery-item__img { transform: scale(1.04); }
.gallery-item__mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  opacity: .12;
}
.gallery-item__caption {
  position: relative;
  z-index: 1;
  background: rgba(13,17,23,.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

/* ── ══════════════════════════════════════════════════════════
   ДОВЕРИЕ
   ══════════════════════════════════════════════════════════ ── */
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
@media (min-width: 900px) { .trust__grid { grid-template-columns: 1fr 1fr; } }

.trust__list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.trust-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s4) var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.trust-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  margin-top: 6px;
}
.trust-item__text { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.5; }
.trust-item__text strong { color: var(--text); }

.trust__certs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.trust__certs-title { font-weight: 700; font-size: var(--text-base); }
.trust__certs-placeholder {
  flex: 1;
  border: 1.5px dashed var(--border-2);
  border-radius: var(--r-lg);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--s5);
}

/* ── ══════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════ ── */
.faq { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  max-width: 800px;
}

.faq__list--full {
  max-width: none;
  width: 100%;
  gap: var(--s4);
}
.faq__list--full .faq-item__trigger {
  padding: var(--s6) clamp(var(--s5), 3vw, var(--s8));
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
}
.faq__list--full .faq-item__body-inner {
  padding: 0 clamp(var(--s5), 3vw, var(--s8)) var(--s6);
  font-size: var(--text-base);
  max-width: 90ch;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.is-open { border-color: rgba(255,78,0,.25); }

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}
.faq-item__trigger:hover { background: rgba(255,255,255,.03); }

.faq-item__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--accent-subtle);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: rgba(255,78,0,.2); }

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.16,1,.3,1);
}
.faq-item__body-inner {
  padding: 0 var(--s6) var(--s5);
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ── ══════════════════════════════════════════════════════════
   ФИНАЛЬНЫЙ CTA
   ══════════════════════════════════════════════════════════ ── */
.final-cta {
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,78,0,.1), transparent 65%);
  pointer-events: none;
}

.final-cta__box {
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s8), 5vw, var(--s16));
  position: relative;
  z-index: 1;
}

.final-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}
@media (min-width: 900px) { .final-cta__grid { grid-template-columns: 1fr 420px; align-items: start; } }

.final-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: .01em;
  line-height: 1.0;
  margin-bottom: var(--s4);
}
.final-cta__title em { font-style: normal; color: var(--accent); }
.final-cta__sub { color: var(--text-muted); font-size: var(--text-base); margin-bottom: var(--s6); max-width: 50ch; }

.final-cta__perks {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.final-cta__perk {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.final-cta__perk::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

.final-cta__form {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.final-cta__form-title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text);
}
.final-cta__file-zone {
  border: 1.5px dashed var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--s4);
  text-align: center;
  cursor: pointer;
  font-size: var(--text-xs);
  color: var(--text-faint);
  transition: all var(--transition);
}
.final-cta__file-zone:hover {
  border-color: rgba(255,78,0,.3);
  background: var(--accent-subtle2);
  color: var(--text-muted);
}
.final-cta__privacy {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-align: center;
}
.final-cta__privacy a { color: var(--text-muted); text-decoration: underline; }

/* ── ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ ── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--s10) var(--s12);
  background: var(--surface);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brand .logo { margin-bottom: var(--s4); }
.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.6;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-faint);
  margin-bottom: var(--s4);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text); }

.footer__contacts { display: flex; flex-direction: column; gap: var(--s3); }
.footer__contact-item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.footer__contact-item a { color: var(--text-muted); transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--accent-hover); }

.footer__bottom {
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--text-faint);
}
.footer__legal-links {
  display: flex;
  gap: var(--s5);
}
.footer__legal-links a {
  font-size: var(--text-xs);
  color: var(--text-faint);
  transition: color var(--transition);
}
.footer__legal-links a:hover { color: var(--text-muted); }

/* ── ══════════════════════════════════════════════════════════
   COOKIE БАННЕР
   ══════════════════════════════════════════════════════════ ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: var(--s4) var(--s6);
  background: rgba(22,27,34,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  flex: 1;
}
.cookie-banner__text a { color: var(--text); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--s3); }

/* ── ══════════════════════════════════════════════════════════
   МОБИЛЬНАЯ STICKY ПАНЕЛЬ
   ══════════════════════════════════════════════════════════ ── */
.mobile-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(13,17,23,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.mobile-sticky.is-visible { transform: translateY(0); }

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

.mobile-sticky__phone {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}
.mobile-sticky__phone svg { color: var(--ok); flex-shrink: 0; }

/* ── ══════════════════════════════════════════════════════════
   МОБИЛЬНОЕ МЕНЮ
   ══════════════════════════════════════════════════════════ ── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 190;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: var(--s8) var(--s6);
  gap: var(--s6);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform .35s cubic-bezier(.16,1,.3,1),
    visibility 0s linear .35s;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform .35s cubic-bezier(.16,1,.3,1),
    visibility 0s linear 0s;
}

.mobile-menu__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.mobile-menu__nav a {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu__nav a:hover { color: var(--accent-hover); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: var(--s3); margin-top: auto; }

.mobile-menu__messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.mobile-menu__messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 72px;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.mobile-menu__messenger:hover {
  border-color: rgba(255,78,0,.3);
  color: var(--accent-hover);
  background: rgba(255,78,0,.06);
}
.mobile-menu__messenger-icon { flex-shrink: 0; }
.mobile-menu__messenger--telegram .mobile-menu__messenger-icon { color: #2aabee; }
.mobile-menu__messenger--max .mobile-menu__messenger-icon { color: #7b68ee; }

/* ── ══════════════════════════════════════════════════════════
   УТИЛИТЫ
   ══════════════════════════════════════════════════════════ ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.text-accent  { color: var(--accent-hover); }
.text-muted   { color: var(--text-muted); }
.text-gold    { color: var(--gold); }
.text-ok      { color: var(--ok); }
.font-display { font-family: var(--font-display); }
.text-center  { text-align: center; }
.hidden       { display: none !important; }

/* Fade-in on scroll — без JS контент виден сразу */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.is-active,
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Стаггер */
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.reveal[data-delay="6"] { transition-delay: .6s; }

/* ── ══════════════════════════════════════════════════════════
   АДАПТИВ — общие поправки
   ══════════════════════════════════════════════════════════ ── */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
  .section { padding-block: var(--s10); }
  .quiz__body { padding: var(--s5); }
  .final-cta__box { padding: var(--s6); }
  .popup { padding: var(--s6); }
}

/* ─── Quiz success state ─────────────────────────────────── */
.quiz__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s6);
  padding: var(--s16) var(--s8);
  text-align: center;
}

.quiz__success svg {
  flex-shrink: 0;
}

.quiz__success h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: .04em;
  color: var(--clr-ok);
  margin: 0;
}

.quiz__success p {
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  max-width: 360px;
  margin: 0 auto;
}

/* ─── Generic form success message ──────────────────────── */
.form__success-message {
  padding: var(--s8);
  background: color-mix(in srgb, var(--clr-ok) 12%, transparent);
  border: 1px solid var(--clr-ok);
  border-radius: var(--r-lg);
  color: var(--clr-ok);
  font-size: var(--text-sm);
  text-align: center;
}

/* ─── Quiz position reveal animation ────────────────────── */
.quiz__position {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}

.quiz__position:first-child,
.quiz__position.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Переопределение карточек услуг — большой формат ───── */
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  min-height: 220px;
  justify-content: space-between;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.service-card__photo-zone {
  margin-top: var(--s4);
  border: 1.5px dashed var(--border-2);
  border-radius: var(--r-lg);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--s3);
}

/* ─── Факты о производстве в блоке доверия ──────────────── */
.trust__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  margin-top: var(--s5);
}

.trust__fact {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  text-align: center;
}

.trust__fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gold);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: var(--s1);
}

.trust__fact-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ─── Hero aside note ───────────────────────────────────── */
.hero__aside-note {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
}

.hero__aside-note-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}

.hero__aside-note-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── Quiz outer layout (двухколоночный) ─────────────────── */
.quiz__outer {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  align-items: start;
}
@media (min-width: 900px) {
  .quiz__outer { grid-template-columns: 280px 1fr; }
}

/* ─── Quiz sidebar ────────────────────────────────────────── */
.quiz__sidebar {
  background: rgba(28,33,40,.95);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.quiz__sidebar-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: .04em;
  color: var(--text);
}

.quiz__sidebar-items {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.quiz__sidebar-item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.quiz__sidebar-item strong { color: var(--text); font-weight: 600; }

.quiz__sidebar-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  background: rgba(63,185,80,.12);
  border: 1px solid rgba(63,185,80,.22);
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 1px;
}

.quiz__sidebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  margin-top: 5px;
}

.quiz__sidebar-min {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
}

.quiz__sidebar-min-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.quiz__sidebar-min-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold);
  letter-spacing: .04em;
}

.quiz__sidebar-phone {
  gap: var(--s2);
  font-size: var(--text-sm);
  justify-content: center;
}

/* Quiz — premium form fields */
.quiz .form-input,
.quiz .form-select {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  min-height: 52px;
  color: var(--text);
}
.quiz .form-input:hover,
.quiz .form-select:hover {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}
.quiz .form-input:focus,
.quiz .form-select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.quiz .form-label {
  color: rgba(139,148,158,.95);
  letter-spacing: .06em;
}
.quiz .form-select {
  color: var(--text);
}
.quiz .form-select:invalid,
.quiz select.form-input option[value=""] {
  color: var(--text-muted);
}

/* ── ══════════════════════════════════════════════════════════
   ДОП. УСЛУГИ — SHOWCASE
   ══════════════════════════════════════════════════════════ ── */
.services__showcase {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.service-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.service-tile:hover {
  border-color: rgba(255,78,0,.22);
}

.service-tile--lead {
  display: grid;
  grid-template-columns: 1fr;
  border-color: rgba(255,78,0,.2);
  background: linear-gradient(145deg, var(--surface-3), var(--surface-2));
}
@media (min-width: 768px) {
  .service-tile--lead { grid-template-columns: 1.1fr 0.9fr; }
}

.services__showcase > .services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 640px) {
  .services__showcase > .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__showcase > .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.service-tile__media--sm { aspect-ratio: 16 / 9; }
.service-tile--lead .service-tile__media { min-height: 220px; }

.service-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.service-tile:hover .service-tile__img { transform: scale(1.04); }

.service-tile__index {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--accent-hover);
  background: rgba(13,17,23,.75);
  border: 1px solid rgba(255,78,0,.3);
  border-radius: var(--r-sm);
  padding: var(--s1) var(--s3);
  letter-spacing: .06em;
}

.service-tile__body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.service-tile--lead .service-tile__body {
  padding: var(--s6);
  justify-content: center;
}

.service-tile__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.service-tile__title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.25;
}
.service-tile--lead .service-tile__title { font-size: var(--text-xl); }

.service-tile__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

.services__callout {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  align-items: flex-start;
  padding: clamp(var(--s5), 3vw, var(--s6));
  background:
    linear-gradient(135deg, rgba(255,78,0,.07) 0%, var(--surface-2) 42%, var(--surface-3) 100%);
  border: 1px solid rgba(255,78,0,.24);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.services__callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(255,78,0,.12), transparent 70%);
  pointer-events: none;
}
.services__callout-icon {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255,78,0,.14);
  color: var(--accent-hover);
}
.services__callout-inner {
  position: relative;
  flex: 1;
}
.services__callout-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: var(--s3);
}
.services__callout-hook {
  margin: 0;
  font-size: clamp(var(--text-base), 2.2vw, var(--text-xl));
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  max-width: 54ch;
}
.services__callout-accent {
  color: var(--accent-hover);
  font-weight: 700;
}
@media (min-width: 768px) {
  .services__callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s5);
  }
  .services__callout .btn { flex-shrink: 0; }
}

/* Плавная анимация showcase при входе в viewport */
#servicesShowcase.is-inview .service-tile__img {
  animation: serviceImgReveal .9s cubic-bezier(.16,1,.3,1) backwards;
}
#servicesShowcase.is-inview .service-tile--lead .service-tile__img { animation-delay: .05s; }
#servicesShowcase.is-inview .services__grid .service-tile:nth-child(1) .service-tile__img { animation-delay: .12s; }
#servicesShowcase.is-inview .services__grid .service-tile:nth-child(2) .service-tile__img { animation-delay: .18s; }
#servicesShowcase.is-inview .services__grid .service-tile:nth-child(3) .service-tile__img { animation-delay: .24s; }
#servicesShowcase.is-inview .services__grid .service-tile:nth-child(4) .service-tile__img { animation-delay: .3s; }
#servicesShowcase.is-inview .services__grid .service-tile:nth-child(5) .service-tile__img { animation-delay: .36s; }

#servicesShowcase.is-inview .service-tile {
  transition:
    border-color .45s cubic-bezier(.16,1,.3,1),
    box-shadow .45s cubic-bezier(.16,1,.3,1);
}
#servicesShowcase.is-inview .service-tile:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

@keyframes serviceImgReveal {
  from { transform: scale(1.06); opacity: .88; }
  to   { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #servicesShowcase.is-inview .service-tile__img {
    animation: none;
  }
  .service-tile:hover .service-tile__img { transform: none; }
}

/* ── ══════════════════════════════════════════════════════════
   ДОВЕРИЕ — ОБНОВЛЁННЫЙ БЛОК
   ══════════════════════════════════════════════════════════ ── */
.trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}
@media (min-width: 1024px) {
  .trust__layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}

.trust__main {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.trust__intro {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  padding: var(--s5) var(--s6);
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(255,78,0,.04), transparent 85%);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  max-width: 62ch;
}

.trust__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 640px) {
  .trust__points { grid-template-columns: repeat(2, 1fr); }
}

.trust-point {
  display: flex;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--transition);
}
.trust-point:hover { border-color: rgba(255,78,0,.2); }

.trust-point:first-child {
  border-color: rgba(255,78,0,.22);
  background: linear-gradient(135deg, rgba(255,78,0,.05), var(--surface-2));
}

.trust-point__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255,78,0,.08);
  border: 1px solid rgba(255,78,0,.15);
  color: var(--accent-hover);
}

.trust-point strong {
  display: block;
  font-size: var(--text-base);
  color: var(--text);
  margin-bottom: var(--s1);
}
.trust-point p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

.trust__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.trust__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.trust__contact-btn:hover {
  border-color: rgba(255,78,0,.3);
  color: var(--accent-hover);
  background: rgba(255,78,0,.06);
}
.trust__contact-btn svg { flex-shrink: 0; color: var(--accent-hover); }
.trust__contact-row--direct { margin-bottom: var(--s1); }

.trust__messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.trust__messenger-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 88px;
  padding: var(--s4);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.trust__messenger-btn:hover {
  border-color: rgba(255,78,0,.3);
  color: var(--accent-hover);
  background: rgba(255,78,0,.06);
}
.trust__messenger-icon { flex-shrink: 0; }
.trust__messenger-icon--telegram { color: #2aabee; }
.trust__messenger-icon--max { color: #7b68ee; }
.trust__messenger-btn--muted {
  cursor: default;
  opacity: .85;
}
.trust__messenger-btn--muted:hover {
  border-color: var(--border);
  color: var(--text-muted);
  background: var(--surface-3);
}

.trust__aside {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}
@media (min-width: 1024px) {
  .trust__aside { position: sticky; top: calc(var(--header-h) + var(--s4)); }
}

.trust__facts { margin-top: 0; }

.trust__requisites-title,
.trust__contacts-title {
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: var(--s4);
}

.trust__requisites-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.trust__requisites-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s3);
  font-size: var(--text-sm);
}
.trust__requisites-list dt {
  color: var(--text-faint);
  font-weight: 600;
}
.trust__requisites-list dd {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.trust__placeholder {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.trust__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.trust__contact-link {
  font-size: var(--text-sm);
  color: var(--text);
  transition: color var(--transition);
}
.trust__contact-link:hover { color: var(--accent-hover); }
.trust__contact-link--muted {
  color: var(--text-muted);
  cursor: default;
}
.trust__contact-link--muted:hover { color: var(--text-muted); }

/* ── ══════════════════════════════════════════════════════════
   ФИНАЛЬНЫЙ CTA — ДОП. КНОПКИ
   ══════════════════════════════════════════════════════════ ── */
.final-cta__alt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}

.final-cta__file-zone {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

/* ── ══════════════════════════════════════════════════════════
   FOOTER — РЕКВИЗИТЫ
   ══════════════════════════════════════════════════════════ ── */
.footer__requisites {
  margin-top: var(--s4);
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.5;
}

/* ── PRE-RELEASE + AUDIT FIXES ─────────────────────────────── */
.release-slot {
  display: inline-block;
  padding: var(--s1) var(--s3);
  border: 1px dashed rgba(255,78,0,.35);
  border-radius: var(--r-sm);
  background: rgba(255,78,0,.06);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.release-slot--inline {
  padding: 2px var(--s2);
  font-size: 9px;
  vertical-align: middle;
}

.hero__chips--compact {
  flex-wrap: wrap;
}

.service-tile:hover {
  border-color: rgba(255,78,0,.22);
}

.spec-item {
  flex-wrap: wrap;
  align-items: flex-start;
}
.spec-item__value {
  white-space: normal;
  text-align: right;
  word-break: break-word;
}

.specs__visual-placeholder {
  min-height: 220px;
  background: rgba(255,255,255,.02);
}

@media (max-width: 767px) {
  body.has-cookie-banner {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-sticky {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  body.has-cookie-banner.has-mobile-sticky {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky__phone {
    min-width: 0;
    font-size: var(--text-xs);
  }
  .mobile-sticky .btn {
    flex-shrink: 0;
    padding-inline: var(--s4);
  }

  .specs__highlights {
    gap: var(--s3);
  }
  .specs-highlight {
    padding: var(--s4);
  }
  .specs-highlight__value {
    font-size: var(--text-lg);
  }

  .trust__requisites-list div {
    grid-template-columns: 1fr;
    gap: var(--s1);
  }
  .trust__requisites-list dt {
    font-size: var(--text-xs);
  }

  .process__track::before {
    display: none;
  }

  .faq-item__trigger {
    padding: var(--s4) var(--s5);
    font-size: var(--text-sm);
    gap: var(--s3);
  }
  .faq-item__body-inner {
    padding: 0 var(--s5) var(--s5);
    font-size: var(--text-sm);
  }

  .final-cta__alt-actions {
    flex-direction: column;
  }
  .final-cta__alt-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .services__showcase > .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ── FORM CONSENT ──────────────────────────────────────────── */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  cursor: pointer;
  text-align: left;
}
.form-consent__input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent__text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.form-consent__text a {
  color: var(--accent-hover);
  text-decoration: underline;
}
.form-consent__text a:hover { color: var(--accent); }
.form-consent--invalid .form-consent__text { color: #f85149; }

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}
.legal-page__header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
}
.legal-page__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
}
.legal-page__back {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.legal-page__back:hover { color: var(--accent-hover); }
.legal-page__main {
  padding-block: var(--s10) var(--s16);
}
.legal-page__card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(var(--s6), 4vw, var(--s10));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.legal-page__card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 var(--s5);
  text-transform: uppercase;
}
.legal-page__card h2 {
  font-size: var(--text-lg);
  color: var(--accent-hover);
  margin: var(--s8) 0 var(--s4);
  line-height: 1.25;
}
.legal-page__card p,
.legal-page__card li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.legal-page__card p { margin: 0 0 var(--s4); }
.legal-page__card ul {
  margin: 0 0 var(--s4);
  padding-left: 1.25rem;
}
.legal-page__card li { margin-bottom: var(--s2); }
.legal-page__lead {
  font-size: var(--text-base);
  color: var(--text);
}
.legal-page__meta {
  margin: var(--s6) 0;
  padding: var(--s5);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.legal-page__meta p:last-child { margin-bottom: 0; }
.legal-page__card a {
  color: var(--accent-hover);
  text-decoration: underline;
}
.legal-page__card a:hover { color: var(--accent); }

