/* =========================================================
   Финкод — обновлённая главная страница
   Палитра сохранена с текущего сайта и логотипа.
   ========================================================= */

/* Montserrat 9.0 (SIL Open Font License, см. assets/fonts/OFL.txt): кириллица + латиница,
   с табличными цифрами — все цифры одинаковой ширины */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-Bold.woff2') format('woff2'); }
:root {
  /* Цвета сайта */
  --teal: #3B8A8F;          /* основной цвет кнопок текущего сайта */
  --teal-bright: #00BDB5;   /* акцент текущего сайта */
  --teal-tint: rgba(59, 138, 143, 0.12);
  /* Цвета логотипа */
  --indigo: #1D0E47;        /* «ФИН» */
  --green: #01876F;         /* «КОД» */
  /* Нейтральные */
  --ink: #333333;
  --grey: #666666;
  --bg: #F8F8F8;
  --line: #E5E5E5;
  --white: #FFFFFF;

  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow: 0 18px 40px rgba(29, 14, 71, 0.18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: 24px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  /* Ровные цифры: одинаковой ширины и высоты; слова не переносятся по слогам */
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: 'tnum' 1, 'lnum' 1;
  -webkit-hyphens: manual; hyphens: manual; overflow-wrap: normal; word-break: normal; }
h1, h2, h3, .param__value, .news-card__title, .fact__title, .faq__list summary, .review__video-title, .lead__sub, .debtors__title { text-wrap: balance; }
p, dd, blockquote, .param__label, .chip { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration-color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--grey); }
.accent { color: var(--teal); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--indigo); color: var(--white); padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 2px solid transparent; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .25s, border-color .2s, box-shadow .25s, transform .25s var(--ease), background-size .4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29, 14, 71, 0.22); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 10px rgba(29, 14, 71, 0.16); transition-duration: .08s; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn__arrow { display: inline-block; margin-left: 10px; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--primary { background-color: var(--indigo); color: var(--white); }
.btn--primary:hover { color: var(--white); }
/* Обводная кнопка заливается индиго слева направо */
.btn--outline { background-color: var(--white); background-image: linear-gradient(var(--indigo), var(--indigo)); background-repeat: no-repeat; background-size: 0% 100%; color: var(--indigo); border-color: var(--teal); }
.btn--outline:hover { background-size: 100% 100%; color: var(--white); border-color: var(--indigo); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: '→'; display: inline-block; margin-left: .35em; color: var(--teal); transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Верхняя полоса ---------- */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--grey); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar__info, .topbar__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar a { color: var(--grey); text-decoration: none; }
.topbar a:hover { color: var(--indigo); }
.topbar .topbar__strong { color: var(--indigo); font-weight: 600; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.logo { flex: none; display: block; }
.logo img { height: 36px; width: auto; }
.header__panel { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px 18px; }
.nav { display: flex; gap: 6px 12px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; white-space: nowrap; }
.header .btn { white-space: nowrap; }
.nav a:hover { color: var(--teal); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 700; color: var(--indigo); text-decoration: none; white-space: nowrap; }

.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--indigo); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero { padding: 64px 0 80px; overflow-x: hidden; overflow-x: clip; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill { align-self: flex-start; background: var(--teal-tint); color: var(--indigo); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.hero__title { font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--indigo); }
.hero__title .accent { letter-spacing: 0; white-space: nowrap; }
.footnote-ref { color: var(--teal); text-decoration: none; font-size: 0.5em; vertical-align: super; margin-left: 2px; }
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--grey); max-width: 560px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.hero__stats div { display: flex; flex-direction: column; gap: 6px; }
.hero__stats dt { font-size: 38px; font-weight: 700; line-height: 1; color: var(--teal); white-space: nowrap; }
.hero__stats dd { font-size: 15px; line-height: 1.45; color: var(--grey); max-width: 240px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { flex: 1 1 420px; min-width: 0; position: relative; height: 540px; border-radius: 32px; background: var(--teal); overflow: hidden; }
.shape { position: absolute; inset: 0; }
.shape--indigo { background: var(--indigo); clip-path: polygon(52% 0, 100% 0, 100% 62%); }
.shape--green { background: var(--green); clip-path: polygon(0 38%, 46% 100%, 0 100%); }
.shape--bright { background: var(--teal-bright); clip-path: polygon(100% 62%, 100% 100%, 72% 100%); }
.hero__rate { position: absolute; left: 36px; top: 36px; display: flex; flex-direction: column; gap: 6px; color: var(--white); }
.hero__rate-num { font-size: 96px; font-weight: 700; line-height: 0.95; letter-spacing: 0; }
.hero__rate-cap { font-size: 22px; font-weight: 700; }
.coupon-card { position: absolute; left: 28px; right: 28px; bottom: 28px; background: var(--white); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.coupon-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; color: var(--indigo); }
.coupon-card__head .muted { font-weight: 400; font-size: 14px; }
.coupon-card__bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.coupon-card__bars i { height: 34px; border-radius: 7px; background: var(--teal-bright); }
.coupon-card__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; }
.coupon-card__row strong { color: var(--indigo); font-weight: 600; }

/* ---------- Секции ---------- */
.section { padding: 88px 0; }
.section--grey { background: var(--bg); }
.section--tight { padding: 40px 0; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section__title { font-size: clamp(24px, 7vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; color: var(--indigo); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.eyebrow::before { content: ''; width: 24px; height: 3px; border-radius: 2px; background: var(--teal); }

/* ---------- Параметры ---------- */
.params { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.param { background: var(--white); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.param__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.param__label { font-size: 14px; line-height: 1.4; color: var(--grey); }
.param__value { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--indigo); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; }
.icon-box svg, .fact svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- О компании ---------- */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.about__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.about__text .eyebrow { margin-bottom: 0; }
.about__lead { font-size: 18px; line-height: 1.65; }
.about__text .link-arrow { align-self: flex-start; }
.about__cards { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; text-decoration: none; }
.fact--wide { grid-column: 1 / -1; gap: 10px; }
.fact--indigo { background: var(--indigo); color: var(--white); }
.fact__num { font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; line-height: 1; color: var(--teal-bright); white-space: nowrap; }
.fact__cap { color: #D9D4E6; }
.fact__link { color: var(--white); font-weight: 600; margin-top: 8px; }
.fact__link:hover { color: var(--teal-bright); }
.fact--teal { background: var(--teal); color: var(--white); }
.fact--teal svg { width: 32px; height: 32px; stroke: var(--white); }
.fact--light { background: var(--bg); border: 1px solid var(--line); color: var(--indigo); }
.fact--light svg { width: 32px; height: 32px; }
.fact--light:hover { border-color: var(--teal); color: var(--indigo); }
.fact__title { font-size: 18px; font-weight: 700; line-height: 1.3; }

/* ---------- Карточки (новости, отзывы) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.news-card { background: var(--white); border-radius: 22px; padding: 28px; min-height: 200px; display: flex; flex-direction: column; gap: 18px; color: var(--indigo); text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.news-card:hover { border-color: var(--teal); color: var(--indigo); }
.chip { align-self: flex-start; background: var(--teal-tint); color: var(--indigo); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.news-card__title { font-size: 19px; font-weight: 700; line-height: 1.35; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__intro .eyebrow { margin-bottom: 0; }
.faq__phone { font-size: 20px; font-weight: 700; text-decoration: none; }
.faq__list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 18px 0; cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--indigo); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 500; line-height: 1; transition: transform .2s, background-color .2s, color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--indigo); color: var(--white); }
.faq__list details p { padding: 0 56px 24px 0; font-size: 17px; line-height: 1.65; }

/* ---------- Отзывы ---------- */
.review { background: var(--white); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { font-size: 16px; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption > span:last-child { display: flex; flex-direction: column; }
.review figcaption strong { color: var(--indigo); font-weight: 600; }
.review figcaption .muted { font-size: 14px; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.avatar--teal { background: var(--teal); }
.avatar--green { background: var(--green); }
.review--video { background: var(--indigo); color: var(--white); min-height: 260px; }
.review__video-head { display: flex; align-items: center; gap: 16px; }
.play { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--teal-bright); display: flex; align-items: center; justify-content: center; }
.play svg { width: 26px; height: 26px; fill: var(--indigo); }
.review__video-title { font-size: 21px; font-weight: 700; line-height: 1.3; }
.review__videos { display: flex; flex-direction: column; gap: 10px; }
.review__videos a { display: flex; justify-content: space-between; gap: 12px; color: var(--white); text-decoration: none; border-top: 1px solid #3A2C63; padding-top: 12px; }
.review__videos a:hover .review__watch { text-decoration: underline; }
.review__watch { color: var(--teal-bright); font-weight: 600; }

/* ---------- Должникам ---------- */
.debtors { border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.debtors__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.debtors__title { font-size: 26px; font-weight: 700; color: var(--indigo); }
.debtors__links { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.debtors__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; background: var(--bg); border-radius: 14px; padding: 14px 18px; font-weight: 600; text-decoration: none; }
.debtors__links a::after { content: '→'; color: var(--teal); transition: transform .25s var(--ease); }
.debtors__links a:hover::after { transform: translateX(5px); }
.debtors__links a:hover { background: var(--teal-tint); color: var(--indigo); }

/* ---------- Заявка ---------- */
/* Временно скрыты формы заявок по всему сайту */
#lead,
#form {
  display: none !important;
}

#lead { padding-bottom: 96px; }
.lead { position: relative; overflow: hidden; background: var(--teal); border-radius: 32px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.lead__shape { position: absolute; inset: 0; background: var(--green); clip-path: polygon(0 60%, 30% 100%, 0 100%); }
.lead__text { position: relative; flex: 999 1 420px; min-width: 0; color: var(--white); display: flex; flex-direction: column; gap: 14px; }
.lead__title { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.lead__sub { font-size: 22px; font-weight: 600; line-height: 1.45; }
.lead-form { position: relative; flex: 1 1 380px; min-width: 0; background: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 52px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); padding: 0 16px; font: 16px var(--font); color: var(--ink); }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); background: var(--white); }
.field input[aria-invalid="true"] { border-color: #C62828; }
.field__error { font-size: 13px; color: #C62828; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--grey); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--teal); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.lead-form__status { font-size: 15px; font-weight: 600; color: var(--indigo); }
.lead-form__status:empty { display: none; }
.lead-form.is-sent .field, .lead-form.is-sent .check, .lead-form.is-sent button { display: none; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #CCCCCC; font-size: 15px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--teal-bright); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; padding: 56px 0 40px; }
.footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__brand img { height: 36px; width: auto; max-width: none; }
.footer__nav { flex: 1 1 290px; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; align-content: start; }
.footer__contacts { flex: 1 1 240px; font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.footer__phone { font-size: 20px; font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; border-top: 1px solid #474747; padding: 24px 0 32px; font-size: 13px; color: #BBBBBB; }
.footer__bottom p { flex: 1 1 420px; max-width: 760px; line-height: 1.55; }

/* =========================================================
   Анимации
   ========================================================= */

/* ---------- Карточки ---------- */
.param, .news-card, .review, .fact { transition: transform .3s var(--ease), box-shadow .3s, border-color .2s, background-color .2s; }
.param:hover, .review:hover, .news-card:hover, .fact--teal:hover, .fact--light:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(29, 14, 71, 0.10); }
.param .icon-box { transition: transform .35s var(--ease), background-color .2s; }
.param:hover .icon-box { transform: rotate(-8deg) scale(1.08); background: rgba(59, 138, 143, 0.2); }
.play { transition: transform .3s var(--ease); }
.review--video:hover .play { transform: scale(1.08); }

/* ---------- Шапка ---------- */
.header { transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(29, 14, 71, 0.08); }
.header__panel.is-open { animation: fade-down .3s var(--ease) both; }

/* ---------- Ключевые кадры ---------- */
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-down { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
@keyframes slide-in { from { opacity: 0; translate: 48px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes grow-y { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes shape-a { from { translate: 45% -20%; } to { translate: 0 0; } }
@keyframes shape-b { from { translate: -40% 30%; } to { translate: 0 0; } }
@keyframes shape-c { from { translate: 40% 40%; } to { translate: 0 0; } }

/* ---------- Первый экран при загрузке ---------- */
.hero__text > * { animation: rise .8s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__text > :nth-child(5) { animation-delay: .32s; }
.hero__visual { animation: slide-in .9s var(--ease) .1s both; }
.shape--indigo { animation: shape-a 1.3s var(--ease) .25s both; }
.shape--green { animation: shape-b 1.3s var(--ease) .35s both; }
.shape--bright { animation: shape-c 1.3s var(--ease) .45s both; }
.hero__rate { animation: rise .8s var(--ease) .5s both; }
.coupon-card { animation: rise .8s var(--ease) .65s both; }
.coupon-card__bars i { transform-origin: 50% 100%; animation: grow-y .45s var(--ease) both; animation-delay: calc(.9s + var(--i, 0) * .05s); }
.coupon-card__bars i:nth-child(2) { --i: 1; } .coupon-card__bars i:nth-child(3) { --i: 2; } .coupon-card__bars i:nth-child(4) { --i: 3; }
.coupon-card__bars i:nth-child(5) { --i: 4; } .coupon-card__bars i:nth-child(6) { --i: 5; } .coupon-card__bars i:nth-child(7) { --i: 6; }
.coupon-card__bars i:nth-child(8) { --i: 7; } .coupon-card__bars i:nth-child(9) { --i: 8; } .coupon-card__bars i:nth-child(10) { --i: 9; }
.coupon-card__bars i:nth-child(11) { --i: 10; } .coupon-card__bars i:nth-child(12) { --i: 11; }

/* ---------- Появление при прокрутке (класс .js ставит main.js) ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease) var(--d, 0s), translate .7s var(--ease) var(--d, 0s), transform .3s var(--ease), box-shadow .3s, border-color .2s, background-color .2s; }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Мелочи ---------- */
.faq__list details[open] p { animation: rise .4s var(--ease) both; }
.lead-form__status { animation: rise .4s var(--ease) both; }
[data-count] { display: inline-block; text-align: right; }

/* ---------- Адаптив ---------- */
@media (max-width: 1360px) and (min-width: 1280px) {
  .nav { gap: 6px 10px; }
  .nav .nav__link { font-size: 14px; }
  .header__phone { font-size: 14px; }
}

@media (max-width: 1279px) {
  .burger { display: flex; }
  .header__inner { flex-wrap: wrap; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
  .header__panel { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 16px; }
  .header__panel.is-open { display: flex; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .header__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .header__phone { font-size: 18px; padding: 8px 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .topbar__info li:not(:first-child) { display: none; }
  .logo img { height: 34px; }
  .hero { padding: 36px 0 56px; }
  .hero__inner { gap: 32px; }
  .hero__stats dt { font-size: 30px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { height: 440px; border-radius: 24px; }
  .hero__rate { left: 24px; top: 24px; }
  .hero__rate-num { font-size: 72px; }
  .hero__rate-cap { font-size: 18px; }
  .coupon-card { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
  .coupon-card__bars i { height: 26px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 28px 0; }
  .section__head { margin-bottom: 28px; }
  .params { grid-template-columns: 1fr; gap: 8px; }
  .param { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .param .icon-box { flex: none; width: 40px; height: 40px; }
  .param__value { font-size: 16px; }
  .about__cards { grid-template-columns: 1fr; }
  .fact { padding: 24px; }
  .faq__list summary { font-size: 17px; }
  .faq__list details p { padding-right: 0; font-size: 16px; }
  .debtors { padding: 24px; }
  .lead { padding: 28px 20px; border-radius: 24px; }
  .lead__sub { font-size: 18px; }
  .lead-form { padding: 22px; }
}

@media (max-width: 380px) {
  .param__value { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .btn:hover, .btn:active, .param:hover, .review:hover, .news-card:hover, .fact:hover, .param:hover .icon-box { transform: none; }
}

@media print {
  .topbar, .header, .hero__visual, #lead, .footer__nav { display: none !important; }
  .section { padding: 24px 0; }
}

/* =========================================================
   Внутренние страницы
   ========================================================= */

/* ---------- Меню с подменю ---------- */
.nav { align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav .nav__link { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; white-space: nowrap; }
.nav .nav__link:hover { color: var(--teal); }
.nav .nav__link.is-current { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--teal); }
.nav__toggle { width: 22px; height: 32px; margin-left: 2px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--grey); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav__toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.nav__toggle:hover { color: var(--indigo); background: var(--teal-tint); }
.nav__sub { position: absolute; top: calc(100% + 10px); left: -18px; z-index: 70; min-width: 280px; margin: 0; padding: 10px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(29, 14, 71, 0.14); opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .2s, translate .2s var(--ease), visibility .2s; }
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; translate: 0 0; }
.nav__item:hover > .nav__toggle svg, .nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }
.nav .nav__sub a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); text-decoration: none; white-space: normal; text-wrap: balance; }
.nav .nav__sub a:hover { background: var(--teal-tint); color: var(--indigo); }
.nav .nav__sub a[aria-current="page"] { background: var(--teal-tint); color: var(--indigo); font-weight: 600; }

/* ---------- Шапка страницы ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero__inner { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 48px; }
.page-hero__title { margin-top: 18px; max-width: 920px; font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: var(--indigo); }
.page-hero__lead { margin-top: 16px; max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--grey); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.page-hero__shape { position: absolute; top: 0; right: 0; bottom: 0; width: min(38vw, 520px); pointer-events: none; }
.page-hero__shape::before, .page-hero__shape::after { content: ''; position: absolute; inset: 0; }
.page-hero__shape::before { background: var(--teal); opacity: .14; clip-path: polygon(45% 0, 100% 0, 100% 100%, 10% 100%); }
.page-hero__shape::after { background: var(--indigo); opacity: .08; clip-path: polygon(78% 0, 100% 0, 100% 70%); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--grey); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ''; width: 6px; height: 6px; border-right: 1.6px solid var(--grey); border-top: 1.6px solid var(--grey); transform: rotate(45deg); opacity: .7; }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--indigo); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--indigo); font-weight: 500; }

/* ---------- Раскладка с боковым меню ---------- */
.page-body { padding: 56px 0 88px; }
.layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; }
.side { flex: 1 1 240px; min-width: 0; max-width: 290px; position: sticky; top: 104px; }
.content { flex: 999 1 640px; min-width: 0; }
.side-nav__title { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.side-nav ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.side-nav a { display: block; padding: 11px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s; }
.side-nav a:hover { background: var(--bg); color: var(--indigo); }
.side-nav a[aria-current="page"] { background: var(--indigo); color: var(--white); }
.side-help { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--bg); font-size: 14px; color: var(--grey); }
.side-help a { display: block; margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--indigo); text-decoration: none; white-space: nowrap; }

/* ---------- Текст ---------- */
.prose { max-width: 780px; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 700; color: var(--indigo); }
.prose h3 { margin-top: 1.5em; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--indigo); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose strong { font-weight: 700; color: var(--indigo); }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin-left: 0; padding-left: 0; list-style: none; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 30px; }
.prose li + li { margin-top: .5em; }
.prose ul > li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-tint); color: var(--indigo); font-size: 13px; font-weight: 700; line-height: 22px; text-align: center; }
.prose blockquote { margin: 1.4em 0; padding: 22px 24px; border-radius: 16px; background: var(--bg); color: var(--ink); }
.prose figure { margin: 1.6em 0; }
.prose img { border-radius: 16px; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--grey); }
.prose a { overflow-wrap: anywhere; }
.lead-text { font-size: 19px; line-height: 1.6; color: var(--ink); }

/* ---------- Общие блоки ---------- */
.block + .block { margin-top: 56px; }
.block__title { margin-bottom: 20px; font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.2; color: var(--indigo); }
.block__lead { margin: -8px 0 20px; color: var(--grey); }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.card--tint { border-color: transparent; background: var(--bg); }
.card--indigo { border-color: transparent; background: var(--indigo); color: var(--white); }
.card__num { display: block; margin-bottom: 12px; font-size: 32px; font-weight: 700; line-height: 1; color: var(--teal); }
.card__title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--indigo); }
.card--indigo .card__title { color: var(--white); }
.card__text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--grey); }
.card--indigo .card__text { color: #D9D4E6; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
a.card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 16px 32px rgba(29, 14, 71, 0.10); }
.card__more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--indigo); }
.card__more::after { content: '→'; display: inline-block; margin-left: .35em; color: var(--teal); transition: transform .25s var(--ease); }
a.card:hover .card__more::after { transform: translateX(5px); }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; background: var(--bg); color: var(--ink); white-space: nowrap; }
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); }
.badge--live { background: var(--teal-tint); color: var(--indigo); }
.badge--live::before { background: var(--green); }
.badge--closed::before { background: var(--indigo); }
.badge--done { background: transparent; border: 1px solid var(--line); color: var(--grey); }

.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px 32px; border-radius: 24px; background: var(--indigo); color: var(--white); }
.callout__text { flex: 999 1 380px; min-width: 0; }
.callout__title { font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.2; }
.callout__title em { font-style: normal; color: var(--teal-bright); }
.callout__sub { margin-top: 8px; color: #D9D4E6; }
.callout .btn { flex: 0 0 auto; }
.btn--light { background-color: var(--white); color: var(--indigo); }
.btn--light:hover { color: var(--indigo); }

/* ---------- Документы ---------- */
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.doc-nav a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--indigo); text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.doc-nav a:hover { border-color: var(--teal); background: var(--teal-tint); }
.doc-group { scroll-margin-top: 110px; }
.doc-group + .doc-group { margin-top: 40px; }
.doc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s, padding .25s var(--ease); }
.doc:hover { background: var(--bg); padding-left: 12px; padding-right: 12px; color: var(--indigo); }
.doc__ext { flex: none; width: 46px; height: 52px; border-radius: 8px 14px 8px 8px; background: var(--teal-tint); color: var(--indigo); font-size: 12px; font-weight: 700; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 9px; }
.doc__ext--xlsx { background: rgba(1, 135, 111, 0.12); }
.doc__name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.4; color: var(--indigo); }
.doc__size { flex: none; font-size: 14px; color: var(--grey); white-space: nowrap; }
.doc__icon { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.doc:hover .doc__icon { transform: translateY(2px); }

/* ---------- Реквизиты ---------- */
.req { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.req__row { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 6px 24px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.req__row:last-child { border-bottom: 0; }
.req__row:nth-child(even) { background: var(--bg); }
.req dt { color: var(--grey); }
.req dd { margin: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--indigo); }
.req__val { min-width: 0; }
.copy { flex: none; position: relative; width: 36px; height: 36px; margin: -6px -6px -6px 0; border: 0; border-radius: 10px; background: none; color: var(--teal); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.copy:hover { background: var(--teal-tint); color: var(--indigo); }
.copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy.is-done { color: var(--green); }
.copy__tip { position: absolute; right: 0; bottom: calc(100% + 6px); padding: 4px 8px; border-radius: 6px; background: var(--indigo); color: var(--white); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; translate: 0 4px; transition: opacity .2s, translate .2s; pointer-events: none; }
.copy.is-done .copy__tip { opacity: 1; translate: 0 0; }
.qr { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 24px; border-radius: 20px; background: var(--bg); }
.qr img { flex: none; width: 168px; height: 168px; border-radius: 12px; background: var(--white); padding: 8px; }
.qr__text { flex: 1 1 260px; min-width: 0; }
.qr__title { font-size: 20px; font-weight: 700; color: var(--indigo); }
.qr__sub { margin-top: 6px; color: var(--grey); }

/* ---------- Облигации ---------- */
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px 32px; border-radius: 24px; background: var(--teal); color: var(--white); }
.buy__text { flex: 999 1 360px; min-width: 0; }
.buy__title { font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.2; }
.buy__sub { margin-top: 8px; font-size: 18px; font-weight: 600; }
.issue { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); scroll-margin-top: 110px; }
.issue + .issue { margin-top: 16px; }
.issue__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.issue__kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.issue__title { margin-top: 4px; font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; color: var(--indigo); white-space: nowrap; }
.issue__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 24px; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.issue__facts dt { font-size: 14px; color: var(--grey); }
.issue__facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--indigo); }
.issue__rates { margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--indigo); }
.issue__more { margin-top: 20px; }
.issue__more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer; font-weight: 600; color: var(--indigo); }
.issue__more summary::-webkit-details-marker { display: none; }
.issue__more summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.issue__more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.issue--compact { padding: 22px 28px; }
.ptable { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable th { width: 46%; padding-right: 24px; font-weight: 400; color: var(--grey); }
.ptable td { font-weight: 600; color: var(--indigo); }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }

/* ---------- Цикл (структура деятельности) ---------- */
.cycle { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: c; }
.cycle li { position: relative; counter-increment: c; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px; border-radius: 18px; background: var(--bg); font-weight: 600; line-height: 1.4; color: var(--indigo); }
.cycle li::before { content: counter(c); flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 15px; font-weight: 700; }
.cycle li:last-child { background: var(--indigo); color: var(--white); }
.cycle li:last-child::before { background: var(--teal-bright); color: var(--indigo); }

/* ---------- График объёма ---------- */
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 16px; height: 300px; padding: 0 4px; border-bottom: 2px solid var(--line); }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bar__val { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--indigo); white-space: nowrap; }
.bar__fill { width: min(100%, 120px); border-radius: 4px 4px 0 0; background: var(--teal); transition: background-color .2s; }
.bar:hover .bar__fill { background: var(--indigo); }
.bars-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; padding: 10px 4px 0; text-align: center; font-size: 14px; color: var(--grey); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.big-number { font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1; color: var(--teal); white-space: nowrap; }

/* ---------- Эксперты ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 20px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
a.person:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 16px 32px rgba(29, 14, 71, 0.10); }
/* Фото в круглой рамке: белый зазор и тонкое кольцо, при наведении кольцо бирюзовое */
.person__photo, .person__initials { flex: none; width: 168px; height: 168px; border-radius: 50%; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line); transition: box-shadow .3s var(--ease); }
.person__photo { object-fit: cover; object-position: 50% 15%; background: var(--bg); }
.person__initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--teal-tint) 0%, rgba(29, 14, 71, 0.08) 100%); color: var(--indigo); font-size: 44px; font-weight: 700; letter-spacing: 0.02em; }
.person__initials--green { background: linear-gradient(145deg, rgba(1, 135, 111, 0.14) 0%, var(--teal-tint) 100%); color: var(--green); }
a.person:hover .person__photo,
a.person:hover .person__initials { box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--teal); }
.person__body { margin-top: 26px; }
.person__name { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--indigo); }
.person__role { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--grey); text-wrap: balance; }
.profile { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.profile__photo { flex: none; width: min(280px, 100%); height: auto; aspect-ratio: 1; margin: 9px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--bg); box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--line); }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.review-card { padding: 26px; border-radius: 20px; background: var(--bg); }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__name { font-weight: 700; color: var(--indigo); }
.review-card__meta { font-size: 14px; color: var(--grey); }
.review-card__text { margin-top: 16px; line-height: 1.65; }
.embed { position: relative; aspect-ratio: 16 / 9; margin-top: 16px; border-radius: 14px; overflow: hidden; background: var(--indigo); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Новости ---------- */
.year-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.year-nav a { min-width: 72px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--indigo); text-decoration: none; transition: background-color .2s, border-color .2s; }
.year-nav a:hover { border-color: var(--teal); background: var(--teal-tint); }
.year { scroll-margin-top: 110px; }
.year + .year { margin-top: 48px; }
.year__title { margin-bottom: 18px; font-size: 26px; font-weight: 700; color: var(--indigo); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.news-item:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 16px 32px rgba(29, 14, 71, 0.10); color: inherit; }
.news-item__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--bg); }
.news-item__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.news-item__title { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--indigo); }
.news-item__text { font-size: 15px; line-height: 1.55; color: var(--grey); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 56px; }
.pager a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.pager a:hover { border-color: var(--teal); background: var(--bg); }
.pager__label { font-size: 13px; color: var(--grey); }
.pager__title { margin-top: 6px; font-weight: 700; line-height: 1.35; color: var(--indigo); }
.pager__next { text-align: right; }

/* ---------- Контакты и формы ---------- */
.contacts-layout { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.contacts-layout .map { flex: 999 1 520px; min-width: 0; margin-top: 0; }
.contacts-layout .contact-cards { flex: 1 1 280px; min-width: 0; max-width: 360px; display: grid; grid-template-columns: 1fr; gap: 16px; align-content: start; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.contact-card { padding: 22px; border-radius: 20px; background: var(--bg); }
.contact-card__label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.contact-card__value { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--indigo); }
.contact-card__value a { color: var(--indigo); text-decoration: none; }
.map { margin-top: 24px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }
.contacts-layout .map iframe { height: 100%; min-height: 440px; }
.form-card { padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); }
.form-card__title { font-size: 24px; font-weight: 700; color: var(--indigo); }
.form-card__sub { margin-top: 6px; color: var(--grey); }
.form-card .b24-form { margin-top: 12px; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; text-align: center; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.partner:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(29, 14, 71, 0.08); }
.partner img { height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: center; }
.partner__name { font-weight: 700; line-height: 1.35; color: var(--indigo); }

/* ---------- Плашка внизу страницы ---------- */
.cta-band { padding: 0 0 96px; }
.cta-band .callout { background: var(--teal); }
.cta-band .callout__sub { color: var(--white); font-weight: 500; }

@media (max-width: 1279px) {
  .nav { align-items: stretch; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav .nav__item .nav__link { flex: 1; border-bottom: 0; }
  .nav .nav__link.is-current { box-shadow: none; color: var(--teal); }
  .nav__toggle { width: 44px; height: 44px; }
  .nav__sub { position: static; display: none; flex: 1 1 100%; min-width: 0; padding: 0 0 12px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; translate: none; transition: none; }
  .nav__sub::before { display: none; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__toggle svg { transform: none; }
  .nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }
  .nav .nav__sub a { padding: 10px 12px; border-bottom: 0; font-size: 16px; }
}
@media (max-width: 900px) {
  .side { position: static; max-width: none; flex-basis: 100%; }
  .side-nav { min-width: 0; }
  .side-nav ul { flex-direction: row; gap: 8px; max-width: 100%; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .side-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; }
  .side-help { display: none; }
  .page-hero__shape { width: 46vw; opacity: .7; }
}
@media (max-width: 760px) {
  .page-hero__inner { padding-top: 24px; padding-bottom: 36px; }
  .page-body { padding: 36px 0 64px; }
  .req__row { grid-template-columns: 1fr; padding: 14px 18px; }
  .issue { padding: 22px 18px; }
  .callout, .buy { padding: 24px 20px; }
  .doc { gap: 12px; }
  .doc__ext { width: 38px; height: 44px; font-size: 11px; padding-bottom: 7px; }
  .bars { height: 240px; }
  .map iframe { height: 340px; }
  .contacts-layout .map iframe { min-height: 340px; }
  .contacts-layout .contact-cards { max-width: none; }
  .form-card { padding: 22px 18px; }
  .cta-band { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__sub { transition: none; }
}

/* ---------- Уточнения ---------- */
.callout a:not(.btn), .cta-band .callout a:not(.btn) { color: var(--white); text-decoration: underline; text-decoration-color: var(--teal-bright); text-underline-offset: 3px; font-weight: 600; }
.callout a:not(.btn):hover { color: var(--teal-bright); }
.cta-band .callout a:not(.btn) { text-decoration-color: var(--white); }
.card__lead { font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--indigo); }
.issue__facts .is-wide { grid-column: span 2; }
.news-item__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) { .issue__facts .is-wide { grid-column: 1 / -1; } }
.bar--now .bar__fill { background: linear-gradient(180deg, var(--teal-bright), var(--teal)); }
.bar--now .bar__val { color: var(--teal); }

/* ===================== Управление, инвесторам, риски (правки, октябрь 2026) ===================== */
/* Переход к разделам страницы «Управление и инфраструктура» */
.org-jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 48px; }
.org-jump a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--indigo); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.org-jump a:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--indigo); }
.org-jump span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); font-weight: 700; }
.org { scroll-margin-top: 110px; }
.org + .org { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.org__head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
.org__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--indigo); color: var(--white); font-size: 20px; font-weight: 700; }
.org__kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.org__title { margin-top: 4px; font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.2; color: var(--indigo); }
.org__text { max-width: 860px; margin-bottom: 28px; padding: 22px 26px; border-radius: 18px; background: var(--bg); font-size: 17px; line-height: 1.7; color: var(--ink); }
.org__text strong { color: var(--indigo); }
.person__spec { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--grey); text-wrap: balance; }
.person__spec span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }

/* Инвесторам: два контура взаимодействия */
.contours { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.contour { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.contour--teal { border-color: transparent; background: var(--teal-tint); }
.contour__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contour__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 18px; font-weight: 700; }
.contour__title { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--indigo); }
.contour__lead { font-size: 16px; line-height: 1.6; color: var(--ink); }
.contour__lead + .contour__lead { margin-top: 10px; }
.contour__lead strong, .ticks strong { color: var(--indigo); font-weight: 700; }
.contour__sub { margin-top: 18px; font-weight: 700; color: var(--indigo); }
.ticks { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ticks--plain li::before { width: 8px; height: 8px; top: .62em; left: 6px; border-radius: 2px; background: var(--teal); }
.ticks a { overflow-wrap: anywhere; }

/* Важное уведомление */
.notice { padding: 24px 28px; border-radius: 20px; background: #FFF7E8; border: 1px solid #F1DDB4; font-size: 16px; line-height: 1.65; color: var(--ink); }
.notice__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 18px; font-weight: 700; color: var(--indigo); }
.notice__title::before { content: '!'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #E0A63A; color: var(--white); font-weight: 700; }
.notice strong { color: var(--indigo); }
.notice--indigo { background: var(--indigo); border-color: transparent; color: #E4E0F0; font-size: 17px; }
.notice--indigo a { color: var(--white); text-decoration: underline; text-decoration-color: var(--teal-bright); text-underline-offset: 3px; font-weight: 600; }
.notice--indigo a:hover { color: var(--teal-bright); }

/* Информация о рисках */
.greeting { max-width: 860px; padding: 26px 28px; border-radius: 20px; background: var(--bg); font-size: 17px; line-height: 1.7; color: var(--ink); }
.greeting__title { margin-bottom: 10px; font-size: 22px; font-weight: 700; color: var(--indigo); }
.greeting p + p { margin-top: 12px; }
.risk-list { display: grid; gap: 20px; }
.risk-sec { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.risk-sec__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.risk-sec__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--indigo); color: var(--white); font-size: 20px; font-weight: 700; }
.risk-sec__title { font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; line-height: 1.3; color: var(--indigo); }
.risk { padding: 18px 0 0 64px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.risk + .risk { margin-top: 18px; border-top: 1px solid var(--line); }
.risk__title { margin-bottom: 6px; font-size: 17px; font-weight: 700; color: var(--teal); }
.risk p + p, .risk .ticks + p { margin-top: 10px; }
@media (max-width: 760px) {
  .org__num { width: 46px; height: 46px; font-size: 17px; }
  .org__text, .greeting { padding: 18px 20px; font-size: 16px; }
  .contour, .risk-sec { padding: 22px 20px; }
  .risk { padding-left: 0; }
}
.org .people { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Главная: «О компании» — две карточки одинаковой высоты; вопросы на странице облигаций */
.about__cards .fact { min-height: 200px; }
.about__cards .fact__title { font-size: 20px; }
.faq-block { padding-top: 8px; }
.faq-block .faq { gap: 32px; }
.fact--row { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 0; }
.about__cards .fact--row { min-height: 0; }
/* Первый экран: три показателя в один ряд (12/12, 24/7, Банк России) */
@media (min-width: 761px) {
  .hero__stats { flex-wrap: nowrap; gap: 24px 36px; }
  .hero__stats dd { max-width: 190px; }
}
