/* ============================================================
   SHANMANOV — лендинг v2 «Тёмный премиум»
   Шрифты: Clash Display (заголовки) + Satoshi (текст/цифры) — Fontshare
   Палитра: тёплый графит (не чёрный) + один дорогой красный, OKLCH
   ============================================================ */

:root {
  /* поверхности — тёплый графит, не #000 */
  --bg:        oklch(0.18 0.008 45);
  --bg-2:      oklch(0.215 0.009 45);
  --surface:   oklch(0.245 0.010 45);
  --surface-2: oklch(0.285 0.012 45);
  --line:      oklch(1 0 0 / 0.09);
  --line-2:    oklch(1 0 0 / 0.16);

  /* текст — тёплый off-white, без чистого белого на больших площадях */
  --ink:      oklch(0.96 0.006 75);
  --ink-soft: oklch(0.82 0.010 60);
  --ink-mut:  oklch(0.64 0.012 55);
  --gray-500: oklch(0.64 0.012 55); /* используется в main.js */

  /* акцент — насыщенный, но «дорогой» красный */
  --red:        oklch(0.585 0.205 25);
  --red-bright: oklch(0.645 0.215 25);
  --red-deep:   oklch(0.48 0.17 25);
  --red-glow:   oklch(0.585 0.205 25 / 0.35);

  /* шрифты */
  --hd: 'Clash Display', system-ui, sans-serif; /* используется в main.js */
  --bd: 'Satoshi', system-ui, sans-serif;

  /* тени — многослойные, тёплые */
  --sh-1: 0 1px 2px oklch(0.10 0.01 40 / 0.5), 0 3px 10px oklch(0.08 0.01 40 / 0.35);
  --sh-2: 0 6px 18px oklch(0.07 0.01 40 / 0.55), 0 22px 50px oklch(0.04 0.01 40 / 0.5);

  /* easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* ритм */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--bd);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* плёночное зерно вместо градиентных орбов */
  background-image:
    radial-gradient(1200px 600px at 70% -10%, oklch(0.26 0.02 35 / 0.6), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-attachment: fixed, scroll;
}

.tnum { font-variant-numeric: tabular-nums; }

/* ---------- типографика ---------- */
h1, h2, h3 { font-family: var(--hd); font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; }

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.18; }

p { text-wrap: pretty; }

.red { color: var(--red-bright); }

.eyebrow {
  font-family: var(--bd);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--red); display: inline-block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

section { position: relative; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--bd); font-weight: 700; font-size: 1rem;
  padding: 16px 28px; border-radius: 10px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-red {
  background: var(--red); color: oklch(0.99 0 0);
  box-shadow: 0 2px 10px var(--red-glow), 0 10px 30px oklch(0.585 0.205 25 / 0.18);
}
.btn-red:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 4px 16px var(--red-glow), 0 16px 44px oklch(0.585 0.205 25 / 0.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-soft); background: oklch(1 0 0 / 0.04); transform: translateY(-2px); }
.btn-xl { padding: 20px 40px; font-size: 1.1rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* press-feedback — кнопка отвечает на нажатие (Эмиль #1) */
.btn:active { transform: scale(0.97); transition-duration: .1s; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .4s var(--ease), background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
#nav.stuck {
  background: oklch(0.18 0.008 45 / 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
#nav.hide { transform: translateY(-100%); }
.nav-w {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--hd); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; gap: 1px;
}
.logo .dot { color: var(--red-bright); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.97rem; font-weight: 500;
  position: relative; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--red); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--bd); font-weight: 700; font-size: 0.95rem; text-decoration: none;
  color: var(--ink); padding: 11px 22px; border: 1px solid var(--line-2); border-radius: 9px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.nav-cta:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }
.nav-cta:active { transform: scale(0.97); transition-duration: .1s; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 10px; } .burger span:nth-child(3) { top: 20px; }
.burger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 0 var(--pad);
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease);
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.mobile-menu.open { max-height: 400px; padding: 12px var(--pad) 24px; }
.mobile-menu a { color: var(--ink); text-decoration: none; padding: 14px 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn-red { border: 0; margin-top: 12px; }

/* ============================================================
   HERO — асимметрия 58/42
   ============================================================ */
#hero {
  padding-top: clamp(120px, 18vh, 180px); padding-bottom: clamp(60px, 8vh, 100px);
  display: grid; grid-template-columns: 1.32fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad);
  position: relative;
}
.hero-eyebrow { margin-bottom: 28px; }
#hero h1 { margin-bottom: 26px; line-height: 0.98; letter-spacing: -0.042em; }
/* ход 1 — главная цифра выпрыгивает отдельной строкой */
.hero-num { display: block; font-size: 1.12em; font-weight: 700; color: var(--red-bright); letter-spacing: -0.05em; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 30ch; margin-bottom: 30px; }
.hero-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 38px; }
.hero-bullets li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-weight: 500; }
.bullet-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: oklch(0.585 0.205 25 / 0.16); color: var(--red-bright);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
  border: 1px solid oklch(0.585 0.205 25 / 0.3);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-img { position: relative; }
.hero-img-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--sh-2);
  aspect-ratio: 4 / 4.6;
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-img-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.15 0.01 40 / 0.55), transparent 45%);
}
.hero-stat {
  position: absolute; left: -22px; bottom: 28px; z-index: 2;
  background: oklch(0.20 0.009 45 / 0.86); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 22px;
  box-shadow: var(--sh-2); max-width: 210px;
}
.hero-stat-num { font-family: var(--hd); font-weight: 700; font-size: 2.4rem; color: var(--red-bright); line-height: 1; }
.hero-stat-label { display: block; font-size: 0.85rem; color: var(--ink-mut); margin-top: 2px; }
.hero-stat-desc { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

/* ============================================================
   HERO MOTION — Эмиль на максимум (только fine-pointer/desktop)
   3D-tilt фото, магнитная CTA, clip-path reveal на входе.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .hero-img-frame { transform-style: preserve-3d; will-change: transform; }
  .hero-img-frame img { will-change: transform, clip-path; backface-visibility: hidden; }
  #hero .btn-red { will-change: transform; }
  /* фото въезжает clip-path-шторкой снизу вверх */
  .hero-img-frame.shot-prep img { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
  .hero-img-frame.shot-in img { clip-path: inset(0 0 0 0); }
}
/* reduced-motion: гасим весь hero-моушн */
@media (prefers-reduced-motion: reduce) {
  .hero-img-frame, .hero-img-frame img, #hero .btn-red { transform: none !important; }
}

/* ============================================================
   SECTIONS — общие
   ============================================================ */
.s { padding-block: clamp(72px, 11vh, 130px); }
.s-tight { padding-block: clamp(56px, 8vh, 96px); }
/* ход 2 — асимметричный вертикальный ритм */
.s-air { padding-block: clamp(96px, 16vh, 168px); }
.s-compact { padding-block: clamp(56px, 8vh, 92px); }
.s-alt { background: var(--bg-2); }
/* красная hairline у заголовков секций — сквозной лейтмотив (ход 3б) */
.s-head h2 { position: relative; }
.s-head { max-width: 60ch; margin-bottom: clamp(40px, 6vh, 64px); }
.s-head .eyebrow { margin-bottom: 18px; }
.s-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 16px; }

/* ---------- PAIN ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; gap: 14px; align-items: flex-start;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.pain-card:hover { border-color: oklch(0.585 0.205 25 / 0.4); transform: translateY(-3px); background: var(--surface-2); }
.pain-x {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px;
  background: oklch(0.585 0.205 25 / 0.14); color: var(--red-bright);
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 700;
}
.pain-card p { font-size: 1rem; color: var(--ink-soft); line-height: 1.45; }
.pain-verdict {
  margin-top: 36px; padding: 40px clamp(28px, 4vw, 56px); border-radius: 20px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.pain-verdict-txt p { font-family: var(--hd); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--ink-mut); }
.pain-verdict-txt p strong { color: var(--ink); font-weight: 600; }

/* ---------- SOLUTION ---------- */
.sol-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sol-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--sh-2); aspect-ratio: 4/4.4; }
.sol-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(0.15) contrast(1.02); }
.sol-content h2 { margin: 16px 0 32px; }
.sol-steps { display: grid; gap: 2px; margin-bottom: 32px; }
.sol-step { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sol-step:last-child { border-bottom: 0; }
.sol-step span { font-family: var(--hd); font-weight: 600; font-size: 1.05rem; color: var(--red-bright); min-width: 34px; }
.sol-step p { color: var(--ink-soft); font-weight: 500; }
.sol-result { padding: 24px 28px; background: oklch(0.585 0.205 25 / 0.1); border: 1px solid oklch(0.585 0.205 25 / 0.28); border-radius: 14px; }
.sol-result p { font-size: 1.1rem; } .sol-result strong { color: var(--red-bright); }

/* ---------- RESULTS (с sales-фоном) ---------- */
#results { position: relative; isolation: isolate; overflow: hidden; }
#results::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/sales-desktop.webp") center / cover no-repeat;
}
#results::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom,
    var(--bg) 0%, oklch(0.18 0.008 45 / 0.74) 22%,
    oklch(0.18 0.008 45 / 0.62) 50%, oklch(0.18 0.008 45 / 0.82) 80%, var(--bg) 100%);
}
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.res-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.res-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.res-row { display: flex; align-items: center; gap: 14px; }
.res-chip { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mut); }
.res-was { color: var(--ink-mut); } .res-now { color: var(--ink); font-weight: 600; }
.res-arrow { color: var(--red-bright); }
.res-num { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.res-pct { font-family: var(--hd); font-weight: 700; font-size: 2.6rem; color: var(--red-bright); line-height: 1; }
.res-time { font-size: 0.9rem; color: var(--ink-mut); }

/* ---------- SERVICES ---------- */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-inline .3s var(--ease);
}
.svc:hover { background: oklch(1 0 0 / 0.025); padding-inline: 20px; }
.svc-l h3 { margin-bottom: 6px; }
.svc-l p { color: var(--ink-mut); font-size: 0.98rem; max-width: 52ch; }
.svc-tag { display: inline-block; margin-top: 10px; font-size: 0.78rem; font-weight: 600; color: var(--red-bright); background: oklch(0.585 0.205 25 / 0.1); padding: 4px 12px; border-radius: 100px; border: 1px solid oklch(0.585 0.205 25 / 0.22); }
.svc-r { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.svc-price { font-family: var(--hd); font-weight: 600; font-size: 1.4rem; white-space: nowrap; }
.svc-btn { font-size: 0.9rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 8px; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.svc-btn:hover { background: var(--red); border-color: var(--red); }
.svc-btn:active { transform: scale(0.97); transition-duration: .1s; }

.svc-hero { margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.svc-hero-label { background: var(--red); color: oklch(0.99 0 0); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 24px; display: inline-block; }
.svc-hero-body { padding: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.svc-hero-left h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.svc-hero-left p { color: var(--ink-soft); margin-bottom: 12px; }
.svc-hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.svc-hero-price { font-family: var(--hd); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem); white-space: nowrap; }

/* ---------- QUIZ ---------- */
.quiz-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.quiz-info h2 { margin: 16px 0; }
.quiz-desc { color: var(--ink-soft); font-size: 1.1rem; }
.quiz-box { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-2); }
.quiz-progress { height: 5px; background: var(--line); border-radius: 100px; overflow: hidden; margin-bottom: 28px; }
.quiz-bar { height: 100%; width: 100%; background: var(--red); border-radius: 100px; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.quiz-step { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-mut); text-transform: uppercase; margin-bottom: 12px; }
#q-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 24px; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opt {
  text-align: left; font-family: var(--bd); font-size: 1rem; font-weight: 500; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.quiz-opt:hover { border-color: var(--red); background: oklch(0.585 0.205 25 / 0.1); transform: translateX(4px); }
.quiz-opt:active { transform: translateX(4px) scale(0.985); transition-duration: .1s; }
#quiz-done h3 { margin-bottom: 8px; }
#quiz-done > p { color: var(--ink-soft); margin-bottom: 24px; }
.hidden { display: none; }

/* ---------- FORM ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.form-info h2 { margin: 16px 0; }
.form-desc { color: var(--ink-soft); font-size: 1.1rem; }
.form-box { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-2); }
form { display: grid; gap: 14px; }
input {
  font-family: var(--bd); font-size: 1rem; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  transition: border-color .2s ease, background .2s ease;
}
input::placeholder { color: var(--ink-mut); }
input:focus { outline: none; border-color: var(--red); background: var(--bg); }

/* ---------- TRUST ---------- */
.trust-sub { color: var(--ink-soft); font-size: 1.15rem; max-width: 50ch; margin: 16px 0 40px; }
.trust-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 48px; }
.trust-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/2; }
.trust-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.trust-img:hover img { transform: scale(1.04); }
.trust-label { margin: 36px 0 20px; }
.trust-reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.trust-reels .instagram-media { margin: 0 auto !important; min-width: unset !important; }
.smi-link {
  display: flex; align-items: center; gap: 20px; margin-top: 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.smi-link:hover { border-color: var(--line-2); transform: translateY(-2px); }
.smi-src { font-family: var(--hd); font-weight: 700; color: var(--red-bright); letter-spacing: 0.04em; white-space: nowrap; }
.smi-t { color: var(--ink-soft); flex: 1; }
.smi-go { color: var(--red-bright); font-size: 1.4rem; }

/* ---------- CTA ---------- */
.cta-center { text-align: center; max-width: 56ch; margin: 0 auto; }
.cta-text { font-family: var(--hd); font-weight: 500; font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.2; margin-bottom: 36px; letter-spacing: -0.02em; }
.cta-text strong { color: var(--red-bright); font-weight: 600; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding-block: 48px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand .logo { font-size: 1.2rem; }
.foot-brand p { color: var(--ink-mut); font-size: 0.9rem; margin-top: 8px; }
.foot-links { display: flex; gap: 28px; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; transition: color .2s ease; }
.foot-links a:hover { color: var(--red-bright); }

/* ---------- WhatsApp float ---------- */
.wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px;
  background: oklch(0.62 0.17 150); color: oklch(0.99 0 0); border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--sh-2);
  transition: transform .25s var(--ease);
}
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: scale(1.08); }
.wa:active { transform: scale(0.95); transition-duration: .1s; }

/* ============================================================
   MOTION — surgical reveal (хук [data-r] из main.js)
   ============================================================ */
[data-r] { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-r].v { opacity: 1; transform: none; }
/* стаггер: карточки сеток въезжают каскадом, не пачкой (Эмиль: 30-80ms) */
.pain-grid > [data-r]:nth-child(2) { transition-delay: .06s; }
.pain-grid > [data-r]:nth-child(3) { transition-delay: .12s; }
.pain-grid > [data-r]:nth-child(4) { transition-delay: .18s; }
.pain-grid > [data-r]:nth-child(5) { transition-delay: .24s; }
.pain-grid > [data-r]:nth-child(6) { transition-delay: .30s; }
.res-grid > [data-r]:nth-child(2) { transition-delay: .07s; }
.res-grid > [data-r]:nth-child(3) { transition-delay: .14s; }

@media (prefers-reduced-motion: reduce) {
  /* reduced motion ≠ ноль: гасим ДВИЖЕНИЕ, opacity-фейд оставляем (помогает понять появление) */
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-r] { transform: none; transition: opacity .4s ease; transition-delay: 0s !important; }
  .btn:hover, .nav-cta:hover, .pain-card:hover, .res-card:hover, .smi-link:hover { transform: none; }
}

/* тач-устройства: hover «залипает» после тапа — гасим transform-лифты (Эмиль) */
@media (hover: none) {
  .btn:hover, .btn-red:hover, .btn-ghost:hover, .nav-cta:hover,
  .pain-card:hover, .res-card:hover, .smi-link:hover, .quiz-opt:hover,
  .trust-img:hover img, .wa:hover { transform: none; }
}

/* ============================================================
   ХОД 2 — full-bleed цитатный разрыв (pull-quote)
   ============================================================ */
.pullquote {
  background: var(--bg);
  border-block: 1px solid var(--line);
  padding-block: clamp(72px, 13vh, 150px);
  position: relative; overflow: hidden;
}
.pullquote::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 40px;
  background: linear-gradient(var(--red), transparent); transform: translateX(-50%);
}
.pullquote-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.pullquote p {
  font-family: var(--hd); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12;
  font-size: clamp(1.9rem, 5vw, 3.6rem); color: var(--ink); text-wrap: balance;
}
.pullquote .pq-accent { color: var(--red-bright); }
.pullquote .pullquote-sub { font-family: var(--bd); font-size: 0.85rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mut); margin-top: 28px; }

/* ============================================================
   ХОД 3 — авторский лейтмотив + детали
   ============================================================ */
/* красная hairline слева от строк услуг при hover (мотив повторяется) */
.svc { position: relative; }
.svc::before {
  content: ""; position: absolute; left: -1px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; background: var(--red); transition: height .3s var(--ease);
}
.svc:hover::before { height: 60%; }

/* приглушённые чипы — не спорят по громкости с CTA */
.svc-tag { color: oklch(0.7 0.13 28); background: oklch(0.55 0.12 25 / 0.1); border-color: oklch(0.55 0.12 25 / 0.22); }

/* выделенная «топовая» карточка кейса */
.res-card--top { border-color: oklch(0.585 0.205 25 / 0.4); background: linear-gradient(160deg, oklch(0.585 0.205 25 / 0.08), var(--surface) 55%); }
.res-badge { position: absolute; top: 16px; right: 16px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-bright); background: oklch(0.585 0.205 25 / 0.14); border: 1px solid oklch(0.585 0.205 25 / 0.3); padding: 4px 10px; border-radius: 100px; }
.res-card { position: relative; }

/* широкая карточка боли (7-я) — закрывает «дырку» в ряду */
.pain-card--wide { grid-column: 1 / -1; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }

/* ============================================================
   FOCUS-VISIBLE — доступность (критично #3)
   ============================================================ */
a:focus-visible, button:focus-visible, .quiz-opt:focus-visible, input:focus-visible {
  outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 6px;
}
input:focus { outline: none; } /* для мыши — мягкий бордер ниже */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
  #hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { max-width: 460px; margin: 0 auto; width: 100%; }
  .sol-layout, .quiz-layout, .form-layout { grid-template-columns: 1fr; }
  .sol-photo { max-width: 460px; aspect-ratio: 4/3; }
  .trust-photos { grid-template-columns: 1fr; }
  .wa { bottom: 84px; } /* не перекрывать CTA */
  #results::before { background-image: url("../assets/sales-mobile.webp"); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc { grid-template-columns: 1fr; gap: 16px; }
  .svc-r { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-btns .btn { flex: 1; justify-content: center; }
  .pain-verdict { flex-direction: column; align-items: flex-start; }
  .hero-stat { left: 12px; right: 12px; max-width: unset; }
}
