/* ═══════════════════════════════════════════════════════════
   fin-rocket — лендинг «Гарантии, кредиты, проектное финансирование»
   Структура — как главная bizprodct.ru; палитра — в духе СберБизнеса:
   глубокий зелёно-бирюзовый, сочный зелёный #21A038, мятные акценты.
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #21A038;
  --green-600: #1C8F32;
  --green-700: #147A2C;
  --teal: #107F8C;
  --teal-2: #21A19A;
  --deep: #073B3A;
  --deep-2: #0B4F45;
  --deep-3: #0E6B4B;
  --mint: #C6F4C6;
  --mint-2: #E4F7E6;
  --mint-3: #F1FAF2;
  --lime: #9BF04B;
  --ink: #1F1F22;
  --ink-2: #353A40;
  --muted: #5E6670;
  --muted-2: #8D949D;
  --bg: #F2F4F5;
  --line: #E2E6E9;
  --line-2: #ECEFF1;
  --red: #D92D20;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 25, .05);
  --shadow: 0 1px 2px rgba(20, 30, 25, .04), 0 12px 32px rgba(20, 30, 25, .07);
  --shadow-lg: 0 30px 70px rgba(5, 40, 35, .28);
  --grad-deep: radial-gradient(70% 90% at 88% 8%, rgba(155, 240, 75, .30) 0%, rgba(155, 240, 75, 0) 60%), radial-gradient(60% 80% at 70% 105%, rgba(33, 161, 154, .55) 0%, rgba(33, 161, 154, 0) 70%), linear-gradient(135deg, #0E6B4B 0%, #0B4F45 48%, #073B3A 100%);
  --grad-green: linear-gradient(135deg, #2DB34A 0%, #21A038 55%, #168A34 100%);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; }
:focus-visible { outline: 3px solid rgba(33, 160, 56, .45); outline-offset: 2px; border-radius: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.t-short { display: none; }

/* ── Кнопки, бейджи ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 15px; line-height: 1.2; padding: 12px 22px;
  transition: background-color .15s, box-shadow .15s, transform .15s, color .15s, filter .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-green); color: #fff; box-shadow: 0 10px 22px rgba(33, 160, 56, .30); }
.btn--primary:hover { filter: brightness(1.05) saturate(1.05); box-shadow: 0 14px 28px rgba(33, 160, 56, .38); }
.btn--white { background: #fff; color: var(--teal); box-shadow: 0 10px 24px rgba(0, 20, 18, .25); }
.btn--white:hover { color: var(--green-700); background: #F6FFF7; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--ghost { background: #EAEFEC; color: var(--ink); }
.btn--ghost:hover { background: #DFE7E2; }
.btn .i { width: 18px; height: 18px; }

.pill { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.25; }
.pill--glass { background: rgba(255, 255, 255, .14); color: #E6FFE6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--mint-2); color: var(--green-700); font-size: 12.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.badge--mint { background: var(--mint-2); }

/* ── Логотип fin-rocket (черновик до фирменного) ─────────── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #2DB34A 0%, #21A038 45%, #107F8C 100%); box-shadow: 0 6px 14px rgba(16, 127, 90, .3);
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text b { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.logo__text b span { color: var(--green); }
.logo__text small { font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }

/* ── Шапка: плавающая капсула ───────────────────────────── */
.header { position: sticky; top: 0; z-index: 60; padding-top: 14px; }
.header__cap {
  display: flex; align-items: center; gap: 22px; height: 62px; padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, .94); border-radius: 22px;
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 30px rgba(20, 40, 30, .08); border: 1px solid rgba(226, 230, 233, .8);
}
.header__nav { display: flex; gap: 6px; margin-left: 8px; }
.header__nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .15s, color .15s; }
.header__nav a:hover { background: var(--mint-3); color: var(--green-700); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--bg); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.header__burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { margin-top: 8px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 6px 18px 12px; }
.mobile-menu__nav { display: grid; }
.mobile-menu__nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
.mobile-menu__nav a:last-child { border-bottom: 0; }

/* ── 1. Главный экран (бенто) ───────────────────────────── */
.hero { padding: 16px 0 14px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 336px; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-main {
  grid-row: 1 / span 2; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); background: var(--grad-deep); color: #fff;
  min-height: 396px; padding: 38px 42px; display: flex; align-items: center;
  box-shadow: 0 24px 60px rgba(7, 59, 58, .30);
}
/* «северное сияние» как на sberbank.ru — размытые цветные ленты */
.hero-main__aurora {
  position: absolute; z-index: -1; width: 980px; height: 210px; right: -300px; bottom: 70px; border-radius: 50%;
  background: linear-gradient(90deg, rgba(33, 160, 56, 0) 0%, rgba(155, 240, 75, .55) 35%, rgba(47, 224, 208, .55) 70%, rgba(47, 224, 208, 0) 100%);
  filter: blur(46px); transform: rotate(-20deg); opacity: .75; pointer-events: none;
}
.hero-main__aurora--2 { width: 760px; height: 150px; right: -180px; bottom: 210px; opacity: .45; transform: rotate(-32deg); background: linear-gradient(90deg, rgba(47, 224, 208, 0), rgba(47, 224, 208, .6), rgba(155, 240, 75, 0)); }
/* заголовок «лесенкой»: первая строка широкая — над ракетой (просьба клиента 01.10), переносы — <br class="hero-br"> на ≥761 px */
.hero-main__content { position: relative; z-index: 2; }
.hero-main__title { margin: 14px 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.hero-main__lead { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 410px; margin-bottom: 24px; }
.hero-main__cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* ракета — в правом нижнем углу, не заходит на колонку текста (≤ 430–560 px слева) */
.hero-main__art { position: absolute; z-index: 1; right: -5%; bottom: -3%; width: min(46%, 500px); height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 30px 40px rgba(0, 20, 18, .45)); }

.promo {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--r-lg); padding: 20px 20px 18px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 190px; box-shadow: var(--shadow-sm);
}
.promo__title { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; max-width: 250px; margin-top: 4px; }
.promo__sub { font-size: 13px; color: var(--muted); max-width: 230px; }
.promo__tiles { position: absolute; right: 22px; bottom: 20px; display: grid; grid-template-columns: repeat(4, 12px); gap: 6px; }
.promo__tiles i { width: 12px; height: 12px; border-radius: 4px; background: var(--mint-2); }
.promo__tiles i.f { background: var(--green); }
.promo__tiles i.h { background: #8AD69A; }
.promo__ring { position: absolute; right: 18px; bottom: 14px; width: 66px; height: 66px; }
.promo__ring svg { width: 66px; height: 66px; }
.promo__ring .ring-bg { fill: none; stroke: var(--mint-2); stroke-width: 6; }
.promo__ring .ring-fg { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.promo__ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--green-700); letter-spacing: -.02em; }

/* ── Общие секции ───────────────────────────────────────── */
.section { padding: 42px 0; }
.section--first { padding-top: 34px; }
.section--banks { padding: 0 0 8px; }
.section-head { margin-bottom: 22px; }
.section-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.section-head .section-title { margin-bottom: 0; }
.section-sub { margin-top: 10px; font-size: 16.5px; color: var(--muted); max-width: 640px; }
.section-sub a { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ── 2. Продукты ─────────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 20px 22px 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px; border: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product:hover { border-color: #BFE6C6; box-shadow: var(--shadow); transform: translateY(-2px); }
.product__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product__title { font-size: 20px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.product__text { font-size: 14px; color: var(--muted); min-height: 62px; }
.product__facts { list-style: none; margin: 6px 0 4px; padding: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line-2); }
.product__facts li { display: flex; flex-direction: column; line-height: 1.25; }
.product__facts b { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.product__facts span { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.product__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 10px; }

/* ── 3. Лента банков ─────────────────────────────────────── */
.bank-strip { background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.bank-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%); }
.bank-track { display: flex; width: max-content; animation: bank-run 42s linear infinite; will-change: transform; }
@keyframes bank-run { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.bank-group { display: flex; flex-shrink: 0; }
.bank-slot { flex-shrink: 0; height: 80px; padding: 0 36px; display: flex; align-items: center; }
.bank-slot img { height: var(--h, 24px); width: auto; max-width: 156px; filter: grayscale(1) brightness(var(--b, 1)); opacity: .55; transition: filter .25s, opacity .25s; }
.bank-slot:hover img { filter: none; opacity: 1; }

/* ── 4. Почему выбирают ─────────────────────────────────── */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why__item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r-lg); padding: 20px 20px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.why__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why__item img { width: 60px; height: 60px; flex-shrink: 0; object-fit: contain; margin: -6px 0 -6px -6px; }
.why__item h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 7px; }
.why__item p { font-size: 14px; color: var(--muted); }

/* ── 5. Шаги ────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 20px 18px 20px; box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 44%; z-index: 3; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpolyline points='9 6 15 12 9 18' fill='none' stroke='%2321A038' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(20, 40, 30, .08);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step__num { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-green); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 8px 18px rgba(33, 160, 56, .32); }
.step__top img { width: 54px; height: 54px; object-fit: contain; }
.step h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── 6. Цифры: тёмный блок в духе Сбера ─────────────────── */
.stats { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: #151A19; color: #fff; padding: 30px 34px 34px; }
.stats__aurora { position: absolute; z-index: -1; width: 900px; height: 180px; left: -160px; bottom: -60px; border-radius: 50%; background: linear-gradient(90deg, rgba(33, 160, 56, 0), rgba(33, 160, 56, .55), rgba(47, 224, 208, .45), rgba(47, 224, 208, 0)); filter: blur(50px); transform: rotate(-8deg); opacity: .8; }
.stats__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.stats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stats__grid li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-md); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 5px; }
.stats__grid b { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #fff; }
.stats__grid span { font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.stats__grid li.is-hi { background: var(--grad-green); border-color: transparent; box-shadow: 0 14px 30px rgba(33, 160, 56, .35); }
.stats__grid li.is-hi span { color: rgba(255, 255, 255, .88); }

/* ── 7. Калькулятор ─────────────────────────────────────── */
.calc { background: #fff; border-radius: 30px; box-shadow: var(--shadow); padding: 12px; }
.calc__tabs { display: inline-flex; gap: 6px; padding: 5px; margin: 14px 16px 6px; background: var(--bg); border-radius: 999px; }
.calc__tab { border: 0; background: transparent; cursor: pointer; padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background-color .15s, color .15s, box-shadow .15s; }
.calc__tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(20, 40, 30, .1); }
.calc__panel { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr); gap: 12px; }
.calc__inputs { padding: 14px 20px 20px; display: grid; gap: 20px; align-content: start; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { display: block; padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
.field__hint { margin-top: 8px; font-size: 12.5px; color: var(--muted-2); }
.field.is-disabled { opacity: .4; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; cursor: pointer; user-select: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background-color .15s, border-color .15s, color .15s; }
.chip span:hover { border-color: #A9DDB3; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(33, 160, 56, .4); outline-offset: 2px; }
/* выпадающий список в калькуляторах (вид гарантии, кредитный продукт) — вместо чипов, чтобы занимал меньше места */
.select {
  display: block; width: 100%; height: 54px; padding: 0 48px 0 18px; border-radius: 16px; border: 1.5px solid var(--line);
  background: #F6F8F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231F1F22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
  color: var(--ink); font: 700 16px/1.2 "Onest", system-ui, sans-serif; letter-spacing: -.01em;
  appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.select:hover { border-color: #A9DDB3; }
.select:focus-visible { border-color: var(--green); background-color: #fff; box-shadow: 0 0 0 4px rgba(33, 160, 56, .12); }
/* Chrome 135+: открытый список оформлен в стиле сайта; в остальных браузерах — системный.
   Тот же вид — у списка «Сумма» в форме заявки. */
@supports (appearance: base-select) {
  .select, .input select { appearance: base-select; display: flex; align-items: center; }
  .select::picker(select), .input select::picker(select) { appearance: base-select; margin: 6px 0; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(20, 30, 25, .16); }
  .select::picker-icon, .input select::picker-icon { display: none; }
  .select option, .input select option { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; color: var(--ink-2); font: 600 15px/1.3 "Onest", system-ui, sans-serif; cursor: pointer; }
  .select option:hover, .input select option:hover, .select option:focus-visible, .input select option:focus-visible { background: var(--mint-3); color: var(--ink); outline: none; }
  .select option:checked, .input select option:checked { background: var(--mint-2); color: var(--green-700); font-weight: 700; }
  .select option::checkmark, .input select option::checkmark { order: 1; margin-left: auto; color: var(--green-700); }
  .select:open, .input select:open { border-color: var(--green); background-color: #fff; box-shadow: 0 0 0 4px rgba(33, 160, 56, .12); }
}
.range-input__box { display: flex; align-items: baseline; gap: 8px; padding: 12px 18px; border-radius: 16px; background: #F6F8F7; border: 1.5px solid var(--line); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.range-input__box:focus-within { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(33, 160, 56, .12); }
.range-input__value { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0; font: 800 23px/1.2 "Onest", system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.range-input__unit { font-size: 18px; font-weight: 600; color: var(--muted); }
.range-input__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; margin: 8px 0 0; background: transparent; cursor: pointer; --p: 50%; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--teal-2)) 0 / var(--p) 100% no-repeat, #DDE3E0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 3px 10px rgba(20, 110, 50, .35); transition: transform .15s; }
.range:active::-webkit-slider-thumb { transform: scale(1.1); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(33, 160, 56, .22), 0 3px 10px rgba(20, 110, 50, .35); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: #DDE3E0; }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--green); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 3px 10px rgba(20, 110, 50, .35); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick button { border: 0; cursor: pointer; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 13px; font-weight: 600; transition: background-color .15s, color .15s; }
.quick button:hover { background: #E4EAE6; }
.quick button.is-active { background: var(--mint-2); color: var(--green-700); }
.calc__result { border-radius: 24px; background: linear-gradient(180deg, #F2FAF3 0%, #E8F6EB 100%); padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.calc__result-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.calc__price { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__from { font-size: .5em; font-weight: 700; color: var(--muted); letter-spacing: 0; vertical-align: .35em; }
.calc__price-range { margin-top: -6px; font-size: 15px; color: var(--ink-2); }
.calc__price-range span { font-weight: 700; }
.spread { background: rgba(255, 255, 255, .85); border-radius: 16px; padding: 14px 16px; }
.spread__bar { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #21A038 0%, #C5E86C 55%, #F2A541 100%); }
.spread__scale { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted-2); }
.spread__text { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.calc__rows { margin: 0; display: grid; gap: 8px; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.calc__rows dt { color: var(--muted); }
.calc__rows dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.calc__result .btn { margin-top: auto; }
.calc__note { font-size: 12px; line-height: 1.45; color: var(--muted-2); }
.split__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #DDE3E0; }
.split__a { background: var(--green); transition: width .25s; }
.split__b { background: var(--teal-2); transition: width .25s; }
.split__legend { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.split__legend li { display: flex; align-items: center; gap: 8px; }
.split__legend b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--a { background: var(--green); }
.dot--b { background: var(--teal-2); }

/* ── 8. Вопросы ─────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: calc(var(--header-h) + 20px); }
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 17px 56px 17px 22px; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 2.2px; border-radius: 2px; background: var(--green); transition: transform .2s; }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__body { padding: 0 24px 22px; font-size: 15.5px; color: var(--muted); }
.faq__body a { font-weight: 600; }

/* ── 9. Заявка ──────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--grad-deep); color: #fff; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; align-items: center; box-shadow: 0 24px 60px rgba(7, 59, 58, .28); }
.cta__aurora { position: absolute; z-index: -1; width: 900px; height: 200px; left: -260px; bottom: -40px; border-radius: 50%; background: linear-gradient(90deg, rgba(155, 240, 75, 0), rgba(155, 240, 75, .45), rgba(47, 224, 208, .5), rgba(47, 224, 208, 0)); filter: blur(50px); transform: rotate(-12deg); opacity: .7; }
.cta__title { font-size: clamp(26px, 2.7vw, 34px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.cta__text { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .86); max-width: 470px; }
.cta__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.cta__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cta__points .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(198, 244, 198, .2); color: var(--mint); }

.form { position: relative; z-index: 2; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; box-shadow: var(--shadow-lg); }
.form__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg); }
.form__seg label { position: relative; }
.form__seg input { position: absolute; opacity: 0; pointer-events: none; }
.form__seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.form__seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(20, 40, 30, .12); }
.form__seg input:focus-visible + span { outline: 3px solid rgba(33, 160, 56, .4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input { display: grid; gap: 6px; min-width: 0; }
.input > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.input em { font-style: normal; font-weight: 500; color: var(--muted-2); font-size: 12.5px; }
.input input, .input select { width: 100%; height: 48px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #F6F8F7; color: var(--ink); font: 500 16px "Onest", system-ui, sans-serif; outline: none; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.input select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235E6670' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input input::placeholder { color: #9AA3AB; }
.input input:focus, .input select:focus { border-color: var(--green); background-color: #fff; box-shadow: 0 0 0 4px rgba(33, 160, 56, .12); }
.input.is-invalid input { border-color: var(--red); background: #FFF6F5; }
.input--suggest { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); overflow: hidden; }
.suggest button { display: block; width: 100%; border: 0; background: #fff; text-align: left; cursor: pointer; padding: 10px 14px; font-size: 14px; color: var(--ink); line-height: 1.35; }
.suggest button + button { border-top: 1px solid var(--line-2); }
.suggest button:hover, .suggest button.is-active { background: var(--mint-3); }
.suggest small { display: block; color: var(--muted); font-size: 12.5px; }
.consents { display: grid; gap: 10px; margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #4F5760; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--green); cursor: pointer; }
.check.is-invalid span { color: var(--red); }
.form__error { margin: 0; color: var(--red); font-size: 14px; font-weight: 600; }
.form__done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 8px 18px; }
.form__done .i { width: 64px; height: 64px; color: var(--green); margin-bottom: 6px; }
.form__done b { font-size: 21px; font-weight: 800; }
.form__done span { color: var(--muted); max-width: 300px; }
.form.is-done > *:not(.form__done):not(input[type="hidden"]) { display: none; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ── Подвал ─────────────────────────────────────────────── */
.footer { background: #fff; padding: 44px 0 30px; margin-top: 32px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__col b { font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.footer__col a, .footer__col span { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--green-700); }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--muted-2); }
.footer__legal p + p { margin-top: 8px; }

/* ── Мобильная панель, модалка, cookie ─────────────────── */
.mbar { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 25, 22, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 34px 32px 30px; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.modal__close:hover { background: #E4EAE6; }
.modal__eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--mint-2); color: var(--green-700); font-size: 13px; font-weight: 700; }
.modal__title { margin: 12px 0 6px; font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; padding-right: 32px; }
.modal__summary { margin: 8px 0 4px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--mint-3); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.form--modal { padding: 0; box-shadow: none; margin-top: 16px; }
body.has-modal { overflow: hidden; }
.cookie { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.cookie[hidden] { display: none; }
/* затемнение — до выбора сайтом пользоваться нельзя (как на bizprodct.ru) */
.cookie__overlay { position: absolute; inset: 0; background: rgba(7, 30, 28, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cookie__box { position: relative; width: min(1080px, 100%); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 24px; animation: cookie-up .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes cookie-up { from { transform: translateY(calc(100% + 24px)); } to { transform: none; } }
.cookie__body { flex: 1; min-width: 0; }
.cookie__title { display: block; font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.cookie__body p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cookie__body a { color: var(--green-700); font-weight: 600; }
.cookie__body .cookie__note { margin-top: 4px; font-size: 13px; color: var(--muted); }
.cookie__btns { display: flex; gap: 10px; flex-shrink: 0; }
body.has-cookie { overflow: hidden; }
/* на страницах документов окно без затемнения — текст можно читать до выбора */
.page-legal .cookie { pointer-events: none; }
.page-legal .cookie__overlay { display: none; }
.page-legal .cookie__box { pointer-events: auto; }

/* ═════════════ АДАПТИВ ═════════════ */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .hero-main { padding: 44px; }
  .hero-main__lead { max-width: 400px; }
  .hero-main__art { width: min(44%, 440px); right: -6%; }
  .header__cap { gap: 18px; }
  .header__nav a { padding: 9px 10px; }
  .cta { grid-template-columns: minmax(0, 1fr) 440px; padding: 32px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .hero-main { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .hero-main__lead { max-width: 390px; }
  .hero-main__art { width: min(44%, 420px); right: -6%; bottom: -4%; }
  .products { grid-template-columns: 1fr; }
  .product__text { min-height: 0; }
  .product__cta { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .calc__panel { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .faq-wrap > div:first-child { position: static; }
  .cta { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { padding: 0 16px; }
  .header { padding-top: 8px; }
  .header__cap { height: 60px; padding: 0 8px 0 10px; border-radius: 18px; }
  .logo__mark { width: 38px; height: 38px; border-radius: 12px; }
  .logo__text b { font-size: 19px; }
  .section { padding: 40px 0; }
  .section--first { padding-top: 34px; }
  .hero { padding: 12px 0 12px; }
  .hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-main { min-height: 0; padding: 28px 22px 240px; border-radius: 26px; align-items: flex-start; }
  .hero-main__title { font-size: 31px; }
  .hero-br { display: none; }
  .hero-main__lead { font-size: 15.5px; margin-bottom: 24px; }
  .hero-main__cta .btn { flex: 1 1 100%; }
  .hero-main__art { width: 300px; right: -26px; bottom: -40px; }
  .promo { min-height: 190px; }
  .product { display: flex; padding: 22px 18px 20px; }
  .product__title { font-size: 21px; }
  .product__facts b { font-size: 14.5px; }
  .product__facts span { font-size: 11.5px; }
  .why { grid-template-columns: 1fr; }
  .why__item { padding: 20px 18px; gap: 14px; }
  .why__item img { width: 60px; height: 60px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step::after { display: none; }
  .stats { padding: 28px 18px 22px; border-radius: 26px; }
  .stats__grid li { padding: 16px; }
  .stats__grid b { font-size: 28px; }
  .stats__grid span { font-size: 13px; }
  .calc { border-radius: 24px; padding: 8px; }
  .calc__tabs { display: flex; margin: 8px 8px 4px; }
  .calc__tab { flex: 1; padding: 11px 6px; font-size: 14px; }
  .t-long { display: none; }
  .t-short { display: inline; }
  .calc__inputs { padding: 14px 12px 18px; gap: 22px; }
  .calc__result { padding: 24px 18px 20px; border-radius: 20px; }
  .range-input__value { font-size: 23px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip span { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 44px; padding: 8px 10px; font-size: 13.5px; line-height: 1.2; border-radius: 14px; }
  .chips--compact { grid-template-columns: repeat(3, 1fr); }
  .faq__item summary { font-size: 16px; padding: 18px 52px 18px 18px; }
  .faq__item summary::before, .faq__item summary::after { right: 20px; }
  .faq__body { padding: 0 18px 18px; }
  .cta { padding: 30px 18px 18px; border-radius: 26px; gap: 26px; }
  .form { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .bank-slot { height: 64px; padding: 0 24px; }
  .bank-slot img { height: calc(var(--h, 24px) * .8); max-width: 116px; }
  .bank-track { animation-duration: 36s; }
  .mbar { display: grid; grid-template-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar a, .mbar button { height: 50px; border: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
  .mbar__lead { background: var(--grad-green); color: #fff; }
  .cookie { padding: 10px; }
  .cookie__box { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; border-radius: 20px; }
  .cookie__btns .btn { flex: 1; }
  .modal { align-items: end; padding: 0; }
  .modal__box { width: 100%; max-height: 92vh; border-radius: 26px 26px 0 0; padding: 30px 18px calc(22px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .header__cta { display: none; }
  .hero-main__title { font-size: clamp(25px, 7.4vw, 28px); }
  .hero-main { padding-bottom: 220px; }
  .hero-main__art { width: 270px; }
  .logo__text small { display: none; }
}

/* ═════════════ ВНУТРЕННИЕ СТРАНИЦЫ (гарантии, кредиты, проектное финансирование) ═════════════ */
.header__nav a[aria-current="page"] { background: var(--mint-2); color: var(--green-700); }
.mobile-menu__nav a[aria-current="page"] { color: var(--green-700); }
.product__title a { color: inherit; text-decoration: none; }
.product__title a:hover { color: var(--green-700); }
.section--tight-top { padding-top: 16px; }
.calc--single { padding-top: 12px; }

/* шапка страницы: текст + 3D справа, тот же глубокий градиент, что на главной */
.page-hero-wrap { padding: 18px 0 8px; }
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--grad-deep); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: center; padding: 36px 42px; min-height: 360px;
  box-shadow: 0 24px 60px rgba(7, 59, 58, .28);
}
.page-hero__content { position: relative; z-index: 2; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .66); margin-bottom: 16px; }
.crumbs a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
/* заголовок — одной строкой на десктопе (просьба клиента); при переносе строки выравниваются по длине */
.page-hero__title { margin: 14px 0 12px; font-size: clamp(28px, 3vw, 38px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.page-hero__lead { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 560px; }
.page-hero__points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 26px; }
.page-hero__points li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.page-hero__points .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(198, 244, 198, .2); color: var(--mint); }
.page-hero .hero-main__cta { margin-top: 28px; }
.page-hero__art { position: relative; z-index: 1; justify-self: center; width: auto; height: 280px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 20, 18, .45)); }

/* карточки видов — как «Виды банковских гарантий» на bizprodct.ru */
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 16px; }
.type-card {
  background: #fff; border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  border: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.type-card:hover { border-color: #BFE6C6; box-shadow: var(--shadow); transform: translateY(-2px); }
/* плашки законов — одной строкой (просьба клиента); перенос остаётся запасным вариантом */
.type-card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 26px; }
.type-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.type-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.type-card__link { margin-top: auto; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); font-weight: 700; font-size: 14.5px; padding: 6px 4px 0; }
.type-card__link .i { width: 16px; height: 16px; transition: transform .15s; }
.type-card__link:hover .i { transform: translateX(3px); }
.law { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.law--223 { background: #E4F7E6; color: #147A2C; }
.law--44 { background: #DFF3F2; color: #0E6F7A; }
.law--615 { background: #EEF5DD; color: #4F7A12; }
.law--275 { background: #FFF1DC; color: #A45A06; }

/* проектное финансирование */
.pf-keys { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-keys li { background: #fff; border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; }
.pf-keys__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pf-keys__label .i { width: 18px; height: 18px; }
.pf-keys b { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pf-keys li.is-hi { background: var(--grad-green); color: #fff; box-shadow: 0 14px 30px rgba(33, 160, 56, .3); }
.pf-keys li.is-hi .pf-keys__label { color: rgba(255, 255, 255, .85); }
.pf-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-card { background: #fff; border-radius: var(--r-lg); padding: 20px 20px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.pf-card--wide { grid-column: 1 / -1; }
.pf-card__ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--mint-2); color: var(--green-700); display: grid; place-items: center; }
.pf-card__ic .i { width: 24px; height: 24px; }
.pf-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 6px; }
.pf-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.pf-tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tags li { padding: 5px 12px; border-radius: 999px; background: var(--mint-3); border: 1px solid #D5EFD9; color: var(--green-700); font-size: 13px; font-weight: 600; }

@media (max-width: 1180px) {
  .page-hero { grid-template-columns: minmax(0, 1fr) 200px; padding: 40px; }
  .page-hero__art { height: 260px; }
}
@media (max-width: 1024px) {
  .page-hero { grid-template-columns: minmax(0, 1fr) 190px; padding: 36px; }
  .page-hero__art { height: 230px; }
  .type-card { padding: 22px 16px; }
  .page-hero__points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero-wrap { padding: 12px 0 0; }
  .page-hero { grid-template-columns: 1fr; padding: 26px 20px 0; border-radius: 26px; min-height: 0; gap: 8px; }
  .page-hero__title { font-size: 28px; }
  .page-hero__lead { font-size: 15.5px; }
  .page-hero .hero-main__cta .btn { flex: 1 1 100%; }
  .page-hero__art { height: 210px; margin: 6px auto -18px; }
  .types { grid-template-columns: 1fr; }
  .type-card { padding: 22px 18px; }
  .pf-keys { grid-template-columns: 1fr; }
  .pf-keys li { padding: 20px; }
  .pf-details { grid-template-columns: 1fr; }
  .pf-card { padding: 20px 18px; gap: 14px; }
}

/* не разрывать слово с дефисом («банков-партнёров») */
.nowrap { white-space: nowrap; }
@media (max-width: 420px) {
  .type-card__tags { gap: 5px; }
  .law { padding: 3px 8px; font-size: 11px; }
}

/* ═════════════ ПРАВОВЫЕ ДОКУМЕНТЫ (политика, соглашение) ═════════════ */
.legal-page { padding-top: 18px; }
.crumbs--light { color: var(--muted); margin-bottom: 14px; }
.crumbs--light a { color: var(--green-700); }
.legal { max-width: 880px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 40px 48px 44px; }
.legal h1 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.legal__date { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 30px 0 10px; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.legal p { margin: 10px 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.legal ul { margin: 8px 0 12px; padding-left: 22px; }
.legal li { margin: 6px 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.legal a { color: var(--green-700); overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .legal { padding: 24px 18px 28px; border-radius: 20px; }
  .legal p, .legal li { font-size: 14.5px; }
}
