:root {
  --bg: #f7f9fc;
  --panel: #fff;
  --line: #dce5f4;
  --ink: #0b1530;
  --dim: #41516f;
  --primary: #1458e8;
  --soft: #eef4ff;
  --shadow: 0 18px 50px rgba(35,76,145,.08);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(21,88,232,.35); outline-offset: 4px; }
.container, .wrap { width: min(1424px, calc(100% - 112px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid #eef2f8; backdrop-filter: blur(14px); }
.header-inner { height: 100px; display: flex; align-items: center; gap: 36px; }
.brand { display: block; position: relative; overflow: hidden; width: 145px; height: 94px; flex: none; }
.brand img { position: absolute; width: 145px; height: 145px; top: -29px; left: 0; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-nav a:hover { color: var(--primary); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.header-phone { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 24px; height: 24px; }
.header-phone strong, .header-phone small { display: block; }
.header-phone small { font-size: 12px; color: var(--dim); }
.btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 58px; padding: 15px 24px; border: 1px solid var(--primary); border-radius: 8px; background: linear-gradient(135deg,#1b60eb,#1652db); box-shadow: 0 10px 24px rgba(25,86,226,.18); color: #fff; font-weight: 650; font-size: 16px; text-decoration: none; line-height: 1.4; transition: background .2s, box-shadow .2s; }
.btn:hover { background: #0d4bd3; }
.btn:disabled { opacity: .55; cursor: default; }
.header-cta { width: auto; min-height: 48px; padding: 0 19px; font-size: 14px; white-space: nowrap; }
.mobile-label { display: none; }
.guide-main { min-height: 650px; padding: 64px 0 80px; background: radial-gradient(ellipse at 90% 20%,rgba(157,197,255,.26),transparent 55%),linear-gradient(111deg,#fff,#f2f7ff); }
.section-label { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #edf3ff; color: #0d55d9; font-size: 13px; font-weight: 650; line-height: 1.5; margin-bottom: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); min-width: 0; }
.card + .card { margin-top: 24px; }
h1, h2, .q, .verdict .t { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0 0 26px; font-size: clamp(40px,4.2vw,64px); font-weight: 760; }
h2 { margin: 0 0 20px; font-size: 34px; }
p { margin: 0 0 20px; }
.lead { color: var(--dim); font-size: 18px; line-height: 1.7; }
.small { font-size: 14px; color: #5b6e90; margin: 18px 0 0; line-height: 1.6; }
.hide { display: none !important; }
#intro { display: grid; grid-template-columns: 1.18fr 1fr; gap: 64px; align-items: center; min-height: 530px; }
#intro.hide { display: none; }
#intro > .card { padding: 0; border: 0; background: none; box-shadow: none; }
#intro h1 { max-width: 800px; }
.hero-accent { color: #1a5ce3; }
#intro .lead { max-width: 670px; }
#start { width: auto; min-width: 270px; margin-top: 10px; }
.intro-summary { padding: 38px; background: #fff; border: 1px solid #e0e8f3; border-radius: 22px; box-shadow: 0 28px 70px rgba(41,81,151,.11); }
.intro-summary h2 { font-size: 27px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.summary-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 22px; }
.summary-list li { display: flex; align-items: center; gap: 16px; color: var(--dim); }
.summary-list b { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--soft); font-size: 17px; }
.summary-note { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #f8faff; color: var(--dim); margin: 0; font-size: 14px; }
#quiz { max-width: 1100px; margin-inline: auto; }
.bar { height: 10px; background: #e8eef9; border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.bar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: inherit; transition: width .35s; }
.qn { display: block; color: var(--primary); font-size: 14px; font-weight: 650; margin-bottom: 12px; }
.q { font-size: clamp(26px,2.5vw,36px); font-weight: 700; margin: 0 0 30px; line-height: 1.25; }
#opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { display: block; position: relative; width: 100%; min-height: 92px; padding: 22px 22px 22px 56px; border: 1px solid var(--line); border-radius: 14px; text-align: left; color: var(--ink); background: #fff; font: inherit; transition: border-color .2s, background .2s; }
.opt::before { content: ""; position: absolute; top: 27px; left: 22px; width: 18px; height: 18px; border: 1.5px solid #b9cbed; border-radius: 50%; }
.opt:hover, .opt:focus-visible { background: var(--soft); border-color: var(--primary); }
.opt:hover::before { border-color: var(--primary); }
.opt b { display: block; font-weight: 600; }
.opt span { display: block; font-size: 14px; color: var(--dim); margin-top: 5px; }
.back { background: none; border: 0; color: var(--dim); font: inherit; font-size: 14px; min-height: 44px; padding: 10px 0; margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
.back:hover { color: var(--primary); }
#result { max-width: 1100px; margin-inline: auto; }
.verdict { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.tag { width: fit-content; padding: 5px 12px; background: var(--soft); border-radius: 999px; color: var(--primary); font-size: 13px; font-weight: 650; margin-bottom: 18px; }
.verdict .t { font-size: 36px; font-weight: 750; line-height: 1.2; }
#vText { color: var(--dim); font-size: 18px; }
.facts, .inc { list-style: none; padding: 0; margin: 24px 0 0; }
.facts li, .inc li { display: flex; gap: 14px; margin-bottom: 16px; }
.facts .m { width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--primary); flex: none; }
.warn { padding: 20px; background: #f1f6ff; border: 1px solid #cbdcf8; border-radius: 12px; margin-top: 24px; color: var(--dim); }
#offer { margin-top: 36px; }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 24px 0; border-block: 1px solid var(--line); margin: 28px 0; }
.price .v { font-size: 48px; font-weight: 750; letter-spacing: -1.5px; white-space: nowrap; color: var(--ink); }
.price .o { color: var(--dim); font-size: 15px; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-bottom: 34px; }
.inc li { margin: 0; color: var(--dim); }
.inc .m { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: 13px; font-weight: 700; }
#email { width: 100%; height: 70px; padding: 0 20px; background: #fff; border: 1px solid #d7e2f2; border-radius: 12px; color: var(--ink); margin-bottom: 20px; }
#email::placeholder { color: #607192; }
#email:focus { border-color: var(--primary); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #5b6e90; }
.agree input { width: 21px; height: 21px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.agree a { font-weight: 600; }
.err { color: #b42318; font-size: 14px; margin: 16px 0; }
.err:empty { margin: 12px 0; }
.btn.ghost { background: #fff; box-shadow: none; color: var(--ink); }
.btn.ghost:hover { background: var(--soft); color: var(--primary); }
.site-footer { color: #fff; background: radial-gradient(circle at 8% 18%,rgba(25,90,190,.27),transparent 31%),radial-gradient(circle at 88% 13%,rgba(23,82,176,.2),transparent 30%),#061b45; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr .7fr 1.2fr; padding: 70px 0 48px; gap: 36px; }
.footer-brand p { color: #c0cde3; font-size: 14px; max-width: 330px; }
.footer-logo { display: block; position: relative; overflow: hidden; width: 210px; height: 98px; margin-bottom: 14px; }
.footer-logo img { width: 198px; height: 198px; position: absolute; top: -38px; left: 0; object-fit: contain; }
.footer-column { min-width: 0; border-left: 1px solid rgba(205,221,248,.12); padding-left: 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-column h3 { margin: 0 0 8px; font-size: 20px; }
.footer-column a, .footer-column p { color: #cbd7ea; font-size: 15px; text-decoration: none; margin: 0; }
.footer-column a:hover, .footer-meta a:hover { color: #fff; text-decoration: underline; }
.footer-column .footer-phone { font-size: 23px; color: #fff; font-weight: 700; white-space: nowrap; }
.footer-column small { color: #bdcbe0; font-size: 13px; }
.footer-meta { padding: 30px 0 45px; border-top: 1px solid rgba(205,221,248,.28); display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 30px; font-size: 13px; color: #b9c8df; }
.footer-meta p { margin: 0; }
.footer-meta nav { display: flex; flex-direction: column; gap: 8px; }
.footer-meta a { color: inherit; text-decoration: none; }
@media (max-width: 1280px) {
  .container, .wrap { width: calc(100% - 64px); }
  .header-nav { gap: 18px; }
  .header-inner { gap: 22px; }
  .header-phone small { display: none; }
  .header-actions { gap: 16px; }
  .header-phone svg { display: none; }
  #intro { gap: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-column { border: 0; padding: 0; }
}
@media (max-width: 1050px) {
  .header-nav { display: none; }
  #intro { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
  .intro-summary { padding: 28px; }
  .footer-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container, .wrap { width: calc(100% - 32px); }
  .header-inner { height: 76px; gap: 12px; }
  .brand { width: 104px; height: 70px; }
  .brand img { width: 104px; height: 104px; top: -19px; }
  .header-phone span { display: none; }
  .header-phone svg { display: block; width: 22px; height: 22px; }
  .header-phone { min-width: 32px; min-height: 44px; justify-content: center; }
  .header-actions { gap: 8px; }
  .header-cta { min-height: 42px; padding: 0 10px; font-size: 11px; }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
  .guide-main { min-height: 0; padding: 32px 0 44px; }
  h1 { font-size: clamp(34px,8.6vw,48px); letter-spacing: -1.5px; margin-bottom: 22px; }
  h2, .verdict .t { font-size: 27px; }
  .lead, #vText { font-size: 16px; line-height: 1.65; }
  #intro { gap: 28px; min-height: 0; }
  #start { width: 100%; min-width: 0; }
  .card, .intro-summary { padding: 24px 20px; border-radius: 18px; }
  .intro-summary h2 { font-size: 23px; }
  .small { font-size: 13px; }
  #opts, .inc { grid-template-columns: 1fr; }
  .q { font-size: 25px; margin-bottom: 24px; }
  .opt { padding: 18px 16px 18px 48px; min-height: 76px; }
  .opt::before { left: 17px; top: 23px; }
  .opt span { font-size: 13px; }
  .price { gap: 8px; margin-block: 22px; }
  .price .v { font-size: 42px; }
  .price .o { width: 100%; }
  .inc { gap: 18px; font-size: 15px; }
  .agree { font-size: 13px; }
  #email { height: 60px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; padding-bottom: 30px; }
  .footer-brand, .footer-contacts { grid-column: 1 / -1; }
  .footer-logo { width: 154px; height: 78px; margin-bottom: 10px; }
  .footer-logo img { width: 154px; height: 154px; top: -28px; }
  .footer-brand p { margin-bottom: 12px; }
  .footer-column { gap: 8px; }
  .footer-column h3 { font-size: 18px; }
  .footer-column a, .footer-column p { font-size: 14px; }
  .footer-meta { grid-template-columns: 1fr; gap: 18px; padding: 26px 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

#consultation-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 36px; border: 1px solid #dce5f4; border-radius: 24px; color: #0b1530; background: white; box-shadow: 0 24px 80px #061b4533; }
#consultation-dialog::backdrop { background: #061b4577; }
body:has(#consultation-dialog[open]) { overflow: hidden; }
#consultation-dialog h2 { font-size: 28px; margin: 18px 0 12px; }
#consultation-dialog p { color: #41516f; margin: 12px 0; }
.consultation-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 30px; color: #41516f; cursor: pointer; }
#consultation-form > label:not(.consultation-consent) { display: grid; gap: 8px; margin-top: 18px; }
#consultation-form input:not([type=checkbox]) { width: 100%; min-width: 0; height: 54px; padding: 12px 16px; border: 1px solid #dce5f4; border-radius: 10px; font: inherit; }
.consultation-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-top: 20px; }
.consultation-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: #1458e8; }
#consultation-dialog a { color: #1458e8; text-decoration: underline; }
#consultation-form .btn { width: 100%; }
#consultation-dialog :focus-visible { outline: 2px solid #1458e8; outline-offset: 3px; }
@media (max-width: 480px) { #consultation-dialog { padding: 28px 20px; } #consultation-dialog h2 { font-size: 25px; } }
