@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/literata-cyrillic-opsz-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/literata-latin-ext-opsz-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/literata-latin-opsz-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/onest-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/onest-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/onest-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/onest-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/onest-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/onest-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/onest-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/onest-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/onest-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/jetbrains-mono-latin-500-normal.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;
}

/* Global Visa — фирменные цвета логотипа: тёмно-синий #00164F и оранжевый #FF7F00.
   Холодная «консульская бумага», синие чернила, оранжевый штамп как единственный яркий акцент. */
:root {
  --paper: #F3F5F9;
  --paper-2: #E7ECF4;
  --surface: #FFFFFF;
  --ink: #0A1A45;
  --ink-2: #2E3B5E;
  --muted: #5A6684;
  --line: #D3DAE6;
  --accent: #FF7F00;          /* кнопки */
  --accent-hover: #FF9633;
  --accent-ink: #0A1A45;
  --accent-soft: #E1E8F6;     /* выбранные варианты */
  --orange: #FF7F00;          /* декор: штамп, цифры шагов, маркеры */
  --link: #00164F;
  --stamp: #FF7F00;
  --stamp-soft: #FFF1E2;
  --warn: #B3263F;
  --band: #00164F;
  --band-ink: #F1F4FA;
  --band-muted: #AAB6D3;
  --g1: rgba(255, 127, 0, .10);
  --g2: rgba(0, 22, 79, .07);
  --focus: #FF7F00;
  --shadow: 0 1px 0 rgba(0,22,79,.04), 0 18px 40px -22px rgba(0,22,79,.38);

  --f-display: "Literata", Georgia, "Times New Roman", serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mrz: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #06112E; --paper-2: #0B1A42; --surface: #0E2050; --ink: #EEF2FA; --ink-2: #C8D0E2; --muted: #9AA6C2;
    --line: #22356B; --accent: #FF8A1F; --accent-hover: #FFA24D; --accent-ink: #0A1A45; --accent-soft: #17306F;
    --orange: #FF8A1F; --link: #FFA24D; --stamp: #FF8A1F; --stamp-soft: #2E2214; --warn: #F07A8F;
    --band: #030B22; --band-ink: #EEF2FA; --band-muted: #95A2C2;
    --g1: rgba(255, 138, 31, .10); --g2: rgba(238, 242, 250, .05); --focus: #FFA24D;
    --shadow: 0 18px 40px -22px rgba(0,0,0,.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #06112E; --paper-2: #0B1A42; --surface: #0E2050; --ink: #EEF2FA; --ink-2: #C8D0E2; --muted: #9AA6C2;
  --line: #22356B; --accent: #FF8A1F; --accent-hover: #FFA24D; --accent-ink: #0A1A45; --accent-soft: #17306F;
  --orange: #FF8A1F; --link: #FFA24D; --stamp: #FF8A1F; --stamp-soft: #2E2214; --warn: #F07A8F;
  --band: #030B22; --band-ink: #EEF2FA; --band-muted: #95A2C2;
  --g1: rgba(255, 138, 31, .10); --g2: rgba(238, 242, 250, .05); --focus: #FFA24D;
  --shadow: 0 18px 40px -22px rgba(0,0,0,.75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.012em; }
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; }
h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.15; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 20px; height: 20px; flex: none; }

.wrap {
  width: 100%; max-width: 1180px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 10px;
  font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-orange { background: var(--orange); color: #0A1A45; }
.btn-orange:hover { background: #FF9A3D; color: #0A1A45; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 6px 0; font: 500 15px var(--f-body); color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- шапка ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px/1 var(--f-display); letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; color: var(--ink); }
.logo-img { display: block; height: 30px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.ftr .logo-img { height: 34px; }
@media (max-width: 420px) { .hdr .logo-img { height: 25px; } }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--orange); }
.hdr-act { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; padding: 8px 4px; }
.lang:hover { color: var(--link); }
.lang-short, .menu-btn { display: none; }
.menu-btn { background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 12px; font: 600 14px var(--f-body); cursor: pointer; }

@media (max-width: 960px) {
  .hdr-cta { display: none; }
  .menu-btn { display: inline-block; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none;
    flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { border-color: var(--line); color: var(--link); }
}

/* ---------- первый экран ---------- */
.hero { padding-block: 48px 64px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 15px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--orange); width: 18px; height: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.hero-plain { padding-block: 40px 32px; }
.hero-plain .wrap { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 900px) {
  .hero { padding-block: 28px 44px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-lead { font-size: 17.5px; }
  .hero-cta .btn { flex: 1 1 220px; }
}

/* ---------- визовая наклейка ---------- */
.vs-wrap { position: relative; margin: 0; padding: 10px 26px 30px 0; max-width: 520px; justify-self: end; width: 100%; }
.vs {
  position: relative; aspect-ratio: 1.42; max-width: 100%;
  border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background-color: var(--surface);
  background-image:
    repeating-radial-gradient(circle at 12% 120%, transparent 0 9px, var(--g1) 9px 10px),
    repeating-radial-gradient(circle at 105% -20%, transparent 0 13px, var(--g2) 13px 14px),
    repeating-linear-gradient(115deg, transparent 0 22px, var(--g2) 22px 23px);
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  transform: rotate(-1.6deg);
}
.vs-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px 0; }
.vs-brand { font: 700 clamp(15px, 2.2vw, 19px)/1 var(--f-display); letter-spacing: .06em; color: var(--ink); }
.vs-kind { font: 500 11px/1 var(--f-mrz); letter-spacing: .08em; color: var(--muted); }
.vs-body { display: grid; grid-template-columns: 28% 1fr; gap: 18px; padding: 14px 20px; align-items: start; min-height: 0; }
.vs-photo {
  aspect-ratio: .78; border-radius: 8px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--paper-2), var(--surface));
  display: grid; place-items: center; color: var(--ink);
}
.vs-photo .globe { width: 62%; height: auto; }
.vs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; min-width: 0; }
.vs-f { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vs-f:last-child { grid-column: 1 / -1; }
.vs-l { font: 500 10px/1.1 var(--f-mrz); letter-spacing: .1em; color: var(--muted); }
.vs-v { font: 600 clamp(13px, 1.6vw, 16px)/1.2 var(--f-body); color: var(--ink); overflow-wrap: anywhere; }
.vs-mrz {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 20px 14px;
  border-top: 1px dashed var(--line); background: color-mix(in srgb, var(--surface) 75%, transparent);
  font: 500 clamp(9.5px, 1.45vw, 12.5px)/1.25 var(--f-mrz); letter-spacing: .06em; color: var(--ink-2);
  white-space: nowrap; overflow: hidden;
}
.stamp {
  position: absolute; right: 0; bottom: 6px; width: clamp(118px, 30%, 160px); height: auto;
  color: var(--stamp); opacity: .9; transform: rotate(-14deg);
  animation: stamp-in .55s cubic-bezier(.2, 1.6, .4, 1) .25s both;
}
.stamp text { fill: currentColor; font-family: var(--f-mrz); }
.stamp-ring { font-size: 11.2px; letter-spacing: .12em; font-weight: 500; }
.stamp-big { font: 700 18px var(--f-display) !important; letter-spacing: .06em; }
.stamp-date { font-size: 14px; letter-spacing: .1em; font-weight: 500; }
.vs-wrap figcaption { margin-top: 18px; font-size: 13px; color: var(--muted); }
@keyframes stamp-in { from { transform: rotate(-24deg) scale(1.35); } to { transform: rotate(-14deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) { .vs-wrap { justify-self: start; max-width: 460px; padding-right: 18px; } .stamp { width: 112px; } }

/* ---------- секции ---------- */
.sec { padding-block: 72px; }
.sec + .sec:not(.sec-tint):not(.sec-ink):not(.sec-lead) { border-top: 1px solid var(--line); }
.sec-tight { padding-block: 36px 0; }
.sec-tight + .sec { border-top: 0 !important; }
.sec-tint { background: var(--paper-2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 36px; }
.sec-head h2 { max-width: 22em; }
.checked { font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.split .sec-head { margin-bottom: 0; }
.big-p { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
@media (max-width: 860px) {
  .sec { padding-block: 52px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .sec-head { margin-bottom: 26px; }
}

/* факты */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.fact { padding: 22px 0 26px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fact dt { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.fact dd { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fact-v { font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--f-display); font-variant-numeric: tabular-nums lining-nums; color: var(--ink); overflow-wrap: anywhere; }
.fact-n { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.sources { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.sources ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.sources a { color: var(--muted); }

/* документы */
.docs { display: grid; gap: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.docs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-g { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ticks { display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.note { margin-top: 32px; padding: 18px 22px; border-radius: 10px; background: var(--accent-soft); color: var(--ink); max-width: 60em; }
@media (max-width: 860px) { .docs, .docs-2 { grid-template-columns: 1fr; gap: 28px; } }

/* списки с иконками */
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 17px; }
.checks .ic { color: var(--orange); margin-top: 3px; }
.crosses .ic { color: var(--warn); }

.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dd { padding: 28px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.dd-dont { background: transparent; border-style: dashed; border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
.dd h3 { font: 700 22px/1.2 var(--f-display); }
@media (max-width: 760px) { .dodont { grid-template-columns: 1fr; } .dd { padding: 22px; } }

/* уведомление */
.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 12px;
  background: var(--stamp-soft); border: 1px solid color-mix(in srgb, var(--stamp) 35%, transparent); color: var(--ink);
}
.notice > .ic { color: var(--orange); width: 26px; height: 26px; margin-top: 2px; }
.notice-t { font: 700 20px/1.3 var(--f-display); margin-bottom: 8px; }
.notice p { max-width: 62em; color: var(--ink-2); }
.notice .sources { margin-top: 10px; }

/* процесс — тёмная полоса */
.sec-ink { background: var(--band); color: var(--band-ink); }
.sec-ink h2, .sec-ink h3 { color: var(--band-ink); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; counter-reset: st; }
.steps li { counter-increment: st; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 25%, transparent); }
.steps li::before { content: counter(st); font: 700 34px/1 var(--f-display); color: var(--orange); margin-bottom: 6px; }
.steps p { color: var(--band-muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* направления */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dir {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .15s;
}
.dir:hover { border-color: var(--orange); color: var(--ink); }
.dir h3 { font: 700 23px/1.2 var(--f-display); }
.dir p { color: var(--ink-2); font-size: 16px; flex: 1; }
.dir-more { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 600; font-size: 15px; }
.dirs-other { margin-top: 24px; color: var(--ink-2); }
@media (max-width: 900px) { .dirs { grid-template-columns: 1fr; } }

/* текст */
.prose { display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); font-size: 17.5px; max-width: 40em; }
.prose-doc { max-width: 46em; }
.prose-doc h2 { font-size: 24px; margin-top: 18px; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 18px; }
.qa summary::after { content: "+"; font: 400 26px/1 var(--f-body); color: var(--orange); flex: none; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa-a { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* квиз */
.quiz-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.quiz-head { display: flex; flex-direction: column; gap: 16px; }
.quiz-head p { color: var(--ink-2); font-size: 17.5px; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.quiz-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.quiz-step { white-space: nowrap; font-variant-numeric: tabular-nums; }
.quiz-track { flex: 1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.quiz-fill { display: block; height: 100%; background: var(--orange); transition: width .25s; }
.q { border: 0; padding: 0; margin: 0; min-width: 0; }
.q legend { font: 700 22px/1.3 var(--f-display); margin-bottom: 18px; padding: 0; }
.opts { display: grid; gap: 10px; }
.opt {
  text-align: left; padding: 15px 18px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--ink); font: 500 16.5px/1.4 var(--f-body); cursor: pointer; transition: border-color .12s, background-color .12s;
}
.opt:hover { border-color: var(--orange); }
.opt[aria-pressed="true"] { border-color: var(--orange); background: var(--accent-soft); }
.quiz-back { margin-top: 14px; }
.quiz-res { display: flex; flex-direction: column; gap: 24px; }
.res-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.res-head h3 { font: 700 26px/1.2 var(--f-display); color: var(--link); }
.res-head p { color: var(--ink-2); }
.tips { display: flex; flex-direction: column; gap: 10px; }
.tips li { padding: 12px 14px; border-radius: 8px; background: var(--paper); font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 860px) { .quiz-wrap { grid-template-columns: 1fr; gap: 24px; } .quiz { padding: 20px; } }

/* формы */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-t { font: 700 21px/1.25 var(--f-display); }
.form-sub { color: var(--muted); font-size: 15px; margin-top: -8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 6px; }
input[type="text"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font: 400 16.5px/1.4 var(--f-body);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--stamp-soft); }
input[aria-invalid="true"] { border-color: var(--warn); }
.segs { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; cursor: pointer; }
.seg input:checked + span { border-color: var(--orange); background: var(--accent-soft); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.err { color: var(--warn); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { padding: 18px 20px; border-radius: 10px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 4px; }
.form-ok strong { font: 700 19px var(--f-display); }
.form-err { color: var(--warn); font-size: 15px; }
.lead-form.is-done > :not(.form-ok) { display: none; }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.sec-lead { background: var(--paper-2); }
@media (max-width: 560px) { .card-form { padding: 20px; } }

.contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.contacts li { display: flex; gap: 12px; align-items: flex-start; }
.contacts .ic { color: var(--orange); margin-top: 3px; }
.contacts small { display: block; color: var(--muted); font-size: 13.5px; }
.contacts a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* подвал */
.ftr { background: var(--band); color: var(--band-muted); padding-block: 56px 40px; font-size: 15px; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.ftr .logo, .ftr .logo:hover { color: var(--band-ink); }
.ftr-brand { display: flex; flex-direction: column; gap: 16px; max-width: 30em; }
.ftr-links { display: flex; flex-direction: column; gap: 10px; }
.ftr a { color: var(--band-ink); }
.ftr-meta { display: flex; flex-direction: column; gap: 12px; }
.ftr .contacts { margin-top: 0; }
.ftr .contacts small { color: var(--band-muted); }
.ftr .contacts a { color: var(--band-ink); }
.ftr-small { font-size: 14px; }
@media (max-width: 860px) { .ftr-in { grid-template-columns: 1fr; gap: 28px; } }

/* мобильная панель */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--paper) 94%, transparent); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mbar .btn { min-height: 46px; padding: 10px 12px; font-size: 15px; }
  body { padding-bottom: 76px; }
}

/* 404 */
.nf { padding-block: 64px; }
.nf .wrap { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.nf-links { display: flex; gap: 12px; flex-wrap: wrap; }

.map-links { display: flex; gap: 14px; margin-top: 4px; font-size: 14.5px; }
.contacts .map-links a { color: var(--link); font-weight: 500; text-decoration: underline; }
.ftr .contacts .map-links a { color: var(--band-ink); }
.map { margin-top: 24px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; max-width: 100%; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
