/* ======================================================================
   Шувалова и партнёры — лендинг по нише ЛОЭСК
   Палитра взята с референса present-magic-glow (тёплый кремовый + терракота)
   ====================================================================== */
:root{
  --bg:           hsl(36 24% 94%);
  --surface:      hsl(36 24% 96.5%);
  --surface-soft: hsl(32 18% 89%);
  --line:         hsl(28 12% 80%);
  --line-soft:    hsl(28 12% 86%);
  --ink:          hsl(24 12% 10%);
  --ink-soft:     hsl(24 10% 26%);
  --muted:        hsl(24 8% 42%);
  --accent:       hsl(16 55% 38%);   /* терракота / медь */
  --accent-soft:  hsl(18 42% 48%);
  --danger:       hsl(9 48% 52%);    /* приглушённый тёплый терракотово-красный */
  --danger-dark:  hsl(9 48% 44%);
  /* Углы почти прямые: строгая юридическая подача. Скругления остались
     только там, где они гасят тяжесть фотографии или крупной плашки. */
  --radius:       2px;
  --radius-lg:    3px;
  --maxw:         1400px;
  /* Тени тёплые и лёгкие — они держат фотографии, а не имитируют «карточки» */
  --shadow:       0 12px 34px hsl(24 12% 10% / .07);
  --shadow-lg:    0 26px 64px hsl(24 12% 10% / .11);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{
  margin:0;font-family:var(--sans);color:var(--ink-soft);background:var(--bg);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
h1,h2,h3,h4{color:var(--ink);font-family:var(--serif);line-height:1.15;font-weight:600;margin:0;
  text-wrap:balance}
p,li{text-wrap:pretty}
strong{color:var(--ink)}

/* Видимый фокус для клавиатуры — одинаковый на всех интерактивных элементах */
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;border-radius:1px}

/* Ссылка «к содержанию» для клавиатуры и скринридеров */
.skip{position:absolute;left:16px;top:-60px;z-index:200;background:var(--ink);color:var(--surface);
  padding:12px 20px;font-size:15px;font-weight:600;border-radius:var(--radius);
  transition:top .18s ease}
.skip:focus{top:12px}

/* ЕДИНЫЙ ТИП МЕЛКОЙ ПОДПИСИ.
   Надзаголовок секции, номер шага, штамп нормы, шапка таблицы — одна роль:
   капитель, разрядка, терракота. Раньше каждый блок изобретал свою. */
.eyebrow,.step__num,.norm,.digest-row__norm,.badge,.cases th,
.contacts__list span,.founder__cols h4{
  font-family:var(--sans);font-weight:600;text-transform:uppercase;letter-spacing:.14em}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;width:100%}
.container--narrow{max-width:820px}
.accent{color:var(--accent)}
/* Цифры одной высоты (lining figures) в заголовках и числовых блоках */
h1,h2,h3,h4,.hero__title,.stat__num,.result__num,.result__agg-num,.rate__price,
.step__num,.case-no,.hero__card strong{font-variant-numeric:lining-nums;
  font-feature-settings:"lnum" 1,"onum" 0}

/* ---------- Кнопки ---------- */
/* Кнопки прямоугольные и без цветного свечения: подсветка снизу читалась
   как SaaS-баннер и спорила со сдержанной подачей. Остались сдвиг цвета
   на наведение и физическое нажатие. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-family:var(--sans);font-weight:600;font-size:16px;line-height:1;
  padding:16px 32px;border-radius:var(--radius);border:1px solid transparent;
  cursor:pointer;transition:background .2s ease, color .2s ease, border-color .2s ease, transform .08s ease;
  text-align:center;min-height:50px;letter-spacing:.01em;
}
.btn:active{transform:translateY(1px)}
.btn--sm{padding:11px 18px;min-height:42px;font-size:15px}
.btn--lg{padding:19px 38px;font-size:17px}
.btn--block{width:100%}
.btn--primary{background:var(--ink);color:var(--surface)}
.btn--primary:hover{background:#000}
.btn--danger{background:var(--danger);color:#fff}
.btn--danger:hover{background:var(--danger-dark)}
/* Второстепенное действие — контурная кнопка, а не вторая заливка */
.btn--ghost{background:none;color:var(--ink);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--ink)}
.btn--wa{background:#1faa59;color:#fff}
.btn--wa:hover{background:#178c49;transform:translateY(-1px)}

/* ---------- Шапка ---------- */
.site-header{
  position:sticky;top:0;z-index:100;background:hsl(36 24% 94% / .9);
  backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--line-soft);
}
.header__inner{display:flex;align-items:center;gap:20px;min-height:74px;flex-wrap:nowrap}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink)}
.brand__mark{flex:none}
.brand picture{display:block;flex:none;line-height:0}
.brand__sign{display:block;height:48px;width:auto}
.brand__lockup{position:relative;display:block}
.brand__word{display:block;height:20px;width:auto}
.brand__tag{position:absolute;left:0;top:100%;margin-top:5px;display:block;height:11px;width:auto;overflow:visible}
.brand__tag text{font-family:var(--sans);font-size:10.5px;font-weight:500;fill:hsl(31 40% 38%)}
.brand--footer .brand__sign{height:40px}
.brand--footer .brand__word{height:17px}
.brand--footer .brand__tag{height:9.4px}
.brand__text{display:flex;flex-direction:column;line-height:1.2}
.brand__name{font-family:var(--serif);font-weight:700;font-size:26px;color:var(--accent);letter-spacing:.3px;line-height:1.05;white-space:nowrap}
.brand__name em{font-style:normal;color:var(--accent);font-weight:700}
/* подпись под названием: ширина строго равна ширине «Шувалова и партнеры» (width:0+min-width:100% — не раздвигает блок, justify — добивает до края) */
.brand__sub{width:0;min-width:100%;font-size:9px;letter-spacing:.02em;text-transform:uppercase;color:var(--muted);white-space:nowrap;margin-top:6px;text-align:justify;text-align-last:justify}
.brand--footer .brand__sub{text-align-last:left}
.nav{display:flex;gap:20px;margin-left:auto;flex-wrap:nowrap}
.nav a{color:var(--ink-soft);font-size:14.5px;font-weight:500;position:relative;padding:4px 0;white-space:nowrap}
.nav a:hover{color:var(--accent)}
.nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--accent);transition:width .2s ease}
.nav a:hover::after{width:100%}
/* Текущий раздел: на страницах разборов было не видно, где ты находишься */
.nav a[aria-current]{color:var(--accent)}
.nav a[aria-current]::after{width:100%}
.header__cta{display:flex;align-items:center;gap:16px}
.phone{font-weight:600;color:var(--ink);white-space:nowrap;font-size:15px}
.phone:hover{color:var(--accent)}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:8px;cursor:pointer;margin-left:auto}
.burger span{width:24px;height:2px;background:var(--ink);transition:.2s}

/* ---------- HERO ---------- */
.hero{padding:64px 0 56px;background:
  radial-gradient(1100px 520px at 78% -8%, hsl(16 55% 38% / .06), transparent 60%),
  var(--bg);}
.hero__grid{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
/* Была таблетка с длинным текстом внутри — читалась как чужеродный элемент.
   Стала подпись на волосяной линии, как надзаголовки секций. */
.badge{display:inline-block;background:none;border:0;border-bottom:1px solid var(--line);
  color:var(--muted);font-size:12px;padding:0 0 14px;margin-bottom:30px;max-width:100%}
.hero__title{font-size:clamp(30px,4.6vw,54px);font-weight:700;letter-spacing:-.5px;margin-bottom:22px}
.hero__title .br-d{display:none}
@media (min-width:981px){.hero__title .br-d{display:inline}}
.hero__lead{font-size:18px;max-width:38em;margin:0 0 22px}
.hero__points{list-style:none;padding:0;margin:0 0 30px;display:grid;gap:10px}
.hero__points li{position:relative;padding-left:30px;font-weight:500;color:var(--ink-soft)}
.hero__points li::before{content:"";position:absolute;left:0;top:9px;width:14px;height:8px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.hero__actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.hero__note{font-size:14px;color:var(--muted)}
.hero__media{position:relative}
.hero__media img{width:100%;height:auto;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);
  object-fit:cover;aspect-ratio:1/1;object-position:50% 45%;background:var(--surface-soft)}
.hero__card{position:absolute;left:-14px;bottom:26px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);padding:14px 20px;box-shadow:var(--shadow);
  display:flex;flex-direction:column}
.hero__card strong{font-family:var(--serif);font-size:18px}
.hero__card span{font-size:13px;color:var(--muted)}

/* ---------- Статистика ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:18px;margin-top:54px;
  border-top:1px solid var(--line);padding-top:30px}
.stat{display:flex;flex-direction:column;gap:4px}
.stat__num{font-family:var(--serif);font-size:clamp(28px,3.4vw,40px);font-weight:700;color:var(--ink)}
.stat__label{font-size:14px;color:var(--muted);max-width:16em}

/* ---------- Секции ---------- */
.section{padding:84px 0}
.section--alt{background:hsl(34 22% 90.5%)}
.section--ink{background:var(--ink);color:hsl(36 24% 88%)}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:13px;font-weight:600;color:var(--accent);margin:0 0 12px}
.eyebrow--light{color:var(--accent-soft)}
.section__title{font-size:clamp(26px,3.4vw,40px);font-weight:600;max-width:20em;margin-bottom:18px}
.section__title--light{color:hsl(36 24% 96%)}
.section__lead{font-size:18px;max-width:46em;margin:0 0 36px}
.section__note{margin-top:28px;font-size:16px;color:var(--muted)}
.section__note a{font-weight:600}

/* ---------- Карточки → колонки на волосяной линии ----------
   Раньше семь секций подряд были построены на одинаковых прямоугольниках
   с рамкой и заливкой. Рамка ничего не сообщала: за ней не стояло ни
   иерархии, ни подъёма над фоном. Убрали заливку и рамку, оставили
   верхнюю линию — она держит сетку и не спорит с текстом.
   Плашка теперь есть только там, где она что-то значит: цены, форма
   заявки, карточка основного разбора. */
.cards{display:grid;gap:0 46px;margin-top:44px}
.cards--3{grid-template-columns:repeat(3,1fr)}
/* Пять пунктов в три колонки оставляли пустую ячейку и рваный низ.
   Тезис-описание строками — ровно и без дыр при любом их количестве. */
.cards--list{grid-template-columns:1fr;gap:0}
.cards--list .card{display:grid;grid-template-columns:.4fr 1fr;gap:4px 46px;
  align-items:baseline;padding:22px 0 26px}
.cards--list .card h3{margin:0;font-size:19px}
.cards--list .card p{max-width:52em}
.card{background:none;border:0;border-top:1px solid var(--line);border-radius:0;
  padding:26px 0 34px}
.card h3{font-size:21px;margin-bottom:10px}
.card p{margin:0;font-size:15.5px;color:var(--ink-soft)}
/* Иконки уменьшены и лишены подложки: были плашки 46 px с разной
   оптической плотностью штриха */
.card__icon{width:24px;height:24px;color:var(--accent);margin-bottom:16px}
.card__icon svg{width:100%;height:100%;stroke-width:1.4}
.card__doc{display:inline-block;margin-top:16px;font-weight:600;color:var(--accent);
  border-bottom:1px solid hsl(16 55% 38% / .35);padding-bottom:2px}
.card__doc:hover{border-bottom-color:var(--accent)}

/* ---------- Шаги ---------- */
.steps{list-style:none;padding:0;margin:44px 0 0;display:grid;grid-template-columns:repeat(4,1fr);
  gap:0 46px;counter-reset:s}
.step{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:22px 0 32px}
/* Крупная серифная цифра выбивалась из общего типографского строя.
   Теперь номер шага — та же мелкая подпись, что надзаголовки и штампы норм. */
.step__num{font-size:12px;color:var(--accent);display:block;margin-bottom:16px}
.step h3{font-size:19px;margin-bottom:8px}
.step p{margin:0;font-size:15px;color:var(--ink-soft)}

/* ---------- Результат (тёмная секция) ---------- */
.result__sub{color:var(--muted);max-width:48em;margin:0 0 30px;font-size:15.5px}
/* Числа — это таблица результата, а не шесть плиток. Строки на линиях,
   цифры моноширинными знаками, чтобы разряды выстроились по вертикали.
   Итог выделен утолщённой линией, а не розовой заливкой. */
/* Пять показателей в один ряд — рифмуется со строкой статистики в первом
   экране. В три колонки шестая ячейка пустовала и низ таблицы рвался. */
.result__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 34px}
.result__item{background:none;border:0;border-top:1px solid var(--line);border-radius:0;
  padding:22px 0 28px}
/* Итог — не седьмая плитка в углу, а строка подведения под всей таблицей */
.result__item--total{grid-column:1/-1;border-top:2px solid var(--accent);
  display:flex;align-items:baseline;gap:8px 28px;flex-wrap:wrap;padding-top:24px}
.result__item--total .result__num{font-size:clamp(30px,4vw,46px);margin:0}
.result__item--total .result__cap{font-size:16px}
.result__num{display:block;font-family:var(--serif);font-size:34px;font-weight:700;color:var(--ink);
  margin-bottom:8px;font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.5px}
.result__cap{font-size:14.5px;color:var(--muted)}
.result__item--total .result__num{color:var(--accent)}
.result__item--total .result__cap{color:var(--ink-soft)}
.result__foot{margin-top:26px;font-size:16px;color:var(--ink-soft);max-width:50em}
.result__foot strong{color:var(--ink)}
.result__aggregate{margin-top:36px;display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;
  border-top:1px solid var(--line);padding-top:28px}
.result__agg-num{font-family:var(--serif);font-size:clamp(36px,5vw,58px);font-weight:700;color:var(--accent)}
.result__agg-cap{font-size:17px;color:var(--ink-soft)}

/* ---------- Таблица дел ---------- */
.table-wrap{margin-top:34px;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.cases{width:100%;border-collapse:collapse;font-size:15.5px;background:var(--surface)}
.section--alt .cases{background:var(--bg)}
.cases th{background:var(--surface-soft);text-align:left;font-family:var(--sans);font-weight:600;color:var(--ink);
  padding:15px 20px;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.cases td{padding:16px 20px;border-top:1px solid var(--line-soft);vertical-align:middle}
.case-no{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
/* Мятно-зелёный и медовый теги были единственными холодными пятнами
   в тёплой палитре. Статус теперь читается плотностью, а не чужим цветом:
   исполнено — заливка чернилами, в работе — контур акцентом. */
.tag{display:inline-block;font-size:11.5px;font-weight:600;padding:5px 10px;border-radius:var(--radius);
  background:none;border:1px solid var(--line);color:var(--muted);
  text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.tag--ok{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.tag--wip{border-color:var(--accent);color:var(--accent)}

/* ---------- Основатель ---------- */
.founder{display:grid;grid-template-columns:.85fr 1.15fr;gap:54px;align-items:center}
.founder__media img{width:100%;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);object-fit:cover;height:520px;object-position:50% 4%;background:var(--surface-soft)}
.founder__role{color:var(--accent);font-weight:600;margin:0 0 16px}
.founder__lead{font-size:17px;margin:0 0 26px;max-width:42em}
.founder__cols{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:28px}
.founder__cols h4{font-size:14px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 12px;font-family:var(--sans)}
.ticks{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.ticks li{position:relative;padding-left:26px;font-size:15.5px}
.ticks li::before{content:"";position:absolute;left:2px;top:7px;width:11px;height:6px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}

/* ---------- Команда ---------- */
.team__layout{display:grid;grid-template-columns:0.92fr 1fr;gap:48px;align-items:start;margin-top:48px}
.team__photo{margin:0;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.team__photo picture{display:block;width:100%}
.team__photo img{width:100%;height:auto;display:block;background:var(--surface-soft)}
.team__grid{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:0}
.member{display:flex;gap:24px;background:none;border:0;border-top:1px solid var(--line);
  border-radius:0;padding:24px 0;align-items:flex-start}
.member>picture{flex:none}
.member__avatar{flex:none;width:88px;height:104px;border-radius:var(--radius);object-fit:cover;
  object-position:center top;display:block;background:var(--surface-soft)}
.member h3{font-size:21px;margin:0 0 3px}
.member__role{display:block;color:var(--accent);font-weight:600;font-size:14px;margin-bottom:8px}
.member p{margin:0;font-size:15px}
.member__facts{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:4px;font-size:14px;color:var(--muted)}
.member__facts b{color:var(--ink-soft);font-weight:600}

/* ---------- Цитата ---------- */
.quote{margin:54px auto 0;max-width:760px;text-align:center;padding:40px 24px;border-top:1px solid var(--line)}
.quote blockquote{font-family:var(--serif);font-size:clamp(22px,3vw,30px);font-style:italic;color:var(--ink);margin:0 0 18px;line-height:1.4}
.quote figcaption{font-weight:600;color:var(--accent)}
.quote figcaption span{display:block;font-weight:400;font-style:italic;color:var(--muted);margin-top:6px;font-size:16px}

/* ---------- Цены ---------- */
/* Из двух коробок рядом осталась одна: состав услуги — просто текст
   на линии, плашка отдана ценам. Так видно, что здесь главное. */
.pricing{display:grid;grid-template-columns:1.25fr .9fr;gap:56px;margin-top:44px;align-items:start}
.pricing__main{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:26px 0 0}
.pricing__main h3{font-size:23px;margin-bottom:20px}
.pricing__refund{margin:24px 0 0;font-size:15.5px;color:var(--muted);max-width:44em}
.pricing__rates{background:var(--surface);color:var(--ink);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:32px;display:grid;gap:18px;box-shadow:var(--shadow)}
.rate{display:flex;flex-direction:column;border-bottom:1px solid var(--line-soft);padding-bottom:16px}
.rate__price{font-family:var(--serif);font-size:32px;font-weight:700;color:var(--accent);
  font-variant-numeric:lining-nums tabular-nums}
.rate__cap{font-size:14px;color:var(--ink-soft)}
.pricing__rates .btn{margin-top:6px}
.rate__note{font-size:13px;color:var(--muted);margin:4px 0 0}

/* ---------- FAQ ---------- */
/* Вопросы — ряд на линиях, а не стопка коробок */
.faq{margin-top:36px;display:grid;gap:0;border-top:1px solid var(--line)}
.faq__item{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0}
.faq__item summary{cursor:pointer;font-family:var(--serif);font-size:20px;color:var(--ink);
  padding:20px 0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;
  transition:color .18s ease}
.faq__item summary:hover{color:var(--accent)}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;
  border-right:1.5px solid var(--accent);border-bottom:1.5px solid var(--accent);
  transform:rotate(45deg) translateY(-3px);transition:transform .2s ease}
.faq__item[open] summary::after{transform:rotate(225deg) translateY(-3px)}
.faq__item p{margin:0 0 22px;font-size:16px;max-width:56em}

/* ---------- Контакты ---------- */
.contacts{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:stretch}
.contacts__photo{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;object-position:50% 18%;
  border-radius:var(--radius-lg);box-shadow:var(--shadow);margin-bottom:26px;background:var(--surface-soft)}
.contacts__list{list-style:none;padding:0;margin:30px 0 28px;display:grid;gap:16px}
.contacts__list li{display:flex;flex-direction:column;gap:2px;border-bottom:1px solid var(--line);padding-bottom:14px}
.contacts__list span{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.contacts__list a,.contacts__list li{color:var(--ink);font-size:17px;font-weight:500}
.contacts__list a:hover{color:var(--accent)}
/* Светлее фона секции, а не равна ему: форма должна читаться как плашка
   независимо от того, на каком тоне стоит секция контактов */
.lead-form{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:34px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column}
.lead-form label.lead-form__msg{flex:1 1 auto;display:flex;flex-direction:column}
.lead-form label.lead-form__msg textarea{flex:1 1 auto;min-height:84px}
.lead-form h3{font-size:24px;margin-bottom:22px}
.lead-form label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:18px}
.lead-form input,.lead-form textarea{width:100%;margin-top:7px;padding:13px 15px;font:inherit;font-size:16px;
  color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);font-weight:400}
.lead-form input:focus,.lead-form textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.lead-form textarea{resize:vertical}
.lead-form__reassure{font-size:14px;color:var(--ink-soft);margin:14px 0 0;text-align:center}
.lead-form__alt{font-size:14px;color:var(--muted);margin:8px 0 0;text-align:center}
.lead-form__alt a{font-weight:600;color:#178c49}
.lead-form__note{font-size:13px;color:var(--muted);margin:10px 0 0;text-align:center}
.lead-form__note.is-ok{color:hsl(140 50% 30%);font-weight:600}

/* ---------- Футер ---------- */
.site-footer{background:var(--surface);border-top:1px solid var(--line)}
.footer__inner{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:36px 24px}
.brand--footer{margin-right:auto}
.footer__contacts{display:inline-flex;gap:0;flex-wrap:wrap;align-items:center}
.footer__contacts::before{content:"•";display:inline-block;margin:0 12px;color:var(--muted);font-weight:400}
.footer__contacts a{color:var(--muted);font-weight:400;font-size:13px}
.footer__contacts a:hover{color:var(--accent)}
.footer__contacts a + a::before{content:"•";display:inline-block;margin:0 12px;color:var(--muted);font-weight:400}
.footer__legal{width:100%;font-size:13px;color:var(--muted);border-top:1px solid var(--line-soft);padding-top:18px;margin:6px 0 0}
.footer__links{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:12px}
.footer__links a{color:var(--ink-soft);font-weight:500;font-size:13px}
.footer__links a:hover{color:var(--accent)}
.footer__copy{margin:0;display:inline}

/* ---------- Разборы (блок статей на главной) ----------
   Приём: каждая карточка подписана нормой, на которую опирается разбор, —
   как ссылка на статью закона в судебном документе. Слева пиллар-разбор
   с фотографией и накладной карточкой (тот же приём, что в hero),
   справа — реестр остальных разборов тонкими строками, как таблица дел. */
.digest{display:grid;grid-template-columns:1.04fr 1fr;gap:34px;margin-top:40px;align-items:start}

.digest__feature{position:relative;display:block;color:inherit}
.digest__feature picture{display:block}
.digest__feature img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);background:var(--surface-soft)}
.digest__badge{position:absolute;top:16px;left:16px;z-index:2;background:var(--surface);
  border:1px solid var(--line);color:var(--accent);font-size:11px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;padding:6px 11px;border-radius:var(--radius)}
.digest__feature-body{position:relative;margin:-54px 22px 0;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 28px;
  box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease}
.digest__feature:hover .digest__feature-body{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.digest__feature h3{font-size:26px;line-height:1.2;margin:0 0 12px}
.digest__feature p{margin:0 0 18px;font-size:15.5px;color:var(--ink-soft)}
.digest__more{font-weight:600;color:var(--accent);font-size:15.5px}
.digest__feature:hover .digest__more{text-decoration:underline}

/* штамп нормы — общий для главной и страниц разборов */
.norm{display:inline-block;font-family:var(--sans);font-size:11.5px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
  border-bottom:1px solid hsl(16 55% 38% / .32);padding-bottom:6px;margin-bottom:14px}

.digest__list{display:grid}
.digest-row{position:relative;display:grid;grid-template-columns:1fr auto;gap:2px 18px;
  align-items:start;padding:20px 0;border-top:1px solid var(--line);color:inherit;
  transition:padding-left .18s ease}
.digest-row:first-child{border-top:0;padding-top:4px}
.digest-row::before{content:"";position:absolute;left:-14px;top:20px;bottom:20px;width:2px;
  background:var(--accent);opacity:0;transition:opacity .18s ease,left .18s ease}
.digest-row:hover{padding-left:16px}
.digest-row:hover::before{opacity:1;left:0}
.digest-row__norm{font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  color:var(--accent);align-self:center}
/* Тот же прямоугольный тег, что и в таблице дел, — одна система меток */
.digest-row .chip{font-size:11px;font-weight:600;padding:5px 9px;border-radius:var(--radius);
  background:none;border:1px solid var(--line);color:var(--muted);white-space:nowrap;
  justify-self:end;text-transform:uppercase;letter-spacing:.08em;
  transition:color .18s ease, border-color .18s ease}
.digest-row:hover .chip{color:var(--accent);border-color:hsl(16 55% 38% / .5)}
.digest-row__title{grid-column:1/-1;font-family:var(--serif);font-size:21px;font-weight:600;
  color:var(--ink);line-height:1.25;margin:8px 0 0;transition:color .18s ease}
.digest-row:hover .digest-row__title{color:var(--accent)}
.digest-row__sub{grid-column:1/-1;margin:7px 0 0;font-size:14.5px;color:var(--muted);line-height:1.55}

@media (max-width:980px){
  .digest{grid-template-columns:1fr;gap:26px}
  .digest__feature-body{margin:-44px 16px 0}
}
@media (max-width:680px){
  .digest__feature img{aspect-ratio:16/9}
  .digest__feature-body{margin:-32px 10px 0;padding:22px 20px}
  .digest__feature h3{font-size:22px}
  .digest-row{padding:18px 0}
  .digest-row .chip{display:none}
  .digest-row__title{font-size:19px}
}

/* ---------- Юридические страницы ---------- */
.legal{padding:46px 0 64px}
.legal h1{font-size:clamp(28px,4vw,38px);margin-bottom:6px}
.legal__updated{color:var(--muted);font-size:14px;margin:0 0 30px}
.legal h2{font-size:23px;margin:34px 0 10px}
.legal h3{font-size:18px;margin:22px 0 8px}
.legal p,.legal li{font-size:16px;line-height:1.72}
.legal ul,.legal ol{padding-left:22px;margin:10px 0}
.legal li{margin-bottom:6px}
.legal address{font-style:normal;background:var(--surface);border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);padding:18px 20px;margin:16px 0;line-height:1.7}
.legal__back{display:inline-block;margin-top:26px;font-weight:600}

/* ---------- Кнопка-телефон (моб.) ---------- */
.fab{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;
  background:var(--danger);color:#fff;display:none;place-items:center;z-index:90;
  box-shadow:0 12px 28px hsl(10 68% 47% / .42)}
.fab svg{width:26px;height:26px}

/* ====================== АДАПТИВ ====================== */
@media (max-width:1080px){
  .nav{display:none}
  .burger{display:flex}
  .header__cta .btn{display:none}
}
.nav.is-open{display:flex}
@media (max-width:980px){
  .hero__grid{grid-template-columns:1fr;gap:36px}
  .hero__media{max-width:440px;margin:0 auto}
  .cards--3,.steps,.result__grid,.founder__cols{grid-template-columns:1fr 1fr}
  .founder{grid-template-columns:1fr;gap:34px}
  .founder__media{max-width:420px}
  .founder__media img{height:auto;aspect-ratio:4/5;object-position:50% 6%}
  .hero__media img{aspect-ratio:1/1;max-height:none}
  .pricing,.contacts{grid-template-columns:1fr;gap:18px}
  .team__layout{grid-template-columns:1fr;gap:30px}
  .team__photo{max-width:460px;margin:0 auto;aspect-ratio:auto}
  .team__photo picture{height:auto}
  .team__photo img{height:auto;aspect-ratio:3/4;object-position:center top}
  .team__grid{grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:18px}
  .nav{display:none}
  .burger{display:flex}
  .header__cta .btn{display:none}
}
@media (max-width:860px){
  /* Тезис и описание перестают помещаться в две колонки */
  .cards--list .card{grid-template-columns:1fr;gap:8px}
}
@media (max-width:680px){
  body{font-size:16px}
  .section{padding:56px 0}
  .result__grid{gap:0}
  .result__item--total{padding-top:20px}
  .result__item--total .result__num{font-size:32px}
  .cards{gap:0}
  .badge{font-size:11px;letter-spacing:.1em;padding-bottom:12px;margin-bottom:24px}
  .member{gap:16px;padding:20px 0}
  .member__avatar{width:64px;height:76px}
  .hero{padding:36px 0}
  .stats{grid-template-columns:1fr 1fr;gap:22px 18px}
  .cards--3,.steps,.result__grid,.founder__cols,.team__grid{grid-template-columns:1fr}
  .fab{display:grid}
  .header__cta{display:none}
  /* компактный логотип в шапке */
  .header__inner{gap:12px;min-height:64px}
  .brand{gap:10px}
  .brand__mark{width:40px;height:auto}
  .brand__sign{height:40px}
  .brand__word{height:17px}
  .brand__tag{height:9.4px}
  .brand__name{font-size:18px}
  .brand__sub{font-size:9px;letter-spacing:.08em;white-space:normal;text-align:left;text-align-last:auto}
  /* CTA на всю ширину — удобно тапать */
  .hero__actions{flex-direction:column;align-items:stretch;gap:14px}
  .hero__actions .btn{width:100%}
  .hero__note{text-align:center}
  .hero__title{font-size:clamp(28px,8vw,40px)}
  /* hero-фото: портрет целиком (видны руки на ноутбуке) */
  .hero__media{max-width:320px;margin:0 auto}
  .hero__media img{aspect-ratio:1/1;object-position:50% 45%;max-height:none}
  .lead-form{padding:24px}
  .pricing__main{padding:28px 22px}
  .pricing__rates{padding:26px 22px}
  .founder__cols{gap:22px}
  .cases thead{display:none}
  .cases,.cases tbody,.cases tr,.cases td{display:block;width:100%}
  .cases tr{border-top:1px solid var(--line);padding:8px 0}
  .cases td{border:0;padding:6px 20px;display:flex;gap:12px}
  .cases td::before{content:attr(data-l);font-weight:600;color:var(--muted);min-width:64px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
  .quote{padding:30px 0}
}
/* мобильное меню */
.nav.is-open{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;
  background:var(--surface);border-bottom:1px solid var(--line);padding:14px 24px;gap:6px;box-shadow:var(--shadow)}
.nav.is-open a{padding:12px 0;border-bottom:1px solid var(--line-soft)}
