/* СВО-ПРАВО. Единая тёмная тема: тактическая сетка, сдержанный милитари-стиль. */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-cyrillic-ext-600.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: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-cyrillic-ext-700.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: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-cyrillic-700.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 900;
  font-display: swap;
  src: url("../fonts/golos-cyrillic-ext.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: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/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 900;
  font-display: swap;
  src: url("../fonts/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 {
  --bg: #0D100E;
  --panel: #141815;
  --panel-2: #171D18;
  --steel: #1B211C;
  --line: #2A322B;
  --line-soft: rgba(217, 164, 65, .18);
  --ink: #ECEFE9;
  --muted: #A6AFA3;
  --brass: #D9A441;
  --brass-bright: #E6B354;
  --olive: #7C8C5D;
  --ok: #6FA96B;
  --danger: #D98B76;
  --radius: 2px;
  --container: 1180px;
  --sect: 88px;
  --header-h: 66px;
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 620px at 84% -10%, rgba(124, 140, 93, .075), transparent 62%),
    radial-gradient(820px 560px at 4% 8%, rgba(217, 164, 65, .055), transparent 60%),
    repeating-linear-gradient(0deg, rgba(236, 239, 233, .045) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(236, 239, 233, .045) 0 1px, transparent 1px 48px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, scroll, scroll, fixed;
  background-repeat: no-repeat, no-repeat, repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, 140px 140px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .6em;
  letter-spacing: .01em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(32px, 5.2vw, 60px); text-transform: uppercase; }
h2 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; }
h3 { font-size: clamp(19px, 2.4vw, 24px); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: 0 0 .4em; }
[hidden] { display: none !important; }

h1, h2, h3, h4, [id] { scroll-margin-top: 96px; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-radius: var(--radius);
}
::selection { background: rgba(217, 164, 65, .3); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 120;
  background: var(--brass); color: #14110a; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 18px; }

/* ---------- общие метки / секции ---------- */
.kicker,
.section__label,
.hero__kicker,
.page-hero__label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 14px;
}
.section { padding: var(--sect) 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin: 0 0 18px;
}
.sec-head__main { max-width: 72ch; }
.sec-head__title { margin: 0 0 8px; }
.sec-head__note { color: var(--muted); margin: 0; font-size: 16px; }
.sec-head__action {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--brass); text-decoration: none; font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.sec-head__action:hover { color: var(--brass-bright); }

.rule {
  position: relative; height: 1px; background: var(--line); margin: 0 0 34px;
}
.rule::before {
  content: ""; position: absolute; left: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--brass); border-right: 1px solid var(--brass);
  transform: rotate(45deg);
}

/* legacy section head used by some templates */
.section__head { margin: 0 0 18px; max-width: 72ch; }
.section__head--spaced { margin-top: 54px; }
.section__title { margin: 0 0 8px; }
.section__note { color: var(--muted); max-width: 66ch; margin: 0; font-size: 16px; }
.section__more { margin: 26px 0 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 16, 14, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  min-width: 0; flex: 0 1 auto;
}
.brand__mark {
  flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--brass); color: var(--brass);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .04em;
}
.brand__text {
  display: flex; flex-direction: column; line-height: 1.05; min-width: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__sub {
  font-family: var(--font-body); font-weight: 400; font-size: 10px;
  letter-spacing: .16em; color: var(--muted); text-transform: uppercase;
}
.nav { display: none; margin-left: auto; gap: 22px; align-items: center; }
.nav a, .mobile-nav__body a {
  text-decoration: none; color: var(--muted); font-size: 14px;
  letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover, .nav a[aria-current="page"],
.mobile-nav__body a:hover, .mobile-nav__body a[aria-current="page"] {
  color: var(--ink); border-bottom-color: var(--brass);
}
.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav + .header__actions { margin-left: 20px; }
.header__phone { display: none; color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.header__cta { display: none; }
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--line); padding: 12px 11px; cursor: pointer;
  min-width: 46px; min-height: 46px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .2s ease, opacity .2s ease; }
.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); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(6, 8, 6, .62);
  backdrop-filter: blur(2px);
}
.mobile-nav {
  position: fixed; top: 0; right: 0; z-index: 60;
  width: min(360px, 88vw); height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--panel-2);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 60px rgba(0, 0, 0, .5);
  transform: translateX(102%);
  transition: transform .24s ease;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.mobile-nav__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: 16px; color: var(--ink); }
.mobile-nav__close {
  background: none; border: 1px solid var(--line); color: var(--ink);
  width: 40px; height: 40px; font-size: 20px; line-height: 1; cursor: pointer;
}
.mobile-nav__body { display: flex; flex-direction: column; padding: 8px 18px; }
.mobile-nav__body a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.mobile-nav__foot { margin-top: auto; padding: 20px 18px 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__note { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1px solid var(--brass);
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .09em; text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--accent { background: var(--brass); color: #17130a; border-color: #b8862f; }
.btn--accent:hover { background: var(--brass-bright); border-color: var(--brass-bright); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--olive); color: var(--brass); }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--brass);
  text-decoration: none; font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
}
.link-arrow:hover { color: var(--brass-bright); }
.chev {
  width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); display: inline-block; transition: transform .18s ease;
}
a:hover .chev, .link-arrow:hover .chev { transform: rotate(45deg) translate(3px, -3px); }

/* ---------- coverbox (изображение + запасной паттерн) ---------- */
.coverbox {
  position: relative; display: block; overflow: hidden;
  background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.coverbox__fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 18px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em;
  font-size: 13px; color: rgba(236, 239, 233, .55);
  background:
    repeating-linear-gradient(135deg, rgba(124, 140, 93, .1) 0 10px, transparent 10px 20px),
    radial-gradient(120% 120% at 18% 0%, rgba(217, 164, 65, .14), transparent 62%),
    linear-gradient(180deg, #171d18, #10140f);
}
.coverbox__fallback::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(217, 164, 65, .22);
}
.coverbox__img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; filter: saturate(.82) contrast(1.02);
  transition: transform .35s ease, filter .35s ease;
}
.coverbox--missing .coverbox__img { opacity: 0; }
.coverbox--tall .coverbox__img,
.coverbox--tall .coverbox__fallback { aspect-ratio: 16 / 9; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); position: relative; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px;
  padding-block: clamp(40px, 7vw, 84px) clamp(40px, 7vw, 76px);
  align-items: center;
}
.hero__kicker { max-width: 46ch; }
.hero__title { max-width: 22ch; margin: 0 0 18px; }
.hero__lead { max-width: 58ch; color: var(--muted); font-size: clamp(16px, 2.1vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero__note {
  display: flex; align-items: center; gap: 9px; margin: 20px 0 0;
  color: var(--muted); font-size: 13px;
}
.hero__note::before {
  content: ""; width: 8px; height: 8px; flex: 0 0 auto;
  background: var(--ok); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(111, 169, 107, .18);
}
.hero__media { position: relative; }
.hero__frame {
  position: relative; margin: 0; border: 1px solid var(--line);
  background: var(--panel);
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid var(--brass); z-index: 3;
}
.hero__frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero__frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.88); }
.hero__badge {
  position: absolute; left: 14px; top: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(13, 16, 14, .82); border: 1px solid var(--brass);
  color: var(--brass); padding: 6px 10px; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(4px);
}
.hero__badge::before {
  content: ""; width: 13px; height: 8px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg) translateY(-1px);
}
.hero__nums {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.hero__nums li {
  background: var(--panel); padding: 14px 14px; min-width: 0;
  border-left: 2px solid var(--brass); margin: 0; display: flex; flex-direction: column; gap: 4px;
}
.hero__num-value { overflow-wrap: anywhere; }
.hero__num-value {
  font-family: var(--font-head); font-variant-numeric: tabular-nums;
  font-size: clamp(17px, 2.4vw, 24px); color: var(--ink); line-height: 1.05;
}
.hero__num-label {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.35;
}

/* ---------- trust ---------- */
.trust__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1px; grid-template-columns: 1fr;
  background: var(--line); border: 1px solid var(--line);
}
.trust__item {
  background: var(--panel); padding: 22px 20px;
  border-left: 2px solid var(--brass);
  display: flex; flex-direction: column; gap: 6px;
}
.trust__value {
  font-family: var(--font-head); font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.4vw, 34px); color: var(--ink); line-height: 1.05;
}
.trust__claim { font-size: 15px; color: var(--ink); }
.trust__date { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.hero__grid > *, .grid > *, .trust__grid > *, .cluster-grid > *, .steps__list > *,
.related__grid > *, .contacts-grid > *, .karta > *, .footer__grid > *,
.lead__inner > *, .entry__layout > * { min-width: 0; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; min-width: 0;
  transition: transform .22s ease, border-color .22s ease;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 0 solid var(--brass); opacity: 0; transition: opacity .22s ease; z-index: 4;
}
.card::before { top: 7px; left: 7px; border-width: 1px 0 0 1px; }
.card::after { bottom: 7px; right: 7px; border-width: 0 1px 1px 0; }
.card:hover { transform: translateY(-2px); border-color: #37423a; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover .coverbox__img { transform: scale(1.035); filter: saturate(.95) contrast(1.04); }
.card__link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card__body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 24px; flex: 1; }
.card__index { font-family: var(--font-head); color: var(--brass); font-size: 13px; letter-spacing: .14em; }
.card__title { margin: 0; font-size: clamp(19px, 1.6vw, 22px); }
.card__desc { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card__more {
  color: var(--brass); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.card__cluster { color: var(--olive); }
.card__soon {
  color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px dashed var(--line); padding: 3px 8px; align-self: flex-start;
}
.card--article .coverbox__img, .card--service .coverbox__img { aspect-ratio: 16 / 9; }
.card__read { color: var(--muted); }

/* ---------- steps ---------- */
.steps__list {
  list-style: none; padding: 0; margin: 0; counter-reset: step;
  display: grid; gap: 26px; grid-template-columns: 1fr; position: relative;
}
.step { position: relative; padding-top: 46px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 0;
}
.step__num {
  position: absolute; top: -20px; left: 0;
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--bg); border: 1px solid var(--brass); color: var(--brass);
  font-family: var(--font-head); font-size: 15px; z-index: 2;
}
.step__title { margin: 0 0 8px; font-size: clamp(18px, 1.6vw, 22px); }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.steps__list--compact { }

/* ---------- clusters ---------- */
.cluster-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.cluster-card {
  position: relative; border: 1px solid var(--line); background: var(--panel);
  overflow: hidden; transition: transform .22s ease, border-color .22s ease;
}
.cluster-card:hover { transform: translateY(-2px); border-color: #37423a; }
.cluster-card a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; height: 100%; }
.cluster-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 24px; flex: 1; }
.cluster-card__count { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--olive); }
.cluster-card__title { margin: 0; font-size: clamp(19px, 1.7vw, 23px); }
.cluster-card__desc { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.cluster-card__more {
  color: var(--brass); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; gap: 8px; align-items: center;
}

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__q {
  cursor: pointer; list-style: none; padding: 20px 46px 20px 0; position: relative;
  font-family: var(--font-head); font-size: 18px; letter-spacing: .01em; font-weight: 600;
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q::after {
  content: "+"; position: absolute; right: 8px; top: 17px;
  color: var(--brass); font-family: var(--font-body); font-size: 24px; line-height: 1;
  transition: transform .2s ease;
}
.accordion__item[open] .accordion__q::after { content: "\2013"; }
.accordion__a { padding: 0 46px 22px 0; color: var(--muted); }
.accordion__a p:last-child { margin-bottom: 0; }

/* ---------- lead / CTA ---------- */
.lead { background: linear-gradient(180deg, var(--steel), var(--bg)); border-top: 1px solid var(--line); }
.lead__inner {
  display: grid; gap: 30px; grid-template-columns: 1fr;
  padding-block: clamp(48px, 7vw, 88px); align-items: start;
}
.lead__title { margin: 0 0 12px; }
.lead__desc { color: var(--muted); max-width: 52ch; }
.lead__list { list-style: none; padding: 0; margin: 0 0 18px; }
.lead__list li { padding-left: 24px; position: relative; color: var(--muted); }
.lead__list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 7px; height: 7px; background: var(--brass);
  transform: rotate(45deg);
}
.lead__phone { color: var(--ink); font-size: 15px; }
.lead__phone a { color: var(--brass); text-decoration: none; }
.lead__phone a:hover { text-decoration: underline; }
.lead__form {
  position: relative; overflow: hidden;
  background-color: var(--panel); border: 1px solid var(--line);
  border-top: 2px solid var(--brass); padding: 24px;
}
.lead__form::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--lead-cover);
  background-size: cover; background-position: center;
  opacity: .12; filter: saturate(.7);
}
.lead__form > * { position: relative; z-index: 1; }
.field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  background: rgba(13, 16, 14, .82); border: 1px solid var(--line); color: var(--ink);
  padding: 13px 14px; font: inherit; border-radius: var(--radius); width: 100%; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c9593f; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.checkbox input { margin-top: 4px; width: 16px; height: 16px; flex: 0 0 auto; }
.checkbox a { color: var(--brass); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__status { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.lead__status[data-state="ok"] { color: var(--ok); }
.lead__status[data-state="error"] { color: var(--danger); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
.footer__brand {
  font-family: var(--font-head); font-size: 22px; text-transform: uppercase;
  letter-spacing: .06em; margin: 0 0 10px;
}
.footer__about { color: var(--muted); font-size: 14px; max-width: 42ch; }
.footer__title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.footer__col { display: flex; flex-direction: column; }
.footer__col a, .footer__hours { color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 14px; }
.footer__col a:hover { color: var(--brass); }
.footer__disclaimer { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; color: var(--muted); font-size: 13px; }
.footer__copy { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.legal-note {
  color: var(--brass); font-size: 13px; border-left: 2px solid var(--brass);
  padding-left: 12px; margin: 14px 0 0;
}
.author { margin-top: 16px; }
.author__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.author__name { font-family: var(--font-head); font-size: 18px; margin: 3px 0; }
.author__role, .author__note { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- page hero (hub / simple pages) ---------- */
.page-hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 320px at 88% -20%, rgba(124, 140, 93, .1), transparent 60%);
}
.page-hero .container { position: relative; padding-top: 30px; padding-bottom: 46px; }
.page-hero h1 { max-width: 26ch; }
.page-hero__lead { max-width: 66ch; color: var(--muted); }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.badge { display: inline-block; border: 1px solid var(--brass); color: var(--brass); padding: 3px 9px; }

/* ---------- breadcrumbs ---------- */
.crumbs { margin: 0 0 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- entry hero (service / article cover) ---------- */
.entry-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.entry-hero__media { position: absolute; inset: 0; z-index: 0; }
.entry-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.03) brightness(.72); }
.entry-hero__media .coverbox__fallback { aspect-ratio: auto; height: 100%; }
.entry-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 16, 14, .93) 0%, rgba(13, 16, 14, .68) 50%, rgba(13, 16, 14, .34) 100%),
    linear-gradient(180deg, rgba(13, 16, 14, .28), rgba(13, 16, 14, .92));
}
.entry-hero__inner { position: relative; z-index: 2; padding-top: 34px; padding-bottom: clamp(38px, 6vw, 70px); }
.entry-hero h1 { max-width: 30ch; margin-bottom: 14px; }
.entry-hero__lead { max-width: 64ch; color: var(--muted); font-size: clamp(16px, 2vw, 18px); }
.entry-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* ---------- entry layout ---------- */
.entry__layout {
  display: grid; gap: 30px; grid-template-columns: 1fr;
  padding-block: clamp(34px, 6vw, 64px); align-items: start;
}
.entry__body { max-width: 76ch; min-width: 0; }
.entry__body > h2:first-child { margin-top: 0; }
.entry__body h2 { margin-top: 1.7em; padding-top: .1em; }
.entry__body h3 { margin-top: 1.4em; }
.entry__body a { color: var(--brass); }
.entry__body a:hover { text-decoration: underline; }
.entry__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.entry__body th, .entry__body td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.entry__body th { background: var(--panel); font-family: var(--font-head); font-weight: 600; }
.entry__body blockquote { margin: 1.5em 0; padding: 6px 0 6px 20px; border-left: 2px solid var(--olive); color: var(--muted); }
.entry__body ol, .entry__body ul { padding-left: 1.4em; }
.entry__aside { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.aside-box { border: 1px solid var(--line); background: var(--panel); padding: 22px; }
.aside-box__label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.aside-box p { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.aside-box p:last-child { margin-bottom: 0; }
.aside-box--cta { border-top: 2px solid var(--brass); }
.aside-box--cta .btn { width: 100%; }
.stub { border: 1px dashed var(--line); background: var(--panel); padding: 24px; }
.stub__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--brass); margin: 0 0 8px; }
.stub__meta { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- cover block (legacy) ---------- */
.cover { margin: 0; border-bottom: 1px solid var(--line); background: var(--panel); }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- toc ---------- */
.toc { border: 1px solid var(--line); background: var(--panel); padding: 18px 20px; margin: 0 0 30px; }
.toc__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc ul ul { padding-left: 14px; }
.toc a {
  text-decoration: none; color: var(--muted); font-size: 14px; display: block;
  padding: 5px 0 5px 12px; border-left: 2px solid transparent; line-height: 1.35;
}
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--brass); }

/* ---------- callouts ---------- */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--olive); background: var(--panel); padding: 20px 22px; margin: 1.6em 0; }
.callout__label {
  display: inline-block; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .12em; font-size: 13px; color: var(--olive); margin: 0 0 8px;
}
.callout--important { border-left-color: var(--brass); }
.callout--deadline { border-left-color: var(--brass); }
.callout--important .callout__label, .callout--deadline .callout__label { color: var(--brass); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- sources / related ---------- */
.sources__list { max-width: 76ch; }
.sources__list a { color: var(--muted); }
.sources__list a:hover { color: var(--brass); }
.related__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.related__item { background: var(--panel); border: 1px solid var(--line); }
.related__item a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.related__body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.related__kind { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.related__title { font-family: var(--font-head); font-size: 18px; }
.related__item a:hover .related__title { color: var(--brass); }

/* ---------- contacts / about ---------- */
.contacts-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--panel); padding: 22px; display: flex; flex-direction: column; gap: 8px; border-left: 2px solid var(--brass); }
.contact-card__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card a { color: var(--brass); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.principles { list-style: none; padding: 0; }
.principles li { border-top: 1px solid var(--line); padding: 16px 0; }
.todo-list { margin: 0; padding-left: 1.1em; }
.todo-list li { color: var(--muted); font-size: 14px; }

/* ---------- karta ---------- */
.karta { display: grid; gap: 30px; grid-template-columns: 1fr; }
.karta__title { margin: 0 0 14px; font-size: 22px; }
.karta__list { list-style: none; padding: 0; margin: 0; }
.karta__list a { color: var(--muted); text-decoration: none; display: block; padding: 9px 0; border-bottom: 1px solid var(--line); }
.karta__list a:hover { color: var(--brass); }

/* ---------- 404 ---------- */
.notfound { padding: clamp(48px, 9vw, 110px) 0; }
.notfound__panel {
  position: relative; border: 1px solid var(--line); background: var(--panel);
  padding: clamp(28px, 5vw, 56px); max-width: 720px;
}
.notfound__panel::before, .notfound__panel::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--brass);
}
.notfound__panel::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.notfound__panel::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.notfound__code {
  font-family: var(--font-head); font-size: clamp(64px, 14vw, 132px); line-height: .9;
  color: var(--brass); margin: 0 0 8px; letter-spacing: .04em;
}
.notfound__panel h1 { margin: 0 0 14px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* ---------- misc ---------- */
.doc-meta { color: var(--muted); font-size: 13px; }
.section__label { color: var(--brass); }

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cluster-grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .karta { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .container { padding-inline: 24px; }
  .header__phone { display: inline; }
  .header__cta { display: inline-flex; }
  .lead__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .entry__layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.12fr .88fr; gap: 48px; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-nav, .nav-backdrop { display: none !important; }
  .grid--services { grid-template-columns: repeat(3, 1fr); }
  .grid--articles { grid-template-columns: repeat(3, 1fr); }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .cluster-grid { grid-template-columns: repeat(3, 1fr); }
  .related__grid { grid-template-columns: repeat(3, 1fr); }
  .steps__list { grid-template-columns: repeat(4, 1fr); }
  .steps__list::before {
    content: ""; position: absolute; top: 19px; left: 19px; right: 19px;
    height: 1px; background: linear-gradient(90deg, var(--line), rgba(217, 164, 65, .35), var(--line));
  }
  .step { padding-top: 52px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .entry__layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .entry__aside--sticky { position: sticky; top: calc(var(--header-h) + 18px); }
}

@media (min-width: 1280px) {
  :root { --container: 1180px; }
  .entry__layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (min-width: 768px) { .steps__list--compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps__list--compact { grid-template-columns: repeat(3, 1fr); } }
.stub__outline { color: var(--muted); font-size: 15px; }

/* mobile: только логотип и бургер (CTA и телефон в drawer) */
@media (max-width: 767px) {
  .header__cta, .header__phone { display: none; }
}
