/* ==========================================================================
   Абонент — дизайн-система «Витрина»
   Бумага · Графит · Апельсин · Шалфей · Туман.
   Unbounded (вариативный вес) для заголовков и цен, Manrope для текста,
   JetBrains Mono для сумм, сроков и результатов расчёта.
   Структура: 1 токены · 2 база · 3 раскладка · 4 типографика · 5 кнопки ·
   6 шапка · 7 hero · 8 бегущая строка · 9 карточки · 10 конструктор ·
   11 тарифы · 12 документы · 13 линия · 14 шаги · 15 гиды · 16 FAQ ·
   17 контакты/карта/форма · 18 подвал/док · 19 страницы-документы · 20 утилиты
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  --paper: #F8F7F2;
  --card: #FFFEFB;
  --ink: #1E1F1C;
  --ink-2: #5A5B54;
  --orange: #FF7A45;
  --orange-deep: #B33A10;
  --sage: #B8C6AE;
  --sage-soft: #D9E1D2;
  --sage-deep: #4C6344;
  --fog: #E8E6DE;
  --line: rgba(30, 31, 28, .14);
  --line-strong: rgba(30, 31, 28, .32);

  --font-display: "Unbounded", "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* шкала: 12 · 13 · 15 · 17 · 20 · 24 · h2 · hero */
  --fs-xs: .75rem;
  --fs-s: .8125rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h3: clamp(1.1rem, 1rem + .45vw, 1.4rem);
  --fs-h2: clamp(1.65rem, 1rem + 2.5vw, 3.1rem);
  --fs-hero: clamp(1.95rem, .9rem + 4.1vw, 3.85rem);

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(56px, 8vw, 112px);
  --header-h: 64px;

  --shadow-1: 0 1px 0 rgba(30, 31, 28, .04), 0 12px 32px -16px rgba(30, 31, 28, .22);
  --shadow-2: 0 2px 0 rgba(30, 31, 28, .05), 0 24px 48px -20px rgba(30, 31, 28, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .sec--ink :focus-visible, .site-footer :focus-visible, .panel--ink :focus-visible, .cta-band :focus-visible, .mock--plan :focus-visible, .ticker :focus-visible { outline-color: var(--orange); }
.sec--orange :focus-visible, .builder > .wrap > :not(.builder__grid) :focus-visible { outline-color: var(--ink); }
.builder :focus-visible { outline-color: var(--ink); }
.builder .panel--ink :focus-visible { outline-color: var(--orange); }
::selection { background: var(--orange); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Раскладка ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(32px, 5vw, 64px); }
.sec--fog { background: var(--fog); }
.sec--sage { background: var(--sage); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--orange { background: var(--orange); }
.sec-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(28px, 5vw, 56px); }
.sec-head--row { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 48px; }
@media (max-width: 900px) { .sec-head--row { grid-template-columns: 1fr; } }

/* ---------- 4. Типографика ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); letter-spacing: -.02em; text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
@media (max-width: 420px) { .h1, .h2, .h3 { hyphens: auto; -webkit-hyphens: auto; } }
@media (max-width: 420px) { .product__title .h2, .sec-head .h2 { hyphens: manual; -webkit-hyphens: manual; } }
.display { font-size: var(--fs-hero); font-weight: 420; line-height: 1.04; letter-spacing: -.035em; }
.h1 { font-size: clamp(1.8rem, 1rem + 3vw, 3.2rem); font-weight: 500; line-height: 1.08; }
.h2 { font-size: var(--fs-h2); font-weight: 480; line-height: 1.08; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.22; }
.h2 em, .h1 em, .display em { font-style: normal; font-weight: 800; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 40rem; line-height: 1.55; text-wrap: pretty; }
.sec--sage .lead, .sec--orange .lead { color: #2A2B27; }
.sec--ink .lead { color: #C9C8C0; }
.mono { font-family: var(--font-mono); }
.small { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.5; }
.sec--ink .small { color: #C9C8C0; }

/* «Алфавит форм»: круг · квадрат · треугольник как маркер раздела */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--fs-xs)/1.2 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ""; width: 11px; height: 11px; flex: none; background: var(--orange); border-radius: 50%; }
.kicker--sq::before { border-radius: 2px; background: var(--sage-deep); }
.kicker--tri::before { border-radius: 0; background: var(--orange); clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 13px; height: 12px; }
.sec--ink .kicker { color: #C9C8C0; }
.sec--sage .kicker, .sec--orange .kicker { color: #2A2B27; }
.sec--sage .kicker::before { background: var(--ink); }
.sec--orange .kicker::before { background: var(--ink); }

/* вариативный вес: набухающие слова */
.swell { font-weight: var(--w, 720); font-variation-settings: "wght" var(--w, 720); }
.swell__ch { display: inline-block; font-weight: inherit; will-change: font-weight; }

/* ---------- 5. Кнопки и чипы ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4rem; border-radius: var(--pill);
  border: 2px solid var(--bg); background: var(--bg); color: var(--fg);
  font: 700 .95rem/1.1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(30, 31, 28, .5); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--orange); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); background: var(--ink); color: var(--paper); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 1.05rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 1.8rem; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.link-btn { appearance: none; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; cursor: pointer; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.link-btn:hover { text-decoration-thickness: 2px; }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--ink); background: transparent; font: 600 .9rem/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease); }
.chip:hover { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--pill); background: var(--fog); font: 500 var(--fs-xs)/1.2 var(--font-mono); letter-spacing: .02em; }
.tag--orange { background: var(--orange); color: var(--ink); }
.tag--sage { background: var(--sage); }
.tag--ink { background: var(--ink); color: var(--paper); }
.sec--fog .tag { background: var(--paper); }
.sec--fog .tag--sage { background: var(--sage); }

.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: var(--pill); background: var(--paper); color: var(--ink); font: 600 .84rem/1.2 var(--font-body); border: 1.5px solid var(--ink); }
.badge__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); flex: none; }
.badge[data-state="open"] .badge__dot { background: #2F8F4E; box-shadow: 0 0 0 0 rgba(47, 143, 78, .5); animation: pulse 2.2s infinite; }
.badge[data-state="closed"] .badge__dot { background: var(--orange-deep); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 143, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 143, 78, 0); } }

/* ---------- 6. Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(248, 247, 242, .88); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(30, 31, 28, .5); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; min-height: 44px; }
.brand__mark { width: 34px; height: 34px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__name { font: 700 1.28rem/1 var(--font-display); letter-spacing: -.04em; }
.brand__sub { display: none; font: 500 .66rem/1.15 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); max-width: 8.5em; }
@media (min-width: 1080px) { .brand__sub { display: block; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s; }
.nav > a:hover { background: var(--fog); }
.nav > a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav__extra { display: none; }
.site-header__end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-phone { font: 500 .88rem/1 var(--font-mono); letter-spacing: -.01em; min-height: 44px; padding: 0; text-decoration: none; display: inline-flex; align-items: center; appearance: none; background: none; border: 0; cursor: pointer; }
.header-phone:hover { text-decoration: underline; }
.nav-toggle { display: none; appearance: none; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
@media (max-width: 1020px) { .header-phone { display: none; } }
@media (max-width: 860px) {
  .site-header__end .btn { display: none; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(30, 31, 28, .4); }
  .nav.is-open { display: flex; }
  .nav > a { font: 600 1.2rem/1.2 var(--font-display); letter-spacing: -.02em; border-radius: 0; min-height: 56px; padding: 0 2px; border-bottom: 1px solid var(--line); }
  .nav > a:hover { background: none; }
  .nav > a[aria-current="page"] { background: none; color: var(--orange-deep); }
  .nav__extra { display: grid; gap: 12px; margin-top: 18px; }
}
.no-js .nav-toggle { display: none; }
@media (max-width: 860px) { .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0 0 10px; box-shadow: none; border: 0; } .no-js .site-header__in { flex-wrap: wrap; } .no-js .nav > a { font: 600 .95rem var(--font-body); min-height: 44px; padding: 0 12px; border: 0; } }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 72px); overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: clamp(18px, 2.4vw, 28px); justify-items: start; position: relative; z-index: 2; }
.hero__copy .display { max-width: 12.5em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { font: 500 var(--fs-xs)/1.5 var(--font-mono); color: var(--ink-2); letter-spacing: .01em; }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; } .hero__copy .display { max-width: 14em; } }

.needs { margin-top: clamp(28px, 4vw, 52px); display: grid; gap: 14px; position: relative; z-index: 2; }
.needs__label { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.needs__label::after { content: ""; height: 1px; flex: 1; background: var(--line-strong); }
.needs__list { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.need { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 14px 14px 14px 18px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); text-decoration: none; font: 700 .96rem/1.25 var(--font-body); transition: background .25s, color .25s, transform .3s var(--ease); }
.need__arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .25s; }
.need__arrow svg { width: 16px; height: 16px; }
.need:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.need:hover .need__arrow { transform: rotate(-45deg); }
.need--primary { background: var(--orange); border-color: var(--orange); }
.need--primary .need__arrow { background: var(--ink); color: var(--paper); }
.need--primary:hover { background: var(--ink); border-color: var(--ink); }
.need--primary:hover .need__arrow { background: var(--orange); color: var(--ink); }
@media (max-width: 1100px) { .needs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .needs__list { grid-template-columns: 1fr; } .need { min-height: 60px; } }

/* композиция «документы на руки» */
.hero__visual { position: relative; min-height: clamp(440px, 46vw, 560px); isolation: isolate; }
.shape { position: absolute; z-index: -1; }
.shape--sage { width: 78%; aspect-ratio: 1; right: -6%; top: -2%; border-radius: 50%; background: var(--sage); }
.shape--orange { width: 34%; aspect-ratio: 1; left: 2%; bottom: 0; background: var(--orange); border-radius: 100% 0 0 0; }
.shape--ink { width: 9%; aspect-ratio: 1; right: 8%; bottom: 14%; background: var(--ink); transform: rotate(14deg); border-radius: 3px; }
.mock { position: absolute; background: var(--card); border: 1.5px solid var(--ink); box-shadow: var(--shadow-2); color: var(--ink); }
.mock--doc { left: 0; top: 12%; width: 66%; border-radius: 14px 14px 10px 10px; padding: 18px 18px 16px; transform: rotate(-3deg); }
.mock--plan { right: 0; bottom: 2%; width: 62%; border-radius: var(--radius); padding: 18px; background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(2deg); }
.mock--chat { right: 0; top: -22px; width: 47%; border-radius: 18px 18px 18px 4px; padding: 12px 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: .78rem; line-height: 1.4; transform: rotate(2.5deg); }
.mock__label { font: 500 .66rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.mock__title { font: 600 .98rem/1.2 var(--font-display); letter-spacing: -.02em; margin: 10px 0 12px; }
.bar { display: block; height: 7px; border-radius: 4px; background: var(--fog); width: var(--w, 100%); }
.bars { display: grid; gap: 7px; }
.flag { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; margin-top: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 122, 69, .16); border-left: 3px solid var(--orange); font: 500 .68rem/1.3 var(--font-mono); }
.mock__foot { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.mock--plan .mock__label { color: #C9C8C0; }
.mock__price { font: 500 1.7rem/1 var(--font-display); letter-spacing: -.03em; margin: 10px 0 14px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.mock__price small { font: 500 .72rem var(--font-mono); color: #C9C8C0; letter-spacing: 0; }
.meter { display: grid; gap: 5px; margin-top: 10px; font: 500 .68rem/1.2 var(--font-mono); color: #C9C8C0; }
.meter__row { display: flex; justify-content: space-between; }
.meter__bar { height: 6px; border-radius: 3px; background: rgba(248, 247, 242, .18); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: var(--v); background: var(--sage); border-radius: 3px; }
.meter__bar i.o { background: var(--orange); }
.mini-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font: 600 .7rem var(--font-display); }
@media (max-width: 1100px) { .hero__visual { min-height: 480px; max-width: 600px; width: 100%; margin-inline: auto; } }
@media (max-width: 520px) {
  .hero__visual { min-height: 410px; }
  .mock--doc { width: 74%; top: 10%; padding: 14px; }
  .mock--plan { width: 70%; bottom: 0; padding: 14px; }
  .mock--chat { display: none; }
  .mock__price { font-size: 1.4rem; }
}

/* ---------- 8. Бегущая строка ---------- */
.ticker { background: var(--ink); color: var(--paper); padding-block: 20px; overflow: hidden; --ml-gap: 2.75rem; --ml-speed: 56s; gap: 2.75rem; display: flex; white-space: nowrap; }
.ticker__item { display: inline-flex; align-items: center; gap: 2.75rem; font: 600 clamp(.95rem, .75rem + 1vw, 1.45rem)/1 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; }
.ticker__item::after { content: ""; width: .62em; height: .62em; flex: none; background: var(--orange); border-radius: 50%; }
.ticker__item:nth-child(3n+2)::after { background: var(--sage); border-radius: 2px; }
.ticker__item:nth-child(3n)::after { background: var(--orange); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------- 9. Витрина услуг, карточки ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1.5px solid var(--ink); }
.fact { padding: clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 26px); display: grid; gap: 8px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line-strong); }
.fact__v { font: 500 clamp(1.2rem, 1rem + 1vw, 1.8rem)/1.1 var(--font-display); letter-spacing: -.03em; }
.fact__v small { font: 500 .8rem var(--font-mono); letter-spacing: 0; color: var(--ink-2); }
.fact__t { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.45; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line-strong); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line-strong); } }

.legal-strip { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; padding-top: clamp(24px, 3.5vw, 40px); }
.legal-strip p + p { margin-top: 10px; }
@media (max-width: 800px) { .legal-strip { grid-template-columns: 1fr; gap: 12px; } }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }
.grid > li { display: flex; }
.grid > li > * { flex: 1; }

.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 28px); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--radius-l); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s; }
.card:hover, .card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--ink); }
.card__ico { width: 62px; height: 62px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; transition: background .3s, transform .5s var(--ease); }
.card__ico svg { width: 38px; height: 38px; }
.card:hover .card__ico { background: var(--orange); transform: rotate(-8deg); }
.card__title { font: 600 1.12rem/1.25 var(--font-display); letter-spacing: -.02em; }
.card__lead { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.card__facts { margin-top: auto; display: grid; gap: 9px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .86rem; line-height: 1.45; }
.card__facts div { display: grid; grid-template-columns: 5.4em 1fr; gap: 10px; }
.card__facts dt { font: 500 .66rem/1.7 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; text-decoration: none; min-height: 44px; }
.card__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .5em; font-family: var(--font-display); }
.price__from { font: 500 .78rem/1 var(--font-mono); color: var(--ink-2); }
.price__num { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.15rem); font-weight: 420; letter-spacing: -.045em; line-height: 1; transition: font-weight .5s var(--ease); font-variation-settings: "wght" 420; }
.card:hover .price__num, .card:focus-within .price__num, .plan:hover .price__num { font-weight: 850; font-variation-settings: "wght" 850; }
.price__unit { font: 500 .78rem/1.3 var(--font-mono); color: var(--ink-2); }

/* ---------- 10. Конструктор тарифа ---------- */
.builder { background: var(--sage); position: relative; overflow: clip; }
.builder::before { content: ""; position: absolute; width: min(46vw, 560px); aspect-ratio: 1; right: -14%; top: -18%; border-radius: 50%; background: var(--sage-soft); opacity: .7; pointer-events: none; }
.builder__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
@media (max-width: 960px) { .builder__grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 36px); }
.panel--ink { background: var(--ink); color: var(--paper); }

.builder__strip { display: none; }
@media (max-width: 960px) {
  .builder__strip { position: sticky; top: var(--header-h); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--pill); box-shadow: var(--shadow-1); font: 500 .78rem/1.2 var(--font-mono); }
  .builder__strip b { font: 600 1.1rem/1 var(--font-display); letter-spacing: -.03em; color: var(--orange); }
  .builder__strip a { color: var(--paper); font-weight: 700; font-family: var(--font-body); min-height: 44px; display: inline-flex; align-items: center; }
}

.slider { display: grid; gap: 2px; padding-block: 18px; border-bottom: 1px dashed var(--line-strong); }
.slider:first-of-type { padding-top: 0; }
.slider__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.slider__label { font: 700 1rem/1.3 var(--font-body); }
.slider__val { font: 500 1.6rem/1 var(--font-display); letter-spacing: -.04em; white-space: nowrap; }
.slider__val small { font: 500 .78rem var(--font-mono); letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.slider__hint { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.45; }
.range { --p: 30%; width: 100%; height: 44px; margin: 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--orange) var(--p), var(--fog) var(--p)); border: 1px solid var(--line-strong); }
.range::-moz-range-track { height: 8px; border-radius: 99px; background: var(--fog); border: 1px solid var(--line-strong); }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--orange); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--ink); border: 5px solid var(--paper); box-shadow: 0 0 0 2px var(--ink), 0 6px 14px -4px rgba(30, 31, 28, .5); transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 5px solid var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.range:hover::-webkit-slider-thumb { transform: scale(1.1); }
.range:active::-webkit-slider-thumb { transform: scale(1.18); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--orange-deep); outline-offset: 3px; }
.range:focus-visible::-moz-range-thumb { outline: 3px solid var(--orange-deep); outline-offset: 3px; }

.base-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0 0; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.45; }
.base-row b { font: 600 .9rem var(--font-mono); color: var(--ink); white-space: nowrap; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.presets__label { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }

.assume { margin-top: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.assume summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: .92rem; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.assume summary::-webkit-details-marker { display: none; }
.assume summary::after { content: "+"; font: 500 1.3rem/1 var(--font-mono); transition: transform .3s var(--ease); }
.assume[open] summary::after { transform: rotate(45deg); }
.assume__body { padding: 0 18px 18px; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .assume__body { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: var(--fs-s); }
.field label, .field__label { font-weight: 700; color: var(--ink); line-height: 1.3; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--card); font: 500 1rem/1.3 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.input:hover { border-color: var(--ink); }
.input:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; border-color: var(--ink); }
textarea.input { min-height: 96px; resize: vertical; }
.input.mono { font-family: var(--font-mono); font-size: .95rem; }

.result { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 20px; }
@media (max-width: 960px) { .result { position: static; } }
.result__label { font: 500 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #C9C8C0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result__fee { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .4em; margin-top: 12px; font-family: var(--font-display); }
.result__from { font: 500 .95rem var(--font-mono); color: #C9C8C0; }
.result__num { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.055em; font-weight: var(--w, 480); font-variation-settings: "wght" var(--w, 480); color: var(--orange); transition: font-weight .45s var(--ease), font-variation-settings .45s var(--ease); font-variant-numeric: tabular-nums; }
.result__cur { font: 500 .95rem var(--font-mono); color: #C9C8C0; }
.result__year { margin-top: 8px; font: 500 .8rem var(--font-mono); color: #C9C8C0; }
.breakdown { display: grid; gap: 0; font: 500 .84rem/1.4 var(--font-mono); }
.breakdown div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(248, 247, 242, .22); }
.breakdown dt { color: #C9C8C0; }
.breakdown dd { text-align: right; white-space: nowrap; }
.compare { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: rgba(248, 247, 242, .07); }
.compare__head { font: 500 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #C9C8C0; }
.compare__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: end; font-size: .88rem; }
.compare__row b { font: 600 .92rem var(--font-mono); }
.compare__track { grid-column: 1 / -1; height: 14px; border-radius: 7px; background: rgba(248, 247, 242, .12); overflow: hidden; }
.compare__track i { display: block; height: 100%; width: var(--v, 50%); border-radius: 7px; transition: width .6s var(--ease); }
.compare__track .is-staff { background: repeating-linear-gradient(135deg, #C9C8C0 0 6px, #8E8F86 6px 12px); }
.compare__track .is-abon { background: var(--orange); }
.compare__diff { font-size: .92rem; line-height: 1.45; padding-top: 4px; }
.compare__diff b { font: 600 1rem var(--font-mono); color: var(--sage); }
.compare__diff.is-neg b { color: var(--orange); }
.match { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.match a { color: var(--paper); font-weight: 700; }
.result__cta { display: grid; gap: 10px; }
.result__alt { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: var(--fs-s); color: #C9C8C0; }
.result__alt .link-btn { color: var(--paper); font-size: var(--fs-s); }
.legal-note { font-size: .78rem; line-height: 1.55; color: #C9C8C0; }
.legal-note b { color: var(--paper); font-weight: 700; }
.legal-note--light { color: var(--ink-2); }
.legal-note--light b { color: var(--ink); }

/* ---------- 11. Тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.plan__head { padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 12px; background: var(--sage); }
.plan--mid .plan__head { background: var(--orange); }
.plan--top .plan__head { background: var(--ink); color: var(--paper); }
.plan--top .price__from, .plan--top .price__unit { color: #C9C8C0; }
.plan__name { font: 600 1.4rem/1 var(--font-display); letter-spacing: -.03em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__who { font-size: .92rem; line-height: 1.5; }
@media (min-width: 981px) { .plan__who { min-height: 4.6em; } }
.plan__body { padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.spec { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); font-size: .92rem; line-height: 1.35; }
.spec:first-child { padding-top: 0; }
.spec b { font: 600 .9rem var(--font-mono); text-align: right; }
.plan__cta { margin-top: auto; display: grid; gap: 8px; }

/* ---------- 12. Документы на руки ---------- */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.doc { display: grid; gap: 18px; }
.paper { position: relative; background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px 10px 4px 4px; padding: 22px 22px 20px; box-shadow: var(--shadow-1); display: grid; gap: 10px; transition: transform .5s var(--ease); }
.doc:nth-child(1) .paper { transform: rotate(-1.6deg); }
.doc:nth-child(2) .paper { transform: rotate(1deg); }
.doc:nth-child(3) .paper { transform: rotate(-.8deg); }
.doc:hover .paper { transform: rotate(0) translateY(-4px); }
.paper::after { content: ""; position: absolute; right: -1.5px; top: -1.5px; width: 26px; height: 26px; background: linear-gradient(225deg, var(--fog) 50%, transparent 50%); border-radius: 0 10px 0 0; border: 0; }
.paper__kind { font: 500 .66rem/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.paper__title { font: 600 1.05rem/1.25 var(--font-display); letter-spacing: -.02em; margin-bottom: 4px; }
.ins { background: var(--sage); height: 7px; border-radius: 4px; width: var(--w, 100%); }
.del { background: var(--fog); height: 7px; border-radius: 4px; width: var(--w, 100%); position: relative; }
.del::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--orange-deep); }
.table-mini { display: grid; gap: 0; font: 500 .72rem/1.3 var(--font-mono); border-top: 1px solid var(--line-strong); margin-top: 4px; }
.table-mini div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.table-mini .t { background: var(--fog); height: 6px; width: 38%; border-radius: 3px; align-self: center; }
.doc__list { display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.doc__list li { padding-left: 22px; position: relative; line-height: 1.45; }
.doc__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.doc__list li:nth-child(2)::before { border-radius: 2px; background: var(--sage-deep); }
.doc__list li:nth-child(3)::before { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------- 13. Линия открыта ---------- */
.line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .line { grid-template-columns: 1fr; } }
.line__copy { display: grid; gap: 22px; justify-items: start; }
.line__phone { font: 500 clamp(1.5rem, 1.1rem + 2vw, 2.4rem)/1.1 var(--font-display); letter-spacing: -.04em; appearance: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; min-height: 48px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-color: var(--ink); }
.line__phone:hover { font-weight: 800; }
.hours { display: grid; gap: 0; width: 100%; max-width: 26rem; font: 500 .88rem/1.4 var(--font-mono); }
.hours div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(30, 31, 28, .28); }
.hours div.is-today { font-weight: 700; }
.hours div.is-today dt::after { content: " · сегодня"; color: var(--orange-deep); }
.sec--orange .hours div.is-today dt::after { color: var(--ink); }
.channels { display: flex; flex-wrap: wrap; gap: 10px; }
.people { display: grid; gap: 12px; }
.person { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: var(--paper); border-radius: 24px; padding: 16px 20px 16px 16px; border: 1.5px solid var(--ink); }
.avatar { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font: 600 1.25rem/1 var(--font-display); letter-spacing: -.03em; background: var(--sage); border: 1.5px solid var(--ink); }
.person:nth-child(2) .avatar { background: var(--card); }
.person:nth-child(3) .avatar { background: var(--ink); color: var(--paper); }
.avatar::after { content: ""; position: absolute; right: 1px; bottom: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink-2); border: 3px solid var(--paper); }
[data-open-state="open"] .avatar::after { background: #2F8F4E; }
.person__name { font: 600 1.05rem/1.2 var(--font-display); letter-spacing: -.02em; }
.person__role { font-size: .9rem; color: var(--ink-2); line-height: 1.45; margin-top: 4px; }
.person__meta { font: 500 .72rem/1.3 var(--font-mono); margin-top: 8px; color: var(--ink-2); }

/* ---------- 14. Шаги ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.steps { display: grid; counter-reset: step; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 6px 18px; padding: 24px 0; border-top: 1.5px solid var(--ink); }
.step:last-child { border-bottom: 1.5px solid var(--ink); }
.step__n { grid-row: span 3; font: 450 clamp(2rem, 1.5rem + 2vw, 2.9rem)/1 var(--font-display); letter-spacing: -.06em; color: var(--orange-deep); }
.step__t { font: 600 1.15rem/1.25 var(--font-display); letter-spacing: -.02em; }
.step__d { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.step__m { font: 500 var(--fs-xs)/1.4 var(--font-mono); letter-spacing: .02em; }
@media (max-width: 480px) { .step { grid-template-columns: 52px 1fr; gap: 6px 14px; } }
.photo { position: relative; border-radius: var(--radius-l); overflow: hidden; border: 1.5px solid var(--ink); background: var(--fog); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.how__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .how__aside { position: static; } .how__aside .photo--tall { aspect-ratio: 16 / 11; } }

/* ---------- 15. Гиды ---------- */
.guides { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } .guides .photo { display: none; } }
.guides .photo { min-height: 100%; }
.guide-list { display: grid; gap: 0; }
.guide { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; padding: 22px 0; border-top: 1.5px solid var(--ink); text-decoration: none; position: relative; transition: padding .35s var(--ease); }
.guide:last-child { border-bottom: 1.5px solid var(--ink); }
.guide:hover { padding-left: 14px; }
.guide__meta { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.guide__t { font: 600 clamp(1.02rem, .95rem + .4vw, 1.25rem)/1.28 var(--font-display); letter-spacing: -.02em; }
.guide__ref { grid-column: 1; font: 500 .74rem/1.4 var(--font-mono); color: var(--ink-2); }
.guide__arrow { grid-row: 2 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform .35s var(--ease), background .25s; }
.guide__arrow svg { width: 18px; height: 18px; }
.guide:hover .guide__arrow { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }

/* ---------- 16. FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 56rem; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; min-height: 64px; font: 600 clamp(1rem, .95rem + .35vw, 1.2rem)/1.3 var(--font-display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M18 10v16M10 18h16' stroke='%231E1F1C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; transition: transform .4s var(--ease), background-color .25s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sage); }
.faq__a { padding: 0 0 22px; max-width: 46rem; color: var(--ink-2); display: grid; gap: 10px; line-height: 1.6; }
.faq__a b { color: var(--ink); }
.faq summary:hover { color: var(--orange-deep); }

/* ---------- 17. Контакты, карта, форма ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .contacts { grid-template-columns: 1fr; } }
.map-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; }
.map { background: var(--fog); }
.map svg { width: 100%; height: auto; }
.map-card__body { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px; border-top: 1.5px solid var(--ink); }
.addr { font: 600 1.1rem/1.35 var(--font-display); letter-spacing: -.02em; font-style: normal; }
.addr small { display: block; margin-top: 6px; font: 500 .8rem/1.5 var(--font-body); letter-spacing: 0; color: var(--ink-2); }
.map-card__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form { display: grid; gap: 16px; }
.form__title { font: 600 1.3rem/1.2 var(--font-display); letter-spacing: -.025em; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: var(--fs-s); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); font-weight: 600; font-size: .9rem; background: var(--card); transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--orange-deep); outline-offset: 2px; }
.seg label:hover span { border-color: var(--ink); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.consent a { color: var(--ink); font-weight: 700; }
.consent__box { min-height: 44px; display: grid; align-items: start; padding-top: 0; }
.form__warn { font-size: var(--fs-s); line-height: 1.45; padding: 10px 14px; border-radius: 12px; background: rgba(255, 122, 69, .18); border-left: 4px solid var(--orange); }
.count { font: 500 var(--fs-xs) var(--font-mono); color: var(--ink-2); text-align: right; }

/* ---------- 18. Подвал и мобильная панель ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(44px, 6vw, 80px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand .brand__name { font-size: 1.7rem; }
.footer__brand .brand { color: var(--paper); }
.footer__brand .brand__sub { display: block; color: #C9C8C0; }
.footer__h { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: #C9C8C0; margin-bottom: 14px; }
.footer__list { display: grid; gap: 2px; }
.footer__list a, .footer__list .link-btn { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--paper); }
.footer__list a:hover, .footer__list .link-btn:hover { color: var(--orange); }
.footer__list .link-btn { text-decoration: none; font-family: var(--font-mono); }
.footer__legal { margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(248, 247, 242, .22); display: grid; gap: 10px; font-size: .8rem; line-height: 1.6; color: #C9C8C0; max-width: 62rem; }
.footer__legal b { color: var(--paper); }
.footer__bottom { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 var(--fs-xs)/1.5 var(--font-mono); color: #C9C8C0; }
.footer__bottom a { color: inherit; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(248, 247, 242, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong); }
.dock .btn { min-height: 48px; padding: 0 10px; font-size: .88rem; }
@media (max-width: 760px) { .dock { display: grid; } body { padding-bottom: 76px; } }

/* ---------- 19. Страницы-документы ---------- */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.page-head .h1 { max-width: 16em; }
.page-head .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font: 500 var(--fs-xs)/1.4 var(--font-mono); letter-spacing: .04em; margin-bottom: 20px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs span[aria-hidden] { color: var(--ink-2); }
.prose { max-width: 46rem; display: grid; gap: 14px; padding-bottom: clamp(48px, 7vw, 96px); line-height: 1.7; }
.prose h2 { font: 600 clamp(1.15rem, 1.05rem + .5vw, 1.45rem)/1.25 var(--font-display); letter-spacing: -.02em; margin-top: 26px; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -1.2em; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.prose ol { list-style: decimal; }
.prose a { font-weight: 700; }
.notice { padding: 16px 20px; border-radius: var(--radius); background: var(--sage-soft); border: 1.5px solid var(--ink); font-size: .95rem; line-height: 1.55; }
.notice b { font-weight: 800; }

/* ---------- 20. Утилиты и движение ---------- */
.stack > * + * { margin-top: var(--gap, 16px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .badge[data-state="open"] .badge__dot { animation: none; }
  .card:hover, .plan:hover, .need:hover, .btn:hover { transform: none; }
}
@media print {
  .nx-ribbon, .site-header, .dock, .ticker { display: none !important; }
  body { background: #fff; }
}

/* ---------- 21. Закрывающий блок, карта ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); padding-block: clamp(64px, 10vw, 140px); background: var(--ink); }
.cta-band picture, .cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cta-band img { object-fit: cover; object-position: 60% 50%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 31, 28, .94) 0%, rgba(30, 31, 28, .82) 48%, rgba(30, 31, 28, .38) 100%); }
.cta-band__in { display: grid; gap: 20px; justify-items: start; }
.cta-band .kicker { color: #D9D8D0; }
.cta-band .lead { color: #E3E2DA; }
.cta-band .h2 { max-width: 14em; }
@media (max-width: 700px) { .cta-band::before { background: linear-gradient(180deg, rgba(30, 31, 28, .88), rgba(30, 31, 28, .78)); } }
.map text { font-family: var(--font-body); }
.mock__foot { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }

/* доработки */
.map .halo, .map .halo text { paint-order: stroke; stroke: #F8F7F2; stroke-width: 5px; stroke-linejoin: round; }
.swell__word { display: inline-block; white-space: nowrap; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-wrap .faq { max-width: none; }
.faq-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside .btn { width: 100%; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-aside .stack { display: flex; flex-wrap: wrap; gap: 10px; } .faq-aside .stack > * + * { margin-top: 0; } .faq-aside .btn { width: auto; } }
.hours-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 24px; padding: 18px 22px 16px; display: grid; gap: 10px; }
.hours-card__title { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.hours-card .hours { max-width: none; }
.hours-card .hours div { border-bottom-color: var(--line-strong); padding: 7px 0; }
.hours-card .hours div.is-today dt::after { color: var(--orange-deep); }

@media (max-width: 520px) {
  .bars--x, .flag--x { display: none; }
  .hero__visual { min-height: 360px; }
  .mock--doc { top: 4%; width: 80%; }
  .mock--plan { width: 76%; }
}
.builder__strip a { white-space: nowrap; }
.site-footer .small { color: #C9C8C0; }
@media (max-width: 480px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__grid > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { body { padding-bottom: 0; } .site-footer { padding-bottom: calc(28px + 84px); } }
.result__alt { gap: 2px 12px; }

/* ---------- 22. Компоненты для внутренних страниц (тарифы, услуги, вопросы, контакты) ---------- */
.cmp-wrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: var(--radius-l); background: var(--card); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; font-size: .95rem; line-height: 1.45; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px dashed var(--line-strong); vertical-align: top; }
.cmp thead th { font: 600 1.1rem/1.2 var(--font-display); letter-spacing: -.02em; border-bottom: 1.5px solid var(--ink); background: var(--paper); }
.cmp tbody th { font-weight: 600; position: sticky; left: 0; background: var(--card); min-width: 11em; }
.cmp .num, .cmp td.mono { font-family: var(--font-mono); font-weight: 600; font-size: .9rem; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp .is-mid { background: rgba(255, 122, 69, .1); }

.layout-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.side-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.side-nav a:hover, .side-nav a[aria-current] { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) { .layout-side { grid-template-columns: 1fr; } .side-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; } .side-nav a { border: 1.5px solid var(--ink); border-radius: var(--pill); } }

.product { display: grid; gap: 20px; padding-block: clamp(28px, 4vw, 52px); border-top: 1.5px solid var(--ink); }
.product__head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.kv { display: grid; gap: 0; }
.kv div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; line-height: 1.5; }
.kv dt { font: 500 var(--fs-xs)/1.8 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 520px) { .kv div { grid-template-columns: 1fr; gap: 2px; } }
.stamp { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); border: 1.5px dashed var(--ink-2); font: 500 var(--fs-xs)/1.2 var(--font-mono); color: var(--ink-2); }
.requisites { display: grid; gap: 0; font-size: .92rem; }
.requisites div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line-strong); }
.requisites dt { color: var(--ink-2); }
.requisites dd { font-family: var(--font-mono); font-size: .88rem; }
@media (max-width: 520px) { .requisites div { grid-template-columns: 1fr; gap: 2px; } }

.plan-wrap { display: flex; }
.plan-wrap > .plan { flex: 1; }
@media (max-width: 980px) { .plan-wrap { display: block; } }
.line__copy .hours-card { width: 100%; max-width: 30rem; }
.hours-card .small { color: var(--ink-2) !important; }

/* ---------- 23. Внутренние страницы: тарифы, услуги, вопросы, контакты ---------- */
[hidden] { display: none !important; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.split--7 { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
@media (max-width: 900px) { .split, .split--7 { grid-template-columns: 1fr; } }
.page-head__row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 22px; }
.card--static:hover, .card--static:focus-within { transform: none; box-shadow: none; border-color: var(--line-strong); }
.plan__sub, .product__sub { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.product__sub::after { content: ""; height: 1px; flex: 1; background: var(--line-strong); }
.plan:target { box-shadow: 0 0 0 4px var(--orange), var(--shadow-2); }
.plan__block + .plan__block { margin-top: 18px; }
.plan__block p { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.plan__block .doc__list { color: var(--ink); font-size: .92rem; }

/* из чего состоит платёж */
.anat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .anat { grid-template-columns: 1fr; } }
.anat__panel { display: grid; gap: 22px; }
.anat__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 20px; }
.anat__fee { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .45em; font-family: var(--font-display); }
.anat__num { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 3.8rem); line-height: 1; letter-spacing: -.055em; font-weight: var(--w, 480); font-variation-settings: "wght" var(--w, 480); font-variant-numeric: tabular-nums; transition: font-weight .45s var(--ease), font-variation-settings .45s var(--ease); }
.anat__cur { font: 500 .95rem var(--font-mono); color: var(--ink-2); }
.anat__bar { display: flex; height: 58px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--ink); background: var(--fog); }
.anat__bar i { display: block; height: 100%; flex: var(--g, 1) 1 0; min-width: 0; border-right: 1.5px solid var(--ink); transition: flex-grow .6s var(--ease); }
.anat__bar i:last-child { border-right: 0; }
.anat__bar i.is-zero { border-right-width: 0; }
[data-seg="base"], [data-seg-color="base"] { background: var(--ink); }
[data-seg="c"], [data-seg-color="c"] { background: var(--orange); }
[data-seg="h"], [data-seg-color="h"] { background: var(--sage); }
[data-seg="k"], [data-seg-color="k"] { background: var(--sage-deep); }
[data-seg="y"], [data-seg-color="y"] { background: repeating-linear-gradient(135deg, var(--fog) 0 5px, #CFCDC4 5px 10px); }
.anat__legend { display: grid; gap: 0; }
.anat__legend li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); transition: opacity .3s; }
.anat__legend li:last-child { border-bottom: 0; padding-bottom: 0; }
.anat__legend li.is-zero { opacity: .5; }
.sw { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ink); }
.anat__what b { display: block; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.anat__what span { font: 500 .78rem/1.4 var(--font-mono); color: var(--ink-2); }
.anat__sum { font: 600 .92rem var(--font-mono); text-align: right; white-space: nowrap; }
.anat__aside { display: grid; gap: 18px; align-content: start; }
.rules { display: grid; gap: 0; counter-reset: rule; }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1.5px solid var(--ink); font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.rules li:last-child { border-bottom: 1.5px solid var(--ink); }
.rules li::before { content: counter(rule, decimal-leading-zero); font: 450 1.5rem/1 var(--font-display); letter-spacing: -.05em; color: var(--orange-deep); }
.rules b { color: var(--ink); }

/* таблица: выбор тарифа */
.cmp-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.cmp [data-col] { transition: opacity .25s; }
.cmp thead th small { display: block; margin-top: 4px; font: 500 .72rem/1.3 var(--font-mono); letter-spacing: 0; color: var(--ink-2); }
.cmp td.span { text-align: center; color: var(--ink-2); font-style: normal; }
.cmp tbody th small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-2); margin-top: 2px; }
.cmp[data-focus="start"] :is([data-col="opora"], [data-col="shtab"]),
.cmp[data-focus="opora"] :is([data-col="start"], [data-col="shtab"]),
.cmp[data-focus="shtab"] :is([data-col="start"], [data-col="opora"]) { opacity: .34; }
@media (max-width: 720px) {
  .cmp[data-focus="start"] :is([data-col="opora"], [data-col="shtab"]),
  .cmp[data-focus="opora"] :is([data-col="start"], [data-col="shtab"]),
  .cmp[data-focus="shtab"] :is([data-col="start"], [data-col="opora"]) { display: none; }
  .cmp[data-focus="start"], .cmp[data-focus="opora"], .cmp[data-focus="shtab"] { min-width: 0; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .cmp tbody th { min-width: 8.5em; }
}
.cmp-wrap:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; }
.rates { margin-top: 28px; }
.rates__title { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.xlist { display: grid; gap: 0; }
.xlist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--line-strong); }
.xlist li:first-child { border-top: 1.5px solid var(--ink); }
.xlist li:last-child { border-bottom: 1.5px solid var(--ink); }
.xlist b { display: block; font: 600 1rem/1.3 var(--font-display); letter-spacing: -.02em; margin-bottom: 4px; }
.xlist p { font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.xlist .x { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font: 600 1rem/1 var(--font-mono); margin-top: 2px; }
.terms { display: grid; gap: 14px; }
.terms .kv div { grid-template-columns: 8.5em minmax(0, 1fr); }
@media (max-width: 520px) { .terms .kv div { grid-template-columns: 1fr; } }

/* услуги */
.side-nav__label { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); padding: 0 14px 10px; }
@media (max-width: 900px) {
  .side-nav { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(248, 247, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav__label { display: none; }
  .side-nav a { white-space: nowrap; }
}
.products { display: grid; }
.products > .product:first-child { border-top: 0; padding-top: 0; }
.product { gap: clamp(20px, 3vw, 32px); }
.product__head { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 8px 22px; align-items: start; }
.product__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.product__ico svg { width: 44px; height: 44px; }
.product__title { display: grid; gap: 12px; align-content: start; }
.product__title .h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.product__price { display: grid; gap: 6px; justify-items: end; text-align: right; }
@media (max-width: 860px) { .product__head { grid-template-columns: 56px minmax(0, 1fr); } .product__ico { width: 56px; height: 56px; } .product__ico svg { width: 34px; height: 34px; } .product__price { grid-column: 1 / -1; justify-items: start; text-align: left; } }
.product__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 3.5vw, 48px); align-items: start; }
@media (max-width: 1100px) { .product__grid { grid-template-columns: 1fr; } }
.product__col { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1101px) { .product__col--aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.steps--s .step { padding: 16px 0; grid-template-columns: 56px 1fr; gap: 4px 14px; }
.steps--s .step__n { font-size: 1.7rem; }
.steps--s .step__t { font-size: 1.02rem; }
.steps--s .step__d { font-size: .92rem; }
.faq--s { max-width: none; }
.faq--s summary { font-size: 1rem; min-height: 56px; padding: 14px 0; }
.faq--s summary::after { width: 30px; height: 30px; }
.faq--s .faq__a { font-size: .95rem; }
.product__cta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.products .paper { transform: rotate(-1deg); }
.products .product:nth-of-type(even) .paper { transform: rotate(1deg); }
.products .product:hover .paper { transform: rotate(0); }
.chk { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font: 500 .74rem/1.3 var(--font-mono); }
.chk i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage-deep); }
.chk.is-warn i { background: var(--orange); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); width: 12px; height: 11px; }
.chk em { font-style: normal; color: var(--ink-2); }
.tl { display: grid; font: 500 .74rem/1.3 var(--font-mono); }
.tl li { display: grid; grid-template-columns: 14px 1fr 34%; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tl li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); }
.tl li:nth-child(even)::before { border-radius: 2px; background: var(--sage); }
.tl .t { height: 6px; border-radius: 3px; background: var(--fog); }
.fld { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 500 .72rem/1.3 var(--font-mono); }
.fld .t { background: var(--fog); height: 6px; width: 40%; border-radius: 3px; align-self: center; }
.nodo { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .nodo { grid-template-columns: 1fr; } }
.nodo li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px; border: 1.5px solid rgba(248, 247, 242, .3); border-radius: var(--radius); }
.nodo .x { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font: 600 1.05rem/1 var(--font-mono); }
.nodo b { display: block; font: 600 1.05rem/1.3 var(--font-display); letter-spacing: -.02em; margin-bottom: 6px; }
.nodo p { color: #C9C8C0; font-size: .92rem; line-height: 1.55; }

/* вопросы и гиды */
.faq-tools { display: grid; gap: 14px; margin-bottom: clamp(8px, 2vw, 20px); }
.search { position: relative; max-width: 40rem; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-2); pointer-events: none; }
.search .input { padding-left: 46px; min-height: 52px; border-radius: var(--pill); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-group { display: grid; margin-top: clamp(24px, 4vw, 44px); }
.faq-group:first-of-type { margin-top: clamp(16px, 2vw, 24px); }
.faq-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.faq-group .faq { border-top: 1.5px solid var(--ink); }
.faq-group .faq details { border-top: 0; border-bottom: 1.5px solid var(--ink); }
.faq-empty { padding: 28px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 10px; justify-items: start; margin-top: 24px; }
.garticle { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 4vw, 52px); border-top: 1.5px solid var(--ink); }
.garticle:last-of-type { border-bottom: 1.5px solid var(--ink); }
@media (max-width: 900px) { .garticle { grid-template-columns: 1fr; } }
.garticle__meta { display: grid; gap: 14px; align-content: start; justify-items: start; }
@media (min-width: 901px) { .garticle__meta { position: sticky; top: calc(var(--header-h) + 24px); } }
.garticle__meta .row { gap: 8px; }
.garticle__ref { font: 500 .78rem/1.5 var(--font-mono); color: var(--ink-2); }
.garticle__body { display: grid; gap: 16px; max-width: 46rem; line-height: 1.65; color: var(--ink-2); }
.garticle__body b, .garticle__body strong { color: var(--ink); }
.garticle__body h4 { font: 600 1.05rem/1.3 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin-top: 8px; }
.garticle__body ul { display: grid; gap: 6px; }
.garticle__body ul li { position: relative; padding-left: 22px; }
.garticle__body ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.garticle__body ul li:nth-child(even)::before { border-radius: 2px; background: var(--sage-deep); }
.sec--fog .garticle__body .panel { background: var(--card); }
.panel--flat { padding: clamp(16px, 2.4vw, 26px); border-radius: var(--radius); }
.check { display: grid; counter-reset: ck; }
.check li { border-bottom: 1px dashed var(--line-strong); }
.check li:first-child { border-top: 1px dashed var(--line-strong); }
.check label { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 12px 0; min-height: 48px; cursor: pointer; color: var(--ink); line-height: 1.45; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.check b { display: block; font-weight: 700; font-size: .96rem; }
.check .ref { display: block; font: 500 .74rem/1.4 var(--font-mono); color: var(--ink-2); margin-top: 2px; }
.check input:checked + span b { text-decoration: line-through; text-decoration-color: var(--orange-deep); text-decoration-thickness: 2px; }
.check__out { display: grid; gap: 10px; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--ink); }
.check__bar { height: 8px; border-radius: 4px; background: var(--fog); overflow: hidden; }
.check__bar i { display: block; height: 100%; width: var(--v, 0%); background: var(--orange); border-radius: 4px; transition: width .35s var(--ease); }
.check__txt { font-size: .92rem; line-height: 1.5; color: var(--ink); }
.datecalc { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 16px 24px; align-items: start; padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); }
@media (max-width: 640px) { .datecalc { grid-template-columns: 1fr; } }
.datecalc__out { display: grid; gap: 6px; align-content: start; min-height: 4.5em; }
.datecalc__k { font: 500 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.datecalc__date { font: 500 clamp(1.3rem, 1.05rem + 1.3vw, 1.9rem)/1.15 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.datecalc__note { grid-column: 1 / -1; font-size: .8rem; line-height: 1.55; color: var(--ink-2); border-top: 1px dashed var(--line-strong); padding-top: 12px; }
.datecalc__note b { color: var(--ink); }
.kv--src div { grid-template-columns: 11em minmax(0, 1fr); }
@media (max-width: 520px) { .kv--src div { grid-template-columns: 1fr; } }

/* контакты */
.chan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .chan-grid { grid-template-columns: 1fr; } }
.tile { display: grid; gap: 6px; align-content: start; text-align: left; padding: 16px 18px; min-height: 76px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--ease); }
.tile:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.tile__name { font: 600 1.08rem/1.2 var(--font-display); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tile__name svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tile:hover .tile__name svg { transform: rotate(-45deg); }
.tile__reply { font-size: var(--fs-s); line-height: 1.4; color: var(--ink-2); }
.tile:hover .tile__reply { color: #C9C8C0; }
.when-closed { display: none; }
[data-open-state="closed"] .when-open { display: none; }
[data-open-state="closed"] .when-closed { display: inline; }
.contact-lines { display: grid; gap: 22px; }
.contact-phone { font: 500 clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem)/1.1 var(--font-display); letter-spacing: -.045em; appearance: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; min-height: 48px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-color: var(--orange); }
.contact-phone:hover { font-weight: 800; }
.copy-btn { appearance: none; background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem var(--font-body); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.contact-hours { display: grid; gap: 12px; }
.sec--fog .hours-card, .sec--sage .hours-card { background: var(--paper); }
.sec--sage .panel { background: var(--card); }
.contact-photo { margin-bottom: 20px; }
.form--page { gap: 18px; }
.form--page .btn { justify-self: start; }
.sec--sage .people .person:nth-child(2) .avatar { background: var(--card); }
.contact-note { padding: 14px 18px; border-radius: var(--radius); border: 1.5px solid var(--ink); background: var(--sage-soft); font-size: .92rem; line-height: 1.55; }
.sec--fog .tag--ink { background: var(--ink); color: var(--paper); }
.sec--fog .tag--orange { background: var(--orange); color: var(--ink); }
.garticle__meta .h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.25; }
.garticle__body .check li { padding-left: 0; }
.garticle__body .check li::before { content: none; }
.faq-group__head .tag { white-space: nowrap; flex: none; }
