/* Наступник — сайт v1. Источник: Figma EEXD1VQymfdwp1qUC6mFfw, страница «01 Сайт — концепт».
   Токены — коллекция concept, режим Light. Генерируется вручную, HTML — tools/site-build/build.py */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #5b6676;
  --line: #dfe3e9;
  --accent: #14804f;
  --accent-h: #0f6b41;
  --soft: #e2f2ea;
  --dark: #0f1b2d;
  --on-dark: #ffffff;
  --on-dark-m: #a9b4c4;
  --note: #ffe38a;
  --ph: #d5dae1;
  --shadow: 0 1px 2px rgba(15, 28, 46, .06), 0 8px 24px -4px rgba(15, 28, 46, .08);
  --pad: 120px;
  --wrap: 1200px;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/24px var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 80px; }
@media (max-width: 1023px) { [id] { scroll-margin-top: 64px; } }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: 96px 0; }
.sec--bg { background: var(--bg); }
.sec--surface { background: var(--surface); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec > .wrap > * + * { margin-top: 40px; }
.sec--tight > .wrap > * + * { margin-top: 24px; }

/* ── типографика ── */
.eyebrow { font: 600 14px/1.3 var(--font); color: var(--accent); }
.sec--dark .eyebrow { color: var(--on-dark-m); }
.h1 { font: 700 50px/56px var(--font); letter-spacing: -.01em; }
.h2 { font: 700 40px/48px var(--font); letter-spacing: -.01em; }
.lead { font-size: 20px; line-height: 26px; color: var(--muted); max-width: 780px; }
.sec--dark .lead { color: var(--on-dark-m); }
.head { display: flex; flex-direction: column; gap: 14px; }
.head--row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.head--row > div:first-child { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.head--center { align-items: center; text-align: center; }
.head--center .lead { margin: 0 auto; }
.muted { color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.link { font: 600 14px/1.4 var(--font); color: var(--accent); }
.link:hover { text-decoration: underline; }
.bul { display: flex; flex-direction: column; gap: 10px; }
.bul li { position: relative; padding-left: 16px; }
.bul li::before { content: "•"; position: absolute; left: 2px; }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 24px; border-radius: 10px; border: 1px solid transparent; font: 600 16px/1.3 var(--font); cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--p { background: var(--accent); color: var(--on-dark); }
.btn--p:hover { background: var(--accent-h); }
.btn--s { background: var(--surface); color: var(--ink); border-color: var(--ink); min-height: 52px; }
.btn--s:hover { background: var(--ink); color: var(--on-dark); }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--ink); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.icon-btn:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.icon-btn svg { width: 20px; height: 20px; }

/* ── пилюли и чипы ── */
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--accent); font: 600 14px/1.3 var(--font); white-space: nowrap; }
.pill--sm { padding: 5px 10px; font-size: 12px; line-height: 1.4; }
.pill--note { background: var(--note); color: var(--ink); }
.pill--bg { background: var(--bg); color: var(--muted); }
.pill--dark { background: var(--dark); color: var(--on-dark); }
.pill--accent { background: var(--accent); color: var(--on-dark); }
.pill--white { background: var(--surface); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 14px/1.4 var(--font); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.chip .cnt { font: 600 12px/1 var(--font); padding: 4px 7px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.chip.is-on .cnt { background: var(--accent); color: var(--on-dark); }

/* ── шапка ── */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1.4 var(--font); }
.logo i { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: var(--on-dark); font: 700 18px/36px var(--font); font-style: normal; text-align: center; }
.nav { display: flex; gap: 32px; font: 500 16px/1.4 var(--font); }
.nav a:hover, .nav a.is-on { color: var(--accent); }
.hdr-r { display: flex; align-items: center; gap: 20px; }
.phones { display: flex; flex-direction: column; align-items: flex-end; font: 600 16px/1.4 var(--font); }
.phones a:hover { color: var(--accent); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.lang a, .lang span { padding: 6px 10px; border-radius: 7px; font: 600 14px/1.3 var(--font); color: var(--muted); }
.lang .is-on { background: var(--dark); color: var(--on-dark); }
.lang span[title] { cursor: help; }
.burger { display: none; width: 40px; height: 40px; margin-right: -9px; border: 0; background: none; cursor: pointer; padding: 8px 9px; flex-direction: column; justify-content: center; gap: 5px; }
.burger b { display: block; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-open .burger b:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger b:nth-child(2) { opacity: 0; }
.menu-open .burger b:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }

/* ── первый экран ── */
.hero { background: var(--surface); padding: 64px 0 80px; }
.hero .row { display: flex; align-items: center; gap: 56px; }
.hero .txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero .txt .eyebrow { font-size: 14px; line-height: 1.4; }
.hero .lead { max-width: none; }
.hero-img { flex: 0 0 540px; width: 540px; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: var(--ph); }
.hero-img--sq { flex-basis: 460px; width: 460px; aspect-ratio: 1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.stats b { display: block; font: 700 28px/34px var(--font); }
.stats span { font-size: 14px; color: var(--muted); }
.hero-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tabs .chip { padding: 10px 16px; }
[data-pane][hidden] { display: none !important; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* паспорт лота / проекта */
.passport { flex: 0 0 440px; background: var(--bg); border-radius: 20px; padding: 8px 24px; }
.passport .r { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.passport .r:last-of-type { border-bottom: 0; }
.passport .r span { font-size: 14px; color: var(--muted); }
.passport .r b { font: 600 16px/1.4 var(--font); text-align: right; }
.passport .btn { margin: 12px 0; width: 100%; white-space: normal; }

/* ── сетки и карточки ── */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card--bg { background: var(--bg); border-color: transparent; }
.card .ci { border-radius: 14px; aspect-ratio: 334 / 188; overflow: hidden; background: var(--ph); }
.card .ci img { width: 100%; height: 100%; object-fit: cover; }
.card .pill { align-self: flex-start; }
.card h3 { font: 700 20px/26px var(--font); }
.card p { font-size: 16px; line-height: 1.4; color: var(--muted); }
.card .big { font: 700 36px/1.1 var(--font); color: var(--accent); }
.card .link { margin-top: auto; }
a.card { transition: box-shadow .15s, border-color .15s; }
a.card:hover { box-shadow: var(--shadow); }

/* карточка лота (site1/card-lot) */
.lot { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 14px; height: 300px; }
.lot .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lot .st { font: 500 12px/1.4 var(--font); color: var(--muted); }
.lot h3 { font: 700 20px/26px var(--font); height: 52px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lot .sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kv span { display: block; font-size: 12px; color: var(--muted); }
.kv b { display: block; font: 700 18px/1.4 var(--font); white-space: nowrap; }
.lot .link, .inv .link { font-size: 16px; }
.lot:hover h3, .inv:hover h3, .cov:hover h3, .art:hover h3 { color: var(--accent); }

/* карточка инвест-проекта (site1/card-invest) */
.inv { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; height: 454px; }
.inv .im { height: 200px; flex: none; background: var(--ph); }
.inv .im img { width: 100%; height: 100%; object-fit: cover; }
.inv .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.inv .top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.inv .tp { font: 500 12px/1.4 var(--font); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv h3 { font: 700 20px/26px var(--font); height: 52px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.inv .sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv .note { font-size: 12px; color: var(--muted); margin-top: auto; }

/* карточка с обложкой (site1/card-lot-cover) */
.cov { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.cov .im { position: relative; aspect-ratio: 384 / 216; background: var(--ph); }
.cov .im img { width: 100%; height: 100%; object-fit: cover; }
.cov .pills { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.cov .sold { position: absolute; inset: 0; background: rgba(15, 27, 45, .55); color: var(--on-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.cov .sold b { font: 800 22px/1.3 var(--font); letter-spacing: .02em; }
.cov .sold span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.cov .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cov h3 { font: 500 20px/1.4 var(--font); min-height: 56px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cov .price { font: 700 24px/1.2 var(--font); }
.cov .rows { padding-top: 8px; }
.cov .rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cov .rows div:last-child { border-bottom: 0; }
.cov .rows span { color: var(--muted); }
.cov .rows b { font-weight: 600; text-align: right; }
.cov .link { font-size: 16px; padding-top: 10px; }

/* карточка статьи (site1/card-article) */
.art { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; height: 444px; }
.art .im { height: 216px; flex: none; background: var(--ph); }
.art .im img { width: 100%; height: 100%; object-fit: cover; }
.art .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art .top { display: flex; align-items: center; gap: 10px; }
.art .mt { font-size: 14px; color: var(--muted); }
.art h3 { font: 700 20px/26px var(--font); height: 52px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art p { font-size: 16px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art .link { font-size: 16px; margin-top: auto; }

/* ── слайдер ── */
.car { margin-right: calc(-1 * var(--pad)); position: relative; }
.car .track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding: 4px var(--pad) 28px 0; margin: -4px 0 -28px; scrollbar-width: none; cursor: grab; }
.car .track::-webkit-scrollbar { display: none; }
.car .track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.car .track.is-drag a { pointer-events: none; }
.car .track > * { flex: 0 0 384px; scroll-snap-align: start; }
.pager { display: flex; align-items: center; gap: 16px; }
.dots { display: flex; gap: 8px; align-items: center; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .2s, background .2s; }
.dots button.is-on { width: 24px; background: var(--accent); }
.pager .cnt { font: 500 14px/1.4 var(--font); color: var(--muted); }
.pager .btn { margin-left: auto; display: none; }
.ctrls { display: flex; gap: 12px; align-items: center; flex: none; }
.sec--dark .dots button { background: rgba(255, 255, 255, .25); }
.sec--dark .dots button.is-on { background: var(--accent); }
.sec--dark .pager .cnt { color: var(--on-dark-m); }

/* ── шаги таймлайном ── */
.tl { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 40px 24px; }
.tl li { display: flex; flex-direction: column; gap: 12px; }
.tl .n { display: flex; align-items: center; gap: 12px; }
.tl .n b { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-dark); font: 700 18px/44px var(--font); text-align: center; }
.tl .n i { flex: 1; height: 2px; border-radius: 1px; background: var(--line); }
.tl li:nth-child(var(--cols, 4)n) .n i, .tl li:last-child .n i { visibility: hidden; }
.tl .t { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.tl h3 { font: 700 20px/1.25 var(--font); }
.tl p { font-size: 16px; color: var(--muted); }
.tl .pill { align-self: flex-start; padding: 4px 10px; font-size: 12px; line-height: 1.4; }
.tl--3 li:nth-child(3n) .n i { visibility: hidden; }
.tl--4 li:nth-child(4n) .n i { visibility: hidden; }

/* ── блок «картинка + текст» ── */
.split { display: flex; align-items: center; gap: 64px; }
.split .im { flex: 0 0 520px; width: 520px; aspect-ratio: 520 / 340; border-radius: 20px; overflow: hidden; background: var(--ph); }
.split .im--sq { aspect-ratio: 1; }
.split .im img { width: 100%; height: 100%; object-fit: cover; }
.split .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split .bul { font-size: 16px; }
.split--rev { flex-direction: row-reverse; }

/* ── цены ── */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.price { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px 26px; min-height: 342px; display: flex; flex-direction: column; gap: 12px; }
.price .nm { font: 600 16px/1.3 var(--font); color: var(--muted); }
.price .v { font: 700 38px/44px var(--font); }
.price .nt { font-size: 14px; color: var(--muted); }
.price hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.price .bul { font-size: 16px; }
.price--hl { background: var(--accent); color: var(--on-dark); }
.price--hl .nm, .price--hl .nt { color: var(--on-dark); }
.price--hl hr { border-color: rgba(255, 255, 255, .35); }
.price .pill { align-self: flex-start; }
.guar { display: flex; flex-wrap: wrap; gap: 10px; }
.guar li { border: 1px solid var(--on-dark-m); border-radius: 10px; padding: 10px 14px; font: 500 14px/1.4 var(--font); }
.prices-wrap > * + * { margin-top: 32px; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font: 600 18px/1.4 var(--font); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1.15 var(--font); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* ── таблица, проверка, плашка ── */
.tbl { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 24px; align-items: start; }
.tbl .card { padding-top: 8px; padding-bottom: 8px; gap: 0; }
.tbl .r { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.tbl .r:last-child { border-bottom: 0; }
.tbl .r span { color: var(--muted); }
.tbl .r b { font-weight: 600; text-align: right; }
.tbl .r b.acc { color: var(--accent); }
.check { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px 24px; }
.check .r { display: flex; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.check .r:last-child { border-bottom: 0; }
.check .r div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.check .r h3 { font: 600 16px/1.4 var(--font); }
.check .r p { font-size: 14px; color: var(--muted); }
.notice { background: var(--soft); border-radius: 14px; padding: 16px 20px; font-size: 14px; line-height: 1.4; }
.notice--plain { padding-top: 0; }

/* ── заявка ── */
.lead-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: var(--on-dark); border-radius: 32px; padding: 56px; display: flex; gap: 56px; align-items: flex-start; }
.lead-panel::before, .lead-panel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--accent); filter: blur(140px); opacity: .6; }
.lead-panel::before { width: 420px; height: 420px; left: -160px; top: -200px; }
.lead-panel::after { width: 380px; height: 380px; left: 700px; top: 260px; }
.lead-panel .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lead-panel .pill { align-self: flex-start; background: var(--surface); }
.lead-panel .lead { color: var(--on-dark-m); font-size: 18px; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font: 500 16px/1.4 var(--font); }
.ticks li i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.ticks li svg { width: 16px; height: 16px; }
.lead-panel hr { border: 0; border-top: 1px solid var(--on-dark-m); margin: 0; }
.direct { display: flex; align-items: center; gap: 16px; }
.direct > span { font: 600 14px/1.3 var(--font); color: var(--on-dark-m); }
.circles { display: flex; gap: 10px; }
.circles a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark); transition: background .15s, border-color .15s; }
.circles a:hover { background: var(--accent); border-color: var(--accent); }
.circles svg { width: 20px; height: 20px; }
.contacts { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.contacts > div { display: flex; flex-direction: column; gap: 6px; }
.contacts .lb { display: flex; align-items: center; gap: 6px; font: 500 14px/1.4 var(--font); color: var(--on-dark-m); }
.contacts .lb svg { width: 14px; height: 14px; }
.contacts a { font: 600 18px/1.4 var(--font); }
.contacts a:hover { color: #7fd1a8; }
.form { flex: 0 0 480px; background: var(--surface); color: var(--ink); border-radius: 24px; box-shadow: 0 20px 48px -12px rgba(0, 0, 0, .25); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form h3 { font: 700 22px/28px var(--font); }
.form .sub { font-size: 14px; color: var(--muted); margin-top: -12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font: 500 14px/1.4 var(--font); }
.fld input, .fld textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; line-height: 1.4; outline: none; transition: border-color .15s, background .15s; }
.fld textarea { resize: vertical; min-height: 51px; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--muted); }
.fld input:focus, .fld textarea:focus { border-color: var(--accent); background: var(--surface); }
.fld.is-err input { border-color: #c0392b; }
.fine { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.fine svg { flex: none; width: 16px; height: 16px; }
.form .ok { display: none; flex-direction: column; gap: 10px; padding: 8px 0; }
.form.is-sent > :not(.ok) { display: none; }
.form.is-sent .ok { display: flex; }
.form .ok b { font: 700 22px/1.3 var(--font); }
.form .ok p { color: var(--muted); font-size: 16px; }

/* ── CTA ── */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta .wrap > * + * { margin-top: 0; }
.cta .btns { justify-content: center; }

/* ── фильтры ── */
.filters { display: flex; flex-direction: column; gap: 16px; }
.search { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.search input { border: 0; outline: 0; background: none; flex: 1; font-size: 16px; }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.fgrp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fgrp > span { font: 600 14px/1.4 var(--font); color: var(--muted); margin-right: 4px; }
.result { font: 500 14px/1.4 var(--font); color: var(--muted); }

/* ── каталог ── */
.cat-intro { padding: 40px 0 0; }
.intro-card { background: var(--surface); border-radius: 24px; padding: 40px 48px; display: flex; flex-direction: column; gap: 16px; }
.intro-card .h1 { font-size: 44px; }
.intro-card .lead { max-width: 860px; font-size: 18px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { padding: 10px 16px; font-size: 16px; }
.tools { display: flex; gap: 12px; }
.tools .search { flex: 1; padding: 0 16px; min-height: 49px; border-radius: 10px; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; height: 49px; padding: 0 34px 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 500 16px/1 var(--font); cursor: pointer; }
.sel::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 10px; pointer-events: none; }
.tools .flt { display: none; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cat-more { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty { grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--line); border-radius: 20px; padding: 40px; text-align: center; color: var(--muted); }

/* ── калькулятор ── */
.calc { display: flex; gap: 24px; align-items: flex-start; }
.calc .inputs { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.calc .g { display: flex; flex-direction: column; gap: 8px; }
.calc .g > label, .calc .g > span { font: 600 14px/1.4 var(--font); }
.calc input[type=text] { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 500 16px/1.4 var(--font); max-width: 320px; outline: none; }
.calc input[type=text]:focus { border-color: var(--accent); background: var(--surface); }
.calc .res { position: sticky; top: 100px; flex: 0 0 440px; background: var(--dark); color: var(--on-dark); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.calc .res .lb { font: 500 14px/1.4 var(--font); color: var(--on-dark-m); }
.calc .res .v { font: 700 38px/1.1 var(--font); }
.calc .res .s { font-size: 16px; color: var(--on-dark-m); }
.calc .res hr { border: 0; border-top: 1px solid var(--on-dark-m); margin: 0; }
.calc .res .bul { font-size: 16px; }
.calc .res .fine { color: var(--on-dark-m); }

/* ── статья ── */
.article { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.article .im { border-radius: 20px; overflow: hidden; aspect-ratio: 780 / 440; background: var(--ph); }
.article .im img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font: 700 28px/1.25 var(--font); margin-top: 12px; }
.article p, .article li { font-size: 18px; line-height: 1.6; }
.article ul, .article ol { display: flex; flex-direction: column; gap: 8px; }
.article ul li { position: relative; padding-left: 20px; }
.article ul li::before { content: "•"; position: absolute; left: 4px; }
.article ol { counter-reset: n; }
.article ol li { position: relative; padding-left: 30px; counter-increment: n; }
.article ol li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 700; color: var(--accent); }
.article strong { font-weight: 600; }
.article .notice { font-size: 16px; }
.article-hero .lead { max-width: 780px; }

/* ── подвал ── */
.ftr { background: var(--dark); color: var(--on-dark); padding: 72px 0 32px; }
.ftr .wrap > * + * { margin-top: 48px; }
.ftr .top { display: flex; gap: 56px; }
.ftr .brand { flex: 0 0 320px; display: flex; flex-direction: column; gap: 18px; }
.ftr .brand p { font-size: 14px; color: var(--on-dark-m); }
.ftr .links { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr h4 { font: 600 12px/1.4 var(--font); color: var(--on-dark-m); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.ftr .links ul { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.ftr a:hover { color: #7fd1a8; }
.ftr .ct { flex: 0 0 250px; }
.ftr .ct ul { display: flex; flex-direction: column; gap: 12px; }
.ftr .ct li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--on-dark-m); }
.ftr .ct li.ph { font: 600 16px/1.3 var(--font); color: var(--on-dark); }
.ftr .ct svg { width: 18px; height: 18px; flex: none; color: var(--on-dark); }
.ftr hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ftr .legal { display: flex; justify-content: space-between; gap: 32px; font-size: 14px; color: var(--on-dark-m); }
.ftr .legal b { display: block; font-weight: 500; color: var(--on-dark); margin-bottom: 4px; }
.ftr .legal nav { display: flex; gap: 20px; white-space: nowrap; }
.ftr .disc { font-size: 12px; color: var(--on-dark-m); }


/* шаги: на десктопе срок под текстом, на мобайле — рядом с заголовком */
.tl .t .hd { display: contents; }
.tl .t p { order: 1; }
.tl .t .pill { order: 2; }
.m-only { display: none !important; }
.inv .note .mo { display: none; }
.inv .note [data-mon-last] { display: block; color: var(--accent); font-weight: 600; }
.form form { display: flex; flex-direction: column; gap: 16px; }
.form .sub { margin-top: -12px; }

/* ── планшет ── */
@media (max-width: 1279px) {
  :root { --pad: 40px; }
  .hdr .phones { display: none; }
  .hero-img { flex-basis: 44%; width: 44%; }
  .hero-img--sq { flex-basis: 40%; width: 40%; }
  .split .im { flex-basis: 44%; width: 44%; }
  .passport { flex-basis: 400px; }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-panel { padding: 40px; gap: 40px; }
  .form { flex-basis: 420px; }
  .ftr .top { flex-wrap: wrap; }
  .ftr .links { flex-basis: 100%; order: 3; }
  .calc .res { flex-basis: 380px; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .hdr .btn { display: none; }
  .burger { display: flex; }
  .drawer { display: block; position: fixed; inset: 64px 0 0; z-index: 49; background: var(--surface); padding: 24px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .menu-open .drawer { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .drawer nav { display: flex; flex-direction: column; }
  .drawer nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 18px/1.4 var(--font); }
  .drawer .ph { display: flex; flex-direction: column; gap: 6px; margin: 24px 0; font: 600 18px/1.4 var(--font); }
  .hdr .wrap { height: 64px; }
  .hero .row, .split, .split--rev { flex-direction: column; align-items: stretch; }
  .hero-img, .hero-img--sq, .split .im { flex-basis: auto; width: 100%; }
  .passport { flex-basis: auto; }
  .grid { --cols: 2 !important; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-panel { flex-direction: column; align-items: stretch; }
  .form { flex-basis: auto; }
  .calc { flex-direction: column; align-items: stretch; }
  .calc .res { position: static; flex-basis: auto; }
  .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl li .n i { visibility: hidden; }
}

/* ── мобайл 375 ── */
@media (max-width: 719px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .sec { padding: 48px 0; }
  .sec > .wrap > * + * { margin-top: 24px; }
  .h1 { font-size: 34px; line-height: 40px; }
  .h2 { font-size: 26px; line-height: 32px; }
  .lead { font-size: 16px; line-height: 24px; }
  .head { gap: 10px; }
  .head--row { flex-direction: column; align-items: stretch; }
  .head--row > div:first-child { gap: 10px; }
  .head--row .ctrls { display: none; }
  .hdr .wrap { gap: 12px; }
  .hdr-r { gap: 14px; }
  .lang a, .lang span { padding: 4px 8px; font-size: 12px; line-height: 1.4; }
  .logo { font-size: 20px; }
  .hero { padding: 28px 0 40px; }
  .hero .row { gap: 28px; }
  .hero .txt { gap: 16px; }
  .hero-tabs { flex-wrap: nowrap; gap: 0; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
  .hero-tabs .chip { flex: 1 1 auto; justify-content: center; padding: 8px 6px; border: 0; background: none; font-size: 14px; border-radius: 9px; }
  .hero-tabs .chip.is-on { background: var(--dark); }
  .home-hero .hero-img { display: none; }
  .home-hero .btns { flex-wrap: nowrap; gap: 10px; }
  .home-hero .btns .btn { flex: 1 1 0; padding: 14px 8px; font-size: 16px; }
  .stats { gap: 16px 20px; }
  .stats > div { flex: 1 1 0; min-width: 0; }
  .stats b { font-size: 22px; }
  .home-hero .stats { flex-wrap: nowrap; }
  .grid { --cols: 1 !important; gap: 12px; }
  .grid--m2 { --cols: 2 !important; }
  .card { padding: 20px; }
  .card h3 { font-size: 18px; }
  .card .big { font-size: 28px; }
  .car .track { gap: 12px; }
  .car .track > * { flex-basis: 312px; }
  .lot { height: 294px; padding: 20px; gap: 12px; }
  .kv { gap: 8px; }
  .kv b { font-size: 14px; }
  .inv { height: 448px; }
  .inv .bd { padding: 18px 18px 20px; }
  .art { height: 436px; }
  .pager .btn { display: inline-flex; min-height: 51px; }
  .tl { grid-template-columns: 1fr; gap: 0; position: relative; }
  .tl li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding-bottom: 24px; position: relative; }
  .tl li:last-child { padding-bottom: 0; }
  .tl li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
  .tl li:last-child::before { display: none; }
  .tl .n { grid-row: 1 / span 2; align-items: flex-start; }
  .tl .n b { width: 32px; height: 32px; font-size: 14px; line-height: 32px; position: relative; z-index: 1; }
  .tl .n i { display: none; }
  .tl .t { padding-top: 4px; gap: 6px; }
  .tl .t h3 { font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .tl .t .pill { order: 0; }
  .tl .t .hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .m-only { display: flex !important; }
  .inv .note .do { display: none; }
  .inv .note .mo { display: inline; }
  .prices-wrap .pager { margin-top: 16px; }
  .split { gap: 24px; }
  .split .tx { gap: 16px; }
  .prices { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .prices::-webkit-scrollbar { display: none; }
  .prices .price { flex: 0 0 278px; scroll-snap-align: start; }
  .price .v { font-size: 30px; }
  .guar { flex-direction: column; }
  .faq summary { font-size: 16px; }
  .faq details { padding: 18px 20px; }
  .tbl { grid-template-columns: 1fr; gap: 0; }
  .tbl .card { border-radius: 0; border-top: 0; border-bottom: 0; padding: 0 20px; }
  .tbl .card:first-child { border-radius: 20px 20px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .tbl .card:last-child { border-radius: 0 0 20px 20px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .tbl .card:first-child:last-child { border-radius: 20px; }
  .tbl .card:not(:last-child) .r:last-child { border-bottom: 1px solid var(--line); }
  .tbl .r { font-size: 14px; }
  .check { padding: 4px 18px; }
  .check .r { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lead-sec { padding: 0 0 48px !important; background: var(--bg); }
  .lead-sec .wrap { padding: 0 16px; }
  .lead-panel { border-radius: 24px; padding: 32px 20px 20px; gap: 28px; }
  .lead-panel .h2 { font-size: 28px; }
  .lead-panel::after { left: 40px; top: auto; bottom: 120px; }
  .direct { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contacts { gap: 20px; flex-direction: column; }
  .form { padding: 24px 20px; border-radius: 20px; }
  .fields { grid-template-columns: 1fr; }
  .cat-intro { padding-top: 20px; }
  .intro-card { padding: 24px 20px; border-radius: 20px; }
  .intro-card .h1 { font-size: 28px; }
  .intro-card .lead { font-size: 16px; line-height: 24px; }
  .tools .sel { display: none; }
  .tools .flt { display: block; }
  .tools.is-open .sel { display: block; }
  .tools { flex-wrap: wrap; }
  .tools.is-open .sel, .tools.is-open .sel select { width: 100%; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .calc .inputs, .calc .res { padding: 20px; }
  .calc .res .v { font-size: 30px; }
  .article p, .article li { font-size: 16px; }
  .article h2 { font-size: 22px; }
  .ftr { padding: 40px 0 28px; }
  .ftr .wrap > * + * { margin-top: 28px; }
  .ftr .top { flex-direction: column; gap: 28px; }
  .ftr .brand, .ftr .ct { flex-basis: auto; }
  .ftr .links { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ftr .legal { flex-direction: column; gap: 10px; }
  .ftr .legal nav { flex-direction: column; gap: 4px; }
}

/* ── состояния компонентов (ДС v1, вкладка 29, 13.11.2026) ── */
:root { --danger: #d13d3d; --danger-soft: #fbe9e9; --hover-shadow: 0 2px 4px rgba(15, 27, 45, .08), 0 16px 40px -8px rgba(15, 27, 45, .14); }
.btn--p:hover { background: var(--dark); }
.btn--s:hover { background: var(--bg); color: var(--ink); }
.btn:disabled, .btn[aria-disabled=true] { background: var(--ph); border-color: var(--ph); color: var(--muted); cursor: default; }
.icon-btn { border-radius: 10px; }
.icon-btn:hover:not(:disabled) { background: var(--bg); }
.icon-btn:disabled { border-color: var(--line); color: var(--muted); }
.fld input:focus, .fld textarea:focus { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fld.is-err input, .fld.is-err textarea { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.fld input:disabled, .fld textarea:disabled { opacity: .5; }
.lot:hover, .inv:hover, .art:hover, .cov:hover { border-color: var(--accent); box-shadow: var(--hover-shadow); }
.chip:hover:not(.is-on) { background: var(--bg); }
.hero-tabs .chip:hover:not(.is-on) { background: var(--surface); }
.circles a { border-width: 2px; }
.circles a:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); }
/* форма: ловушка для ботов и ошибка отправки */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form form { position: relative; }
.form-err { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 20px; order: -1; }
.form-err .link { color: var(--danger); text-decoration: underline; }
/* форма: успех */
.form .ok { align-items: flex-start; }
.form .ok::before { content: ""; width: 64px; height: 64px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314804f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 32px no-repeat; }
