/* ============================================================================
   Вануату Экспресс (vanuatu-passport.ru) — style.css
   Яркий тропический стиль: океанский синий, бирюза, коралловый акцент.
   ============================================================================ */

:root {
  --ocean: #0077B6;
  --ocean-dark: #023E62;
  --deep: #01263D;
  --teal: #00B4D8;
  --coral: #FF7A45;
  --coral-dark: #F0612A;
  --sky: #F0FAFF;
  --ink: #0F2233;
  --muted: #4B6478;
  --line: #D6E6F0;
  --wa: #25D366;
  --r: 20px;
  --shadow: 0 10px 30px -12px rgba(1,38,61,.25);
  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-text: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-text); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; text-wrap: balance; }
button { font: inherit; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.nw, a[href^="mailto:"], a[href^="tel:"] { white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 12px 22px; font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--xl { padding: 20px 32px; font-size: 18px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 28px -10px rgba(37,211,102,.7); }
.btn--wa:hover { background: #1ebe5b; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 12px 28px -10px rgba(255,122,69,.75); }
.btn--coral:hover { background: var(--coral-dark); }
.btn[disabled] { opacity: .65; pointer-events: none; }
.ico { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 8px 24px -14px rgba(1,38,61,.35); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark svg { width: 40px; height: 40px; display: block; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt b { font-family: var(--f-head); font-weight: 800; font-size: 17px; color: var(--ocean-dark); }
.brand__txt small { font-size: 12px; color: var(--muted); }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav__links a { color: var(--ink); transition: color .2s; }
.nav__links a:hover { color: var(--ocean); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-family: var(--f-head); font-weight: 700; color: var(--ocean-dark); white-space: nowrap; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; margin-right: -10px; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ocean-dark); margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mmenu { border-top: 1px solid var(--line); background: #fff; padding: 8px 0 18px; }
.mmenu a:not(.btn) { display: block; padding: 11px 0; font-weight: 500; border-bottom: 1px solid var(--sky); }
.mmenu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--deep); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(1,38,61,.92) 0%, rgba(2,62,98,.78) 45%, rgba(0,119,182,.25) 100%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.tag { display: inline-block; background: rgba(0,180,216,.2); border: 1px solid rgba(0,180,216,.55); color: #BFF3FF; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--coral); }
.hero__lead { font-size: 19px; color: rgba(255,255,255,.88); max-width: 520px; margin-bottom: 22px; }
.hero__lead b { color: #fff; }
.hero__pts { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__pts li { background: rgba(255,255,255,.12); border-radius: 10px; padding: 8px 14px 8px 34px; font-size: 15px; position: relative; }
.hero__pts li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: translateY(-70%) rotate(-45deg); }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero__tel { display: flex; flex-direction: column; font-size: 13px; color: rgba(255,255,255,.7); }
.hero__tel b { font-family: var(--f-head); font-size: 18px; color: #fff; }

/* ---------- Calculator (quiz) ---------- */
.calc { background: #fff; color: var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.calc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.calc__title { font-family: var(--f-head); font-weight: 800; font-size: 21px; color: var(--ocean-dark); }
.calc__step { font-size: 13px; color: var(--muted); white-space: nowrap; }
.calc__bar { height: 6px; background: var(--sky); border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.calc__bar span { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--teal), var(--ocean)); transition: width .4s ease; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: rise .3s ease both; }
.quiz__step legend { font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 16px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; flex-direction: column; align-items: center; padding: 14px 6px 12px; border: 2px solid var(--line); border-radius: 16px; font-family: var(--f-head); font-weight: 800; font-size: 28px; color: var(--ocean); line-height: 1.1; transition: border-color .2s, background .2s, transform .15s; }
.opt small { font-family: var(--f-text); font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.opt:hover span { border-color: var(--teal); background: var(--sky); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--coral); background: #FFF3EE; color: var(--coral); }
.opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc__hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }
.calc__price { display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, var(--ocean), var(--teal)); color: #fff; border-radius: 18px; padding: 16px; margin-bottom: 18px; }
.calc__price > span { font-size: 13px; opacity: .85; }
.calc__price b { font-family: var(--f-head); font-weight: 800; font-size: 34px; line-height: 1.2; }
.calc__back { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; }

/* ---------- Form fields ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.field > span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 5px; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; 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='%234B6478' stroke-width='1.6' 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(--teal); box-shadow: 0 0 0 4px rgba(0,180,216,.18); }
.field input.is-invalid { border-color: #E11D48; box-shadow: 0 0 0 4px rgba(225,29,72,.12); }
.chips { display: flex; gap: 8px; margin-bottom: 14px; }
.chip { position: relative; cursor: pointer; flex: 1; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; text-align: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 500; font-size: 14px; transition: .2s; }
.chip input:checked + span { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--ocean); }
.consent a { text-decoration: underline; }
.consent.is-invalid { color: #E11D48; }

/* ---------- Facts ---------- */
.facts { background: var(--ocean); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 18px; display: flex; align-items: center; gap: 14px; border-right: 1px solid rgba(255,255,255,.18); }
.fact:last-child { border-right: 0; }
.fact b { font-family: var(--f-head); font-weight: 800; font-size: 46px; line-height: 1; color: #fff; white-space: nowrap; }
.fact span { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.sec { padding: 88px 0; }
.sec--tight { padding: 72px 0; }
.sec--tint { background: var(--sky); }
.head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.head h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; color: var(--ocean-dark); letter-spacing: -.01em; margin-bottom: 12px; }
.head h2 em { font-style: normal; color: var(--coral); }
.head p { color: var(--muted); font-size: 17px; }

/* ---------- Pay ---------- */
.pay { display: flex; gap: 6px; margin-bottom: 28px; }
.pay__seg { flex: 0 0 auto; width: calc(var(--w) - 4px); min-width: 170px; background: var(--sky); border-radius: 16px; padding: 22px 20px; border-top: 6px solid var(--teal); }
.pay__seg b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 38px; line-height: 1; color: var(--ocean); margin-bottom: 8px; }
.pay__seg span { font-size: 14px; color: var(--muted); }
.pay__seg--main { flex: 1; border-top-color: var(--coral); background: #FFF3EE; }
.pay__seg--main b { color: var(--coral); }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.prices div { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.prices span { display: block; font-size: 14px; color: var(--muted); }
.prices b { font-family: var(--f-head); font-weight: 800; font-size: 24px; color: var(--ocean-dark); }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.steps__n { font-family: var(--f-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--teal); margin-bottom: 14px; }
.steps h3 { font-size: 19px; font-weight: 700; color: var(--ocean-dark); margin-bottom: 10px; }
.steps p { font-size: 14.5px; color: var(--muted); flex: 1; }
.steps em { font-style: normal; align-self: flex-start; margin-top: 16px; background: #FFF3EE; color: var(--coral-dark); font-weight: 500; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.steps__cta { text-align: center; margin-top: 36px; }

/* ---------- Photo band ---------- */
.band { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1fr; height: 340px; }
.band figure { margin: 0; position: relative; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.band figure:hover img { transform: scale(1.05); }
.band__pass figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(1,38,61,.75); color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 10px; text-align: center; }

/* ---------- Reviews ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev { margin: 0; background: var(--sky); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; border-left: 5px solid var(--coral); }
.rev blockquote { margin: 0 0 18px; font-size: 16px; flex: 1; }
.rev figcaption { font-size: 13.5px; color: var(--muted); }
.rev figcaption b { display: block; font-family: var(--f-head); color: var(--ocean-dark); font-size: 16px; }

/* ---------- Honest ---------- */
.honest { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.honest li { background: #fff; border-radius: 16px; padding: 20px 22px 20px 54px; position: relative; font-size: 15px; color: var(--muted); box-shadow: 0 4px 14px -8px rgba(1,38,61,.2); }
.honest li::before { content: "!"; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.honest b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--teal); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--ocean-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--sky); color: var(--ocean); display: grid; place-items: center; font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral); color: #fff; }
.faq details > div { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; color: #fff; background: var(--deep); }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(1,38,61,.94), rgba(0,119,182,.75)); }
.final__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.final h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.final h2 span { color: var(--coral); }
.final__copy > p { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 28px; max-width: 480px; }
.final__info { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 6px; color: rgba(255,255,255,.75); font-size: 15px; }
.final__info a { color: #fff; font-weight: 500; }
.card-form { background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.card-form__title { font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--ocean-dark); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: rgba(255,255,255,.75); font-size: 14px; padding: 48px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot__brand { font-family: var(--f-head); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--teal); }
.foot__small { padding-top: 20px; display: grid; gap: 10px; font-size: 12px; color: rgba(255,255,255,.5); }
.foot__small a { text-decoration: underline; }

/* ---------- Floating / mobile bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 60px; height: 60px; 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: ping 2.4s ease-in-out infinite; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes ping {
  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 16px 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); }
}
.mbar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(1,38,61,.78); 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: 500px; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -15px rgba(0,0,0,.5); animation: rise .3s ease both; }
.modal__head { position: relative; background: linear-gradient(135deg, var(--ocean), var(--teal)); color: #fff; padding: 26px 72px 24px 26px; }
.modal__head h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.modal__head p { font-size: 14.5px; color: rgba(255,255,255,.9); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); color: #fff; display: grid; place-items: center; transition: background .2s; }
.modal__close:hover { background: rgba(255,255,255,.35); }
.modal__close svg { width: 22px; height: 22px; }
.modal__body { padding: 24px 26px 18px; }
.modal__later { display: block; margin: 12px auto 0; background: none; border: 0; padding: 6px 12px; color: var(--muted); font-size: 14px; text-decoration: underline; }
body.no-scroll { overflow: hidden; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 22px; bottom: 22px; z-index: 55; max-width: 420px; background: #fff; color: var(--muted); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: 13px; line-height: 1.45; box-shadow: 0 20px 40px -12px rgba(1,38,61,.4); border: 1px solid var(--line); }
.cookie a { color: var(--ocean); text-decoration: underline; }

/* ---------- Thank-you / legal ---------- */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px 20px; position: relative; overflow: hidden; color: #fff; background: var(--deep); }
.thanks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(1,38,61,.93), rgba(0,119,182,.8)); }
.thanks__in { position: relative; z-index: 1; max-width: 640px; }
.thanks__ok { width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 24px; background: var(--coral); display: grid; place-items: center; }
.thanks__ok svg { width: 40px; height: 40px; }
.thanks h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; margin-bottom: 16px; }
.thanks p { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 28px; }
.thanks__back { display: inline-block; margin-top: 22px; color: rgba(255,255,255,.7); font-size: 14px; }
.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--ocean-dark); margin-bottom: 18px; }
.legal h2 { font-size: 20px; font-weight: 700; color: var(--ocean-dark); margin: 32px 0 10px; }
.legal p, .legal li { color: #34495A; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--ocean); text-decoration: underline; }

/* ---------- Breadcrumbs ---------- */
.crumbs-wrap { background: #fff; padding-bottom: 16px; }
.crumbs-wrap:empty { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--ocean); }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { color: var(--line); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Active menu item ---------- */
.nav__links a[aria-current] { color: var(--ocean); box-shadow: inset 0 -2px 0 var(--coral); }
.mmenu a[aria-current]:not(.btn) { color: var(--ocean); font-weight: 600; }

/* ---------- Link cards (главная, хабы) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-link { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 22px 20px 22px; position: relative; transition: border-color .2s, transform .15s, box-shadow .2s; }
.card-link::after { content: "→"; position: absolute; right: 20px; top: 18px; color: var(--coral); font-weight: 700; font-size: 18px; transition: transform .2s; }
.card-link:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-link:hover::after { transform: translateX(4px); }
.card-link b { font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--ocean-dark); padding-right: 28px; }
.card-link span { font-size: 14px; color: var(--muted); }

/* ---------- Inner page head ---------- */
.phead { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--deep) 0%, var(--ocean-dark) 55%, var(--ocean) 100%); }
.phead::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(0,180,216,.35), transparent 70%); }
.phead__in { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 56px; max-width: 860px; }
.phead h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 16px; }
.phead h1 span { color: var(--coral); }
.phead__lead { font-size: 18px; color: rgba(255,255,255,.88); max-width: 720px; }
.phead__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.phead__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; padding: 0; }
.phead__facts li { background: rgba(255,255,255,.12); border-radius: 10px; padding: 8px 14px; font-size: 14.5px; }
.phead__facts b { color: #fff; }

/* ---------- Article ---------- */
.article { padding-top: 56px; padding-bottom: 72px; }
.prose { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #22384A; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--ocean-dark); margin-top: 48px; letter-spacing: -.01em; }
.prose h2 em { font-style: normal; color: var(--coral); }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--ocean-dark); margin-top: 30px; }
.prose a:not(.btn) { color: var(--ocean); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.lead { font-size: 19px; color: var(--ink); }
.callout { background: var(--sky); border-left: 5px solid var(--teal); border-radius: 14px; padding: 18px 22px; font-size: 16px; }
.callout--warn { background: #FFF3EE; border-left-color: var(--coral); }
.callout b { color: var(--ink); }

/* Таблицы */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1.5px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--sky); font-family: var(--f-head); font-weight: 700; color: var(--ocean-dark); font-size: 14px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .hl { background: #FFF3EE; font-weight: 600; color: var(--coral-dark); }

/* Списки стран */
.countries { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.countries li { margin: 0 !important; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--ink); }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.region { background: var(--sky); border-radius: 18px; padding: 22px; }
.region h3 { margin-top: 0 !important; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.region h3 small { font-family: var(--f-text); font-weight: 400; font-size: 13px; color: var(--muted); }
.region .countries li { font-size: 14px; padding: 5px 12px; }
.region__more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--ocean); text-decoration: underline; }

/* CTA внутри статьи */
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--ocean), var(--teal)); color: #fff; border-radius: 22px; padding: 26px 28px; margin-top: 36px !important; }
.cta-box b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 21px; line-height: 1.25; margin-bottom: 6px; }
.cta-box p { color: rgba(255,255,255,.9); font-size: 15px; }
.cta-box__btns { display: flex; flex-direction: column; gap: 10px; }
.cta-box .btn--coral { box-shadow: 0 12px 28px -10px rgba(1,38,61,.5); }

/* «Читайте также» */
.related { max-width: 820px; margin: 48px auto 0; }
.related__title { font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--ocean-dark); margin-bottom: 14px; }
.related .cards { grid-template-columns: 1fr 1fr; }

/* Страница паспорта */
.pass-fig { float: right; width: 240px; margin: 4px 0 16px 28px !important; }
.pass-fig img { width: 100%; height: auto; border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 40%; box-shadow: var(--shadow); }
.pass-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose h2 { clear: both; }
.pass-price { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.prices--2 { grid-template-columns: 1fr 1fr; }
.prices--2 div { background: #fff; }
.mini-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.mini-steps li { background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 15px; color: var(--muted); }
.mini-steps b { color: var(--ocean-dark); font-family: var(--f-head); }
.note--left { text-align: left; margin-left: 0; }
.article--tight { padding-top: 48px; }

/* FAQ внутри статьи */
.page-faq { max-width: 820px; margin: 48px auto 0; }
.page-faq h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--ocean-dark); margin-bottom: 18px; }

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

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
  .nav__links { gap: 16px; font-size: 14px; }
}
@media (max-width: 1023px) {
  .nav__links, .nav__actions { display: none; }
  .burger { display: block; }
  .hero__grid, .final__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__grid { padding-top: 40px; padding-bottom: 48px; }
  .hero::after { background: linear-gradient(180deg, rgba(1,38,61,.9), rgba(2,62,98,.85)); }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .steps { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .revs { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; height: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  /* отступ и тёмный фон под нижней панелью — только на страницах, где она есть */
  body:has(.mbar) { padding-bottom: 72px; background: var(--deep); }
  main { background: #fff; }
  /* только боковые отступы — иначе обнуляются вертикальные у .hero__grid, .foot__grid и т.п. */
  .wrap { padding-left: 16px; padding-right: 16px; }
  /* «Горячий» первый экран: калькулятор сразу после оффера, кнопка WhatsApp и плюсы — под ним */
  .hero__grid { gap: 0; padding-top: 28px; padding-bottom: 36px; }
  .hero__copy { display: contents; }
  .tag { order: 1; justify-self: start; margin-bottom: 16px; }
  .hero h1 { order: 2; margin-bottom: 14px; }
  .hero__lead { order: 3; margin-bottom: 20px; }
  .calc { order: 4; margin-bottom: 22px; }
  .hero__cta { order: 5; margin-bottom: 18px; }
  .hero__pts { order: 6; margin-bottom: 0; }
  .band__pass img { object-position: center 38%; }
  .calc__step, .calc__hint, .consent { font-size: 14px; }
  .opt small { font-size: 13px; }
  .sec { padding: 60px 0; }
  .sec--tight { padding: 52px 0; }
  .head { margin-bottom: 30px; }
  .head p { font-size: 16px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .hero__tel { flex-direction: row; gap: 6px; align-items: baseline; }
  .hero__tel b { font-size: 16px; }
  .calc { padding: 22px 18px; border-radius: 22px; }
  .opt span { font-size: 24px; padding: 12px 4px 10px; }
  .fields { grid-template-columns: 1fr; }
  .fact { padding: 22px 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .fact b { font-size: 36px; }
  .pay { flex-direction: column; }
  .pay__seg { width: auto; min-width: 0; }
  .steps { grid-template-columns: 1fr; }
  .honest { grid-template-columns: 1fr; }
  .band { grid-template-rows: 160px 160px; }
  .final__grid { padding-top: 60px; padding-bottom: 60px; }
  .final .btn--xl { width: 100%; }
  .card-form { padding: 24px 18px; }
  .foot__grid { grid-template-columns: 1fr; }
  .cards, .related .cards, .regions { grid-template-columns: 1fr; }
  .phead__in { padding-top: 36px; padding-bottom: 40px; }
  .phead__lead { font-size: 16.5px; }
  .phead__cta .btn { width: 100%; }
  .article { padding-top: 40px; padding-bottom: 56px; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 38px; }
  .lead { font-size: 17px; }
  .cta-box { grid-template-columns: 1fr; padding: 22px 20px; }
  .pass-fig { float: none; width: 100%; max-width: 280px; margin: 0 auto 8px !important; }
  .pass-price { grid-template-columns: 1fr; gap: 28px; }
  .tbl { min-width: 0; font-size: 13.5px; }
  .tbl th, .tbl td { padding: 10px 10px; }
  .tbl th { font-size: 12.5px; }
  .prices--2 b { font-size: 21px; }
  .cta-box .btn { width: 100%; }
  .wa-float { display: none; }
  .mbar { 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,.97); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px -12px rgba(1,38,61,.35); }
  .mbar__btn { flex: 1; border: 0; border-radius: 12px; padding: 13px 6px; font-family: var(--f-head); font-weight: 700; font-size: 14px; text-align: center; color: #fff; }
  .mbar__btn--call { flex: 0 0 48px; display: grid; place-items: center; background: var(--ocean); padding: 0; }
  .mbar__btn--call svg { width: 20px; height: 20px; }
  .mbar__btn--wa { background: var(--wa); }
  .mbar__btn--coral { background: var(--coral); }
  .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: 21px; margin-bottom: 4px; }
  .modal__head p { font-size: 13px; }
  .modal__close { top: 10px; right: 10px; }
  .modal__body { padding: 18px 20px 14px; }
  .modal__body .fields { gap: 10px; margin-bottom: 12px; }
  .modal__body .fields--pair { grid-template-columns: 1fr 1fr; }
  .modal__body .field input, .modal__body .field select { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
