/* ============================================================
   /c — «Ночь перед рассветом»: тёмный премиум, aurora + стекло.
   Структура-воронка: все CTA ведут к единственной форме внизу.
   Токены и правила: не чистый #000, стекло только на живом фоне,
   золото = единственный яркий акцент (CTA), изумруд = «стало».
   ============================================================ */

:root {
  --night:      #06070B;   /* строгий чёрный (не #000 — OLED smear) */
  --night-2:    #0B0C11;   /* приподнятые зоны */
  --text:       #F2F0EA;   /* тёплый белый */
  --muted:      rgba(242, 240, 234, .64);
  --faint:      rgba(242, 240, 234, .38);
  --gold:       #FFCDAF;   /* акцент FREE MEN — тёплый персиково-бежевый */
  --gold-2:     #FFE0CE;   /* светлый блик */
  --gold-deep:  #C98A63;   /* тёмный край градиента */
  --gold-ink:   #2A160C;   /* текст на акцентной кнопке */
  --win:        #FFCDAF;   /* «стало» — акцент */
  --lose:       #9BA0AB;   /* «было» — приглушённый серый */
  --err:        #E5484D;   /* только ошибки валидации/сети */
  --glass:      rgba(255, 255, 255, .045);
  --glass-2:    rgba(255, 255, 255, .07);
  --glass-brd:  rgba(255, 255, 255, .12);
  --glass-top:  rgba(255, 255, 255, .22); /* световая грань сверху */
  --shadow-glass: 0 18px 48px rgba(2, 6, 18, .55);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --container: 1080px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- база ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* без глобального scroll-behavior: плавный скролл к форме задаёт JS —
   глобальный smooth наслаивает анимации скролла друг на друга */

body.c-page {
  overflow-anchor: none; /* страховка: контент сверху не подгружается, якорение не нужно */
  background: var(--night);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-900-cyrillic.woff2") format("woff2");
  font-weight: 900; font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-900-latin.woff2") format("woff2");
  font-weight: 900; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400-cyrillic.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500-cyrillic.woff2") format("woff2");
  font-weight: 500; font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500-latin.woff2") format("woff2");
  font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600-cyrillic.woff2") format("woff2");
  font-weight: 600; font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600-latin.woff2") format("woff2");
  font-weight: 600; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026;
}

.display {
  font-family: "Inter", "Arial Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- AURORA ФОН (fixed, transform-only анимация) ---------- */
.aurora {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  /* строгий чёрный с тёплым дыханием сверху */
  background: radial-gradient(120% 90% at 50% 0%, #0D0B07 0%, var(--night) 58%);
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: none; /* мягкость даёт сам градиент — дешевле blur */
  will-change: transform;
}
/* только золото: лёгкие тёплые переливы на чёрном; фон СТОИТ на месте */
.aurora .a1 {
  width: 68vmax; height: 68vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(closest-side, rgba(255, 205, 175, .20), transparent 68%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 56vmax; height: 56vmax; right: -20vmax; top: 4vmax;
  background: radial-gradient(closest-side, rgba(201, 138, 99, .16), transparent 70%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 52vmax; height: 52vmax; left: 8vmax; bottom: -26vmax;
  background: radial-gradient(closest-side, rgba(255, 224, 206, .13), transparent 70%);
  animation: drift3 38s ease-in-out infinite alternate;
}
.aurora .a4 {
  width: 44vmax; height: 44vmax; left: 2vmax; top: 26%;
  background: radial-gradient(closest-side, rgba(255, 205, 175, .22), transparent 70%);
  animation: drift2 30s ease-in-out infinite alternate-reverse;
}
.aurora .a5 {
  width: 38vmax; height: 38vmax; right: -6vmax; top: 48%;
  background: radial-gradient(closest-side, rgba(201, 138, 99, .18), transparent 70%);
  animation: drift1 34s ease-in-out infinite alternate;
}
.aurora .a6 {
  width: 30vmax; height: 30vmax; left: 30%; bottom: 6%;
  background: radial-gradient(closest-side, rgba(255, 224, 206, .15), transparent 70%);
  animation: drift3 42s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 { to { transform: translate(9vmax, 7vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vmax, 9vmax) scale(1.08); } }
@keyframes drift3 { to { transform: translate(6vmax, -8vmax) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .aurora span { animation: none; } }

/* зерно плёнки поверх всего фона */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- ЗОЛОТАЯ НИТЬ (signature): заполняется по скроллу ---------- */
.thread {
  position: absolute;
  left: max(10px, env(safe-area-inset-left));
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, .06);
}
.thread .fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 12px rgba(255, 205, 175, .55);
  transform-origin: top;
  transform: scaleY(0);
}
@media (min-width: 1200px) { .thread { left: calc(50% - var(--container) / 2 - 34px); } }

/* ---------- ШАПКА ---------- */
.c-header {
  position: relative;
  z-index: 5;
  padding: 16px 0;
}
.c-header .container { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
/* единая высота первой строки у бренда и у цифр: --hline. Нижняя граница совпадает,
   щит центрируется ровно по надписи */
.c-header { --hline: clamp(20px, 5vw, 26px); }
.c-brand { display: block; text-decoration: none; color: var(--text); }
.c-brand .brand-line { display: flex; align-items: center; gap: 10px; height: var(--hline); }
.c-brand .c-shield {
  width: 26px; height: 26px;
  background: var(--gold);
  -webkit-mask: url("/img/shield-56.png") center / contain no-repeat;
  mask: url("/img/shield-56.png") center / contain no-repeat;
}
.c-brand b { font-family: "Inter", Arial, sans-serif; font-weight: 700; letter-spacing: normal; font-size: clamp(13px, 3.4vw, 18px); line-height: 1; }
.c-brand small { display: block; font-size: 11px; color: var(--faint); letter-spacing: .02em; margin-top: 4px; padding-left: 36px; }
/* три метрики в шапке — одной строкой с логотипом на любом экране */
.h-stats { display: flex; gap: clamp(10px, 3vw, 28px); align-items: flex-start; flex: none; }
.header-cta { display: none; }   /* кнопка в шапке — только десктоп (см. @media min-width) */
.h-stat { text-align: left; max-width: 112px; }  /* фикс ширина: подпись переносится внутри, не двигает шапку */
.h-stat .num {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(13px, 3.4vw, 18px); /* = размеру «ИНСТИТУТ УДО» */
  color: var(--gold-2);
  line-height: var(--hline); /* одна нижняя граница с надписью */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.h-stat .lbl { font-size: clamp(9px, 2.2vw, 11px); color: var(--muted); line-height: 1.3; }
@media (max-width: 1000px) { .c-brand small { display: none; } }
@media (max-width: 560px) {
  .c-brand .brand-line { gap: 7px; }
  .c-brand .c-shield { width: 20px; height: 20px; }
}

/* ---------- СЕКЦИИ ---------- */
main { position: relative; z-index: 1; }
.sec { position: relative; padding: 72px 0; }
@media (min-width: 768px) { .sec { padding: 104px 0; } }

.sec > .container { position: relative; z-index: 1; }

.eyebrow {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
/* жёлтое стекло */
.glass-gold {
  background: linear-gradient(165deg, rgba(255, 205, 175, .34), rgba(255, 205, 175, .14) 60%);
  border-color: rgba(255, 205, 175, .65);
  box-shadow:
    var(--shadow-glass),
    inset 0 1.5px 0 rgba(255, 224, 206, .45),
    inset 0 -1px 0 rgba(255, 205, 175, .15),
    inset 1.5px 0 0 rgba(255, 205, 175, .2),
    inset -1.5px 0 0 rgba(255, 205, 175, .2);
}
.glass-gold::after { background: radial-gradient(130% 65% at 50% -25%, rgba(255, 224, 206, .28), transparent 55%); }
/* плашка «дистанционно» — БЕЗ стекла: сплошной светлый акцент.
   двойной класс перебивает .glass-card (объявлен ниже в файле) */
.remote-video { display: block; width: 100%; border-radius: 12px; }   /* видео сверху — на всех экранах */
.glass-card.remote-card {
  margin: 14px auto 0;               /* по центру */
  max-width: 720px;                  /* ширина как у кнопки */
  background: var(--gold-2);          /* сплошной светлый акцент, без градиента */
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(2, 6, 18, .35);
  display: flex; flex-direction: column; gap: 14px;
  text-align: left;
}
.glass-card.remote-card::before,
.glass-card.remote-card::after { content: none; display: none; }  /* убрать кромку и перелив */
.remote-card p { font-size: 16.5px; color: var(--gold-ink); text-wrap: pretty; max-width: none; text-align: left; }
.remote-card .w9 { font-weight: 900; color: var(--gold-ink); }

h1.display { font-size: clamp(32px, 8.4vw, 62px); line-height: 1.06; text-transform: uppercase; }

/* плашка-подзаголовок под H1: во всю ширину как кнопка, но спокойная —
   стекло с золотой рамкой, без свечений и анимаций; кликабельна (скролл к форме) */
.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 205, 175, .45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  color: var(--gold-2);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(13px, 3.7vw, 19px);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  cursor: pointer;
}
.hero-badge:focus-visible { outline: 3px solid rgba(255, 205, 175, .7); outline-offset: 3px; }
h2.display { font-size: clamp(26px, 6vw, 44px); line-height: 1.1; text-transform: uppercase; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: clamp(16px, 2.5vw, 19px); max-width: 560px; }
.sub b, .sub strong { color: var(--text); font-weight: 600; }
.sub .w { color: var(--text); font-weight: 600; }

/* ---------- HERO ---------- */
.hero { padding: 44px 0 84px; min-height: calc(100svh - 70px); display: flex; align-items: center; }
.hero .container { width: 100%; }
.hero-offer { max-width: 720px; }
.hero h1 .gold { color: var(--gold); }
.hero .sub { margin-top: 20px; }
.hero-cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* правило «строки как книги»: многострочный текст без рваных хвостов */
.hero-note, .cases-note, .select-line, .proofs-note, .cta-hint,
.method-card p, .moment-cap, .no-item .d, .bw p, .review-c blockquote, .f-after, .f-legal {
  text-wrap: pretty;
}
h1.display, h2.display, .sub, .method-card .k, .no-item .t,
.case-txt, .hero-badge, .remote-card p { text-wrap: balance; }

/* ---------- КНОПКИ ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  /* единый стиль всех кнопок: Montserrat, КАПС */
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  text-wrap: balance;
  border-radius: 14px; /* как у плашки-подзаголовка */
  min-height: 54px;
  padding: 16px 28px;
  transition: transform .18s var(--ease-out), box-shadow .25s, background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(255, 205, 175, .7); outline-offset: 3px; }

.btn-gold {
  background: linear-gradient(160deg, var(--gold-2) 0%, var(--gold) 48%, #C98A63 100%);
  color: var(--gold-ink);
  box-shadow: 0 10px 32px rgba(255, 205, 175, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
  position: relative;
  overflow: hidden;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(255, 205, 175, .4), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-gold .shine {
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  /* только transform: left-анимация дёргала scroll anchoring — страница сама уезжала вверх */
  transform: translateX(-180%) skewX(-22deg);
  animation: shine 5.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 74% { transform: translateX(-180%) skewX(-22deg); }
  92%, 100% { transform: translateX(420%) skewX(-22deg); }
}
@media (prefers-reduced-motion: reduce) { .btn-gold .shine { animation: none; display: none; } }

/* анимированная рамка кнопки «Получить стратегию защиты» (перенос с таплинка):
   два светящихся угла по диагонали плавно качаются туда-обратно */
.btn-outline-gold { --stroke-light: rgba(255, 233, 218, 1); --stroke-dark: rgba(201, 138, 99, .35); }
.btn-outline-gold .stroke {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2.1px;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
}
/* большой квадрат из центра кнопки — conic симметричен, линия не рвётся на широкой кнопке */
.btn-outline-gold .stroke::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 150vmax; height: 150vmax;
  translate: -50% -50%;
  background: conic-gradient(from 135deg,
    var(--stroke-light) 0deg, var(--stroke-dark) 90deg,
    var(--stroke-light) 180deg, var(--stroke-dark) 270deg, var(--stroke-light) 360deg);
  animation: strokeSwing 2s ease-in-out infinite alternate;
}
@keyframes strokeSwing { from { rotate: 0deg; } to { rotate: 90deg; } }
@media (prefers-reduced-motion: reduce) { .btn-outline-gold .stroke::before { animation: none; } }

/* стеклянная кнопка с жёлтым напылением — как glass-gold плашки */
.btn-outline-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 205, 175, .14), rgba(255, 205, 175, .05) 60%);
  color: var(--gold-2);
  border: none;                                 /* рамку рисует только .stroke */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(2, 6, 18, .45);  /* только мягкая тень, без стеклянных граней */
}
.btn-outline-gold:hover { background: linear-gradient(165deg, rgba(255, 205, 175, .3), rgba(255, 205, 175, .13) 60%); }

.btn-glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .26);
  border-top-color: rgba(255, 255, 255, .42);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(2, 6, 18, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  position: relative;
  overflow: hidden;
}
.btn-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 210deg,
    rgba(255, 224, 206, .65), rgba(201, 138, 99, .25), rgba(255, 205, 175, .5),
    rgba(255, 244, 214, .45), rgba(201, 138, 99, .2), rgba(255, 224, 206, .65));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  opacity: .5;
  pointer-events: none;
}
.btn-glass:hover { border-color: rgba(255, 205, 175, .55); background: linear-gradient(165deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-wide { width: 100%; max-width: 720px; font-size: clamp(13px, 3.7vw, 19px); min-height: 62px; padding-left: 20px; padding-right: 20px; white-space: nowrap; }

.btn svg.btn-ico { width: 38px; height: 38px; flex: 0 0 auto; margin: -8px 0; }  /* крупная, но не тянет высоту кнопки (наслаивается на паддинг) */

.block-cta { margin-top: 14px; }
.cta-hint { font-size: 13px; color: var(--faint); margin-top: 12px; }

/* ---------- LIQUID GLASS (Apple-стекло) ----------
   База для всех: blur + сатурация + светотеневые грани по периметру.
   Chromium дополнительно получает рефракцию фона: html.lg-full →
   backdrop-filter: url(#lg-dist) — SVG feDisplacementMap искривляет
   aurora-фон под стеклом, и стекло «переливается» при движении фона. */
.glass-card {
  background: rgba(255, 255, 255, .04);   /* матовая плашка, без стекла */
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 34px rgba(2, 6, 18, .4);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.glass-card::after,
.glass-card::before { content: none; display: none; }  /* убрать глянец и кромку */
/* html.lg-full: js/liquid-glass.js (движок Shu Ding) сам назначает
   каждой .glass-card инлайн backdrop-filter: url(#lg-N) с линзовой картой */

/* ---------- БЛОК 2: МЕТОД ---------- */
.method-grid { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 860px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }
.ico-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 205, 175, .24), rgba(255, 205, 175, .08));
  border: 1px solid rgba(255, 205, 175, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.ico-badge svg { width: 21px; height: 21px; color: var(--gold-2); }

.method-card .k {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.method-card p { color: var(--muted); font-size: 15px; }
.method-card p b { color: var(--text); font-weight: 600; }

/* ---------- БЛОК 3: КЕЙСЫ БЫЛО→СТАЛО ---------- */
.cases-grid { display: grid; gap: 16px; margin-top: 34px; }
@media (min-width: 900px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-tag {
  display: inline-block;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  border: 1px solid rgba(255, 205, 175, .35);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.bw { display: grid; gap: 12px; }
.bw .was, .bw .now { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; }
.bw .t {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
}
.bw .was .t { color: var(--lose); }
.bw .now .t { color: var(--win); }
.bw .was p { color: var(--muted); font-size: 15px; }
.bw .now p { color: var(--text); font-size: 16px; font-weight: 600; }
.bw .now p .n { color: var(--win); }
.bw-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  margin: 4px 0;
}
.cases-note { margin-top: 22px; font-size: 13.5px; color: var(--faint); max-width: 560px; }

/* призыв под карточками кейсов (вместо кнопки) */
.cases-cta {
  margin-top: clamp(30px, 5vw, 48px);
  font-size: clamp(18px, 3.8vw, 32px);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
  max-width: 800px;
}
.cases-link {
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  vertical-align: baseline;
  color: var(--gold);
  background: none; border: none; padding: 0; cursor: pointer;
  text-decoration: underline dashed var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: opacity .2s;
}
.cases-link:hover { opacity: .82; }
.cases-cta + .block-cta { margin-top: clamp(30px, 5vw, 48px); }  /* отступ до кнопки = отступу над призывом */
.cases-link:focus-visible { outline: 3px solid rgba(255, 205, 175, .7); outline-offset: 3px; border-radius: 3px; }

/* ---- белая карточка кейса (без стекла): 2 строки, документ-пруф справа ---- */
.glass-card.case-white {
  --ink: #1c1a16;          /* весь текст — чёрный/графит */
  background: #FBFAF6;
  border: 1.5px solid rgba(154, 91, 35, .55);   /* рамка — акцентная */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 14px 40px rgba(2, 6, 18, .45);
  color: var(--ink);
  padding: 14px;           /* одинаковый отступ со всех сторон */
}
.glass-card.case-white::before,
.glass-card.case-white::after { content: none; display: none; }
.case-white .case-tag {
  color: #9A5B23;                          /* акцент */
  border-color: rgba(154, 91, 35, .55);    /* акцентная рамка (как строук блока) */
  background: rgba(154, 91, 35, .08);      /* прозрачная акцентная заливка */
  border-radius: 8px;      /* угол под карточку, не пилюля */
  margin-bottom: 14px;     /* отступ снизу = отступу карточки */
}
/* «Недавняя победа» — насыщенные красные оттенки (свежая победа из базы) */
.case-white.case-recent { border-color: #D93025; }   /* красная обводка карточки */
.case-white .case-tag--recent {
  color: #D93025;
  border-color: rgba(217, 48, 37, .55);
  background: rgba(217, 48, 37, .11);
}

.case-row {
  display: grid;
  grid-template-columns: 44px 1fr 66px;   /* лейбл | текст | документ */
  gap: 10px;
  align-items: center;
  padding: 11px 0;
}
.case-row:first-of-type { padding-top: 0; }    /* верх задаёт отступ тега */
.case-row:last-of-type  { padding-bottom: 0; } /* низ задаёт padding карточки */
.case-row + .case-row { border-top: 1px solid rgba(28, 26, 22, .1); }

.case-lbl { display: flex; flex-direction: column; line-height: 1.2; }
.case-lbl b { font-family: "Inter", Arial, sans-serif; font-weight: 800; font-size: 14px; color: var(--ink); }
.case-lbl span { font-size: 11px; font-weight: 500; color: var(--ink); }

.case-txt { font-family: "Inter", Arial, sans-serif; font-size: 12.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.case-txt .n { font-weight: 800; color: var(--ink); }

.case-doc { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.proof-doc {
  position: relative; display: block; overflow: hidden;
  width: 54px; height: 54px; border-radius: 12px;   /* высота ≈ 3 строки текста */
  background: #fff; border: 1px solid rgba(28, 26, 22, .14);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.proof-doc:hover { border-color: rgba(154, 91, 35, .7); box-shadow: 0 6px 16px rgba(154, 91, 35, .16); transform: translateY(-1px); }
/* превью скана: показываем шапку документа — она узнаваема */
.proof-doc img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.proof-zoom {
  position: absolute; right: 3px; bottom: 3px;
  display: flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 6px;
  background: rgba(28, 26, 22, .74); color: #fff;
  transition: background .2s;
}
.proof-doc:hover .proof-zoom { background: #9A5B23; }
.proof-doc svg.btn-ico, .proof-zoom svg { width: 11px; height: 11px; }

/* ---- модалка просмотра документа (lightbox) ---- */
.doc-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 44px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease-out), visibility .25s;
}
.doc-modal.open { opacity: 1; visibility: visible; }
.doc-modal__backdrop { position: absolute; inset: 0; background: rgba(4, 6, 12, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: none; }
.doc-modal__box {
  position: relative; z-index: 1;
  width: min(92vw, 760px); max-height: 90vh;
  display: flex; flex-direction: column;
  transform: scale(.97);
  transition: transform .25s var(--ease-out);
}
.doc-modal.open .doc-modal__box { transform: none; }

/* шапка попапа: название документа + скачивание */
.doc-modal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 46px 10px 2px;   /* справа — место под крестик */
}
.doc-modal__title {
  font-family: "Inter", Arial, sans-serif; font-size: 14px; font-weight: 600;
  color: #fff; letter-spacing: .01em;
}
.doc-modal__count {
  flex: none;
  font-family: "Inter", Arial, sans-serif; font-size: 12.5px; font-weight: 500;
  color: rgba(242, 240, 234, .5); white-space: nowrap;
}

/* страницы документа — скроллом внутри попапа */
.doc-modal__pages {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 10px;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(2, 6, 18, .6);
}
.doc-modal__page {
  display: block; width: 100%; height: auto;
  background: #fff; border-radius: 8px;
}
.doc-modal__close {
  position: absolute; top: clamp(12px, 3vw, 22px); right: clamp(12px, 3vw, 22px); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  background: none; border: none; box-shadow: none;
  color: #fff; cursor: pointer;
  transition: transform .15s, opacity .2s;
}
.doc-modal__close:hover { opacity: .7; transform: scale(1.08); }
.doc-modal__close svg { width: 28px; height: 28px; }

/* ---------- БЛОК 4: АНТИ-ОТБОР ---------- */
.no-list { display: grid; gap: 12px; margin-top: 34px; max-width: 720px; }
.no-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 16px 18px; }
.no-item svg { width: 22px; height: 22px; color: var(--lose); margin-top: 2px; }
.no-item .t { font-weight: 600; }
.no-item .d { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.select-line {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 205, 175, .1), transparent 70%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 16.5px;
  max-width: 680px;
}
.select-line b { color: var(--gold-2); }

/* ---------- БЛОК «ЖИВЫЕ КАДРЫ»: лента моментов 9:16 ----------
   Горизонтальная лента вертикальных роликов со снапом — родной формат телефона.
   Инлайн играет короткая петля без звука (preload=none, запуск по видимости —
   см. js/p.js), полный ролик со звуком открывается в лайтбоксе по клику. */
.moments-strip {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* лента уезжает за край экрана — видно, что она продолжается */
  margin-left: -22px; margin-right: -22px;
  padding: 4px 22px 6px;
}
.moments-strip::-webkit-scrollbar { display: none; }

.moment {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(62vw, 224px);
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #14100D;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 14px 40px rgba(2, 6, 18, .45);
  transition: transform .18s var(--ease-out), box-shadow .2s, border-color .2s;
}
.moment:hover { transform: translateY(-3px); border-color: rgba(255, 205, 175, .5); }
.moment:focus-visible { outline: 3px solid rgba(255, 205, 175, .7); outline-offset: 3px; }
.moment-v { display: block; width: 100%; height: 100%; object-fit: cover; }

/* затемнение снизу — подпись читается на любом кадре */
.moment::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
  background: linear-gradient(to top, rgba(6, 7, 11, .88), transparent);
  pointer-events: none;
}
.moment-cap {
  position: absolute; left: 11px; right: 11px; bottom: 11px; z-index: 1;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12.5px; font-weight: 600; line-height: 1.25;
  color: var(--text);
  text-align: left;
  text-wrap: balance;
}
/* значок звука: инлайн ролик немой, клик открывает его со звуком */
.moment-play {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(6, 7, 11, .6);
  color: var(--gold-2);
  transition: background .2s, transform .15s;
}
.moment:hover .moment-play { background: var(--gold); color: var(--gold-ink); transform: scale(1.06); }
.moment-play svg { width: 15px; height: 15px; }

@media (min-width: 880px) {
  /* на десктопе лента по центру; safe — чтобы при переполнении не срезало первый ролик */
  .moments-strip { justify-content: safe center; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

/* лайтбокс ролика — каркас общий с .doc-modal, отличается только содержимым */
.vid-modal__box {
  position: relative; z-index: 1;
  width: min(92vw, 420px); max-height: 88vh;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(2, 6, 18, .6);
  transform: scale(.97);
  transition: transform .25s var(--ease-out);
}
.doc-modal.open .vid-modal__box { transform: none; }
.vid-modal__box video { display: block; width: 100%; max-height: 88vh; background: #000; }

/* ---------- БЛОК 5: ФОРМА ---------- */
.form-sec { padding-bottom: 96px; }
.form-card {
  max-width: 640px;
  margin: 34px auto 0;
  padding: 28px 20px 24px;
  border-radius: 26px;
  /* градиент как у кнопки: светлый угол сверху-слева → тёмный бронзовый снизу-справа */
  background: linear-gradient(135deg, #FFE8D8 0%, #FFCDAF 48%, #C98A63 100%);
  box-shadow: 0 24px 60px rgba(2, 6, 18, .5);
}
@media (min-width: 640px) { .form-card { padding: 38px 38px 32px; } }
.form-card .eyebrow { color: #9A5B23; }
.form-card .eyebrow::before { background: #9A5B23; }
.form-card h2.display { color: #1c1a16; }
.form-shell { margin-top: 22px; }
.form-shell.flash { animation: formflash 1.2s var(--ease-out); }
@keyframes formflash {
  0% { box-shadow: 0 0 0 3px rgba(255, 205, 175, .75), var(--shadow-glass); }
  100% { box-shadow: var(--shadow-glass); }
}

.f-field { position: relative; margin-bottom: 22px; }
.f-label { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; color: var(--text); }
.f-label .req { color: var(--gold); }
.f-label .opt { color: var(--faint); font-weight: 400; }
.f-input {
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(28, 26, 22, .18);
  background: #ffffff;      /* белое поле на бежевой плашке */
  color: #1c1a16;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.f-input::placeholder { color: transparent; }   /* placeholder=" " нужен только для :placeholder-shown */
.f-input:focus { border-color: #9A5B23; box-shadow: 0 0 0 3px rgba(154, 91, 35, .15); }
.f-input.invalid { border-color: var(--err); }

/* floating label (как во FREE MEN): по центру когда пусто → садится на верхнюю границу поля при фокусе/вводе */
.f-float {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: #8d867c;
  font-size: 16px;
  pointer-events: none;
  background: #ffffff;      /* фон = фон поля, прорезает рамку на границе */
  padding: 0 5px;
  transition: all .18s var(--ease-out);
}
.f-input:focus ~ .f-float,
.f-input:not(:placeholder-shown) ~ .f-float {
  top: -20px;              /* над обводкой, на бежевой плашке */
  left: 14px;             /* на уровне скругления, не к краю */
  transform: none;
  font-size: 13px;
  background: transparent; /* без фона — просто текст на плашке */
  padding: 0;
  color: #1c1a16;          /* чёрный, то же начертание что в поле */
}
textarea.f-input { resize: vertical; min-height: 84px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 16px;
  min-height: 44px;
  font: inherit;
  font-size: 14.5px;
  cursor: pointer;
  transition: all .18s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip svg { width: 16px; height: 16px; }
.chip:hover { border-color: rgba(255, 205, 175, .4); color: var(--text); }
.chip.selected {
  background: linear-gradient(160deg, rgba(255, 205, 175, .22), rgba(255, 205, 175, .1));
  border-color: var(--gold);
  color: var(--gold-2);
  font-weight: 600;
}
.chip:focus-visible { outline: 2px solid rgba(255, 205, 175, .7); outline-offset: 2px; }

.f-err {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--err);
  font-size: 13px;
  margin-top: 7px;
}
.f-err.show { display: flex; }
.f-err svg { width: 14px; height: 14px; flex: none; }

.file-zone-c {
  width: 100%;
  border: 1.5px dashed rgba(28, 26, 22, .3);
  background: #ffffff;
  color: #6b645c;
  border-radius: var(--r-sm);
  min-height: 56px;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color .2s, background .2s, color .2s;
}
.file-zone-c:hover { border-color: #9A5B23; color: #1c1a16; }
.file-zone-c svg { width: 18px; height: 18px; color: #9A5B23; flex: none; }
.file-chip-c {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
}
.file-chip-c.show { display: flex; }
.file-chip-c .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.file-chip-c .size { color: var(--faint); font-size: 12.5px; }
.file-chip-c .remove {
  margin-left: auto;
  background: none; border: none; cursor: pointer; color: var(--muted);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;
}
.file-chip-c .remove:hover { color: var(--err); background: rgba(229, 72, 77, .12); }
.file-chip-c .remove svg { width: 16px; height: 16px; }

.agree-row { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 6px; }
.agree-row input {
  width: 16px; height: 16px; flex: none; margin-top: 2px;
  accent-color: #0A0B0F;
  cursor: pointer;
}
.agree-row label { font-size: 13px; color: #6b645c; cursor: pointer; }
.agree-row a { color: #1c1a16; text-decoration-color: currentColor; }

.f-submit {
  width: 100%; margin-top: 18px; font-size: 17px; min-height: 58px;
  background: #0A0B0F;                          /* полностью чёрная кнопка, без рамки */
  color: #ffffff;                               /* белый текст */
  border: none;
  overflow: hidden;
  transition: background .2s, transform .15s;
}
.f-submit:hover { background: #000; transform: translateY(-1px); }
.file-zone-c span { line-height: 1.35; text-align: center; }
.f-after { text-align: center; font-size: 13px; color: var(--faint); margin-top: 12px; }
.f-legal { font-size: 12px; color: var(--faint); margin-top: 16px; text-align: center; }

/* ---------- БЛОК 6: ОТЗЫВЫ ---------- */
.reviews-grid { display: grid; gap: 14px; margin-top: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid .vk-review:nth-child(10) { display: none; }   /* 3 колонки: скрыть 10-й (остаётся ровно 9) */
}

/* карточка отзыва в тёмном стиле ВКонтакте */
.vk-review {
  display: flex; flex-direction: column; gap: 10px;
  background: #232324;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  padding: 14px 15px 13px;
  text-decoration: none;
  color: #e1e3e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: transform .15s, background .2s;
}
.vk-review:hover { transform: translateY(-2px); background: #2a2a2c; }
.vk-review__head { display: flex; align-items: center; gap: 10px; }
.vk-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  object-fit: cover;
}
.vk-avatar--letter {
  background: #4a6a9a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 17px;
}
.vk-meta { display: flex; flex-direction: column; min-width: 0; }
.vk-name { font-weight: 600; font-size: 14px; color: #e1e3e6; }
.vk-date { font-size: 12px; color: #828282; margin-top: 1px; }
.vk-review__text {
  font-size: 14px; line-height: 1.45; color: #dcdee1; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.vk-review__more { font-size: 13px; color: #71aaeb; margin-top: auto; padding-top: 2px; }
.vk-review:hover .vk-review__more { text-decoration: underline; }

/* ---------- ФУТЕР ---------- */
.c-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 0 120px; /* запас под док */
  font-size: 12.5px;
  color: var(--faint);
}
.c-footer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.c-footer a { color: var(--muted); transition: color .2s; }
.c-footer a:hover { color: var(--gold); }
.foot-col { display: flex; flex-direction: column; gap: 6px; line-height: 1.4; }
.foot-h {
  font-family: "Inter", Arial, sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 3px;
}
.foot-name { font-family: "Inter", Arial, sans-serif; font-weight: 800; font-size: 14px; color: var(--text); letter-spacing: .01em; }
.foot-dim { color: var(--faint); }
.foot-brand { gap: 4px; }

@media (min-width: 720px) {
  .c-footer .container { grid-template-columns: auto 1fr auto; gap: 20px 56px; align-items: start; }
}

/* ---------- STICKY DOCK: одна кнопка-цель ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.dock.hidden-kb, .dock.at-form { transform: translateX(-50%) translateY(160%); opacity: 0; pointer-events: none; }
.dock .btn { box-shadow: 0 14px 40px rgba(2, 6, 18, .6), 0 10px 32px rgba(255, 205, 175, .3), inset 0 1px 0 rgba(255, 255, 255, .55); white-space: nowrap; }

/* ---------- АНИМАЦИИ ПОЯВЛЕНИЯ (GSAP управляет, CSS — старт) ---------- */
.rv { opacity: 0; transform: translateY(28px); }
.no-js .rv, .reduced .rv { opacity: 1; transform: none; }

/* ---------- ТОСТ ---------- */
.toast-c {
  position: fixed;
  left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  z-index: 70;
  background: rgba(13, 21, 38, .92);
  border: 1px solid var(--err);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 14px;
  max-width: min(92vw, 480px);
  display: flex; gap: 12px; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast-c.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.toast-c button {
  background: none; border: 1px solid var(--glass-brd); color: var(--gold);
  border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer;
  flex: none; min-height: 40px;
}

/* ---------- прочее ---------- */
::selection { background: rgba(255, 205, 175, .35); }
a { -webkit-tap-highlight-color: transparent; }

/* ============================================================
   ДЕСКТОП-АДАПТАЦИЯ (только min-width — мобилка не затрагивается):
   убираем левый перекос, центрируем контент, чтобы не было
   пустоты справа. Карточки/сетки остаются как есть.
   ============================================================ */
@media (min-width: 880px) {
  /* --- ТОП-БАР: sticky; наверху прозрачный, при скролле — blur + кнопка --- */
  .c-header {
    position: sticky; top: 0; z-index: 30;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease-out), backdrop-filter .3s, border-color .3s;
  }
  /* подложка появляется сразу при первом скролле; цвет — как у карточек (чуть светлее чёрного) */
  .c-header.scrolled {
    background: rgba(28, 25, 21, .82);   /* тёплый коричнево-графитовый, без синевы */
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: rgba(255, 255, 255, .08);
  }
  .c-brand small { display: none; }               /* убрать подпись, как на мобилке */
  .c-header .container { align-items: center; }
  .c-brand { flex: 1; }                            /* лого слева */
  /* цифры: наверху прижаты вправо → при скролле съезжают к центру */
  .h-stats { flex: none; margin-left: auto; transition: margin 1s var(--ease-out); }
  .c-header.stuck .h-stats { margin-right: auto; }
  /* кнопка: наверху скрыта (схлопнута) → при скролле выезжает справа */
  .header-cta {
    display: flex; justify-content: flex-end;
    flex: 0; max-width: 0; opacity: 0; overflow: hidden;
    transition: max-width 1s var(--ease-out), opacity .7s ease, flex 1s var(--ease-out);
  }
  .c-header.stuck .header-cta { flex: 1; max-width: 420px; opacity: 1; }
  .header-cta .btn { min-height: 46px; padding: 11px 20px; font-size: 13px; white-space: nowrap; box-shadow: none; }
  .header-cta .btn:hover { box-shadow: none; }
  .dock { display: none; }                         /* нижняя плашка не нужна — кнопка в шапке */

  /* дисклеймер: на десктопе — под Instagram-карточкой, нижний скрыт */
  .social-disclaimer { display: block; }
  .social-disc-bottom { display: none; }

  /* декоративная вертикаль слева не нужна на десктопе */
  .hero .rail, .method .rail { display: none; }

  /* HERO по центру экрана; порядок: заголовок → бейдж → КНОПКА → подзаголовок */
  .hero-offer {
    display: flex; flex-direction: column; align-items: center;
    padding-left: 0; text-align: center;
    max-width: 820px; margin-left: auto; margin-right: auto;
  }
  .hero-offer .eyebrow { justify-content: center; }
  /* плашка и кнопка — одинаковой ширины, по ширине текста заголовка (не во всю ширину) */
  .hero-offer .hero-badge { display: flex; width: 100%; max-width: 640px; justify-content: center; text-align: center; margin-left: auto; margin-right: auto; }
  .hero-offer .hero-cta-row { order: 1; display: flex; justify-content: center; width: 100%; max-width: 640px; margin: 22px auto 0; }
  .hero-offer .hero-cta-row .btn { width: 100%; max-width: none; }
  .hero-offer .sub { order: 2; margin-top: 18px; margin-left: auto; margin-right: auto; }

  /* заголовки секций по центру */
  .sec .eyebrow { display: flex; justify-content: center; }
  .sec > .container > h2.display { text-align: center; margin-left: auto; margin-right: auto; }
  .sec > .container > .sub { text-align: center; margin-left: auto; margin-right: auto; }

  /* блок «Метод» — снять левые отступы от rail, центрировать шапку */
  .method .eyebrow-wrap { margin-left: 0; }
  .method .display, .method .sub { padding-left: 0; text-align: center; margin-left: auto; margin-right: auto; }
  .method .display { max-width: 1300px; }   /* шире — заголовок в 2 строки */
  .method .sub { max-width: 1040px; }        /* во всю ширину блока — текст в 2 строки */
  /* плашка «дистанционно»: слева видео, справа текст в 4 строки (по левому краю) */
  .method .remote-card { flex-direction: row; align-items: center; gap: 20px; text-align: left; }
  .method .remote-video { width: 300px; flex: none; }
  .method .remote-card p { max-width: none; text-align: left; }

  /* кнопки-CTA под блоками — по центру */
  .block-cta { display: flex; justify-content: center; }

  /* призыв под кейсами — по центру */
  .cases-cta { text-align: center; margin-left: auto; margin-right: auto; }

  /* 5 карточек кейсов: центрируем последний ряд (3 + 2) */
  .cases-grid { justify-content: center; }
  .cases-grid > .case-white { max-width: 360px; width: 100%; }
}

/* широкий десктоп: не давать контейнеру расплываться, держать читаемым */
@media (min-width: 1200px) {
  .hero h1.display { font-size: clamp(44px, 4vw, 60px); }
}

/* ---------- БЛОК 7: СОЦСЕТИ ---------- */
.social-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 700px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }

.social-card {
  display: flex; align-items: center; gap: 14px;
  background: #FBFAF6; border-radius: 14px; padding: 15px 17px;
  border: none;
  box-shadow: 0 8px 24px rgba(2, 6, 18, .35);
  text-decoration: none; color: #1c1a16;
  transition: transform .15s, box-shadow .2s;
}
.social-card { position: relative; }
.social-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2, 6, 18, .45); }
.social-logo { width: 48px; height: 48px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; }
.social-logo svg, .social-logo img { width: 30px; height: 30px; }
.social-logo--ig { background: rgba(228, 64, 95, .1); }
.social-name sup { color: #E4405F; font-weight: 700; }
/* дисклеймер в карточке (absolute под ней) — только десктоп */
.social-disclaimer {
  display: none;
  position: absolute; left: 2px; right: 2px; top: calc(100% + 7px);
  font-size: 11px; font-style: italic; font-weight: 400;
  color: rgba(242, 240, 234, .6); line-height: 1.25;
}
.social-disclaimer .star { color: #E4405F; font-weight: 700; font-style: normal; }
/* дисклеймер в самом низу блока — для мобилки */
.social-disc-bottom {
  margin-top: 16px; font-size: 12px; font-style: italic;
  color: rgba(242, 240, 234, .5); line-height: 1.3; text-wrap: pretty;
}
.social-disc-bottom .star { color: #E4405F; font-weight: 700; font-style: normal; }
.social-logo--vk   { color: #0077FF; background: rgba(0, 119, 255, .1); }
.social-logo--tg   { color: #26A5E4; background: rgba(38, 165, 228, .1); }
.social-logo--yt   { color: #FF0000; background: rgba(255, 0, 0, .09); }
.social-logo--max  { color: #6E4AE6; background: rgba(110, 74, 230, .1); }
.social-logo--dzen { color: #111; background: rgba(0, 0, 0, .07); }
.social-logo--ok   { color: #EE8208; background: rgba(238, 130, 8, .1); }
.social-info { display: flex; flex-direction: column; min-width: 0; }
.social-name { font-weight: 700; font-size: 15px; color: #1c1a16; line-height: 1.2; }
.social-net { font-size: 12.5px; color: #8d867c; margin-top: 1px; }
.social-subs { font-size: 12.5px; color: #9A5B23; font-weight: 600; margin-top: 3px; }

/* фикс порядка: дисклеймер в карточке (десктоп) должен победить базовое display:none */
@media (min-width: 880px) {
  .social-disclaimer { display: block; }
  .social-disc-bottom { display: none; }
}

/* ручные переносы заголовка соцсетей — только мобилка (на десктопе balance сам) */
.mob-br { display: inline; }
@media (min-width: 880px) { .mob-br { display: none; } }
