/* =========================================================================
   СТИЛИ. Цвета и шрифты — в :root, меняются в одном месте.
   Палитра: белый и светло-серый фон, графитовый текст, глубокий зелёный
   акцент (темнее и холоднее фирменного зелёного Сбера), тёплые плашки акций.
   ========================================================================= */
:root {
  --ink: #18202a;        /* основной текст, тёмные плашки */
  --ink-2: #353e4a;
  --muted: #5c6470;
  --line: #e1e3e6;
  --line-2: #eeeff1;
  --paper: #f6f7f8;      /* фон страницы */
  --surface: #ffffff;
  --accent: #0f7a3d;     /* зелёный: кнопки, акценты */
  --accent-hover: #0a6230;
  --accent-soft: #e6f3ea;
  --note: #f0f7f2;
  --focus: #0f7a3d;
  --promo-bg: #fff1d6;   /* плашки акций */
  --promo-ink: #8a4b00;

  --serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --r: 8px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  font-feature-settings: 'tnum' 1;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(26px, 3.2vw, 38px); }
h2 { font-size: clamp(21px, 2.2vw, 27px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
[hidden] { display: none !important; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 18px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  border-radius: var(--r); font: 600 14px/1 var(--sans); text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* ---------- шапка ---------- */
.topbar { background: var(--ink); color: #c9ced6; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; min-height: 34px; align-items: center; }
.topbar a { color: #e6e8ec; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-r { display: flex; gap: 20px; }
@media (max-width: 640px) { .topbar-in > span:first-child { display: none; } .topbar-r { width: 100%; justify-content: space-between; } }

.hbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hbar-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 15px/1 var(--serif); letter-spacing: .5px;
  border-radius: 2px; box-shadow: inset 0 -3px 0 var(--accent);
}
.logo-text { font: 700 20px/1 var(--serif); }
.logo:hover { color: var(--ink); }
.logo-inv { color: #fff; }
.logo-inv:hover { color: #fff; }
.logo-inv .logo-mark { background: #fff; color: var(--ink); }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 22px 12px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-item.is-active > .nav-link { border-bottom-color: var(--accent); }
.dd {
  position: absolute; left: 0; top: 100%; display: none;
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--ink);
  box-shadow: 0 10px 24px rgba(29, 35, 44, .08); min-width: 240px; z-index: 60;
}
.nav-item:hover .dd, .nav-item:focus-within .dd { display: block; }
.dd-inner { display: flex; gap: 32px; padding: 18px 22px; }
.dd-col { min-width: 180px; }
.dd-head { display: block; font: 700 15px/1.3 var(--serif); margin-bottom: 8px; text-decoration: none; }
.dd ul li a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.dd ul li a:hover { color: var(--accent); }
.hbar-tools { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.tool-link { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11.5px; }

.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 11px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); }

@media (max-width: 1020px) { /* компактная шапка с «бургером»: полное меню не влезает уже на ~1013 px */
  .hbar-in { flex-wrap: wrap; gap: 0 16px; }
  .burger { display: flex; }
  .nav, .hbar-tools { display: none; width: 100%; }
  .nav-open .nav, .nav-open .hbar-tools { display: block; }
  .nav > ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .nav-link { padding: 12px 0; border-bottom: 0; }
  .nav-item.is-active > .nav-link { color: var(--accent); }
  .dd { position: static; display: block; border: 0; box-shadow: none; min-width: 0; }
  .dd-inner { flex-direction: column; gap: 10px; padding: 0 0 12px 12px; }
  .dd-head { font-size: 14px; margin-bottom: 2px; }
  .dd ul { display: flex; flex-wrap: wrap; gap: 0 14px; }
  .hbar-tools { display: none; padding: 12px 0 16px; border-top: 1px solid var(--line); }
  .nav-open .hbar-tools { display: flex; }
}

/* ---------- общие блоки ---------- */
main { min-height: 50vh; }
.block { margin: 48px 0; }
.block > h2 { margin-bottom: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.page-head { padding: 18px 0 8px; max-width: 820px; }
.lead { font-size: 17px; color: var(--ink-2); }
.updated { font-size: 13px; color: var(--muted); }
.placeholder { padding: 18px; border: 1px dashed var(--line); background: var(--surface); color: var(--muted); border-radius: var(--r); }
.empty { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); text-align: center; }
.note { background: var(--note); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; margin: 40px 0; max-width: 860px; }
.note b { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.note p { margin: 0; color: var(--ink-2); }
ul.plain { padding-left: 18px; margin: 0; }

/* ---------- главная ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding-top: 52px; padding-bottom: 48px; align-items: start; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 15ch; }
.hero .lead { max-width: 52ch; }
.hero-facts { display: flex; gap: 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font: 700 26px/1.1 var(--serif); }
.hero-facts span { font-size: 13px; color: var(--muted); }
.quick { border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 22px; background: var(--paper); }
.quick h2 { font-size: 20px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
input[type=text], input:not([type]), input[inputmode], input[type=number], select {
  height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink); font: 15px var(--sans); width: 100%;
}
input:focus, select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tile { background: var(--surface); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; min-height: 150px; transition: background .15s; }
.tile:hover { background: var(--accent-soft); color: var(--ink); }
.tile-t { font: 700 19px/1.2 var(--serif); }
.tile-d { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.tile-n { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.tile-alt { background: var(--ink); }
.tile-alt .tile-t { color: #fff; }
.tile-alt .tile-d { color: #c9ced6; }
.tile-alt .tile-n { color: #8fd3a5; }
.tile-alt:hover { background: var(--ink-2); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 16px; font: 600 14px var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.leader { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; margin-bottom: 10px; }
.leader-n { font: 700 24px/1 var(--serif); color: var(--muted); text-align: center; }
.leader .pcard { margin: 0; }
.more-line { margin-top: 14px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.panel h2 { font-size: 22px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
@media (max-width: 520px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: 4px; }
.calc-out div { background: var(--paper); padding: 12px; display: flex; flex-direction: column; }
.calc-out span { font-size: 12px; color: var(--muted); }
.calc-out b { font: 700 18px/1.3 var(--serif); }
@media (max-width: 520px) { .calc-out { grid-template-columns: 1fr; } }
.method ol { margin: 0; padding-left: 20px; }
.method li { margin-bottom: 8px; }
.small { font-size: 13px; color: var(--muted); }

.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.article:hover { border-color: var(--ink); color: var(--ink); }
.article-c { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.article-t { font: 700 17px/1.3 var(--serif); flex: 1; }
.article-d { font-size: 12.5px; color: var(--muted); }

/* ---------- карточка продукта ---------- */
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; transition: border-color .15s; }
.pcard:hover { border-color: #b9bec6; }
.pc-main { display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr auto; gap: 20px; align-items: center; padding: 18px 20px; }
.pc-id { display: flex; gap: 14px; align-items: flex-start; }
.pc-id > div { flex: 1; min-width: 0; }
.pc-id .promo { margin-top: 8px; }
.org-logo { flex: none; width: 48px; height: 48px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font: 700 15px var(--serif); color: var(--ink-2); }
.org-logo-lg { width: 72px; height: 72px; font-size: 22px; }
.pc-name { font-size: 17px; margin: 0 0 4px; }
.pc-name a { text-decoration: none; }
.pc-org { font-size: 13px; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.promo { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; background: var(--promo-bg); color: var(--promo-ink); border-radius: 2px; letter-spacing: .02em; }
.pc-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px 16px; }
.fig { display: flex; flex-direction: column; }
.fig-l { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fig-v { font-weight: 700; font-size: 16px; overflow-wrap: break-word; }
.fig-lg .fig-v { font: 700 24px/1.25 var(--serif); }
.fig-lg { margin-bottom: 14px; }
.pc-act { display: flex; flex-direction: column; gap: 8px; min-width: 170px; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding: 10px 20px; border-top: 1px solid var(--line-2); background: #fbfbfa; font-size: 12.5px; color: var(--muted); }
.pc-meta { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; color: var(--ink-2); background: var(--surface); }
.tag:hover { border-color: var(--ink); color: var(--ink); }
.chk { background: none; border: 0; padding: 0 0 0 20px; position: relative; font: inherit; color: var(--ink-2); cursor: pointer; }
.chk::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 1px solid #a6acb5; border-radius: 2px; background: #fff; }
.chk.on::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.chk:hover { color: var(--ink); }
.rating { display: inline-flex; align-items: center; gap: 5px; }
.rating-bar { width: 52px; height: 5px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.rating-bar i { display: block; height: 100%; background: var(--accent); }
.rating b { color: var(--ink); font-size: 13px; }

.pcard-compact .pc-main { grid-template-columns: minmax(200px, 1.2fr) 2fr auto; padding: 14px 18px; }
.pcard-compact .pc-act { flex-direction: row; min-width: 0; }

@media (max-width: 960px) {
  .pc-main, .pcard-compact .pc-main { grid-template-columns: 1fr; gap: 14px; }
  .pc-act, .pcard-compact .pc-act { flex-direction: row; }
  .pc-act .btn { flex: 1; }
}
@media (max-width: 520px) { .leader { grid-template-columns: 1fr; } .leader-n { display: none; } }

/* ---------- каталог ---------- */
.sublinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.sublinks a { padding: 6px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; font-size: 13.5px; text-decoration: none; }
.sublinks a.on, .sublinks a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.filters legend { font: 700 15px var(--serif); margin-bottom: 8px; padding: 0; }
.cb { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 14px; cursor: pointer; }
.cb input { accent-color: var(--ink); margin: 3px 0 0; width: 16px; height: 16px; flex: none; }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.found { font-size: 14px; color: var(--muted); }
.sort { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.sort select { width: auto; height: 36px; }
.list-more { text-align: center; margin-top: 8px; }
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters form { display: grid; grid-template-columns: 1fr; }
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl thead th { background: var(--paper); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fbfbfa; }
.tbl small { display: block; color: var(--muted); font-size: 12px; }
.tbl-cmp tbody th { font-weight: 600; color: var(--ink-2); width: 180px; background: var(--paper); }
.tbl-cmp thead th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
.grp { margin: 24px 0 10px; }

.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps li { counter-increment: s; background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 700 22px var(--serif); color: var(--accent); }
.steps li span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .steps ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps ol { grid-template-columns: 1fr; } }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.faq summary { padding: 14px 18px; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 10px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* ---------- страница продукта ---------- */
.prod-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; padding-top: 18px; }
.prod-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.prod-head h1 { margin-bottom: 6px; }
.prod-side { position: sticky; top: 84px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 20px; }
.side-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 14px; }
.side-tools { display: flex; gap: 18px; font-size: 13px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.kv { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 14.5px; }
.kv th, .kv td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: left; }
.kv th { width: 45%; color: var(--ink-2); font-weight: 500; background: var(--paper); }
.kv td { font-weight: 600; }
@media (max-width: 860px) { .prod-layout { grid-template-columns: 1fr; } .prod-side { position: static; order: -1; } }

/* ---------- текстовые страницы ---------- */
.prose { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 32px; margin-bottom: 48px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
@media (max-width: 520px) { .prose { padding: 20px; } }

/* ---------- подвал ---------- */
#site-footer { background: var(--ink); color: #b7bdc6; margin-top: 64px; padding: 48px 0 28px; font-size: 14px; }
#site-footer a { color: #dfe2e7; text-decoration: none; }
#site-footer a:hover { color: #fff; text-decoration: underline; }
#site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
#site-footer ul { list-style: none; padding: 0; margin: 0; }
#site-footer li { margin-bottom: 7px; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1.7fr 1fr 1.2fr; gap: 32px; }
#site-footer .f-cat { columns: 2; column-gap: 24px; }
.f-brand p { margin-top: 14px; }
.f-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid #343c48; font-size: 12.5px; color: #8f97a3; }
.f-legal p { max-width: 980px; }
@media (max-width: 1060px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; z-index: 100; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); box-shadow: 0 8px 28px rgba(29, 35, 44, .14); padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-size: 13px; }
.cookie p { margin: 0; }

/* ---------- маркировка рекламы ---------- */
.ad { font-size: 11.5px; color: var(--muted); margin-top: 6px; letter-spacing: .01em; }
.side-box .ad { margin-top: 0; margin-bottom: 12px; }

/* ---------- фильтры: на телефоне сворачиваются ---------- */
.filters > summary { display: none; }
@media (max-width: 860px) {
  .filters { padding: 0; }
  .filters > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font: 700 16px var(--serif); cursor: pointer; list-style: none; }
  .filters > summary::-webkit-details-marker { display: none; }
  .filters > summary::after { content: '+'; font: 400 22px var(--sans); color: var(--muted); }
  .filters[open] > summary::after { content: '−'; }
  .filters form { padding: 0 18px 18px; }
}

/* ---------- cookie: две кнопки ---------- */
.cookie { flex-wrap: wrap; max-width: 640px; }
.cookie p { flex: 1 1 320px; }
.cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- подвал ---------- */
.f-h-gap { margin-top: 22px; }
#site-footer .f-cookie { color: #dfe2e7; text-decoration: none; font-size: 14px; text-align: left; }
#site-footer .f-cookie:hover { color: #fff; text-decoration: underline; }

.article-soon { cursor: default; }
.article-soon:hover { border-color: var(--line); }
.article-soon .article-d { font-style: italic; }

/* ---------- юридические документы ---------- */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin-bottom: 48px; }
.doc-nav { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 0; font-size: 14px; }
.doc-nav a { display: block; padding: 9px 18px; text-decoration: none; color: var(--ink-2); border-left: 3px solid transparent; }
.doc-nav a:hover { color: var(--ink); background: var(--paper); }
.doc-nav a.on { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.doc { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 40px; font-size: 15px; }
.doc h2 { font-size: 20px; margin: 1.8em 0 .6em; }
.doc h2:first-of-type { margin-top: 1em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ol, .doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc .req { background: var(--paper); border: 1px solid var(--line-2); padding: 14px 18px; border-radius: var(--r); font-size: 14px; }
.doc .meta { font-size: 13px; color: var(--muted); }
.doc .table-wrap { margin: 0 0 1.2em; }
.doc-layout > .doc { min-width: 0; } /* элемент сетки не должен растягиваться по ширине таблицы — на телефоне таблица прокручивается внутри */
.doc .tbl { min-width: 680px; font-size: 13.5px; }
.doc .tbl td { vertical-align: top; }
[data-site] { background: var(--accent-soft); padding: 0 3px; border-radius: 2px; } /* подсветка подставляемых реквизитов — убрать перед запуском */
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; } .doc-nav { position: static; display: flex; flex-wrap: wrap; padding: 4px; } .doc-nav a { border-left: 0; padding: 8px 12px; } .doc-nav a.on { background: var(--paper); } .doc { padding: 22px 18px; } }

/* ---------- страница продукта (подробная) ---------- */
.pc-more { font-size: 13px; text-align: center; color: var(--ink-2); }
.prod-head .updated { margin: 4px 0 0; }
.kf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 6px 0 14px; }
.kf { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kf-v { font: 700 20px/1.25 var(--serif); }
@media (max-width: 520px) { .kf-grid { grid-template-columns: 1fr 1fr; } .kf-v { font-size: 17px; } }
.prod-cta-inline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px 0 0; }
.prod-cta-inline .ad { margin: 0; }
/* предупреждения в рекламе кредитов и займов (38-ФЗ ст. 28): читаемо, не меньше 5% площади блока */
.ad-warn { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin: 10px 0 0; }
.pcard .ad-warn { margin-top: 12px; grid-column: 1 / -1; }
.side-box .ad-warn { margin: -4px 0 12px; }
.tbl-warn { caption-side: bottom; text-align: left; padding: 8px 2px 0; }
.zero .ad-warn { margin: 6px 0 0; }
.prod-tabs { position: sticky; top: 64px; z-index: 30; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; background: var(--paper); border-bottom: 1px solid var(--line); margin: 28px 0 0; }
.prod-tabs a { padding: 12px 14px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.prod-tabs a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.prod-main section[id] { scroll-margin-top: 130px; }
.prod-side { top: 128px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.acc > summary { padding: 13px 18px; font: 700 16px var(--serif); cursor: pointer; list-style: none; position: relative; padding-right: 44px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: '+'; position: absolute; right: 18px; top: 8px; font: 400 22px var(--sans); color: var(--muted); }
.acc[open] > summary::after { content: '−'; }
.acc .kv { border: 0; border-top: 1px solid var(--line-2); border-radius: 0 0 var(--r) var(--r); }
.acc .kv tr:last-child th, .acc .kv tr:last-child td { border-bottom: 0; }
.kv td.tbd { color: var(--muted); font-weight: 400; font-style: italic; }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid var(--line-2); }
ul.checks li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.h-pros::before { content: '+ '; color: var(--accent); }
.h-cons::before { content: '− '; color: var(--muted); }
.steps-cta { margin: 16px 0 0; }
.rev-sum { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.rev-score { display: flex; flex-direction: column; gap: 6px; }
.rev-score > b { font: 700 40px/1 var(--serif); }
@media (max-width: 520px) { .rev-sum { grid-template-columns: 1fr; } }

.calc-panel .tabs { margin-bottom: 18px; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 14px; }
.calc-fields label { display: flex; flex-direction: column; gap: 6px; }
.calc-panel .calc-out { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.calc-warn { background: var(--note); border-left: 3px solid var(--accent); padding: 10px 14px; font-size: 14px; margin-bottom: 10px; }
.sched { margin-top: 14px; }
.sched > summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 6px 0; }
.sched-wrap { max-height: 380px; overflow: auto; margin-top: 8px; }
.sched-wrap .tbl { min-width: 520px; }
.sched-wrap thead th { position: sticky; top: 0; }
.calc-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }

.m-cta { display: none; }
@media (max-width: 860px) {
  .prod-side { display: none; }
  .m-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(29, 35, 44, .08); }
  .m-cta div { display: flex; flex-direction: column; min-width: 0; }
  .m-cta b { font: 700 16px var(--serif); }
  .m-cta span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body[data-page="product"] #site-footer { padding-bottom: 90px; }
  .prod-tabs { top: 64px; }
}
.prod-layout > *, .cat-layout > * { min-width: 0; }
.calc-foot .linkbtn { align-self: flex-start; }

/* ---------- реальные данные: логотипы, преимущества вместо цифр ---------- */
img.org-logo { object-fit: contain; background: #fff; padding: 4px; }
.pc-hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pc-hl li { position: relative; padding-left: 16px; line-height: 1.4; }
.pc-hl li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.btn[disabled] { background: var(--line-2); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.side-promo { display: block; margin: 0 0 12px; }

/* ---------- форма заявки ---------- */
.lead-panel { border-top: 3px solid var(--ink); }
.lead-panel h2 { font-size: 22px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-form input[type=tel], .lead-form input[name=name] { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font: 15px var(--sans); width: 100%; background: var(--surface); }
.consent-cb { font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; }
.consent-cb a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-msg { margin: 10px 0 0; font-size: 14px; min-height: 1.4em; }
.lead-msg.ok { color: #2f5d3a; }
.lead-msg.err { color: #8a2d2d; }

/* ключевые цифры: строки заполняются целиком при любом числе показателей */
.kf-grid { display: flex; flex-wrap: wrap; }
.kf-grid .kf { flex: 1 1 170px; }

/* длинные текстовые значения в блоках с цифрами */
.fig-v.long { font-size: 14px; font-weight: 600; line-height: 1.35; }
.kf-v.long { font: 600 15px/1.4 var(--sans); }
.kf.kf-wide { flex-basis: 100%; }
.pc-figs { min-width: 0; }
.fig, .kf { min-width: 0; }

/* панель разделов страницы продукта — обычная, не закреплённая (не перекрывает текст) */
.prod-tabs { position: static; }
.prod-main section[id] { scroll-margin-top: 80px; }
.prod-side { top: 84px; }

/* строка о ставке МФО в подвале — заметнее остального юридического текста */
#site-footer .f-mfo { color: #dfe2e7; font-size: 13.5px; font-weight: 600; }

/* ---------- страница продукта: подробная ---------- */
.ico { width: 20px; height: 20px; flex: none; }
.head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 6px 0 0; }
.head-meta .updated { margin: 0; }
.badge-cbr { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #2f5d3a; background: #eaf2ec; border: 1px solid #cfe2d4; padding: 3px 9px 3px 6px; border-radius: 2px; }
.badge-cbr .ico { width: 16px; height: 16px; }
.kf { position: relative; padding-left: 52px; }
.kf-ico { position: absolute; left: 16px; top: 16px; color: var(--accent); width: 24px; height: 24px; }
.block-tight { margin: 28px 0 8px; }
.toc { margin: 32px 0 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); }
.toc b { font: 700 16px var(--serif); display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14.5px; }
.toc li { margin-bottom: 5px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 520px) { .toc ol { columns: 1; } }
.side-toc { margin-top: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: flex; flex-direction: column; font-size: 13.5px; }
.side-toc b { font: 700 14px var(--serif); margin-bottom: 6px; }
.side-toc a { text-decoration: none; color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid var(--line-2); }
.side-toc a:last-child { border-bottom: 0; }
.side-toc a:hover { color: var(--accent); }
.overview p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 72ch; }
.steps-ico { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps-ico li { background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps-ico li span { font-size: 14px; color: var(--ink-2); }
.st-ico { position: relative; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 50%; margin-bottom: 4px; }
.st-ico .ico { width: 24px; height: 24px; }
.st-ico i { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 11px/20px var(--sans); text-align: center; font-style: normal; }
@media (max-width: 860px) { .steps-ico { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-ico { grid-template-columns: 1fr; } }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.info-card b { font: 700 15px var(--serif); display: block; margin-bottom: 6px; }
.info-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.note-plain { margin: 0; max-width: none; }
.note-plain ul { margin-top: 8px; }
.note-plain li { margin-bottom: 6px; color: var(--ink-2); }
.ico-inline { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; color: var(--accent); }
.contacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.ct { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); text-decoration: none; font-size: 14px; }
.ct .ico { color: var(--accent); width: 18px; height: 18px; }
.ct:hover { border-color: var(--ink); }
.org-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.field.has-range input[type=number] { margin-bottom: 6px; }
.range { width: 100%; accent-color: var(--accent); margin: 0; }
.range-lim { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }

/* результаты калькулятора: без серых «дыр», когда ячеек нечётное число */
.calc-panel .calc-out { background: transparent; border: 0; gap: 8px; }
.calc-panel .calc-out div { border: 1px solid var(--line-2); border-radius: var(--r); }

/* мобильное меню: только разделы каталога, без групп и подразделов */
@media (max-width: 960px) {
  .nav .nav-link { display: none; }
  .nav .dd-inner { padding: 0; gap: 0; }
  .nav .dd ul { display: none; }
  .nav .dd-head { padding: 12px 0; margin: 0; font: 600 16px var(--sans); border-bottom: 1px solid var(--line-2); }
  .nav .nav-item.is-active .dd-head { color: var(--accent); }
}
/* сравнение: логотип и кнопки */
.tbl-cmp .cmp-head { display: flex; align-items: center; gap: 10px; }
.tbl-cmp .cmp-head .org-logo { width: 36px; height: 36px; font-size: 12px; }
.tbl-cmp .cmp-act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* карточки — лёгкая тень вместо жёсткой рамки */
.pcard, .panel, .side-box, .acc, .tiles, .table-wrap, .kf-grid, .toc, .side-toc, .info-card, .filters, .quick { box-shadow: 0 1px 2px rgba(24, 32, 42, .04); }
.pcard:hover { box-shadow: 0 4px 14px rgba(24, 32, 42, .08); border-color: var(--line); }
.btn { border-radius: 6px; }
.logo-mark { border-radius: 6px; }

/* документы организации */
.doc-links { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.doc-links a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; font-size: 14px; line-height: 1.35; }
.doc-links a:hover { border-color: var(--accent); }
.doc-links .ico { color: var(--accent); margin-top: 1px; }

/* ---------- поиск ---------- */
.hsearch, .psearch { position: relative; display: flex; align-items: center; }
.hsearch { flex: 0 1 260px; margin-left: auto; }
.hsearch + .hbar-tools { margin-left: 0; }
.hsearch input, .psearch input {
  width: 100%; height: 40px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); color: var(--ink); font: 14.5px var(--sans); -webkit-appearance: none; appearance: none;
}
.hsearch input:focus, .psearch input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.hsearch input::-webkit-search-cancel-button, .psearch input::-webkit-search-cancel-button { display: none; }
.hsearch button, .psearch button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0; }
.hsearch button:hover, .psearch button:hover { color: var(--accent); }
.psearch { max-width: 640px; margin: 0 0 28px; }
.psearch input { height: 48px; font-size: 16px; background: var(--surface); }
.sdrop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 320px; max-height: min(70vh, 520px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(24, 32, 42, .14); z-index: 70; padding: 6px; }
.hsearch .sdrop { left: auto; width: 400px; }
.sopt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.sopt:hover, .sopt.on { background: var(--paper); color: var(--ink); }
.sopt .org-logo { width: 34px; height: 34px; font-size: 12px; color: var(--accent); }
.sopt .org-logo .ico { width: 18px; height: 18px; }
.sopt-b { display: flex; flex-direction: column; min-width: 0; }
.sopt-t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sopt-t b { color: var(--accent); }
.sopt-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sall { display: block; padding: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; text-align: center; text-decoration: none; }
.snone { padding: 14px 10px; font-size: 14px; color: var(--muted); }
.sbtn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); cursor: pointer; place-items: center; padding: 0; color: var(--ink); order: 1; }
@media (max-width: 1100px) {
  .sbtn { display: grid; margin-left: 12px; }
  .hsearch { display: none; }
  .search-open .hbar-in { flex-wrap: wrap; }
  .search-open .hsearch { display: flex; order: 10; flex: 1 1 100%; margin: 0 0 12px; }
  .hsearch .sdrop { width: auto; left: 0; min-width: 0; }
}
@media (max-width: 1020px) {
  .sbtn { order: 0; margin-left: auto; }
  .sbtn + .burger { margin-left: 8px; }
  .search-open .hsearch { order: 0; }
}

/* ---------- организации ---------- */
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.org-tile { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(24, 32, 42, .04); min-width: 0; }
.org-tile:hover { border-color: var(--accent); color: var(--ink); }
.org-tile-b { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.org-tile-t { font-weight: 600; font-size: 15.5px; }
.org-tile-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-tile-n { font-size: 12.5px; color: var(--accent); }
.org-head { margin-top: 6px; }
.org-head h1 { margin: 0 0 4px; }
.sec-head h2 .muted { font-weight: 400; }
@media (max-width: 640px) { .topbar-r a[href="/about.html#method"] { display: none; } }

/* ---------- верхняя полоса: на узком экране прячем второстепенную ссылку ---------- */
@media (max-width: 860px) { .topbar .tb-wide { display: none; } }
@media (max-width: 640px) { .topbar-r { gap: 12px; } }

/* ---------- реестр МФО ---------- */
.reg-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 8px 0 16px; }
.reg-tools input { flex: 1 1 320px; max-width: 520px; height: 48px; font-size: 16px; }
.reg-kinds { display: flex; gap: 6px; }
.reg-kinds button { padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; font: 500 13.5px var(--sans); color: var(--ink); cursor: pointer; }
.reg-kinds button.on, .reg-kinds button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.reg-count { font-size: 13px; color: var(--muted); }
.reg-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.reg-list li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr); gap: 2px 18px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; align-items: baseline; }
.reg-list li:last-child { border-bottom: 0; }
.reg-list li[hidden] { display: none; }
.reg-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.reg-list a:hover { text-decoration: underline; }
.reg-meta, .reg-site { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.reg-in { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) { .reg-list li { grid-template-columns: 1fr; padding: 12px 14px; } }
.kv td a { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- статьи журнала ---------- */
.page-head .article-c { margin: 0 0 6px; }
.article-l { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
#article-toc .toc { margin: 8px 0 24px; max-width: 760px; }
.article-body { font-size: 16.5px; line-height: 1.68; }
.article-body h2 { font-size: clamp(21px, 2.2vw, 25px); scroll-margin-top: 16px; }
.article-body h3 { font-size: 18px; margin-top: 1.3em; }
.article-body ul, .article-body ol { padding-left: 1.25em; }
.article-body li { margin-bottom: .45em; }
.article-body .key { background: var(--note); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; margin: 1.2em 0; }
.article-body .key p:last-child, .article-body .key ul:last-child { margin-bottom: 0; }
.article-body .tbl-scroll { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--r); }
.article-body .tbl { min-width: 520px; font-size: 14.5px; }
.article-body .sources { font-size: 14px; color: var(--ink-2); }
.article-body .sources li { margin-bottom: .3em; overflow-wrap: anywhere; }
.offers-box { margin: 1.4em 0; }
.article-body .offers-box { font-size: 15px; line-height: 1.55; }
@media (max-width: 560px) { .prose.article-body { padding: 20px 16px; } }

/* ---------- «Проверка МФО» — главная функция сайта ---------- */
.nav-mark .nav-link { display: flex; align-items: center; gap: 6px; color: var(--accent); white-space: nowrap; }
.nav-mark .nav-link .ico { width: 18px; height: 18px; flex: none; }
@media (min-width: 961px) and (max-width: 1180px) { .hbar-in { gap: 16px; } .nav-link { padding-left: 8px; padding-right: 8px; } .hsearch { flex-basis: 190px; } }
a.badge-cbr { text-decoration: none; }
a.badge-cbr:hover { border-color: #2f5d3a; color: #2f5d3a; }
.pc-meta a.pc-reg { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.pc-meta a.pc-reg:hover { color: var(--accent); }

.mfc { background: var(--ink); color: #d8dde3; }
.mfc-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: center; padding-top: 38px; padding-bottom: 38px; }
.mfc h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 8px; }
.mfc p { margin: 0; }
.mfc-t p { max-width: 58ch; }
.mfc-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7fd6a0; }
.mfc-k .ico { width: 18px; height: 18px; }
.mfc-form { display: flex; gap: 8px; }
.mfc-form input { flex: 1 1 auto; min-width: 0; height: 50px; font-size: 16px; }
.mfc-form .btn { flex: none; height: 50px; padding: 0 24px; font-size: 15px; }
.mfc-ex { font-size: 13px; color: #a9b1bb; margin-top: 12px !important; }
.mfc-ex a { color: #fff; }
@media (max-width: 860px) { .mfc-in { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 30px; } }

.mfc.mfc-compact { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); margin: 28px 0 0; }
.mfc-compact .mfc-in { grid-template-columns: auto 1fr minmax(260px, 400px); gap: 14px 18px; padding: 18px 20px; }
.mfc-compact .mfc-in > .ico { width: 30px; height: 30px; color: var(--accent); }
.mfc-compact .mfc-t b { display: block; font: 700 17px/1.3 var(--serif); }
.mfc-compact .mfc-t span { font-size: 13.5px; color: var(--ink-2); }
.mfc-compact .mfc-form input, .mfc-compact .mfc-form .btn { height: 44px; }
@media (max-width: 860px) { .mfc-compact .mfc-in { grid-template-columns: 1fr; } .mfc-compact .mfc-in > .ico { display: none; } }

/* ---------- статья: шапка с обложкой во всю ширину и две колонки ---------- */
.art-hero { background: var(--ink); color: #d8dde3; }
.art-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; padding-bottom: 40px; }
.art-hero .crumbs { padding-top: 16px; color: #98a1ac; }
.art-hero .crumbs a { color: #98a1ac; }
.art-hero .crumbs a:hover { color: #fff; }
.art-hero .article-c { color: #7fd6a0; margin: 26px 0 10px; }
.art-hero h1 { color: #fff; font-size: clamp(28px, 3.3vw, 42px); margin-bottom: .4em; }
.art-hero .lead { color: #d8dde3; font-size: 18px; max-width: 60ch; }
.art-hero .article-meta { color: #98a1ac; margin-top: 16px; }
.art-hero-img { display: block; width: 100%; height: auto; border-radius: 14px; margin-top: 28px; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-top: 32px; }
.art-main > .prose { max-width: none; }
.art-main > #article-foot .note { max-width: none; margin: 0 0 8px; }
.art-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.art-side .side-toc { margin-top: 0; }
#article-toc { display: none; }
@media (max-width: 1020px) {
  .art-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .art-side { position: static; }
  .art-side .side-toc { display: none; }
  #article-toc { display: block; }
  #article-toc .toc { max-width: none; margin: 0 0 20px; }
}
@media (max-width: 860px) {
  .art-hero-in { grid-template-columns: 1fr; gap: 0; padding-bottom: 28px; }
  .art-hero-img { order: -1; margin-top: 18px; }
  .art-hero .article-c { margin-top: 18px; }
  .art-hero .lead { font-size: 16.5px; }
}

/* проверка МФО в боковой колонке статьи */
.mfc.mfc-sidecard { border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mfc-sidecard b { color: #fff; font: 700 19px/1.25 var(--serif); }
.mfc-sidecard p { font-size: 13.5px; line-height: 1.5; }
.mfc-sidecard .mfc-form { flex-direction: column; margin-top: 6px; }
.mfc-sidecard .mfc-form input, .mfc-sidecard .mfc-form .btn { height: 46px; width: 100%; flex: none; }

/* карточка статьи с обложкой */
.article.article-pic { padding: 0; overflow: hidden; gap: 0; }
.article-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-b { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-pic .article-b { padding: 16px 18px 18px; }
.articles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

/* ---------- картинки и схемы внутри статьи ---------- */
.article-body figure { margin: 1.7em 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.article-body figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
/* шаги в ряд */
.article-body .flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-body .flow li { position: relative; margin: 0; padding: 14px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid #8b94a0; border-radius: var(--r); display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.article-body .flow b { font: 700 17px/1.25 var(--serif); color: var(--ink); }
.article-body .flow .ok { border-top-color: var(--accent); }
.article-body .flow .warn { border-top-color: #c2410c; }
.article-body .flow .ok b::before { content: '✓'; display: inline-block; margin-right: 6px; color: var(--accent); }
.article-body .flow .warn b::before { content: '!'; display: inline-block; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: #c2410c; color: #fff; font: 700 14px/20px var(--sans); text-align: center; vertical-align: 2px; }
.article-body .flow li + li::after { content: '→'; position: absolute; left: -15px; top: 50%; width: 16px; margin-top: -11px; font: 700 15px/22px var(--sans); color: var(--muted); text-align: center; }
.article-body .flow-plus li + li::after { content: '+'; }
@media (max-width: 640px) {
  .article-body .flow { grid-template-columns: 1fr; }
  .article-body .flow li + li::after { content: '↓'; left: 50%; top: -17px; margin: 0 0 0 -8px; }
  .article-body .flow-plus li + li::after { content: '+'; }
  .article-body figure { padding: 14px; }
}
/* этапы по времени */
.article-body .tl { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.article-body .tl::before { content: ''; position: absolute; left: 8px; top: 10px; bottom: 14px; width: 2px; background: #cfd5db; }
.article-body .tl li { position: relative; margin: 0 0 16px; display: flex; flex-direction: column; gap: 2px; }
.article-body .tl li:last-child { margin-bottom: 0; }
.article-body .tl li::before { content: ''; position: absolute; left: -29px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); box-sizing: border-box; }
.article-body .tl b { font: 700 17px/1.3 var(--serif); }
.article-body .tl span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
/* сравнение длительности полосами */
.wbars { display: grid; grid-template-columns: max-content 1fr max-content; gap: 12px 14px; align-items: center; font-size: 14.5px; }
.wbars .wb-l { color: var(--ink-2); }
.wbars .wb-t { height: 20px; background: var(--line-2); border-radius: 0 4px 4px 0; }
.wbars .wb-t i { display: block; height: 100%; min-width: 3px; background: var(--accent); border-radius: 0 4px 4px 0; }
.wbars b { font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .wbars { grid-template-columns: 1fr max-content; } .wbars .wb-l { grid-column: 1 / -1; margin-bottom: -8px; } }
/* график */
.chart-scroll { overflow-x: auto; }
.chart { display: block; width: 100%; min-width: 540px; height: auto; font-family: var(--sans); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 12.5px; }
.chart .lbl { fill: var(--ink); font-size: 13.5px; font-weight: 600; }
.chart .lbl-m { fill: var(--muted); font-size: 12.5px; }
.chart .wash { fill: var(--accent); fill-opacity: .1; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .cap { stroke: var(--ink); stroke-width: 1; }
.chart .cap-old { stroke: #9aa3ae; stroke-width: 1; }
.chart .dot { fill: var(--accent); stroke: var(--paper); stroke-width: 2; }
.chart .hit { fill: transparent; }
/* колонки статьи не должны растягиваться под широкую таблицу или график — те прокручиваются внутри себя */
.art-main, .art-side { min-width: 0; }
@media (max-width: 1020px) { .art-layout { grid-template-columns: minmax(0, 1fr); } }
/* в карточке с обложкой заголовок не растягивается: текст идёт сразу под ним, дата — внизу */
.article-pic .article-t { flex: none; }
.article-pic .article-l { flex: 1; }

/* ---------- «липкие» колонки не выше экрана ----------
   Липкой остаётся только короткая карточка с действием; оглавление идёт в потоке и уходит вверх при прокрутке.
   Иначе колонка выше окна залипает, и её низ недоступен, пока не долистаешь страницу до конца. */
.prod-side { position: static; align-self: stretch; }
.prod-side .side-box { position: static; } /* 13.11.2026: блок с кнопкой не «едет» за прокруткой — по просьбе пользователя */
.art-side { position: static; align-self: stretch; }
.art-side .mfc-sidecard { position: sticky; top: 84px; z-index: 2; }
.filters { max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1020px) { .art-side .mfc-sidecard { position: static; } }

/* ---------- сравнения «X или Y» ---------- */
.tbl-vs { min-width: 520px; }
.tbl-vs thead th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.tbl-vs tbody th { width: 34%; font-weight: 500; color: var(--ink-2); background: var(--paper); }
.tbl-vs td { width: 33%; font-weight: 600; }
.vs-points { margin: 0; padding: 18px 22px 18px 40px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); max-width: 860px; }
.vs-points li { margin-bottom: 8px; color: var(--ink-2); }
.vs-points li:last-child { margin-bottom: 0; }
.vs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs-cards .pcard { margin-bottom: 6px; }
@media (max-width: 860px) { .vs-cards { grid-template-columns: minmax(0, 1fr); } }
.vs-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vs-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.vs-tile:hover { border-color: var(--ink); color: var(--ink); }
.vs-t { font: 700 18px/1.3 var(--serif); }
.vs-t i { font-style: normal; font-weight: 400; color: var(--muted); }
.vs-d { font-size: 13px; color: var(--muted); }
/* карточки в сравнении — одна под другой: компактной карточке нужна полная ширина */
.vs-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }

/* цифры на главной (предложений · организаций · дата) — на телефоне в одну строку, подписи переносятся под цифрой */
@media (max-width: 600px) {
  .hero-facts { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 16px; flex-wrap: nowrap; }
  .hero-facts b { font-size: 22px; white-space: nowrap; }
  .hero-facts span { font-size: 12px; line-height: 1.3; }
}
@media (max-width: 360px) {
  .hero-facts { gap: 0 10px; }
  .hero-facts b { font-size: 19px; }
}

/* ---------- главная: разделы каталога — цветные кнопки под шапкой (13.11.2026) ---------- */
.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; }
.hero-in { padding-bottom: 28px; }
.cats-wrap { padding-bottom: 40px; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
/* плитка «Помощь в получении кредита» — на две колонки, чтобы название шло в одну строку и ряды были одной высоты; dense — без дыр в сетке */
.cats { grid-auto-flow: row dense; }
.cat-wide { grid-column: span 2; }
.cat-fill { grid-column: span var(--s4, 1); }
.cat {
  --c: #3d4b63; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px 14px 14px;
  border-radius: 14px; text-decoration: none; color: var(--ink);
  background: var(--surface); background: color-mix(in srgb, var(--c) 8%, var(--surface));
  border: 1px solid var(--line); border-color: color-mix(in srgb, var(--c) 24%, transparent);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.cat:hover { color: var(--ink); background: color-mix(in srgb, var(--c) 15%, var(--surface)); transform: translateY(-2px); box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 20%, transparent); }
.cat:focus-visible { outline: 3px solid color-mix(in srgb, var(--c) 45%, transparent); outline-offset: 2px; }
.cat-i { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 35%, transparent); }
.cat-i .ico { width: 26px; height: 26px; }
.cat-x { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cat-t { font-weight: 700; font-size: 16px; line-height: 1.2; }
.cat-n { font-size: 13px; font-weight: 600; color: var(--muted); color: color-mix(in srgb, var(--c) 75%, var(--ink)); }
.cat-a { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
@media (max-width: 1020px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-fill { grid-column: span var(--s2, 1); } }
@media (max-width: 600px) {
  .cats { grid-template-columns: 1fr; gap: 8px; }
  .cat-wide, .cat-fill { grid-column: auto; }
  .cat { min-height: 60px; padding: 9px 14px 9px 9px; border-radius: 12px; }
  .cat-i { width: 42px; height: 42px; border-radius: 11px; }
  .cats-wrap { padding-bottom: 28px; }
  /* на телефоне сразу под текстом — кнопки разделов; быстрый подбор дублирует их */
  .hero .quick { display: none; }
  .hero-in { padding-bottom: 20px; }
}

/* ---------- телефон: нижняя панель разделов, как в приложении ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(29, 35, 44, .07);
    padding: 5px 2px calc(5px + env(safe-area-inset-bottom));
  }
  .tab-i { --c: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0 2px; font: inherit; font-size: 11px; font-weight: 600; line-height: 1.1; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; }
  .tab-i .ico { width: 24px; height: 24px; color: var(--c); }
  .tab-i.on { color: var(--ink); }
  .tab-i.on .ico { stroke-width: 2.1; }
  .tab-more .ico { color: var(--ink-2); }
  body { padding-bottom: var(--tabbar-h, calc(62px + env(safe-area-inset-bottom))); }
  .cookie { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- новости (13.11.2026) ---------- */
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.news-list-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.news-i { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.news-i:hover { color: var(--ink); border-color: var(--ink-2); box-shadow: 0 6px 18px rgba(29, 35, 44, .08); }
.news-i.is-more { display: none; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 0; }
.news-chip { --c: #3d4b63; display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); }
.news-t { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.news-l { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-4 .news-l { -webkit-line-clamp: 3; }
.news-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 20px; }
.nf { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.nf:hover { color: #fff; background: var(--ink-2); }
.nf-k { font-size: 13px; color: #c9ced6; }
.nf-v { font: 700 30px/1.1 var(--serif); }
.nf-d { font-size: 12.5px; color: #8fd3a5; }
.news-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.news-tag { --c: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.news-tag.on { background: var(--c); border-color: var(--c); color: #fff; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; margin-top: 8px; }
.news-h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 10px 0 18px; max-width: 30ch; }
.news-body { max-width: 760px; }
.news-quote { margin: 0 0 16px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--note); border-radius: 0 var(--r) var(--r) 0; }
.news-quote p { margin: 0 0 6px; }
.news-quote cite { font-style: normal; font-size: 13px; color: var(--muted); }
.news-src { font-size: 13.5px; color: var(--muted); }
.news-links { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.news-links span { color: var(--muted); }
.news-orgs { columns: 2; column-gap: 32px; padding-left: 18px; }
.news-orgs li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 1020px) { .news-list-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-layout { grid-template-columns: minmax(0, 1fr); } .news-layout .art-side { display: none; } }
@media (max-width: 700px) { .news-list, .news-list-4, .news-facts { grid-template-columns: minmax(0, 1fr); } .news-orgs { columns: 1; } .nf-v { font-size: 26px; } }

/* =====================================================================
   ДИЗАЙН 13.11.2026: логотип, шапка главной, карточки, шапки разделов, шторка фильтров, кнопка «Оформить» на телефоне
   ===================================================================== */
/* ---- логотип ---- */
.logo-svg { width: 38px; height: 38px; flex: none; display: block; }
.logo-text { font: 800 21px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.logo-text b { font-weight: 800; color: #0f7a3d; }
.logo-inv .logo-text, .logo-inv .logo-text b { color: #fff; }
.logo-inv .logo-text b { color: #7fd6a0; }

/* ---- шапка главной: мягкий цветной фон, справа — проверка МФО ---- */
.hero { background: radial-gradient(1200px 420px at 85% -10%, #d9f2e2 0%, rgba(217, 242, 226, 0) 60%), linear-gradient(180deg, #f2faf5 0%, var(--paper) 100%); border-bottom: 0; }
.hero-in { align-items: center; }
.hero-pts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-pts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid #cfe9d8; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hero-pts li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; flex: none; }
.mfc.mfc-hero { background: var(--surface); color: var(--ink-2); border-radius: 18px; padding: 24px; box-shadow: 0 18px 50px rgba(15, 122, 61, .14), 0 2px 6px rgba(24, 32, 42, .05); border: 1px solid #d7ecdf; }
.mfc-hero .mfc-k { color: #0f7a3d; }
.mfc-hero h2 { color: var(--ink); font-size: 23px; margin: 10px 0 8px; }
.mfc-hero p { font-size: 14.5px; color: var(--ink-2); }
.mfc-hero .mfc-form { margin-top: 16px; }
.mfc-hero .mfc-form input { border-radius: 12px; border: 1.5px solid #bfdcc9; background: #fbfdfc; }
.mfc-hero .mfc-form input:focus { border-color: #16a34a; }
.mfc-hero .mfc-form .btn { border-radius: 12px; }
.mfc-hero .mfc-ex { color: var(--muted); }
.mfc-hero .mfc-ex a { color: var(--ink-2); }
@media (max-width: 600px) {
  .mfc.mfc-hero { padding: 18px; border-radius: 16px; }
  .mfc-hero h2 { font-size: 20px; }
  .mfc-hero .mfc-form { flex-direction: column; }
  .mfc-hero .mfc-form .btn { width: 100%; }
  .hero-pts { margin-top: 16px; }
  .hero-pts li { font-size: 12.5px; }
}

/* телефон: сначала текст, потом кнопки разделов, потом проверка МФО */
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero > .hero-in { display: contents; }
  .hero > .hero-in > div:first-child { order: 1; padding: 28px 16px 0; }
  .hero > .cats-wrap { order: 2; padding-top: 20px; padding-bottom: 20px; width: 100%; box-sizing: border-box; align-self: stretch; }
  .hero > .hero-in > .zero { order: 3; margin: 0 16px 28px; }
  .hero-pts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .hero-pts::-webkit-scrollbar { display: none; }
  .hero-pts li { white-space: nowrap; }
}

/* ---- 1. карточки предложений: крупнее и нагляднее ---- */
.pcard { border-radius: 16px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcard:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(24, 32, 42, .09); }
.pc-main { grid-template-columns: minmax(230px, 1.1fr) 2.5fr auto; gap: 24px; padding: 20px 22px; }
.pcard .org-logo { width: 60px; height: 60px; border-radius: 14px; }
.pc-name { font-size: 18px; }
.pc-figs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 18px; }
.fig-v { min-width: 0; } /* числа с неразрывными пробелами — переносятся только между словами */
.fig-l { font-size: 11px; letter-spacing: .07em; }
.fig-v { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.fig-v.long { font-size: 14px; }
.promo { border-radius: 999px; padding: 4px 11px; background: #d9480f; color: #fff; font-size: 12px; letter-spacing: .01em; box-shadow: 0 3px 10px rgba(217, 72, 15, .22); }
.pc-act .btn { min-height: 48px; border-radius: 12px; font-size: 15px; }
.pc-foot { background: #f8faf9; }
.pcard-compact .pc-main { padding: 16px 18px; }
@media (max-width: 960px) { .pc-main, .pcard-compact .pc-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .pc-main, .pcard-compact .pc-main { padding: 16px; gap: 14px; }
  .pcard .org-logo { width: 54px; height: 54px; }
  .pc-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper); border-radius: 12px; padding: 12px 14px; }
  .fig-v { font-size: 19px; }
  .pc-act, .pcard-compact .pc-act { flex-direction: column; align-items: stretch; gap: 10px; }
  .pc-act .btn { width: 100%; min-height: 50px; font-size: 16px; }
  .pc-more { text-align: center; }
}

/* ---- 3. шапка раздела в цвет раздела ---- */
.cat-band { --c: #3d4b63; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, var(--surface)) 0%, var(--paper) 100%); border-bottom: 1px solid color-mix(in srgb, var(--c) 14%, transparent); padding-bottom: 18px; margin-bottom: 22px; }
.cat-band .crumbs { padding-top: 16px; }
.cat-head { display: flex; gap: 18px; align-items: flex-start; max-width: 900px; }
.cat-badge { flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--c); color: #fff; display: grid; place-items: center; margin-top: 4px; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 30%, transparent); }
.cat-badge .ico { width: 30px; height: 30px; }
.cat-head-t { min-width: 0; }
.cat-band .sublinks a { background: rgba(255, 255, 255, .8); border-radius: 999px; }
.cat-band .sublinks a.on { background: var(--c); border-color: var(--c); color: #fff; }
/* наведение: иначе срабатывает общее .sublinks a:hover (белый текст) поверх светлого фона полоски — текст пропадал */
.cat-band .sublinks a:not(.on):hover { background: #fff; border-color: var(--c); color: var(--c); }
@media (max-width: 600px) {
  .cat-head { gap: 12px; }
  .cat-badge { width: 44px; height: 44px; border-radius: 12px; }
  .cat-badge .ico { width: 24px; height: 24px; }
  .cat-band .sublinks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .cat-band .sublinks::-webkit-scrollbar { display: none; }
  .cat-band .sublinks a { white-space: nowrap; }
}

/* ---- 3. фильтры на телефоне — шторка снизу ---- */
.sheet-done { display: none; }
@media (max-width: 860px) {
  .filters, .filters[open] { position: static; padding: 0; border: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .filters > summary { display: inline-flex; justify-content: flex-start; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 14.5px var(--sans); }
  .filters > summary .ico { width: 18px; height: 18px; }
  .filters > summary::after { content: none !important; }
  .filters[open] > summary { background: var(--ink); color: #fff; border-color: var(--ink); }
  .filters[open]::before { content: ''; position: fixed; inset: 0; background: rgba(15, 20, 28, .45); z-index: 79; }
  .filters[open] > form { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; max-height: 80vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 18px 18px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 40px rgba(0, 0, 0, .2); margin: 0; }
  .filters[open] > form::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: -8px auto 16px; }
  .sheet-done { display: block; margin-top: 10px; min-height: 48px; border-radius: 12px; }
}

/* ---- 4. страница продукта на телефоне: «Оформить» над нижней панелью ---- */
@media (max-width: 760px) {
  .m-cta { bottom: calc(var(--tabbar-h, calc(62px + env(safe-area-inset-bottom))) - 1px); z-index: 58; box-shadow: 0 -6px 18px rgba(24, 32, 42, .08); }
  .m-cta .btn { min-height: 46px; border-radius: 12px; padding: 0 20px; }
  body[data-page="product"] { padding-bottom: calc(var(--tabbar-h, calc(62px + env(safe-area-inset-bottom))) + 76px); }
}

/* ---- 5. ШРИФТ ЗАГОЛОВКОВ: современный без засечек (Inter). Откат — удалить этот блок, вернётся PT Serif ---- */
:root { --serif: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.022em; }
h3, h4 { letter-spacing: -.012em; }
.lead { letter-spacing: -.003em; }
/* ---- конец блока шрифта ---- */

/* ---- главная: «Займы под 0% сегодня» ---- */
.zero { background: var(--surface); border: 1px solid #f3d9c9; border-radius: 18px; padding: 20px; box-shadow: 0 18px 50px rgba(217, 72, 15, .10), 0 2px 6px rgba(24, 32, 42, .05); }
.zero-h { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.zero-b { flex: none; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #ff7a1a, #d9480f); color: #fff; display: grid; place-items: center; font: 800 18px/1 var(--sans); letter-spacing: -.02em; box-shadow: 0 6px 16px rgba(217, 72, 15, .3); }
.zero-h h2 { font-size: 21px; margin: 0 0 2px; }
.zero-h p { margin: 0; font-size: 13.5px; color: var(--muted); }
.zero-list { display: flex; flex-direction: column; }
.zr { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.zr .org-logo { width: 44px; height: 44px; border-radius: 12px; }
.zr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zr-n { font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; }
.zr-n:hover { color: var(--accent); }
.zr-c { font-size: 13px; color: var(--ink-2); }
.zr .ad { margin-top: 1px; font-size: 11px; }
.zr-btn { flex: none; min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.zero-f { display: flex; justify-content: space-between; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 14px; }
.zero-f span { font-size: 12px; color: var(--muted); }
@media (max-width: 420px) { .zr { flex-wrap: wrap; } .zr-btn { width: 100%; } }

/* ---- новости на телефоне: компактнее ---- */
@media (max-width: 700px) {
  .news-facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .news-facts::-webkit-scrollbar { display: none; }
  .nf { flex: 0 0 74%; scroll-snap-align: start; padding: 14px 16px; }
  .nf-v { font-size: 24px; }
  .news-tags { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .news-tags::-webkit-scrollbar { display: none; }
  .news-tag { white-space: nowrap; flex: none; }
  .news-i { padding: 14px 16px; gap: 6px; }
  .news-t { font-size: 15.5px; }
  .news-l { -webkit-line-clamp: 2; font-size: 13.5px; }
}

/* полоса «Проверка МФО» на главной: заголовок в одну строку на компьютере */
.mfc:not(.mfc-hero):not(.mfc-compact) h2 { font-size: clamp(20px, 2.05vw, 26px); }

/* ---- логотип «ФК» (14.11.2026): Ф — зелёная, К — чёрная ---- */
.logo-fk { flex: none; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid #cfe3d6; box-shadow: 0 2px 6px rgba(15, 122, 61, .10);
  font: 800 19px/1 var(--sans); letter-spacing: -.04em; color: #18202a; }
.logo-fk b { color: #0f7a3d; font-weight: 800; }
.logo-inv .logo-fk { border-color: #fff; box-shadow: none; }

/* ---- блок «Банки отказывают в кредите?» → ФИНРЕШЕНИЕ (renderFresh, 27.11.2026) ---- */
.fresh { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; background: var(--note); border: 1px solid #cfe3d6; border-radius: var(--r); padding: 26px 28px; }
.fresh h2 { margin: 4px 0 8px; }
.fresh p { margin: 0; color: var(--muted); max-width: 760px; }
.fresh-k { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.fresh-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fresh-note { font-size: 13px; color: var(--muted); }
div.fresh { margin: 28px 0; }
@media (max-width: 760px) {
  .fresh { grid-template-columns: 1fr; padding: 20px 16px; }
  .fresh-side, .fresh .btn { width: 100%; }
  .fresh .btn { text-align: center; justify-content: center; }
}
