/* ==========================================================================
   Dinara Akhmedova — Visa Expert
   Палитра и шрифты взяты из логотипа: navy + gold, Cormorant Garamond + Cinzel
   ========================================================================== */

:root {
  --navy: #0d1330;
  --navy-2: #131a40;
  --navy-3: #1b2452;
  --gold: #d8b06c;
  --gold-2: #f0d9a8;
  --gold-deep: #a97f3c;
  --ivory: #f6f1e7;
  --paper: #fcfaf5;
  --ink: #0d1330;
  --muted: #62667c;
  --muted-on-navy: #a9aecb;
  --line: rgba(13, 19, 48, 0.12);
  --line-gold: rgba(216, 176, 108, 0.28);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Cinzel", "Cormorant Garamond", serif;
  --gut: clamp(18px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy); }

.container { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Типографика ---------- */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.1rem, 8.6vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; }
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 500; color: var(--gold); }
.section--ivory .h2 em, .section--paper .h2 em { color: var(--gold-deep); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--ivory .eyebrow, .section--paper .eyebrow { color: var(--gold-deep); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.on-navy .lead, .section--navy .lead { color: var(--muted-on-navy); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; cursor: pointer;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, #c4964e); color: var(--navy); box-shadow: 0 10px 34px -12px rgba(216, 176, 108, 0.7); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 44px -12px rgba(216, 176, 108, 0.9); }
.btn--ghost { border-color: var(--line-gold); color: var(--gold-2); }
.btn--ghost:hover { background: rgba(216, 176, 108, 0.12); border-color: var(--gold); }
.btn--dark { background: var(--navy); color: var(--gold-2); }
.btn--dark:hover { background: var(--navy-3); }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { padding: 12px 22px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, height 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent; color: #fff;
}
.header.is-stuck { background: rgba(13, 19, 48, 0.82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line-gold); height: 64px; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--brand); font-size: 0.86rem; letter-spacing: 0.26em; white-space: nowrap; }
.logo__tag { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.2em; margin-top: 5px; color: var(--gold-2); opacity: 0.85; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; color: rgba(255, 255, 255, 0.82); transition: color 0.25s, background 0.25s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-2); background: rgba(216, 176, 108, 0.1); }
.nav__link svg { width: 12px; height: 12px; transition: transform 0.3s; }
.nav__item:hover .nav__link svg, .nav__item:focus-within .nav__link svg { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: 100%; left: -10px; min-width: 300px; padding: 10px;
  background: rgba(19, 26, 64, 0.97); border: 1px solid var(--line-gold); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s var(--ease);
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(4px); }
.nav__drop a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 12px; font-size: 0.93rem; color: rgba(255, 255, 255, 0.85); }
.nav__drop a:hover { background: rgba(216, 176, 108, 0.12); color: var(--gold-2); }
.nav__drop a span { font-family: var(--brand); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--gold); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid var(--line-gold); background: rgba(216, 176, 108, 0.07); color: var(--gold-2); cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.burger:hover { border-color: var(--gold); background: rgba(216, 176, 108, 0.14); }
.burger__txt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; min-width: 62px; text-align: left; }
.burger__ico { position: relative; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); flex: none; transition: transform 0.7s var(--ease); }
.burger__ico i { position: absolute; left: 8px; height: 1.6px; width: 14px; background: var(--navy); border-radius: 2px; transition: 0.45s var(--ease); }
.burger__ico i:first-child { top: 11px; }
.burger__ico i:last-child { top: 17px; width: 8px; }
.burger:hover .burger__ico i:last-child { width: 14px; }
.menu-open .burger__ico { transform: rotate(180deg); }
.menu-open .burger__ico i:first-child { top: 14px; transform: rotate(45deg); }
.menu-open .burger__ico i:last-child { top: 14px; width: 14px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-2); padding: calc(var(--header-h) + 14px) var(--gut) 26px;
  display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto;
  visibility: hidden; clip-path: circle(0 at calc(100% - 60px) 38px);
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-open .mmenu { visibility: visible; clip-path: circle(170% at calc(100% - 60px) 38px); transition: clip-path 1s var(--ease), visibility 0s; }
.mmenu::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 45% at 100% 0%, rgba(216, 176, 108, 0.22), transparent 70%); }
.mmenu > * { position: relative; z-index: 1; opacity: 0; transform: translateY(28px); transition: opacity 0.3s, transform 0.3s; }
.menu-open .mmenu > * { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 260ms); }
.mmenu__big { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-gold); font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 9vw, 2.9rem); line-height: 1.1; color: #fff; }
.mmenu__big small { flex: none; width: 28px; font-family: var(--brand); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--gold); }
.mmenu__big svg { margin-left: auto; align-self: center; width: 22px; height: 22px; color: var(--gold); transition: transform 0.4s var(--ease); }
.mmenu__big:hover svg, .mmenu__big:active svg { transform: translateX(6px); }
.mmenu__sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 16px 42px; border-bottom: 1px solid var(--line-gold); }
.mmenu__sub a { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-gold); font-size: 0.9rem; font-weight: 500; color: #fff; }
.mmenu__sub a:active { background: rgba(216, 176, 108, 0.16); }
.mmenu__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 4px; }
.mmenu__foot .messengers { justify-content: center; }
.mmenu__foot .messengers a { border-color: var(--line-gold); color: var(--gold-2); }
.mmenu .mmenu__mark { position: absolute; z-index: 0; right: -18px; bottom: 90px; font-family: var(--brand); font-size: 11rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(216, 176, 108, 0.14); pointer-events: none; }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy2 { background: var(--navy-2); color: #fff; }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--round { border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; margin-top: calc(-1 * clamp(28px, 4vw, 56px)); z-index: 2; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .eyebrow { margin-bottom: 18px; }
.section__head p { max-width: 40ch; color: var(--muted); }
.section--navy .section__head p, .section--navy2 .section__head p { color: var(--muted-on-navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 56px; background: var(--navy); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(216, 176, 108, 0.17), transparent 70%),
    radial-gradient(45% 50% at 8% 95%, rgba(52, 72, 170, 0.35), transparent 70%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__copy .lead { margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__note { margin-top: 22px; font-size: 0.88rem; color: var(--muted-on-navy); display: flex; align-items: center; gap: 10px; }
.hero__note i { width: 8px; height: 8px; border-radius: 50%; background: #6fe0a0; box-shadow: 0 0 0 0 rgba(111, 224, 160, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(111, 224, 160, 0); } }
.hero__globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.hero__globe canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero__globe canvas:active { cursor: grabbing; }
.seal { position: absolute; left: -4%; bottom: 2%; width: clamp(104px, 11vw, 148px); aspect-ratio: 1; color: var(--gold); }
.seal svg.seal__ring { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__core { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--gold-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-gold); }
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-gold); }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1; color: var(--gold-2); }
.stat__lbl { margin-top: 8px; font-size: 0.9rem; color: var(--muted-on-navy); }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--navy); border-block: 1px solid var(--line-gold); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 500; font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--gold); white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: 0.45em; color: var(--gold); -webkit-text-stroke: 0; }
.marquee__track a:hover span { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Карточки направлений (посадочный талон) ---------- */
.passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pass {
  --mx: 50%; --my: 50%;
  position: relative; display: grid; grid-template-columns: 1fr 64px; min-height: 250px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); overflow: hidden; isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), color 0.4s, border-color 0.4s;
  transform-style: preserve-3d; will-change: transform;
}
.pass::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--navy); clip-path: circle(0% at var(--mx) var(--my)); transition: clip-path 0.7s var(--ease); }
.pass::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(216, 176, 108, 0.28), transparent 60%); }
.pass:hover { color: #fff; border-color: var(--gold); box-shadow: 0 34px 70px -34px rgba(13, 19, 48, 0.75); }
.pass:hover::before { clip-path: circle(150% at var(--mx) var(--my)); }
.pass:hover::after { opacity: 1; }
.pass__main { padding: 26px 26px 24px; display: flex; flex-direction: column; }
.pass__top { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; }
.pass:hover .pass__top { color: var(--muted-on-navy); }
.pass__code { font-family: var(--brand); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; letter-spacing: 0.04em; margin-top: 22px; color: var(--gold-deep); transition: color 0.4s; }
.pass:hover .pass__code { color: var(--gold); }
.pass__name { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; line-height: 1.05; margin-top: 8px; }
.pass__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.pass__tags li { font-size: 0.78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); transition: border-color 0.4s; }
.pass:hover .pass__tags li { border-color: var(--line-gold); }
.pass__stub { position: relative; border-left: 1.5px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0; transition: border-color 0.4s; }
.pass:hover .pass__stub { border-color: var(--line-gold); }
.pass__stub::before, .pass__stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); }
.pass__stub::before { top: -11px; }
.pass__stub::after { bottom: -11px; }
.pass__stub b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; opacity: 0.6; }
.pass__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-content: center; background: var(--navy); color: var(--gold-2); transition: 0.5s var(--ease); }
.pass__go svg { width: 16px; height: 16px; }
.pass:hover .pass__go { background: var(--gold); color: var(--navy); transform: rotate(-45deg); }
.pass--cta { grid-column: span 2; grid-template-columns: 1fr; background: var(--navy); color: #fff; border-color: var(--navy); }
.pass--cta::before { background: var(--navy-3); }
.pass--cta .pass__main { justify-content: space-between; gap: 20px; }
.pass--cta .pass__name { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pass--cta .pass__name em { font-style: italic; color: var(--gold); font-weight: 500; }
.pass--cta p { color: var(--muted-on-navy); max-width: 46ch; }

/* ---------- 9 из 10 ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring .ring__bg { stroke: rgba(216, 176, 108, 0.16); }
.ring .ring__fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 2.4s var(--ease) 0.2s; }
.ring.is-in .ring__fg { stroke-dashoffset: 33.9; }
.ring__txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__num { font-family: var(--serif); font-weight: 600; font-size: clamp(4.4rem, 10vw, 8rem); line-height: 0.85; color: var(--gold-2); }
.ring__num sub { font-size: 0.36em; vertical-align: baseline; color: var(--gold); font-style: italic; font-weight: 500; }
.ring__cap { margin-top: 14px; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-on-navy); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.feature { --mx: 50%; --my: 50%; position: relative; padding: 26px; border-radius: 18px; border: 1px solid var(--line-gold); background: rgba(255, 255, 255, 0.025); overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease); }
.feature::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(216, 176, 108, 0.2), transparent 65%); }
.feature:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature__n { font-family: var(--brand); font-size: 0.78rem; letter-spacing: 0.2em; color: var(--gold); }
.feature h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; margin: 12px 0 8px; }
.feature p { font-size: 0.95rem; color: var(--muted-on-navy); }
.section--ivory .feature, .section--paper .feature { background: var(--paper); border-color: var(--line); }
.section--ivory .feature p, .section--paper .feature p { color: var(--muted); }
.section--ivory .feature__n, .section--paper .feature__n { color: var(--gold-deep); }

/* ---------- Процесс ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; padding-top: 38px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 9px; left: 0; height: 1.5px; }
.steps::before { right: 0; background: var(--line); }
.steps::after { width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 0.2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -38px; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--gold-deep); z-index: 1; transition: background 0.4s, box-shadow 0.4s; }
.step.is-on::before { background: var(--gold-deep); box-shadow: 0 0 0 7px rgba(169, 127, 60, 0.18); }
.step__n { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--gold-deep); }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin: 10px 0 8px; }
.step p { font-size: 0.94rem; color: var(--muted); }
.step small { display: inline-block; margin-top: 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid var(--line-gold); color: #fff; transition: transform 0.5s var(--ease), border-color 0.4s; }
.review:hover { transform: translateY(-6px); border-color: var(--gold); }
.review__res { align-self: flex-start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; background: rgba(216, 176, 108, 0.14); color: var(--gold-2); }
.review blockquote { font-family: var(--serif); font-size: 1.36rem; line-height: 1.3; font-weight: 500; }
.review blockquote::before { content: "“"; display: block; font-size: 3.6rem; line-height: 0.6; color: var(--gold); margin-bottom: 4px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-gold); font-size: 0.9rem; }
.review__ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; flex: none; }
.review footer span { display: block; color: var(--muted-on-navy); font-size: 0.82rem; }
.demo-tag { position: absolute; top: 14px; right: 14px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #ffdf6b; color: #3a2c00; }
.section--ivory .review, .section--paper .review { background: var(--paper); border-color: var(--line); color: var(--ink); }
.section--ivory .review__res, .section--paper .review__res { background: rgba(169, 127, 60, 0.13); color: var(--gold-deep); }
.section--ivory .review footer, .section--paper .review footer { border-color: var(--line); }
.section--ivory .review footer span, .section--paper .review footer span { color: var(--muted); }
.section--ivory .review blockquote::before, .section--paper .review blockquote::before { color: var(--gold-deep); }

/* ---------- Блог ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s; }
.post:hover { transform: translateY(-6px); border-color: var(--gold-deep); box-shadow: 0 30px 60px -36px rgba(13, 19, 48, 0.6); }
.post__no { position: absolute; right: 18px; bottom: -22px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 9rem; line-height: 1; color: rgba(169, 127, 60, 0.13); transition: color 0.4s, transform 0.6s var(--ease); pointer-events: none; }
.post:hover .post__no { color: rgba(169, 127, 60, 0.3); transform: translateY(-10px); }
.post__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.post h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.1; margin: 16px 0 10px; }
.post p { font-size: 0.95rem; color: var(--muted); max-width: 34ch; }
.post .link-arrow { margin-top: auto; align-self: flex-start; font-size: 0.9rem; position: relative; }
.post--wide { grid-column: span 2; background: var(--navy); color: #fff; border-color: var(--navy); }
.post--wide p { color: var(--muted-on-navy); max-width: 48ch; }
.post--wide .post__meta { color: var(--gold); }
.post--wide h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.post--wide .post__no { color: rgba(216, 176, 108, 0.14); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: var(--gold-deep); box-shadow: 0 20px 44px -34px rgba(13, 19, 48, 0.55); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: 1.36rem; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--line); font-family: var(--sans); font-weight: 400; font-size: 1.3rem; transition: 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: var(--gold-2); border-color: var(--navy); }
.faq details > div { padding: 0 26px 24px; color: var(--muted); max-width: 72ch; }
.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.two-col__sticky { position: sticky; top: 110px; }
.two-col__sticky .eyebrow { margin-bottom: 18px; }
.two-col__sticky p { margin-top: 18px; color: var(--muted); }
.two-col__sticky .btn { margin-top: 26px; }

/* ---------- Формы ---------- */
.cta { position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 20%, rgba(216, 176, 108, 0.2), transparent 70%); pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta__list { margin-top: 28px; display: grid; gap: 12px; }
.cta__list li, .ticks li { position: relative; padding-left: 32px; }
.cta__list li { color: var(--muted-on-navy); }
.cta__list li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%230d1330' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.form-card { position: relative; padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8); }
.form-card--navy { background: var(--navy); color: #fff; border: 1px solid var(--line-gold); box-shadow: 0 40px 80px -50px rgba(13, 19, 48, 0.9); }
.form-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.05; }
.form-card h3 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.form-card--navy h3 em { color: var(--gold); }
.form-card > p { margin-top: 8px; font-size: 0.93rem; color: var(--muted); }
.form-card--navy > p { color: var(--muted-on-navy); }
.form { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field label, .field__lbl { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form-card--navy .field label { color: var(--muted-on-navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%230d1330' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(216, 176, 108, 0.25); }
.field.is-bad input, .field.is-bad select { border-color: #c2412d; box-shadow: 0 0 0 4px rgba(194, 65, 45, 0.14); }
.field__err { display: none; font-size: 0.82rem; color: #c2412d; }
.form-card--navy .field__err { color: #ff9a86; }
.field.is-bad .field__err { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.form-card--navy .consent { color: var(--muted-on-navy); }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-deep); }
.consent a { text-decoration: underline; }
.consent.is-bad { color: #c2412d; }
.form__msg { display: none; font-size: 0.9rem; padding: 12px 14px; border-radius: 12px; background: rgba(194, 65, 45, 0.1); color: #a5321f; }
.form__msg.is-on { display: block; }
.form-card--navy .form__msg { background: rgba(255, 154, 134, 0.14); color: #ffb3a3; }
.btn.is-loading { pointer-events: none; opacity: 0.7; }
.messengers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.messengers a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; transition: 0.3s; }
.messengers a:hover { border-color: var(--gold-deep); background: rgba(216, 176, 108, 0.14); }
.form-card--navy .messengers a, .section--navy .messengers a, .footer .messengers a { border-color: var(--line-gold); color: var(--gold-2); }
.messengers svg { width: 16px; height: 16px; }

/* Квиз */
.quiz__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 22px; }
.quiz__bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 0.6s var(--ease); }
.quiz__count { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quiz__step { display: none; border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.quiz__step.is-on { display: block; animation: stepIn 0.6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.quiz__step legend { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; padding: 0; margin-bottom: 18px; }
.quiz__sub { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chips--3 { grid-template-columns: repeat(3, 1fr); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 0.96rem; transition: 0.3s var(--ease); }
.chip span small { font-family: var(--brand); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--gold-deep); font-weight: 400; }
.chip:hover span { border-color: var(--gold-deep); transform: translateY(-2px); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 14px 30px -18px rgba(13, 19, 48, 0.8); }
.chip input:checked + span small { color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.quiz__nav [hidden] { display: none; }

/* ---------- Внутренние страницы ---------- */
.phero { position: relative; background: var(--navy); color: #fff; padding: calc(var(--header-h) + clamp(44px, 7vw, 96px)) 0 clamp(72px, 9vw, 130px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 80% at 88% 10%, rgba(216, 176, 108, 0.2), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(52, 72, 170, 0.3), transparent 70%); pointer-events: none; }
.phero__mark { position: absolute; right: -2%; bottom: -0.18em; font-family: var(--brand); font-size: clamp(9rem, 30vw, 27rem); line-height: 1; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(216, 176, 108, 0.2); pointer-events: none; user-select: none; }
.phero .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--muted-on-navy); margin-bottom: 30px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.phero .eyebrow { margin-bottom: 20px; }
.phero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: 0.95; letter-spacing: -0.02em; max-width: 14ch; }
.phero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.phero .lead { margin-top: 24px; }
.phero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-gold); }
.fact { padding: 22px 20px 0 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line-gold); }
.fact dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.fact dd { margin: 8px 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.layout__aside { position: sticky; top: 92px; }
.block + .block { margin-top: clamp(56px, 7vw, 96px); }
.block > .eyebrow { margin-bottom: 16px; }
.block > .h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 26px; }
.block > p { color: var(--muted); max-width: 66ch; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.ticks li::before { background-color: var(--gold-deep); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.note { margin-top: 22px; padding: 18px 22px; border-radius: 16px; border-left: 3px solid var(--gold-deep); background: rgba(216, 176, 108, 0.14); font-size: 0.94rem; color: var(--ink); }
.risks { display: grid; gap: 14px; }
.risk { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.risk > div { padding: 22px 24px; }
.risk > div:last-child { background: var(--navy); color: #fff; }
.risk b { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; color: #b0432f; }
.risk > div:last-child b { color: var(--gold); }
.risk p { font-size: 0.96rem; }
.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 0.94rem; transition: 0.3s var(--ease); }
.others a span { font-family: var(--brand); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--gold-deep); }
.others a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.others a:hover span { color: var(--gold); }

/* О нас */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 26px 26px; background: linear-gradient(160deg, var(--navy-3), var(--navy)); border: 1px solid var(--line-gold); overflow: hidden; display: grid; place-content: center; color: var(--gold); }
.portrait svg { width: 46%; margin-inline: auto; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--brand); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--gold-2); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__txt p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.about__txt .h2 { margin-top: 18px; }
.sign { margin-top: 30px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.9rem; color: var(--gold-deep); }
.sign small { display: block; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* Статья */
.prose { max-width: 720px; font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin-top: 1.8em; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); font-size: 0.8em; top: 0.25em; }
.prose ol { list-style: decimal; }
.prose ol li::marker { font-family: var(--serif); font-weight: 700; color: var(--gold-deep); }
.prose li + li { margin-top: 0.5em; }
.prose a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }
.prose .note { font-size: 1rem; }
.article-cta { margin-top: 56px; padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-cta h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.1; max-width: 18ch; }
.article-cta h3 em { font-style: italic; color: var(--gold); font-weight: 500; }

/* Спасибо / 404 */
.center-page { min-height: 100svh; display: grid; place-content: center; text-align: center; background: var(--navy); color: #fff; padding: calc(var(--header-h) + 40px) var(--gut) 60px; position: relative; overflow: hidden; }
.center-page .lead { margin: 22px auto 0; }
.center-page .hero__actions { justify-content: center; }
.center-page .eyebrow { display: flex; justify-content: center; margin-bottom: 22px; }
.center-page .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- Подвал ---------- */
.footer { position: relative; background: #090d24; color: var(--muted-on-navy); font-size: 0.92rem; overflow: hidden; border-top: 1px solid var(--line-gold); }
.footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 85% 0%, rgba(216, 176, 108, 0.1), transparent 70%); }
.footer > * { position: relative; }
.footer__cols { display: grid; grid-template-columns: 1.35fr 1.25fr 0.8fr 1fr; gap: clamp(28px, 4vw, 64px); padding: clamp(44px, 5vw, 68px) 0 clamp(20px, 3vw, 36px); }
.footer__about p { margin-top: 18px; max-width: 30ch; line-height: 1.6; }
.footer h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer a { transition: color 0.25s; }
.footer a:hover { color: var(--gold-2); }
.footer__icons { display: flex; gap: 10px; margin-top: 22px; }
.footer__icons a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--line-gold); color: var(--gold-2); transition: 0.4s var(--ease); }
.footer__icons a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__icons svg { width: 18px; height: 18px; }
.footer__dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; }
.footer__dirs a { display: inline-flex; align-items: center; gap: 10px; color: #e7e9f5; }
.footer__dirs .flag { width: 22px; height: 15px; border-radius: 3px; }
.footer__list li + li { margin-top: 11px; }
.footer__list a { color: #e7e9f5; }
.footer__phone { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.2; color: #fff; white-space: nowrap; }
.footer__mail { display: inline-block; margin-top: 8px; color: #e7e9f5; border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; }
.footer__hours { margin-top: 14px; font-size: 0.84rem; }
.footer__word { font-family: var(--brand); font-size: clamp(1.7rem, 7.1vw, 8.6rem); line-height: 0.8; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(216, 176, 108, 0.32); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 96%); mask-image: linear-gradient(180deg, #000 20%, transparent 96%); user-select: none; pointer-events: none; margin-top: 6px; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 18px; margin-top: -0.6vw; border-top: 1px solid var(--line-gold); font-size: 0.78rem; }

/* Мобильная панель заявки */
.dock { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(13, 19, 48, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-gold); transform: translateY(140%); transition: transform 0.6s var(--ease); }
.dock.is-on { transform: none; }
.dock .btn { flex: 1; padding: 14px 18px; }
.dock__ico { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--line-gold); color: var(--gold-2); }
.dock__ico svg { width: 20px; height: 20px; }

/* ---------- Анимации появления ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js [data-split] .w > i { display: inline-block; font-style: inherit; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js [data-split].is-in .w > i { transform: none; }
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--navy); display: grid; place-content: center; color: var(--gold); animation: curtain 0.7s var(--ease) 0.35s forwards; pointer-events: none; }
.seen .curtain { display: none; }
.curtain svg { width: 84px; height: 84px; animation: curtainLogo 0.5s var(--ease) both; }
@keyframes curtain { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes curtainLogo { from { opacity: 0; transform: scale(0.8); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: inline-flex; }
  .passes, .reviews, .posts { grid-template-columns: repeat(2, 1fr); }
  .pass--cta, .post--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 30px; padding: 0 0 0 44px; }
  .steps::before, .steps::after { top: 0; left: 9px; width: 1.5px; height: auto; right: auto; }
  .steps::before { bottom: 0; }
  .steps::after { height: calc(var(--p) * 100%); width: 1.5px; background: linear-gradient(180deg, var(--gold-deep), var(--gold)); transition: height 0.2s linear; }
  .step::before { top: 8px; left: -44px; }
  .layout { grid-template-columns: 1fr; }
  .layout__aside { position: static; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__grid, .proof, .cta__grid, .two-col, .about { grid-template-columns: 1fr; }
  .hero__globe { max-width: 440px; justify-self: center; margin-top: -10px; }
  .seal { left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-gold); margin-top: 26px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { margin-top: 22px; border-top: 1px solid var(--line-gold); }
  .two-col__sticky { position: static; }
  .portrait { max-width: 380px; margin-inline: auto; width: 100%; }
  .dock { display: flex; }
  .footer__bar { padding-bottom: 96px; }
  .logo__name { font-size: 0.72rem; letter-spacing: 0.2em; }
}
@media (max-width: 640px) {
  .passes, .reviews, .posts, .features, .cards2, .ticks, .risk { grid-template-columns: 1fr; }
  .pass--cta, .post--wide { grid-column: auto; }
  .chips--3 { grid-template-columns: 1fr 1fr; }
  .btn { padding: 16px 24px; }
  .hero__actions .btn, .phero__actions .btn { flex: 1 1 100%; }
  .faq summary { font-size: 1.18rem; padding: 18px 20px; }
  .faq details > div { padding: 0 20px 20px; }
  .logo__tag { display: none; }
}
@media (max-width: 400px) { .chips { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w > i { opacity: 1; transform: none; }
  .curtain { display: none; }
}


/* ---------- Квиз на главной: живой «посадочный талон» ---------- */
.quizwrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ticket { --fill: 0; position: relative; border-radius: 26px; background: linear-gradient(160deg, var(--navy-3), var(--navy-2)); border: 1px solid var(--line-gold); color: #fff; overflow: hidden; transform: rotate(2deg); transition: transform 0.8s var(--ease); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9); }
.ticket:hover { transform: rotate(0deg) translateY(-6px); }
.ticket__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; border-bottom: 1.5px dashed var(--line-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.ticket__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 26px 26px 8px; }
.ticket__route b { font-family: var(--brand); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold-2); }
.ticket__route i { position: relative; height: 1.5px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); }
.ticket__route i::after { content: "✈"; position: absolute; top: 50%; left: calc(var(--fill) * 100%); transform: translate(-50%, -54%); font-style: normal; font-size: 1.3rem; color: var(--gold); transition: left 0.9s var(--ease); }
.ticket__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 18px 26px 26px; }
.ticket__rows dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-on-navy); }
.ticket__rows dd { margin: 5px 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: rgba(255, 255, 255, 0.28); transition: color 0.4s; }
.ticket__rows dd.is-set { color: #fff; animation: stepIn 0.5s var(--ease); }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; border-top: 1.5px dashed var(--line-gold); font-size: 0.82rem; color: var(--muted-on-navy); }
.ticket__bar { height: 34px; flex: 0 0 120px; background: repeating-linear-gradient(90deg, var(--gold-2) 0 2px, transparent 2px 5px, var(--gold-2) 5px 6px, transparent 6px 10px, var(--gold-2) 10px 13px, transparent 13px 15px); opacity: 0.7; }
.ticket__head::before, .ticket__head::after { content: ""; position: absolute; top: 49px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 1px solid var(--line-gold); }
.ticket__head::before { left: -12px; }
.ticket__head::after { right: -12px; }

/* ---------- Поп-ап ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; transition: opacity 0.4s, visibility 0.4s; }
.modal.is-on { visibility: visible; opacity: 1; transition: opacity 0.4s; }
.modal__bg { position: absolute; inset: 0; background: rgba(6, 9, 26, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__box { position: relative; width: min(920px, 100%); max-height: calc(100svh - 36px); overflow: auto; display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: 28px; background: var(--paper); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9); transform: translateY(40px) scale(0.96); transition: transform 0.7s var(--ease); }
.modal.is-on .modal__box { transform: none; }
.modal__side { position: relative; padding: 36px 32px; background: var(--navy); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.modal__side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(216, 176, 108, 0.28), transparent 70%); }
.modal__side > * { position: relative; }
.modal__side h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-top: 16px; }
.modal__side h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.modal__side p { color: var(--muted-on-navy); font-size: 0.96rem; margin-top: 14px; }
.modal__big { font-family: var(--serif); font-weight: 600; font-size: 4.6rem; line-height: 0.9; color: var(--gold-2); }
.modal__big small { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-navy); margin-top: 10px; }
.modal__box .form-card { box-shadow: none; border-radius: 0; background: none; }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.3rem; line-height: 1; transition: 0.3s var(--ease); }
.modal__x:hover { background: var(--navy); color: var(--gold-2); transform: rotate(90deg); }

/* ---------- 404 и «Спасибо»: штампы ---------- */
.stamp { display: inline-grid; place-items: center; padding: 14px 26px; border: 3px double currentColor; border-radius: 12px; font-family: var(--brand); font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.3; transform: rotate(-9deg); animation: stampIn 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) 1.2s both; }
.stamp small { display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; opacity: 0.8; }
.stamp--red { color: #ff7a66; }
.stamp--green { color: #7fe3ad; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-9deg) scale(2.6); } }
.e404 { position: relative; display: inline-block; font-family: var(--serif); font-weight: 600; font-size: clamp(8rem, 30vw, 20rem); line-height: 0.8; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.e404 .stamp { position: absolute; left: 50%; top: 52%; margin: -34px 0 0 -150px; width: 300px; background: rgba(13, 19, 48, 0.82); -webkit-text-stroke: 0; }
.passport { width: min(560px, 100%); margin: 34px auto 0; padding: 20px 24px; border-radius: 18px; border: 1px dashed var(--line-gold); text-align: left; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8rem; line-height: 1.7; color: var(--muted-on-navy); overflow-wrap: anywhere; }
.passport b { color: var(--gold-2); font-weight: 400; }
.next3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(860px, 100%); margin: 44px auto 0; text-align: left; }
.next3 li { padding: 22px; border-radius: 18px; border: 1px solid var(--line-gold); background: rgba(255, 255, 255, 0.03); }
.next3 b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--gold); }
.next3 span { display: block; margin-top: 10px; font-size: 0.94rem; color: var(--muted-on-navy); }
.center-page .stamp { margin-bottom: 30px; justify-self: center; }

@media (max-width: 860px) {
  .quizwrap { grid-template-columns: 1fr; }
  .ticket { transform: none; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__side { padding: 26px 24px; }
  .modal__big { display: none; }
  .next3 { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .logo__name { font-size: 0.6rem; letter-spacing: 0.14em; } .logo svg { width: 36px; height: 36px; } }
@media (max-width: 860px) { .modal__side p { display: none; } .modal__side h2 { font-size: 1.9rem; } .modal__box .form-card { padding-top: 6px; } }


/* ---------- Флаги ---------- */
.flag { flex: none; width: 30px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(13, 19, 48, 0.14); }
.fl { display: inline-flex; align-items: center; gap: 10px; font-style: normal; min-width: 0; }
.pass__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.pass__row .pass__code { margin-top: 0; }
.pass__row .flag { width: 54px; height: 36px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(13, 19, 48, 0.12), 0 10px 20px -10px rgba(13, 19, 48, 0.5); transition: transform 0.6s var(--ease); }
.pass:hover .pass__row .flag { transform: rotate(-6deg) scale(1.08); }
.others a .flag { width: 26px; height: 17px; }
.eyebrow .flag { width: 28px; height: 19px; }
.phero .eyebrow::before { display: none; }
.phero .eyebrow:not(:has(.flag))::before { display: block; }

/* ---------- Хиро: текст, глобус, кнопки ---------- */
.hero__grid { grid-template-areas: "copy globe" "cta globe"; row-gap: 0; }
.hero__copy { grid-area: copy; align-self: end; }
.hero__cta { grid-area: cta; align-self: start; }
.hero__globe { grid-area: globe; }

/* ---------- Квиз: карточка и талон одной высоты ---------- */
.quizwrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; }
.quizwrap .form-card { display: flex; flex-direction: column; min-height: 600px; }
.quizwrap form { flex: 1; display: flex; flex-direction: column; }
.quizwrap .quiz__nav { margin-top: auto; padding-top: 26px; }
.quizwrap .quiz__bar { margin-top: 0; }
.ticket { display: flex; flex-direction: column; transform: none; }
.ticket:hover { transform: translateY(-6px); }
.ticket__head { padding: 24px 32px; }
.ticket__head::before, .ticket__head::after { top: 57px; }
.ticket__route { padding: 40px 32px 16px; }
.ticket__route b { font-size: clamp(2.6rem, 4.6vw, 3.9rem); }
.ticket__rows { flex: 1; align-content: space-evenly; gap: 26px 24px; padding: 24px 32px 32px; }
.ticket__rows dd { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }
.ticket__foot { padding: 22px 32px; }

/* ---------- 9 из 10: кольцо и карточки одной высоты ---------- */
.proof { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 16px; align-items: stretch; }
.proof .features { margin-top: 0; }
.proof__ring { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: clamp(28px, 3vw, 44px); border-radius: 18px; border: 1px solid var(--line-gold); background: radial-gradient(90% 70% at 50% 40%, rgba(216, 176, 108, 0.12), transparent 70%), rgba(255, 255, 255, 0.025); }
.proof__ring .ring { width: min(100%, 300px); }
.ring__num { font-size: clamp(4.2rem, 7vw, 6.4rem); line-height: 1; }
.ring__cap { margin-top: 0; text-align: center; }

@media (max-width: 1100px) {
}
@media (max-width: 860px) {
  .hero__grid { grid-template-areas: "copy" "globe" "cta"; text-align: center; }
  .hero__copy .lead { margin-inline: auto; }
  .hero__copy .eyebrow { justify-content: center; }
  .hero__copy .eyebrow::before { display: none; }
  .hero__globe { max-width: 400px; margin: 4px auto -6px; }
  .hero__actions { justify-content: center; margin-top: 8px; }
  .hero__note { justify-content: center; text-align: left; }
  .seal { left: 2%; bottom: 4%; width: 92px; }
  .quizwrap .form-card { min-height: 0; }
  .ticket__rows { gap: 18px 20px; }
  .proof__ring { flex-direction: row; justify-content: flex-start; padding: 22px; }
  .proof__ring .ring { width: 150px; flex: none; }
  .proof__ring .ring__num { font-size: 3.2rem; }
  .ring__cap { text-align: left; }
}
@media (max-width: 640px) {
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 380px) { .burger { gap: 8px; padding-left: 14px; } .burger__txt { min-width: 0; letter-spacing: 0.16em; } }
@media (max-width: 345px) { .burger__txt { display: none; } .burger { padding-left: 8px; } }


/* ---------- Подвал: адаптив ---------- */
@media (max-width: 1100px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr; gap: 30px; } .footer__bar { flex-direction: column; align-items: flex-start; } }

/* ---------- Хиро целиком в первом экране (десктоп) ---------- */
@media (min-width: 861px) {
  .hero { height: 100svh; min-height: 600px; padding: calc(var(--header-h) + 8px) 0 22px; }
  .hero > .container { height: 100%; display: flex; flex-direction: column; }
  .hero__grid { flex: 1; min-height: 0; align-content: center; }
  .hero .display { font-size: clamp(2.6rem, min(6.2vw, 10.5vh), 6rem); }
  .hero__copy .eyebrow { margin-bottom: clamp(10px, 2.2vh, 26px); }
  .hero__copy .lead { margin-top: clamp(10px, 2.2vh, 26px); font-size: clamp(0.95rem, min(1.35vw, 2.1vh), 1.22rem); }
  .hero__actions { margin-top: clamp(14px, 3vh, 36px); }
  .hero__note { margin-top: clamp(8px, 1.8vh, 20px); }
  .hero__globe { max-width: min(620px, 60vh); justify-self: center; }
  .stats { margin-top: clamp(10px, 2.4vh, 36px); }
  .stat { padding-top: clamp(10px, 2vh, 24px); }
  .stat__num { font-size: clamp(1.7rem, min(3.2vw, 5vh), 3.2rem); }
  .stat__lbl { margin-top: 4px; font-size: 0.84rem; }
}

/* ---------- Выпадающий список стран ---------- */
.csel { position: relative; }
.csel select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.csel__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color 0.25s, box-shadow 0.25s; }
.csel__btn > svg { flex: none; width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.csel__val { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.csel__val.is-empty { color: #8b8ea3; }
.csel.is-open .csel__btn, .csel__btn:focus-visible { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(216, 176, 108, 0.25); }
.csel.is-open .csel__btn > svg { transform: rotate(180deg); }
.field.is-bad .csel__btn { border-color: #c2412d; box-shadow: 0 0 0 4px rgba(194, 65, 45, 0.14); }
.csel__list { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; max-height: 296px; overflow: auto; padding: 8px; border-radius: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 34px 70px -26px rgba(13, 19, 48, 0.55); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top; transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s; }
.csel.is-open .csel__list { opacity: 1; visibility: visible; transform: none; }
.csel__list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; font-weight: 600; font-size: 0.96rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.csel__list li:hover { background: rgba(216, 176, 108, 0.2); }
.csel__list li[aria-selected="true"] { background: var(--navy); color: #fff; }
.csel__list li[aria-selected="true"]::after { content: "✓"; margin-left: auto; color: var(--gold); }
.csel__dot { width: 30px; text-align: center; color: var(--gold-deep); }

/* ---------- Блог: карточки с картинками ---------- */
.bfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.bfilter button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.3s var(--ease); }
.bfilter button span { font-size: 0.72rem; opacity: 0.55; }
.bfilter button:hover { border-color: var(--gold-deep); }
.bfilter button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; color: var(--ink); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s; }
.bcard[hidden] { display: none; }
.bcard:hover { transform: translateY(-6px); border-color: var(--gold-deep); box-shadow: 0 34px 64px -38px rgba(13, 19, 48, 0.65); }
.bcard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.bcard__img img, .bcard__img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bcard:hover .bcard__img img, .bcard:hover .bcard__img svg { transform: scale(1.06); }
.bcard__img b { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 19, 48, 0.82); backdrop-filter: blur(6px); color: var(--gold-2); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.bcard__meta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.bcard h3 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.12; margin: 12px 0 10px; }
.bcard p { font-size: 0.94rem; color: var(--muted); margin-bottom: 18px; }
.bcard .link-arrow { margin-top: auto; align-self: flex-start; font-size: 0.9rem; }
.bcard--feat { grid-column: 1 / -1; flex-direction: row; background: var(--navy); color: #fff; border-color: var(--navy); }
.bcard--feat .bcard__img { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.bcard--feat .bcard__body { flex: 1; justify-content: center; padding: clamp(26px, 4vw, 52px); }
.bcard--feat h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.bcard--feat p { color: var(--muted-on-navy); font-size: 1.02rem; }
.bcard--feat .bcard__meta { color: var(--gold); }

/* ---------- Статья ---------- */
.phero--article { padding-bottom: clamp(110px, 13vw, 190px); }
.phero--article h1 { font-size: clamp(2.1rem, 4.6vw, 4rem); max-width: 22ch; line-height: 1.02; }
.phero--article .lead { max-width: 62ch; }
.art-wrap { padding-top: 0; }
.art-cover { margin: calc(-1 * clamp(80px, 9vw, 130px)) 0 clamp(36px, 5vw, 64px); border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--navy); box-shadow: 0 50px 90px -50px rgba(13, 19, 48, 0.8); border: 1px solid var(--line-gold); }
.art-cover img, .art-cover svg { width: 100%; height: 100%; object-fit: cover; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 80px); align-items: start; }
.art .prose { max-width: 760px; }
.art__aside { position: sticky; top: 88px; display: grid; gap: 16px; }
.toc { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); }
.toc h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.toc ol { counter-reset: toc; display: grid; gap: 10px; max-height: 46vh; overflow: auto; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 26px 1fr; font-size: 0.9rem; line-height: 1.35; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--brand); font-size: 0.68rem; color: var(--gold-deep); padding-top: 2px; }
.toc a:hover { color: var(--gold-deep); }
.toc--cta { background: var(--navy); color: #fff; border-color: var(--navy); }
.toc--cta h4 { color: var(--gold); }
.toc--cta p { font-size: 0.92rem; color: var(--muted-on-navy); margin-bottom: 16px; }
.art-fig { margin: 2em 0; }
.art-fig img, .art-fig svg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; background: var(--navy); }
.art-fig figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); text-align: center; }
.prose h2 { scroll-margin-top: 90px; }
.prose strong { font-weight: 700; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; min-width: 480px; }
.prose th, .prose td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--navy); color: var(--gold-2); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose ul.sources { font-size: 0.92rem; }
.prose ul.sources li::before { content: "↗"; top: 0; font-size: 1em; }
.prose ul.sources a { overflow-wrap: anywhere; }
.art-author { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

/* ---------- 404 без шапки и подвала ---------- */
.center-page--bare { padding-top: 48px; }

@media (max-width: 1100px) {
  .bgrid { grid-template-columns: 1fr 1fr; }
  .art { grid-template-columns: 1fr; }
  .art__aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .bcard--feat { flex-direction: column; }
  .bcard--feat .bcard__img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .art-cover { aspect-ratio: 16 / 10; border-radius: 18px; }
  .art__aside { grid-template-columns: 1fr; }
  .toc:not(.toc--cta) { order: -1; }
}
@media (max-width: 640px) { .bgrid { grid-template-columns: 1fr; } }


/* ---------- Список стран: открытие вверх ---------- */
.csel.is-up .csel__list { top: auto; bottom: calc(100% + 10px); transform-origin: bottom; transform: translateY(8px) scale(0.98); }
.csel.is-up.is-open .csel__list { transform: none; }

/* ---------- «Спасибо»: посадочный талон, который переворачивается ---------- */
.thanks .h2 { margin-bottom: 34px; }
.rc { position: relative; width: min(540px, 100%); margin-inline: auto; perspective: 1600px; cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; animation: rcIn 1.4s var(--ease) 0.35s both; }
@keyframes rcIn { from { opacity: 0; transform: translateY(60px) rotate(-4deg) scale(0.94); } }
.rc::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -10px; height: 34px; z-index: -1; border-radius: 50%; background: rgba(0, 0, 0, 0.6); filter: blur(22px); }
.rc__inner { position: relative; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(0.3, 0.9, 0.3, 1); }
.rc.is-flipped .rc__inner { transform: rotateY(180deg); }
@media (hover: hover) {
  .rc:hover .rc__inner { transform: rotateY(-6deg) rotateX(2deg); }
  .rc.is-flipped:hover .rc__inner { transform: rotateY(186deg) rotateX(2deg); }
}
.rc__face { position: relative; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 26px; overflow: hidden; background: var(--paper); color: var(--ink); border: 1px solid rgba(216, 176, 108, 0.5); }
.rc__back { position: absolute; inset: 0; transform: rotateY(180deg); background: linear-gradient(160deg, var(--navy-3), var(--navy-2)); color: #fff; display: flex; flex-direction: column; padding: 32px; }
.bp__head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 30px; border-bottom: 1.5px dashed rgba(13, 19, 48, 0.2); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.bp__head b { color: var(--ink); letter-spacing: 0.1em; }
.bp__head::before, .bp__head::after { content: ""; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); }
.bp__head::before { left: -12px; }
.bp__head::after { right: -12px; }
.bp__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 30px 30px 10px; }
.bp__route b { font-family: var(--brand); font-weight: 400; font-size: clamp(2.3rem, 9vw, 3.6rem); line-height: 1; color: var(--ink); }
.bp__route i { position: relative; height: 1.5px; background: repeating-linear-gradient(90deg, var(--gold-deep) 0 6px, transparent 6px 12px); }
.bp__route i::after { content: "✈"; position: absolute; top: 50%; left: 0; transform: translate(-50%, -54%); font-style: normal; font-size: 1.4rem; color: var(--gold-deep); animation: bpFly 1.8s var(--ease) 1.2s both; }
@keyframes bpFly { to { left: 100%; } }
.bp__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; margin: 0; padding: 18px 30px 28px; }
.bp__rows div[hidden] { display: none; }
.bp__wide { grid-column: 1 / -1; }
.bp__rows dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.bp__rows dd { margin: 5px 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; overflow-wrap: anywhere; }
.bp__wide dd { font-size: 1.9rem; }
.bp__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 30px; border-top: 1.5px dashed rgba(13, 19, 48, 0.2); font-size: 0.82rem; color: var(--muted); }
.bp__bar { flex: 0 0 110px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px, var(--ink) 10px 13px, transparent 13px 15px); opacity: 0.8; }
.rc__stamp { position: absolute; right: 26px; top: 178px; padding: 8px 14px; border: 3px double #1f9d63; border-radius: 10px; color: #1f9d63; font-family: var(--brand); font-size: 0.84rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; line-height: 1.3; transform: rotate(-10deg); background: rgba(252, 250, 245, 0.9); animation: stampIn 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) 2.2s both; }
.rc__stamp small { display: block; font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.2em; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-10deg) scale(2.2); } }
.rc__hint { padding: 0 0 18px; text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); animation: pulseHint 2.4s ease-in-out 3s infinite; }
@keyframes pulseHint { 50% { opacity: 0.45; } }
.rc__back h2 { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; line-height: 1; }
.rc__back h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.rc__back ol { display: grid; gap: 16px; margin: 24px 0 26px; }
.rc__back li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; font-size: 1rem; line-height: 1.4; color: #e7e9f5; }
.rc__back li b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.7rem; color: var(--gold); }
.rc__link { margin-top: 16px; text-align: center; font-size: 0.9rem; color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; }
.rc__back .rc__hint { margin-top: auto; padding: 16px 0 0; color: var(--gold); }
.art-credits { margin-top: 0.8em; font-size: 0.78rem; color: var(--muted); }
.art-credits a { border-bottom: 0; color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
  .bp__head, .bp__foot { padding: 16px 20px; }
  .bp__route { padding: 22px 20px 6px; gap: 12px; }
  .bp__rows { padding: 14px 20px 20px; gap: 14px 16px; }
  .bp__rows dd { font-size: 1.2rem; }
  .bp__wide dd { font-size: 1.5rem; }
  .bp__bar { flex-basis: 70px; }
  .rc__stamp { top: 124px; right: 14px; font-size: 0.66rem; padding: 6px 10px; }
  .rc__back { padding: 22px; }
  .rc__back h2 { font-size: 1.8rem; }
  .rc__back ol { gap: 12px; margin: 16px 0 18px; }
  .rc__back li { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) { .rc { animation: none; } }

/* ==========================================================================
   Мобильная версия: короче, плотнее, без второстепенного текста
   ========================================================================== */
.m-only { display: none; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + 10px) 0 34px; }
  .hero .display { font-size: clamp(2.5rem, 12vw, 3.6rem); line-height: 0.96; }
  .hero__copy .eyebrow { margin-bottom: 14px; }
  .hero__copy .lead { margin-top: 14px; font-size: 1rem; }
  .hero__globe { max-width: min(320px, 78vw); margin: 2px auto -4px; }
  .hero__note, .seal { display: none; }
  .stats { margin-top: 26px; }
  .stat { padding: 16px 12px 0 0; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(n + 3) { margin-top: 16px; }
  .stat__num { font-size: 1.9rem; }
  .stat__lbl { font-size: 0.8rem; margin-top: 4px; }
  .quizwrap .ticket { display: none; }
  .phero { padding: calc(var(--header-h) + 26px) 0 64px; }
  .phero h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .phero .lead { margin-top: 16px; font-size: 1rem; }
  .phero__mark { font-size: 44vw; opacity: 0.7; }
  .crumbs { margin-bottom: 18px; }
  .fact { padding: 14px 12px 0 0; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(n + 3) { margin-top: 14px; }
  .fact dd { font-size: 1.12rem; }
  .facts { margin-top: 30px; }
}
@media (max-width: 640px) {
  .m-hide { display: none; }
  .m-only { display: inline; }
  body { font-size: 15.5px; }
  .section { padding: 54px 0; }
  .section--round { border-radius: 26px 26px 0 0; margin-top: -26px; }
  .section__head { margin-bottom: 24px; gap: 14px; }
  .section__head > p { display: none; }
  .section__head .eyebrow { margin-bottom: 12px; }
  .h2 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); line-height: 1.04; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.18em; gap: 10px; }
  .eyebrow::before { width: 22px; }
  .btn { padding: 15px 22px; font-size: 0.95rem; }
  .marquee { padding: 14px 0; }

  /* направления — компактные строки */
  .passes { gap: 10px; }
  .pass { min-height: 0; grid-template-columns: 1fr 50px; border-radius: 16px; }
  .pass__top, .pass__tags, .pass__stub b { display: none; }
  .pass__main { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .pass__row { display: contents; }
  .pass__row .flag { grid-column: 1; grid-row: 1 / span 2; width: 46px; height: 31px; }
  .pass__name { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.32rem; }
  .pass__row .pass__code { grid-column: 2; grid-row: 2; font-size: 0.7rem; letter-spacing: 0.22em; margin-top: 2px; }
  .pass__stub { justify-content: center; padding: 0; border-left-style: solid; border-left-width: 1px; }
  .pass__stub::before, .pass__stub::after { display: none; }
  .pass__go { width: 32px; height: 32px; }
  .pass--cta .pass__main { display: flex; padding: 20px; gap: 12px; }
  .pass--cta .pass__name { font-size: 1.5rem; }
  .pass--cta p { display: none; }

  /* квиз и формы */
  .form-card { padding: 20px 18px; border-radius: 20px; }
  .form-card h3 { font-size: 1.6rem; }
  .quiz__step legend { font-size: 1.45rem; margin-bottom: 14px; }
  .quiz__count span:last-child { display: none; }
  .chip span { padding: 12px 12px; font-size: 0.9rem; border-radius: 12px; }
  .chip span small { display: none; }
  .chip .flag { width: 24px; height: 16px; }
  .fl { gap: 8px; }
  .field input, .field textarea, .csel__btn { padding: 13px 15px; }
  .quiz__nav .btn { padding: 14px 20px; }

  /* 9 из 10 */
  .proof__ring { padding: 18px; gap: 16px; }
  .proof__ring .ring { width: 112px; }
  .proof__ring .ring__num { font-size: 2.5rem; }
  .ring__cap { font-size: 0.72rem; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .proof .features { margin-top: 0; }
  .feature { padding: 16px 14px; border-radius: 14px; }
  .feature h3 { font-size: 1.12rem; margin: 6px 0 0; }
  .proof .feature p, .section--paper > .container > .features .feature p { display: none; }
  .cards2 .feature p { font-size: 0.9rem; margin-top: 6px; }

  /* процесс */
  .steps { gap: 22px; padding-left: 36px; }
  .step::before { left: -36px; }
  .step__n { font-size: 2.2rem; }
  .step h3 { font-size: 1.3rem; margin: 4px 0 4px; }
  .step p { font-size: 0.9rem; }
  .step small { display: none; }

  /* отзывы и блог на главной — листаются вбок */
  .reviews, #blog .bgrid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 14px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar, #blog .bgrid::-webkit-scrollbar { display: none; }
  .review, #blog .bcard { flex: 0 0 84%; scroll-snap-align: center; }
  .review { padding: 22px; gap: 14px; }
  .review blockquote { font-size: 1.14rem; }
  .review blockquote::before { font-size: 2.6rem; }
  .bcard__body { padding: 16px 18px 18px; }
  .bcard h3 { font-size: 1.3rem; margin: 8px 0 12px; }
  .bcard p { display: none; }
  .bcard--feat .bcard__body { padding: 18px; }
  .bcard--feat h3 { font-size: 1.5rem; }
  .bfilter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .bfilter::-webkit-scrollbar { display: none; }
  .bfilter button { flex: none; padding: 9px 14px; }

  /* вопросы, заявка, подвал */
  .two-col { gap: 18px; }
  .two-col__sticky p, .two-col__sticky .btn { display: none; }
  .faq summary { font-size: 1.1rem; padding: 16px 16px; gap: 12px; }
  .faq summary::after { width: 30px; height: 30px; font-size: 1.1rem; }
  .faq details > div { padding: 0 16px 16px; font-size: 0.94rem; }
  .cta__list { display: none; }
  .cta__grid { gap: 22px; }
  .cta .messengers { margin-top: 16px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 36px 0 18px; }
  .footer__about, .footer__cols > div:last-child { grid-column: 1 / -1; }
  .footer__about p { display: none; }
  .footer__icons { margin-top: 16px; }
  .footer__dirs { grid-template-columns: 1fr; gap: 9px; }
  .footer h4 { margin-bottom: 12px; }
  .footer__bar { font-size: 0.72rem; gap: 8px; }

  /* страница страны и статья */
  .block + .block { margin-top: 44px; }
  .block > .h2 { font-size: 1.8rem; margin-bottom: 16px; }
  .ticks { gap: 10px; font-size: 0.95rem; }
  .note { padding: 14px 16px; font-size: 0.9rem; }
  .risk > div { padding: 16px 18px; }
  .others a { padding: 9px 14px; font-size: 0.88rem; }
  .phero--article { padding-bottom: 96px; }
  .phero--article h1 { font-size: clamp(1.8rem, 7.6vw, 2.4rem); }
  .phero--article .lead { display: none; }
  .art-cover { margin-top: -64px; margin-bottom: 26px; }
  .prose { font-size: 1rem; line-height: 1.68; }
  .prose h2 { font-size: 1.55rem; }
  .prose h3 { font-size: 1.25rem; }
  .prose th, .prose td { padding: 10px 12px; font-size: 0.88rem; }
  .toc--cta { display: none; }
  .article-cta { margin-top: 36px; padding: 22px; }
  .about { gap: 26px; }
  .sign { font-size: 1.5rem; }
  .thanks .h2 { margin-bottom: 20px; }
  .center-page { padding: calc(var(--header-h) + 18px) var(--gut) 110px; }
  .center-page--bare { padding-top: 40px; }
  .e404 .stamp { width: 240px; margin-left: -120px; font-size: 0.86rem; padding: 10px 14px; }
  .passport { font-size: 0.66rem; padding: 14px; }
  .modal__box { border-radius: 22px; }
  .modal__side { padding: 20px 20px 16px; }
  .modal__side h2 { font-size: 1.6rem; margin-top: 8px; }
}
@media (max-width: 345px) {
  .features { grid-template-columns: 1fr; }
  .chips, .chips--3 { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .logo__name { display: none; }
}

.layout--form { grid-template-columns: minmax(0, 1fr) 400px; }
@media (max-width: 1100px) { .layout, .layout--form, .art { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .hero__grid, .proof, .cta__grid, .two-col, .about, .quizwrap { grid-template-columns: minmax(0, 1fr); } }

/* Хиро на телефоне: кнопки меньше и прижаты к низу первого экрана */
@media (max-width: 640px) {
  .hero { padding-bottom: 22px; }
  .hero__grid { min-height: calc(100svh - var(--header-h) - 26px); grid-template-rows: auto 1fr auto; }
  .hero__globe { align-self: center; }
  .hero__cta { align-self: end; }
  .hero__actions { margin-top: 0; gap: 8px; }
  .hero__actions .btn { padding: 12px 18px; font-size: 0.88rem; }
  .stats { margin-top: 18px; }
}


/* Список стран: всегда под полем, в потоке формы */
.csel__list, .csel.is-up .csel__list { position: static; max-height: 0; margin-top: 0; padding: 0 8px; border-width: 0; overflow: hidden; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #fff; border-radius: 16px; transition: max-height 0.45s var(--ease), margin-top 0.45s var(--ease), padding 0.45s var(--ease); }
.csel.is-open .csel__list { margin-top: 8px; padding: 8px; border-width: 1px; }
.csel__list li { padding: 9px 12px; }

/* Обложка статьи: целиком на светлом фоне, с отступом от тёмной шапки */
.phero--article { padding-bottom: clamp(84px, 9vw, 130px); }
.art-wrap { padding-top: clamp(40px, 5vw, 72px); }
.art-cover { margin-top: 0; box-shadow: 0 34px 70px -44px rgba(13, 19, 48, 0.6); }
@media (max-width: 640px) {
  .phero--article { padding-bottom: 64px; }
  .art-wrap { padding-top: 30px; }
  .art-cover { margin-top: 0; }
}
