/* fonts:begin — сгенерировано scripts/fetch_fonts.py, не править руками */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-ext-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-4.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-ext-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-4.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-ext-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-4.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext-5.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-7.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-latin-8.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext-5.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-7.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/inter-latin-8.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext-5.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-6.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-7.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/inter-latin-8.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/playfair-display-digits-9.woff2) format('woff2');
  unicode-range: U+30-39; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/playfair-display-digits-9.woff2) format('woff2');
  unicode-range: U+30-39; }
/* fonts:end */
/* ФинЛоцман — строгий стиль частного банка: слоновая кость, тёмно-синий, латунь */
:root {
  --ink: #14233A;          /* основной тёмно-синий */
  --ink-2: #1D3150;
  --ink-deep: #0E192A;     /* подвал и тёмные блоки */
  --brass: #A8844F;        /* латунь: акцент */
  --brass-dark: #8A6A3B;
  --brass-light: #D9C39C;
  --text: #1E2633;
  --muted: #6B6A66;
  --line: #E3DDD2;
  --bg: #FBFAF7;
  --bg-soft: #F3EFE7;
  --white: #FFFFFF;
  --danger: #B3402F;
  /* Цифры — из Playfair (подгружаются только они): у Cormorant старинные цифры, «1» похожа на «I» */
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 2px;
  /* Тёмные первые экраны и блоки: ночной синий с латунным свечением и тонким гильошированным узором */
  --on-dark: #F4EFE6;
  --on-dark-muted: #A9B3C2;
  --night: radial-gradient(1000px 520px at 88% -12%, rgba(168,132,79,.24), transparent 62%),
           radial-gradient(760px 520px at -8% 112%, rgba(43,68,108,.55), transparent 62%),
           linear-gradient(160deg, #15253E 0%, #0E192A 56%, #0A1320 100%);
  --guilloche: repeating-radial-gradient(circle at 104% -8%, transparent 0 21px, rgba(217,195,156,.075) 21px 22px);
  --gold: linear-gradient(180deg, #BC9763 0%, #A2804A 100%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
::selection { background: var(--brass-light); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dark); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.06; }
h1 { font-size: clamp(40px, 5.4vw, 70px); }
h2 { font-size: clamp(32px, 3.8vw, 48px); }
h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
h1 em, h2 em { font-style: italic; color: var(--brass-dark); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__lead { color: var(--muted); max-width: 680px; font-size: 17px; margin-bottom: 44px; }
.eyebrow {
  font: 600 11.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass-dark); margin: 0 0 16px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 17px 30px; border-radius: var(--radius); border: 1px solid var(--ink); cursor: pointer;
  font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff; transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.btn:hover { box-shadow: 0 14px 28px -16px rgba(14,25,42,.55); transform: translateY(-1px); }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--accent { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: 13px 20px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Шапка: логотип, меню в две строки (Бизнесу / Частным клиентам), кнопка */
/* Тёмно-синяя полоса с латунной нитью сверху отделяет сайт от строки браузера */
.header { position: sticky; top: 0; z-index: 50; border-top: 4px solid var(--ink); box-shadow: inset 0 1px 0 rgba(217,195,156,.7); background: rgba(251,250,247,.94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--brass) 50%, transparent); opacity: .6; }
.header__inner { display: flex; align-items: center; gap: 40px; height: 96px; }
.header .container { max-width: 1400px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo__text { font: 600 26px/1 var(--serif); letter-spacing: .01em; }
.logo__text small { display: block; font: 500 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: #8C97A8; }
.nav { flex: 1; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 32px; padding-left: 40px; border-left: 1px solid var(--line); }
.nav__row { display: contents; }
.nav__label { font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-dark); white-space: nowrap; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a { position: relative; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.services__group { margin: 8px 0 18px; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-dark); }
.services + .services__group { margin-top: 56px; }
.header__actions { display: flex; align-items: center; gap: 24px; }
.header__phone { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; line-height: 1.25; text-align: right; }
.header__phone small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .02em; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); content: ""; transition: .2s; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Первый экран: текст слева, анкета справа */
.hero, .page-head { position: relative; isolation: isolate; background: var(--night); color: var(--on-dark-muted); }
.hero::before, .page-head::before, .section--ink::before, .apply::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--guilloche);
  -webkit-mask-image: linear-gradient(250deg, #000 0%, transparent 62%); mask-image: linear-gradient(250deg, #000 0%, transparent 62%);
}
.hero::after, .page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,195,156,.55), transparent); }
.hero h1, .page-head h1 { color: var(--on-dark); }
.hero h1 em, .page-head h1 em { color: var(--brass-light); }
.hero .eyebrow, .page-head .eyebrow { color: var(--brass-light); }
.page-head p, .page-head .section__lead, .page-head .article__meta { color: var(--on-dark-muted); }
.page-head a { color: var(--brass-light); }
.hero .form { border-color: transparent; border-top-color: var(--brass); box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); }
.hero__actions .btn, .hero .btn--accent { background: var(--gold); border-color: #A2804A; color: #fff; }
.hero { padding: 80px 0 96px; }
.hero .hero__text { position: sticky; top: 136px; }
.hero__grid { display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: start; }
.hero__text { padding-top: 24px; }
.hero h1 { max-width: 640px; }
.hero__lead { font-size: 18px; color: var(--on-dark-muted); max-width: 560px; margin-bottom: 36px; }
.hero__points { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid rgba(217,195,156,.25); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 600px; }
.hero__points b { display: block; font: 500 32px/1.1 var(--serif); color: var(--brass-light); margin-bottom: 6px; }
.hero__points span { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.45; display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.breadcrumbs { font-size: 12px; color: #7F8B9D; margin-bottom: 24px; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs a { color: #B9C2CF; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Услуги на главной: строгий список */
.services { border-top: 1px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 64px 300px 1fr 40px; gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.service__num { font: 500 14px var(--sans); color: var(--brass-dark); letter-spacing: .1em; }
.service__name { font: 600 26px/1.2 var(--serif); color: var(--ink); }
.service__desc { color: var(--muted); font-size: 15px; }
.service__arrow { color: var(--brass-dark); font-size: 20px; text-align: right; transition: transform .2s; }
.service:hover { background: var(--bg-soft); padding-left: 20px; padding-right: 20px; box-shadow: inset 2px 0 0 var(--brass); }
.service:hover .service__arrow { transform: translateX(4px); }

/* Карточки (статьи и др.) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .3s, transform .3s, box-shadow .3s; }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
a.card:hover { border-color: var(--brass-light); transform: translateY(-3px); box-shadow: 0 28px 50px -32px rgba(20,35,58,.4); }
a.card:hover::before { transform: scaleX(1); }
.card h3 { font: 600 23px/1.2 var(--serif); }
.card__icon { width: 40px; height: 40px; margin-bottom: 20px; }
.card__icon svg { width: 32px; height: 32px; stroke: var(--brass-dark); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__more { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-dark); text-decoration: none; }
.card__tag { font: 600 11px var(--sans); color: var(--brass-dark); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px; }
.card__date { font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); margin-top: 6px; }
.muted { color: var(--muted); }

/* Журнал: рубрики, источники, «Поделиться», подписка */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.tabs a { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 0 0 14px; margin-bottom: -1px; border-bottom: 1px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-bottom-color: var(--brass); }
.sources { margin-top: 2.5em; padding-top: 20px; border-top: 1px solid var(--line); }
.sources p { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sources ul { margin: 0; padding-left: 18px; }
.article .sources li { font-size: 14px; margin-bottom: 4px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 28px; font-size: 14px; }
.share span { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.share a, .share__copy { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding: 0 0 2px; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; cursor: pointer; }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 24px 28px; border: 1px solid var(--line); background: var(--bg-soft); }
.channel p { margin: 0; font-size: 15px; }
.card--cta { background: var(--night); color: #fff; border-color: var(--ink); grid-column: 1 / -1; }
.card--cta h3 { color: #fff; }
.card--cta p { color: #B9C2CF; }
.card--cta .card__more { color: var(--brass-light); }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.step { position: relative; padding: 36px 36px 8px 0; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 48px/1 var(--serif); color: var(--brass); margin-bottom: 20px; }
.step h3 { font: 600 24px/1.2 var(--serif); }
.step p { color: var(--muted); font-size: 15px; }
.step__time { display: block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 8px; }
.steps[style*="1fr"] { border-top: 0; }
.steps[style*="1fr"] .step { padding: 0 0 8px 72px; border: 0; }
.steps[style*="1fr"] .step::before { position: absolute; left: 0; top: 0; font-size: 36px; }

/* Принципы */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.feature { padding: 36px 40px 36px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.feature h3 { font: 600 24px/1.2 var(--serif); }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature__mark { display: none; }

/* Ориентиры по условиям */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.term { padding: 28px 24px 24px 0; }
.term + .term { padding-left: 24px; border-left: 1px solid var(--line); }
.term b { display: block; font: 600 34px/1.1 var(--serif); color: var(--ink); margin-bottom: 8px; }
.term span { color: var(--muted); font-size: 14px; }
.note { color: var(--muted); font-size: 13px; margin-top: 20px; }

/* Два столбца с текстом */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
.list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 1px; background: var(--brass); }
.types { display: grid; gap: 0; border-top: 1px solid var(--line); }
.type { padding: 18px 0; border-bottom: 1px solid var(--line); }
.type h3 { font: 600 21px/1.25 var(--serif); margin-bottom: 4px; }
.type p { color: var(--muted); margin: 0; font-size: 15px; }

/* Вопросы */
.faq { max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font: 600 21px/1.3 var(--serif); color: var(--ink); list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font: 300 26px var(--sans); color: var(--brass-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Тёмные блоки: анкета внизу страницы, призыв, формы партнёров */
.section--ink, .apply { position: relative; isolation: isolate; background: var(--night); color: #fff; }
.section--ink h2, .apply h2 { color: #fff; }
.section--ink .eyebrow, .apply .eyebrow { color: var(--brass-light); }
.apply__grid { display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: start; }
.apply__lead { color: #B9C2CF; font-size: 17px; }
.apply__perks { list-style: none; padding: 0; margin: 28px 0 0; }
.apply__perks li { padding: 12px 0 12px 30px; position: relative; color: #DCE2EA; border-top: 1px solid rgba(255,255,255,.1); }
.apply__perks li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--brass-light); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta__inner h2 { margin-bottom: .3em; }
.cta__lead { color: #B9C2CF; margin: 0; max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
.section--ink .btn--accent, .apply .hero__actions .btn { background: var(--gold); border-color: #A2804A; color: #fff; }
.section--ink .btn--accent:hover, .hero .btn--accent:hover, .hero__actions .btn:hover { background: var(--brass-dark); border-color: var(--brass-dark); }
.cta__phone { color: #fff; text-decoration: none; font: 600 22px var(--serif); letter-spacing: .02em; }

/* Анкета */
.form { background: var(--white); color: var(--text); border: 1px solid var(--line); border-top: 2px solid var(--brass); padding: 40px 38px 32px; box-shadow: 0 30px 60px -30px rgba(20,35,58,.25); }
.apply .form, .section--ink .form { border-color: transparent; border-top-color: var(--brass); box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); }
.form__title { font: 500 30px/1.15 var(--serif); color: var(--ink); margin: 0 0 22px; }
.form h3 { font: 600 24px/1.2 var(--serif); margin-bottom: 18px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.field legend, .field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.field label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.choice { position: relative; display: flex; }
.choice--wide { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { flex: 1; display: flex; align-items: center; justify-content: center; padding: 11px 12px; text-transform: none; letter-spacing: 0; color: var(--text); border: 1px solid var(--line); cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; transition: border-color .15s, background .15s, color .15s; }
.choice span:hover { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.form--product #product-field { display: none; }
.field--picked .choice:not(:has(input:checked)) { display: none; }
.field--picked .choice { grid-column: 1 / -1; }
#product-change { margin-top: 10px; }
.uses { background: var(--bg-soft); border-left: 2px solid var(--brass); padding: 14px 16px; margin-bottom: 18px; }
.uses__title { font-weight: 600; font-size: 14px; color: var(--ink); margin: 0 0 8px; }
.uses ul { list-style: none; margin: 0; padding: 0; }
.uses li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.45; color: var(--text); margin-bottom: 4px; }
.uses li::before { content: "✓"; position: absolute; left: 0; color: var(--brass-dark); font-weight: 700; }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choices--4 { grid-template-columns: repeat(4, 1fr); }
.choices--4 .choice span { padding: 9px 4px; font-size: 13px; }
fieldset.field legend .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.choices--3 .choice span { padding: 9px 6px; font-size: 13.5px; }
/* Поля конкретного продукта (дебиторы для факторинга и т. п.) */
.extra { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 18px; }
.extra--first { border-top: 0; padding-top: 0; }
.extra__title { font: 600 20px/1.2 var(--serif); color: var(--ink); margin: 0 0 4px; }
.extra__title span { font: 400 13.5px var(--sans); color: var(--muted); }
.extra__hint { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.debtor { border: 1px solid var(--line); background: var(--bg); padding: 14px 14px 0; margin-bottom: 10px; }
.debtor .field { margin-bottom: 14px; }
.debtor__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.debtor__num { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); }
.debtor__name { font-size: 13.5px; color: var(--ink); margin-top: 6px; }
.debtor__name:empty { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: 600 13px var(--sans); color: var(--brass-dark); cursor: pointer; border-bottom: 1px solid currentColor; }
.link-btn:hover { color: var(--ink); }
.add-btn { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; width: 100%; margin: 2px 0 18px; padding: 13px 16px; background: var(--bg-soft); border: 1px dashed var(--brass); border-radius: var(--radius); font: 600 15px var(--sans); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.add-btn:hover { background: #EDE6D8; border-color: var(--brass-dark); }
.add-btn__plus { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brass); color: var(--white); font-size: 16px; line-height: 1; }
.add-btn__hint { font-weight: 400; font-size: 13px; color: var(--muted); }

.field { margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: 400 16px var(--sans); color: var(--text); background: var(--white); transition: border-color .15s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 13px; margin-top: 5px; display: none; }
.field.invalid .field__error { display: block; }
.field__hint { color: var(--muted); font-size: 13px; margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* длинная подпись переносится на 2 строки — поля в ряду всё равно на одной высоте */
.row2 > .field { display: flex; flex-direction: column; }
.row2 > .field > label + * { margin-top: auto; }
.company { border-left: 2px solid var(--brass); background: var(--bg-soft); padding: 10px 14px; margin: -8px 0 18px; font-size: 14px; display: none; }
.company.show { display: block; }
.company b { color: var(--ink); display: block; font-weight: 600; }
.company span { color: var(--muted); }
.match { font-size: 13.5px; color: var(--brass-dark); margin-top: 6px; }
.match b { color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ink); flex: 0 0 auto; }
.check.invalid { color: var(--danger); }
.check a { color: inherit; text-decoration: none; }
.form__note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form__nav .btn--accent { margin-left: auto; }
.form__done { text-align: center; padding: 24px 0 8px; }
.form__done p { color: var(--muted); }
.form__done .form__title { color: var(--ink); }
.form__done-icon { width: 64px; height: 64px; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass-dark); font-size: 26px; display: grid; place-items: center; margin: 0 auto 20px; }
.form__error { background: #F8ECE9; color: var(--danger); padding: 12px 14px; font-size: 14px; margin-bottom: 14px; display: none; }
.form__error.show { display: block; }
.hp { position: absolute; left: -9999px; }

/* Простые страницы */
.doc { max-width: 820px; }
.doc h2 { font-size: 30px; margin-top: 1.6em; }
.doc li { margin-bottom: .4em; }
.page-head { padding: 72px 0 56px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); }

/* Подвал */
.footer { position: relative; background: var(--ink-deep); color: #8C97A8; padding: 80px 0 32px; font-size: 14px; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,195,156,.6), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #B9C2CF; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--brass-light); }
.footer__note { margin-top: 20px; max-width: 320px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; font-size: 12px; color: #6E7A8C; }
.footer__legal p { margin-bottom: 6px; }

.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 520px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); padding: 16px 18px; display: flex; gap: 16px; align-items: center; font-size: 13px; }
.cookie p { margin: 0; color: var(--muted); }

/* Калькуляторы */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); max-width: 1000px; background: var(--white); }
.calc__inputs { padding: 36px; }
.calc__result { padding: 36px; background: var(--night); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.calc__result > div span { display: block; font-size: 13px; color: #B9C2CF; }
.calc__result > div b { font: 600 36px/1.1 var(--serif); }
.calc__note { font-size: 12.5px; color: #8C97A8; margin: auto 0 0; }
.calc__result .btn { align-self: flex-start; background: var(--gold); border-color: #A2804A; }
.calc__result .btn:hover { background: var(--brass-dark); border-color: var(--brass-dark); }

/* Кнопка связи */
.contact { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.contact__btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--brass); cursor: pointer; background: var(--night); color: var(--brass-light); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(14,25,42,.6); transition: transform .15s; }
.contact__btn:hover { transform: scale(1.05); }
.contact__menu { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.msg { display: block; padding: 11px 18px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px; text-decoration: none; border-left: 2px solid var(--brass); box-shadow: 0 10px 24px -12px rgba(14,25,42,.5); }
.msg:hover { background: var(--ink-2); }

/* Сравнение */
.compare { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.compare th, .compare td { padding: 20px 24px 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.compare thead th:last-child { color: var(--brass-dark); }
.compare td:first-child { font: 600 20px/1.3 var(--serif); color: var(--ink); width: 22%; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { color: var(--ink); }
.compare--tariffs td:nth-child(2), .compare--tariffs thead th:last-child { color: var(--ink); }
.compare--tariffs thead th:last-child { color: var(--muted); }

/* Статьи */
.article { max-width: 740px; }
.article h2 { font-size: 34px; margin-top: 1.5em; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { font-size: 17px; line-height: 1.75; }
.article li { margin-bottom: .5em; }
.article .lead { font-size: 19px; color: var(--muted); }
.article__meta { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.callout { background: var(--bg-soft); border-left: 2px solid var(--brass); padding: 20px 24px; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }
.article-cta { background: var(--night); color: #fff; padding: 36px; margin: 2em 0; border-top: 2px solid var(--brass); }
.article-cta h3 { color: #fff; margin-top: 0; font: 600 26px/1.2 var(--serif); }
.article-cta p { color: #B9C2CF; }
.article-cta .btn { background: var(--gold); border-color: #A2804A; }

/* Адаптив */
@media (max-width: 1400px) {
  .header__phone { display: none; }
  .header__inner { gap: 28px; }
  .nav { padding-left: 28px; }
  .nav { column-gap: 24px; }
  .nav ul { gap: 22px; }
  .nav a { font-size: 13.5px; }
}
@media (max-width: 1240px) {
  .burger { display: block; }
  .header__inner { height: 80px; gap: 12px; justify-content: space-between; }
  .nav { display: none; position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 4px 24px 24px; border-left: 0; overflow-y: auto; }
  .nav-open .nav { display: block; }
  /* размытие фона делает шапку контейнером для fixed-панели — без этого у меню нулевая высота */
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav__label { display: block; padding: 28px 0 4px; font-size: 11px; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 18px 0; font: 600 24px var(--serif); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}
@media (max-width: 1120px) {
  .hero__grid, .apply__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__text { padding-top: 0; }
  .hero .hero__text { position: static; }
  .hero__form, .apply .form { max-width: 560px; }
  .service { grid-template-columns: 48px 1fr 32px; }
  .service__desc { grid-column: 2; }
  .service__arrow { grid-row: 1; grid-column: 3; }
  .cards { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr 1fr; }
  .term:nth-child(3) { padding-left: 0; border-left: 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__actions { align-items: flex-start; }
}
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero__lead { font-size: 16.5px; margin-bottom: 28px; }
  .hero__points { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__points b { font-size: 24px; }
  .hero__points span { font-size: 12px; }
  .header__inner { height: 68px; }
  .nav { top: 72px; }
  .header__actions .btn { display: none; }
  .logo__text { font-size: 22px; }
  .form { padding: 26px 20px 22px; }
  .cards, .terms, .steps, .features, .footer__grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .feature, .feature:nth-child(even) { padding: 28px 0; border-left: 0; }
  .term, .term + .term { padding: 22px 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
  .service { grid-template-columns: 36px 1fr 24px; gap: 12px; padding: 22px 0; }
  .service__name { font-size: 22px; }
  .service__desc { font-size: 14px; }
  .service:hover { padding-left: 0; padding-right: 0; background: none; }
  .hero__actions .btn { width: 100%; }
  .cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .contact { right: 12px; bottom: 12px; }
  .compare thead { display: none; }
  .compare tr { display: block; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .compare td { display: block; border: 0; width: auto !important; padding: 4px 0; }
  .compare td:nth-child(2)::before { content: "Сами: "; font-weight: 600; }
  .compare td:last-child::before { content: "С нами: "; font-weight: 600; color: var(--brass-dark); }
  .compare--tariffs td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--brass-dark); }
}
@media (max-width: 380px) {
  .row2 { grid-template-columns: 1fr; gap: 0; }
}

/* Доступность: видимый фокус при работе с клавиатуры, переход к содержимому, меньше движения по настройке системы */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; font: 600 14px/1 var(--sans); text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
