/* ============================================================================
   Вануату · Гид — style.css
   Светлый редакционный стиль: Literata (заголовки) + Golos Text (текст).
   ============================================================================ */

:root {
  --ink: #1B1B1F;
  --ink-2: #4A4A55;
  --muted: #6B6B78;
  --blue: #2B59C3;
  --blue-dark: #1F4499;
  --blue-soft: #EAF0FB;
  --paper: #FFFFFF;
  --gray: #F2F4F7;
  --line: #E3E6EC;
  --wa: #25D366;
  --warn: #B4531A;
  --radius: 10px;
  --font-serif: 'Literata', Georgia, 'Times New Roman', serif;
  --font-sans: 'Golos Text', 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: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
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(--blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--blue-soft); }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 8px;
  padding: 11px 20px; font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5b; color: #fff; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 6px 24px -14px rgba(27,27,31,.35); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark {
  position: relative; width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 6px;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1;
}
.brand__mark i { position: absolute; right: -4px; bottom: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt b { font-family: var(--font-serif); font-size: 19px; font-weight: 600; }
.brand__txt small { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.nav__links { display: flex; gap: 26px; font-size: 15px; }
.nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: var(--blue); }
.nav__actions { display: flex; gap: 8px; flex-shrink: 0; }
.nav__burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); 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 var(--line); padding: 10px 0 18px; background: #fff; }
.mobile-menu a:not(.btn) { display: block; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--gray); }
.mobile-menu__cta { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu__cta .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; }
.hero__in { max-width: 920px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.kicker span { background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 4px; }
.kicker--light { color: rgba(255,255,255,.75); }
.hero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 22px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 760px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.hero__note { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts > div { padding: 16px 16px 16px 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.hero__fig { margin: 48px auto 0; max-width: 1200px; padding: 0 28px; }
.hero__fig img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 4px; }
.hero__fig figcaption, .figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Guide layout ---------- */
.guide { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 72px; justify-content: center; padding-top: 64px; padding-bottom: 40px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14.5px; }
.toc__title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.toc__title::-webkit-details-marker { display: none; }
.toc__count { display: none; text-transform: none; letter-spacing: 0; }
/* На десктопе оглавление всегда раскрыто — сворачивать его кликом не даём */
@media (min-width: 1024px) { .toc__title { pointer-events: none; } }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; padding-top: 2px; }
.toc a:hover { color: var(--blue); }
.toc a.is-current { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.toc__help { margin-top: 24px; padding: 18px; background: var(--gray); border-radius: var(--radius); }
.toc__help p { font-size: 14px; margin-bottom: 12px; color: var(--ink-2); }

/* ---------- Article ---------- */
.chapter { padding: 8px 0 48px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.chapter__num { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.chapter h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(27px, 3.4vw, 36px); line-height: 1.18; letter-spacing: -.01em; margin-bottom: 20px; }
.chapter h3 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
.chapter p + p { margin-top: 16px; }
.chapter > ul + p, .chapter > ol + p, .chapter > div + p { margin-top: 18px; }
.chapter > p, .chapter li { color: #2A2A31; }
.muted { color: var(--muted) !important; font-size: 15px; margin-top: 16px; }
.chapter__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.chapter__cta span { font-size: 14px; color: var(--muted); }

.note { margin: 26px 0; padding: 20px 22px; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.note__title { font-weight: 700; margin-bottom: 6px; color: var(--blue-dark); }
.note p:not(.note__title) { font-size: 16px; }

.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%232B59C3' 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; }
.ticks--warn li::before { background: none; border: 2px solid var(--warn); border-radius: 50%; width: 12px; height: 12px; top: 9px; left: 2px; }

.doclist { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: doc; border-top: 1px solid var(--line); }
.doclist li { counter-increment: doc; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doclist li::before { content: counter(doc, decimal-leading-zero); font-family: var(--font-serif); font-weight: 600; color: var(--blue); }

.table { overflow-x: auto; margin-top: 12px; -webkit-overflow-scrolling: touch; }
.table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 0; border-bottom: 2px solid var(--ink); }
.table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.table th:last-child, .table td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.table td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.pay__step { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; }
.pay__step b { font-family: var(--font-serif); font-size: 32px; line-height: 1; color: var(--blue); }
.pay__step span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

.timeline { list-style: none; margin: 20px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--blue-soft); display: grid; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.timeline__when { display: block; font-size: 13px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }

.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.regions > div { background: var(--gray); border-radius: var(--radius); padding: 18px; }
.regions h4 { font-size: 15px; margin-bottom: 6px; }
.regions p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.honest { display: grid; gap: 12px; margin-top: 12px; }
.honest > div { border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; }
.honest b { display: block; margin-bottom: 4px; }
.honest p { font-size: 15.5px; color: var(--ink-2); }

.figure { margin: 0 0 24px; }
.figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14.5px; color: var(--ink-2); }
.compare__col h4 { font-size: 16px; color: var(--ink); }
.compare__sum { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; font-weight: 600; color: var(--ink); margin: 6px 0 10px; }
.compare__col--main { border: 2px solid var(--blue); }
.compare__tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 6px; }

.cta-inline { display: flex; align-items: center; gap: 24px; justify-content: space-between; margin: 0 0 40px; padding: 26px 28px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.cta-inline__title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.cta-inline p:not(.cta-inline__title) { font-size: 15px; color: rgba(255,255,255,.75); }
.cta-inline .btn { flex-shrink: 0; }
.cta-inline--photo { align-items: stretch; justify-content: flex-start; padding: 0; overflow: hidden; }
.cta-inline--photo img { width: 170px; height: auto; object-fit: cover; flex-shrink: 0; }
.cta-inline--photo > div { padding: 26px 28px 26px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cta-inline--photo .btn { margin-top: 12px; }

.quotes { display: grid; gap: 18px; }
.quote { margin: 0; padding: 22px 24px; background: var(--gray); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 12px; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.6; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--ink); }

.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 22px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 96px 0; }
.final__bg { position: absolute; inset: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,27,31,.95) 30%, rgba(27,27,31,.55)); }
.final__in { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.final h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin-bottom: 16px; }
.final__copy > p:not(.kicker) { color: rgba(255,255,255,.8); margin-bottom: 26px; }
.final__contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; color: rgba(255,255,255,.7); }
.final__contacts a { color: #fff; font-weight: 600; word-break: break-all; }
.card-form { background: #fff; color: var(--ink); border-radius: 14px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.card-form__title { font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin-bottom: 18px; }

/* ---------- Forms ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: block; }
.field--full { margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 13px; border: 1px solid #C9CED8; border-radius: 8px; 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='%236B6B78' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 20px no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,89,195,.18); }
.field input.is-invalid { border-color: #D92D20; box-shadow: 0 0 0 3px rgba(217,45,32,.14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; transition: .2s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); 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: 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.consent a { text-decoration: underline; }
.consent.is-invalid { color: #D92D20; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--gray); padding: 64px 0 28px; font-size: 14.5px; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 48px; padding-bottom: 36px; }
.brand--foot { margin-bottom: 14px; }
.brand--foot .brand__mark i { border-color: var(--gray); }
.footer__about { max-width: 380px; }
.footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--blue); }
.footer__mail { word-break: break-all; }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; font-size: 12.5px; color: var(--muted); }
.footer__bottom a { color: var(--ink-2); text-decoration: underline; }
.footer__disc { font-size: 11.5px; line-height: 1.6; }

/* ---------- Floating / sticky ---------- */
.float-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.35); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.07); color: #fff; }
.float-wa svg { width: 28px; height: 28px; }
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(27,27,31,.72); backdrop-filter: blur(3px); }
/* 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: 14px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.45); animation: fadeUp .3s ease both; }
.modal__head { position: relative; padding: 26px 72px 22px 28px; border-bottom: 1px solid var(--line); }
.modal__kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 6px; }
.modal__head h2 { font-family: var(--font-serif); font-weight: 600; font-size: 25px; line-height: 1.2; margin-bottom: 6px; }
.modal__head p:last-child { font-size: 14.5px; color: var(--ink-2); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gray); color: var(--ink); display: grid; place-items: center; transition: background .2s; }
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 22px; height: 22px; }
.modal__body { padding: 24px 28px 22px; }
.modal__later { display: block; margin: 12px auto 0; background: none; border: 0; padding: 6px 12px; color: var(--muted); font-size: 14px; text-decoration: underline; }
.modal__later:hover { color: var(--ink); }
body.no-scroll { overflow: hidden; }

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

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

/* ---------- Thank-you / legal ---------- */
.thanks { min-height: 100vh; display: flex; align-items: center; background: var(--gray); }
.thanks__in { text-align: center; max-width: 680px; padding-top: 64px; padding-bottom: 64px; }
.thanks__ok { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.thanks__ok svg { width: 36px; height: 36px; }
.thanks h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin-bottom: 16px; }
.thanks__txt { color: var(--ink-2); font-size: 17px; margin-bottom: 28px; }
.thanks__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.thanks__back { font-size: 14.5px; }
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin-bottom: 18px; }
.legal h2 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: #33333B; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

/* ---------- Многостраничность: крошки, подстраницы, перелинковка ---------- */
.nav__links a[aria-current] { color: var(--blue); font-weight: 600; }
.mobile-menu a[aria-current] { color: var(--blue); font-weight: 600; }
.modal__title { font-family: var(--font-serif); font-weight: 600; font-size: 25px; line-height: 1.2; margin-bottom: 6px; }

.crumbs-wrap { max-width: 832px; }
.crumbs-wrap:empty { display: none; }
.table-hint { display: none; font-size: 13px; color: var(--muted); margin-top: 8px; }
.crumbs { padding-top: 22px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.crumbs__sep { margin: 0 8px; color: var(--line); }
.crumbs [aria-current] { color: var(--muted); }

.page { max-width: 832px; padding-top: 28px; padding-bottom: 24px; }
.page__head { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 2px solid var(--ink); }
.page__head h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 18px; }
.page__head .lede { margin-bottom: 0; }
.page__meta { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.page .chapter:last-child { border-bottom: 0; margin-bottom: 0; }

.table--grid th, .table--grid td { text-align: left !important; padding-left: 0; padding-right: 14px; white-space: normal !important; }
.table--grid th:last-child, .table--grid td:last-child { padding-right: 0; }
.table--grid td:last-child { font-weight: 400; }
.table--grid td:first-child { font-weight: 600; color: var(--ink); }
.table--grid .hl { color: var(--blue); font-weight: 600 !important; }
.table--grid table { min-width: 620px; }
.table--nowrap td:not(:first-child) { white-space: nowrap !important; }

.pros { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.pros > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pros h4 { font-size: 16px; margin-bottom: 10px; }
.pros .ticks { margin-top: 0; }
.pros li { font-size: 15.5px; }

.links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; }
.links a::after { content: "→"; color: var(--blue); }
.links a:hover { border-color: var(--blue); color: var(--blue); }

.news { display: grid; gap: 14px; margin-top: 8px; }
.news__item { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.news__item:hover { border-color: var(--blue); color: var(--ink); }
.news__item time { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.news__item b { display: block; font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.3; margin: 6px 0 8px; }
.news__item span { font-size: 15.5px; color: var(--ink-2); }

.more { background: var(--gray); padding: 64px 0; border-top: 1px solid var(--line); }
.more h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); margin-bottom: 24px; }
.more__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.more__card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, transform .2s; }
.more__card:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-2px); }
.more__card b { font-family: var(--font-serif); font-size: 17.5px; font-weight: 600; line-height: 1.3; }
.more__card > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.45; }
.more__tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.more__card[aria-current] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1180px) {
  .nav__links { gap: 18px; font-size: 14px; }
  .guide { grid-template-columns: 220px minmax(0, 700px); gap: 48px; }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
}
@media (max-width: 1023px) {
  .nav__actions { display: none; }
  .nav__burger { display: block; }
  .guide { grid-template-columns: minmax(0, 1fr); max-width: 776px; padding-top: 40px; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; break-inside: avoid; }
  .toc__help { display: none; }
  .toc__title { cursor: pointer; margin-bottom: 0; }
  .toc__box[open] .toc__title { margin-bottom: 12px; }
  .facts dd { font-size: 19px; }
  .facts dt { font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; }
  .final__in { grid-template-columns: 1fr; gap: 36px; }
  .more__grid { grid-template-columns: 1fr 1fr; }
  .more__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  body { font-size: 16.5px; padding-bottom: 72px; }
  /* Только горизонтальные отступы: shorthand обнулял вертикальные у .guide и подвала */
  .wrap { padding-left: 16px; padding-right: 16px; }
  .toc__count { display: inline; color: var(--blue); font-weight: 600; font-size: 13px; }
  .toc__count::after { content: " ▾"; }
  .toc__box[open] .toc__count::after { content: " ▴"; }
  .pay__step { grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 14px 16px; }
  .pay__step b { font-size: 28px; }
  .footer__bottom { padding-top: 20px; }
  .chapter__cta .btn { width: 100%; }
  .chapter__cta span { width: 100%; text-align: center; }
  .nav__in { height: 60px; }
  .brand__txt small { display: none; }
  .brand__txt b { font-size: 17px; }
  .hero { padding-top: 36px; }
  .lede { font-size: 18px; }
  .hero__cta .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div, .facts > div + div { padding: 12px 10px 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:nth-child(-n+2) { border-top: 0; }
  .facts > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .facts dd { font-size: 19px; }
  .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero__fig { padding: 0; margin-top: 32px; }
  .hero__fig img { aspect-ratio: 4 / 3; border-radius: 0; }
  .hero__fig figcaption { padding: 0 16px; }
  .toc ol { columns: 1; }
  .chapter { padding-bottom: 36px; margin-bottom: 32px; }
  .pay, .regions, .compare, .pros { grid-template-columns: 1fr; }
  .crumbs { padding-top: 16px; font-size: 13px; }
  .table-hint { display: block; }
  .page { padding-top: 20px; }
  .page__head { padding-bottom: 24px; margin-bottom: 32px; }
  .more { padding: 48px 0; }
  .more__grid { grid-template-columns: 1fr; gap: 10px; }
  .more__card { padding: 16px 18px; }
  .news__item { padding: 18px; }
  .news__item b { font-size: 19px; }
  .modal__title { font-size: 21px; }
  .cta-inline { flex-direction: column; align-items: flex-start; padding: 22px; }
  .cta-inline .btn { width: 100%; }
  .cta-inline--photo { flex-direction: row; padding: 0; }
  .cta-inline--photo img { width: 110px; }
  .cta-inline--photo > div { padding: 20px 18px 20px 0; }
  .doclist li { grid-template-columns: 36px 1fr; }
  .final { padding: 64px 0; }
  .card-form { padding: 22px 18px; }
  .fields { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .float-wa { 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,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .mobile-bar__btn { flex: 1; border: 0; border-radius: 8px; padding: 13px 6px; font-weight: 600; font-size: 14px; text-align: center; color: #fff; }
  .mobile-bar__btn:hover { color: #fff; }
  .mobile-bar__btn--call { flex: 0 0 48px; display: grid; place-items: center; background: var(--ink); padding: 0; }
  .mobile-bar__btn--call svg { width: 20px; height: 20px; }
  .mobile-bar__btn--wa { background: var(--wa); }
  .mobile-bar__btn--main { background: var(--blue); flex: 1.2; }
  .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__head { padding: 18px 64px 16px 20px; }
  .modal__head h2 { font-size: 21px; }
  .modal__head p:last-child { font-size: 13.5px; }
  .modal__close { top: 10px; right: 10px; }
  .modal__body { padding: 18px 20px 14px; }
  .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; }
}

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