/* Лендинг «Банкротство физлиц», Челябинская область.
   Раскладка: светлый «бумажный» первый экран с карточкой консультанта, ниже секции на тёплом сером фоне.
   Строгий стиль: засечки в заголовках, скругления 5px, без декоративных градиентов.
   Фирменный приём: латунная линия под ключевым словом заголовка (.u), при наведении она раскрывается в маркерную заливку. */
:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --ink: #1c2420;
  --muted: #59615b;
  --line: #dedad0;
  --accent: #24543f;
  --accent-ink: #ffffff;
  --soft: #e9ede8;
  --hero: #efede6;
  --hero-ink: #1c2420;
  --hero-muted: #535b55;
  --hero-glow: transparent;
  --cta: #24543f;
  --cta-ink: #ffffff;
  --amber-text: #855714;
  --amber: #c4923a;
  --amber-ink: #1f1608;
  --amber-glow: rgba(196, 146, 58, .2);
  --mint: #9fe3b6;
  --mint-ink: #0a2a19;
  --danger: #b3261e;

  --f-display: "PT Serif", Georgia, "Times New Roman", serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r: 5px;
  color-scheme: only light;
  --gap: clamp(16px, 3vw, 28px);
  --sec: clamp(48px, 8vw, 88px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.15; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }

.wrap {
  max-width: 1160px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: var(--sec); }
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 720px; }
.sec-head p { color: var(--muted); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 4px; border: 2px solid transparent;
  font: 600 17px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--main { background: var(--accent); color: var(--accent-ink); }
.btn--main:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--accent); border-color: currentColor; }
.btn--wide { width: 100%; }
.chip { font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 4px; color: var(--ink); }

/* Шапка */
.top { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__logo { height: 44px; width: auto; display: block; }
@media (max-width: 720px) { .brand__logo { height: 34px; } }
.disclaimer--inline { margin-top: 14px; padding-top: 0; border-top: 0; color: var(--muted); }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 4px; background: var(--amber); color: var(--amber-ink); font-family: var(--f-display); }
.top__geo { color: var(--muted); font-size: 14px; }
.top__contacts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top__phone { color: var(--ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .top__geo, .top .chip { display: none; } }

/* Первый экран */
.hero { background: var(--hero); border-bottom: 1px solid var(--line); color: var(--hero-ink); padding-block: clamp(32px, 6vw, 72px) 24px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__text { display: grid; gap: 20px; min-width: 0; }
.geo-plate { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--hero-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--hero-muted); max-width: 60ch; }
.hero .btn--main { background: var(--cta); color: var(--cta-ink); }
.hero .btn--ghost { color: var(--hero-ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 15px; color: var(--hero-muted); max-width: 60ch; padding-left: 14px; border-left: 2px solid var(--amber); }
.hero .ticks strong { color: var(--amber-text); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 3px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ticks--sm { font-size: 16px; gap: 8px; }
.ticks--sm li { padding-left: 28px; }
.ticks--sm li::before { width: 18px; height: 18px; }

.person-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 14px; }
.person-card__photo, .about__photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--hero-ink) 8%, var(--hero)); }
.person-card__photo img, .about__photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.person-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--hero-muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.person-card figcaption { display: grid; gap: 2px; padding: 0 6px 6px; }
.person-card figcaption strong { font: 700 19px/1.25 var(--f-display); }
.person-card figcaption span:last-child { color: var(--hero-muted); font-size: 15px; }
.badge { justify-self: start; display: inline-block; font: 700 13px/1 var(--f-body); letter-spacing: .02em; padding: 7px 10px; border-radius: 3px; background: var(--amber); color: var(--amber-ink); margin-bottom: 6px; }
.disclaimer { font-size: 12px; opacity: .85; line-height: 1.45; color: var(--hero-muted); margin-top: 28px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--hero-ink) 14%, transparent); }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .person-card { grid-template-columns: 112px 1fr; align-items: center; order: -1; padding: 10px; }
  .person-card__photo { aspect-ratio: 1; }
  .person-card__ph { font-size: 11px; text-align: center; }
}

/* Квиз */
.quiz-sec { background: var(--bg); }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 4vw, 40px); display: grid; gap: 18px; max-width: 820px; }
.quiz__bar { height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.quiz__count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.step legend { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; padding: 0; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 15px; margin-top: -6px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.opts label, .seg label { position: relative; cursor: pointer; }
.opts input, .seg input { position: absolute; opacity: 0; inset: 0; }
.opts span { display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 48px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); font-weight: 500; transition: border-color .15s, background-color .15s; }
.opts span::before { content: ""; position: absolute; left: 16px; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); }
.opts input[type="checkbox"] + span::before { border-radius: 3px; }
.opts input:checked + span { border-color: var(--accent); background: var(--soft); }
.opts input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.opts input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz__nav { display: flex; gap: 12px; justify-content: space-between; }
.quiz__nav .btn--main { margin-left: auto; min-width: 160px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 16px; font: 17px var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 1.5px solid var(--line); font-weight: 600; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--danger); font-size: 15px; font-weight: 600; }
.form-ok { color: var(--accent); font-weight: 600; }
.fine { font-size: 14px; color: var(--muted); }
.result { background: var(--soft); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 6px; }
.result__eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.result__title { font: 700 clamp(20px, 2.6vw, 26px)/1.2 var(--f-display); }
.result__text { color: var(--muted); }
.step--done { display: grid; gap: 10px; padding-block: 12px; }

/* Три пути */
.paths { background: var(--surface); }
.paths__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: stretch; }
.path { border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; grid-template-rows: auto auto auto 1fr auto auto; }
.path--main { border-color: var(--accent); border-top-width: 4px; background: var(--surface); }
.path__tag { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.path h3 { font-family: var(--f-display); font-size: 22px; }
.path__who { font-size: 15px; color: var(--muted); }
.path__who b { color: var(--ink); }
.path__price { font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); }

/* Этапы */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; counter-reset: st; }
.timeline li { position: relative; padding: 28px 20px 0 0; border-top: 2px solid var(--line); display: grid; gap: 6px; counter-increment: st; }
.timeline li::before { content: counter(st); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 4px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 15px/1 var(--f-display); box-shadow: 0 0 0 5px var(--surface); }
.timeline__when { font-weight: 700; color: var(--accent); }
.timeline__what { color: var(--ink); }
@media (max-width: 600px) {
  .timeline { gap: 24px; padding-left: 16px; border-left: 3px solid var(--line); }
  .timeline li { border-top: 0; padding: 0 0 0 28px; }
  .timeline li::before { top: -4px; left: -34px; }
}

/* Цена */
.price-sec { background: var(--bg); }
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.price__main { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); color: var(--hero-ink); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: start; }
.price__label { color: var(--hero-muted); }
.price__num { font: 700 clamp(42px, 6vw, 66px)/1 var(--f-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.price__num span { display: block; margin-top: 10px; font: 600 18px/1.2 var(--f-body); color: var(--hero-ink); }
.price__note { color: var(--hero-muted); max-width: 46ch; }
.price__main .btn--main { background: var(--cta); color: var(--cta-ink); justify-self: start; margin-top: 8px; }
.price__side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.price__side h3 + ul { margin-bottom: 10px; }
@media (max-width: 820px) { .price { grid-template-columns: 1fr; } }

/* Кейсы */
.cases-sec { background: var(--surface); }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.case { position: relative; border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 4px; }
.case__ex { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 3px; background: var(--soft); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.case__city { font-weight: 600; color: var(--muted); }
.case__sum { font: 700 28px/1.1 var(--f-display); font-variant-numeric: tabular-nums; margin-top: 6px; }
.case__lbl { color: var(--accent); font-weight: 600; }
.case dl { margin: 12px 0 0; display: grid; gap: 6px; font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.case dl div { display: flex; justify-content: space-between; gap: 12px; }
.case dt { color: var(--muted); }
.case dd { margin: 0; text-align: right; }
.mono { font-family: var(--f-mono); font-size: 14px; }

/* Если не подходит */
.alt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding-block: clamp(24px, 4vw, 40px); }
.alt h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.alt p { color: var(--muted); }
@media (max-width: 900px) { .alt { grid-template-columns: 1fr; } .alt .btn { justify-self: start; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 500 24px/1 var(--f-display); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 65ch; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* О компании */
.about-sec { background: var(--surface); }
.about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.about__photo { background: var(--soft); }
.about__photo .person-card__ph { color: var(--muted); }
.about__text { display: grid; gap: 12px; }
.about__role { color: var(--muted); }
.about blockquote { margin: 8px 0; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 19px; max-width: 55ch; }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.facts b { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 280px; } .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* Финальная форма */
.final-sec { background: var(--hero); border-top: 1px solid var(--line); color: var(--hero-ink); }
.final { display: grid; gap: 12px; justify-items: start; }
.final > p { color: var(--hero-muted); }
.final__form { width: 100%; max-width: 560px; display: grid; gap: 12px; margin-top: 12px; }
.final .field label, .final .check { color: var(--hero-muted); }
.final .check a { color: var(--accent); }
.final .btn--main { background: var(--cta); color: var(--cta-ink); }
.final .form-ok { color: var(--accent); }

/* Подвал */
.foot { padding-block: 32px 96px; font-size: 14px; color: var(--muted); }
.foot__in { display: grid; gap: 8px; }
.foot__req { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot .disclaimer { color: var(--muted); border-color: var(--line); margin-top: 0; padding-top: 0; border-top: 0; }

/* Нижняя панель на телефоне */
.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .dock a { display: grid; place-items: center; min-height: 46px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); border: 1.5px solid var(--line); }
  .dock .dock__main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  body { font-size: 16px; }
}

/* Фирменный приём: янтарная линия под ключевым словом, при наведении раскрывается в маркер */
.u {
  background-image: linear-gradient(var(--amber), var(--amber)), linear-gradient(var(--amber-glow), var(--amber-glow));
  background-repeat: no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 100% .12em, 100% 0;
  padding-bottom: .04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .35s cubic-bezier(.2, .7, .2, 1);
}
h1:hover .u, h2:hover .u, .sec-head:hover .u, .price__main:hover .u {
  background-size: 100% .12em, 100% .6em;
}
.hero h1 .u { animation: u-draw .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes u-draw { from { background-size: 0 .12em, 100% 0; } to { background-size: 100% .12em, 100% 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .u { animation: none; } }

/* Тот же жест на ссылках и вопросах FAQ */
.top__phone, .foot a, .check a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.top__phone:hover, .foot a:hover, .check a:hover { text-decoration-color: var(--amber); }
.faq summary { transition: color .2s; }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq summary::after { color: var(--amber); }
.faq details[open] { border-color: color-mix(in srgb, var(--amber) 60%, var(--line)); }

/* Иллюстрации: цвета из темы */
.ill { display: block; max-width: 100%; height: auto; }
.ill path, .ill rect, .ill circle { vector-effect: non-scaling-stroke; }
.ill-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ill-line--thin { stroke-width: 1.6; opacity: .7; }
.ill-line-amber { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ill-paper { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.ill-paper.ill-line { stroke: var(--accent); }
.ill-soft { fill: var(--soft); }
.ill-soft-amber { fill: var(--amber-glow); }
.ill-box { fill: var(--soft); stroke: var(--accent); stroke-width: 1.6; }
.ill-check { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ill-stamp { fill: var(--amber-glow); stroke: var(--amber); stroke-width: 2.4; stroke-dasharray: 5 3; }
.ill-stamp-text { fill: var(--amber-text); font: 700 13px var(--f-display); letter-spacing: .04em; }
.ill-sun { fill: var(--amber-glow); stroke: var(--amber); stroke-width: 2; }
.ill-glow { fill: var(--amber-glow); }
.ill-light { fill: var(--amber-glow); opacity: .7; }
.ill-knob { fill: var(--accent); }
.ill-ridge-back { fill: color-mix(in srgb, var(--accent) 9%, var(--hero)); }
.ill-ridge-front { fill: var(--bg); }

/* Горы внизу первого экрана, плавный переход в следующий блок */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(32px, 5vw, 56px); }
.hero > .wrap { position: relative; z-index: 1; }
.ill--mountains { display: none; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(150px, 18vw, 260px); }
.hero .disclaimer { border-top: 0; padding-top: 0; color: var(--muted); max-width: 620px; }

/* Тест + иллюстрация анкеты */
.quiz-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.quiz-aside { position: sticky; top: 24px; display: grid; gap: 20px; justify-items: center; padding-top: 12px; }
.ill--doc { width: min(100%, 280px); }
.quiz-aside__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.quiz-aside__notes li { padding-left: 20px; position: relative; }
.quiz-aside__notes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (max-width: 980px) { .quiz-layout { grid-template-columns: 1fr; } .quiz-aside { display: none; } }

/* Иконки этапов */
.ill--step { width: 44px; height: 44px; margin-bottom: 4px; }
@media (max-width: 600px) { .ill--step { width: 36px; height: 36px; } }

/* Указатель в блоке «не подходит» */
.alt { grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr) auto; }
.ill--sign { width: 120px; }
@media (max-width: 900px) { .alt { grid-template-columns: 1fr; } .ill--sign { width: 84px; } }

/* Финальная форма + дверь */
.final { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: 32px; }
.final__main { display: grid; gap: 12px; justify-items: start; }
.final__main > p { color: var(--hero-muted); }
.ill--door { width: 100%; max-width: 340px; justify-self: end; }
@media (max-width: 820px) { .final { grid-template-columns: 1fr; } .ill--door { display: none; } }

/* Фото города: справа фото с лёгким тоном, слева светлая подложка под текст, граница резкая */
.hero--photo {
  background:
    linear-gradient(90deg, var(--hero) 0 55%, color-mix(in srgb, var(--hero) 20%, transparent) 55%),
    var(--hero-photo) 80% center / cover no-repeat,
    var(--hero);
}
@media (max-width: 860px) {
  /* на телефоне фото баннером сверху, текст ниже на сплошном фоне */
  .hero--photo {
    padding-top: calc(56.25vw + 20px);
    background:
      var(--hero-photo) center top / 100% auto no-repeat,
      var(--hero);
  }
  .hero--photo .person-card { order: 0; }
}
