/* ============================================================================
   Вануату Паспорт — style.css
   Палитра и типографика повторяют vanuatucitizenshipbyinvestment.org,
   шрифты заменены на версии с кириллицей (Playfair Display + Manrope).
   ============================================================================ */

:root {
  --navy: #0B1E3F;
  --navy-900: #070F25;
  --gold: #C9A24B;
  --gold-soft: #E6CC7F;
  --sand: #F5EFE3;
  --cream: #FAF7F0;
  --teal: #0E7C86;
  --ink: #1A1A1A;
  --mist: #F8FAFC;
  --muted: rgba(26, 26, 26, .68);
  --line: #E2E8F0;
  --tg: #229ED9;
  --wa: #25D366;
  --radius: 18px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.06), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-navy: 0 20px 60px -20px rgba(11,30,63,.35);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy); }
[hidden] { display: none !important; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 1000px; }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.display em { font-style: italic; color: var(--gold); }
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 40px -12px rgba(201,162,75,.6); }
.btn--gold:hover { background: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--gold); color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #1a8bc0; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5b; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.ico { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar__right { display: flex; gap: 22px; }
.topbar a:hover { color: var(--gold); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 10px 30px -10px rgba(7,15,37,.5); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.logo__sub { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav__links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav__links a { color: rgba(255,255,255,.85); transition: color .2s; white-space: nowrap; }
.nav__links a:hover { color: var(--gold); }
.nav__actions { display: flex; gap: 10px; flex-shrink: 0; }
.nav__short { display: none; }
.nav__burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid rgba(255,255,255,.1); padding: 12px 0 20px; }
.mobile-menu a:not(.btn) { display: block; padding: 10px 0; color: rgba(255,255,255,.9); }
.mobile-menu__msg { display: flex; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-menu__msg .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.hero__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .28; pointer-events: none; }
.hero__glow--gold { background: var(--gold); top: -140px; left: -140px; }
.hero__glow--teal { background: var(--teal); top: 45%; right: -140px; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.07; margin-bottom: 28px; }
.hero h1 em { display: block; margin-top: 8px; }
.hero__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; color: rgba(255,255,255,.85); font-size: 17px; }
.hero__list li { display: flex; gap: 12px; align-items: flex-start; }
.tick {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(201,162,75,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23C9A24B' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero__msg { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 44px; }
.hero__msg a { color: var(--gold); border-bottom: 1px dashed rgba(201,162,75,.5); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.kpi__num { font-family: var(--font-display); font-size: 34px; color: var(--gold); line-height: 1; }
.kpi__lbl { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }

.hero__visual { position: relative; max-width: 380px; justify-self: center; }
.hero__photo { border-radius: 26px; overflow: hidden; transform: rotate(3deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 6px solid rgba(255,255,255,.08); }
.hero__photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; }
.hero__badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy); border-radius: 16px; padding: 12px 16px;
  font-size: 13px; line-height: 1.35; box-shadow: var(--shadow-navy);
}
.hero__badge--top { top: 32px; left: -48px; }
.hero__badge--bottom { bottom: 36px; right: -36px; }
.hero__badge-num { font-family: var(--font-display); font-size: 34px; color: var(--gold); line-height: 1; }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); flex-shrink: 0; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Strip ---------- */
.strip { background: var(--cream); border-top: 1px solid rgba(201,162,75,.15); border-bottom: 1px solid rgba(201,162,75,.15); }
.strip__in { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: rgba(11,30,63,.8); }
.strip__in span { display: flex; align-items: center; gap: 8px; }
.strip__in span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .hero__glow { opacity: .18; }
.section--navy > .container { position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; color: var(--navy); margin-bottom: 18px; }
.sec-head p:not(.eyebrow) { color: var(--muted); }
.sec-head--light h2 { color: #fff; }
.sec-head--light p:not(.eyebrow) { color: rgba(255,255,255,.7); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05);
  border-left: 4px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-navy); border-left-color: var(--gold); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 20px; }
.card__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--glass { background: rgba(255,255,255,.05); outline: 1px solid rgba(255,255,255,.1); border-left: 0; box-shadow: none; }
.card--glass:hover { outline-color: rgba(201,162,75,.5); box-shadow: none; }
.card--glass h3 { color: var(--gold); }
.card--glass p { color: rgba(255,255,255,.75); }

/* ---------- Quiz ---------- */
.quiz {
  position: relative; max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--ink); border-radius: 28px; padding: 40px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.quiz__bar { height: 6px; background: var(--sand); border-radius: 6px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width .4s ease; }
.quiz__step-lbl { font-size: 13px; color: var(--muted); margin: 12px 0 24px; }
.quiz__step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__step.is-active { display: block; animation: fadeUp .35s ease both; }
.quiz__step legend { font-family: var(--font-display); font-size: 26px; color: var(--navy); margin-bottom: 22px; padding: 0; line-height: 1.25; }
.quiz__opts { display: grid; gap: 12px; }
.quiz__opts--grid { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px;
  font-weight: 600; color: var(--navy); background: #fff;
  transition: border-color .2s, background .2s;
}
.opt span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #CBD5E1; flex-shrink: 0; transition: .2s; }
.opt:hover span { border-color: var(--gold); background: var(--cream); }
.opt input:checked + span { border-color: var(--gold); background: var(--cream); }
.opt input:checked + span::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 4px #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz__result { background: var(--navy); color: #fff; border-radius: 18px; padding: 24px; margin-bottom: 28px; text-align: center; }
.quiz__result p:first-child { color: rgba(255,255,255,.7); font-size: 14px; }
.quiz__price { font-family: var(--font-display); font-size: 42px; color: var(--gold); line-height: 1.2; margin: 6px 0; }
.quiz__note { font-size: 13px; color: rgba(255,255,255,.6); }
.quiz__nav { margin-top: 18px; min-height: 24px; }
.quiz__nav:has(> [hidden]) { display: none; }
.quiz__back { background: none; border: 0; color: var(--muted); padding: 0; font-weight: 600; }
.quiz__back:hover { color: var(--navy); }

/* ---------- Forms ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: block; margin-bottom: 0; }
.field > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid #CBD5E1; border-radius: 10px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.25); }
.field input.is-invalid { border-color: #E11D48; box-shadow: 0 0 0 3px rgba(225,29,72,.15); }
.field + .consent, .fields + .field, .field + .field { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); transition: .2s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.consent a { text-decoration: underline; }
.consent.is-invalid { color: #E11D48; }
.form-note { font-size: 12px; color: #64748B; text-align: center; margin-top: 12px; }

/* ---------- Price card ---------- */
.price-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.2); outline: 1px solid rgba(201,162,75,.2); }
.price-card__head { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: 44px 24px; }
.ribbon { position: absolute; top: 22px; right: -52px; transform: rotate(45deg); background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 56px; }
.price-card__from { color: rgba(255,255,255,.65); font-size: 14px; }
.price-card__amount { font-family: var(--font-display); font-size: clamp(48px, 7vw, 64px); color: var(--gold); line-height: 1.05; }
.price-card__body { padding: 40px 48px 48px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.price-table td { padding: 14px 0; border-bottom: 1px solid rgba(201,162,75,.18); }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); font-size: 18px; white-space: nowrap; padding-left: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font-size: 15px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23C9A24B' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / contain no-repeat; }

.pay { margin-top: 72px; }
.pay__title { text-align: center; font-size: clamp(26px, 3.4vw, 38px); color: var(--navy); margin-bottom: 32px; }
.pay__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pay__step { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); font-size: 15px; color: var(--muted); }
.pay__pct { font-family: var(--font-display); font-size: 48px; color: var(--navy); line-height: 1; }
.pay__when { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 10px 0 12px; }
.pay__step--accent { background: var(--navy); color: rgba(255,255,255,.75); }
.pay__step--accent .pay__pct { color: var(--gold); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0 0 0 12px; padding: 0; border-left: 2px solid rgba(201,162,75,.3); display: grid; gap: 28px; }
.step { position: relative; padding-left: 36px; }
.step__num {
  position: absolute; left: -21px; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--font-display); font-size: 18px;
  display: grid; place-items: center; box-shadow: 0 0 0 4px var(--mist);
}
.step__card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05); }
.step--accent .step__card { outline: 2px solid var(--gold); }
.step__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--navy); }
.step p { font-size: 15px; color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; background: var(--cream); color: var(--navy); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.process__aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { background: var(--cream); border-radius: var(--radius); padding: 24px; outline: 1px solid rgba(201,162,75,.2); font-size: 14px; color: var(--muted); }
.aside-card--navy { background: var(--navy); outline: 0; box-shadow: var(--shadow-navy); }
.aside-card__txt { color: #fff; font-size: 19px; line-height: 1.35; }
.aside-card__num { font-family: var(--font-display); font-size: 44px; color: var(--navy); line-height: 1; margin-bottom: 6px; }

/* ---------- Gallery ---------- */
.gallery { display: flex; justify-content: center; align-items: center; gap: 28px; }
.gallery__item { margin: 0; width: 240px; border-radius: 20px; overflow: hidden; transform: rotate(var(--r)); box-shadow: 0 30px 60px -25px rgba(11,30,63,.45); border: 5px solid #fff; }
.gallery__item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; }
.gallery__item--mid { transform: rotate(var(--r)) translateY(-14px); }
.gallery__cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

/* ---------- Reviews ---------- */
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05); display: flex; flex-direction: column; }
.review::before { content: "“"; font-family: var(--font-display); font-size: 64px; line-height: .6; color: var(--gold); height: 28px; }
.review blockquote { margin: 0 0 24px; font-size: 15px; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.review figcaption b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--navy); }
.review__av { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 14px; display: grid; place-items: center; }

/* ---------- Honest ---------- */
.honest { display: grid; gap: 16px; }
.honest__item { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.honest__item h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.honest__item p { color: var(--muted); font-size: 15px; }

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); outline: 1px solid rgba(0,0,0,.05); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; font-size: 15px; }
.compare th { background: var(--navy); color: #fff; font-weight: 600; padding: 18px; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td { padding: 18px; text-align: center; color: var(--muted); border-bottom: 1px solid #F1F5F9; }
.compare td:first-child { color: var(--navy); font-weight: 600; }
.compare th.hl { background: var(--gold); color: var(--navy); }
.compare td.hl { background: rgba(201,162,75,.1); color: var(--navy); font-weight: 700; }
.compare td, .compare th { white-space: nowrap; }
.compare td:first-child, .compare th:first-child { white-space: normal; }
.table-hint { display: none; text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.sec-cta { margin-top: 40px; text-align: center; }
.sec-cta p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.section--navy .sec-cta p { color: rgba(255,255,255,.7); }

/* ---------- Requirements ---------- */
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.req__col { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05); }
.req__col--cream { background: var(--cream); outline-color: rgba(201,162,75,.2); }
.req__col h3 { font-size: 23px; color: var(--navy); margin-bottom: 20px; }
.checks--one { grid-template-columns: 1fr; margin-bottom: 0; }
.req__note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- After ---------- */
.after { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.after > div { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.after b { color: var(--navy); font-size: 16px; }
.after span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); outline: 1px solid rgba(0,0,0,.05); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--font-sans); font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 16px 22px 22px; border-top: 1px solid #F1F5F9; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin-bottom: 18px; }
.cta-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.cta-msg { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.cta-contacts { list-style: none; padding: 0; margin: 0; color: rgba(255,255,255,.65); font-size: 14px; display: grid; gap: 6px; }
.cta-contacts a { color: #fff; font-size: 18px; font-weight: 700; }
.cta-contacts a.cta-mail { font-size: 15px; font-weight: 500; word-break: break-all; }
.footer__mail { word-break: break-all; }
.form-card { background: #fff; color: var(--ink); border-radius: 28px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form-card h3 { font-size: 26px; color: var(--navy); margin-bottom: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 72px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer .logo { margin-bottom: 18px; }
.footer__about { color: rgba(255,255,255,.6); max-width: 380px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: grid; gap: 14px; font-size: 12px; color: rgba(255,255,255,.5); }
.footer__bottom a { text-decoration: underline; }
.footer__disc { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.42); }

/* ---------- Floating / sticky ---------- */
.float-msg {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
  animation: pulse 2.4s ease-in-out infinite; transition: transform .2s;
}
.float-msg:hover { transform: scale(1.08); }
.float-msg svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,15,37,.8); backdrop-filter: blur(4px); }
/* margin:auto вместо align-items:center — иначе высокая форма на телефоне уходит верхом за экран */
.modal__wrap { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; padding: 32px 16px; }
.modal__card { position: relative; margin: auto; width: 100%; max-width: 520px; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); animation: fadeUp .35s ease both; }
.modal__head { position: relative; background: var(--navy); color: #fff; padding: 28px 72px 28px 28px; }
.modal__head h2 { font-size: 26px; margin-bottom: 6px; }
.modal__head p { font-size: 14px; color: rgba(255,255,255,.7); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.modal__close:hover { background: rgba(255,255,255,.22); }
.modal__close svg { width: 22px; height: 22px; }
.modal__later { display: block; margin: 14px auto 0; background: none; border: 0; padding: 6px 12px; color: #64748B; font-size: 14px; text-decoration: underline; }
.modal__later:hover { color: var(--navy); }
.modal__body { padding: 28px; }
body.no-scroll { overflow: hidden; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 55; max-width: 440px;
  background: var(--navy); color: rgba(255,255,255,.8); border-radius: 16px; padding: 18px 20px;
  display: flex; gap: 16px; align-items: center; font-size: 13px; line-height: 1.45;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.cookie a { color: var(--gold); text-decoration: underline; }

/* ---------- Thank-you / legal pages ---------- */
.thanks { min-height: 100vh; display: flex; align-items: center; }
.thanks__in { position: relative; text-align: center; max-width: 720px; padding-top: 64px; padding-bottom: 64px; }
.thanks__ok { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.thanks__ok svg { width: 38px; height: 38px; }
.thanks h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin-bottom: 20px; }
.thanks h1 em { display: block; }
.thanks__txt { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 32px; }
.thanks__btns { justify-content: center; }
.thanks__back { color: rgba(255,255,255,.6); font-size: 14px; }
.thanks__back:hover { color: var(--gold); }
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); margin-bottom: 24px; line-height: 1.15; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--navy); margin: 36px 0 12px; }
.legal p, .legal li { color: #334155; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .todo { background: #FEF3C7; padding: 0 4px; border-radius: 4px; }

/* ---------- Внутренние страницы ---------- */
.nav__links a[aria-current="page"] { color: var(--gold); }
.mobile-menu a[aria-current="page"] { color: var(--gold); }
.nw { white-space: nowrap; }

.crumbs {
  background: var(--navy); color: rgba(255,255,255,.55); font-size: 13px;
  padding: 14px max(24px, calc((100% - 1192px) / 2)) 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
}
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); }
.crumbs__sep { opacity: .4; }

.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 40px 0 64px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .4; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1; max-width: 880px; margin-bottom: 20px; }
.page-hero__lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 760px; margin-bottom: 28px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; color: rgba(255,255,255,.7); }
.page-hero__facts b { color: var(--gold); font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-right: 6px; }

.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article { font-size: 17px; line-height: 1.75; color: #24303F; }
.article > * + * { margin-top: 18px; }
.article h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--navy); margin-top: 52px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--navy); margin-top: 32px; }
.article p { margin-bottom: 0; }
.article a:not(.btn) { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article a:not(.btn):hover { color: var(--gold); }
.article ul, .article ol { padding-left: 22px; margin-bottom: 0; }
.article li + li { margin-top: 8px; }
.article ul.checks { padding-left: 0; }
.article .steps { padding-left: 0; margin-top: 28px; }
.article .steps li + li, .article .checks li + li { margin-top: 0; }
.article .step h3 { margin-top: 0; font-size: 20px; }
.article .step p { font-size: 15px; line-height: 1.6; }
.article .review { margin-top: 24px; }
.article strong { color: var(--navy); }
.article .table-wrap { margin-top: 24px; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 15px; line-height: 1.5; }
.data-table th { background: var(--navy); color: #fff; font-weight: 600; text-align: left; padding: 14px 16px; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #EEF2F6; vertical-align: top; }
.data-table td.num { white-space: nowrap; font-weight: 700; color: var(--navy); text-align: right; }
.data-table tr.total td { background: rgba(201,162,75,.12); font-weight: 700; color: var(--navy); }
.callout { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; font-size: 16px; }
.callout b { color: var(--navy); }
.inline-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.inline-cta p { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.35; max-width: 460px; }
.inline-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.article .inline-cta { margin-top: 36px; margin-bottom: 8px; }

.article-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-links { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05); }
.aside-links h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.aside-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: block; padding: 7px 0; color: var(--navy); font-weight: 600; font-size: 15px; border-bottom: 1px solid #F1F5F9; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--gold); }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related a { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05); display: grid; gap: 6px; transition: transform .25s, box-shadow .25s; border-top: 3px solid var(--gold); }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-navy); }
.related b { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--navy); line-height: 1.25; }
.related span { font-size: 14px; color: var(--muted); }
.related--3 { grid-template-columns: repeat(3, 1fr); }

.sec-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.sec-link:hover { color: var(--gold); }
.section--navy .sec-link { color: #fff; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.contact-cards > div { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); outline: 1px solid rgba(0,0,0,.05); }
.contact-cards small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-cards a, .contact-cards p { font-size: 17px; font-weight: 700; color: var(--navy); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1240px) {
  .nav__links { gap: 16px; font-size: 13.5px; }
  .logo__sub { display: none; }
  .nav__full { display: none; }
  .nav__short { display: inline; }
  .nav__actions .btn--wa { padding-left: 12px; padding-right: 12px; }
  .nav__actions .btn--wa .ico { width: 20px; height: 20px; }
}
@media (max-width: 1100px) {
  .hero__badge--top { left: -16px; }
  .hero__badge--bottom { right: -12px; }
}

@media (max-width: 1023px) {
  .topbar, .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .hero__visual { max-width: 300px; }
  .grid-3, .after { grid-template-columns: 1fr 1fr; }
  .req { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-aside { position: static; }
  .related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  /* Только горизонтальные отступы: у .hero__grid, .nav__in, .footer__bottom свои вертикальные */
  .container { padding-left: 16px; padding-right: 16px; }
  .nav__in { padding-top: 10px; padding-bottom: 10px; }
  .hero__grid { padding-top: 32px; padding-bottom: 56px; }
  .hero h1 { margin-bottom: 22px; }
  .hero__list { gap: 10px; margin-bottom: 26px; }
  .hero__msg { margin-bottom: 32px; }
  .strip__in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; justify-content: stretch; font-size: 13px; line-height: 1.35; padding-top: 18px; padding-bottom: 18px; }
  .strip__in span { align-items: flex-start; }
  .strip__in span::before { flex-shrink: 0; margin-top: 6px; }
  .table-hint { display: block; }
  .sec-cta .btn { width: 100%; }
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 #E2E8F0; min-width: 132px; }
  .compare th:first-child { background: var(--navy); }
  .compare th, .compare td { padding: 14px 12px; }
  .consent { font-size: 13px; }
  .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .footer__disc { font-size: 12px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .sec-head { margin-bottom: 40px; }
  .logo__sub { display: none; }
  .logo__name { font-size: 18px; }
  .hero__list { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi__num { font-size: 30px; }
  .hero__visual { display: none; }
  .grid-3, .pay__grid, .after { grid-template-columns: 1fr; }
  .req__col { padding: 24px 20px; }
  .card { padding: 26px; }
  .quiz { padding: 26px 20px; border-radius: 22px; }
  .quiz__opts--grid { grid-template-columns: 1fr; }
  .quiz__step legend { font-size: 22px; }
  .quiz__price { font-size: 36px; }
  .fields { grid-template-columns: 1fr; }
  .price-card__body { padding: 28px 22px 32px; }
  .checks { grid-template-columns: 1fr; }
  .step { padding-left: 30px; }
  .step__top { flex-direction: column; gap: 8px; }
  .gallery { gap: 12px; }
  .gallery__item { width: 31%; border-width: 3px; border-radius: 12px; }
  .cta-msg .btn { flex: 1 1 100%; }
  .form-card { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .float-msg { display: none; }
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3);
  }
  .mobile-bar__btn { flex: 1; border: 0; border-radius: 999px; padding: 13px 6px; font-weight: 700; font-size: 14px; text-align: center; color: #fff; }
  .mobile-bar__btn--call { flex: 0 0 48px; display: grid; place-items: center; background: var(--navy); padding: 0; }
  .mobile-bar__btn--call svg { width: 20px; height: 20px; }
  .mobile-bar__btn--wa { background: var(--wa); }
  .mobile-bar__btn--gold { background: var(--gold); color: var(--navy); }
  .cookie { left: 12px; right: 12px; bottom: 80px; max-width: none; padding: 12px 14px; gap: 12px; font-size: 12px; }
  .modal__wrap { padding: 12px 10px calc(12px + env(safe-area-inset-bottom)); }
  .modal__card { border-radius: 22px; }
  .modal__head { padding: 18px 64px 16px 20px; }
  .modal__head h2 { font-size: 22px; margin-bottom: 4px; }
  .modal__head p { font-size: 13px; }
  .modal__close { top: 10px; right: 10px; }
  .modal__body { padding: 18px 20px 16px; }
  .modal__body .fields { gap: 12px; margin-bottom: 12px; }
  .modal__body .fields--pair { grid-template-columns: 1fr 1fr; }
  .modal__body .field input, .modal__body .field select { height: 46px; }
  .modal__body .chips { margin-bottom: 12px; }
  .modal__body .consent { margin-bottom: 14px; }
  .modal__body .form-note { display: none; }
  .crumbs { padding: 12px 16px 0; font-size: 12.5px; }
  .page-hero { padding: 28px 0 48px; }
  .page-hero__lead { font-size: 16px; }
  .page-hero__cta .btn { width: 100%; }
  .page-hero__facts { gap: 12px 20px; }
  .article { font-size: 16px; line-height: 1.7; }
  .article h2 { margin-top: 40px; }
  .callout { padding: 18px 18px; font-size: 15px; }
  .inline-cta { padding: 22px 20px; }
  .inline-cta p { font-size: 19px; }
  .inline-cta .btns, .inline-cta .btn { width: 100%; }
  .related, .related--3, .contact-cards { grid-template-columns: 1fr; }
  .data-table { font-size: 14px; min-width: 0; }
  .data-table th, .data-table td { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
