/* ═══ Шрифт Manrope (self-hosted variable woff2) ═══ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+20BD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══ Дизайн-токены ═══
   Палитра v2 (макет дизайнера): фиолетовый + лайм на светло-сером фоне.
   Менять цвета только здесь. */
:root {
  --color-bg: #f4f4f7;             /* фон страницы (светло-серый) */
  --color-surface: #ffffff;        /* карточки */
  --color-bg-accent: #ffffff;      /* фон акцентных секций */
  --color-text: #17171d;
  --color-text-muted: #6b6b77;

  --color-primary: #6a30f0;        /* CTA / акцент — фиолетовый */
  --color-primary-hover: #591fd6;
  --color-primary-ink: #ffffff;
  --color-primary-soft: #efeafe;   /* фон иконок */
  --color-primary-grad: linear-gradient(135deg, #6a35f0 0%, #5624e6 100%);

  --color-accent: #d4f000;         /* лайм — подсветка/бейджи */
  --color-accent-2: #c2e000;       /* лайм-галочки, «люди» */
  --color-accent-grad: linear-gradient(135deg, #e6f24a 0%, #cfee00 100%);
  --color-accent-ink: #17171d;     /* тёмный текст на лайме */

  --color-border: #e7e7ee;
  --color-danger: #d23b2f;

  --font-base: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2.35rem, 4.4vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-body: 1.0625rem;

  --container: 1400px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(23,23,29,.04), 0 8px 24px rgba(23,23,29,.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Формы/кнопки не наследуют шрифт по умолчанию — иначе варианты квиза и кнопки уезжают в Arial */
button, input, textarea, select { font-family: inherit; }

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: var(--fs-h1); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; margin-bottom: 1rem; font-weight: 800; letter-spacing: -.01em; }

.section { padding: 50px 0; }
.section--accent { background: var(--color-bg-accent); }

/* ═══ Кнопки ═══ */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .05s;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-primary); color: var(--color-primary-ink); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary-soft); }
.btn--lg { padding: 19px 32px; font-size: 1.125rem; border-radius: 16px; }
.btn__arrow {
  display: inline-grid; place-items: center;
  width: 1.9em; height: 1.9em; border-radius: 50%;
  background: rgba(255,255,255,.2); font-size: .95em; margin-left: .15em;
}

/* ═══ Шапка сайта ═══ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
/* padding-block only — не сбрасывать горизонтальные отступы .container (иначе на мобильных лого/кнопка липнут к краям) */
.site-header__inner { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo__icon { flex: 0 0 auto; width: 44px; height: 44px; object-fit: contain; display: block; }
.footer .logo__icon { width: 46px; height: 46px; }
.logo__mark { font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; }
.logo__tag { font-size: .72rem; line-height: 1.2; color: var(--color-text-muted); }
.site-nav { display: flex; gap: 24px; margin-left: 10px; }
.site-nav a { text-decoration: none; color: var(--color-text); font-size: .95rem; font-weight: 500; opacity: .82; transition: color .15s, opacity .15s; }
.site-nav a:hover { opacity: 1; color: var(--color-primary); }
.site-header__cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-header__phone { display: flex; flex-direction: column; text-align: right; text-decoration: none; color: inherit; }
.site-header__phone-num { font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.site-header__phone-sub { font-size: .72rem; color: var(--color-text-muted); }

/* ═══ Hero ═══ */
.hero { padding: 44px 0 60px; }
.hero__grid { display: grid; grid-template-columns: 1.7fr .64fr .98fr; gap: 20px; align-items: stretch; }
.hero__col { min-width: 0; }  /* колонки могут ужиматься до трека — иначе min-content колонки даёт микро-переполнение по X на мобильных */
.hero__title { margin-bottom: 1.5rem; line-height: 1.04; }
/* Ступенчатый кегль: 1-я строка крупная, 2–3 меньше; интервал между строк больше */
.ht-1 { display: block; font-size: 1em; }
.ht-2 { display: block; font-size: .8em; margin: .18em 0 .22em; }

/* Выделение маркером: салатовая плашка с градиентом + изогнутая линия под ней */
.hl {
  position: relative;
  display: inline;
  font-size: .8em;
  background: var(--color-accent-grad);
  color: var(--color-accent-ink);
  padding: .06em .34em;
  border-radius: 22px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hl__underline {
  position: absolute; left: 1%; bottom: -.34em;
  width: 98%; height: .5em; overflow: visible;
  color: var(--color-accent-2); pointer-events: none;
}
.hl__underline path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }
.hero__sub { color: var(--color-text-muted); margin-bottom: 1.25rem; font-size: 1.07rem; }
.hero__bullets { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.hero__bullets li { position: relative; padding-left: 34px; min-height: 24px; }
.hero__bullets li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-accent-2); color: #17171d;
  font-size: .82rem; font-weight: 800; display: grid; place-items: center;
}
.hero__disclaimer { font-size: .8rem; color: var(--color-text-muted); margin-top: 20px; }

/* Карточка «План реструктуризации» */
.plan-card {
  height: 100%; display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-card);
}
.plan-card__shield { display: block; width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.plan-card__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.plan-list { list-style: none; flex: 1; display: flex; flex-direction: column; }
.plan-list li { flex: 1; display: flex; gap: 12px; align-items: center; }
.plan-list li + li { border-top: 1px dashed var(--color-border); }
.plan-list__ic { flex: 0 0 auto; width: 44px; height: 44px; object-fit: contain; }
.plan-list__txt { font-weight: 600; font-size: .97rem; }

/* Блок статистики (правая колонка) */
.hero__col--stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.stat-card { border-radius: var(--radius-lg); padding: 13px 20px; }
.stat-card--accent { background: var(--color-accent-grad); color: var(--color-accent-ink); }
.stat-card__label { font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
.stat-card__value { font-size: clamp(2rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: .7rem; }
.pill { display: inline-flex; align-items: center; gap: .4em; background: #fff; color: #17171d; font-weight: 700; font-size: .9rem; padding: .5em .95em; border-radius: 999px; }
.pill__arrow { font-weight: 800; }

.stat-card--chart { background: var(--color-primary-grad); color: #fff; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: .35rem; }
.chart-head h3 { font-size: 1.15rem; font-weight: 800; white-space: nowrap; }
.chart-badge { flex: 0 0 auto; background: rgba(255,255,255,.16); border-radius: 12px; padding: 6px 11px; text-align: center; }
.chart-badge b { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.05; }
.chart-badge span { font-size: .64rem; opacity: .9; white-space: nowrap; }
.chart { width: 100%; height: auto; display: block; margin: .15rem 0 .4rem; }
.chart-foot { display: flex; border-top: 1px solid rgba(255,255,255,.18); padding-top: 10px; margin-top: 0; }
.chart-foot > div { flex: 1; }
.chart-foot > div + div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 16px; }
.chart-foot span { display: block; font-size: .78rem; opacity: .82; margin-bottom: .15rem; }
.chart-foot b { font-size: 1.12rem; font-weight: 800; }

.stat-card--compare { background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 14px; }
.compare-col { flex: 1; }
.compare-col > span { font-size: .85rem; color: var(--color-text-muted); }
.compare-col b { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.compare-col small { color: var(--color-text-muted); font-size: .8rem; }
.compare-col .bar { display: block; height: 12px; border-radius: 6px; margin-top: .6rem; }
.bar--before { background: var(--color-primary); }
.bar--after { background: var(--color-accent-2); width: 62%; }
.compare-arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border); display: grid; place-items: center; color: var(--color-text-muted); }

/* Ряд фич под hero */
.hero__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.feature { display: flex; align-items: center; gap: 14px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-card); }
.feature__ic { flex: 0 0 auto; width: 40px; height: 40px; object-fit: contain; }
.feature b { display: block; font-size: .96rem; }
.feature span { font-size: .82rem; color: var(--color-text-muted); }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__col--main { grid-column: 1 / -1; }
  .hero__features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .site-nav { display: none; }
}
@media (max-width: 680px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__features { grid-template-columns: 1fr; }
  .site-header__phone { display: none; }
  .logo__tag { display: none; }
  /* карточка «План»: строки дышат равномерно, как на десктопе (иначе на мобильном тесно) */
  .plan-list li { padding: 9px 0; gap: 14px; }
}

/* ═══ Квиз (блок 9) ═══ */
#quiz-root { max-width: 620px; margin: 0 auto; }
.quiz__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: .7rem; min-height: 36px; }
.quiz__progress { grid-column: 2; font-size: .95rem; color: var(--color-text-muted); }
.quiz__progress b { color: var(--color-primary); font-weight: 800; }
.quiz__bar { height: 6px; border-radius: 999px; background: var(--color-border); overflow: hidden; margin-bottom: 1.7rem; }
.quiz__bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--color-primary-grad); transition: width .35s ease; }
.quiz__question { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.35rem; }
.quiz__options { display: grid; gap: 13px; }
.quiz__option {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; text-align: left; min-height: 62px; padding: 15px 22px;
  background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: 16px;
  font-size: 1.06rem; font-weight: 500; color: var(--color-text); cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.quiz__option:hover { border-color: var(--color-primary); background: var(--color-primary-soft); box-shadow: 0 8px 24px rgba(106,48,240,.1); }
.quiz__option-arrow { flex: 0 0 auto; width: 22px; height: 22px; color: var(--color-text-muted); transition: color .15s, transform .15s; }
.quiz__option:hover .quiz__option-arrow { color: var(--color-primary); transform: translateX(3px); }
/* «Назад» вынесена под варианты — в зоне удобного нажатия большим пальцем на мобильном */
.quiz__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; background: var(--color-primary-soft); border: none; color: var(--color-primary); cursor: pointer; font-size: 1rem; font-weight: 600; padding: 12px 20px 12px 16px; border-radius: 12px; transition: color .15s, background .15s; }
.quiz__back svg { width: 18px; height: 18px; }
.quiz__back:hover, .quiz__back:active { background: #e4dbfb; }
.quiz__input {
  display: block; width: 100%; min-height: 54px; padding: 14px 18px; margin-bottom: .8rem;
  border: 1.5px solid var(--color-border); border-radius: 14px; font-size: 1.02rem; font-family: inherit;
}
.quiz__input:focus { outline: none; border-color: var(--color-primary); }
.quiz__consent { font-size: .85rem; color: var(--color-text-muted); display: flex; gap: .6em; align-items: flex-start; margin: 1rem 0; text-align: left; }
.quiz__consent a { color: var(--color-primary); }
.quiz__error { color: var(--color-danger); font-size: .9rem; margin-bottom: .6rem; text-align: left; }
.quiz__submit { width: 100%; justify-content: center; margin-top: .3rem; }

/* Финальный экран досрочного завершения квиза */
.quiz__end { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0; }
.quiz__end .quiz__question { margin-bottom: 0; }
.quiz__end-ic { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: 1.1rem; }
.quiz__end-ic svg { width: 32px; height: 32px; }
.quiz__end-text { max-width: 540px; margin: .9rem 0 1.7rem; color: var(--color-text-muted); font-size: 1.05rem; }
.quiz__end-back { margin-top: 1.1rem; }

.disclaimer { font-size: .8125rem; color: var(--color-text-muted); max-width: 560px; margin-top: 1rem; }

/* Панель финального квиза + триггеры доверия */
.quiz-panel {
  max-width: 920px; margin: 0 auto; text-align: center;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 50px 56px; box-shadow: 0 24px 64px rgba(70, 45, 145, .09);
}
.quiz-panel > .badge { margin-bottom: 0; }
.badge__ic-svg { display: inline-flex; }
.badge__ic-svg svg { width: 18px; height: 18px; }
.quiz-panel__title { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 1.15rem 0 1rem; }
.quiz-panel__sub { max-width: 660px; margin: 0 auto 1.9rem; color: var(--color-text-muted); font-size: 1.06rem; }
.quiz-panel__disclaimer { max-width: 640px; margin: 1.6rem auto 0; text-align: center; }
.quiz-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 44px; margin-top: 1.9rem; padding-top: 1.9rem; border-top: 1px solid var(--color-border); }
.quiz-trust__item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1rem; }
.quiz-trust__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; }
.quiz-trust__ic svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .quiz-panel { padding: 32px 22px; border-radius: var(--radius); }
  /* столбиком, по левому краю, блок по центру — иконки выстраиваются ровно */
  .quiz-trust { flex-direction: column; align-items: flex-start; gap: 14px; width: fit-content; margin-left: auto; margin-right: auto; }
  .quiz-trust__item { font-size: .95rem; gap: 12px; }
  .quiz-trust__ic { width: 40px; height: 40px; }
}

/* ═══════════ Страницы флоу: verify.html + thanks.html ═══════════ */
.flow-body { min-height: 100vh; display: flex; flex-direction: column; }
.flow { flex: 1; display: grid; place-items: center; padding: 40px 0 64px; }
.flow-panel { max-width: 520px; width: 100%; padding: 44px 44px 40px; }
.flow-ic { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: 1.25rem; }
.flow-ic svg { width: 36px; height: 36px; }
.flow-ic--success { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 10px 30px rgba(196, 224, 0, .35); }
.flow-panel__title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .85rem; }
.flow-panel__sub { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.5; margin: 0 auto 1.7rem; max-width: 420px; }
.flow-phone { font-weight: 800; color: var(--color-text); white-space: nowrap; }

.otp { display: flex; gap: 12px; justify-content: center; margin: 0 0 1.3rem; }
.otp__box { width: 58px; height: 66px; text-align: center; font-size: 1.7rem; font-weight: 800; color: var(--color-text); background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: 14px; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.otp__box:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(106, 48, 240, .13); }
.otp__box.is-filled { border-color: var(--color-primary); }
.flow-error { color: var(--color-danger); font-size: .92rem; text-align: center; margin-bottom: .9rem; }
.flow-submit { width: 100%; justify-content: center; }

.flow-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 1.3rem; }
.flow-link { background: none; border: none; cursor: pointer; font: inherit; color: var(--color-primary); font-weight: 600; font-size: .98rem; padding: 7px 10px; border-radius: 10px; transition: background .15s, color .15s; }
.flow-link:hover:not(:disabled) { background: var(--color-primary-soft); }
.flow-link:disabled { color: var(--color-text-muted); cursor: default; }
.flow-link--muted { color: var(--color-text-muted); font-weight: 500; }
.flow-link--muted:hover { color: var(--color-primary); }

.change-form { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--color-border); text-align: left; }
.change-form__row { display: flex; gap: 10px; align-items: center; margin-top: .2rem; }
.change-form__row .btn { flex: 1; justify-content: center; }
.flow-note { margin-top: 1.4rem; font-size: .8rem; color: var(--color-text-muted); line-height: 1.45; }

.flow-steps { list-style: none; text-align: left; display: grid; gap: 15px; margin: 0 auto 1.8rem; max-width: 420px; }
.flow-steps li { display: flex; gap: 14px; align-items: flex-start; }
.flow-steps__n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.flow-steps__body b { display: block; font-size: 1.02rem; margin-bottom: 1px; }
.flow-steps__body span { color: var(--color-text-muted); font-size: .92rem; line-height: 1.4; }

@media (max-width: 560px) {
  .flow-panel { padding: 30px 20px 28px; }
  .otp { gap: 9px; }
  .otp__box { width: 52px; height: 60px; font-size: 1.5rem; }
  .change-form__row { flex-direction: column; align-items: stretch; }
}

/* ═══ Контентные элементы ═══ */
.lead { max-width: 680px; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.note { font-size: .9375rem; color: var(--color-text-muted); max-width: 680px; margin-top: 1.25rem; }
.cta-note { font-size: .8125rem; color: var(--color-text-muted); margin-top: .6rem; }
.bridge { margin-top: 2rem; font-weight: 600; color: var(--color-primary); }
.section h3 { font-size: 1.2rem; margin: 2rem 0 .75rem; }

/* Таблица сравнения */
.table-wrap { overflow-x: auto; }
.compare { border-collapse: collapse; width: 100%; min-width: 560px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.compare thead th { font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; color: var(--color-text-muted); }
.compare td:first-child { font-weight: 600; white-space: nowrap; }
.compare td:last-child { background: var(--color-primary-soft); }

/* Чек-лист и предупреждения */
.checklist, .warnlist { list-style: none; max-width: 680px; }
.checklist li, .warnlist li { padding-left: 1.8em; position: relative; margin-bottom: .6rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.warnlist li::before { content: "✕"; position: absolute; left: 0; color: var(--color-danger); font-weight: 700; }

/* Цитаты «внутренний диалог» */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.5rem; max-width: 800px; }
.quote { background: #fff; border: 1px solid var(--color-border); border-left: 3px solid var(--color-primary); border-radius: var(--radius); padding: 14px 18px; font-style: italic; color: var(--color-text-muted); }

/* Карточки выгод */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-card); }
.card h3, .case h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.card p { color: var(--color-text-muted); }

/* Шаги процесса */
.steps { list-style: none; counter-reset: step; max-width: 680px; }
.steps li { counter-increment: step; position: relative; padding-left: 3.2em; margin-bottom: 1.1rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.2em; height: 2.2em; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Кейсы */
.case { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px 22px; }
.case__quote { font-style: italic; color: var(--color-text-muted); margin-bottom: 1rem; }
.case__result { font-size: .9375rem; }
.case__result span { font-weight: 700; color: var(--color-primary); }

/* ═══════════ Блок 8. FAQ ═══════════ */
.block8__grid { display: grid; grid-template-columns: 34% 1fr; gap: 60px; align-items: start; }
.block8__title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.02em; margin: 1.5rem 0 1.2rem; }
.block8__swoosh { display: block; width: 60%; height: .55em; overflow: visible; color: var(--color-accent-2); margin-top: .1rem; }
.block8__swoosh path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }

.faq-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 8px 34px; box-shadow: 0 16px 44px rgba(70, 45, 145, .07); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item:last-child { border-bottom: none; }
.faq__item summary { display: flex; align-items: center; gap: 18px; padding: 24px 0; font-weight: 700; font-size: 1.14rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: .98rem; display: grid; place-items: center; }
.faq__q { flex: 1; }
.faq__item summary::after { content: "+"; flex: 0 0 auto; width: 1em; text-align: center; font-size: 1.8rem; font-weight: 400; color: var(--color-primary); line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__a { display: flex; gap: 18px; align-items: flex-start; background: var(--color-primary-soft); border-radius: 18px; padding: 20px 24px; margin: 0 0 24px 54px; }
.faq__a-ic { flex: 0 0 auto; color: var(--color-primary); }
.faq__a-ic svg { width: 40px; height: 40px; display: block; }
.faq__a p { color: #43434f; font-size: 1.02rem; line-height: 1.5; }

.faq-note { display: flex; align-items: center; gap: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: 20px 26px; margin-top: 20px; box-shadow: var(--shadow-card); }
.faq-note__ic { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: #f2fac6; color: var(--color-primary); display: grid; place-items: center; }
.faq-note__ic svg { width: 27px; height: 27px; }
.faq-note p { font-size: 1rem; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .block8__grid { grid-template-columns: 1fr; gap: 28px; }
  .block8__title { margin-top: 1rem; }
  .block8__swoosh { width: 220px; }
}
@media (max-width: 560px) {
  .faq-panel { padding: 4px 20px; }
  .faq__item summary { gap: 14px; font-size: 1.04rem; padding: 20px 0; }
  .faq__num { width: 32px; height: 32px; }
  .faq__a { margin-left: 0; padding: 16px 18px; gap: 14px; }
  .faq__a-ic svg { width: 32px; height: 32px; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .quotes { grid-template-columns: 1fr; }
}

/* ═══ Футер ═══ */
.footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 60px 0 34px; font-size: .95rem; color: var(--color-text-muted); }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--color-border); }
.footer__brand { max-width: 330px; }
.footer .logo { display: inline-flex; text-decoration: none; }
.footer .logo__mark { font-size: 1.6rem; font-weight: 800; color: var(--color-text); letter-spacing: -.02em; }
.footer__tagline { margin: 16px 0 22px; line-height: 1.55; color: var(--color-text-muted); }
.footer__cta { font-size: 1rem; padding: 14px 26px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer__col-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--color-text); font-weight: 800; margin-bottom: 3px; }
.footer__col a, .footer__col .linklike { color: var(--color-text-muted); text-decoration: none; transition: color .15s; text-align: left; font-size: .98rem; }
.footer__col a:hover, .footer__col .linklike:hover { color: var(--color-primary); }
.footer__phone { font-weight: 800; font-size: 1.15rem; color: var(--color-text); }
.footer__soft { color: var(--color-text-muted); line-height: 1.5; font-size: .92rem; }
.footer__bottom { padding-top: 26px; display: grid; gap: 10px; }
.footer__legal { color: var(--color-text); font-weight: 500; }
.footer__note { font-size: .82rem; line-height: 1.55; max-width: 940px; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .footer { padding: 44px 0 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__cta { width: 100%; justify-content: center; }
}

/* Кнопка, оформленная как ссылка (для открытия модалок) */
.linklike {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: inherit; text-decoration: underline; cursor: pointer;
}

/* ═══ Маркировка рекламы (ФЗ «О рекламе») ═══ */
.ad-marker {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  padding: 6px 20px; font-size: .75rem; line-height: 1.3;
  background: var(--color-bg-accent); color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.ad-marker[hidden] { display: none; } /* иначе display:flex перебивает атрибут hidden */
.ad-marker__label { font-weight: 700; color: var(--color-text); }
.ad-marker__erid { margin-left: auto; opacity: .85; }

/* ═══ Модальное окно (нативный <dialog>) ═══ */
.modal { border: none; padding: 0; background: transparent; max-width: 92vw; width: 440px; margin: auto; }
.modal::backdrop { background: rgba(15, 24, 34, .55); }
.modal__card {
  position: relative; background: var(--color-bg);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.modal__title { font-size: 1.35rem; margin-bottom: 1rem; }
.modal__close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; cursor: pointer;
  font-size: 1.75rem; line-height: 1; color: var(--color-text-muted);
}
.modal__close:hover { color: var(--color-text); }
.modal__note { margin-top: 1.1rem; font-size: .8125rem; color: var(--color-text-muted); }

.requisites { display: grid; gap: .6rem; }
.requisites__row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.requisites dt { color: var(--color-text-muted); font-size: .875rem; }
.requisites dd { margin: 0; font-weight: 600; }
.requisites a { color: var(--color-primary); text-decoration: none; }

/* ═══ Фокус для доступности (клавиатурная навигация) ═══ */
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.quiz__option:focus-visible, .btn:focus-visible { outline-offset: 3px; }

/* ═══ Страницы политик (policy.html, privacy.html) ═══ */
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 1rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.legal p { margin-bottom: .75rem; }
.legal ul { margin: 0 0 1rem 1.4em; }
.legal li { margin-bottom: .4rem; }
.legal__operator { font-weight: 600; color: var(--color-text); margin-bottom: 1.5rem; }
.legal__date { margin-top: 2rem; color: var(--color-text-muted); font-size: .875rem; }
.legal__back { margin: 1.5rem 0; }
.legal__back a { color: var(--color-primary); text-decoration: none; }

/* ═══════════ Блок 2. Отстройка (сравнение) ═══════════ */
.sec-num {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-accent); color: var(--color-accent-ink);
  font-weight: 800; font-size: .9rem; padding: 4px 13px; border-radius: 999px; margin-bottom: 1.4rem;
}
.sec-num__dot { opacity: .55; }
.block2__title { margin-bottom: 1.1rem; }

/* Подчёркивание-свуш (без плашки) */
.uline { position: relative; display: inline-block; }
.uline__svg { position: absolute; left: -1%; bottom: -.1em; width: 102%; height: .36em; overflow: visible; color: var(--color-accent-2); }
.uline__svg path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }

.cmp { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; align-items: stretch; margin: 2rem 0 1.1rem; }
.cmp-pill { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .05em; padding: 7px 16px; border-radius: 999px; }
.cmp-pill--bank { background: #e7e7ee; color: var(--color-text-muted); }
.cmp-pill--court { background: var(--color-primary); color: #fff; }

.cmp-bank { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 4px 26px 8px; box-shadow: var(--shadow-card); }
.cmp-bank__head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); padding: 16px 0 8px; }
.cmp-bank__head .cmp-pill { grid-column: 2; justify-self: center; }
.cmp-bank .cmp-rows li { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: 16px; padding: 17px 0; }
.cmp-label { display: flex; align-items: center; gap: 14px; }
.cmp-label b { font-weight: 700; font-size: 1.02rem; }
.cmp-ic { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.cmp-label .cmp-ic { object-position: left center; }  /* иконки-глифы выровнены по левому краю — ровная колонка */
.cmp-val { color: var(--color-text-muted); font-size: 1rem; }

.cmp-court { background: var(--color-primary-soft); border: 2px solid #cebef5; border-radius: var(--radius-lg); padding: 4px 24px 8px; }
.cmp-court__head { text-align: center; padding: 16px 0 8px; }
.cmp-rows { list-style: none; }
.cmp-rows--court li { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 16px; padding: 15px 0; }
.cmp-rows--court li + li, .cmp-bank .cmp-rows li + li { border-top: 1px solid var(--color-border); }
.cmp-rows--court li + li { border-top-color: #ded2fb; }
.cmp-ic--sq { width: 48px; height: 48px; }
.cmp-text { font-weight: 600; font-size: 1rem; }

.cmp-note { display: flex; align-items: center; gap: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px 26px; box-shadow: var(--shadow-card); }
.cmp-note__ic { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.cmp-note p { font-size: 1rem; }

/* ═══════════ Блок 3. Для кого + реплики ═══════════ */
.block3__grid { display: grid; grid-template-columns: 44% 1fr; gap: 68px; align-items: start; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.65); border: 1px solid #d9ccff; color: var(--color-primary);
  font-weight: 700; font-size: .82rem; letter-spacing: .03em; padding: 10px 18px; border-radius: 16px; margin-bottom: 1.6rem;
}
.badge__ic { width: 24px; height: 24px; object-fit: contain; }
.block3__title-wrap { position: relative; display: inline-block; margin-bottom: 2.2rem; }
.block3__title { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.03em; }
.block3__underline { position: absolute; left: 0; top: 100%; width: 60%; height: auto; transform: translateY(-34%); pointer-events: none; }
.crit { list-style: none; display: grid; gap: 22px; margin-top: 1.75rem; max-width: 520px; }
.crit li { display: flex; align-items: flex-start; gap: 18px; }
.crit__ic { width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; }
.crit li span { font-weight: 500; font-size: 1.1rem; }

.block3__right { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.bubble {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid #d9ceff; border-radius: 30px;
  box-shadow: 0 18px 50px rgba(70, 45, 145, .08); padding: 32px; min-height: 344px;
}
.bubble::after {
  content: ""; position: absolute; left: 42px; bottom: -11px; width: 22px; height: 22px;
  background: var(--color-surface); border-left: 1px solid #d9ceff; border-bottom: 1px solid #d9ceff;
  transform: rotate(-45deg);
}
.bubble__quote { width: 48px; height: auto; margin-bottom: 14px; }
.bubble__text { font-size: 1.28rem; line-height: 1.35; color: #111217; font-weight: 500; max-width: 78%; }
.bubble__dots { width: 58px; height: auto; margin-top: auto; }
.bubble__ic { position: absolute; right: 22px; bottom: 20px; width: 120px; height: 120px; border-radius: 50%; background: var(--color-primary-soft); display: grid; place-items: center; }
.bubble__ic img { width: 78px; height: 78px; object-fit: contain; }

.block3__note { display: flex; align-items: center; gap: 20px; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 8px solid var(--color-accent); border-radius: 24px; padding: 22px 28px; margin-top: 40px; }
.block3__note-ic { flex: 0 0 auto; width: 70px; height: 70px; border-radius: 50%; background: #f2fac6; display: grid; place-items: center; }
.block3__note-ic img { width: 52px; height: 52px; object-fit: contain; }
.block3__note p { font-size: 1.05rem; }
.block3__note b { font-weight: 700; }

@media (max-width: 1000px) {
  .cmp { grid-template-columns: 1fr; }
  .block3__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .cmp-bank__head, .cmp-bank .cmp-rows li { grid-template-columns: 1fr; gap: 4px; }
  .cmp-bank__head .cmp-pill { grid-column: 1; justify-self: start; }
  .cmp-val { padding-left: 54px; }
  .block3__right { grid-template-columns: 1fr; }
  .bubble { min-height: 0; }
  .bubble__text { max-width: 100%; }
  .bubble__ic { position: static; margin-top: 18px; align-self: flex-end; width: 84px; height: 84px; }
  .bubble__ic img { width: 52px; height: 52px; }
}

/* ═══════════ Общие: плашка, иконка-квадрат, свуш ═══════════ */
.badge--soft { background: var(--color-primary-soft); border: none; }
.badge__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--color-primary-grad); flex: 0 0 auto; }
.icon-sq { width: 66px; height: 66px; border-radius: 16px; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(106, 48, 240, .12); }
.icon-sq svg { width: 36px; height: 36px; }
.swoosh-wrap { position: relative; display: inline-block; }
.swoosh { position: absolute; left: 0; bottom: -.26em; width: 100%; height: .4em; overflow: visible; color: var(--color-accent-2); pointer-events: none; }
.swoosh path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; }

/* ═══════════ Блок 4. Что даёт ═══════════ */
.block4__grid { display: grid; grid-template-columns: 40% 1fr; gap: 56px; align-items: stretch; }
.block4__left { display: flex; flex-direction: column; }
.block4__left .badge { align-self: flex-start; }        /* компактная плашка, не растянутая */
.block4__left .side-note { margin-top: auto; }           /* заметка «разбор» прижата к низу левой колонки */
.block4__title { font-size: clamp(2.5rem, 4.9vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.swoosh-wrap { margin-bottom: 1.6rem; }
.side-note { display: flex; gap: 18px; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 9px solid var(--color-accent); border-radius: 22px; padding: 26px 30px; box-shadow: 0 14px 40px rgba(70, 45, 145, .07); }
.side-note__ic { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; }
.side-note__ic img { width: 54px; height: 54px; object-fit: contain; display: block; }
.side-note p { font-size: 1.08rem; }

.block4__cards { display: grid; gap: 18px; }
.bcard { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 24px; padding: 30px 34px; box-shadow: 0 16px 44px rgba(70, 45, 145, .08); }
.bcard__body b { display: block; font-size: 1.3rem; font-weight: 800; margin-bottom: .4rem; letter-spacing: -.01em; }
.bcard__body p { color: var(--color-text-muted); font-size: 1.06rem; }
.bcard__check { width: 36px; height: 36px; flex: 0 0 auto; }

/* Нижний блок: пилюля-мостик по центру + разделитель (по макету) */
.block4__foot { display: flex; justify-content: center; margin-top: 48px; }
.bridge-pill { display: flex; width: fit-content; margin: 0; align-items: center; gap: 16px; background: var(--color-primary-soft); color: var(--color-text); font-weight: 700; font-size: 1.25rem; padding: 13px 40px 13px 13px; border-radius: 999px; text-decoration: none; transition: background .2s; box-shadow: 0 10px 30px rgba(106, 48, 240, .12); }
.bridge-pill:hover { background: #e4dbfb; }
.bridge-pill__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex: 0 0 auto; }
.block4__divider { width: 100%; height: 0; border: none; border-top: 1px solid var(--color-border); margin: 44px 0 0; }

/* ═══════════ Блок 5. Как проходит работа ═══════════ */
.block5__title { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.03; letter-spacing: -.02em; margin-bottom: 2rem; }
.steps5 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 16px 24px; margin-bottom: 20px; }
.step5 { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.step5__num { width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; font-size: .95rem; margin-top: 2px; }
.step5__body b { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.step5__body p { color: var(--color-text-muted); font-size: .96rem; }

.pay { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 38px 42px; box-shadow: 0 16px 44px rgba(70, 45, 145, .08); }
.pay__shield { align-self: center; }
.pay__shield img { width: 200px; height: 200px; object-fit: contain; }
.pay__body h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .75rem; }
.pay__body > p { color: var(--color-text-muted); margin-bottom: 1rem; }
.pay__hl { display: flex; align-items: center; gap: 12px; background: var(--color-accent); color: var(--color-accent-ink); border-radius: 14px; padding: 13px 18px; font-weight: 600; margin-bottom: 1rem; }
.pay__hl-ic { width: 26px; height: 26px; flex: 0 0 auto; object-fit: contain; }
.pay__foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--color-border); padding-top: 20px; margin-top: .5rem; }
.pay__note { display: flex; gap: 14px; align-items: flex-start; }
.pay__note-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; }
.pay__note-ic svg { width: 22px; height: 22px; }
.pay__note p { font-size: .92rem; color: var(--color-text-muted); }
.pay__foot .btn { flex: 0 0 auto; }

@media (max-width: 980px) {
  .block4__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .steps5 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .pay { grid-template-columns: 1fr; gap: 20px; }
  .pay__shield { justify-self: center; }
  .pay__foot { flex-direction: column; align-items: stretch; }
}
@media (max-width: 620px) {
  .bcard { grid-template-columns: auto 1fr; }
  /* на мобильном галочка переносилась на отдельную строку и висела без смысла — убираем */
  .bcard__check { display: none; }
}

/* ═══════════ Блок 6. Кейсы ═══════════ */
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1.4rem; }
.sec-head .sec-num { margin-bottom: 0; }
.sec-head__label { color: var(--color-text-muted); font-weight: 700; letter-spacing: .1em; font-size: .85rem; position: relative; padding-left: 16px; }
.sec-head__label::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 15px; background: var(--color-border); }
.block6__title { margin-bottom: .75rem; }
.block6__note { color: var(--color-text-muted); font-size: .95rem; margin-top: 1.25rem; }

.cases6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin: 2rem 0 1.25rem; }
.case6 { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 16px 44px rgba(70, 45, 145, .07); }
.case6__tag { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; background: var(--color-primary-soft); color: var(--color-primary); font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 12px; margin-bottom: 1.5rem; }
.case6__tag svg { width: 20px; height: 20px; }
.case6 .case6__title { font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; margin: 0 0 1.25rem; min-height: 2.2em; }
.case6__quote { position: relative; padding: 0 34px 0 30px; min-height: 135px; font-style: italic; color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.5; }
.case6__quote::before { content: "\201C"; position: absolute; left: -2px; top: -2px; font-size: 2.8rem; line-height: 1; color: var(--color-primary); opacity: .45; font-family: Georgia, serif; }
.case6__quote::after { content: "\201D"; position: absolute; right: 2px; bottom: -4px; font-size: 2.8rem; line-height: 1; color: var(--color-primary); opacity: .45; font-family: Georgia, serif; }
.case6__sep { border-top: 1px dashed var(--color-border); margin: 1.5rem 0; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ba-grid .ba + .ba { border-left: 1px solid var(--color-border); padding-left: 22px; }
.ba__label { display: block; font-weight: 700; font-size: .95rem; color: var(--color-text-muted); margin-bottom: .8rem; }
.ba__label--after { color: #7f9c00; }
.ba__row { display: flex; gap: 12px; align-items: flex-start; }
.ba__ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; }
.ba__ic svg { width: 18px; height: 18px; }
.ba__ic--after { background: #ebf7a6; color: #6a8000; }
.ba__row p { font-size: .92rem; }

/* ═══════════ Блок 7. Доверие + анти-скам ═══════════ */
.trust-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 44px 48px; box-shadow: 0 16px 44px rgba(70, 45, 145, .07); }
.trust-panel + .trust-panel { margin-top: 24px; }
.trust-panel__grid { display: grid; grid-template-columns: 38% 1fr; gap: 48px; align-items: start; }
.trust__title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.04; letter-spacing: -.02em; margin: 1.2rem 0 1.75rem; }
.crit--tight { margin-top: 0; }
.crit__ic--css { width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); display: grid; place-items: center; }
.crit__ic--css svg { width: 18px; height: 18px; }

.lawyers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lawyer { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 14px; box-shadow: 0 8px 24px rgba(70, 45, 145, .06); }
.lawyer__photo { width: 100%; height: 175px; object-fit: cover; object-position: top center; border-radius: 12px; margin-bottom: 14px; display: block; }
.lawyer__name { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.lawyer__role { display: block; color: var(--color-text-muted); font-size: .88rem; line-height: 1.35; margin-bottom: .9rem; min-height: 2.4em; }
.lawyer__exp { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; padding-top: .8rem; border-top: 1px solid var(--color-border); }
.lawyer__exp img { width: 18px; height: 18px; object-fit: contain; }
.req-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--color-primary-soft); border-radius: 18px; padding: 18px 24px; margin-top: 16px; }
.req-item { display: flex; align-items: center; gap: 12px; }
.req-item + .req-item { border-left: 1px solid #d9ccf7; padding-left: 20px; }
.req-item__ic { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.req-item span { display: block; font-size: .8rem; color: var(--color-text-muted); }
.req-item b { font-size: .98rem; }

.badge--danger { background: #fde7e4; border: none; color: var(--color-danger); }
.antiscam__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.6rem; }
.warns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.warn { display: flex; gap: 14px; align-items: center; background: #f6f6f9; border-radius: 16px; padding: 18px 20px; }
.warn__ic { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.warn p { font-size: .96rem; }
.antiscam__note { display: flex; align-items: center; gap: 16px; background: #f1f9c5; border-radius: 16px; padding: 18px 24px; margin-top: 18px; }
.antiscam__note-ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: #e0ee86; color: var(--color-primary); display: grid; place-items: center; }
.antiscam__note-ic svg { width: 22px; height: 22px; }
.antiscam__note-ic img { width: 28px; height: 28px; object-fit: contain; }

@media (max-width: 900px) {
  .cases6 { grid-template-columns: 1fr; }
  .trust-panel__grid { grid-template-columns: 1fr; gap: 28px; }
  .warns { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .lawyers { grid-template-columns: 1fr; }
  .req-bar { grid-template-columns: 1fr; gap: 14px; }
  .req-item + .req-item { border-left: none; padding-left: 0; }
  .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-grid .ba + .ba { border-left: none; padding-left: 0; border-top: 1px solid var(--color-border); padding-top: 16px; }
}

/* ═══ Sticky CTA (только мобильные) ═══ */
.sticky-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
  padding: 16px; text-align: center;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .sticky-cta.is-hidden { display: none; }
  .section { padding: 36px 0; }
  .hero { padding: 28px 0 44px; }
  body { padding-bottom: 76px; } /* место под sticky */
}

/* Отступ якорей под липкой шапкой */
:where(section, header)[id] { scroll-margin-top: 84px; }
