/* Каркас для всех доменов. Внешний вид задаёт skin-*.css через переменные. */
:root {
  --bg: #f4f2ec;
  --ink: #171a14;
  --muted: #5d6356;
  --line: rgba(23, 26, 20, 0.14);
  --surface: #ffffff;
  --alt: #e9e5da;
  --alt-ink: var(--ink);
  --alt-muted: var(--muted);
  --alt-line: var(--line);
  --alt-surface: #ffffff;
  --dark: #171a14;
  --dark-ink: #f3f1ea;
  --dark-muted: rgba(243, 241, 234, 0.7);
  --dark-line: rgba(243, 241, 234, 0.16);
  --dark-surface: rgba(255, 255, 255, 0.06);
  --accent: #3d4c34;
  --accent-ink: #ffffff;
  --hot: #b8892b;
  --num: var(--ink);
  --f-head: "Segoe UI", sans-serif;
  --f-body: "Segoe UI", sans-serif;
  --head-w: 800;
  --head-case: none;
  --head-track: -0.01em;
  --head-lh: 1.05;
  --num-w: var(--head-w);
  --r: 14px;
  --r-btn: 10px;
  --wrap: 1180px;
  --pad: clamp(16px, 3.5vw, 32px);
  --sec: clamp(48px, 6vw, 88px);
  --h1: clamp(34px, 5vw, 64px);
  --h2: clamp(26px, 3.2vw, 40px);
  --h3: 20px;
  --hero-veil: linear-gradient(90deg, rgba(10, 12, 9, 0.86) 0%, rgba(10, 12, 9, 0.55) 45%, rgba(10, 12, 9, 0.1) 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px -18px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--f-head);
  font-weight: var(--head-w);
  text-transform: var(--head-case);
  letter-spacing: var(--head-track);
  line-height: var(--head-lh);
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.2; }
h4 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
b, strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); }
.skip:focus { left: 12px; top: 12px; }
.nowrap { white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.muted, .notice { color: var(--muted); font-size: 15px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.kicker, .section-k {
  margin: 0 0 14px;
  font: 700 13px/1.3 var(--f-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hot);
}
.atmo, .hero-cut, .sec-join, .foot-rank, .cash-medal, .side-dock, .hero-fog, .hero-payline { display: none; }

/* Кнопки */
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-btn);
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 16px/1 var(--f-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-line { background: transparent; color: currentColor; border-color: currentColor; }
.btn-line:hover { color: inherit; background: rgba(127, 127, 127, 0.12); }
.btn-xl { min-height: 60px; padding: 0 34px; font-size: 17px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Шапка */
.mast { position: relative; z-index: 40; }
.mast-intel { display: block; background: var(--hot); color: var(--accent-ink); text-decoration: none; }
.mast-intel:hover { color: var(--accent-ink); }
.intel-in { display: flex; align-items: center; justify-content: center; gap: 8px 18px; min-height: 40px; font-size: 14px; }
.intel-k { font-weight: 600; opacity: 0.8; }
.intel-in b { font: var(--head-w) 15px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; }
.intel-s { opacity: 0.8; }
.intel-go { font-size: 18px; transition: transform 0.2s; }
.mast-intel:hover .intel-go { transform: translateX(4px); }
@media (max-width: 700px) { .intel-k, .intel-s { display: none; } }
.top { background: var(--dark); color: var(--dark-ink); border-bottom: 1px solid var(--dark-line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.top-left { display: flex; align-items: center; gap: 14px; flex: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  max-width: min(52vw, 340px);
  overflow: hidden;
  font: 700 clamp(16px, 1.8vw, 22px)/1 "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* лёгкие отличия шрифта — без неона и «эффектов» */
.brand-portal .brand-word { font-family: "Alumni", "Oswald", "Arial Narrow", sans-serif; font-weight: 800; letter-spacing: 0.03em; }
.brand-mo .brand-word { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 700; letter-spacing: 0.1em; }
.brand-light .brand-word { font-family: "Geologica", "Golos", sans-serif; font-weight: 700; letter-spacing: 0.02em; }
.brand-vagner .brand-word { font-family: "FiraXC", "Oswald", "Arial Narrow", sans-serif; font-weight: 800; letter-spacing: 0.05em; }
.brand-online .brand-word { font-family: "Manrope", "Segoe UI", sans-serif; font-weight: 800; letter-spacing: 0.06em; }
.brand-site .brand-word { font-family: "Plex", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: 0.02em; }
.brand-brand .brand-word { font-family: "RobotoC", "Oswald", "Arial Narrow", sans-serif; font-weight: 700; letter-spacing: 0.06em; }
.brand-mo .brand-mark { width: 44px; height: 44px; }
.brand .brand-a, .top .brand .brand-a, .site-foot .brand .brand-a,
.skin-d .site-foot .brand-a, .skin-e .site-foot .brand-a,
.skin-f .site-foot .brand-a, .skin-g .site-foot .brand-a {
  color: var(--logo-a, #e32e2e) !important;
  font-weight: inherit;
}
.brand .brand-b, .top .brand .brand-b, .site-foot .brand .brand-b,
.skin-d .site-foot .brand-b, .skin-e .site-foot .brand-b,
.skin-f .site-foot .brand-b, .skin-g .site-foot .brand-b {
  color: var(--logo-b, #2e70c2) !important;
  font-weight: inherit;
}
/* старый двухстрочный вариант — на случай внутренних страниц */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: var(--head-w) 22px/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.04em; }
.brand-text em { margin-top: 4px; font: 700 11px/1 var(--f-body); font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hot); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--dark-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--dark-ink); background: var(--dark-surface); }
.top-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.phone.mail { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--dark-muted); }
.phone.mail:hover { color: var(--dark-ink); }
.msgs { display: flex; gap: 8px; }
.ico { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; }
.ico img { width: 100%; height: 100%; object-fit: cover; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px 10px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Первый экран */
.hero-bleed, .hero-cinema, .hero-light, .page-banner {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-ink);
  --ink: var(--dark-ink);
  --muted: var(--dark-muted);
  --line: var(--dark-line);
  --surface: var(--dark-surface);
}
.hero-bleed { display: flex; align-items: center; min-height: clamp(420px, calc(100svh - 200px), 640px); padding: 48px 0; }
@media (min-width: 1680px) {
  :root { --wrap: 1240px; }
  body { font-size: 19px; }
}
@media (min-width: 2200px) { html { zoom: 1.28; } }
@media (min-width: 3000px) { html { zoom: 1.6; } }
.hero-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background: var(--hero-veil); }
.hero-overlay { position: relative; z-index: 2; }
.hero-card { max-width: 680px; }
.hero-card h1 { margin-bottom: 22px; }
.hero-card .lead { margin-bottom: 32px; color: var(--dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 28px; }
.pay-chip, .money-card {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  border: 1px solid var(--dark-line);
  background: rgba(0, 0, 0, 0.35);
  font-size: 15px;
  color: var(--dark-ink);
}
.pay-chip b, .money-card b { color: var(--hot); }

.hero-cinema { display: grid; place-items: center; min-height: 640px; padding: 80px 0 60px; text-align: center; }
.hero-cinema .hero-cast { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-cinema-ui { position: relative; z-index: 2; }

.hero-light { padding: 72px 0; }
.hero-light-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { margin: 22px 0 30px; color: var(--dark-muted); }
.hero-soldier { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r); }

.page-banner { padding: 120px 0 72px; min-height: 380px; display: flex; align-items: flex-end; }
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { max-width: 18ch; font-size: clamp(32px, 4.4vw, 56px); margin: 0; }

/* Постер-герой */
.hx {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(460px, calc(100svh - 140px), 680px);
  padding: 64px 0 80px;
  background: var(--dark);
  color: var(--dark-ink);
  --ink: var(--dark-ink);
  --muted: var(--dark-muted);
  --line: var(--dark-line);
  --surface: var(--dark-surface);
}
.hx-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hx-veil { position: absolute; inset: 0; z-index: -1; background: var(--hero-veil); }
.hx-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.hx-copy { max-width: 780px; }
.hx-k { margin: 0 0 22px; font: 700 14px/1.3 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hot); }
.hx-h { margin: 0 0 26px; font-size: var(--h1); }
.hx-h em { font-style: normal; color: var(--hot); }
.hx-lead { max-width: 44ch; margin: 0 0 36px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--dark-ink); opacity: 0.92; }
.hx-act { display: flex; flex-wrap: wrap; gap: 14px; }
.hx-note { margin: 26px 0 0; font-size: 15px; color: var(--dark-muted); }
.hx-note b { color: var(--hot); }
.hx-badge { display: none; }

.stats { position: relative; z-index: 3; }
.stats-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; }
.stat b { font: var(--num-w) clamp(32px, 4vw, 56px)/0.95 var(--f-head); letter-spacing: -0.01em; white-space: nowrap; color: var(--hot); }
.stat span { max-width: 30ch; font-size: 16px; line-height: 1.45; color: var(--muted); }
.ic { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.stat .ic { display: none; }

.rc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 26px 24px;
  color: #fff;
  text-decoration: none;
}
.rc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.rc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.88) 100%); }
.rc:hover { color: #fff; }
.rc:hover img { transform: scale(1.06); }
.rc-n { position: absolute; top: 20px; left: 24px; font: var(--num-w) 18px/1 var(--f-head); color: var(--hot); }
.rc b { font: var(--head-w) clamp(28px, 2.6vw, 38px)/1 var(--f-head); text-transform: uppercase; letter-spacing: var(--head-track); }
.rc p { margin: 10px 0 18px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
.rc-go { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hot); }
.rc-go::before { content: ""; width: 26px; height: 2px; background: currentColor; transition: width 0.3s; }
.rc:hover .rc-go::before { width: 44px; }

.tile-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 30px; }
.tile-head h2 { margin: 0; }
.tile-num { margin: 0; font: var(--num-w) clamp(30px, 3.4vw, 46px)/1 var(--f-head); color: var(--hot); }
.tile-note { margin: 0 0 0 auto; font-size: 15px; color: var(--muted); }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 22px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tile .ic { width: 64px; height: 64px; margin-bottom: 8px; color: var(--hot); }
.tile h3 { margin: 0; }
.tile p { margin: 0; font-size: 15px; color: var(--muted); }

.perk3-h { text-align: center; margin: 0 auto 40px !important; max-width: none !important; }
.perk3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.perk3 { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 32px; text-align: center; }
.perk3 + .perk3 { border-left: 1px solid var(--line); }
.perk3 .ic { width: 76px; height: 76px; margin-bottom: 10px; color: var(--hot); }
.perk3 h3 { margin: 0; }
.perk3 p { margin: 0; max-width: 30ch; font-size: 16px; color: var(--muted); }

.hud { display: none; }
.rc-sheet + .sheet, .rc-sheet + .rings-sheet, .tile-sheet + .sheet, .tile-sheet + .rings-sheet, .perk3-sheet + .sheet, .perk3-sheet + .rings-sheet { padding-top: var(--sec) !important; }
.stats + .sheet:not(.paper) { padding-top: calc(var(--sec) * 0.7); }

/* Бегущая строка */
.money-tape { overflow: hidden; background: var(--accent); color: var(--accent-ink); border-block: 1px solid rgba(0, 0, 0, 0.1); }
.money-tape-track { display: flex; width: max-content; padding: 14px 0; animation: tape 60s linear infinite; white-space: nowrap; }
.money-tape b { padding: 0 24px; font: var(--head-w) 18px/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.04em; }
.money-tape i { opacity: 0.5; font-style: normal; }
@keyframes tape { to { transform: translateX(-50%); } }

/* Секции */
.sheet, .rings-sheet, .form-stage { position: relative; padding: var(--sec) 0; background: var(--bg); color: var(--ink); }
.sheet.paper, .paper {
  --bg: var(--alt);
  --ink: var(--alt-ink);
  --muted: var(--alt-muted);
  --line: var(--alt-line);
  --surface: var(--alt-surface);
  background: var(--bg);
  color: var(--ink);
}
.sheet:not(.paper) + .sheet:not(.paper),
.rings-sheet + .sheet:not(.paper),
.sheet:not(.paper) + .rings-sheet,
.paper + .paper { padding-top: 0; }
.sheet > .wrap > h2, .rings-panel > h2 { max-width: 22ch; margin-bottom: 28px; }
.board-lead, .sheet .wrap > .lead { margin: -8px 0 40px; }
.pay-cta { margin: 44px 0 0; }
.join { margin-bottom: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Выплаты */
.cash-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.cash {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}
.cash-k { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cash-n { margin: 0 0 14px; font: var(--num-w) clamp(30px, 3vw, 44px)/1 var(--f-head); letter-spacing: -0.02em; color: var(--num); white-space: nowrap; }
.cash-s { margin: auto 0 0; font-size: 16px; color: var(--muted); }
.cash-hot .cash-n { color: var(--hot); }
.perk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.perk { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); }
.perk b { font: var(--num-w) 24px/1.1 var(--f-head); color: var(--num); }
.perk span { font-size: 15px; color: var(--muted); }
.sign-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 26px 28px;
  border-radius: var(--r);
  background: var(--dark);
  color: var(--dark-ink);
}
.sign-band p { margin: 0; color: var(--dark-muted); }
.sign-band .sign-k { margin-bottom: 4px; font: var(--head-w) 24px/1.15 var(--f-head); text-transform: var(--head-case); color: var(--dark-ink); }

/* Факты и статья */
.paper-card { padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.paper-card.wrap { width: calc(100% - var(--pad) * 2); max-width: 980px; }
.paper-card.prose h1 { font-size: clamp(32px, 4.6vw, 64px); }
.paper-card.prose h2 { margin-top: 1.4em; font-size: clamp(22px, 2.4vw, 30px); }
.fact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 28px; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-left: 4px solid var(--hot); background: var(--bg); border-radius: 0 var(--r) var(--r) 0; }
.fact b { font: var(--num-w) clamp(30px, 3vw, 42px)/1 var(--f-head); color: var(--num); }
.fact span { font-size: 15px; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.article-note { margin-top: 24px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step img { display: none; }
.step span { display: block; margin-bottom: 18px; font: var(--num-w) 44px/1 var(--f-head); color: var(--hot); }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; font-size: 16px; color: var(--muted); }
.step p b { color: var(--ink); }

.who-block { margin-top: clamp(64px, 8vw, 100px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card p + p { margin-top: 10px; }

/* Должности */
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.role { padding: 24px; background: var(--bg); }
.role h3 { margin-bottom: 8px; font-size: 19px; }
.role p { margin: 0; font-size: 15px; color: var(--muted); }
.role-list { list-style: none; counter-reset: role; border-top: 1px solid var(--line); }
.role-list li { counter-increment: role; display: grid; grid-template-columns: 56px 220px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.role-list li::before { content: counter(role, decimal-leading-zero); font: var(--num-w) 20px/1 var(--f-head); color: var(--hot); }
.role-list b { font-size: 19px; }
.role-list span { color: var(--muted); }
.role-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.role-chip { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table-wrap th, .table-wrap td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }

.prem-band { margin-top: 56px; }
.prem-band h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 20px; }
.prem-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.prem { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.prem b { font: var(--num-w) clamp(26px, 2.6vw, 36px)/1 var(--f-head); color: var(--num); }
.prem span { color: var(--muted); font-size: 15px; }

.pack-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pack-solo { margin-top: 56px; }
.pack-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pack-card h3 { font-size: 24px; margin-bottom: 20px; }
.doc-list { list-style: none; }
.doc-list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list i { font: var(--num-w) 16px/1.6 var(--f-head); font-style: normal; color: var(--hot); }
.doc-check, .cond, .med-list, .ip-check { list-style: none; }
.doc-check li, .cond li, .med-list li, .ip-check li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); }
.doc-check li:last-child, .cond li:last-child, .med-list li:last-child, .ip-check li:last-child { border-bottom: 0; }
.doc-check li::before, .cond li::before, .ip-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--hot);
  border-bottom: 2.5px solid var(--hot);
  transform: rotate(-45deg);
}
.med-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 2.5px; background: var(--muted); }
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.doc-cols h4 { color: var(--hot); margin-bottom: 8px; }
.med-card .muted { margin-top: 18px; }

.grant-h { margin: 56px 0 20px; font-size: clamp(24px, 2.4vw, 32px); }
.grant-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grant-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grant { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.grant b { font: var(--head-w) 20px/1.2 var(--f-head); text-transform: var(--head-case); }
.grant span { color: var(--muted); font-size: 16px; }
.grant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.grant-h + .grant-grid { margin-top: 0; }

/* Навигация портала и форма */
.nav-links { display: grid; gap: 12px; margin-top: 8px; }
.nav-card { display: block; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.nav-card:hover { color: inherit; border-color: var(--accent); transform: translateX(4px); }
.nav-card h3 { margin-bottom: 6px; }
.nav-card p { margin: 0; color: var(--muted); font-size: 16px; }

.lead-box, .form-panel {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--dark);
  color: var(--dark-ink);
  --ink: var(--dark-ink);
  --muted: var(--dark-muted);
  --line: var(--dark-line);
  box-shadow: var(--shadow);
}
.lead-box h2 { font-size: clamp(26px, 2.6vw, 34px); }
.forma { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.forma .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: calc(var(--r-btn) - 2px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: #15170f;
  font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 30%, transparent); }
.forma-agreed { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.forma-agreed input { margin-right: 6px; accent-color: var(--hot); }
.forma-submit { margin: 4px 0 0; }
.forma-submit .btn { width: 100%; }
.done { padding: 14px 16px; border-radius: var(--r-btn); background: rgba(80, 160, 90, 0.18); color: inherit; font-weight: 600; }
.form-stage .wrap > form { max-width: 860px; margin: 0 auto; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.form-stage h2 { text-align: center; margin-bottom: 32px; }

/* Оформление, ставки, семья */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 64px; }
.dash-grid h3 { margin-bottom: 14px; }
.dash-box { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.dash-row:last-child { border-bottom: 0; }
.dash-row img { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: var(--dark); object-fit: contain; flex: none; }
.pay-scale h2 { margin-bottom: 24px; }
.vac-line { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.vac-line b { font: var(--num-w) 24px/1 var(--f-head); color: var(--num); white-space: nowrap; }
.pay-scale .muted { margin-top: 20px; }
.cash-echo { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; font-size: 16px; color: var(--muted); }
.cash-echo b { color: var(--ink); }
.family-stage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.family-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.family-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.family-lists h3 { color: var(--hot); }
.family-lists .cond li { font-size: 16px; }

/* Галерея — ровная сетка 4×2 */
.photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, 18vw);
  gap: 10px;
}
.film-card { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: #111; min-height: 0; }
.film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.film-card:hover img { transform: scale(1.04); }
.film-main { grid-column: span 1; grid-row: span 1; }
.film-card figcaption {
  position: absolute; left: 10px; bottom: 10px;
  padding: 4px 8px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Видео с полигона */
.video-sheet { padding-top: 4px; }
.video-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.vid-card { margin: 0; display: grid; gap: 8px; min-width: 0; }
.vid-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--r);
  background: #111;
}
.vid-card figcaption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Партнёры */
.logo-sheet { padding-top: 4px; }
.logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
  margin-top: 22px;
}
.logo-row figure { margin: 0; display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.logo-row img {
  width: min(100%, 88px);
  height: 56px;
  object-fit: contain;
}
.logo-row figcaption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--muted);
  max-width: 14ch;
}

/* Официальные ресурсы */
.off-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.off { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.off h3 { margin-bottom: 8px; }
.off p { color: var(--muted); font-size: 16px; }
.off p:last-child { margin-top: 14px; }
.off a { color: var(--ink); font-weight: 700; }
.off-line { padding: 28px 0; background: var(--alt); color: var(--alt-ink); font-size: 16px; }
.off-line a { margin-left: 14px; font-weight: 700; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font: var(--head-w) 20px/1.3 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 30px/1 var(--f-body); color: var(--hot); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 70ch; color: var(--muted); }

/* Обман */
.legal-strip { padding: 22px 0; background: var(--hot); color: var(--accent-ink); font-weight: 700; text-align: center; }
.legal-strip p { margin: 0; }
.scam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; counter-reset: scam; }
.scam { counter-increment: scam; position: relative; padding: 28px 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.scam b { display: block; margin-bottom: 8px; font: var(--head-w) 22px/1.2 var(--f-head); text-transform: var(--head-case); }
.scam p { margin: 0; color: var(--muted); font-size: 16px; }

/* Плюсы (contraktmo) */
.plus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plus { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.plus b, .plus h3 { display: block; margin-bottom: 10px; font: var(--num-w) 30px/1.05 var(--f-head); color: var(--num); }
.plus p { margin: 0; color: var(--muted); font-size: 16px; }

/* Квиз */
.quiz { max-width: 900px; }
.quiz > h2 { margin-bottom: 10px; }
.quiz [data-count] { margin-bottom: 12px; font-weight: 700; }
.progress { height: 6px; margin-bottom: 36px; border-radius: 6px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 20%; background: var(--hot); transition: width 0.3s ease; }
.quiz [data-step] h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 22px; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 24px;
  border-radius: var(--r);
  border: 2px solid var(--line);
  background: var(--surface);
  font: 700 18px/1.2 var(--f-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.pick::after { content: "→"; color: var(--hot); font-size: 22px; }
.pick:hover { border-color: var(--hot); transform: translateY(-2px); }
.pick.is-on { border-color: var(--hot); background: color-mix(in srgb, var(--hot) 14%, var(--surface)); }
.quiz-nav { margin-top: 20px; }
.quiz form { margin-top: 20px; }

/* Анонс статьи */
.art-teaser-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 48px;
  align-items: center;
  width: calc(100% - var(--pad) * 2);
  max-width: var(--wrap);
  padding: clamp(26px, 3.4vw, 44px) clamp(22px, 3.6vw, 48px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  background: var(--surface);
}
.art-teaser-in > * { grid-column: 1; max-width: 760px; }
.art-teaser-in > p:last-child { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.art-teaser h2 { margin-bottom: 10px; }
.art-teaser h2 a { text-decoration: none; }
.art-teaser h2 a:hover { color: var(--hot); }
.art-teaser p { color: var(--muted); }

/* Статья */
.art-page { padding: var(--sec) 0 0; }
.art-page .art-form { margin-top: calc(var(--sec) * 0.7); }
.art-wrap { max-width: calc(820px + var(--pad) * 2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.art-lead, .ip-lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; margin-bottom: 28px; }
.art-toc { margin: 0 0 48px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); }
.art-toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.art-toc a:hover { border-bottom-color: var(--accent); }
.art-toc p { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hot); }
.art-toc ol { padding-left: 20px; }
.art-toc li { padding: 4px 0; }
.art-sec { margin-bottom: 44px; }
.art-sec h2 { font-size: clamp(26px, 2.8vw, 36px); }
.art-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.art-end p { margin: 0; max-width: 46ch; }
.art-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 28px; }
.art-list .nav-card { display: flex; flex-direction: column; gap: 4px; }
.art-list .nav-card .section-k { margin-bottom: 8px; align-self: flex-start; }
.art-list .nav-card p:last-child { font-size: 15px; }
.art-related { margin-top: 56px; }
.art-related h2 { font-size: clamp(24px, 2.4vw, 32px); }
.art-related .art-list { grid-template-columns: 1fr; }
.art-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); list-style: none; font-size: 15px; }
.art-more a { color: var(--ink); text-underline-offset: 4px; }
.art-more a:hover { color: var(--hot); }

/* Внутренние страницы портала */
.ip-wrap { max-width: calc(980px + var(--pad) * 2); }
.ip > .wrap + .wrap { margin-top: 56px; }
.ip-intro { margin-bottom: 40px; }
.ip-note { color: var(--muted); font-size: 15px; }
.ip-stats, .ip-compare, .ip-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.ip-compare { grid-template-columns: 1fr 1fr; margin: 28px 0 0; }
.ip-stat, .ip-cmp, .ip-col { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ip-stat-k { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ip-stat-n, .ip-cmp-n { margin-bottom: 12px; font: var(--num-w) clamp(30px, 3vw, 42px)/1 var(--f-head); color: var(--num); white-space: nowrap; }
.ip-stat p:last-child, .ip-cmp p:last-child { color: var(--muted); font-size: 16px; }
.ip-stat-hot .ip-stat-n, .ip-cmp-hot .ip-cmp-n { color: var(--hot); }
.ip-col-n { font: var(--num-w) 40px/1 var(--f-head); color: var(--hot); margin-bottom: 14px; }
.ip-col h2 { font-size: 26px; }
.ip-block { margin-bottom: 56px; }
.ip-block h2 { font-size: clamp(28px, 3vw, 40px); }
.ip-block .table-wrap { margin-top: 28px; }
.ip-callout { margin-bottom: 24px; padding: 28px 32px; border-radius: var(--r); background: var(--dark); color: var(--dark-ink); }
.ip-callout h2 { font-size: 24px; margin-bottom: 10px; }
.ip-callout p { color: var(--dark-muted); }
.ip-callout a { color: var(--dark-ink); }
.ip-callout-info { background: var(--alt); color: var(--alt-ink); }
.ip-callout-info p { color: var(--alt-muted); }
.ip-callout-info a { color: var(--alt-ink); }
.ip-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 28px 32px; border-radius: var(--r); border: 2px solid var(--accent); }
.ip-cta p { margin: 0; color: var(--muted); }
.ip-cta .ip-cta-h { margin-bottom: 4px; font: var(--head-w) 24px/1.2 var(--f-head); text-transform: var(--head-case); color: var(--ink); }
.ip-steps { list-style: none; counter-reset: ips; margin-bottom: 56px; }
.ip-steps li { counter-increment: ips; position: relative; display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 0 20px 72px; border-bottom: 1px solid var(--line); }
.ip-steps li::before { content: counter(ips, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: var(--num-w) 32px/1 var(--f-head); color: var(--hot); }
.ip-steps b { font-size: 20px; }
.ip-steps span { color: var(--muted); }
.addr { display: block; margin: 0 0 8px; padding: 24px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-style: normal; line-height: 1.7; }
.addr strong { font-size: 19px; }
.ip-points { list-style: none; counter-reset: ipp; }
.ip-points li { counter-increment: ipp; position: relative; padding: 0 0 32px 72px; }
.ip-points li::before { content: counter(ipp, decimal-leading-zero); position: absolute; left: 0; top: 0; font: var(--num-w) 34px/1 var(--f-head); color: var(--hot); }
.ip-points h2 { font-size: 26px; }
.ip-points p { color: var(--muted); }
.ip-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 16px; }
.ip-chips li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 16px; }
.ip-faq-box { margin-bottom: 40px; }
.addr-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.addr-band p { color: var(--muted); max-width: 62ch; }
.addr-band .addr { margin: 0; padding: 32px; font-size: 18px; }
.addr-band .addr strong { font: var(--head-w) 24px/1.2 var(--f-head); text-transform: var(--head-case); }

/* Подвал */
.site-foot { padding: 72px 0 40px; background: var(--dark); color: var(--dark-ink); --ink: var(--dark-ink); --muted: var(--dark-muted); --line: var(--dark-line); }
.foot-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.foot-kicker { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-muted); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-col h3 { margin-bottom: 14px; font: 700 13px/1.3 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hot); }
.foot-col p { margin-bottom: 8px; font-size: 15px; }
.foot-col a { display: block; margin-bottom: 8px; font-size: 15px; color: var(--dark-muted); text-decoration: none; }
.foot-col p a { display: inline; margin: 0; }
.foot-col a:hover { color: var(--dark-ink); }
.foot-col .notice { color: var(--dark-muted); font-size: 14px; }
.foot-mail { color: var(--dark-ink) !important; font-weight: 700; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--dark-muted); }

/* Мобильная кнопка и модалка */
.sticky-cta { display: none; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(3px); }
.modal-sheet {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
}
.modal-sheet h3 { font-size: 30px; margin-bottom: 6px; }
.modal-sheet .muted { margin-bottom: 22px; }
.modal-x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--alt); cursor: pointer; }
.modal-x::before, .modal-x::after { content: ""; position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.modal-x::after { transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav a { padding: 8px; font-size: 14px; }
  .phone.mail { display: none; }
  .steps, .role-grid, .plus-grid, .grant-cards-4, .rc-grid, .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc { min-height: 400px; }
}

@media (max-width: 900px) {
  .hx { min-height: 0; align-items: flex-end; padding: 220px 0 48px; }
  .hx-img { object-position: 70% 30%; }
  .hx-in { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr; }
  .perk3-grid { grid-template-columns: 1fr; gap: 28px; }
  .perk3 + .perk3 { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .tile-note { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 600px) {
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
  .paper-card.wrap { width: calc(100% - 24px); padding: 26px 20px; }
  .hx { padding-top: 180px; }
  .hx-lead { margin-bottom: 28px; }
  .hx-act .btn, .hx-act .btn-line { flex: 1 1 100%; }
  .rc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rc { min-height: 300px; padding: 18px 16px; }
  .rc b { font-size: 24px; }
  .rc p { display: none; }
  .rc-go { margin-top: 12px; font-size: 11px; }
  .rc-n { top: 14px; left: 16px; }
  .tile-grid { gap: 10px; }
  .tile { padding: 22px 12px; }
  .tile .ic { width: 48px; height: 48px; }
  .tile p { font-size: 14px; }
}

@media (max-width: 900px) {
  .addr-band, .art-teaser-in { grid-template-columns: 1fr; }
  .art-teaser-in > p:last-child { grid-column: 1; grid-row: auto; margin-top: 8px; }
  body { font-size: 17px; }
  .menu-toggle { display: flex; }
  .top-in { min-height: 64px; gap: 12px; }
  .nav {
    position: fixed;
    inset: 64px 0 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 16px var(--pad) 40px;
    background: var(--dark);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--dark-line); border-radius: 0; font-size: 20px; color: var(--dark-ink); }
  .top-cta { margin-left: auto; }
  .intel-banner { height: 44px; }
  .hero-bleed { min-height: 0; padding: 72px 0 56px; }
  .hero-light-in, .split, .family-stage, .article-grid, .fact-row, .pack-split, .grant-grid, .doc-cols, .family-lists, .dash-grid, .ip-compare { grid-template-columns: 1fr; }
  .cash-board, .cards, .off-grid, .scam-grid, .prem-row, .grant-cards, .ip-stats, .ip-cols { grid-template-columns: 1fr; }
  .role-list li { grid-template-columns: 44px 1fr; }
  .role-list span { grid-column: 2; }
  .photos { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(120px, 28vw); }
  .film-main { grid-column: span 1; }
  .video-strip { grid-template-columns: 1fr 1fr; }
  .vid-card video { max-height: 150px; }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word { font-size: 15px; max-width: 58vw; }
  .top-in { gap: 10px; }
  .sheet > .wrap > h2, .rings-panel > h2 { max-width: none; }
  .sign-band, .ip-cta { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 8px;
    border-radius: calc(var(--r-btn) + 6px);
    background: var(--dark);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  }
  .sticky-cta .btn, .sticky-cta .btn-line { min-height: 48px; padding: 0 12px; font-size: 15px; }
  .sticky-cta .btn-line { color: var(--dark-ink); }
  body { padding-bottom: 84px; }
}

@media (max-width: 600px) {
  .steps, .role-grid, .plus-grid, .grant-cards-4, .picks, .forma { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-actions .btn-line { flex: 1 1 100%; }
  .cash, .step, .card, .pack-card { padding: 22px; }
  .vac-line { font-size: 16px; }
  .vac-line b { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Стиль D — «Кино»: чёрный экран, сверхузкие заголовки, огненный акцент. Тона: orange, red, gold. */
@font-face { font-family: "Alumni"; src: url("../fonts/alumni.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Golos"; src: url("../fonts/golos.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "FiraXC"; src: url("../fonts/firaxc-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Fira"; src: url("../fonts/fira-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira"; src: url("../fonts/fira-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "RobotoC"; src: url("../fonts/robotoc-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

body.skin-d {
  --bg: #0b0b0c;
  --ink: #f4f1ec;
  --muted: rgba(244, 241, 236, 0.66);
  --line: rgba(255, 255, 255, 0.1);
  --surface: #151517;
  --alt: #111113;
  --alt-ink: #f4f1ec;
  --alt-muted: rgba(244, 241, 236, 0.66);
  --alt-line: rgba(255, 255, 255, 0.1);
  --alt-surface: #19191c;
  --dark: #060607;
  --dark-ink: #f7f4ef;
  --dark-muted: rgba(247, 244, 239, 0.68);
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-surface: rgba(255, 255, 255, 0.05);
  --hot: #ff5a1f;
  --accent: var(--hot);
  --accent-ink: #0b0b0c;
  --num: var(--hot);
  --f-head: "Alumni", "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Golos", "Segoe UI", sans-serif;
  --head-w: 800;
  --head-case: uppercase;
  --head-track: 0;
  --head-lh: 0.9;
  --num-w: 800;
  --r: 4px;
  --r-btn: 2px;
  --h1: clamp(44px, 7vw, 88px);
  --h2: clamp(28px, 3.6vw, 44px);
  --h3: 26px;
  --hero-veil:
    linear-gradient(90deg, rgba(6, 5, 4, 0.94) 0%, rgba(6, 5, 4, 0.72) 34%, rgba(6, 5, 4, 0.12) 68%, rgba(6, 5, 4, 0) 100%),
    linear-gradient(0deg, rgba(6, 5, 4, 0.92) 0%, rgba(6, 5, 4, 0) 38%);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
body.tone-red {
  --f-head: "FiraXC", "Arial Narrow", sans-serif;
  --f-body: "Fira", "Segoe UI", sans-serif;
  --head-lh: 0.94;
  --hot: #ff2b2b;
  --bg: #0a0909;
  --alt: #100d0d;
  --surface: #161212;
  --alt-surface: #1a1414;
  --dark: #050404;
}
body.tone-gold {
  --hot: #e9b14a;
  --bg: #0a101c;
  --alt: #0d1525;
  --surface: #111b2f;
  --alt-surface: #142038;
  --dark: #060a13;
  --line: rgba(233, 177, 74, 0.14);
  --alt-line: rgba(233, 177, 74, 0.14);
  --dark-line: rgba(233, 177, 74, 0.16);
  --f-head: "RobotoC", "Arial Narrow", sans-serif;
  --f-body: "Inter", "Segoe UI", sans-serif;
  --head-w: 700;
  --num-w: 700;
  --head-lh: 0.98;
  --h1: clamp(40px, 6.5vw, 80px);
  --h2: clamp(26px, 3.4vw, 42px);
  --h3: 23px;
  --hero-veil:
    linear-gradient(90deg, rgba(6, 10, 19, 0.9) 0%, rgba(6, 10, 19, 0.6) 36%, rgba(6, 10, 19, 0) 70%),
    linear-gradient(0deg, rgba(6, 10, 19, 0.92) 0%, rgba(6, 10, 19, 0) 40%);
}

.skin-d { background: var(--bg); }
.skin-d ::selection { background: var(--hot); color: #000; }
.skin-d .kicker, .skin-d .section-k, .skin-d .hx-k {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.skin-d .section-k::before, .skin-d .hx-k::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.skin-d h2 { text-wrap: balance; }
.skin-d .sheet > .wrap > h2, .skin-d .rings-panel > h2 { max-width: 20ch; }
.tone-gold .sheet > .wrap > h2, .tone-gold .rings-panel > h2 { max-width: 20ch; }

/* Кнопки */
.skin-d .btn, .skin-d .btn-line {
  font: 700 15px/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skin-d .btn { color: #0b0b0c; }
.skin-d .btn:hover { color: #0b0b0c; box-shadow: 0 16px 40px -14px var(--hot); }
.skin-d .btn-line { border-width: 1.5px; color: var(--ink); border-color: rgba(255, 255, 255, 0.55); }
.skin-d .btn-line:hover { color: var(--ink); border-color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.skin-d .btn-xl { min-height: 62px; padding: 0 36px; font-size: 15px; }

/* Шапка */
.skin-d .top { background: rgba(6, 6, 7, 0.96); border-bottom: 1px solid var(--dark-line); }
.tone-gold .top { background: rgba(6, 10, 19, 0.97); }
.skin-d .brand-word { font-size: clamp(15px, 1.7vw, 21px); }
.skin-d .brand-mark { width: 38px; height: 38px; }
.skin-d .nav a { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-muted); background: none; border-radius: 0; }
.skin-d .nav a:hover, .skin-d .nav a[aria-current="page"] { color: var(--dark-ink); background: none; box-shadow: inset 0 -2px 0 var(--hot); }
.skin-d .mast-intel { color: #0b0b0c; }

/* Первый экран */
.skin-d .hx { z-index: 4; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), 0 100%); margin-bottom: -90px; padding-bottom: 170px; }
.skin-d .hx-h { line-height: 0.86; letter-spacing: -0.005em; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.5); }
.skin-d .hx-h em { display: block; }
.tone-gold .hx-h { line-height: 0.95; }
.tone-red .hx-h { font-size: clamp(40px, 6vw, 76px); }
.skin-d .hx-copy { max-width: 900px; }
.skin-d .hx-lead { font-size: clamp(19px, 1.7vw, 24px); }

/* Полоса цифр */
.skin-d .stats { padding: 150px 0 80px; background: var(--bg); }
.skin-d .stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 15% 0%, color-mix(in srgb, var(--hot) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.skin-d .stat { padding: 0 clamp(16px, 3vw, 44px); }
.skin-d .stat:first-child { padding-left: 0; }
.skin-d .stat + .stat { border-left: 1px solid var(--line); }
.skin-d .stat b { font-size: clamp(36px, 4.8vw, 64px); line-height: 0.95; }
.tone-gold .stat b { font-size: clamp(44px, 5.4vw, 88px); }
.skin-d .stat span { font-size: 17px; color: var(--ink); opacity: 0.82; }

/* Секции */
.skin-d .sheet, .skin-d .rings-sheet { background: var(--bg); }
.skin-d .sheet.paper { background: var(--alt); }
.skin-d .rings-sheet, .skin-d .board-sheet, .skin-d .film-sheet { border-top: 1px solid var(--line); }

/* Карточки специальностей */
.skin-d .rc { min-height: 520px; border: 1px solid var(--line); }
.skin-d .rc::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--hot);
  border-right: 2px solid var(--hot);
  z-index: 1;
}
.skin-d .rc b { font-size: clamp(34px, 3vw, 48px); line-height: 0.92; }
.tone-gold .rc b { font-size: clamp(26px, 2.2vw, 34px); }
.skin-d .rc-n { font-size: 22px; }

/* Выплаты */
.skin-d .cash { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 34px 30px; }
.skin-d .cash::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--hot); }
.skin-d .cash-n { font-size: clamp(48px, 4.8vw, 76px); line-height: 0.9; color: var(--ink); }
.tone-gold .cash-n { font-size: clamp(36px, 3.4vw, 54px); }
.skin-d .cash-hot { background: var(--hot); border-color: var(--hot); }
.skin-d .cash-hot::before { background: #000; }
.skin-d .cash-hot .cash-n, .skin-d .cash-hot .cash-k, .skin-d .cash-hot .cash-s { color: #0b0b0c; }
.skin-d .perk { background: var(--surface); }
.skin-d .perk b { color: var(--hot); font-size: 30px; }
.skin-d .sign-band { background: linear-gradient(90deg, #000, color-mix(in srgb, var(--hot) 22%, #000)); border: 1px solid var(--line); }
.skin-d .sign-band .sign-k { font-size: clamp(32px, 3vw, 46px); }

/* Шаги */
.skin-d .steps { gap: 0; border: 1px solid var(--line); }
.skin-d .step { border: 0; border-radius: 0; background: transparent; padding: 36px 30px 40px; }
.skin-d .step + .step { border-left: 1px solid var(--line); }
.skin-d .step span { font-size: clamp(40px, 5vw, 72px); line-height: 0.85; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--hot); }
.skin-d .step:hover span { color: var(--hot); }
.skin-d .step h3 { font-size: 34px; }
.tone-gold .step h3 { font-size: 26px; }

/* Должности, документы */
.skin-d .role-grid { background: var(--line); border-radius: 0; }
.skin-d .role { background: var(--bg); transition: background 0.2s; }
.skin-d .role:hover { background: var(--surface); }
.skin-d .role h3 { font-size: 30px; }
.tone-gold .role h3 { font-size: 22px; }
.skin-d .card, .skin-d .pack-card, .skin-d .grant, .skin-d .off, .skin-d .scam, .skin-d .prem, .skin-d .nav-card, .skin-d .paper-card, .skin-d .plus, .skin-d .addr { background: var(--surface); border-color: var(--line); }
.skin-d .card h3, .skin-d .pack-card h3 { font-size: 32px; }
.tone-gold .card h3, .tone-gold .pack-card h3 { font-size: 24px; }
.skin-d .scam { border-left: 3px solid var(--hot); }
.skin-d .scam b { font-size: 30px; }
.skin-d .fact { background: var(--bg); }
.skin-d .role-table td b { font-family: var(--f-body); text-transform: none; }
.skin-d .table-wrap { background: var(--surface); }

/* Форма */
.skin-d .lead-box, .skin-d .form-panel { background: #000; border: 1px solid var(--line); border-top: 3px solid var(--hot); box-shadow: var(--shadow); }
.skin-d .lead-box h2 { font-size: clamp(40px, 3.6vw, 58px); }
.tone-gold .lead-box h2 { font-size: clamp(30px, 2.6vw, 40px); }
.skin-d .field input, .skin-d .field select, .skin-d .field textarea { background: #151517; border-color: rgba(255, 255, 255, 0.14); color: #fff; border-radius: 2px; }
.tone-gold .field input, .tone-gold .field select, .tone-gold .field textarea { background: #0f182b; }
.skin-d .field select option { background: #151517; }
.skin-d .form-stage .wrap > form { background: var(--surface); }

/* Галерея */
.skin-d .film-card { border-radius: 0; }
.skin-d .film-card img, .skin-d .family-photo img, .skin-d .page-banner .hero-fill { filter: sepia(0.22) saturate(0.85) contrast(1.08) brightness(0.92); }
.tone-gold .film-card img, .tone-gold .family-photo img, .tone-gold .page-banner .hero-fill { filter: saturate(0.8) contrast(1.06) brightness(0.92); }
.skin-d .film-card figcaption { border-radius: 0; background: var(--hot); color: #0b0b0c; }

/* FAQ */
.skin-d .faq summary { font-size: 30px; line-height: 1.05; padding: 26px 56px 26px 0; }
.tone-gold .faq summary { font-size: 22px; line-height: 1.25; }
.skin-d .faq summary::after { font-size: 36px; }

/* Анонс статьи */
.skin-d .art-teaser-in { border: 1px solid var(--line); border-left: 4px solid var(--hot); background: linear-gradient(100deg, var(--surface), var(--bg)); }

/* Бегущая строка */
.skin-d .money-tape { background: var(--hot); color: #0b0b0c; }
.skin-d .money-tape b { font-size: 26px; }

/* Баннер внутренних страниц */
.skin-d .page-banner { min-height: 460px; }
.skin-d .page-banner h1 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; }
.tone-gold .page-banner h1 { font-size: clamp(44px, 5.4vw, 88px); }
.skin-d .off-line { background: var(--alt); border-top: 1px solid var(--line); }

/* Подвал */
.skin-d .site-foot { background: #000; border-top: 3px solid var(--hot); }
.tone-gold .site-foot { background: var(--dark); }
.skin-d .sticky-cta { background: #000; border: 1px solid var(--line); }

@media (max-width: 1100px) {
  .skin-d .steps { grid-template-columns: 1fr 1fr; }
  .skin-d .step:nth-child(3) { border-left: 0; }
  .skin-d .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .skin-d .hx { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%); margin-bottom: -40px; padding-bottom: 100px; }
  .skin-d .hx-h { font-size: clamp(36px, 10vw, 52px); }
  .tone-red .hx-h { font-size: clamp(34px, 9vw, 48px); }
  .tone-gold .hx-h { font-size: clamp(34px, 9vw, 48px); }
  .skin-d .stats { padding: 64px 0 36px; }
  .skin-d .stat, .skin-d .stat:first-child { padding: 18px 0; }
  .skin-d .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .skin-d .stat b { font-size: clamp(32px, 9vw, 48px); }
  .tone-gold .stat b { font-size: clamp(28px, 8vw, 42px); }
}

@media (max-width: 600px) {
  .skin-d { --h1: clamp(32px, 9vw, 44px); --h2: clamp(24px, 7vw, 34px); }
  .tone-gold { --h2: clamp(22px, 6.5vw, 32px); }
  .skin-d .steps { grid-template-columns: 1fr; }
  .skin-d .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .skin-d .rc { min-height: 300px; }
  .skin-d .rc b { font-size: 30px; }
  .tone-gold .rc b { font-size: 21px; }
  .skin-d .faq summary { font-size: 24px; }
  .tone-gold .faq summary { font-size: 19px; }
}
