/* Шрифты лежат на нашем сервере (assets/*.woff2), с Google ничего не грузится */
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 112%; src: url(/assets/cormorant-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 112%; src: url(/assets/cormorant-latin-ext.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'; font-style: normal; font-weight: 400 700; font-display: swap; size-adjust: 112%; src: url(/assets/cormorant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/golos-latin-ext.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: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/golos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Палитра Silver Mountain: синий, серебро, зелёный */
  --bg: #f6f5f1;        /* слоновая кость — светлый фон */
  --paper: #fff;
  --ink: #16202b;       /* полуночный синий — основа, текст */
  --ink-2: #2f3d4d;     /* основной текст в длинных абзацах */
  --muted: #5b6e85;     /* сланцевый — второстепенный текст */
  --line: #dddbd3;
  --accent: #1f4a3a;    /* бутылочный зелёный — акцент, дозированно */
  --accent-2: #183b2e;
  --warm: #5b6e85;      /* подписи, номера, маркеры (раньше был золотой) */
  --dark: #16202b;      /* полуночный синий */
  --dark-2: #1f2c3a;    /* синий второй — карточки на тёмном */
  --silver: #c9d1da;    /* светлое серебро — знак, заголовки на тёмном */
  --silver-2: #a9b6c4;  /* серебро — кайма, подписи на тёмном */
  --sage: #dce5df;      /* светлый шалфей — фон отдельных блоков */
  --serif: 'Cormorant', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'PT Serif', Georgia, serif;
  --sans: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* У Cormorant цифры по умолчанию старостильные; !important — потому что сокращённое свойство font сбрасывает настройку */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
body.nav-open { overflow: hidden; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 12px; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm); font-weight: 600; margin-bottom: 14px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.5; color: var(--muted); max-width: 46em; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: ' →'; }

/* Кнопки */
.btn { display: inline-block; background: var(--accent); color: #fff; font: 600 1rem/1 var(--sans); padding: 16px 26px; border: 0; border-radius: 6px; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn:hover { background: var(--accent-2); color: #fff; }
.btn[disabled] { background: #9aa6b2; cursor: not-allowed; }
.btn-sm { padding: 12px 18px; font-size: 0.92rem; }
.btn-light { background: var(--silver); color: var(--dark); }
.btn-light:hover { background: #dfe5eb; color: var(--dark); }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: 68px; max-width: 1360px; }
.hdr-cta { white-space: nowrap; flex: none; }
.langs { display: flex; gap: 2px; flex: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.langs a { padding: 6px 6px; color: var(--muted); text-decoration: none; border-radius: 4px; }
.langs a:hover { color: var(--accent); }
.langs a.on { color: var(--ink); background: rgba(22, 32, 43, 0.07); }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo-shield { height: 44px; width: auto; flex: none; display: block; }
.logo-word { width: 160px; height: auto; flex: none; display: block; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav a { display: block; padding: 10px 8px; color: var(--ink); text-decoration: none; font-size: 0.88rem; white-space: nowrap; }
.nav > ul > li > a.on { color: var(--accent); font-weight: 600; }
.nav a:hover { color: var(--accent); }
.only-m, .sub-t, .burger { display: none; }
.sub { display: none; position: absolute; top: 100%; left: -8px; min-width: 300px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(22, 32, 43, 0.14); padding: 8px; }
.sub a { padding: 9px 12px; border-radius: 3px; white-space: normal; }
.sub a:hover, .sub a[aria-current] { background: var(--bg); }
.wide .sub { width: 560px; columns: 2; column-gap: 4px; }
.wide .sub li { break-inside: avoid; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }

@media (max-width: 1419px) {
  .burger { display: block; margin-left: 4px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
  .burger span, .burger span::before, .burger span::after { content: ''; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform 0.2s; }
  .burger span { top: 21px; }
  .burger span::before { left: 0; right: 0; top: -7px; }
  .burger span::after { left: 0; right: 0; top: 7px; }
  .burger[aria-expanded='true'] span { background: transparent; }
  .burger[aria-expanded='true'] span::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded='true'] span::after { transform: translateY(-7px) rotate(-45deg); }
  .langs { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 68px); margin: 0; background: var(--bg); overflow-y: auto; padding: 8px 24px 40px; }
  .nav.open { display: block; }
  .nav > ul { display: block; }
  .nav > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .only-m { display: flex; }
  .nav a { font-size: 1.05rem; padding: 15px 0; white-space: normal; flex: 1; }
  .sub-t { display: block; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; }
  .sub-t::before { content: ''; position: absolute; top: 18px; left: 19px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s; }
  .open > .sub-t::before { transform: rotate(-135deg); top: 22px; }
  .sub, .wide .sub { position: static; width: 100%; columns: 1; border: 0; box-shadow: none; background: none; padding: 0 0 10px 14px; min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { font-size: 0.98rem; padding: 10px 0; color: var(--muted); }
}
@media (max-width: 520px) {
  .hdr-cta { display: none; }
  .logo-word { width: 124px; }
}

/* Первый экран главной */
.hero { position: relative; background: var(--dark); color: var(--bg); overflow: hidden; }
.hero-in { position: relative; z-index: 1; padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(150px, 20vw, 250px); }
.hero h1 { max-width: 15em; }
.hero .eyebrow { color: var(--silver-2); letter-spacing: 0.22em; }
.hero h1 { color: var(--bg); }
.hero .lead { color: var(--silver-2); margin-top: 22px; }
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(130px, 20vw, 260px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.hero-cta span { color: var(--muted); font-size: 0.95rem; }
.hero .hero-cta span { color: var(--silver-2); }
.hero-mark { position: absolute; right: max(4vw, calc((100vw - 1200px) / 2)); top: 50%; height: min(62%, 440px); width: auto; transform: translateY(-58%); opacity: 0.42; pointer-events: none; }
@media (min-width: 1101px) { .hero .lead { max-width: 33em; } .hero .stats { max-width: 700px; gap: 22px; } .hero .stats dt { font-size: 1.7rem; } }
@media (max-width: 1100px) { .hero-mark { right: -30px; top: 28px; height: 300px; transform: none; opacity: 0.16; } }
@media (max-width: 620px) { .hero-mark { right: -44px; top: 20px; height: 250px; opacity: 0.13; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 56px 0 0; max-width: 900px; }
.stats div { border-top: 1px solid rgba(201, 209, 218, 0.28); padding-top: 16px; }
.stats dt { font: 500 clamp(1.5rem, 3vw, 2.1rem) / 1.1 var(--serif); color: var(--silver); }
.stats dd { margin: 8px 0 0; color: var(--silver-2); font-size: 0.92rem; line-height: 1.4; }

/* Первый экран внутренних страниц */
.phero { padding: 28px 0 clamp(40px, 6vw, 64px); }
.phero .lead { margin-top: 20px; }
.crumbs { margin-bottom: clamp(28px, 5vw, 52px); font-size: 0.86rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; }
.facts div { border-top: 2px solid var(--ink); padding-top: 14px; }
.facts dt { font: 500 clamp(1.15rem, 2vw, 1.5rem) / 1.2 var(--serif); }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }

/* Блоки контента */
.blk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 20px 48px; padding: clamp(32px, 5vw, 52px) 0; border-top: 1px solid var(--line); }
.blk-body > * + * { margin-top: 20px; }
.blk-body > p { max-width: 44em; }
.list li { position: relative; padding-left: 24px; max-width: 44em; }
.list li + li { margin-top: 10px; }
.list li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 10px; height: 2px; background: var(--warm); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px; font: 500 1.35rem/1.3 var(--serif); color: var(--warm); }
.steps li::after { content: ''; position: absolute; left: 13px; top: 34px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; font-weight: 600; }
.steps span { display: block; color: var(--muted); margin-top: 2px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; line-height: 1.5; }
.lcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lcard { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.lcard:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.lcard strong { display: block; font: 500 1.1rem/1.3 var(--serif); }
.lcard strong::after { content: '\00a0→'; color: var(--accent); }
.lcard span { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.45; margin-top: 8px; }
.banner { margin: 0 0 clamp(24px, 3vw, 32px); }
.banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 10px; }
.banner figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.lcard-pic { padding: 0 0 20px; overflow: hidden; }
.lcard-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; }
.lcard-pic strong, .lcard-pic span { padding: 0 22px; }
@media (max-width: 620px) { .banner img { aspect-ratio: 16 / 9; } }
.note { background: var(--sage); border-left: 3px solid var(--accent); padding: 14px 18px; font-size: 0.95rem; color: var(--ink-2); max-width: 46em; }
.example { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 24px 26px; border-radius: 0 4px 4px 0; max-width: 46em; }
.example p { font: 400 1.1rem/1.55 var(--serif); }
.example small { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); margin: 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font: 300 1.7rem/1.2 var(--sans); color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-2); max-width: 44em; }
.creds { color: var(--muted); font-size: 0.95rem; }
.track li { padding: 14px 0; border-top: 1px solid var(--line); }
.track strong { display: block; font-weight: 600; }
.track span { color: var(--muted); font-size: 0.95rem; }

/* Секции главной */
.sec { padding: clamp(52px, 8vw, 96px) 0; }
.sec-alt { background: var(--sage); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head p { color: var(--muted); }
.path { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; border-top: 2px solid var(--ink); }
.path li { counter-increment: s; border-right: 1px solid var(--line); }
.path li:last-child { border-right: 0; }
.path a { display: block; height: 100%; padding: 22px 22px 26px; text-decoration: none; color: var(--ink); transition: background 0.15s; }
.path a:hover { background: var(--paper); }
.path a::before { content: counter(s, decimal-leading-zero); display: block; font: 500 1.35rem/1 var(--serif); color: var(--warm); margin-bottom: 18px; }
.path strong { display: block; font: 500 1.3rem/1.25 var(--serif); }
.path strong::after { content: '\00a0→'; color: var(--accent); }
.path span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-top: 10px; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.svc-card h3 { font-size: 1.4rem; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a:hover { color: var(--accent); }
.svc-card > p { color: var(--muted); font-size: 0.96rem; margin: 10px 0 18px; }
.svc-card li { border-top: 1px solid var(--line); }
.svc-card li a { display: block; padding: 11px 18px 11px 0; text-decoration: none; font-size: 0.96rem; position: relative; }
.svc-card li a::after { content: '→'; position: absolute; right: 0; }
.svc-cta { background: var(--accent); color: #eef3f0; border-color: var(--accent); display: flex; flex-direction: column; align-items: flex-start; }
.svc-cta { grid-column: span 2; }
.svc-cta > p { color: #cddcd5; flex: 1; }
.svc-cta .btn { background: var(--silver); color: var(--dark); }
.svc-cta .btn:hover { background: #dfe5eb; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 48px; align-items: start; }
.person-photo { display: block; width: 100%; height: auto; border-radius: 8px; }
.person-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; }
.person-row p + p { margin-top: 12px; }
/* герб ACCA под именем на «О нас»: приглушённый, белый фон картинки растворяется в фоне страницы */
.acca-crest { display: block; width: min(230px, 80%); height: auto; margin-top: 28px; opacity: 0.5; mix-blend-mode: multiply; filter: saturate(0.75); }
@media (max-width: 960px) { .acca-crest { width: 120px; margin-top: 16px; } }
.person h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.person .creds { margin-bottom: 18px; }
.person-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-row li { padding: 44px 0 0; border-top: 2px solid var(--ink); }
.steps-row li::before { top: 12px; }
.steps-row li::after { display: none; }
.sub-h { margin: 48px 0 16px; font-size: 1.3rem; }
.pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.pay div { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.pay dt { font-weight: 600; }
.pay dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 26px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.post:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.post strong { display: block; font: 500 1.25rem/1.3 var(--serif); }
.post span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-top: 12px; }

/* Статья */
.prose .blk { display: block; border: 0; padding: 0; margin-top: 44px; }
.prose .blk h2 { margin-bottom: 18px; }
.prose { padding-bottom: clamp(48px, 7vw, 80px); }
.callout { margin-top: 52px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 28px; border-radius: 0 0 4px 4px; }
.callout h2 { font-size: 1.5rem; margin-bottom: 10px; }
.callout h2 a { color: var(--ink); text-decoration: none; }
.callout p { color: var(--muted); }
.callout .btn { margin-top: 8px; }

/* Контакты */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; padding-bottom: clamp(56px, 8vw, 96px); }
.contact h2 { font-size: 1.4rem; margin: 40px 0 20px; }
.clist { margin: 0 0 20px; }
.clist div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.clist dt { color: var(--muted); font-size: 0.92rem; }
.clist dd { margin: 0; font-weight: 500; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.form input, .form textarea { font: 400 1rem/1.4 var(--sans); padding: 12px 14px; border: 1px solid #cbd2d9; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.form small { color: var(--muted); }
.form .hint { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .check { display: flex; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); line-height: 1.4; }
.form .check input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.form-msg { margin: 0; padding: 12px 14px; background: #f6e9e7; border-left: 3px solid #a4443a; color: #6d2a23; font-size: 0.95rem; }
.form-ok { background: var(--sage); border-radius: 8px; padding: 28px; }
.form-ok h2 { margin: 0 0 10px; }
.form-ok p { color: var(--ink-2); }

/* Призыв и подвал */
.cta { background: var(--dark-2); color: var(--bg); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: clamp(44px, 6vw, 68px); padding-bottom: clamp(44px, 6vw, 68px); }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.cta p { color: var(--silver-2); max-width: 40em; }
.ftr { background: var(--dark); color: var(--silver-2); padding: 56px 0 32px; font-size: 0.9rem; }
.ftr a { color: var(--silver); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr 1fr; gap: 32px; }
.ftr h3 { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #8794a6; margin-bottom: 14px; }
.ftr-cols li { margin-bottom: 8px; line-height: 1.35; }
.ftr-bot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid #2a3847; }
.ftr .logo { color: var(--bg); margin-bottom: 14px; }
.ftr-links { display: flex; gap: 24px; }
.ftr-note { margin-top: 24px; font-size: 0.8rem; color: #7d8a9b; max-width: 70em; }
.ftr-note + .ftr-note { margin-top: 8px; }

@media (max-width: 960px) {
  .blk, .sec-head, .person, .contact { grid-template-columns: 1fr; }
  .person-photo { max-width: 320px; }
  .svc, .posts, .cards-3 { grid-template-columns: 1fr 1fr; }
  .path, .steps-row, .pay, .cards-4 { grid-template-columns: 1fr 1fr; }
  .path li:nth-child(2) { border-right: 0; }
  .path li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  /* только боковые поля: вертикальные отступы у .hero-in, .cta-in, .sec, .prose, .contact должны сохраняться */
  .wrap { padding-left: 18px; padding-right: 18px; }
  .nav { padding-left: 18px; padding-right: 18px; }
  .stats, .facts { grid-template-columns: 1fr; gap: 16px; }
  .svc, .posts, .cards-3, .path, .steps-row, .pay, .cards-4, .ftr-cols { grid-template-columns: 1fr; }
  .path li { border-right: 0; border-top: 1px solid var(--line); }
  .path li:first-child { border-top: 0; }
  .ftr-cols { gap: 24px; }
  .svc-cta { grid-column: auto; }
  .clist div { grid-template-columns: 1fr; gap: 2px; }
  .btn { width: 100%; text-align: center; }
  .btn-sm { width: auto; }
  .person-row { grid-template-columns: 1fr; gap: 20px; }
  .person-photo { max-width: 260px; }
  /* воздух между блоками на телефоне */
  .blk { padding: 40px 0; gap: 18px; }
  main > .wrap > .blk:last-child { padding-bottom: 56px; }
  .stats { margin-top: 44px; }
  .path a { padding: 22px 0 24px; }
  .sub-h { margin-top: 44px; }
  .ftr-cols li { margin-bottom: 12px; }
  .ftr-cols { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
