/* ============================================================
   ШРИФТЫ (локально, без Google Fonts, 152-ФЗ-совместимо)
   Inter 400/500/600/700 · Unbounded 600/700/800/900
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-500.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/unbounded-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/unbounded-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/unbounded-latin-800.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic-800.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin-900.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic-900.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}


/* ============================================================
   APEX · ЧБ макет, экран 1 (Hero)
   Десктоп от 1200px, мобайл от 360px
   ============================================================ */

:root {
  --bg:              #000000;
  --bg-elev:         #0c0c0c;
  --bg-card:         #0f0f10;
  --bg-photo:        #161618;
  --text:            #ffffff;
  --text-mute:       #8a8a8a;
  --text-soft:       #c7c7c7;
  --hairline:        rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.22);

  --max-container: 1320px;     /* ОДНА ширина для шапки, hero, USP */
  --max-center:    900px;      /* ширина центрального текста hero */
  --gutter:        40px;

  --ff-display:    'Unbounded', 'Inter', sans-serif;
  --ff-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --fs-h1:         clamp(26px, 3.5vw, 50px);
  --fs-sub:        clamp(15px, 1.35vw, 18px);
  --fs-usp-title:  16px;
  --fs-usp-text:   13px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
b, strong { font-weight: 700; color: var(--text); }


/* ============================================================
   ЕДИНЫЙ КОНТЕЙНЕР (шапка и hero лежат внутри него)
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
  position: relative;
  z-index: 10;
}
.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.topbar__inner > :first-child { justify-self: start; }
.topbar__inner > :last-child  { justify-self: end; }
.topbar__pills { justify-self: center; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--text);
  border-radius: 9px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
}
.logo__text { display: inline-flex; align-items: baseline; gap: 6px; }
.logo__sub  { font-family: var(--ff-body); font-weight: 400; font-size: 12px; color: var(--text-mute); letter-spacing: 0.02em; }

.topbar__pills {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}
.pill__dot {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.topbar__phone {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.topbar__phone-btn { display: none; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active   { transform: translateY(1px); }
.btn--primary { background: #ffffff; color: #000000; }
.btn--primary:hover { background: #e9e9e9; }
.btn--ghost   { background: transparent; color: #ffffff; border-color: var(--hairline-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.4); }
.btn--sm      { padding: 10px 16px; font-size: 13px; }
.btn--lg      { padding: 18px 28px; font-size: 15px; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 56px;
  min-height: calc(100vh - 67px);
  background-image: url('../assets/hero/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* тёмный overlay для читаемости центрального контента поверх фона */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 50% 45%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0) 45%);
  pointer-events: none;
  z-index: 0;
}
.hero__container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
  z-index: 1;
}

/* сцены по бокам: реальные фотографии, сдвинуты на 20px наружу */
.hero__bg-slot {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(180px, 20vw, 300px);
  border-radius: 18px;
  pointer-events: none;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero__bg-slot--left {
  left: calc(var(--gutter) - 20px);
  background-image: url('../assets/hero/hero-left.png');
  background-position: right center;
}
.hero__bg-slot--right {
  right: calc(var(--gutter) - 20px);
  background-image: url('../assets/hero/hero-right.png');
  background-position: left center;
}

/* центральный блок */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-center);
  margin: 0 auto;
  text-align: center;
  padding-top: 12px;
}

.hero__pre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero__pre-icon { display: none; }

.hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero__title-num {
  font-weight: 900;
  white-space: nowrap;
}
.hero__title-chrome {
  display: inline-block;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1)    50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  will-change: transform;
}

.hero__sub {
  font-family: var(--ff-body);
  font-size: var(--fs-sub);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 660px;
  margin: 24px auto 0;
}
.hero__sub b { color: #ffffff; font-weight: 700; }

/* большой одиночный CTA (получить консультацию) */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 460px;
  max-width: 100%;
  padding: 18px 22px 18px 28px;
  margin-top: 32px;
  background: #ffffff;
  color: #000000;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04), 0 12px 32px -16px rgba(255, 255, 255, 0.18);
}
.cta:hover  { background: #ededed; }
.cta:active { transform: translateY(1px); }
.cta__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cta__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.cta__sub {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.35;
}
.cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.cta:hover .cta__arrow { transform: translateX(3px); }

.hero__trust {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}
.hero__trust-dot {
  width: 3px; height: 3px;
  background: var(--text-mute);
  border-radius: 50%;
}
.hero__trust-item { display: contents; }
.hero__trust-icon { display: none; }


/* ============================================================
   HERO · USP ROW
   3 карточки. Текст сверху, плейсхолдер фото снизу.
   ============================================================ */
.hero__usp {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;          /* центрировано внутри контейнера 1320 */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.usp {
  position: relative;
  background-color: var(--bg-card);
  background-image: url('../assets/usp/usp-bg.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.usp:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}
/* мягкий overlay для читаемости текста поверх фона */
.usp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 0;
}
.usp__body, .usp__photo { position: relative; z-index: 1; }

.usp__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
}
.usp__num {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  font-weight: 700;
}
.usp__title {
  font-family: var(--ff-display);
  font-size: var(--fs-usp-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.usp__text {
  font-family: var(--ff-body);
  font-size: var(--fs-usp-text);
  color: var(--text-soft);
  line-height: 1.5;
}
.usp__photo {
  flex: 0 0 auto;
  height: 140px;
  background-color: var(--bg-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* placeholder-надпись: видно только когда у элемента ещё нет реального фото */
.usp__photo:not([style*="background-image"]) {
  border: 1px dashed var(--hairline-strong);
}
.usp__photo:not([style*="background-image"])::before {
  content: attr(data-placeholder);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 0 14px;
}


/* ============================================================
   ADAPTIVE
   ============================================================ */

/* tablet */
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .topbar__pills .pill:last-child { display: none; }
  .hero__bg-slot { display: none; }
  .hero__usp {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 12px;
  }
  .usp { padding: 18px; gap: 14px; }
  .usp__photo { height: 110px; }
  .hero { padding-top: 48px; }
  .hero__container { gap: 48px; }
}

/* small tablet */
@media (max-width: 880px) {
  .hero__usp { grid-template-columns: 1fr; gap: 12px; max-width: 480px; }
  .usp__photo { height: 160px; }
}

/* mobile */
@media (max-width: 720px) {
  :root { --gutter: 16px; }

  /* ===== ШАПКА (мобилка): светлая пилюля поверх фона hero ===== */
  .topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 0 0;
    border-bottom: none;
    background: transparent;
    z-index: 20;
  }
  .topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    border-radius: 22px;
    padding: 6px 6px 6px 12px;
    box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(0,0,0,0.03);
    box-sizing: border-box;
  }
  .topbar__pills { display: none; }
  .topbar__cta .btn { display: none; }
  /* Раскрываем cta-контейнер, чтобы телефон и кнопка стали прямыми flex-items
     родителя. Тогда justify-content: space-between в .topbar__inner раскидает
     логотип, телефон-текст и круглую кнопку по трём точкам. */
  .topbar__cta { display: contents; }
  .logo {
    font-size: 16px;
    color: #0b0b0b;
    letter-spacing: 0.02em;
    gap: 8px;
    flex: 0 0 auto;
  }
  .logo__mark {
    position: relative;
    width: 32px;
    height: 32px;
    background: #E31E24;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 6px 14px -6px rgba(227,30,36,0.55);
  }
  .logo__text { color: #0b0b0b; font-weight: 900; letter-spacing: 0.04em; font-size: 16px; }
  .logo__sub { display: none; }
  .topbar__phone {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0;
    color: #0b0b0b;
    white-space: nowrap;
    flex: 0 1 auto;
  }
  .topbar__phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f7;
    color: #E31E24;
    box-shadow: 0 6px 14px -8px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(0,0,0,0.06);
    transition: transform .15s ease;
    flex: 0 0 40px;
  }
  .topbar__phone-btn svg { width: 18px; height: 18px; }
  .topbar__phone-btn:active { transform: scale(0.96); }

  /* ===== HERO (мобилка) — пиксель-в-пиксель по референсу ===== */
  .hero {
    padding: 90px 0 20px;
    min-height: 0;
    background-image: none;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
  }
  /* Фон-картинка: 1в1 с исходником, натуральные пропорции.
     Высота = высота первого экрана (100dvh). Машина заходит справа
     ровно на своё место (низ-серёдка), сверху и снизу — светлый воздух. */
  .hero::before {
    display: block;
    content: '';
    position: absolute;
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 100dvh;
    max-height: 900px;
    background: none;
    background-image: url('../assets/hero/hero-mobile.png');
    background-size: auto 100%;
    background-position: right top;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
  }
  @supports not (height: 100dvh) {
    .hero::before { height: 100vh; }
  }
  .hero__container { position: relative; z-index: 2; }
  .hero__bg-slot { display: none; }
  .hero__container { gap: 20px; padding: 0 16px; }
  .hero__inner {
    text-align: left;
    max-width: 100%;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
  }
  /* Порядок на мобилке: пре → заголовок → описание → буллиты → CTA */
  .hero__pre   { order: 1; }
  .hero__title { order: 2; }
  .hero__sub   { order: 3; }
  .hero__trust { order: 4; }
  .cta         { order: 5; }

  /* Пилюля-заголовок: fit-content, не растягивается на всю ширину */
  .hero__pre {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    max-width: fit-content;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: #E31E24;
    background: rgba(255,255,255,0.9);
    border: 1.5px solid #E31E24;
    padding: 8px 16px 8px 12px;
    margin-bottom: 22px;
    font-weight: 700;
    gap: 8px;
    border-radius: 999px;
    box-shadow: 0 6px 20px -10px rgba(227,30,36,0.25);
    align-self: flex-start;
  }
  .hero__pre-icon {
    display: inline-flex;
    color: #E31E24;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }
  .hero__pre-icon svg { width: 18px; height: 18px; stroke-width: 2.2; }

  /* Заголовок — обтекает машину слева, компактный */
  .hero__title {
    position: relative;
    z-index: 2;
    font-family: var(--ff-display);
    font-size: clamp(17px, 4.9vw, 22px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: #0b0b0b;
    text-transform: uppercase;
    max-width: 74%;
    margin: 0;
  }
  /* "Оклейка авто" — КРАСНЫЙ на своей строке */
  .hero__title-red {
    display: block;
    width: fit-content;
    color: #E31E24;
    font-weight: 900;
    margin-bottom: 2px;
  }
  /* "В полиуретан" — чёрный на своей строке */
  .hero__title-part {
    display: block;
    width: fit-content;
    color: #0b0b0b;
    font-weight: 900;
    margin-bottom: 8px;
  }
  /* "От 1 дня:" — белый текст на красной плашке */
  .hero__title-num {
    display: block;
    width: fit-content;
    background: #E31E24;
    color: #ffffff;
    font-weight: 900;
    padding: 4px 16px 8px;
    margin: 0 0 16px;
    line-height: 1;
    border-radius: 2px;
    white-space: nowrap;
  }
  /* Chrome-блок: обычный чёрный, block */
  .hero__title-chrome {
    color: #0b0b0b;
    background: none;
    -webkit-background-clip: initial;
            background-clip: initial;
    -webkit-text-fill-color: currentColor;
    font-weight: 900;
    display: block;
    margin-top: 0;
  }
  /* "От царапин" — КРАСНЫЙ на своей строке */
  .hero__title-accent {
    display: block;
    width: fit-content;
    color: #E31E24;
    -webkit-text-fill-color: #E31E24;
    font-weight: 900;
    margin: 4px 0;
  }
  /* Убираем десктопный <br> внутри chrome — акцент уже даёт свою строку */
  .hero__title-chrome br { display: none; }

  /* Описание — тоже обтекает машину слева */
  .hero__sub {
    position: relative;
    z-index: 2;
    font-size: 12.5px;
    line-height: 1.45;
    color: #1a1a1a;
    margin: 16px 0 0;
    max-width: 72%;
    text-align: left;
    font-weight: 500;
  }
  .hero__sub b { color: #E31E24; font-weight: 800; white-space: nowrap; }

  /* БЕЛАЯ CTA-кнопка (как в референсе): чёрный текст, красная стрелка */
  .cta {
    min-width: 0;
    width: 100%;
    margin-top: 24px;
    padding: 18px 14px 18px 24px;
    background: #E31E24;
    color: #ffffff;
    border-radius: 12px;
    gap: 12px;
    box-shadow: 0 18px 36px -16px rgba(227,30,36,0.45);
  }
  .cta:hover  { background: #cc161c; }
  .cta__title {
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.1;
  }
  .cta__sub {
    font-size: 12.5px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 4px;
  }
  .cta__arrow {
    width: 52px;
    height: 52px;
    background: #ffffff;
    color: #E31E24;
    flex: 0 0 52px;
  }
  .cta__arrow svg { width: 24px; height: 24px; }

  /* 3 ПЛАШКИ ДОВЕРИЯ — вырезаны с экрана, но место сохраняется, ничего не сдвигается */
  .hero__trust {
    visibility: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 16px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 6px 12px;
    box-shadow: 0 10px 30px -14px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(0,0,0,0.04);
  }
  .hero__trust-dot { display: none; }
  .hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 2px 4px 0;
    text-align: center;
    position: relative;
  }
  /* Разделительные линии между буллитами (перед 2 и 3 итемом) */
  .hero__trust-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(0,0,0,0.12);
  }
  .hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #E31E24;
    background: rgba(227, 30, 36, 0.08);
    border-radius: 6px;
    flex: 0 0 28px;
  }
  .hero__trust-icon svg { width: 16px; height: 16px; stroke-width: 2; }
  .hero__trust-label {
    font-family: var(--ff-display);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.15;
    max-width: 100%;
  }

  /* USP-карточки — светлая тема + фото по натуральному аспект-ratio (16:9) */
  .hero__usp { grid-template-columns: 1fr; gap: 12px; max-width: 100%; margin-top: 8px; }
  .usp {
    padding: 14px;
    gap: 12px;
    background: #ffffff;
    background-image: none;
    border: 1px solid rgba(0,0,0,0.08);
  }
  .usp::before { display: none; }
  .usp:hover { background: #fafafa; border-color: rgba(0,0,0,0.14); transform: none; }
  .usp__body { min-height: 0; gap: 6px; }
  .usp__num { color: #E31E24; font-size: 10px; }
  .usp__title { font-size: 15px; color: #0b0b0b; }
  .usp__text { font-size: 13px; color: #555; }
  .usp__photo {
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #f2f2f4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
  }
  .usp__photo::before { color: #999; }
}

/* широкие экраны, больше воздуха */
@media (min-width: 1600px) {
  .hero { padding-top: 84px; padding-bottom: 72px; }
  .hero__container { gap: 76px; }
}


/* ============================================================
   БЛОК 2 · КАТАЛОГ СЦЕНАРИЕВ ЗАЩИТЫ
   ============================================================ */
.scenarios {
  position: relative;
  padding: 96px 0 104px;
  border-top: 1px solid var(--hairline);
}
.scenarios__container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.scenarios__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.scenarios__pre {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.scenarios__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.scenarios__title-chrome {
  display: inline-block;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1)    50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
}
.scenarios__sub {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 560px;
}

/* список карточек */
.scenarios__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* КАРТОЧКА = фото-фон на всю высоту + текст и низ оверлеем */
.scenario {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 26px;
  background-color: var(--bg-photo);
  background-size: cover;
  background-position: center;
  border: 1px dashed var(--hairline-strong);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.scenario:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.42);
}

/* выделенная карточка */
.scenario--featured {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 30px 80px -40px rgba(255, 255, 255, 0.22);
}
.scenario--featured:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* placeholder надпись пока без фото */
.scenario::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0.5;
  z-index: 0;
}

/* градиенты сверху/снизу для читаемости текста поверх фото */
.scenario::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(0deg,   rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0) 36%);
  z-index: 1;
  pointer-events: none;
}

/* Единые настройки для трёх сцен: zones / full / optics.
   Используем `contain` — сцена вписывается по большей стороне независимо от пропорций,
   ничего не обрезается, все сцены попадают в одну и ту же зону карточки. */
.scenario--zones,
.scenario--full,
.scenario--optics {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  background-origin: content-box;
}
.scenario--zones::before,
.scenario--full::before,
.scenario--optics::before { display: none; }
.scenario--zones::after,
.scenario--full::after,
.scenario--optics::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(0deg,   rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0) 18%);
}

/* Полный кузов: пропорция 16:10 (шире) → при contain сцена ниже.
   Фиксируем высоту как у zones/optics, ширина растянется больше
   ширины карточки — крайние подписи по бокам уйдут в overflow. */
.scenario--full {
  background-origin: padding-box;
  background-size: auto 56%;
  background-position: center 96%;
}
@media (max-width: 880px) {
  .scenario--full { background-size: auto 50%; background-position: center 94%; }
}


.scenario__top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scenario__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.scenario__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 5px 11px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.scenario__tag--accent {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
}

.scenario__title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}
.scenario__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 36ch;
}

.scenario__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.scenario__price-prefix {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.scenario__price-val {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

.scenario__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  background: rgba(0, 0, 0, 0.32);
  transition: background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.scenario__cta:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}
.scenario__cta--accent {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.scenario__cta--accent:hover {
  background: #ededed;
  border-color: #ededed;
}


/* ====== БАННЕР «нужна защита отдельных деталей?» ====== */
.banner-consult {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 34px 40px;
  background: #f4f4f4;
  color: #0a0a0a;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(255, 255, 255, 0.18);
}
.banner-consult__decor {
  position: absolute;
  top: 0;
  right: 28%;
  bottom: 0;
  width: 360px;
  pointer-events: none;
  opacity: 0.35;
  background:
    radial-gradient(circle at 60% 50%, rgba(0, 0, 0, 0.12) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-consult__decor::before {
  content: attr(data-placeholder);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
}
.banner-consult__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 580px;
}
.banner-consult__title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #0a0a0a;
}
.banner-consult__sub {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.62);
}
.banner-consult__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 16px 26px;
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.banner-consult__btn:hover  { background: #1c1c1c; }
.banner-consult__btn:active { transform: translateY(1px); }
.banner-consult__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #0a0a0a;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.banner-consult__btn:hover .banner-consult__btn-arrow { transform: translateX(3px); }


/* ===== ADAPTIVE для блока 2 ===== */
@media (max-width: 1100px) {
  .scenarios { padding: 72px 0 80px; }
  .scenarios__container { gap: 44px; }
  .scenarios__list { gap: 14px; }
  .scenario { min-height: 440px; padding: 22px; }
  .scenario__title { font-size: 22px; }
  .banner-consult { padding: 28px 32px; gap: 24px; }
  .banner-consult__title { font-size: 22px; }
}

@media (max-width: 880px) {
  .scenarios__list {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  .scenario { min-height: 460px; }
  .banner-consult {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px;
  }
  .banner-consult__decor { display: none; }
  .banner-consult__btn { justify-self: start; }
}

@media (max-width: 720px) {
  .scenarios { padding: 56px 0 64px; }
  .scenarios__container { gap: 32px; }
  .scenarios__head { gap: 14px; }
  .scenarios__pre { font-size: 11px; padding: 5px 12px; }
  .scenarios__title { font-size: clamp(24px, 6.5vw, 30px); }
  .scenarios__sub { font-size: 13px; }
  .scenario { min-height: 420px; padding: 20px; border-radius: 16px; }
  .scenario__title { font-size: 20px; }
  .scenario__text { font-size: 13px; }
  .scenario__price-val { font-size: 20px; }
  .scenario__cta { padding: 10px 14px; font-size: 12px; }
  .banner-consult { padding: 22px; border-radius: 18px; }
  .banner-consult__title { font-size: 19px; }
  .banner-consult__sub { font-size: 13px; }
  .banner-consult__btn {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
    padding: 14px 14px 14px 20px;
    white-space: normal;
    text-align: left;
    line-height: 1.2;
    border-radius: 14px;
  }
  .banner-consult__btn-label { max-width: calc(100% - 46px); }
  .banner-consult__btn-arrow { width: 34px; height: 34px; flex: 0 0 34px; }
}


/* ============================================================
   БЛОК 3 · КВИЗ / КАЛЬКУЛЯТОР
   ============================================================ */
.quiz {
  position: relative;
  padding: 72px 0 80px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, #050505 0%, #000 100%);
}
.quiz__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.quiz__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.quiz__pre {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.quiz__title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.quiz__title-chrome {
  display: inline;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1)    50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
}

/* layout: 2 колонки на десктопе */
.quiz__layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* ===== ЛЕВАЯ КОЛОНКА: анонс эксперта ===== */
.quiz__intro {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quiz__expert-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quiz__photo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 60%),
    var(--bg-photo);
  border: 1px dashed var(--hairline-strong);
  overflow: hidden;
  position: relative;
}
.quiz__expert {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.quiz__expert-name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}
.quiz__expert-role {
  font-size: 12px;
  color: var(--text-mute);
}
.quiz__intro-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}
.quiz__bonuses {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.quiz__bonuses li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
}
.quiz__bonus-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline-strong);
  border-radius: 7px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--text);
}
.quiz__bonus--gift .quiz__bonus-num {
  background: #fff;
  border-color: #fff;
  color: #000;
}
.quiz__bonus--gift .quiz__bonus-text b { color: #fff; }

/* ===== ПРАВАЯ КОЛОНКА: виджет ===== */
.quiz__widget {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* прогресс */
.quiz__bar { display: flex; flex-direction: column; gap: 10px; }
.quiz__bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.quiz__bar-step {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.quiz__bar-step span { color: var(--text); }
.quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.quiz__back:hover { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.quiz__back[hidden] { display: none; }
.quiz__bar-track {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.quiz__bar-fill {
  position: absolute;
  inset: 0;
  width: 25%;
  background: #ffffff;
  border-radius: 999px;
  transition: width .35s ease;
}

/* шаги */
.quiz__step { display: none; flex-direction: column; gap: 14px; }
.quiz__step--active { display: flex; }
.quiz__step-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}
.quiz__step-sub {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-top: -8px;
}

/* варианты ответа */
.quiz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.quiz__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  font-family: var(--ff-body);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
  min-height: 56px;
}
.quiz__option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.45);
}
.quiz__option.is-selected {
  background: rgba(255, 255, 255, 0.10);
  border-color: #ffffff;
}
.quiz__option-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}
.quiz__option-meta {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0;
}
.quiz__option-mark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-strong);
  position: relative;
  transition: border-color .15s ease, background-color .15s ease;
}
.quiz__option.is-selected .quiz__option-mark {
  background: #fff;
  border-color: #fff;
}
.quiz__option.is-selected .quiz__option-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: #000;
  border-radius: 50%;
}

/* ===== ФИНАЛЬНЫЙ ШАГ ===== */
.quiz__step--final { gap: 22px; }
.quiz__summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.quiz__summary-title {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  flex: 0 0 auto;
}
.quiz__summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quiz__summary-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  font-size: 12px;
  line-height: 1.2;
}
.quiz__summary-key {
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quiz__summary-val {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 540px) {
  .quiz__summary { flex-direction: column; align-items: flex-start; gap: 8px; }
  .quiz__summary-list { justify-content: flex-start; }
}

.quiz__field { display: flex; flex-direction: column; gap: 10px; }
.quiz__field--row { flex-direction: row; gap: 10px; align-items: flex-start; }

/* обёртка инпута с местом под подпись-ошибку */
.quiz__input-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: text;
}

/* обёртка чекбокса с подписью-ошибкой снизу */
.quiz__agree-wrap { display: flex; flex-direction: column; gap: 6px; }

/* сообщение об ошибке под полем */
.quiz__error {
  color: #ff8585;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  padding-left: 2px;
  display: block;
}
.quiz__error--agree { padding-left: 26px; }
.quiz__error[hidden] { display: none; }
.quiz__label {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* каналы связи */
.quiz__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.quiz__channel { position: relative; cursor: pointer; }
.quiz__channel input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__channel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  color: var(--text-soft);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.quiz__channel:hover .quiz__channel-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.quiz__channel input:checked + .quiz__channel-box {
  background: #ffffff;
  border-color: #ffffff;
  color: #000;
}
.quiz__channel-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.quiz__channel-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* инпуты */
.quiz__input {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.quiz__input::placeholder { color: var(--text-mute); }
.quiz__input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.quiz__input.is-error {
  border-color: #ff5b5b;
  background: rgba(255, 91, 91, 0.06);
}
.quiz__input.is-error:focus {
  border-color: #ff8585;
  background: rgba(255, 91, 91, 0.10);
}
.quiz__input.is-valid {
  border-color: rgba(80, 220, 120, 0.55);
}

/* согласие */
.quiz__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-mute);
  cursor: pointer;
}
.quiz__agree input {
  flex: 0 0 16px;
  width: 16px; height: 16px;
  margin-top: 1px;
  accent-color: #ffffff;
  cursor: pointer;
}
.quiz__agree a { color: var(--text); border-bottom: 1px solid var(--hairline-strong); }
.quiz__agree a:hover { border-color: #fff; }
.quiz__agree.is-error { color: #ff8585; }
.quiz__agree.is-error a { border-color: #ff8585; }
.quiz__agree.is-error input {
  outline: 2px solid #ff5b5b;
  outline-offset: 2px;
  border-radius: 3px;
}

/* submit */
.quiz__submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 14px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.quiz__submit:hover  { background: #ededed; }
.quiz__submit:active { transform: translateY(1px); }
.quiz__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #ffffff;
  transform: none;
}
.quiz__submit:disabled:hover { background: #ffffff; }
.quiz__submit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #ffffff;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.quiz__submit:hover .quiz__submit-arrow { transform: translateX(3px); }

/* успех */
.quiz__step--success {
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 0;
}
.quiz__success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #ffffff;
  color: #000;
  border-radius: 50%;
  margin-bottom: 8px;
}


/* ===== ADAPTIVE ===== */
@media (max-width: 980px) {
  .quiz__layout { grid-template-columns: 1fr; gap: 16px; }
  .quiz__intro { padding: 20px; gap: 14px; }
  .quiz__intro-text { display: none; }
}

@media (max-width: 720px) {
  .quiz { padding: 56px 0 64px; }
  .quiz__head { gap: 12px; }
  .quiz__pre { font-size: 11px; padding: 5px 12px; }
  .quiz__title { font-size: clamp(22px, 6vw, 28px); }
  .quiz__widget { padding: 22px; gap: 20px; min-height: 0; }
  .quiz__step-title { font-size: 19px; }
  .quiz__step-sub { font-size: 13px; }
  .quiz__options { grid-template-columns: 1fr; }
  .quiz__channels { grid-template-columns: 1fr; }
  .quiz__field--row { flex-direction: column; }
  .quiz__submit { font-size: 14px; padding: 16px 16px 16px 20px; }
}


/* ============================================================
   БЛОК 4 · КЕЙСЫ (Pinterest-masonry)
   ============================================================ */
.cases {
  position: relative;
  padding: 72px 0 80px;
  border-top: 1px solid var(--hairline);
}
.cases__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cases__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.cases__pre {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.cases__title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.cases__title-chrome {
  display: inline;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1)    50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
}
.cases__sub {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 580px;
}

.cases__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}
.cases__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-soft);
}
.cases__chip--accent {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 600;
}
.cases__chip-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

/* ===== Табы: Готовые работы / Процесс работы ===== */
.cases__tabs {
  display: inline-flex;
  align-self: center;
  gap: 6px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.cases__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-mute);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.cases__tab:hover { color: var(--text); }
.cases__tab.is-active {
  background: #ffffff;
  color: #000000;
}
.cases__tab-label { line-height: 1; }
.cases__tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.10);
  color: var(--text-soft);
}
.cases__tab.is-active .cases__tab-count {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
}

/* ===== Pinterest-style masonry ===== */
.cases__grid {
  columns: 4;
  column-gap: 10px;
  list-style: none;
  padding: 0;
}
.case {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 10px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.case[hidden] { display: none; }
.case:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
}

.case__photo {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  min-height: 220px;
  max-height: clamp(320px, 48vh, 520px);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-photo);
  transition: transform .35s ease;
}
.case:hover .case__photo { transform: scale(1.03); }

/* placeholder надпись, пока без фото */
.case__photo::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0.45;
  z-index: 0;
}

/* нижний градиент для читаемости подписи */
.case::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 38%);
  pointer-events: none;
  z-index: 1;
}

.case__meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.case__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  padding: 4px 9px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.case__title {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}


/* ===== ADAPTIVE ===== */

/* широкие десктопы: фото не должны быть гигантскими */
@media (min-width: 1500px) {
  .cases__grid { columns: 4; }
  .case__photo { max-height: 560px; }
}

/* стандартный десктоп */
@media (max-width: 1280px) {
  .cases__grid { columns: 3; }
  .case__photo { min-height: 240px; max-height: 540px; }
}

/* планшет */
@media (max-width: 900px) {
  .cases__grid { columns: 2; column-gap: 10px; }
  .case__photo { min-height: 260px; max-height: 460px; }
}

@media (max-width: 720px) {
  .cases { padding: 56px 0 64px; }
  .cases__container { gap: 24px; }
  .cases__head { gap: 12px; }
  .cases__pre { font-size: 11px; padding: 5px 12px; }
  .cases__title { font-size: clamp(22px, 6vw, 28px); }
  .cases__sub { font-size: 13px; }
  .cases__chip { font-size: 11px; padding: 6px 12px; }
  .cases__tabs { width: 100%; align-self: stretch; padding: 5px; }
  .cases__tab { flex: 1 1 0; justify-content: center; padding: 9px 12px; font-size: 12px; gap: 8px; }
  .cases__tab-count { min-width: 20px; height: 20px; font-size: 10px; }

  /* Слайдер: горизонтальный скролл со snap и краевым отступом */
  .cases__grid {
    columns: unset;
    column-gap: 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 16px;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 8px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .cases__grid::-webkit-scrollbar { display: none; }
  .case {
    flex: 0 0 82%;
    max-width: 82%;
    margin: 0;
    scroll-snap-align: start;
    border-radius: 14px;
  }
  .case__photo { min-height: 300px; max-height: 60vh; aspect-ratio: 3 / 4; }
  .case__title { font-size: 13px; }

  /* Подсказка «листайте» — анимированная стрелка справа под слайдером */
  .cases__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    font-family: var(--ff-display);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    animation: casesHintFade 4.5s ease-in-out 1.2s 2 forwards;
    pointer-events: none;
  }
  .cases__hint-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    animation: casesHintSwipe 1.6s ease-in-out infinite;
  }
  @keyframes casesHintSwipe {
    0%   { transform: translateX(-6px); opacity: 0.4; }
    50%  { transform: translateX(6px);  opacity: 1; }
    100% { transform: translateX(-6px); opacity: 0.4; }
  }
  @keyframes casesHintFade {
    0%, 80% { opacity: 1; }
    100%    { opacity: 0; visibility: hidden; }
  }
}

/* На десктопе подсказка не нужна */
.cases__hint { display: none; }


/* ============================================================
   БЛОК 5 · 7 ЭТАПОВ РАБОТЫ
   ============================================================ */
.process {
  padding: 96px 0 80px;
  border-top: 1px solid var(--hairline);
}
.process__container { display: flex; flex-direction: column; gap: 48px; }

.process__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.process__pre {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.process__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.process__title-chrome {
  display: inline-block;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
}
.process__sub {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 720px;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.68) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 24px;
  min-height: 250px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 50px rgba(0, 0, 0, 0.45);
  transition: border-color .25s ease, transform .25s ease, background .3s ease;
}
.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(80% 70% at 100% 100%, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}
.step:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 55%, rgba(255, 255, 255, 0.74) 100%);
  transform: translateY(-2px);
}
.step--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 46%);
  min-height: 220px;
}
.step--wide .step__visual { min-height: 200px; }
.step--wide .step__content { max-width: 620px; }
.step__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.step__num {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 6px 14px;
  background: rgba(214, 48, 68, 0.10);
  border: 1px solid rgba(214, 48, 68, 0.32);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8283a;
  font-weight: 700;
}
.step__title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #c62031;
  text-shadow: none;
}
.step__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #8c2635;
}
.step__visual {
  align-self: stretch;
  min-height: 170px;
  background-color: var(--bg-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.step__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.32) 100%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .process { padding: 72px 0 60px; }
  .process__container { gap: 36px; }
  .process__list { grid-template-columns: 1fr; gap: 14px; }
  .step { grid-template-columns: minmax(0, 1fr) 170px; min-height: 210px; padding: 22px; }
}

@media (max-width: 720px) {
  .process { padding: 56px 0 48px; }
  .process__container { gap: 28px; }
  .process__head { gap: 12px; }
  .process__pre { font-size: 11px; padding: 5px 12px; }
  .process__title { font-size: clamp(22px, 6vw, 30px); }
  .process__sub { font-size: 13px; }
  .process__list { grid-template-columns: 1fr; gap: 12px; }
  /* На мобилке: сверху фото, снизу текст; фото фиксированный аспект 16:10 */
  .step, .step--wide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0;
    min-height: 0;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
  }
  .step__visual, .step--wide .step__visual {
    order: 1;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    border: 0;
    border-radius: 0;
    width: 100%;
  }
  .step__visual::after {
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45) 100%);
  }
  .step__content {
    order: 2;
    padding: 18px 20px 22px;
    gap: 10px;
  }
  .step__num { font-size: 10px; padding: 5px 12px; }
  .step__title { font-size: 16px; }
  .step__text { font-size: 13px; margin-top: 4px; }
}


/* ============================================================
   БЛОК 6 · ОТЗЫВЫ
   ============================================================ */
.reviews {
  padding: 96px 0 80px;
  border-top: 1px solid var(--hairline);
}
.reviews__container { display: flex; flex-direction: column; gap: 40px; }

.reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.reviews__pre {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.reviews__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.reviews__title-chrome {
  display: inline-block;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
}
.reviews__sub {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 700px;
}

/* ----- источники (Mac-style плитки 2ГИС и Яндекс) ----- */
.reviews__sources {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.src {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.src:hover {
  border-color: var(--hairline-strong);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}
.src__icon { display: inline-flex; }
.src__icon svg {
  display: block;
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 16px rgba(0, 0, 0, 0.55);
}
.src__info { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.src__top { display: inline-flex; align-items: center; gap: 10px; }
.src__name {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.src__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.src__meta { font-size: 11.5px; color: var(--text-mute); letter-spacing: 0.02em; }

/* ----- сетка карточек: 2 колонки, ряды выравнены по высоте, низ карточки тоже выровнен ----- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ----- НАТИВНАЯ КАРТОЧКА: светлая, как скрин с платформы ----- */
.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 36px rgba(0, 0, 0, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.review:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.6);
}
.review--2gis { background: #fafaf6; }
.review--yandex { background: #ffffff; }

/* ----- шапка источника внутри карточки ----- */
.review__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef0f2;
}
.review__plat svg {
  display: block;
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.review__plat-name {
  font-size: 12px;
  font-weight: 700;
  color: #404347;
  letter-spacing: 0.01em;
}

/* ----- автор ----- */
.review__user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.review__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review__date {
  font-size: 12.5px;
  color: #8a8e93;
  line-height: 1.2;
}

/* ----- звёзды (5 жёлтых) ----- */
.review__stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #FFB700;
  line-height: 1;
}

/* ----- тело отзыва ----- */
.review__text {
  font-size: 14px;
  line-height: 1.55;
  color: #2c2f33;
  margin: 2px 0 4px;
}

/* ----- кнопка «Полезный отзыв» ----- */
.review__like {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 8px 0 0;
  border-top: 1px solid #eef0f2;
  width: 100%;
  justify-content: flex-start;
  margin-top: auto;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 500;
  color: #5b5f63;
  cursor: pointer;
  transition: color .15s ease;
}
.review__like svg { color: #8a8e93; transition: color .15s ease; }
.review__like:hover { color: #1a1a1a; }
.review__like:hover svg { color: #404347; }

/* ----- слот (пустая карточка с подсказкой) ----- */
.review--empty {
  border-style: dashed;
  border-color: rgba(0, 0, 0, 0.16);
  background: #f5f5f1;
  box-shadow: none;
}
.review--empty.review--yandex { background: #f8f8f8; }
.review--empty:hover { transform: none; box-shadow: none; }
.review__placeholder {
  font-size: 13px;
  line-height: 1.5;
  color: #8a8e93;
  font-style: italic;
  padding: 18px 4px 8px;
}

/* ----- CTA снизу ----- */
.reviews__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.reviews__cta .btn { gap: 10px; }

@media (max-width: 900px) {
  .reviews { padding: 72px 0 60px; }
  .reviews__container { gap: 32px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__sources { gap: 10px; width: 100%; }
  .src { flex: 1 1 0; min-width: 0; padding: 8px 14px 8px 8px; gap: 10px; }
  .src__icon svg { width: 38px; height: 38px; }
  .src__name { font-size: 13px; }
  .src__meta { font-size: 11px; }
}

@media (max-width: 720px) {
  .reviews { padding: 56px 0 48px; }
  .reviews__head { gap: 12px; }
  .reviews__pre { font-size: 11px; padding: 5px 12px; }
  .reviews__title { font-size: clamp(22px, 6vw, 30px); }
  .reviews__sub { font-size: 13px; }
  /* Слайдер отзывов: горизонтальный скролл со snap */
  .reviews__grid {
    display: flex !important;
    flex-direction: row;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 16px;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 8px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
    padding: 16px 18px 14px;
    gap: 10px;
  }
  .review__avatar { width: 36px; height: 36px; font-size: 14px; }
  .review__name { font-size: 14px; }
  .review__date { font-size: 12px; }
  .review__text { font-size: 13.5px; }
  .review__stars { font-size: 15px; }
  .reviews__cta { flex-direction: column; align-items: stretch; }
  .reviews__cta .btn { justify-content: center; }

  /* Подсказка «листайте» под отзывами */
  .reviews__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    font-family: var(--ff-display);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    animation: casesHintFade 4.5s ease-in-out 1.2s 2 forwards;
    pointer-events: none;
  }
  .reviews__hint-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    animation: casesHintSwipe 1.6s ease-in-out infinite;
  }
}
.reviews__hint { display: none; }


/* ============================================================
   БЛОК 7 · ФУТЕР (заголовок + 2 колонки карта/контакты + legal)
   ============================================================ */
.footer {
  position: relative;
  background: linear-gradient(180deg, #050505 0%, #000 60%);
  border-top: 1px solid var(--hairline);
  padding: 72px 0 28px;
}

/* ===== Шапка футера: H2 + 2 кнопки навигации ===== */
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}
.footer__top-text { display: flex; flex-direction: column; gap: 14px; }
.footer__pre {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.footer__title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer__title-chrome {
  display: inline;
  font-weight: 900;
  color: transparent;
  background-image: linear-gradient(
    0.672turn,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 1)    50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
}
.footer__top-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__top-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.footer__top-btn:active { transform: translateY(1px); }
.footer__top-btn--primary { background: #ffffff; color: #000000; }
.footer__top-btn--primary:hover { background: #ededed; }
.footer__top-btn--ghost   { background: transparent; color: #fff; border-color: var(--hairline-strong); }
.footer__top-btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.footer__top-btn-label { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; text-align: left; }
.footer__top-btn-eyebrow {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}
.footer__top-btn-main {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.005em;
}
.footer__top-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.footer__top-btn--primary .footer__top-btn-arrow { background: #000; color: #fff; }
.footer__top-btn--ghost   .footer__top-btn-arrow { background: rgba(255,255,255,0.10); color: #fff; }
.footer__top-btn:hover .footer__top-btn-arrow { transform: translate(3px, -3px); }

/* ===== Основной блок: карта (слева) + правый столбик ===== */
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 44px;
}

/* Карта */
.footer__map {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: var(--bg-photo);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}
.footer__map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 480px;
  pointer-events: none;
}
.footer__map-link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
  cursor: pointer;
}
.footer__map-cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffffff;
  color: #1a1a1a;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.footer__map-cta svg { color: #FC3F1D; }
.footer__map-link:hover .footer__map-cta {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.36);
}
.footer__map-link:active .footer__map-cta { transform: translateY(0); }

/* Правый столбик: контакты сверху + форма снизу */
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
}
.footer__info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer__info-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.footer__info-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer__info-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.footer__info-value {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.footer__info-link { color: var(--text); }
.footer__info-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__info-mute {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-mute);
}

/* Коллбэк-форма */
.footer__callback {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.footer__callback-head { display: flex; flex-direction: column; gap: 6px; }
.footer__callback-title {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}
.footer__callback-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mute);
}
.footer__callback-fields { display: flex; gap: 10px; }
.footer__callback-input {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  border-radius: 11px;
  padding: 13px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.footer__callback-input::placeholder { color: var(--text-mute); }
.footer__callback-input:focus { border-color: #fff; background: rgba(255, 255, 255, 0.07); }
.footer__callback-input:disabled { opacity: 0.6; cursor: not-allowed; }

.footer__callback-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-mute);
  cursor: pointer;
}
.footer__callback-agree input {
  flex: 0 0 16px;
  width: 16px; height: 16px;
  margin-top: 1px;
  accent-color: #ffffff;
  cursor: pointer;
}
.footer__callback-agree a { color: var(--text); border-bottom: 1px solid var(--hairline-strong); }
.footer__callback-agree a:hover { border-color: #fff; }
.footer__callback-agree.is-error { color: #ff6b6b; }
.footer__callback-agree.is-error a { color: #ff8585; border-color: #ff6b6b; }

.footer__callback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 14px 20px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, opacity .15s ease;
  margin-top: 4px;
}
.footer__callback-submit:hover:not(:disabled)  { background: #ededed; }
.footer__callback-submit:active:not(:disabled) { transform: translateY(1px); }
.footer__callback-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.footer__callback-submit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #ffffff;
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.footer__callback-submit:hover:not(:disabled) .footer__callback-submit-arrow { transform: translateX(3px); }

.footer__callback-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}
.footer__callback-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  flex: 0 0 auto;
}

/* Бренд-строка */
.footer__brandline {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.footer__tagline {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  max-width: 60ch;
  margin: 0;
}

/* Низ: copyright + legal */
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}
.footer__nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 12px;
  color: var(--text-mute);
  transition: color .15s ease, border-color .15s ease;
  border-bottom: 1px dashed transparent;
  padding-bottom: 1px;
}
.footer__nav a:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* Адаптив футера */
@media (max-width: 1100px) {
  .footer__map, .footer__map-frame { min-height: 420px; }
}
@media (max-width: 880px) {
  .footer { padding: 56px 0 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 22px; align-items: start; margin-bottom: 28px; }
  .footer__main { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .footer__map, .footer__map-frame { min-height: 320px; }
  .footer__brandline { padding: 20px 0; }
}
@media (max-width: 720px) {
  .footer__map, .footer__map-frame { min-height: 260px; }
  .footer__info, .footer__callback { padding: 20px; }
  .footer__callback-fields { flex-direction: column; }
  .footer__title { font-size: 22px; }
  .footer__top-btn { padding: 12px 14px 12px 18px; }
  .footer__top-btn-main { font-size: 14px; }
  .footer__top-btn-arrow { width: 30px; height: 30px; }
  .footer__legal { gap: 12px; }
  .footer__copy, .footer__nav a { font-size: 11px; }
  .footer__nav { gap: 14px; }
}


/* ============================================================
   ЮРИДИЧЕСКИЕ МОДАЛКИ (Политика / Согласие / Соглашение)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFade .2s ease;
}
.modal[hidden] { display: none; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.modal__box {
  position: relative;
  background: #0d0d0e;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 36px 36px 32px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.modal__close:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ===== Модалка с квизом ===== */
.modal__box--quiz {
  max-width: 640px;
  padding: 32px 28px 28px;
}
.quiz--modal {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 0;
  gap: 18px;
  box-shadow: none;
}
.quiz--modal .quiz__step-title { font-size: 20px; }
.quiz--modal .quiz__options    { grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz--modal .quiz__option     { min-height: 56px; padding: 14px 16px; }
.quiz--modal .quiz__field--row { flex-direction: row; gap: 10px; }
.quiz--modal .quiz__submit     { padding: 16px 16px 16px 22px; font-size: 14px; }

@media (max-width: 640px) {
  .modal--quiz {
    padding: 16px;
    align-items: center;         /* по центру экрана, не сверху и не снизу */
    justify-content: center;
  }
  .modal__box--quiz {
    max-width: 100%;
    max-height: 88vh;
    padding: 40px 18px 18px;
    border-radius: 14px;
  }
  .quiz--modal { gap: 14px; }
  .quiz--modal .quiz__step { gap: 10px; }
  .quiz--modal .quiz__step-title { font-size: 17px; line-height: 1.2; }
  .quiz--modal .quiz__options    { grid-template-columns: 1fr; gap: 8px; }
  .quiz--modal .quiz__option     { min-height: 48px; padding: 12px 14px; }
  .quiz--modal .quiz__option-label { font-size: 14px; }
  .quiz--modal .quiz__field--row   { flex-direction: column; gap: 8px; }
  .quiz--modal .quiz__input        { padding: 12px 14px; font-size: 14px; }
  .quiz--modal .quiz__submit       { padding: 14px 14px 14px 18px; font-size: 13px; }
  .quiz--modal .quiz__submit-arrow { width: 32px; height: 32px; }
  .quiz--modal .quiz__agree        { font-size: 11px; }
  .quiz--modal .quiz__label        { font-size: 11px; }
  .quiz--modal .quiz__channels     { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .quiz--modal .quiz__channel-box  { padding: 10px 6px; gap: 4px; }
  .quiz--modal .quiz__channel-label{ font-size: 11px; }
  .quiz--modal .quiz__channel-box svg { width: 16px; height: 16px; }
  .quiz--modal .quiz__channel-icon { width: 22px; height: 22px; }
}

.doc { font-family: var(--ff-body); font-size: 14px; line-height: 1.65; color: var(--text-soft); }
.doc h2 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 18px;
}
.doc h3 {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 22px 0 8px;
}
.doc p { margin: 0 0 10px; }

@media (max-width: 720px) {
  .modal { padding: 12px; }
  .modal__box { padding: 28px 22px 22px; max-height: 90vh; border-radius: 14px; }
  .doc { font-size: 13px; }
  .doc h2 { font-size: 18px; }
  .doc h3 { font-size: 14px; }
}


/* ============================================================
   КУКИ-БАННЕР (мягкий)
   ============================================================ */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  max-width: 580px;
  margin: 0 auto;
  background: #0f0f10;
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookieSlide .35s ease;
}
.cookie[hidden] { display: none; }
@keyframes cookieSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.cookie__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
}
.cookie__text a {
  color: #fff;
  border-bottom: 1px solid var(--hairline-strong);
  cursor: pointer;
}
.cookie__text a:hover { border-color: #fff; }
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie__btn {
  flex: 1;
  min-width: 140px;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color .15s ease, transform .15s ease;
}
.cookie__btn:active { transform: translateY(1px); }
.cookie__btn--primary { background: #fff; color: #000; }
.cookie__btn--primary:hover { background: #ededed; }


/* ============================================================
   КВИЗ · КОМПАКТНЫЙ ВАРИАНТ (для футера)
   ============================================================ */
.quiz--compact {
  padding: 22px 24px;
  gap: 16px;
  min-height: 0;
  flex: 1;
}
.quiz--compact .quiz__bar-step { font-size: 11px; }
.quiz--compact .quiz__back { padding: 5px 12px 5px 10px; font-size: 11px; }
.quiz--compact .quiz__step { gap: 12px; }
.quiz--compact .quiz__step-title { font-size: 17px; line-height: 1.2; }
.quiz--compact .quiz__step-sub { font-size: 12px; margin-top: -6px; }
.quiz--compact .quiz__options { grid-template-columns: 1fr; gap: 6px; }
.quiz--compact .quiz__option { padding: 12px 14px; min-height: 46px; border-radius: 10px; }
.quiz--compact .quiz__option-label { font-size: 13px; }
.quiz--compact .quiz__option-mark { width: 18px; height: 18px; flex: 0 0 18px; }
.quiz--compact .quiz__option.is-selected .quiz__option-mark::after { inset: 4px; }
.quiz--compact .quiz__field--row { flex-direction: column; gap: 10px; }
.quiz--compact .quiz__input { font-size: 13px; padding: 12px 14px; }
.quiz--compact .quiz__agree { font-size: 11px; }
.quiz--compact .quiz__submit {
  font-size: 13px;
  padding: 14px 14px 14px 18px;
}
.quiz--compact .quiz__submit-arrow { width: 34px; height: 34px; }
.quiz--compact .quiz__step--success { padding: 20px 0; gap: 10px; }
.quiz--compact .quiz__success-mark { width: 52px; height: 52px; margin-bottom: 4px; }


/* ============================================================
   СТРАНИЦА СПАСИБО (thanks.html) — минимализм.
   Галочка + один заголовок + мессенджеры + кнопка «на главную».
   ============================================================ */
.thanks {
  padding: 64px 0 80px;
  min-height: calc(100vh - 67px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.thanks::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 55vh;
  background: radial-gradient(60% 50% at 50% 0%, rgba(227, 30, 36, 0.14) 0%, rgba(227, 30, 36, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.thanks__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 720px;
}

/* -------- HERO блок -------- */
.thanks__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.thanks__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b0b0b;
  box-shadow: 0 20px 48px -14px rgba(227, 30, 36, 0.45);
  margin-bottom: 4px;
}
.thanks__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.thanks__sub {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 520px;
}
.thanks__sub b { color: #ffffff; font-weight: 700; }

/* -------- Мессенджеры / Позвонить -------- */
.thanks__reach {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.thanks__reach-lead {
  font-size: 14px;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.01em;
}
.thanks__reach-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.thanks__reach-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  transition: border-color .2s ease, background-color .2s ease;
}
.thanks__reach-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.thanks__reach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
.thanks__reach-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.thanks__reach-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.thanks__reach-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.15;
}
.thanks__reach-val {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thanks__reach-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  color: #ffffff;
  transition: transform .2s ease, background-color .2s ease;
  flex: 0 0 30px;
}
.thanks__reach-card:hover .thanks__reach-arrow {
  background: #ffffff;
  color: #0b0b0b;
  transform: translateX(3px);
}

/* -------- Кнопка возврата на главную -------- */
.thanks__back {
  display: flex;
  justify-content: center;
}
.thanks__back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-mute);
  transition: color .15s ease;
}
.thanks__back-link:hover { color: #ffffff; }

/* -------- Slim-футер под страницу спасибо -------- */
.footer--slim { padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--hairline); }
.footer--slim .footer__brandline { padding-top: 0; padding-bottom: 20px; }
.footer--slim .footer__legal { padding-top: 0; }


/* ===== ADAPTIVE ===== */
@media (max-width: 720px) {
  .thanks { padding: 40px 0 56px; }
  .thanks__container { gap: 36px; }
  .thanks::before { display: none; }
  .thanks__mark { width: 68px; height: 68px; }
  .thanks__mark svg { width: 32px; height: 32px; }
  .thanks__hero { gap: 14px; }
  .thanks__title { font-size: clamp(24px, 8vw, 34px); }
  .thanks__sub { font-size: 14px; }
  .thanks__reach-card { padding: 12px 14px; gap: 12px; border-radius: 14px; }
  .thanks__reach-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .thanks__reach-name { font-size: 14px; }
  .thanks__reach-val { font-size: 12px; }
  .thanks__reach-arrow { width: 28px; height: 28px; flex-basis: 28px; }
}
