:root {
  --ink: #0f0824;
  --ink-2: #1c0f42;
  --ink-3: #2a1763;
  --vio: #6d3bff;
  --vio-2: #9a4dff;
  --mag: #c63fd9;
  --teal: #25c6d8;
  --bg: #f5f2fb;
  --bg-2: #ece6f8;
  --card: #ffffff;
  --text: #1c1433;
  --muted: #655d80;
  --line: #e4dcf4;
  --on-dark: #f3eeff;
  --on-dark-muted: #b9aede;
  --grad: linear-gradient(120deg, #6d3bff 0%, #b445e6 60%, #25c6d8 130%);
  --radius: 22px;
  --shadow: 0 18px 50px -22px rgba(60, 28, 140, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
body.is-locked { overflow: hidden; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border-radius: 100px; font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(124, 58, 255, .75); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(124, 58, 255, .85); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink-3); background: #fff; }
.btn--ghost:hover { border-color: var(--vio); color: var(--vio); }
.btn--light { background: #fff; color: var(--ink-2); }
.btn--light:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(15, 8, 36, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(190, 160, 255, .14); color: var(--on-dark); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 42px; height: 42px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.logo__mark svg { width: 24px; height: 24px; }
.logo b { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: .01em; }
.logo small { display: block; font-size: 12px; color: var(--on-dark-muted); letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--on-dark-muted); white-space: nowrap; transition: color .2s; }
.nav a:hover { color: #fff; }
.header__phone { font-weight: 800; font-size: 17px; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(190, 160, 255, .25); position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.burger span { top: 20px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }

/* Тёмные блоки с размытым градиентом */
.dark { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); isolation: isolate; }
.blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: drift 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -12%; top: -20%; background: #3a55d9; }
.blobs i:nth-child(2) { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: 14%; bottom: -30%; background: #b02fd0; animation-delay: -6s; }
.blobs i:nth-child(3) { width: 22vw; height: 22vw; max-width: 320px; max-height: 320px; left: 30%; bottom: -18%; background: #1fb8c9; animation-delay: -11s; }
.blobs i:nth-child(4) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -14%; top: -10%; background: #4b2496; opacity: .6; animation-delay: -3s; }
@keyframes drift { to { transform: translate3d(4%, 6%, 0) scale(1.08); } }

/* Hero */
.hero { padding: 72px 0 84px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--vio); margin-bottom: 14px; }
.dark .eyebrow { color: #c9b6ff; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 span { display: block; font-weight: 300; letter-spacing: .08em; }
.hero__rule { width: 220px; height: 2px; background: #fff; margin: 28px 0 20px; opacity: .9; }
.hero__lead { font-size: 18px; color: var(--on-dark-muted); max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(200, 175, 255, .22); }
.hero__side { display: grid; gap: 20px; }
.hero__photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(200, 175, 255, .25); box-shadow: 0 30px 70px -30px #000; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; background: rgba(15, 8, 36, .72); backdrop-filter: blur(8px); }

/* Формы */
.form { display: grid; gap: 12px; }
.form--card { padding: 26px; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow); }
.form--card h3 { font-size: 22px; line-height: 1.25; }
.form--card > p { font-size: 15px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font: inherit; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus { border-color: var(--vio); box-shadow: 0 0 0 4px rgba(109, 59, 255, .14); background: #fff; }
.field.is-error { border-color: #e2466b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--vio); flex: none; }
.consent a { text-decoration: underline; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }
.form__msg { font-size: 14px; font-weight: 600; color: #c22a52; }

/* Бегущая строка */
.ticker { background: var(--ink-2); color: var(--on-dark); overflow: hidden; border-block: 1px solid rgba(190, 160, 255, .14); }
.ticker__track { display: flex; gap: 44px; width: max-content; padding: 14px 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; animation: ticker 38s linear infinite; }
.ticker__track span::before { content: "✦"; margin-right: 44px; color: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Секции */
.section { padding: 92px 0; }
.section--white { background: #fff; }
.section--soft { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .accent { background: linear-gradient(120deg, #c9b6ff, #6fe3f0); -webkit-background-clip: text; background-clip: text; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.dark .section-lead { color: var(--on-dark-muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section--white .card { background: var(--bg); box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.cta-row--center { justify-content: center; }
.cta-row small { color: var(--muted); font-size: 14px; }
.dark .cta-row small { color: var(--on-dark-muted); }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad) center / cover; }
.checks li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Кому помощь */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who .card { display: grid; gap: 14px; align-content: start; }
.who img { width: 72px; height: 72px; }
.who h3 { font-size: 26px; }
.who p { color: var(--muted); }
.who .btn { justify-self: start; margin-top: 8px; }

/* Бесплатно */
.free { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.free__zero { position: sticky; top: 100px; border-radius: var(--radius); padding: 34px 28px; }
.free__zero b { display: block; font-size: 88px; line-height: 1; font-weight: 800; background: linear-gradient(120deg, #fff, #9be9f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.free__zero strong { display: block; margin: 10px 0 14px; font-size: 19px; }
.free__zero p { font-size: 15px; color: var(--on-dark-muted); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.feature img { width: 52px; height: 52px; flex: none; }
.feature b { display: block; font-size: 17px; line-height: 1.3; }
.feature span { font-size: 15px; color: var(--muted); }

/* До и после */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp { position: relative; aspect-ratio: 480 / 560; overflow: hidden; background: var(--ink); cursor: pointer; }
.cmp__before, .cmp__after { position: absolute; inset: 0; background-image: var(--img); background-size: 200% auto; background-repeat: no-repeat; background-size: 200% 100%; transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.cmp__before { background-position: 0 50%; filter: saturate(.8); }
.cmp__after { background-position: 100% 50%; opacity: 0; transform: scale(1.06); }
.cmp.is-after .cmp__after { opacity: 1; transform: none; }
.cmp.is-after .cmp__before { opacity: 0; }
.cmp__switch { position: absolute; left: 50%; bottom: 14px; z-index: 2; display: flex; padding: 4px; border-radius: 100px; transform: translateX(-50%); background: rgba(15, 8, 36, .7); backdrop-filter: blur(8px); }
.cmp__switch button { min-width: 78px; padding: 7px 14px; border-radius: 100px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.cmp__switch button.is-on { background: var(--grad); color: #fff; }
.res-card__body { padding: 20px 22px 24px; }
.res-card__body b { font-size: 19px; }
.res-card__body p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.tags { display: flex; gap: 8px; margin-bottom: 10px; }
.tags span { padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--vio); background: #efe8ff; }
.hint { margin: -20px 0 28px; text-align: center; font-size: 14px; color: var(--muted); }

/* Визит */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split__photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__photo figcaption { position: absolute; inset: auto 0 0; padding: 60px 22px 18px; color: #fff; font-size: 15px; background: linear-gradient(transparent, rgba(15, 8, 36, .85)); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.mini li { display: flex; gap: 12px; align-items: flex-start; }
.mini img { width: 44px; height: 44px; flex: none; }
.mini b { display: block; line-height: 1.3; }
.mini span { font-size: 14px; color: var(--muted); }

/* Дорога */
.road { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.road .checks { margin: 26px 0 30px; }
.route { display: grid; gap: 14px; }
.route li { display: grid; gap: 2px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(200, 175, 255, .2); backdrop-filter: blur(6px); }
.route small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fe4ee; }
.route b { font-size: 18px; }
.route span { font-size: 15px; color: var(--on-dark-muted); }

/* Отказ */
.refuse { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.refuse .checks { margin: 22px 0 28px; }
.refuse__side { border-radius: var(--radius); padding: 34px; display: grid; align-content: center; gap: 14px; }
.refuse__side h3 { font-size: 24px; line-height: 1.25; }
.refuse__side p { color: var(--on-dark-muted); }
.refuse__side .btn { justify-self: start; margin-top: 8px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; font-weight: 800; font-size: 19px; color: #fff; background: var(--grad); }
.steps b { display: block; line-height: 1.3; margin-bottom: 6px; }
.steps span { font-size: 15px; color: var(--muted); }

/* Направления */
.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dir { display: grid; gap: 10px; align-content: start; }
.dir small { font-size: 14px; font-weight: 800; color: var(--vio); letter-spacing: .1em; }
.dir h3 { font-size: 22px; }
.dir p { font-size: 15px; color: var(--muted); }
.dir button { justify-self: start; margin-top: 6px; font-weight: 700; color: var(--vio); }
.dir button:hover { text-decoration: underline; }
.dirs--3 { grid-template-columns: repeat(3, 1fr); }
.dir a { justify-self: start; margin-top: 6px; font-weight: 700; color: var(--vio); }
.dir a:hover { text-decoration: underline; }

/* Квиз */
.quiz { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; }
.quiz__aside { border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 14px; align-content: start; }
.quiz__aside img { width: 72px; height: 72px; }
.quiz__aside h3 { font-size: 23px; line-height: 1.25; }
.quiz__aside p { font-size: 15px; color: var(--on-dark-muted); }
.quiz__aside .checks { margin-top: 6px; font-size: 15px; }
.quiz__body { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 20px; align-content: start; }
.quiz__top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--muted); }
.quiz__bar { height: 8px; border-radius: 8px; background: var(--bg-2); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--grad); transition: width .5s var(--ease); }
.quiz__step { display: none; gap: 18px; border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__step.is-active { display: grid; animation: fade .45s var(--ease); }
.quiz__step legend { padding: 0; margin-bottom: 18px; font-size: 25px; font-weight: 800; line-height: 1.2; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; min-height: 58px; padding: 12px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: 16px; line-height: 1.3; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.opt span:hover { border-color: var(--vio); transform: translateY(-1px); }
.opt input:checked + span { border-color: var(--vio); background: #efe8ff; color: var(--ink-3); }
.opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(109, 59, 255, .2); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz__back { font-weight: 700; color: var(--muted); }
.quiz__back[hidden] { display: none; }
.quiz__hint { font-size: 14px; color: var(--muted); }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 44px 16px 14px; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(transparent, rgba(15, 8, 36, .85)); }
.gallery figcaption small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #bfeef4; }
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(10, 5, 26, .92); cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 14px; }

/* О нас */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.about__text { display: grid; gap: 16px; }
.about__text p { color: var(--muted); }
.about__text blockquote { margin: 8px 0 0; padding: 20px 24px; border-left: 4px solid var(--vio); border-radius: 0 16px 16px 0; background: var(--bg); font-size: 19px; font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats li { padding: 24px 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.stats b { display: block; font-size: 38px; line-height: 1.1; font-weight: 800; }
.stats span { font-size: 14px; color: var(--muted); }

/* Принципы */
.values-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.values-art { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(60, 28, 140, .28)); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.values .card { display: grid; gap: 8px; align-content: start; }
.values img { width: 56px; height: 56px; margin-bottom: 6px; }
.values b { font-size: 19px; }
.values span { font-size: 15px; color: var(--muted); }

/* Ситуации */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(200, 175, 255, .2); backdrop-filter: blur(6px); display: grid; gap: 14px; align-content: start; }
.case small { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8fe4ee; }
.case q { display: block; font-size: 18px; font-weight: 600; line-height: 1.45; quotes: none; }
.case .checks { font-size: 15px; color: var(--on-dark-muted); padding-top: 14px; border-top: 1px solid rgba(200, 175, 255, .2); }
.footnote { margin-top: 22px; font-size: 14px; color: var(--on-dark-muted); text-align: center; }

/* Сомнения */
.doubts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doubt { padding: 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.doubt b { display: block; font-size: 19px; margin-bottom: 8px; }
.doubt p { font-size: 15px; color: var(--muted); }
.doubt p::before { content: "На деле: "; font-weight: 800; color: var(--vio); }

/* FAQ */
.faq { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.faq summary { display: flex; gap: 16px; align-items: center; padding: 20px 24px; font-weight: 700; font-size: 18px; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 26px; font-weight: 400; color: var(--vio); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Финальная заявка */
.final { display: grid; grid-template-columns: 1fr 440px; gap: 52px; align-items: center; }
.final .checks { margin-top: 26px; }
.contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.msg { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 100px; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(200, 175, 255, .22); transition: background .2s; }
.msg:hover { background: rgba(255, 255, 255, .17); }
.msg img { width: 32px; height: 32px; border-radius: 9px; }

/* Подвал */
.footer { background: #0a0519; color: var(--on-dark-muted); padding: 56px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer__phone { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(190, 160, 255, .14); font-size: 13px; }
.footer__bottom a { text-decoration: underline; }
.footer__disc { margin-top: 14px; font-size: 13px; opacity: .8; }

/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; background: rgba(10, 5, 26, .72); backdrop-filter: blur(6px); overflow-y: auto; }
.modal.is-open { display: grid; }
.modal__box { position: relative; width: min(460px, 100%); border-radius: 26px; overflow: hidden; background: #fff; animation: fade .4s var(--ease); }
.modal__head { padding: 30px 30px 26px; }
.modal__head h3 { font-size: 25px; line-height: 1.2; }
.modal__head p { margin-top: 8px; font-size: 15px; color: var(--on-dark-muted); }
.modal__box .form { padding: 26px 30px 30px; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .14); }
.modal__thanks { padding: 44px 30px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.modal__thanks img { width: 84px; height: 84px; }
.modal__thanks h3 { font-size: 25px; }
.modal__thanks p { color: var(--muted); }

/* Появление */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Страница «Спасибо» */
.thanks { min-height: calc(100vh - 75px); display: grid; align-items: center; padding: 60px 0; }
.thanks__inner { max-width: 720px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.thanks h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; font-weight: 800; }
.thanks p { font-size: 18px; color: var(--on-dark-muted); }
.thanks .contacts { justify-content: center; margin: 10px 0 14px; }

/* Страница политики */
.doc { padding: 60px 0 80px; }
.doc .container { max-width: 860px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }

@media (max-width: 1240px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: var(--ink); border-bottom: 1px solid rgba(190, 160, 255, .14); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(190, 160, 255, .1); }
  .header__phone { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: var(--ink); border-bottom: 1px solid rgba(190, 160, 255, .14); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(190, 160, 255, .1); }
  .header__phone { margin-left: auto; }
  .burger { display: block; }
  .hero__grid, .split, .road, .refuse, .about, .final { grid-template-columns: 1fr; gap: 36px; }
  .free, .quiz, .faq, .values-wrap { grid-template-columns: 1fr; }
  .free__zero { position: relative; top: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dirs, .dirs--3, .values { grid-template-columns: repeat(2, 1fr); }
  .results, .doubts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .header__inner { gap: 12px; min-height: 64px; }
  .header .btn, .logo small { display: none; }
  .header__phone { font-size: 14px; }
  .logo { flex: 0 1 auto; min-width: 0; gap: 8px; }
  .logo b { font-size: 13px; line-height: 1.1; }
  .logo__mark { width: 36px; height: 36px; flex: none; }
  .burger { flex: none; width: 40px; height: 40px; }
  .burger span { left: 9px; top: 18px; }
  .who, .features, .results, .doubts, .cases, .dirs, .dirs--3, .values, .steps, .opts, .mini, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 170px; }
  .gallery figure:nth-child(1) { grid-row: span 1; }
  .card, .quiz__body, .case { padding: 22px; }
  .quiz__step legend { font-size: 21px; }
  .free__zero b { font-size: 68px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
