/* =========================================================
   АКУМ ЕНЕРДЖІ — styles
   Light / dark themes via tokens. Fonts: Unbounded, Manrope, JetBrains Mono
   ========================================================= */

:root {
  --bg: #F5F3EE;
  --bg-alt: #ECE9E1;
  --surface: #FFFFFF;
  --ink: #141412;
  --ink-2: #3B3A36;
  --muted: #6B6960;
  --line: #DEDAD0;
  --line-strong: #C9C4B7;
  --accent: #F5B400;
  --accent-soft: rgba(245, 180, 0, .16);
  --accent-text: #8A5F00;
  --on-accent: #141412;
  --ph1: #F5B400;
  --ph2: #141412;
  --ph3: #9C9889;
  --grid: rgba(20, 20, 18, .06);
  --shadow: 0 1px 2px rgba(20, 20, 18, .04), 0 12px 32px -12px rgba(20, 20, 18, .12);
  --ok: #1F7A4D;
  --err: #B3261E;

  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0F0C;
    --bg-alt: #141511;
    --surface: #1A1B17;
    --ink: #F2F0EA;
    --ink-2: #D2CFC6;
    --muted: #9D9A8F;
    --line: #2B2C27;
    --line-strong: #3A3B35;
    --accent: #FFC21F;
    --accent-soft: rgba(255, 194, 31, .14);
    --accent-text: #FFC21F;
    --on-accent: #141412;
    --ph1: #FFC21F;
    --ph2: #F2F0EA;
    --ph3: #6E6C63;
    --grid: rgba(242, 240, 234, .06);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --ok: #5BD08F;
    --err: #FF8A80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0F0C;
  --bg-alt: #141511;
  --surface: #1A1B17;
  --ink: #F2F0EA;
  --ink-2: #D2CFC6;
  --muted: #9D9A8F;
  --line: #2B2C27;
  --line-strong: #3A3B35;
  --accent: #FFC21F;
  --accent-soft: rgba(255, 194, 31, .14);
  --accent-text: #FFC21F;
  --on-accent: #141412;
  --ph1: #FFC21F;
  --ph2: #F2F0EA;
  --ph3: #6E6C63;
  --grid: rgba(242, 240, 234, .06);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --ok: #5BD08F;
  --err: #FF8A80;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 0; letter-spacing: -.01em; }
.small { font-size: 14px; }
.i { width: 20px; height: 20px; flex: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  white-space: nowrap;
}
.logo-mark { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 8px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-alt); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  transform: translateX(-50%);
}
.controls { display: flex; align-items: center; gap: 8px; }

.seg {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.seg button {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .i { width: 18px; height: 18px; }

.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}

.burger { display: none; }
.burger .i-close { display: none; }
.nav-open .burger .i-close { display: block; }
.nav-open .burger .i-open { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s, border-color .2s, color .2s;
}
.btn .i { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ink { background: var(--on-accent); color: #F5F3EE; }
.btn-ink:hover { background: #2A2A26; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid var(--accent); padding-bottom: 2px;
}
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Typography blocks ---------- */
.kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 18px;
}
.kicker .num {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-text); font-weight: 500;
}
.kicker .num::after { content: ""; width: 24px; height: 1px; background: currentColor; margin-left: 6px; }
.kicker a:hover { color: var(--ink); }
.i-inline { width: 14px; height: 14px; }

.sec-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.12;
  text-wrap: balance;
}
.sec-sub { color: var(--muted); font-size: 17px; max-width: 42ch; }
.sec-head {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end;
  margin-bottom: 48px;
}
.sec-head .sec-sub { justify-self: end; }

.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 18px; }
.prose .link-arrow { margin-top: 28px; }
.statement {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.015em;
  text-wrap: pretty;
}
.statement-sm { font-size: 20px !important; color: var(--ink) !important; line-height: 1.5; }
.prose .small { margin-top: 12px; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-top { margin-bottom: 0; }
.section-alt .split + .wrap { margin-top: 64px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2);
  margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.hero-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-title-2 { display: block; color: var(--muted); font-weight: 400; }
.lead { margin-top: 28px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Panel / oscilloscope */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.panel-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.live { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.live .dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.scope {
  height: 180px; position: relative;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 25% 25%, 10% 25%;
  background-position: 0 -1px, -1px 0;
}
.scope::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.panel-legend { display: flex; gap: 16px; padding: 10px 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.panel-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.sw0 { background: var(--ph1); } .sw1 { background: var(--ph2); } .sw2 { background: var(--ph3); }
.panel-data { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.panel-data div { padding: 16px 20px; }
.panel-data div + div { border-left: 1px solid var(--line); }
.panel-data dt { font-size: 12px; color: var(--muted); line-height: 1.3; }
.panel-data dd { font-family: var(--f-mono); font-size: 18px; font-weight: 500; margin-top: 4px; }
.panel-foot {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  background: var(--bg-alt); font-size: 14px; color: var(--ink-2);
}
.panel-foot .i { width: 16px; height: 16px; color: var(--accent-text); }

/* Waves (three-phase) */
.wave { width: 100%; height: 100%; overflow: hidden; }
.wave path { fill: none; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.wave .ph0 { stroke: var(--ph1); stroke-width: 2.6; }
.wave .ph1 { stroke: var(--ph2); opacity: .85; }
.wave .ph2 { stroke: var(--ph3); }
.wave-move { animation: flow 2.4s linear infinite; }
@keyframes flow { to { transform: translateX(-100px); } }
.wave-band { position: absolute; left: 0; right: 0; bottom: -2px; height: 56px; opacity: .55; }
.wave-band path { stroke-width: 1.4; }
.wave-band .wave-move { animation-duration: 6s; }
.wave-mini { width: 140px; height: 28px; opacity: .8; }
.wave-mini path { stroke-width: 1.4; }
.wave-cta { position: absolute; right: -20px; bottom: -10px; width: 46%; height: 120px; opacity: .25; pointer-events: none; }
.wave-cta path { stroke: var(--on-accent) !important; stroke-width: 1.6; }

/* ---------- Page head ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
}
.page-head .kicker span:not(:last-child) { opacity: .6; }
.page-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(32px, 5vw, 60px); letter-spacing: -.035em; line-height: 1.05;
  max-width: 18ch; text-wrap: balance;
}
.page-sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); padding: 32px 28px 36px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background-color .25s;
}
.section-alt .card { background: var(--bg); }
.card:hover { background: color-mix(in srgb, var(--surface) 92%, var(--accent)); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text);
}
.card-icon .i { width: 22px; height: 22px; }
.card-num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.card p { font-size: 16px; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 72px; border-top: 1px solid var(--line-strong);
}
.stats div { padding: 28px 0 0; display: flex; flex-direction: column-reverse; gap: 8px; }
.stats div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.stats dd { font-family: var(--f-mono); font-size: clamp(28px, 4vw, 48px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stats dt { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--r-lg);
  background: var(--accent); color: var(--on-accent);
}
.cta-band > div { position: relative; z-index: 1; max-width: 640px; }
.cta-band h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.025em; }
.cta-band p { margin-top: 12px; font-size: 18px; opacity: .8; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- About ---------- */
.box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
}
.box-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -.01em;
  margin-bottom: 24px;
}
.box-title .i { color: var(--accent-text); }
.box-title.plain { margin-bottom: 8px; }
.kv-row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.kv-row dt { font-size: 14px; color: var(--muted); padding-top: 2px; }
.kv-row dd { font-weight: 500; }

.person {
  display: flex; align-items: center; gap: 28px;
  padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  max-width: 760px;
}
.avatar {
  width: 96px; height: 96px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--accent);
  font-family: var(--f-display); font-weight: 600; font-size: 28px;
}
.person-role { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); }
.person-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); margin: 6px 0 10px; letter-spacing: -.015em; }

/* ---------- Services ---------- */
.benefits { display: grid; gap: 0; }
.benefit { display: flex; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.benefit:last-child { border-bottom: 1px solid var(--line); }
.benefit .check {
  width: 32px; height: 32px; padding: 7px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); stroke-width: 2.5;
}
.benefit h3 { font-family: var(--f-display); font-weight: 500; font-size: 19px; margin-bottom: 6px; letter-spacing: -.01em; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line-strong); }
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .9s cubic-bezier(.2,.7,.2,1) .2s;
}
.step.in::before { width: 100%; }
.step-num { font-family: var(--f-mono); font-size: 40px; font-weight: 400; letter-spacing: -.04em; color: var(--accent-text); display: block; margin-bottom: 16px; line-height: 1; }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 16px; }

/* ---------- Documents ---------- */
.doc-group { margin-top: 72px; }
.doc-group-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -.01em;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-strong);
}
.doc-group-title .i { color: var(--accent-text); }
.count { margin-left: auto; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.doc-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 16px; margin-inline: -16px; border-bottom: 1px solid var(--line);
  border-radius: var(--r-sm); transition: background-color .2s;
}
.doc-row:hover { background: var(--surface); }
.doc-num { color: var(--muted); font-size: 14px; }
.doc-body { display: flex; flex-direction: column; gap: 6px; }
.doc-title { font-weight: 600; font-size: 17px; line-height: 1.4; }
.doc-desc { font-size: 15px; }
.doc-open {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 600; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; transition: all .2s;
}
.doc-open .i { width: 16px; height: 16px; }
.doc-row:hover .doc-open { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.infos { margin-top: 16px; }
.info { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.info > .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.info-lbl { display: block; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.info a { font-weight: 600; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.info a:hover { border-color: var(--accent); }

.form-box > .muted { margin-bottom: 28px; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field ::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box-ui {
  width: 22px; height: 22px; flex: none; border-radius: 6px; margin-top: 1px;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  background: var(--bg); transition: all .15s;
}
.box-ui .i { width: 14px; height: 14px; opacity: 0; stroke-width: 3; color: var(--on-accent); }
.check input:checked + .box-ui { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box-ui .i { opacity: 1; }
.check input:focus-visible + .box-ui { box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: 15px; font-weight: 500; flex: 1 1 220px; }
.form-status.error { color: var(--err); }
.form-status.success { color: var(--ok); }
.form-status.loading { color: var(--muted); }

.map-meta { justify-self: end; display: grid; gap: 14px; justify-items: start; }
.map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 21 / 9; background: var(--surface);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
:root[data-theme="dark"] .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.6) contrast(.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.6) contrast(.9); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; font-size: 15px; max-width: 34ch; }
.site-footer h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.footer-list { display: grid; gap: 10px; font-size: 15px; }
.footer-list a { color: var(--ink-2); transition: color .2s; }
.footer-list a:hover { color: var(--ink); }
.mono-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.mono-list b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 14px; color: var(--muted);
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave-move, .live .dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .step::before { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 960px) {
  .burger { display: inline-grid; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-link:hover { background: transparent; }
  .nav-link.is-active::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; transform: translateY(-50%); }
  .controls { margin-left: auto; }

  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-head .sec-sub, .map-meta { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 16px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .panel-data { grid-template-columns: 1fr 1fr 1fr; }
  .panel-data div { padding: 14px 12px; }
  .panel-data dd { font-size: 15px; }
  .field-row { grid-template-columns: 1fr; }
  .kv-row { grid-template-columns: 1fr; gap: 4px; }
  .person { flex-direction: column; align-items: flex-start; padding: 24px; }
  .doc-row { grid-template-columns: 1fr; gap: 12px; }
  .doc-num { display: none; }
  .doc-open { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta-band .btn { width: 100%; }
}

@media (max-width: 420px) { .brand span { display: none; } }
