/* Общие стили прототипов главной (варианты A, B, C). Палитра: тёмно-синий + один оранжевый акцент. */
:root {
  --navy: #0E2A4F;
  --navy-2: #163A6B;
  --navy-soft: #E8EEF6;
  --accent: #F26B1D;
  --accent-hover: #D95A10;
  --ink: #12233D;
  --muted: #5B6B80;
  --line: #DDE3EB;
  --bg: #FFFFFF;
  --bg-2: #F3F5F8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 42, 79, .10);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Golos Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.todo { background: #FFF3C4; color: #6B5200; padding: 0 .3em; border-radius: 4px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: 15px 26px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn .icon { width: 20px; height: 20px; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 750; font-size: .95rem; line-height: 1.2; max-width: 270px; flex: 0 0 auto; }
.brand-mark { flex: 0 0 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.brand-mark .icon { width: 22px; height: 22px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .95rem; }
.nav a:hover { background: var(--navy-soft); color: var(--navy); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-phone { text-decoration: none; color: var(--navy); font-weight: 750; white-space: nowrap; line-height: 1.2; }
.header-phone small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.header .btn { padding: 11px 18px; font-size: .92rem; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; place-items: center; }

/* Витрины сегментов */
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.seg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.seg:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.seg .seg-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.seg .seg-ico .icon { width: 28px; height: 28px; }
.seg ul { list-style: none; padding: 0; margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.seg li { padding: 3px 0 3px 18px; position: relative; }
.seg li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.seg .more { margin-top: auto; font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.seg .more .icon { width: 18px; height: 18px; }
.seg.other { background: var(--navy); color: #fff; border-color: var(--navy); }
.seg.other .seg-ico { background: rgba(255,255,255,.12); color: #fff; }
.seg.other p { color: rgba(255,255,255,.8); font-size: .95rem; }
.seg.other .more { color: #fff; }

/* Услуги плитками */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.svc .icon { width: 30px; height: 30px; color: var(--navy); margin-bottom: 14px; }
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 750; color: var(--navy); font-size: .95rem; }
.svc p { margin-bottom: 16px; }
.svc.hl { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.svc .tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }

/* Видеоаналитика */
.ai { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ai-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.ai-list li { display: flex; gap: 14px; align-items: flex-start; }
.ai-list .icon { flex: 0 0 26px; color: var(--accent); margin-top: 2px; }
.report { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; font-size: .93rem; }
.report-top { background: var(--navy); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.report-top b { font-size: 1rem; }
.report-top span { opacity: .75; font-size: .85rem; }
.report-body { padding: 8px 20px 18px; }
.report-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }
.report-row .k { color: var(--muted); }
.report-row .v { font-weight: 700; text-align: right; }
.report-row .v.warn { color: var(--accent); }
.report-foot { padding: 12px 20px; background: var(--bg-2); color: var(--muted); font-size: .82rem; }

/* Этапы */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 18px; }
.step-ill { width: 100%; height: 84px; margin: 0 0 12px; background: var(--bg-2); border-radius: 10px; padding: 6px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 10px; left: 10px; z-index: 1; width: 30px; height: 30px; font-size: .9rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step.free::before { background: var(--accent); }
.step::after { display: none; }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Цифры */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.num { padding: 28px 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.num b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.num span { color: rgba(255,255,255,.78); font-size: .95rem; }

/* Примеры работ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case-img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-2), var(--navy)); display: grid; place-items: center; }
.case-img .icon { width: 44px; height: 44px; color: rgba(255,255,255,.55); }
.case-body { padding: 22px 24px 24px; }
.case-tag { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.case-body p { color: var(--muted); font-size: .95rem; }
.case-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--ink); font-weight: 600; }

/* Гарантии и ТО */
.guar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.g .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 12px; }
.g p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Форма */
.lead { background: var(--navy); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.lead h2 { color: #fff; }
.lead p { color: rgba(255,255,255,.8); }
.lead ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lead li { display: flex; gap: 10px; align-items: center; }
.lead li .icon { color: var(--accent); width: 22px; height: 22px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .88rem; color: rgba(255,255,255,.85); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #fff; color: var(--ink); }
.form textarea { min-height: 90px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: rgba(255,255,255,.75); }
.form .agree input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; padding: 0; }
.form .agree a { color: #fff; }
.form .btn { width: 100%; }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.1); }

/* Подвал */
.footer { background: #0A1F3B; color: rgba(255,255,255,.75); padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-mark { background: var(--accent); }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Метка прототипа */
.proto-badge { position: fixed; left: 12px; bottom: 12px; z-index: 99; background: var(--ink); color: #fff; font-size: .78rem; padding: 6px 10px; border-radius: 8px; opacity: .85; }

/* Адаптив */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav a { padding: 8px 8px; font-size: .9rem; }
  .brand { max-width: 220px; font-size: .85rem; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .step:nth-child(3)::after { display: none; }
}
@media (max-width: 1024px) {
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .cases { grid-template-columns: repeat(2, 1fr); }
  .nums, .guar { grid-template-columns: repeat(2, 1fr); }
  .ai { grid-template-columns: 1fr; gap: 36px; }
  .lead { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-right .btn { display: none; }
  .burger { display: grid; }
  .nav.open { display: grid; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 12px 8px; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .brand { font-size: .82rem; max-width: 220px; }
  .brand-mark { flex-basis: 34px; height: 34px; }
  .seg-grid, .svc-grid, .cases, .guar { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; gap: 12px; }
  .num { padding: 20px 18px; }
  .num b { font-size: 2rem; }
  .steps { grid-template-columns: 1fr; row-gap: 22px; }
  .step::after { display: none; }
  .lead { padding: 28px 20px; border-radius: 16px; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}

/* Сцены видеоаналитики (показываются в варианте D) */
.scenes-wrap { display: none; margin-top: 56px; }
.scenes-title { font-size: 1.35rem; margin-bottom: 18px; }
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scene { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scene-pic { position: relative; aspect-ratio: 16/9; background: var(--navy); }
.scene-pic img, .scene-pic .ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov .fr { fill: rgba(229,72,77,.14); stroke: #E5484D; stroke-width: 4; }
.ov .tag rect { fill: #E5484D; }
.ov .tag { transform-box: fill-box; transform-origin: 0 100%; transform: scale(1.7); }
.ov .tag text { fill: #fff; font: 700 17px "Golos Text", "Segoe UI", Arial, sans-serif; }
.ov .nosig { fill: #fff; font: 800 44px "Golos Text", "Segoe UI", Arial, sans-serif; letter-spacing: .08em; }
.cam { position: absolute; left: 8px; bottom: 8px; background: rgba(11,18,28,.72); color: #fff; font: 600 .72rem/1 ui-monospace, Consolas, monospace; padding: 5px 7px; border-radius: 5px; }
.scene figcaption { padding: 12px 14px 14px; display: grid; gap: 2px; }
.scene figcaption b { font-size: .98rem; }
.scene figcaption span { color: var(--muted); font-size: .86rem; }
.scenes-note { margin: 14px 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 1024px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scenes { grid-template-columns: 1fr 1fr; gap: 10px; } .scene figcaption span { display: none; } .scene figcaption b { font-size: .88rem; } }
.num .todo { background: rgba(255,227,138,.18); color: #FFE38A; }

.g { display: flex; flex-direction: column; }
.g-to { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.g .price { margin-top: auto; padding-top: 12px; font-weight: 750; color: var(--navy); }
.g-to p { margin-bottom: 12px; }

.scene-custom { margin-top: 16px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 2px dashed var(--accent); border-radius: var(--radius); background: #FFF8F3; text-decoration: none; color: var(--ink); }
.sc-plus { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.sc-plus .icon { width: 26px; height: 26px; }
.sc-text { flex: 1; display: grid; gap: 2px; }
.sc-text b { font-size: 1.1rem; }
.sc-text span { color: var(--muted); }
.scene-custom .btn { padding: 12px 20px; }
@media (max-width: 640px) { .scene-custom { flex-wrap: wrap; } .scene-custom .btn { width: 100%; } }
.report-row .v.bad { color: #E5484D; }
.report-row .v.att { color: #B7860B; }
.report-row .k { line-height: 1.35; }
.report-row .v { white-space: nowrap; }
.report-row.sum { border-top: 2px solid var(--line); }

/* Акцентный блок «Ваше событие» */
.custom-event { background: linear-gradient(135deg, #0E2A4F 0%, #123E6E 60%, #13597A 100%); color: #fff; padding: 72px 0; }
.ce-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.custom-event h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.custom-event p { color: rgba(255,255,255,.82); font-size: 1.08rem; margin-bottom: 26px; }
.ce-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ce-chips span { padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .95rem; }
.ce-chips span::before { content: "◉ "; color: var(--accent); }
.ce-chips .more { border: 2px dashed var(--accent); background: transparent; color: #FFD7BF; font-weight: 700; }
.ce-chips .more::before { content: ""; }
.lead .flow { font-size: .88rem; color: rgba(255,255,255,.7); border-left: 3px solid var(--accent); padding-left: 10px; }
@media (max-width: 960px) { .ce-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .custom-event { padding: 52px 0; } .custom-event .btn { width: 100%; } }
/* Живые фото в карточках сегментов и услуг */
.seg-grid { grid-template-columns: repeat(2, 1fr); }

.svc { padding-top: 0; overflow: hidden; }
.svc-img { width: calc(100% + 52px); margin: 0 -26px 16px; height: 132px; object-fit: cover; display: block; }
.svc.hl .svc-img { width: calc(100% + 50px); margin: 0 -25px 16px; }
.svc.hl .tag { position: absolute; margin: 10px 0 0 -14px; background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 6px; }
.svc.hl { position: relative; }
@media (max-width: 640px) {
  .seg-grid { grid-template-columns: 1fr; }
}
/* Сегменты: фото аккуратным скруглённым блоком в правом верхнем углу (D3) */
.seg.seg-photo { display: grid; grid-template-columns: 1fr 40%; grid-template-areas: "h img" "ul img" "more more"; grid-template-rows: auto 1fr auto; column-gap: 20px; padding: 22px 22px 24px 26px; }
.seg-photo .seg-text { display: contents; }
.seg-photo h3 { grid-area: h; align-self: start; margin-top: 6px; }
.seg-photo ul { grid-area: ul; margin-top: 4px; }
.seg-photo .more { grid-area: more; }
.seg-photo .seg-img { grid-area: img; align-self: start; width: 100%; height: 170px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 6px 18px rgba(14,42,79,.12); }
.seg.other { justify-content: center; }
@media (max-width: 640px) { .seg.seg-photo { grid-template-columns: 1fr 42%; padding: 18px; } .seg-photo .seg-img { height: 110px; } }
/* Обслуживание по договору: тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; margin-bottom: 8px; }
.plan-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.plan-price small { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; color: var(--muted); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan-tag { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.plans-note { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--navy); font-weight: 600; }
.plans-note .icon { color: var(--accent); flex: 0 0 24px; }
.svc .price-sub { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.ce-note { font-size: .95rem !important; color: #FFD7BF !important; margin: -12px 0 22px !important; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan.best { transform: none; } }
/* Сцены на фото владельца: 3 в ряд */
.scenes { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ov .fr { fill: rgba(229,72,77,.12); stroke: #E5484D; stroke-width: 4; }
.ov .tag { transform: scale(1.6); }
@media (max-width: 1024px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scenes { grid-template-columns: 1fr; } .scene figcaption span { display: block; } }

.ov .fr { stroke-width: 3px; vector-effect: non-scaling-stroke; }

/* Квиз */
.quiz-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,31,59,.62); display: grid; place-items: center; padding: 16px; }
.quiz-overlay[hidden] { display: none; }
.quiz { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 28px 30px 24px; box-shadow: 0 30px 80px rgba(6,20,40,.4); }
.quiz-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: var(--bg-2); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.quiz-head { margin-bottom: 18px; padding-right: 40px; }
.quiz-head .eyebrow { margin-bottom: 10px; }
.quiz-progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .3s; }
.quiz-step { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.q h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 6px; }
.q-hint { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.q-opts button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.q-opts button .icon { flex: 0 0 26px; width: 26px; height: 26px; color: var(--navy); }
.q-opts button:hover { border-color: var(--navy-2); }
.q-opts button.on { border-color: var(--accent); background: #FFF4EC; }
.q-opts button.on .icon { color: var(--accent); }
.q-opts-text { grid-template-columns: 1fr; }
.q-other { width: 100%; margin-top: 12px; font: inherit; padding: 12px 14px; border: 2px solid var(--accent); border-radius: 10px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.quiz-nav .btn { padding: 12px 22px; }
.quiz-nav .btn[disabled] { opacity: .45; cursor: default; }
.gauge { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.gauge span { color: var(--muted); font-weight: 600; max-width: 220px; }
.gauge-ring { --p: 0; width: 118px; height: 118px; border-radius: 50%; flex: 0 0 118px; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--bg-2) 0); }
.gauge-ring b { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.7rem; color: var(--navy); }
.r-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.r-facts div { background: var(--bg-2); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.r-facts span { color: var(--muted); font-size: .85rem; }
.r-facts b { color: var(--navy); }
.r-lead { font-size: .95rem; margin-bottom: 12px; }
.r-form { display: grid; gap: 10px; }
.r-channels { display: flex; gap: 8px; }
.r-channels label { flex: 1; }
.r-channels input { position: absolute; opacity: 0; }
.r-channels span { display: block; text-align: center; padding: 10px; border: 2px solid var(--line); border-radius: 10px; font-weight: 600; cursor: pointer; }
.r-channels input:checked + span { border-color: var(--accent); background: #FFF4EC; }
.r-form > input { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; }
.r-agree { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.r-agree input { margin-top: 3px; }
.r-done { padding: 14px; border-radius: 12px; background: #EAF7EF; color: #1E6B43; }
.ce-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .quiz { padding: 22px 18px 18px; border-radius: 16px; }
  .q-opts { grid-template-columns: 1fr; }
  .r-facts { grid-template-columns: 1fr; }
  .gauge-ring { width: 96px; height: 96px; flex-basis: 96px; } .gauge-ring b { width: 74px; height: 74px; font-size: 1.4rem; }
}
.quiz-nav[hidden] { display: none; }
.r-form[hidden] { display: none; }

/* Квиз v2 */
.r-teaser { display: grid; gap: 6px; }
.r-teaser > span { color: var(--navy); font-weight: 700; font-size: .95rem; }
.r-teaser ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.r-teaser li { position: relative; padding-left: 22px; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.r-teaser li::before { content: "🔒"; position: absolute; left: 0; top: 0; font-size: .8rem; }
.gauge { align-items: center; }
.r-facts-one { grid-template-columns: 1fr; }
.quiz-head .eyebrow { line-height: 1.35; }
.hero-d .plate .hero-cta { flex-wrap: wrap; }
.hero-d .plate .hero-cta .btn { white-space: normal; text-align: center; }
.btn-outline-accent { background: rgba(242,107,29,.08); color: #fff; border-color: var(--accent); }
.btn-outline-accent:hover { background: rgba(242,107,29,.22); color: #fff; }

.scenes-sec .scenes-wrap { display: block; margin-top: 0; }
.scenes-sec .section-head { margin-bottom: 28px; }
.segments { padding-top: 0; }

.v-d .segments { padding-top: 84px; }
@media (max-width: 640px) { .v-d .segments { padding-top: 60px; } }

/* Кейс: загрузка стоянки */
.case-photo { position: relative; padding: 0; }
.case-photo img, .case-photo .ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.park-alert { position: absolute; right: 12px; top: 12px; background: #E5484D; color: #fff; border-radius: 10px; padding: 8px 12px; display: grid; gap: 2px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.park-alert b { font-size: .95rem; }
.park-alert span { font-size: .78rem; opacity: .9; }
.park-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.park-stats div { background: var(--bg-2); border-radius: 10px; padding: 10px 8px; display: grid; gap: 2px; text-align: center; }
.park-stats b { color: var(--navy); font-size: 1.05rem; }
.park-stats span { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.fence-strip { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.fence-strip span { display: inline-flex; align-items: center; gap: 6px; background: rgba(11,18,28,.78); color: #fff; font: 600 .72rem/1 ui-monospace, Consolas, monospace; padding: 6px 8px; border-radius: 6px; }
.fence-strip span.rep { background: #E5484D; }
.fence-strip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.fence-strip .t-a { background: #FFB547; }
.fence-strip .t-b { background: #5DA9F2; }
/* Блок юмора */
.humor { background: #FFF8F1; }
.humor-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.humor-pic { position: relative; margin: 0; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.humor-pic img, .humor-pic .ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov .fr-soft { stroke: #3B6FB6; fill: rgba(59,111,182,.10); }
.ov .tag-soft rect { fill: #3B6FB6; }
.cat-bars { display: grid; gap: 10px; margin: 6px 0 14px; }
.cat-row { display: grid; grid-template-columns: 70px 1fr; gap: 4px 12px; align-items: center; }
.cat-row b { color: var(--navy); }
.cat-row .bar { height: 14px; background: #fff; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.cat-row .bar i { display: block; height: 100%; background: #E5484D; border-radius: 99px; }
.cat-row.soft .bar i { background: #3B6FB6; }
.cat-row span { grid-column: 2; font-size: .85rem; color: var(--muted); }
.verdict { display: inline-block; background: #fff; border: 2px dashed var(--accent); border-radius: 12px; padding: 10px 14px; font-weight: 700; color: var(--navy); }
.humor-moral { color: var(--muted); }
@media (max-width: 960px) { .humor-grid { grid-template-columns: 1fr; gap: 28px; } }
.park-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--navy); font-weight: 700; font-size: .8rem; padding: 6px 10px; border-radius: 99px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.park-live i { width: 8px; height: 8px; border-radius: 50%; background: #2E9E6A; box-shadow: 0 0 0 3px rgba(46,158,106,.25); }
.case-photo .cam { left: 12px; bottom: 12px; }

.pilot-badge { position: absolute; left: 12px; top: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; border: 2px dashed var(--accent); }
.transcript { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; }
.transcript span { background: rgba(255,255,255,.94); color: var(--ink); font-size: .78rem; padding: 6px 9px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15); width: fit-content; max-width: 100%; }
.transcript span:nth-child(2) { justify-self: end; background: #FFF4EC; }
.pilot-note { margin: 10px 0 0 !important; font-size: .82rem !important; color: var(--muted); font-style: italic; }
.park-live { left: auto; top: auto; right: 12px; bottom: 12px; }

.h2-note { color: var(--accent); font-weight: 700; }

.svc-service-note { margin: 22px 0 0; color: var(--muted); }
.svc-service-note a { color: var(--navy); font-weight: 700; }
.legal-note { display: block; margin-top: 6px; color: var(--navy); font-weight: 600; }
.cmp-col .calc { display: block; font-size: .74rem; line-height: 1.3; color: #8A96A6; margin-top: 4px; }

.h2-link { color: var(--accent); font-weight: 700; text-decoration: underline dashed; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.h2-link:hover { color: var(--accent-hover); }

/* FAQ */
.faq { max-width: 860px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--accent); color: #fff; }
.faq details p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
.faq a, .faq-link { color: var(--accent); font-weight: 600; }
.faq-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.r-form .form-msg { display: none; }
