/* Лендинг «Имплантация» для elbrus-stom.ru — цвета и шрифт взяты с основного сайта */
@font-face { font-family: "Elbrus Raleway"; src: url("fonts/raleway-cyrillic-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Elbrus Raleway"; src: url("fonts/raleway-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215; }

:root {
  --navy: #0a2038;
  --navy-2: #0c2946;
  --navy-3: #17364e;
  --ink: #142b39;
  --muted: #52616e;
  --blue: #33a3ff;
  --blue-2: #168ee8;
  --blue-3: #147ac4;
  --sky: #eef6fb;
  --sky-2: #e3eff6;
  --line: #d7e5ee;
  --sand: #a0937f;
  --white: #fff;
  --r: 20px;
  --font: "Elbrus Raleway", "Segoe UI", Arial, 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); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--white); font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--blue), var(--blue-2)); color: #fff; font-weight: 650; font-size: 16px; cursor: pointer; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(22, 142, 232, .7); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(22, 142, 232, .8); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 16px 34px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--navy-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--light { background: #fff; color: var(--navy-2); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5); }

/* ---------- хедер ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-solid { background: rgba(10, 32, 56, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.header__in { display: flex; align-items: center; gap: 28px; height: 84px; }
.nav { display: flex; gap: 30px; margin-right: auto; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: #fff; }
.header__phone { color: #fff; text-decoration: none; font-weight: 650; font-size: 17px; white-space: nowrap; }
.logo { flex: none; display: block; line-height: 0; }
.logo img { width: auto; max-width: none; height: 50px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .25s, top .25s, opacity .2s; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 600px at 78% 30%, #1d4a6d 0%, transparent 60%), linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 55%, #061624 100%); padding: 140px 0 90px; }
.hero__bg { position: absolute; inset: auto 0 0; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 220V150l180-70 120 40 210-110 140 80 150-60 230 120 160-70 250 90v70z' fill='%23ffffff' fill-opacity='.035'/%3E%3Cpath d='M0 220v-40l240-60 160 50 260-90 200 90 220-50 360 80v20z' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 22px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 500; }
.hero h1 { font-size: clamp(38px, 4.9vw, 66px); line-height: 1.06; font-weight: 440; letter-spacing: -.015em; }
.hero h1 span { color: #8fcfff; }
.hero__lead { margin-top: 20px; font-size: clamp(18px, 1.6vw, 22px); color: rgba(255, 255, 255, .78); max-width: 30ch; }
.perks { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 38px; padding: 0; list-style: none; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-weight: 700; font-size: 18px; line-height: 1.2; }
.perks small { display: block; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .65); }
.perks__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(51, 163, 255, .18); }
.perks__ic svg { width: 22px; height: 22px; fill: none; stroke: #8fcfff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__media { position: relative; }
.hero__photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform-style: preserve-3d; transition: transform .25s ease-out; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .25s ease-out; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6, 22, 36, .35)); }
.hero__badge { position: absolute; z-index: 2; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--muted); font-size: 13px; line-height: 1.3; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); max-width: 180px; transition: transform .3s ease-out; }
.hero__badge b { display: block; color: var(--navy-2); font-size: 24px; font-weight: 750; }
.hero__badge--a { left: -34px; bottom: 70px; }
.hero__badge--b { right: -18px; top: 46px; }

/* ---------- секции ---------- */
.sec { padding: 110px 0; }
.sec__title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -.01em; color: var(--navy-2); }
.sec__sub { margin-top: 16px; max-width: 62ch; color: var(--muted); font-size: 18px; }

/* почему мы */
.why { background: var(--sky); }
.why .sec__title { text-align: center; }
.why__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 54px 0 0; padding: 0; list-style: none; }
.why__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 34px 20px 30px; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(12, 41, 70, .5); transition: transform .3s; }
.why__item:hover { transform: translateY(-4px); }
.why__ic { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-3) 100%); box-shadow: 0 14px 28px -14px rgba(22, 142, 232, .9); }
.why__ic svg { width: 42px; height: 42px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.why__ic b { position: absolute; bottom: -10px; padding: 2px 9px; border-radius: 999px; background: var(--navy-2); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.why__item p { font-size: 16px; line-height: 1.4; color: var(--ink); }
.why__item strong { display: block; font-size: 26px; font-weight: 700; color: var(--navy-2); }

/* ---------- квиз ---------- */
.quiz-sec { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.quiz { display: grid; grid-template-columns: 1fr 340px; margin-top: 44px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(12, 41, 70, .55); overflow: hidden; }
.quiz__main { display: flex; flex-direction: column; min-height: 520px; padding: 40px 44px; }
.quiz__top { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.quiz__step { flex: none; font-size: 14px; font-weight: 650; color: var(--blue-3); }
.quiz__bar { flex: 1; height: 6px; border-radius: 9px; background: var(--sky-2); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transition: width .45s ease; }
.quiz__q { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz__q.is-active { display: block; animation: qin .4s ease; }
@keyframes qin { from { opacity: 0; transform: translateX(14px); } }
.quiz__q legend, .quiz .legend { display: block; padding: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.2; color: var(--navy-2); }
.quiz__hint { margin-top: 10px; color: var(--muted); font-size: 15px; }
.opts { margin-top: 26px; }
.opts--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.opts--list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.opts--list .opt { flex-direction: row; align-items: center; padding: 16px 18px 16px 52px; }
.opt:hover { border-color: #9dcee9; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__pic { display: grid; place-items: center; aspect-ratio: 2 / 1; border-radius: 12px; background: var(--sky); }
.opt__pic svg { width: 76%; }
.opt__pic .t { fill: #fff; stroke: #7fa6c2; stroke-width: 1.3; }
.opt__pic .g { fill: none; stroke: #b5cddd; stroke-width: 1.1; stroke-dasharray: 2.2 2; }
.opt__pic .a { fill: none; stroke: var(--blue-2); stroke-width: 6; stroke-linecap: round; }
.opt__pic .b { fill: none; stroke: #c5d9e5; stroke-width: 6; stroke-linecap: round; }
.opt__txt { font-weight: 600; font-size: 16px; line-height: 1.3; padding-left: 32px; position: relative; }
.opts--list .opt__txt { padding-left: 0; position: static; }
.opt__txt::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1.5px solid #9dbbd0; background: #fff center / 14px no-repeat; transition: background-color .2s, border-color .2s; }
.opts--list .opt__txt::before { left: 18px; border-radius: 7px; }
.opt:has(input:checked) .opt__pic .t { stroke: var(--blue-2); }
.opt:has(input:checked) { border-color: var(--blue-2); background: #f5fbff; box-shadow: 0 0 0 3px rgba(51, 163, 255, .15); }
.opt:has(input:checked) .opt__txt::before { border-color: var(--blue-2); background-color: var(--blue-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.opt:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 30px; }
.quiz__nav [data-next] { margin-left: auto; min-width: 160px; }
.quiz__form .fields { margin-top: 26px; }
.quiz__form .btn { margin-top: 20px; }
.quiz__done { text-align: center; padding-top: 40px; }
.done__ic { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px; border-radius: 50%; background: var(--blue-2); }
.done__ic svg { width: 38px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.quiz__side { display: flex; flex-direction: column; gap: 26px; padding: 40px 34px; color: #fff; background: radial-gradient(400px 300px at 100% 0, #1d4a6d, transparent 70%), var(--navy-2); }
.quiz__side-title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ticks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 34px; color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.quiz__doc { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .07); }
.quiz__doc img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.quiz__doc p { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.quiz__doc b { display: block; color: #fff; font-size: 16px; }

/* поля форм */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inp { width: 100%; min-height: 58px; padding: 14px 20px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.inp:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 163, 255, .15); }
.inp.is-bad { border-color: #e2554f; }
.agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.agree input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue-2); }
.agree a { color: var(--blue-3); }
.form__ok { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: #e6f6ec; color: #1e6b3d; font-weight: 600; }
.form__err { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: #fdecec; color: #a12d28; font-weight: 600; }

/* ---------- этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 50px 0 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(12, 41, 70, .55); }
.step__img { position: relative; aspect-ratio: 4 / 3; margin-bottom: 12px; border-radius: 16px; overflow: hidden; background: var(--sky); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.step:hover .step__img img { transform: scale(1.04); }
.step__n { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-2); color: #fff; font-weight: 750; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.step h3, .step p { padding-inline: 6px; }
.step h3 { font-size: 21px; font-weight: 650; line-height: 1.25; color: var(--navy-2); }
.step p { color: var(--muted); font-size: 16px; }
.invite { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 40px; padding: 40px 48px; border-radius: 28px; color: #fff; background: radial-gradient(600px 300px at 90% 0, #2a6b9c, transparent 70%), linear-gradient(120deg, var(--navy-2), var(--navy-3)); }
.invite__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; margin-bottom: 8px; }
.invite p:not(.invite__title) { color: rgba(255, 255, 255, .78); max-width: 52ch; }
.invite .btn { flex: none; }

/* ---------- команда ---------- */
.team-sec { background: var(--sky); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.doc { display: grid; grid-template-columns: 260px 1fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -45px rgba(12, 41, 70, .55); }
.doc__img { background: #c9d3db; }
.doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.doc__body { display: flex; flex-direction: column; gap: 12px; padding: 34px 32px; }
.doc h3 { font-size: 24px; font-weight: 650; line-height: 1.2; color: var(--navy-2); }
.doc__role { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--blue-3); font-weight: 600; font-size: 14px; }
.doc p:not(.doc__role) { color: var(--muted); font-size: 16px; }

/* ---------- до/после ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.case { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.case__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.case__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__before { filter: blur(18px); transform: scale(1.1); opacity: 0; transition: opacity .4s, filter .4s; }
.case.is-open .case__before { opacity: 1; filter: none; transform: none; }
.case__tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px; background: var(--blue-2); color: #fff; font-size: 13px; font-weight: 650; }
.case.is-open .case__tag { background: var(--navy-2); }
.case__toggle { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy-2); font-weight: 650; font-size: 14px; cursor: pointer; white-space: nowrap; }
.case figcaption { padding: 16px 20px; color: var(--muted); font-size: 15px; }
.case--empty .case__img img, .case--empty .case__toggle { display: none; }
.case--empty .case__img { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--sky) 0 14px, #f6fafd 14px 28px); }
.case--empty .case__img::after { content: "Фото будет добавлено"; color: #8aa3b5; font-weight: 600; font-size: 15px; }
.case--empty .case__tag { display: none; }
.note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--sky); }
.faq-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 0; list-style: none; cursor: pointer; font-size: 20px; font-weight: 650; line-height: 1.35; color: var(--navy-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168ee8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 56px 26px 0; color: var(--muted); max-width: 72ch; }

/* ---------- футер ---------- */
.footer { color: #fff; background: radial-gradient(800px 400px at 0 0, #1d4a6d, transparent 60%), var(--navy); padding: 100px 0 0; }
.footer__in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.footer__title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; line-height: 1.1; }
.contacts { display: grid; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; font-size: 20px; }
.contacts span { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .08em; }
.contacts a { text-decoration: none; }
.footer .inp { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.footer .inp::placeholder { color: rgba(255, 255, 255, .55); }
.footer .form .btn { margin-top: 14px; }
.footer .agree { color: rgba(255, 255, 255, .6); }
.footer .agree a { color: #8fcfff; }
.footer__map { min-height: 420px; border-radius: 28px; overflow: hidden; background: var(--navy-3); }
.footer__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.footer__bottom { display: flex; align-items: center; gap: 24px; margin-top: 70px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: 13px; }
.footer__bottom img { width: 70px; height: auto; }
.footer__bottom a { margin-left: auto; white-space: nowrap; }

/* ---------- попап ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(6, 22, 36, .6); backdrop-filter: blur(6px); animation: fade .25s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal__card { position: relative; width: min(460px, 100%); padding: 40px 34px 32px; border-radius: 28px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); animation: qin .3s ease; }
.modal__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sky); color: var(--navy-2); font-size: 24px; line-height: 1; cursor: pointer; }
.modal__title { font-size: 28px; font-weight: 600; color: var(--navy-2); line-height: 1.15; padding-right: 30px; }
.modal__sub { margin: 10px 0 22px; color: var(--muted); }
.modal .form { display: grid; gap: 12px; }
.modal .agree { margin-top: 4px; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .header__phone { display: none; }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .doc { grid-template-columns: 200px 1fr; }
}
@media (max-width: 980px) {
  .header__in { height: 70px; gap: 14px; }
  .header .btn--sm { display: none; }
  .burger { display: block; order: 3; }
  .logo { margin-left: auto; }
  .nav { position: fixed; inset: 70px 0 auto; flex-direction: column; gap: 0; padding: 10px 20px 24px; background: rgba(10, 32, 56, .97); transform: translateY(-120%); transition: transform .3s; margin: 0; }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 18px; }
  .header { background: rgba(10, 32, 56, .92); }
  .hero { padding: 110px 0 70px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__badge--a { left: -8px; }
  .hero__badge--b { right: -8px; }
  .quiz { grid-template-columns: 1fr; }
  .quiz__side { order: -1; padding: 26px 24px; }
  .quiz__doc { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .footer__in { grid-template-columns: 1fr; }
  .invite { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 72px 0; }
  .logo img { height: 40px; }
  .perks { gap: 8px; }
  .perks li { flex: 1 1 100%; }
  .hero .btn--lg { width: 100%; }
  .hero__badge { padding: 10px 12px; max-width: 140px; }
  .hero__badge b { font-size: 19px; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why__item { padding: 24px 12px; }
  .why__item:last-child { grid-column: 1 / -1; }
  .quiz__main { padding: 26px 20px; min-height: 0; }
  .opts--cards { grid-template-columns: 1fr; gap: 10px; }
  .opts--cards .opt { flex-direction: row; align-items: center; padding: 12px; }
  .opts--cards .opt__pic { width: 96px; flex: none; }
  .opts--list { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .quiz__nav .btn { flex: 1; }
  .steps, .cases { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
  .doc__img { aspect-ratio: 4 / 3.4; }
  .invite { padding: 30px 24px; }
  .invite .btn { width: 100%; }
  .faq summary { font-size: 18px; }
  .faq details p { padding-right: 0; }
  .footer { padding-top: 70px; }
  .footer .form .btn { width: 100%; }
  .footer__bottom { flex-wrap: wrap; gap: 12px; }
  .footer__bottom a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
