/* ==========================================================================
   Бизнес-старт — стили
   Компактная типографика: единая сетка, спокойные размеры, ровное выравнивание
   ========================================================================== */

:root {
  --bg: #f6f7f9;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --ink: #12171f;
  --ink-2: #3b4654;
  --muted: #5f6b7a;
  --line: #e4e8ee;
  --brand: #0e7c5a;
  --brand-2: #12a374;
  --brand-soft: #e8f5ef;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --danger: #c2410c;
  --danger-soft: #ffedd5;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --info: #1d4ed8;
  --info-soft: #dbeafe;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .05);
  --shadow-lg: 0 18px 44px rgba(16, 24, 40, .12);
  --wrap: 1160px;
  --header: 60px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.2; margin: 0 0 .45em; font-weight: 800; letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 1.08rem + 1vw, 1.85rem); }
h3 { font-size: 1.05rem; }
h4 { font-size: .95rem; }
p { margin: 0 0 .8em; text-wrap: pretty; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a, button, summary, label { -webkit-tap-highlight-color: rgba(14, 124, 90, .14); }
a, button, summary, .btn, .tab, .chip-btn { touch-action: manipulation; }
ul, ol { margin: 0 0 .8em; padding-left: 1.1rem; }
li { text-wrap: pretty; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }

/* сетки: элементы не должны распирать колонки */
.hero-inner > *,
.forms-grid > *,
.budget-cards > *,
.costs-layout > *,
.calc > *,
.two-col > *,
.marking-grid > *,
.regime-grid > *,
.req-grid > *,
.cert-grid > *,
.law-list > *,
.services-grid > *,
.lic-steps > * { min-width: 0; }
.table-wrap, .scroll-x { min-width: 0; max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.noscript {
  max-width: calc(var(--wrap) - 48px); margin: 14px auto; padding: 12px 16px;
  border: 1px solid #f0c36b; background: var(--accent-soft); color: #7c4a03;
  border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem;
}

/* видимый фокус для клавиатуры */
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.btn:focus-visible, .tab:focus-visible, .chip-btn:focus-visible, .nav-toggle:focus-visible { outline-offset: 3px; }
.sidenav a:focus-visible { outline-offset: -2px; }

/* ------------------------------- Шапка ------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { position: relative; display: flex; align-items: center; gap: 16px; min-height: var(--header); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: .98rem; font-weight: 800; }
.logo-text i { font-style: normal; font-size: .7rem; color: var(--muted); }

.sidenav { margin-left: auto; }
.sidenav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.sidenav a {
  display: block; padding: 7px 9px; border-radius: 8px; font-size: .82rem; font-weight: 600;
  color: var(--ink-2); white-space: nowrap; line-height: 1.35;
}
.sidenav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.sidenav a.active { background: var(--brand); color: #fff; }

.nav-toggle { display: none; }
.nav-label { display: none; }

/* На десктопе — компактное выпадающее меню разделов */
@media (min-width: 1241px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 13px; cursor: pointer; font-family: inherit; transition: .12s;
  }
  .nav-toggle > span:not(.nav-label) { display: none; }
  .nav-label { display: inline; font-size: .84rem; font-weight: 700; color: var(--ink-2); }
  .nav-toggle::after { content: '▾'; font-size: .7rem; color: var(--muted); line-height: 1; transition: transform .15s; }
  .nav-toggle:hover { border-color: var(--brand); }
  .nav-toggle:hover .nav-label { color: var(--brand); }
  .nav-toggle[aria-expanded="true"] { border-color: var(--brand); }
  .nav-toggle[aria-expanded="true"] .nav-label { color: var(--brand); }
  .nav-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

  .sidenav {
    position: absolute; top: calc(100% + 6px); right: 0; margin: 0;
    width: min(680px, calc(100vw - 40px)); max-height: min(78vh, 620px); overflow: auto;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-lg); padding: 6px; z-index: 99;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .sidenav.open { opacity: 1; visibility: visible; transform: none; }
  .sidenav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .sidenav a { padding: 8px 10px; border-radius: 8px; font-size: .82rem; white-space: normal; }
  .sidenav a.active { font-weight: 700; }
}

/* ------------------------------- Hero ------------------------------- */
.hero {
  background:
    radial-gradient(1100px 420px at 88% -12%, rgba(18, 163, 116, .16), transparent 60%),
    radial-gradient(900px 380px at -8% 0%, rgba(245, 158, 11, .13), transparent 55%),
    linear-gradient(180deg, #fbfcfd, #f2f5f7);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 44px;
}
.hero-inner { display: grid; grid-template-columns: 1.35fr .95fr; gap: 32px; align-items: start; }
.pill {
  display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700;
  font-size: .76rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-2) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: .98rem; color: var(--ink-2); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .9rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(14, 124, 90, .26); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-block { width: 100%; }

.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.hero-facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; display: flex; flex-direction: column; }
.hero-facts b { display: block; font-size: 1.4rem; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .75rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 5px; }

.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 1.1rem; }
.hero-card .muted { font-size: .88rem; }
.quick-list { list-style: none; padding: 0; margin: 0 0 14px; }
.quick-list li {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); cursor: pointer;
  border-radius: 8px;
}
.quick-list li:last-child { border-bottom: 0; }
.quick-list li:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.quick-list li:hover .qa { transform: translateX(2px); }
.quick-list .qa { transition: transform .12s ease; }
.quick-list b { display: block; font-size: .88rem; }
.quick-list em { font-style: normal; font-size: .77rem; color: var(--muted); }
.qi {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .78rem;
}
.qa { margin-left: auto; color: var(--brand); font-weight: 700; }
.link-arrow { font-weight: 700; font-size: .86rem; }

/* ------------------------------- Секции ------------------------------- */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--ink-2); font-size: .95rem; margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 6px; margin-bottom: 10px;
}

.notice {
  background: var(--accent-soft); border: 1px solid #f5d78e; border-radius: var(--radius-sm);
  padding: 12px 16px; margin-top: 18px; font-size: .85rem; color: #6b4b06; line-height: 1.5;
}

/* ------------------------------- Формы ------------------------------- */
.forms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.form-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.form-card h3 { margin-bottom: 4px; }
.form-badge {
  display: inline-block; align-self: flex-start; background: var(--brand-soft); color: var(--brand);
  font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-bottom: 10px;
}
.form-price { font-size: .96rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.form-limit { font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .82rem; }
.form-cols h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.form-cols ul { list-style: none; padding: 0; margin: 0; }
.form-cols li { position: relative; padding-left: 18px; margin-bottom: 6px; color: var(--ink-2); line-height: 1.45; }
.form-cols li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.form-cols .minus li::before { content: '—'; color: var(--danger); }
.form-forwho { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); line-height: 1.5; }
.form-forwho b { color: var(--ink-2); }

/* ------------------------------- Таблицы ------------------------------- */
.table-wrap { margin-bottom: 24px; }
.table-title { margin-bottom: 10px; font-size: 1rem; }
.table-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.table-toolbar .table-title { margin: 0; }
.table-toolbar #licSearch { flex: 1 1 220px; max-width: 340px; }
.table-tools { display: flex; flex: 1 1 220px; flex-direction: column; gap: 4px; max-width: 340px; }
.table-tools #licSearch { width: 100%; max-width: none; }
.table-tools .hint { text-align: right; }
.nav-backdrop {
  position: fixed; inset: var(--header) 0 0; z-index: 95;
  background: rgba(15, 23, 42, .38); border: 0; padding: 0; cursor: pointer;
}
.scroll-x { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 620px; }
.data-table th, .data-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; line-height: 1.45; }
.data-table thead th {
  background: #f8fafb; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  font-weight: 800; position: sticky; top: 0; z-index: 2; white-space: nowrap;
}
.data-table tbody tr:hover { background: #fbfdfc; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td b { color: var(--ink); }
.data-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table .sub { color: var(--muted); font-size: .78rem; }
.table-empty { padding: 22px; text-align: center; color: var(--muted); }

/* Лицензии: группы по отраслям и читаемые карточки строк */
#licensesTable { min-width: 760px; }
#licensesTable th:nth-child(1) { width: 26%; }
#licensesTable th:nth-child(2) { width: 16%; }
#licensesTable th:nth-child(3) { width: 13%; }
#licensesTable th:nth-child(4) { width: 15%; }
#licensesTable th:nth-child(5) { width: 30%; }
#licensesTable .lic-act b { display: block; }
#licensesTable .lic-law { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
#licensesTable .lic-term { color: var(--ink-2); font-size: .8rem; }
#licensesTable .lic-cost { white-space: normal; }
#licensesTable .lic-cost-main { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
#licensesTable .lic-cost-note { display: block; margin-top: 2px; color: var(--muted); font-size: .74rem; line-height: 1.4; }
#licensesTable .lic-notes { color: var(--ink-2); font-size: .8rem; }
#licensesTable .lic-group td { padding: 8px 12px; background: var(--brand-soft); border-bottom: 1px solid #d3e8de; }
#licensesTable .lic-group-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#licensesTable .lic-group-name { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
#licensesTable .lic-group-count { color: var(--brand); font-size: .72rem; font-weight: 600; opacity: .75; white-space: nowrap; }

.tag {
  display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: .7rem; font-weight: 700;
  background: var(--info-soft); color: var(--info); margin: 0 4px 4px 0; white-space: nowrap;
}
.tag.must { background: var(--danger-soft); color: var(--danger); }
.tag.no { background: var(--ok-soft); color: var(--ok); }

/* ------------------------------- Timeline ------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.timeline li {
  position: relative; padding: 0 0 20px 52px; counter-increment: st;
}
.timeline li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 3px 10px rgba(14, 124, 90, .22);
}
.timeline li::after {
  content: ''; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin-bottom: 5px; font-size: .98rem; }
.timeline p { margin-bottom: 6px; color: var(--ink-2); font-size: .9rem; }
.timeline .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 9px; font-size: .74rem; font-weight: 600; color: var(--ink-2);
}
.chip.cost { border-color: #bfe3d5; background: var(--brand-soft); color: var(--brand); }
.chip.time { border-color: #cfe0fb; background: var(--info-soft); color: var(--info); }
.tip {
  background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 9px 12px;
  border-radius: 0 7px 7px 0; font-size: .84rem; color: #6b4b06; margin: 0; line-height: 1.5;
}

/* ------------------------------- Бюджеты ------------------------------- */
.budget-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.budget-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.budget-card h3 { margin-bottom: 2px; }
.budget-card .sub { color: var(--muted); font-size: .8rem; margin-bottom: 12px; }
.budget-card .sum {
  font-size: 1.15rem; font-weight: 800; color: var(--brand); background: var(--brand-soft);
  padding: 8px 12px; border-radius: 9px; margin-bottom: 12px; font-variant-numeric: tabular-nums;
}
.budget-card ul { list-style: none; padding: 0; margin: 0; font-size: .83rem; }
.budget-card li { padding: 5px 0 5px 16px; position: relative; border-bottom: 1px dashed var(--line); color: var(--ink-2); line-height: 1.45; }
.budget-card li:last-child { border-bottom: 0; }
.budget-card li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }

.costs-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.info-card.warn { background: var(--accent-soft); border-color: #f5d78e; }
.info-card.ok { background: var(--brand-soft); border-color: #bfe3d5; }
.info-card h4 { margin-bottom: 8px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card:last-child { margin-bottom: 0; }
.dot-list { list-style: none; padding: 0; margin: 0 0 10px; font-size: .85rem; }
.dot-list li { position: relative; padding-left: 18px; margin-bottom: 7px; line-height: 1.45; }
.dot-list li::before { content: '•'; position: absolute; left: 4px; color: var(--brand); font-weight: 800; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-family: inherit; font-size: .8rem;
  font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: .12s;
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------- Калькулятор ------------------------------- */
.calc { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.calc-form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.calc-form legend { font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.field select, .field input[type="number"], .field input[type="text"] {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: .9rem;
  font-family: inherit; background: #fbfcfd; color: var(--ink);
}
.field select:focus, .field input:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: var(--brand-2); }
.checks { display: grid; gap: 7px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-2); cursor: pointer; }
.checks input { width: 16px; height: 16px; accent-color: var(--brand); }

.calc-result { display: grid; gap: 14px; }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.res-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.res-total { font-size: 1.6rem; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.res-list { list-style: none; padding: 0; margin: 0; font-size: .84rem; }
.res-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.res-list li:last-child { border-bottom: 0; }
.res-list .k { color: var(--ink-2); }
.res-list .v { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res-note { background: var(--info-soft); border-radius: var(--radius-sm); padding: 12px; font-size: .83rem; color: #1e3a8a; line-height: 1.5; }
.res-warn { background: var(--danger-soft); border-radius: var(--radius-sm); padding: 12px; font-size: .83rem; color: #7c2d12; line-height: 1.5; }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 7px 0 5px; display: flex; }
.bar span { display: block; height: 100%; }

/* ------------------------------- Режимы ------------------------------- */
.regime-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 26px; }
.regime-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.regime-card h3 { margin-bottom: 2px; }
.regime-card .who { font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.regime-card .tax { font-size: .98rem; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.regime-card dl { margin: 0; font-size: .8rem; }
.regime-card dt { font-weight: 700; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.regime-card dd { margin: 2px 0 0; color: var(--ink-2); line-height: 1.45; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.two-col .data-table, .marking-grid .data-table { min-width: 460px; }

/* ------------------------------- Законы ------------------------------- */
.law-search { margin-bottom: 18px; display: flex; flex-direction: column; gap: 5px; }
.law-search input, .goods-search input, #licSearch {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem;
  font-family: inherit; background: #fff;
}
.law-search input:focus, .goods-search input:focus, #licSearch:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.hint { font-size: .78rem; color: var(--muted); }
.law-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.law-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; border-left: 4px solid var(--brand); }
.law-item b { display: block; margin-bottom: 4px; font-size: .9rem; }
.law-item p { margin: 0 0 5px; font-size: .83rem; color: var(--ink-2); line-height: 1.5; }
.law-item a { font-size: .78rem; font-weight: 700; }

/* ------------------------------- Лицензии ------------------------------- */
.lic-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 26px; }
.lic-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; position: relative; }
.lic-step .n {
  width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-bottom: 8px;
}
.lic-step b { display: block; margin-bottom: 4px; font-size: .88rem; }
.lic-step p { margin: 0; font-size: .8rem; color: var(--ink-2); line-height: 1.5; }

/* ------------------------------- Сертификация ------------------------------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 26px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cert-card h3 { margin-bottom: 4px; }
.cert-card .who { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.cert-card dl { margin: 0 0 10px; font-size: .8rem; }
.cert-card dt { font-weight: 700; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.cert-card dd { margin: 2px 0 0; color: var(--ink-2); line-height: 1.45; }
.cert-card .cost { font-weight: 800; color: var(--brand); }

/* ------------------------------- Товары ------------------------------- */
.goods-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-family: inherit; font-size: .8rem;
  font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: .12s;
}
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.goods-search { display: flex; flex-direction: column; gap: 5px; }
#goodsTable td:first-child { font-weight: 700; min-width: 130px; }
#goodsTable td:nth-child(3) { min-width: 190px; }
@media (min-width: 1081px) and (max-width: 1240px) {
  #goodsTable th, #goodsTable td { padding: 9px 8px; }
  #goodsTable td:first-child { min-width: 115px; }
  #goodsTable td:nth-child(3) { min-width: 170px; }
}
#goodsTable .note { font-size: .8rem; color: var(--muted); }
#goodsTable .tag { white-space: normal; }

/* ------------------------------- Маркировка ------------------------------- */
.marking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-bottom: 24px; }
.num-list { list-style: none; counter-reset: mn; padding: 0; margin: 0; }
.num-list li { counter-increment: mn; position: relative; padding: 0 0 13px 36px; }
.num-list li::before {
  content: counter(mn); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 7px;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .74rem; font-weight: 800;
}
.num-list b { display: block; font-size: .88rem; }
.num-list span { font-size: .8rem; color: var(--ink-2); line-height: 1.5; }

/* ------------------------------- Требования ------------------------------- */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.req-card .ico { font-size: 1.4rem; line-height: 1; margin-bottom: 7px; }
.req-card h3 { margin-bottom: 10px; }
.req-card ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .84rem; }
.req-card li { position: relative; padding-left: 18px; margin-bottom: 6px; color: var(--ink-2); line-height: 1.45; }
.req-card li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.req-meta { font-size: .76rem; border-top: 1px dashed var(--line); padding-top: 9px; color: var(--muted); line-height: 1.5; }
.req-meta b { color: var(--ink-2); }

/* ------------------------------- Чек-листы ------------------------------- */
.checklist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cl-head h3 { margin: 0; }
.cl-progress { font-size: .84rem; color: var(--muted); }
.cl-progress b { color: var(--brand); }
.cl-list { list-style: none; padding: 0; margin: 0; }
.cl-list li { margin-bottom: 2px; }
.cl-list label {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font-size: .88rem; border: 1px solid transparent; transition: .12s;
}
.cl-list label:hover { background: #f8fafb; border-color: var(--line); }
.cl-list input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.cl-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.cl-list .reset { display: inline-block; margin-top: 10px; font-size: .8rem; }

/* ------------------------------- Сервисы ------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service-card b { font-size: .92rem; margin-bottom: 4px; }
.service-card p { font-size: .82rem; color: var(--ink-2); margin-bottom: 9px; line-height: 1.5; }
.service-card a { margin-top: auto; font-size: .8rem; font-weight: 700; word-break: break-all; }

/* ------------------------------- FAQ ------------------------------- */
.faq { display: grid; gap: 8px; max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit;
  padding: 13px 42px 13px 16px; font-size: .92rem; font-weight: 700; color: var(--ink); position: relative;
}
.faq-q::after {
  content: '+'; position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; color: var(--brand); font-weight: 700;
}
.faq-item.open .faq-q::after { content: '–'; }
.faq-a { padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding-bottom: 14px; margin: 0; color: var(--ink-2); font-size: .88rem; line-height: 1.55; }

/* ------------------------------- Статьи ------------------------------- */
.articles-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.articles-search { display: flex; flex-direction: column; gap: 5px; max-width: 680px; }
.articles-search input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem;
  font-family: inherit; background: #fff;
}
.articles-search input:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.articles-list { display: grid; gap: 10px; max-width: 960px; }

.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.article[open] { border-color: #bfe3d5; box-shadow: var(--shadow); }
.article summary { position: relative; display: block; cursor: pointer; padding: 15px 50px 15px 18px; list-style: none; transition: background .12s; }
.article summary::-webkit-details-marker { display: none; }
.article summary:hover { background: #f8fafb; }
.article summary::after {
  content: '+'; position: absolute; right: 16px; top: 15px; width: 25px; height: 25px; border-radius: 7px;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center; line-height: 1;
}
.article[open] summary::after { content: '–'; }
.article-cat {
  display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px;
}
.article-title { display: block; margin: 6px 0 4px; font-size: .98rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.article-lead { display: block; font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
.article-meta { display: inline-block; margin-top: 7px; font-size: .72rem; font-weight: 600; color: var(--muted); }

.article-body { padding: 4px 20px 20px; border-top: 1px dashed var(--line); }
.article-body h4 { margin: 16px 0 6px; font-size: .92rem; }
.article-body p { margin: 0 0 10px; font-size: .88rem; line-height: 1.6; color: var(--ink-2); }
.article-body .article-list { margin: 0 0 12px; padding-left: 18px; font-size: .86rem; line-height: 1.55; color: var(--ink-2); }
.article-body .article-list li { margin-bottom: 5px; }
.article-note {
  margin: 12px 0; padding: 10px 14px; background: var(--brand-soft); border-left: 4px solid var(--brand);
  border-radius: 7px; font-size: .84rem; line-height: 1.55; color: var(--ink-2);
}
.article-body .scroll-x { margin: 12px 0; }
.article-body .data-table { min-width: 480px; }
.article-body .data-table td.art-key { font-weight: 700; }

/* ------------------------------- Подсказки ------------------------------- */
.tips-block { margin-top: 26px; }
.tips-title { margin-bottom: 12px; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tip-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow);
}
.tip-card b { display: block; margin-bottom: 5px; font-size: .9rem; }
.tip-card p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--ink-2); }

/* ------------------------------- Финал / футер ------------------------------- */
.final-cta { background: linear-gradient(135deg, #0b5f46, #0e7c5a 55%, #0e8060); color: #fff; padding: 44px 0; }
.final-cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, .88); font-size: .92rem; }
.final-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.final-links a { color: #fff; font-weight: 600; display: inline-flex; gap: 7px; font-size: .9rem; }
.final-links a::before { content: '→'; opacity: .8; }

.footer { background: #0f151d; color: #aeb8c4; padding: 32px 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.footer b { color: #fff; font-size: 1rem; }
.footer p { font-size: .83rem; max-width: 60ch; }
.footer .muted { color: #aeb8c4; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 5px 14px; align-content: start; }
.footer-nav a { color: #aeb8c4; font-size: .8rem; }
.footer-nav a:hover { color: #fff; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--brand); color: #fff; font-size: 1rem; cursor: pointer; display: none;
  box-shadow: var(--shadow-lg); z-index: 90;
}
.to-top.show { display: block; }

/* ------------------------------- Адаптив ------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .forms-grid, .budget-cards { grid-template-columns: 1fr 1fr; }
  .costs-layout, .calc, .two-col, .marking-grid, .final-cta-inner, .footer-inner { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .sidenav ul { gap: 0; }
  /* 16px не даёт iOS зумить страницу при фокусе на поле */
  .field select, .field input[type="number"], .field input[type="text"],
  .law-search input, .goods-search input, #licSearch, .articles-search input { font-size: 16px; }
  /* планшеты тоже сенсорные: увеличиваем тап-зоны */
  .tab, .chip-btn { min-height: 40px; }
  .checks input, .cl-list input { width: 19px; height: 19px; }
  .link-arrow { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (max-width: 1240px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: #fff; border: 1px solid var(--line);
    border-radius: 10px; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
  .nav-toggle .nav-label { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sidenav {
    position: fixed; inset: var(--header) 0 auto 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s ease; box-shadow: var(--shadow); z-index: 99;
  }
  .sidenav.open { max-height: 70vh; max-height: calc(100dvh - var(--header)); overflow-y: auto; box-shadow: var(--shadow-lg); overscroll-behavior: contain; }
  body.nav-locked { overflow: hidden; }
  .sidenav ul { flex-direction: column; padding: 10px 16px 18px; }
  .sidenav a { padding: 9px 8px; font-size: .92rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .forms-grid, .budget-cards { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
}
/* ------------------------------- Мобильная версия ------------------------------- */
@media (max-width: 640px) {
  html { scroll-padding-top: calc(var(--header) + 10px); }
  body { font-size: 15px; overflow-wrap: break-word; }
  .wrap { padding: 0 14px; }

  .hero { padding: 26px 0 30px; }
  .hero-inner { gap: 22px; }
  .hero-card { padding: 16px; }
  .hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 20px; }
  .hero .hero-actions .btn { width: 100%; min-height: 46px; padding: 10px 12px; font-size: .9rem; }
  .hero .hero-actions .btn:first-child { grid-column: 1 / -1; }
  .final-cta .hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .quick-list li { padding: 12px 0; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-facts li { padding: 10px; }
  .hero-facts b { font-size: 1.25rem; }

  .btn { min-height: 46px; padding: 12px 18px; }

  .section { padding: 34px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head p { font-size: .92rem; }
  .notice { margin-top: 14px; padding: 11px 13px; font-size: .82rem; }

  .forms-grid, .budget-cards, .cert-grid, .regime-grid, .req-grid, .law-list, .services-grid, .lic-steps { gap: 12px; }
  .forms-grid, .budget-cards, .cert-grid, .regime-grid, .req-grid, .law-list, .services-grid, .lic-steps, .two-col, .marking-grid, .costs-layout { grid-template-columns: 1fr; }
  .form-card, .budget-card, .info-card, .cert-card, .regime-card, .req-card, .lic-step, .service-card, .calc-form, .res-card, .checklist, .hero-card { padding: 16px; }
  .form-cols { grid-template-columns: 1fr; gap: 9px; }
  .tip-card { padding: 14px; }
  .tips-grid { gap: 10px; }

  .timeline li { padding: 0 0 18px 44px; }
  .timeline li::before { width: 30px; height: 30px; border-radius: 9px; font-size: .78rem; }
  .timeline li::after { left: 15px; top: 34px; }
  .timeline h3 { font-size: 1rem; }

  .table-title { font-size: .96rem; }
  .table-toolbar { flex-direction: column; align-items: stretch; }
  .table-toolbar #licSearch { max-width: 100%; }
  .table-tools { max-width: 100%; }
  .table-tools .hint { text-align: left; }

  .tabs, .chips {
    flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 2px 2px 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .tabs::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  .tab, .chip-btn { flex: 0 0 auto; font-size: .8rem; padding: 10px 13px; min-height: 42px; }

  .articles-search { max-width: 100%; }
  .article summary { padding: 14px 46px 14px 15px; }
  .article-title { font-size: .94rem; }
  .article-lead { font-size: .81rem; }
  .article-body { padding: 4px 15px 18px; }
  .tag { white-space: normal; }

  .res-list li { flex-direction: column; gap: 2px; }
  .res-list .v { white-space: normal; }
  .field select, .field input[type="number"], .field input[type="text"],
  .law-search input, .goods-search input, #licSearch, .articles-search input { font-size: 16px; min-height: 46px; }
  .checks label { min-height: 44px; padding: 4px 0; }
  .checks input { width: 20px; height: 20px; }
  .cl-list label { min-height: 44px; padding: 10px 12px; }
  .cl-list input { width: 20px; height: 20px; }

  .link-arrow, .law-item a, .service-card a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-nav a { padding: 6px 0; }
  .to-top { width: 46px; height: 46px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); font-size: 1.15rem; }

  .footer { padding: 26px 0; }
  .final-cta { padding: 34px 0; }
  .cl-head { align-items: flex-start; }
  .cl-head .btn { width: 100%; }

  .nav-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; }
  .logo { min-height: 44px; }
  .sidenav a { padding: 12px 8px; }
  .sidenav ul { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }

  /* широкие таблицы превращаются в карточки */
  .scroll-x.stacked-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .data-table.stacked { display: block; width: 100%; min-width: 0; font-size: .84rem; }
  .data-table.stacked thead {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .data-table.stacked tbody { display: block; }
  .data-table.stacked tr {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: 11px;
    padding: 3px 12px; margin-bottom: 9px;
  }
  .data-table.stacked tbody tr:hover { background: #fff; }
  .data-table.stacked td {
    display: block; width: auto; padding: 8px 0; border: 0; border-bottom: 1px dashed var(--line);
    text-align: left; vertical-align: top;
  }
  .data-table.stacked td:last-child { border-bottom: 0; }
  .data-table.stacked td::before {
    content: attr(data-label); display: block; margin-bottom: 3px; font-size: .66rem; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; color: var(--muted); line-height: 1.4;
  }
  .data-table.stacked td.table-empty { display: block; padding: 13px 0; text-align: center; border: 0; }
  .data-table.stacked td.table-empty::before { content: none; }
  .data-table.stacked .num { text-align: left; white-space: normal; }
  .data-table.stacked tr.lic-group { padding: 0; background: var(--brand-soft); border-color: #d3e8de; }
  .data-table.stacked tr.lic-group td { padding: 9px 12px; border-bottom: 0; }
  .data-table.stacked tr.lic-group td::before { content: none; }
  .data-table.stacked tr.lic-group .lic-group-inner { flex-wrap: wrap; }
  #goodsTable.stacked td:first-child, #goodsTable.stacked td:nth-child(3) { min-width: 0; }
  /* id-селектор выше по специфичности — снимаем min-width для карточного режима */
  #licensesTable.stacked { min-width: 0; }
  #licensesTable.stacked th { width: auto; }
  #licensesTable.stacked .lic-group-inner { flex-wrap: wrap; }
  #licensesTable.stacked .lic-group-count { white-space: normal; }
  .article-body .data-table { min-width: 0; }
}

@media (max-width: 520px) {
  .hero { padding: 24px 0 28px; }
  .hero-facts { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .form-cols { grid-template-columns: 1fr; }
  .timeline li { padding-left: 44px; }
  .table-toolbar #licSearch { max-width: 100%; }
  .topbar-inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo-text i { display: none; }
  .nav-toggle { padding: 9px; }
  .article summary { padding: 14px 44px 14px 14px; }
  .article-body { padding: 4px 14px 18px; }
}

/* На телефонах второстепенные кнопки hero — в одну колонку, чтобы текст не рвался */
@media (max-width: 430px) {
  .hero .hero-actions { grid-template-columns: 1fr; }
  .hero .hero-actions .btn:first-child { grid-column: auto; }
}

/* ------------------------- Поддержать создателя ------------------------- */
.support-card {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.support-copy .eyebrow { margin-bottom: 6px; }
.support-copy h2 { margin: 0 0 8px; }
.support-copy p { margin: 0 0 8px; color: var(--ink-2); font-size: .9rem; line-height: 1.55; max-width: 62ch; }
.support-copy p.muted { color: var(--muted); }
.support-copy p:last-child { margin-bottom: 0; }
.support-pay {
  background: linear-gradient(135deg, #0b5f46, #0e7c5a 55%, #0e8060);
  color: #fff; border-radius: var(--radius-sm); padding: 20px 18px;
  text-align: center; box-shadow: var(--shadow);
}
.support-bank {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}
.support-number {
  margin: 10px 0 14px; color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.support-pay .btn { width: 100%; background: #fff; border-color: #fff; color: #0b5f46; font-weight: 800; }
.support-pay .btn:hover { background: #eaf7f1; border-color: #eaf7f1; }
.support-hint { display: block; min-height: 1.1em; margin-top: 7px; font-size: .74rem; color: rgba(255, 255, 255, .85); }

@media (max-width: 1080px) {
  .support-card { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .support-card { padding: 18px 15px; }
  .support-number { white-space: normal; }
}

/* ------------------------------- Печать ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .topbar, .to-top, .hero-actions, .tabs, .goods-toolbar, .law-search, .articles-toolbar, .cl-head .btn, .footer-nav, .final-cta, .nav-backdrop, .sidenav { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  .hero { background: none; border-bottom: 0; }
  .section { padding: 14px 0; page-break-inside: avoid; }
  .section-alt { background: #fff; }
  .scroll-x { overflow: visible; border: 0; }
  .data-table { min-width: 0; font-size: 8.5pt; }
  .data-table th, .data-table td { padding: 5px 7px; }
  .faq-a { max-height: none !important; overflow: visible; }
  .article { page-break-inside: avoid; }
  .article > .article-body { display: block !important; }
  .checklist, .res-card, .info-card, .form-card, .budget-card, .tip-card { box-shadow: none; border: 1px solid #ccc; }
  .cl-list input { -webkit-print-color-adjust: exact; }
}
