/* ============================================================================
   Семейный паспорт (pasportvanuatu.ru) — style.css
   Тёплая палитра: бирюзовый, песочный, коралловый. Шрифты: Lora + Nunito.
   ============================================================================ */

:root {
  --teal: #0F4C5C;
  --teal-900: #0A3540;
  --teal-600: #1B6B7D;
  --sand: #F3E9DC;
  --sand-200: #FAF5EE;
  --coral: #E07A5F;
  --coral-700: #C9634A;
  --ink: #23302F;
  --muted: rgba(35, 48, 47, .72);
  --line: #E4DACB;
  --wa: #25D366;
  --radius: 24px;
  --shadow: 0 10px 30px -14px rgba(15, 76, 92, .28);
  --shadow-lg: 0 30px 70px -30px rgba(10, 53, 64, .55);
  --font-title: 'Lora', Georgia, serif;
  --font-text: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  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, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--coral); color: #fff; }
[hidden] { display: none !important; }

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

.title { font-family: var(--font-title); font-weight: 600; letter-spacing: -.01em; color: var(--teal); }
.title em { font-style: italic; font-weight: 500; color: var(--coral); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--coral-700); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker--light { color: #F7C2B2; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid transparent; border-radius: 16px;
  padding: 12px 22px; font-weight: 800; font-size: 15px; line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 14px 30px -14px rgba(224,122,95,.9); }
.btn--coral:hover { background: var(--coral-700); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5b; }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--teal); }
.btn--outline { border-color: var(--line); color: var(--teal); background: #fff; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Шапка ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(15,76,92,.45); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.1; color: var(--teal); }
.logo__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav__links { display: flex; gap: 24px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav__links a { color: var(--teal); opacity: .85; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--coral-700); }
.nav__actions { display: flex; gap: 10px; 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(--teal); 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); background: #fff; padding: 8px 0 18px; }
.mobile-menu a:not(.btn) { display: block; padding: 11px 0; font-weight: 700; color: var(--teal); border-bottom: 1px solid var(--sand); }
.mobile-menu__btns { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu__btns .btn { flex: 1; }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; color: #fff; min-height: 640px; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,53,64,.94) 0%, rgba(15,76,92,.82) 42%, rgba(15,76,92,.25) 75%, rgba(15,76,92,.1) 100%); }
.hero__in { position: relative; width: 100%; padding-top: 88px; padding-bottom: 140px; }
.hero .title { color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.1; max-width: 760px; margin-bottom: 22px; }
.hero .title em { color: #FFB59F; }
.hero__lead { font-size: 19px; color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 24px; }
.hero__chips { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 700; backdrop-filter: blur(6px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.facts { position: relative; z-index: 2; margin-top: -72px; }
.facts__card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px 32px; }
.facts__card > div { padding: 4px 12px; border-left: 2px solid var(--sand); }
.facts__card > div:first-child { border-left: 0; }
.facts__num { font-family: var(--font-title); font-weight: 700; font-size: 30px; color: var(--teal); line-height: 1.15; }
.facts__lbl { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Секции ---------- */
.section { position: relative; padding: 100px 0; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal); color: #fff; overflow: hidden; }
.section--teal::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(224,122,95,.35), transparent 70%); top: -200px; right: -160px; pointer-events: none; }
.section--teal > .container { position: relative; }
.head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.head .title { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-bottom: 16px; }
.head p:not(.kicker) { color: var(--muted); font-size: 17px; }
.head--light .title { color: #fff; }
.head--light .title em { color: #FFB59F; }
.head--light p:not(.kicker) { color: rgba(255,255,255,.8); }

/* ---------- Ситуации ---------- */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.situation { background: var(--sand-200); border-radius: var(--radius); padding: 30px; transition: transform .3s, box-shadow .3s, background .3s; }
.situation:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.situation__ico { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 6px 16px -10px rgba(15,76,92,.5); }
.situation__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.situation h3 { font-family: var(--font-title); font-weight: 600; font-size: 21px; color: var(--teal); margin-bottom: 8px; }
.situation p { font-size: 15.5px; color: var(--muted); }

/* ---------- Кого включить ---------- */
.family { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.family__photo { position: relative; }
.family__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lg); }
.family__note { position: absolute; right: -24px; bottom: 36px; max-width: 240px; background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 700; color: var(--teal); }
.family__note-num { font-family: var(--font-title); font-size: 52px; line-height: 1; color: var(--coral); }
.family .title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.family__lead { color: var(--muted); margin-bottom: 26px; }
.members { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.members li { background: #fff; border-radius: 18px; padding: 16px 18px; display: grid; gap: 2px; border: 1px solid var(--line); }
.members b { color: var(--teal); font-size: 16px; }
.members li > span { color: var(--muted); font-size: 14px; }

/* ---------- Квиз ---------- */
.quiz { position: relative; max-width: 780px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 32px; padding: 40px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.quiz__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.quiz__lbl { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.quiz__bar { flex: 1; height: 8px; background: var(--sand); border-radius: 8px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #F2A58E, var(--coral)); border-radius: 8px; transition: width .4s ease; }
.quiz__step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__step.is-active { display: block; animation: rise .35s ease both; }
.quiz__step legend, .quiz__ask { font-family: var(--font-title); font-weight: 600; font-size: 26px; color: var(--teal); margin-bottom: 20px; padding: 0; line-height: 1.25; }
.opts { display: grid; gap: 12px; }
.opts--grid { grid-template-columns: repeat(3, 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: 12px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 18px; font-weight: 700; color: var(--teal); background: #fff; transition: border-color .2s, background .2s; height: 100%; }
.opt > span b { flex-shrink: 0; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-family: var(--font-title); font-size: 18px; color: var(--coral-700); transition: .2s; }
.opts:not(.opts--grid) .opt > span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #CDBFAE; flex-shrink: 0; transition: .2s; }
.opt:hover > span { border-color: #F2A58E; background: var(--sand-200); }
.opt input:checked + span { border-color: var(--coral); background: #FFF3EE; }
.opt input:checked + span b { background: var(--coral); color: #fff; }
.opt input:checked + span::before { border-color: var(--coral); background: var(--coral); box-shadow: inset 0 0 0 4px #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.quiz__result { background: var(--sand); border-radius: 22px; padding: 22px; margin-bottom: 26px; text-align: center; }
.quiz__result p:first-child { color: var(--muted); font-size: 15px; font-weight: 700; }
.quiz__price { font-family: var(--font-title); font-weight: 700; font-size: 44px; color: var(--teal); line-height: 1.2; margin: 4px 0; }
.quiz__note { font-size: 14px; color: var(--muted); }
.quiz__back { margin-top: 18px; background: none; border: 0; padding: 0; color: var(--muted); font-weight: 700; }
.quiz__back:hover { color: var(--teal); }

/* ---------- Поля форм ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.field { display: block; }
.field--single { margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 800; color: var(--teal); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; padding-right: 42px; 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='%230F4C5C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(224,122,95,.18); }
.field input.is-invalid { border-color: #D9475B; box-shadow: 0 0 0 4px rgba(217,71,91,.14); }
.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: 10px 18px; border-radius: 999px; border: 2px solid var(--line); font-size: 14px; font-weight: 800; color: var(--teal); transition: .2s; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.consent input { width: 19px; height: 19px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--coral); }
.consent a { text-decoration: underline; }
.consent.is-invalid { color: #D9475B; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Стоимость ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier { position: relative; background: var(--sand-200); border: 2px solid var(--sand); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.tier--hot { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.tier__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.tier__who { font-weight: 800; font-size: 15px; color: var(--muted); }
.tier--hot .tier__who { color: rgba(255,255,255,.75); }
.tier__sum { font-family: var(--font-title); font-weight: 700; font-size: 34px; color: var(--teal); margin: 8px 0 4px; line-height: 1.1; white-space: nowrap; }
.tier--hot .tier__sum { color: #fff; }
.tier__per { font-size: 14px; color: var(--coral-700); font-weight: 700; }
.tier--hot .tier__per { color: #FFB59F; }
.price-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

/* Кнопка-призыв под крупными блоками */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 44px; text-align: center; }
.cta-row__hint { color: var(--muted); font-size: 15px; font-weight: 700; }
.cta-row--left { justify-content: flex-start; margin-top: 26px; text-align: left; }
.nw { white-space: nowrap; }

.pay { margin-top: 72px; }
.pay__title { text-align: center; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 30px; }
.pay__line { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: pay; }
.pay__line li { position: relative; padding: 0 22px; text-align: center; }
.pay__line li::before { content: ""; position: absolute; top: 36px; left: 0; right: 0; height: 3px; background: var(--sand); z-index: 0; }
.pay__line li:first-child::before { left: 50%; }
.pay__line li:last-child::before { right: 50%; }
.pay__pct { position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 3px solid var(--coral); display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--teal); }
.pay__line li:last-child .pay__pct { background: var(--coral); color: #fff; }
.pay__when { font-weight: 800; color: var(--teal); margin-bottom: 6px; }
.pay__line p:last-child { font-size: 15px; color: var(--muted); }

/* ---------- Путь ---------- */
.road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: road; }
.road__item { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow); }
.road__item--accent { background: var(--teal); color: #fff; }
.road__num { position: absolute; top: -18px; left: 26px; width: 44px; height: 44px; border-radius: 14px; background: var(--coral); color: #fff; display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; font-size: 20px; box-shadow: 0 10px 20px -10px rgba(224,122,95,.9); }
.road__time { display: inline-block; margin: 8px 0 10px; font-size: 13px; font-weight: 800; color: var(--coral-700); background: #FFF3EE; padding: 4px 12px; border-radius: 999px; }
.road__item--accent .road__time { background: rgba(255,255,255,.14); color: #FFB59F; }
.road h3 { font-family: var(--font-title); font-weight: 600; font-size: 20px; color: var(--teal); margin-bottom: 8px; }
.road__item--accent h3 { color: #fff; }
.road p:last-child { font-size: 15px; color: var(--muted); }
.road__item--accent p:last-child { color: rgba(255,255,255,.8); }

/* ---------- Фото-вставка ---------- */
.band { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,53,64,.88) 0%, rgba(10,53,64,.2) 65%, transparent 100%); }
.band__in { position: relative; padding-top: 80px; padding-bottom: 56px; }
.band__quote { max-width: 760px; color: #fff; font-family: var(--font-title); font-style: italic; font-size: clamp(19px, 2.4vw, 25px); line-height: 1.45; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.reviews__aside { position: sticky; top: 100px; }
.reviews__aside .title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 26px; }
.reviews__photo { margin: 0; }
.reviews__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.reviews__photo figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.reviews__list { display: grid; gap: 18px; }
.review { margin: 0; background: var(--sand-200); border-radius: var(--radius); padding: 28px 30px; border-left: 5px solid var(--coral); }
.review blockquote { margin: 0 0 18px; font-size: 16.5px; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.review figcaption b { display: block; font-family: var(--font-title); font-weight: 600; font-size: 17px; color: var(--teal); }
.review__av { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--teal); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* ---------- Честно ---------- */
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.honest__item { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.honest__item h3 { font-family: var(--font-title); font-weight: 600; font-size: 20px; color: var(--teal); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.honest__item h3::before { content: "!"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #FFF3EE; color: var(--coral-700); font-family: var(--font-text); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.honest__item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--sand-200); border-radius: 20px; border: 2px solid transparent; transition: border-color .2s, background .2s; }
.faq details[open] { background: #fff; border-color: var(--sand); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 17px; color: var(--teal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 12px; 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='%23E07A5F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--sand); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- Финальная форма ---------- */
#contacts { background: linear-gradient(rgba(15,76,92,.9), rgba(10,53,64,.94)), url("/assets/img/breakas-beach.jpg") center / cover no-repeat; }
.final { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.final__copy .title { color: #fff; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-bottom: 16px; }
.final__copy .title em { color: #FFB59F; }
.final__copy > p:not(.kicker) { color: rgba(255,255,255,.82); margin-bottom: 28px; }
.final__contacts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 6px; color: rgba(255,255,255,.7); font-size: 15px; }
.final__contacts a { color: #fff; font-weight: 800; font-size: 18px; word-break: break-word; }
.form-card { background: #fff; color: var(--ink); border-radius: 32px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.form-card .title { font-size: 26px; margin-bottom: 22px; }

/* ---------- Подвал ---------- */
.footer { background: var(--teal-900); color: rgba(255,255,255,.75); padding: 72px 0 36px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.logo--footer { margin-bottom: 16px; }
.logo--footer .logo__name { color: #fff; }
.footer__about { color: rgba(255,255,255,.62); max-width: 380px; }
.footer h4 { color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #FFB59F; }
.footer__mail { word-break: break-all; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: grid; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer__bottom a { text-decoration: underline; }
.footer__small { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.45); }

/* ---------- Плавающие кнопки ---------- */
.float-wa { position: fixed; right: 24px; bottom: 24px; 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,.4); animation: pulse 2.4s ease-in-out infinite; transition: transform .2s; }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,0); }
}
.mobile-bar { display: none; }

/* ---------- Окно заявки ---------- */
.modal { position: fixed; inset: 0; z-index: 60; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,53,64,.78); backdrop-filter: blur(5px); }
/* 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: 30px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); animation: rise .35s ease both; }
.modal__head { position: relative; background: var(--sand); padding: 28px 76px 24px 28px; }
.modal__head .title { font-size: 26px; margin-bottom: 6px; }
.modal__head p { font-size: 15px; color: var(--muted); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 14px; border: 0; background: #fff; color: var(--teal); display: grid; place-items: center; box-shadow: 0 6px 14px -8px rgba(15,76,92,.5); transition: background .2s; }
.modal__close:hover { background: var(--sand-200); }
.modal__close svg { width: 22px; height: 22px; }
.modal__body { padding: 26px 28px 22px; }
.modal__later { display: block; margin: 14px auto 0; background: none; border: 0; padding: 6px 12px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: underline; }
.modal__later:hover { color: var(--teal); }
body.no-scroll { overflow: hidden; }

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

/* ---------- Спасибо / политика ---------- */
.page-thanks { background: var(--teal); padding-bottom: 0 !important; }
.thanks { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--teal); color: #fff; position: relative; overflow: hidden; }
.thanks::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(224,122,95,.35), transparent 70%); top: -180px; right: -160px; }
.thanks__in { position: relative; text-align: center; max-width: 720px; padding-top: 64px; padding-bottom: 64px; }
.thanks__ok { width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 24px; background: var(--coral); color: #fff; display: grid; place-items: center; }
.thanks__ok svg { width: 40px; height: 40px; }
.thanks .title { color: #fff; font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin-bottom: 18px; }
.thanks .title em { display: block; color: #FFB59F; }
.thanks__txt { color: rgba(255,255,255,.82); font-size: 18px; margin-bottom: 30px; }
.thanks__btns { display: flex; justify-content: center; margin-bottom: 26px; }
.thanks__back { color: rgba(255,255,255,.65); font-size: 15px; font-weight: 700; }
.thanks__back:hover { color: #FFB59F; }
.legal { padding: 60px 0 96px; }
.legal .title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; line-height: 1.15; }
.legal h2 { font-family: var(--font-title); font-weight: 600; font-size: 22px; color: var(--teal); margin: 34px 0 12px; }
.legal p, .legal li { color: #3B4847; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--coral-700); text-decoration: underline; }

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

/* ============================================================================
   Внутренние страницы (статьи)
   ============================================================================ */
.footer__h { color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.footer__grid--4 { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; }
.footer a[aria-current="page"] { color: #FFB59F; }
.nav__links a[aria-current="page"] { opacity: 1; color: var(--coral-700); }
.mobile-menu a[aria-current="page"] { color: var(--coral-700); }
.form-card__title { font-size: 26px; margin-bottom: 22px; }

/* Хлебные крошки */
.crumbs { max-width: 1200px; margin: 0 auto; padding: 18px 24px 0; font-size: 14px; font-weight: 700; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumbs a { color: var(--teal); }
.crumbs a:hover { color: var(--coral-700); text-decoration: underline; }
.crumbs__sep { margin: 0 10px; color: #C9BBA8; }
.crumbs [aria-current] { color: var(--muted); }

/* Шапка статьи */
.page-hero { padding: 36px 0 64px; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero .title { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; margin-bottom: 18px; }
.page-hero__lead { font-size: 19px; color: var(--muted); margin-bottom: 26px; max-width: 620px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__photo { margin: 0; }
.page-hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lg); }
.page-hero__photo figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.page-hero__facts li { background: var(--sand-200); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--teal); }

/* Текст статьи */
.article { max-width: 800px; margin: 0 auto; padding: 0 24px 90px; }
.article > * + * { margin-top: 18px; }
.article h2 { font-family: var(--font-title); font-weight: 600; font-size: clamp(25px, 3vw, 32px); line-height: 1.2; color: var(--teal); margin-top: 52px; }
.article h3 { font-family: var(--font-title); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--teal); margin-top: 32px; }
.article p, .article li { font-size: 17.5px; line-height: 1.7; }
.article ul, .article ol { padding-left: 24px; }
.article li + li { margin-top: 8px; }
.article ul li::marker { color: var(--coral); }
.article ol li::marker { color: var(--coral-700); font-weight: 800; }
.article a:not(.btn) { color: var(--coral-700); text-decoration: underline; text-underline-offset: 3px; }
.article a:not(.btn):hover { color: var(--teal); }
.article strong { color: var(--teal); }

.note { background: var(--sand-200); border-left: 5px solid var(--coral); border-radius: 0 20px 20px 0; padding: 20px 24px; }
.note p { font-size: 16.5px; }
.note p + p { margin-top: 8px; }
.note--teal { background: #EAF3F4; border-left-color: var(--teal); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; border: 2px solid var(--sand); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
.table th { background: var(--sand); color: var(--teal); font-weight: 800; text-align: left; padding: 14px 16px; }
.table td { padding: 14px 16px; border-top: 1px solid var(--sand); vertical-align: top; }
.table td:first-child { font-weight: 700; color: var(--teal); }
.table .num { white-space: nowrap; font-weight: 800; color: var(--teal); }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; list-style: none; }
.card-grid li { background: var(--sand-200); border-radius: 20px; padding: 18px 20px; margin: 0; }
.card-grid li b { display: block; font-family: var(--font-title); font-size: 18px; color: var(--teal); margin-bottom: 4px; }
.card-grid li span { color: var(--muted); font-size: 15.5px; }

.article-photo { margin: 34px 0 0; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.article-photo figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

.inline-cta { margin-top: 40px; background: var(--teal); color: #fff; border-radius: 26px; padding: 28px 30px; display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.inline-cta::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(224,122,95,.4), transparent 70%); right: -80px; top: -120px; pointer-events: none; }
.inline-cta__txt { position: relative; flex: 1 1 320px; }
.inline-cta__txt b { display: block; font-family: var(--font-title); font-weight: 600; font-size: 22px; line-height: 1.25; margin-bottom: 4px; }
.inline-cta__txt span { color: rgba(255,255,255,.8); font-size: 15.5px; }
.inline-cta__btns { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }

.article .faq { margin-top: 22px; }
.article .card-grid, .article .related__list { padding-left: 0; }
.article .card-grid li + li, .article .related__list li + li { margin-top: 0; }
.article .related__title { font-family: var(--font-title); font-weight: 600; font-size: 24px; color: var(--teal); }
.article .card-grid li span, .article .related__list span { font-size: 15px; line-height: 1.5; }
.article .inline-cta__txt span { font-size: 15.5px; }
.article-reviews { display: grid; gap: 14px; }
.article-reviews .review blockquote { font-size: 16.5px; }
.article .faq details > div { font-size: 16px; line-height: 1.65; }

/* Читайте также / полезные материалы */
.related { margin-top: 56px; }
.related__title { font-family: var(--font-title); font-weight: 600; font-size: 24px; color: var(--teal); margin-bottom: 16px; }
.related__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related__list li { margin: 0; }
.related__list a { display: flex; flex-direction: column; gap: 4px; height: 100%; background: #fff; border: 2px solid var(--sand); border-radius: 20px; padding: 18px 20px; transition: border-color .2s, transform .2s, box-shadow .2s; text-decoration: none !important; }
.related__list a:hover { border-color: #F2A58E; transform: translateY(-2px); box-shadow: var(--shadow); }
.related__list b { font-family: var(--font-title); font-weight: 600; font-size: 18px; color: var(--teal); }
.related__list span { color: var(--muted); font-size: 15px; }
.related__list--home { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1023px) {
  .footer__grid--4 { grid-template-columns: 1fr 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__photo { max-width: 560px; }
  .page-hero__photo img { aspect-ratio: 16 / 10; }
  .related__list--home { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .crumbs { padding: 14px 16px 0; font-size: 13px; }
  .crumbs__sep { margin: 0 7px; }
  .page-hero { padding: 22px 0 44px; }
  .page-hero__lead { font-size: 17px; }
  .page-hero__cta .btn { width: 100%; }
  .page-hero__facts li { font-size: 13px; padding: 6px 12px; }
  .article { padding: 0 16px 64px; }
  .article p, .article li { font-size: 16.5px; }
  .article h2 { margin-top: 40px; }
  .card-grid, .related__list, .related__list--home { grid-template-columns: 1fr; }
  .inline-cta { padding: 24px 20px; }
  .inline-cta__btns, .inline-cta__btns .btn { width: 100%; }
  .table { font-size: 15px; }
  .table th, .table td { padding: 12px; }
  .footer__grid--4 { grid-template-columns: 1fr; }
}

/* ============================================================================
   Адаптив
   ============================================================================ */
@media (max-width: 1300px) {
  .logo__sub { display: none; }
}
@media (max-width: 1180px) {
  .nav__links { gap: 16px; font-size: 14px; }
  .nav__full { display: none; }
  .nav__actions .btn--wa { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 1023px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }
  .hero { min-height: 0; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,53,64,.82) 0%, rgba(15,76,92,.88) 100%); }
  .facts__card { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .facts__card > div:nth-child(3) { border-left: 0; }
  .situations, .road { grid-template-columns: 1fr 1fr; }
  .family { grid-template-columns: 1fr; gap: 40px; }
  .family__photo { max-width: 560px; }
  .family__photo img { aspect-ratio: 16 / 11; }
  .family__note { right: 16px; bottom: -24px; }
  .tiers { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .tier--hot { transform: none; }
  .reviews { grid-template-columns: 1fr; gap: 36px; }
  .reviews__aside { position: static; }
  .reviews__photo { max-width: 480px; }
  .final { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 74px; }
  /* Только боковые отступы: шорткат padding обнулял вертикальные отступы у .nav__in, .band__in, .footer__grid и др. */
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .logo__name { font-size: 18px; }
  .hero__in { padding-top: 56px; padding-bottom: 110px; }
  .hero__lead { font-size: 17px; }
  .hero__chips li { font-size: 13px; padding: 6px 12px; }
  .hero__cta .btn { width: 100%; }
  .facts { margin-top: -60px; }
  .facts__card { padding: 22px 18px; gap: 4px; }
  .facts__card > div { padding: 4px 8px; }
  .facts__num { font-size: 23px; }
  .facts__lbl { font-size: 13px; }
  .situations, .road, .honest, .members { grid-template-columns: 1fr; }
  .situations { gap: 12px; }
  /* Компактные карточки: иконка слева от заголовка — экран ситуаций в 2 раза короче */
  .situation { padding: 18px 18px 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; }
  .situation__ico { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 0; }
  .situation__ico svg { width: 22px; height: 22px; }
  .situation h3 { font-size: 19px; margin-bottom: 0; }
  .situation p { grid-column: 1 / -1; margin-top: 10px; }
  .tiers { grid-template-columns: 1fr 1fr; gap: 12px; row-gap: 22px; }
  .tier { padding: 22px 12px 18px; }
  .tier__sum { font-size: 26px; }
  .tier__who, .tier__per { font-size: 13px; }
  .road { gap: 30px; }
  .quiz { padding: 26px 18px; border-radius: 24px; }
  .quiz__top { flex-direction: column; align-items: stretch; gap: 10px; }
  .quiz__bar { flex: none; }
  .opts--grid { grid-template-columns: 1fr 1fr; }
  .opt > span { padding: 13px 12px; font-size: 15px; }
  .opt > span b { min-width: 34px; height: 34px; font-size: 16px; }
  .quiz__step legend, .quiz__ask { font-size: 22px; }
  .quiz__price { font-size: 36px; }
  .fields { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .pay__line { grid-template-columns: 1fr; gap: 24px; }
  .pay__line li { display: grid; grid-template-columns: 74px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .pay__line li::before { display: none; }
  .pay__pct { grid-row: span 2; margin: 0; }
  .pay__line p:last-child { grid-column: 2; }
  .band { min-height: 340px; }
  .review { padding: 22px 20px; }
  .reviews__photo img { aspect-ratio: 16 / 9; }
  .form-card { padding: 26px 18px; border-radius: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .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); box-shadow: 0 -8px 24px -12px rgba(10,53,64,.35);
  }
  .mobile-bar__btn { flex: 1; border: 0; border-radius: 14px; padding: 13px 6px; font-weight: 800; font-size: 14px; text-align: center; color: #fff; }
  .mobile-bar__btn--call { flex: 0 0 48px; display: grid; place-items: center; background: var(--teal); padding: 0; }
  .mobile-bar__btn--call svg { width: 20px; height: 20px; }
  .mobile-bar__btn--wa { background: var(--wa); }
  .mobile-bar__btn--coral { background: var(--coral); }
  .cookie { left: 12px; right: 12px; bottom: 82px; 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: 24px; }
  .modal__head { padding: 18px 66px 16px 20px; }
  .modal__head .title { font-size: 22px; margin-bottom: 4px; }
  .modal__head p { font-size: 14px; }
  .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: 48px; }
  .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; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
