/* ============================================================
   XXX — Архитектурный редакционный дизайн 2026
   Syne + Manrope · Фирменный синий · Тёмный hero · Editorial
   ============================================================ */

/* ── ПЕРЕМЕННЫЕ ── */
:root {
  --ink:        #1F2937;
  --charcoal:   #0F1B33;
  --charcoal-2: #16264A;
  --copper:     #0B5ED7;
  --copper-h:   #3D8BFF;
  --copper-dim: rgba(11,94,215,.15);
  --cta:        #2563EB;
  --cta-h:      #1D4FC4;
  --sand:       #F8FAFC;
  --cream:      #EEF4FF;
  --steel:      #6B7280;
  --line:       #E2E8F0;
  --line-dark:  rgba(255,255,255,.1);
  --white:      #ffffff;
  --success:    #22C55E;

  --r:  16px;
  --r2: 24px;
  --r3: 32px;

  --sh-sm: 0 2px 8px rgba(15,15,18,.06);
  --sh:    0 8px 32px rgba(15,15,18,.10);
  --sh-lg: 0 24px 64px rgba(15,15,18,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
  --w: 1240px;
  --gap: clamp(64px, 9vw, 120px);
}

/* ── СБРОС ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
address { font-style: normal; }

/* ── СЕТКА ── */
.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 840px; }

/* ── ТИПОГРАФИКА ── */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.12; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--copper-dim);
  border: 1px solid rgba(11,94,215,.25);
  padding: 6px 14px;
  border-radius: 100px;
}
.badge--dim {
  color: rgba(250,249,246,.85);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}

/* ── КНОПКИ ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 15px 28px; border-radius: 100px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; transition: transform .24s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--copper {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.btn--copper:hover {
  background: var(--cta-h);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37,99,235,.45);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--outline:hover {
  box-shadow: inset 0 0 0 1.5px var(--copper);
  color: var(--copper);
}
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ── ПОЛЯ ── */
.field { margin-bottom: 12px; }
.field__label {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #aab0bb; }
.field input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(11,94,215,.12);
}
.field input.is-error { border-color: #ef4444; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,249,246,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.logo__name {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: .04em;
  color: var(--ink);
}
.logo__rule {
  width: 1px; height: 24px;
  background: var(--line);
}
.logo__sub {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel);
}
.logo--footer .logo__name { color: var(--sand); }
.logo--footer .logo__rule { background: var(--line-dark); }
.logo--footer .logo__sub { color: rgba(250,249,246,.5); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 600;
  color: var(--steel);
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }

.header__right {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.header__phone {
  font-weight: 700; font-size: 15px;
  color: var(--ink);
  transition: color .2s;
}
.header__phone:hover { color: var(--copper); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto; flex-shrink: 0;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.header.is-menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.header.is-menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 70px; left: 0; right: 0; z-index: 55;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 28px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(calc(-100% - 80px));
  transition: transform .35s var(--ease);
  box-shadow: var(--sh);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .btn { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--charcoal);
  padding: clamp(72px, 11vw, 128px) 0 clamp(64px, 9vw, 100px);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #000;
}
.hero__grid-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMTkuNSIgbnVtT2N0YXZlcz0iMTAiIHJlc3VsdD0idHVyYnVsZW5jZSIvPjxmZUNvbXBvc2l0ZSBvcGVyYXRvcj0iaW4iIGluPSJ0dXJidWxlbmNlIiBpbjI9IlNvdXJjZUFscGhhIiByZXN1bHQ9ImNvbXBvc2l0ZSIvPjxmZUNvbG9yTWF0cml4IGluPSJjb21wb3NpdGUiIHR5cGU9Imx1bWluYW5jZVRvQWxwaGEiLz48ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJjb21wb3NpdGUiIG1vZGU9ImNvbG9yLWJ1cm4iLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsdGVyPSJ1cmwoJyNhJykiPjxwYXRoIGZpbGw9IiMyNmIiIGQ9Ik0wIDBoMTAwdjEwMEgweiIvPjxwYXRoIGQ9Ik0wIDB2MTAwaDEwMFYwWiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM0OGYiIGZpbGw9IiMwMDAwIi8+PHBhdGggZmlsbD0iIzQ4ZjUiIGQ9Ik01MCAwaDF2MTAwaC0xeiIvPjxwYXRoIGZpbGw9IiM0OGY1IiBkPSJNMCA1MGgxMDB2MUgweiIvPjwvZz48L3N2Zz4=");
  mask-image: linear-gradient(#0004, #000);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 20px; }
.eyebrow-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand);
  border-left: 2px solid var(--sand);
  padding-left: 12px;
}
.hero__title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--sand);
  letter-spacing: -.025em;
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: normal;
  color: var(--sand);
}
.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(250,249,246,.72);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.hero__chips li {
  font-size: 13px; font-weight: 700;
  color: rgba(250,249,246,.9);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 16px; border-radius: 100px;
}
.hero__price-line {
  display: flex; align-items: baseline; gap: 6px;
}
.hero__price-from {
  font-size: 16px; color: rgba(250,249,246,.6); font-weight: 600;
}
.hero__price-val {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; color: var(--sand);
}
.hero__price-unit {
  font-size: 16px; color: rgba(250,249,246,.6); font-weight: 600;
}

/* Hero form */
.hform {
  background: var(--sand);
  border-radius: var(--r2);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--sh-lg);
}
.hform__head {
  font-size: 15px; color: var(--steel);
  margin-bottom: 4px;
}
.hform__head strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}
.hform__sub {
  font-size: 14px; color: var(--steel);
  margin-bottom: 20px; margin-top: 8px;
}
.hform__legal {
  font-size: 11px; color: #aab0bb;
  margin-top: 12px; text-align: center; line-height: 1.4;
}

/* 3D tilt-карточка (hero-форма) */
.hero__form-col { perspective: 1200px; }
.hero__form-col .hform {
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s;
  will-change: transform;
}
.hero__form-col.is-tilting .hform {
  transition: transform .08s linear, box-shadow .4s;
  box-shadow: var(--sh-lg), 0 30px 60px -10px rgba(11,94,215,.35);
}
.hero__form-col .hform__head strong { transform: translateZ(44px); }
.hero__form-col .hform__sub          { transform: translateZ(28px); }
.hero__form-col .field               { transform: translateZ(24px); }
.hero__form-col .btn--copper         { transform: translateZ(58px); }
.hero__form-col .hform__legal        { transform: translateZ(14px); }
@media (prefers-reduced-motion: reduce), (hover: none) {
  .hero__form-col .hform,
  .hero__form-col .hform__head strong,
  .hero__form-col .hform__sub,
  .hero__form-col .field,
  .hero__form-col .btn--copper,
  .hero__form-col .hform__legal { transform: none !important; transition: none !important; }
}

.hform--light {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.hform--light .hform__head strong { color: var(--sand); }
.hform--light .field input {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: var(--sand);
}
.hform--light .field input::placeholder { color: rgba(250,249,246,.45); }
.hform--light .field input:focus {
  border-color: var(--copper);
  background: rgba(255,255,255,.14);
}

/* Hero reveals */
.reveal-hero {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn .8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.statsbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.statsbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
  flex-wrap: wrap; gap: 20px;
}
.stat { text-align: center; }
.stat__val {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stat__label {
  font-size: 13px; color: var(--steel); font-weight: 500;
  display: block; margin-top: 4px;
}
.stat__divider {
  width: 1px; height: 48px;
  background: var(--line);
  flex-shrink: 0;
}

/* ============================================================
   БОЛИ (dark strip)
   ============================================================ */
.pains { padding: clamp(56px,7vw,80px) 0; }
.section--dark { background: var(--charcoal); }
.pains__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.pain {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .25s;
}
.pain:last-child { border-right: none; }
.pain:hover { background: rgba(255,255,255,.04); }
.pain__num {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em;
  color: var(--copper);
  margin-bottom: 16px;
}
.pain h3 {
  font-size: 20px; font-weight: 700;
  color: var(--sand);
  margin-bottom: 12px;
}
.pain p { font-size: 14.5px; color: rgba(250,249,246,.6); line-height: 1.6; }

/* ============================================================
   SECTIONS — общее
   ============================================================ */
.section { padding: var(--gap) 0; }
.section--alt { background: var(--cream); }

.section__head {
  display: flex; align-items: flex-start; gap: 28px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section__head--light { flex-direction: column; }
.section__num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 800;
  color: var(--cream);
  line-height: .85;
  flex-shrink: 0;
  user-select: none;
  margin-top: -8px;
}
.section__num--dim {
  color: rgba(250,249,246,.06);
  font-size: clamp(80px, 12vw, 140px);
}
.section__labels { flex: 1; }
.section__title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 10px;
}
.section__lead {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--steel);
  margin-top: 14px;
  max-width: 640px;
}
.section__cta { text-align: center; margin-top: clamp(40px, 5vw, 56px); }

/* ============================================================
   SCOPE GRID
   ============================================================ */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scope-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.scope-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line);
  transition: background .25s;
}
.scope-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.scope-card:hover::before { background: var(--copper); }

.scope-card__index {
  font-family: 'Manrope', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.scope-card h3 {
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  min-height: 2.4em;
}
.scope-card ul { display: flex; flex-direction: column; gap: 10px; }
.scope-card li {
  font-size: 14.5px; color: var(--steel);
  padding-left: 20px; position: relative;
}
.scope-card li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 1.5px;
  background: var(--copper);
}

.scope-card--cta {
  background: var(--charcoal);
  border-color: var(--charcoal);
  display: flex; flex-direction: column;
  justify-content: flex-end; gap: 16px;
}
.scope-card--cta::before { background: var(--copper); }
.scope-card--cta:hover { transform: translateY(-5px); }
.scope-cta__label {
  font-size: 13px; color: rgba(250,249,246,.55);
  font-weight: 600;
}
.scope-card--cta h3 { color: var(--sand); min-height: unset; }

/* ============================================================
   WHY GRID
   ============================================================ */
.why-section { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 28px 22px;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.why-item__icon {
  width: 44px; height: 44px; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--copper-dim);
  color: var(--copper);
  margin-bottom: 16px;
}
.why-item h3 {
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
}
.why-item p { font-size: 14px; color: var(--steel); line-height: 1.55; }

/* ============================================================
   ДИЗАЙН-ПРОЕКТ
   ============================================================ */
.design-section { position: relative; overflow: hidden; }
.design-section__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(11,94,215,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,94,215,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 100% 0%, #000 0%, transparent 70%);
}
.design-section .container { position: relative; z-index: 1; }

.design-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.design-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.design-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line);
  transition: background .25s;
}
.design-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.design-card:hover::before { background: var(--copper); }
.design-card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.design-card__index {
  font-family: 'Manrope', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--copper);
}
.design-card__icon {
  width: 40px; height: 40px; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--copper-dim);
  color: var(--copper);
  flex-shrink: 0;
}
.design-card h3 {
  font-size: 19px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.design-card ul { display: flex; flex-direction: column; gap: 10px; }
.design-card li {
  font-size: 14.5px; color: var(--steel); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.design-card li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 1.5px;
  background: var(--copper);
}

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-section {
  position: relative; overflow: hidden;
  padding: var(--gap) 0;
}
.quiz-section.section--dark::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: #000;
}
.quiz-section.section--dark::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMTkuNSIgbnVtT2N0YXZlcz0iMTAiIHJlc3VsdD0idHVyYnVsZW5jZSIvPjxmZUNvbXBvc2l0ZSBvcGVyYXRvcj0iaW4iIGluPSJ0dXJidWxlbmNlIiBpbjI9IlNvdXJjZUFscGhhIiByZXN1bHQ9ImNvbXBvc2l0ZSIvPjxmZUNvbG9yTWF0cml4IGluPSJjb21wb3NpdGUiIHR5cGU9Imx1bWluYW5jZVRvQWxwaGEiLz48ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJjb21wb3NpdGUiIG1vZGU9ImNvbG9yLWJ1cm4iLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsdGVyPSJ1cmwoJyNhJykiPjxwYXRoIGZpbGw9IiMyNmIiIGQ9Ik0wIDBoMTAwdjEwMEgweiIvPjxwYXRoIGQ9Ik0wIDB2MTAwaDEwMFYwWiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM0OGYiIGZpbGw9IiMwMDAwIi8+PHBhdGggZmlsbD0iIzQ4ZjUiIGQ9Ik01MCAwaDF2MTAwaC0xeiIvPjxwYXRoIGZpbGw9IiM0OGY1IiBkPSJNMCA1MGgxMDB2MUgweiIvPjwvZz48L3N2Zz4=");
  mask-image: linear-gradient(#0004, #000);
}
.quiz-section .container { position: relative; z-index: 1; }
.quiz {
  max-width: 780px; margin: 0 auto;
  background: var(--sand);
  border-radius: var(--r3);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--sh-lg);
}
.quiz__top { margin-bottom: 32px; }
.quiz__progress-wrap {
  display: flex; align-items: center; gap: 16px;
}
.quiz__progress-track {
  flex: 1; height: 4px;
  background: var(--line); border-radius: 100px; overflow: hidden;
}
.quiz__progress-fill {
  height: 100%; width: 20%;
  background: var(--copper);
  border-radius: 100px;
  transition: width .4s var(--ease);
}
.quiz__step-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel); white-space: nowrap;
}
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.quiz__q {
  font-size: clamp(20px, 3vw, 28px); font-weight: 800;
  margin-bottom: 22px;
}
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts--cols3 { grid-template-columns: repeat(3, 1fr); }
.quiz__opts--cols2 { grid-template-columns: repeat(2, 1fr); }

.qopt {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 20px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.qopt:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.qopt.is-selected {
  border-color: var(--copper);
  background: var(--copper-dim);
}
.qopt__icon { font-size: 22px; margin-bottom: 4px; }
.qopt__badge {
  position: absolute; top: -10px; right: 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: var(--copper); color: var(--white);
  padding: 3px 10px; border-radius: 100px;
}
.qopt--popular { border-color: var(--copper); }
.qopt__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.qopt__price { font-size: 13px; color: var(--steel); }

.quiz__area-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.quiz__area-input {
  flex: 1; padding: 16px 18px; font-size: 18px; font-weight: 700;
  border: 1.5px solid var(--line); border-radius: var(--r);
  color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  font-family: 'Manrope', sans-serif;
}
.quiz__area-input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(11,94,215,.12); }
.quiz__area-unit { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; color: var(--steel); }

.quiz__result { text-align: center; }
.result__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--success); color: var(--white);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 900;
  margin: 0 auto 16px;
}
.result__price {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 7vw, 58px);
  font-weight: 800; color: var(--copper);
  margin: 8px 0 12px;
}
.result__hint {
  font-size: 14px; color: var(--steel);
  max-width: 460px; margin: 0 auto 28px;
  line-height: 1.55;
}
.quiz__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.quiz__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--steel);
  margin-top: 18px; padding: 8px 0;
  transition: color .2s;
}
.quiz__back:hover { color: var(--ink); }
.quiz__back[hidden] { display: none; }

/* ============================================================
   CASES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.case__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.case__info { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case__info h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.case__params {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.case__params span { display: flex; flex-direction: column; gap: 2px; }
.case__params b { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; }
.case__params small { font-size: 11px; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }
.case__info p { font-size: 14px; color: var(--steel); line-height: 1.55; }
.case__real {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--success); background: rgba(34,197,94,.12);
  padding: 3px 8px; border-radius: 100px;
  vertical-align: middle; margin-left: 6px;
}

/* Реальные фото кейсов */
.case__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.case__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transition: transform .4s var(--ease);
}
.case:hover .case__photo img { transform: scale(1.05); }

/* Placeholders */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 150px;
  background: var(--cream);
  background-image:
    linear-gradient(rgba(11,94,215,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,94,215,.08) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px dashed rgba(11,94,215,.25);
  color: var(--steel);
  text-align: center; padding: 16px;
}
.ph__label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--steel); }
.ph__tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(15,15,18,.7); color: var(--white);
  padding: 3px 9px; border-radius: 100px;
}
.ph__tag--after { background: var(--success); }
.ph--tall { min-height: 420px; border-radius: var(--r2); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.tariff {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 0;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.tariff:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.tariff--featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  box-shadow: var(--sh-lg);
  transform: translateY(-8px);
}
.tariff--featured:hover { transform: translateY(-14px); }
.tariff__flag {
  position: absolute; top: -14px; left: 28px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--copper); color: var(--white);
  padding: 5px 14px; border-radius: 100px;
  box-shadow: 0 6px 18px rgba(11,94,215,.4);
}
.tariff__name {
  font-size: 28px; font-weight: 800;
  color: var(--ink);
}
.tariff--featured .tariff__name { color: var(--sand); }
.tariff__desc {
  font-size: 14px; color: var(--steel);
  margin-top: 4px; min-height: 38px;
}
.tariff--featured .tariff__desc { color: rgba(250,249,246,.6); }
.tariff__price {
  display: flex; align-items: baseline; gap: 4px;
  margin: 22px 0 6px;
}
.tariff__from { font-size: 14px; color: var(--steel); }
.tariff--featured .tariff__from { color: rgba(250,249,246,.6); }
.tariff__val {
  font-family: 'Syne', sans-serif;
  font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1;
}
.tariff--featured .tariff__val { color: var(--sand); }
.tariff__per { font-size: 14px; color: var(--steel); }
.tariff--featured .tariff__per { color: rgba(250,249,246,.6); }
.tariff__term {
  font-size: 13px; font-weight: 700;
  color: var(--copper);
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.tariff--featured .tariff__term {
  border-color: rgba(255,255,255,.1);
}
.tariff__list {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px; flex: 1;
}
.tariff__list li {
  font-size: 14.5px; color: var(--steel);
  padding-left: 22px; position: relative;
}
.tariff--featured .tariff__list li { color: rgba(250,249,246,.75); }
.tariff__list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--success); opacity: .85;
}
.pricing__note {
  text-align: center; font-size: 14px;
  color: var(--steel); margin-top: 24px;
}
.tariff--featured .btn--outline {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25);
  color: var(--sand);
}
.tariff--featured .btn--outline:hover {
  box-shadow: inset 0 0 0 1.5px var(--copper);
  color: var(--copper);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.pstep {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.pstep:nth-child(odd) { padding-right: 64px; border-right: 1px solid var(--line); }
.pstep:nth-child(even) { padding-left: 64px; }
.pstep:nth-last-child(-n+2) { border-bottom: none; }
.pstep:nth-last-child(1) { border-bottom: none; }
.pstep:hover { background: rgba(11,94,215,.04); }
.pstep__num {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 800;
  letter-spacing: .1em;
  color: var(--copper);
  background: var(--copper-dim);
  border: 1px solid rgba(11,94,215,.2);
  width: 46px; height: 46px; border-radius: var(--r);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pstep h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.pstep p { font-size: 14.5px; color: var(--steel); }

/* ============================================================
   ОНЛАЙН-КОНТРОЛЬ
   ============================================================ */
.control-section { padding: var(--gap) 0; }
.control__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.control__text .section__num--dim { display: block; margin-bottom: -20px; }
.control__list {
  display: flex; flex-direction: column; gap: 18px;
  margin: 28px 0 36px;
}
.control__list li {
  display: flex; align-items: flex-start; gap: 16px;
}
.control__ic {
  width: 44px; height: 44px; border-radius: var(--r);
  display: grid; place-items: center; font-size: 20px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}
.control__list strong {
  display: block; font-size: 16px; font-weight: 700;
  color: var(--sand); margin-bottom: 2px;
}
.control__list p { font-size: 14px; color: rgba(250,249,246,.6); margin: 0; }
.control__visual .ph--tall { min-height: 500px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; }
.faq__item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 22px 52px 22px 0;
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  position: relative;
  transition: color .2s;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Manrope', sans-serif;
  font-size: 24px; font-weight: 300;
  color: var(--copper);
  transition: transform .3s var(--ease), opacity .2s;
  line-height: 1;
}
.faq__item[open] summary { color: var(--copper); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 0 22px; }
.faq__body p { font-size: 15.5px; color: var(--steel); line-height: 1.65; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--charcoal);
  padding: var(--gap) 0;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: #000;
}
.final-cta::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMTkuNSIgbnVtT2N0YXZlcz0iMTAiIHJlc3VsdD0idHVyYnVsZW5jZSIvPjxmZUNvbXBvc2l0ZSBvcGVyYXRvcj0iaW4iIGluPSJ0dXJidWxlbmNlIiBpbjI9IlNvdXJjZUFscGhhIiByZXN1bHQ9ImNvbXBvc2l0ZSIvPjxmZUNvbG9yTWF0cml4IGluPSJjb21wb3NpdGUiIHR5cGU9Imx1bWluYW5jZVRvQWxwaGEiLz48ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJjb21wb3NpdGUiIG1vZGU9ImNvbG9yLWJ1cm4iLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsdGVyPSJ1cmwoJyNhJykiPjxwYXRoIGZpbGw9IiMyNmIiIGQ9Ik0wIDBoMTAwdjEwMEgweiIvPjxwYXRoIGQ9Ik0wIDB2MTAwaDEwMFYwWiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiM0OGYiIGZpbGw9IiMwMDAwIi8+PHBhdGggZmlsbD0iIzQ4ZjUiIGQ9Ik01MCAwaDF2MTAwaC0xeiIvPjxwYXRoIGZpbGw9IiM0OGY1IiBkPSJNMCA1MGgxMDB2MUgweiIvPjwvZz48L3N2Zz4=");
  mask-image: linear-gradient(#0004, #000);
}
.final-cta__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.final-cta__text .badge { margin-bottom: 20px; }
.final-cta h2 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 800;
  color: var(--sand); letter-spacing: -.02em;
}
.final-cta p {
  font-size: 17px; color: rgba(250,249,246,.7);
  margin-top: 16px; margin-bottom: 28px;
}
.final-cta__list {
  display: flex; flex-direction: column; gap: 10px;
}
.final-cta__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: rgba(250,249,246,.9);
}
.check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--success);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: var(--white);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0A0D14;
  color: rgba(250,249,246,.6);
  padding-top: clamp(48px, 7vw, 80px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand p {
  font-size: 14px; line-height: 1.65;
  margin-top: 16px;
}
.footer__nav h4, .footer__contacts h4, .footer__form-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(250,249,246,.9);
  margin-bottom: 18px;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav li a {
  font-size: 14px; transition: color .2s;
}
.footer__nav li a:hover { color: var(--copper); }
.footer__contacts ul { display: flex; flex-direction: column; gap: 14px; }
.footer__contacts li { display: flex; flex-direction: column; gap: 3px; }
.footer__contacts li span {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(250,249,246,.35);
}
.footer__contacts li a, .footer__contacts li address {
  font-size: 14.5px; font-weight: 600;
  color: rgba(250,249,246,.8);
}
.footer__contacts li a:hover { color: var(--copper); }
.footer__stub {
  font-size: 11px; color: rgba(250,249,246,.3);
  font-style: italic; margin-bottom: 12px;
}
.footer__form-col .field input {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.1);
  color: var(--sand);
}
.footer__form-col .field input::placeholder { color: rgba(250,249,246,.3); }
.footer__form-col .field input:focus {
  border-color: var(--copper);
  background: rgba(255,255,255,.1);
}
.footer__bottom {
  padding: 20px 0;
  display: flex;
}
.footer__bottom .container {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer__bottom p { font-size: 12px; color: rgba(250,249,246,.3); }

/* ============================================================
   STICKY BAR (mobile)
   ============================================================ */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  display: none;
  align-items: center; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250,249,246,.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(15,15,18,.1);
}
.sticky-bar__call {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--copper-dim);
  color: var(--copper);
  transition: background .2s;
}
.sticky-bar__call:hover { background: var(--copper); color: var(--white); }
.sticky-bar .btn--block {
  flex: 1 1 auto; min-width: 0;
  white-space: normal; text-align: center;
  line-height: 1.25;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(10,13,20,.7);
  backdrop-filter: blur(6px);
  animation: fadeOverlay .3s;
}
@keyframes fadeOverlay { from { opacity: 0; } }
.modal__box {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  background: var(--sand);
  border-radius: var(--r2);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--sh-lg);
  animation: slideUp .35s var(--ease);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } }
.modal__box h3 {
  font-size: 26px; font-weight: 800;
  margin-top: 8px; margin-bottom: 8px;
}
.modal__box > p {
  font-size: 14px; color: var(--steel);
  margin-bottom: 4px;
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--steel);
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--copper-dim); color: var(--copper); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 120;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--sand);
  padding: 14px 22px; border-radius: 100px;
  box-shadow: var(--sh-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease);
  max-width: calc(100% - 32px);
  white-space: nowrap;
}
.toast[hidden] { display: none; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast__ic {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--success); color: var(--white);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; flex-shrink: 0;
}
.toast__text { font-size: 14px; font-weight: 600; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .reveal-hero { opacity: 1; transform: none; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
  .pains__grid .pain { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .pains__grid .pain:nth-child(2n) { border-right: none; }
}

@media (max-width: 900px) {
  .nav, .header__right { display: none; }
  .burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { order: 1; }
  .hero__form-col { order: 2; }
  .hero__scroll-hint { display: none; }

  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tariff--featured { transform: none; }
  .tariff--featured:hover { transform: translateY(-5px); }

  .control__inner { grid-template-columns: 1fr; }
  .control__visual { display: none; }

  .final-cta__inner { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .pstep { border-right: none !important; padding: 22px 0 !important; }
  .pstep:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pstep:last-child { border-bottom: none; }

  .quiz__opts--cols3 { grid-template-columns: 1fr; }
  .quiz__opts--cols2 { grid-template-columns: 1fr; }
  .quiz__form-row { grid-template-columns: 1fr; }

  .statsbar__inner { flex-wrap: wrap; justify-content: center; }
  .stat__divider { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .section__head { flex-direction: column; gap: 0; }
  .section__num { font-size: 52px; margin-bottom: -8px; }

  .scope-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .pains__grid { grid-template-columns: 1fr; }
  .design-grid { grid-template-columns: 1fr; }

  .hero__chips { gap: 8px; }
  .hero__chips li { font-size: 12px; padding: 7px 13px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; align-items: center; }

  .sticky-bar { display: flex; }
  body { padding-bottom: 80px; }

  .case__params { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { max-width: 100%; }
  .qopt--popular .qopt__badge { font-size: 10px; }
}

/* Очень узкие/сложенные экраны */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .logo__sub { display: none; }
  .header__inner { gap: 10px; }
  .sticky-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
  .sticky-bar__call { width: 44px; height: 44px; }
  .sticky-bar .btn--block { padding: 11px 14px; font-size: 13px; }
  .hero__title { font-size: 32px; }
  .btn--lg { padding: 14px 22px; font-size: 14px; }
  .hform { padding: 18px; }
}
