/* Каркас-контроль. Цвета стройки: жёлтая каска, графит, сосновая доска,
   каменная вата, синяя пароизоляция. Статусы — светофор проверки. */

@font-face { font-family: "Inter"; src: url("/static/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/static/fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/static/fonts/inter-display-900.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
  --hat: #FFC629;
  --hat-deep: #F2B200;
  --ink: #1B1E21;
  --ink-2: #4A5057;
  --ink-3: #7A8087;
  --paper: #FFFFFF;
  --paper-2: #F3F3F0;
  --line: #E2E3DF;
  --crit: #D9412B;
  --ask: #E08A00;
  --ok: #2E8B57;
  --unseen: #8A939B;
  --timber: #E3B062;
  --timber-dark: #B47E33;
  --wool: #EAD7A0;
  --wool-line: #CDB673;
  --film: #6E9CC6;
  --membrane: #EEF1F3;
  --facade: #4A5259;
  --wire: #FF7A2F;
  --radius: 12px;
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Display", "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
  font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sec-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--hat); }
h1, h2, h3 { margin: 0 0 .5em; }
h1 { font: 900 clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem)/0.98 var(--display); letter-spacing: -0.035em; }
h2 { font: 900 clamp(2rem, 1.3rem + 2.4vw, 3.1rem)/1.02 var(--display); letter-spacing: -0.03em; }
h3 { font: 700 1.15rem/1.3 var(--font); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* линейка рулетки под заголовками разделов */
.ruled::after {
  content: ""; display: block; width: 146px; height: 12px; margin-top: 18px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 72px) left bottom / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 12px) left bottom / 100% 6px no-repeat;
}
.sec-ink .ruled::after { color: var(--hat); }
.hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 16px, var(--hat) 16px 32px); }
.hazard-thin { height: 8px; background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--hat) 10px 20px); }

/* шапка */
.site-header { background: var(--hat); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
@media (min-width: 900px) { .header-row { min-height: 84px; } }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font: 800 1.3rem var(--display); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { text-decoration: underline; }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 9px; white-space: nowrap; }
@media (max-width: 420px) { .hide-sm { display: none; } }
.nav .nav-cta:hover { text-decoration: none; background: #000; }
@media (max-width: 760px) { .nav a:not(.nav-cta) { display: none; } .brand { font-size: 1.12rem; } .brand-mark { width: 30px; height: 30px; } .nav .nav-cta { padding: 9px 13px; font-size: .92rem; } }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 11px; border: 2px solid var(--ink);
  font: 700 1.06rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-hat { background: var(--hat); color: var(--ink); border-color: var(--hat); }
.btn-ghost { background: transparent; color: var(--ink); }
.sec-ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.actions { display: flex; gap: 14px 20px; flex-wrap: wrap; align-items: center; margin: 1.6em 0 1em; }
.link-u { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* разделы */
.sec { padding: 64px 0; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
.sec-grey { background: var(--paper-2); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink .lead, .sec-ink .muted { color: rgba(255,255,255,.72); }
.sec-hat { background: var(--hat); }
.sec-head { margin-bottom: 40px; }
.sec-head .lead { margin-top: 18px; margin-bottom: 0; }

/* первый экран */
.hero { background: var(--hat); padding: 24px 0 56px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 40px 0 80px; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 40px; } }
.hero h1 { max-width: 11ch; }
.hero .lead { color: #3A3F44; margin-top: 26px; }
.hero .actions { margin-top: 30px; }
.hero-note { font-size: .95rem; color: #3A3F44; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 40px; padding-top: 24px; border-top: 2px solid rgba(27,30,33,.18); }
.facts b { display: block; font: 900 2.1rem/1 var(--display); letter-spacing: -0.02em; margin-bottom: 6px; }
.facts span { font-size: .9rem; color: #3A3F44; line-height: 1.35; display: block; }

/* телефон с примером разбора */
.phone { justify-self: center; width: min(340px, 100%); background: var(--ink); border-radius: 44px; padding: 13px; box-shadow: 0 30px 60px rgba(70,45,0,.28); }
@media (min-width: 960px) { .phone { transform: rotate(2deg); } }
.phone-screen { background: #F2F3F1; border-radius: 32px; overflow: hidden; }
.phone-bar { background: #fff; padding: 20px 18px 12px; border-bottom: 1px solid #E3E5E2; }
.phone-bar small { color: var(--ink-3); font-size: 12px; }
.phone-bar b { display: block; font: 800 19px/1.2 var(--display); margin-top: 2px; }
.phone-items { padding: 12px; display: grid; gap: 8px; }
.ph-it { background: #fff; border-radius: 12px; padding: 10px 12px 11px 13px; border-left: 5px solid var(--ok); font-size: 13.5px; line-height: 1.38; color: var(--ink-2); }
.ph-it b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.ph-it.c { border-color: var(--crit); } .ph-it.q { border-color: var(--ask); }
.ph-say { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.42; }
.ph-say b { color: var(--hat); display: block; font-size: 12px; margin-bottom: 3px; }

/* статусы */
.tag { display: inline-block; font-size: .78rem; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 99px; color: #fff; background: var(--ok); margin-bottom: 6px; }
.tag-critical { background: var(--crit); } .tag-question { background: var(--ask); }
.tag-unseen { background: var(--unseen); } .tag-ok { background: var(--ok); }
.ph-it .tag { font-size: 11px; padding: 3px 8px; margin-bottom: 5px; }

/* как это работает */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { position: relative; background: var(--paper-2); border-radius: 18px; padding: 28px 26px 26px; }
.step-num { position: absolute; top: 22px; right: 24px; font: 900 3.4rem/1 var(--display); color: rgba(27,30,33,.09); letter-spacing: -0.04em; }
.step svg { width: 72px; height: 72px; display: block; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0; }
.time-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--hat); border-radius: 99px; padding: 7px 14px; font-weight: 700; font-size: .95rem; }

/* дом по этапам */
.house-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 980px) { .house-grid { grid-template-columns: 1.55fr 1fr; gap: 48px; } }
.house { width: 100%; height: auto; display: block; }
.house .mk-in { transform-box: fill-box; transform-origin: center; transition: transform .15s ease; }
.house .mk circle { fill: var(--hat); stroke: var(--ink); stroke-width: 3; }
.house a.mk:hover .mk-in, .house .mk.on .mk-in { transform: scale(1.15); }
@media (max-width: 700px) { .house .mk-in { transform: scale(1.6); } .house a.mk:hover .mk-in, .house .mk.on .mk-in { transform: scale(1.75); } }
.house .mk text { font: 900 21px var(--display); fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.house a.mk:hover circle, .house .mk.on circle { fill: #fff; }
.house .mk.dim { opacity: .35; }
.house .mk.active circle { fill: var(--hat); stroke: #fff; stroke-width: 4; }
.house .mk.active .ring { fill: none; stroke: var(--hat); stroke-width: 2; animation: ping 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
.stage-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.stage-index li { border-bottom: 1px solid rgba(255,255,255,.14); }
.stage-index a { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 11px 4px; text-decoration: none; color: #fff; }
.stage-index a:hover, .stage-index a.on { background: rgba(255,255,255,.06); }
.stage-index .n { width: 32px; height: 32px; border-radius: 50%; background: var(--hat); color: var(--ink); display: grid; place-items: center; font: 900 15px var(--display); }
.stage-index .nm { font-weight: 600; line-height: 1.3; }
.stage-index .ct { font-size: .85rem; color: rgba(255,255,255,.6); white-space: nowrap; }
.house-hint { font-size: .92rem; color: rgba(255,255,255,.62); margin-top: 14px; }

/* пирог стены */
.pie-fig { margin: 0 0 8px; }
.pie { width: 100%; height: auto; display: block; max-width: 980px; margin: 0 auto; }
.pie .num circle { fill: var(--hat); stroke: var(--ink); stroke-width: 2.5; }
.pie .num text { font: 900 17px var(--display); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.pie .cap { font: 600 15px var(--font); fill: var(--ink-2); }
.pie .num-in { transform-box: fill-box; transform-origin: center; }
.pie-cap { display: none; font-size: .92rem; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 700px) { .pie .num-in { transform: scale(1.7); } .pie .cap { display: none; } .pie-cap { display: block; } }
.layers { list-style: none; padding: 0; margin: 32px 0 0; border-top: 2px solid var(--ink); }
.layers li { display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .layers li { grid-template-columns: 44px 1.05fr 1.5fr 1.5fr; gap: 24px; align-items: start; } }
.layers .n { width: 32px; height: 32px; border-radius: 50%; background: var(--hat); border: 2px solid var(--ink); display: grid; place-items: center; font: 900 15px var(--display); }
.layers h3 { margin: 4px 0 0; }
.layers .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }
.layers p { margin: 0; color: var(--ink-2); grid-column: 2; }
@media (min-width: 860px) { .layers p { grid-column: auto; } }
.layers .ok-l, .layers .bad-l { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 2px; }
.layers .ok-l { color: var(--ok); } .layers .bad-l { color: var(--crit); }
.often { display: inline-block; font-size: .75rem; font-weight: 700; background: #FCE6E2; color: #A2301E; border-radius: 99px; padding: 3px 8px; margin-left: 6px; vertical-align: 2px; }
.vapor-note { display: flex; gap: 14px; align-items: flex-start; background: var(--paper-2); border-radius: 14px; padding: 18px 20px; margin-top: 28px; }
.vapor-note svg { flex: none; width: 40px; height: 40px; }
.vapor-note p { margin: 0; }

/* чем позже — тем больше разбирать */
.later { display: grid; gap: 18px; }
.later-row { background: #fff; border-radius: 18px; padding: 24px 22px; }
@media (min-width: 900px) { .later-row { padding: 28px 30px; } }
.later-row h3 { font: 800 1.35rem/1.2 var(--display); margin: 0 0 4px; }
.later-row .where { color: var(--ink-3); font-size: .92rem; margin: 0 0 18px; }
.bar-line { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
@media (min-width: 900px) { .bar-line { grid-template-columns: 150px 1fr; gap: 16px; align-items: center; } }
.bar-label { font-weight: 700; font-size: .95rem; }
.bar-label small { display: block; font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.bar { display: flex; flex-wrap: wrap; gap: 4px; }
.seg { flex: 0 0 auto; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: .9rem; font-weight: 600; line-height: 1.25; }
@media (min-width: 900px) {
  .bar { flex-wrap: nowrap; }
  .seg { flex: 1 1 0; max-width: 150px; min-width: 0; min-height: 52px; font-size: .86rem; padding: 8px 10px; }
}
.risk-note { margin: 12px 0 0; display: inline-flex; gap: 8px; align-items: center; background: #FCE6E2; color: #A2301E; font-weight: 600; font-size: .92rem; border-radius: 8px; padding: 8px 12px; }
.risk-note::before { content: "!"; width: 20px; height: 20px; border-radius: 50%; background: var(--crit); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
@media (min-width: 900px) { .risk-note { margin-left: 166px; } }
.seg-fix { background: var(--hat); }
.seg-off { background: #2E3338; color: #fff; }
.seg-off::before { content: "−"; font-weight: 800; opacity: .7; }
.seg-back { background: #E6E7E3; color: var(--ink-2); }
.seg-back::before { content: "+"; font-weight: 800; opacity: .7; }
.seg-risk { background: #FCE6E2; color: #A2301E; }
.bar-sum { font: 900 1.05rem var(--display); margin-left: 6px; align-self: center; white-space: nowrap; }
.later-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: -16px 0 20px; font-size: .9rem; color: var(--ink-2); }
.later-legend span { display: inline-flex; align-items: center; gap: 8px; }
.later-legend i { width: 18px; height: 14px; border-radius: 4px; display: inline-block; }

/* видно / не видно */
.two-col { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 28px; } }
.vis { border: 2px solid var(--ink); border-radius: 18px; padding: 26px 26px 20px; }
.vis-no { border-style: dashed; border-color: var(--ink-3); }
.vis h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.vis h3 svg { width: 34px; height: 34px; flex: none; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.vis-no .ticks li::before { width: 14px; height: 3px; border: 0; background: var(--unseen); transform: none; top: 21px; }
.legend { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
@media (min-width: 700px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .legend { grid-template-columns: repeat(4, 1fr); } }
.legend div { border-top: 5px solid var(--ok); background: var(--paper-2); border-radius: 0 0 12px 12px; padding: 14px 16px; }
.legend .l-critical { border-color: var(--crit); } .legend .l-question { border-color: var(--ask); } .legend .l-unseen { border-color: var(--unseen); }
.legend b { display: block; margin-bottom: 2px; }
.legend span { color: var(--ink-2); font-size: .93rem; }

/* кто проверяет и цены */
.who { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .who { grid-template-columns: auto 1fr; gap: 56px; } }
.big-30 { font: 900 clamp(7rem, 5rem + 9vw, 13rem)/.8 var(--display); color: var(--hat); letter-spacing: -0.06em; }
.big-30 small { display: block; font: 700 1.1rem/1.3 var(--font); color: #fff; letter-spacing: 0; margin-top: 14px; }
.who p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 34em; }
.prices { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 56px; }
@media (min-width: 860px) { .prices { grid-template-columns: 1fr 1fr 1fr; } }
.price { border: 1.5px solid rgba(255,255,255,.22); border-radius: 18px; padding: 24px; }
.price-main { background: var(--hat); color: var(--ink); border-color: var(--hat); }
.price h3 { margin-bottom: 14px; }
.price .sum { font: 900 2.7rem/1 var(--display); letter-spacing: -0.03em; margin-bottom: 10px; }
.price p { margin: 0; color: rgba(255,255,255,.75); }
.price-main p { color: #3A3F44; }
.price-cmp .sum { color: rgba(255,255,255,.6); }

/* вопросы */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background:
  linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 2.5px 12px no-repeat, var(--hat); }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat, var(--hat); }
.faq details p { color: var(--ink-2); max-width: 46em; margin: -4px 0 20px; }

/* финальный призыв */
.final { text-align: left; }
.final h2 { max-width: 20ch; }
.final-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 1fr auto; } }

/* подвал */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 48px 0 40px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid p { margin: 0 0 .55em; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem var(--display); color: #fff; margin-bottom: 10px !important; }

/* внутренние страницы */
.page-head { background: var(--paper-2); padding: 36px 0 44px; }
@media (min-width: 900px) { .page-head { padding: 52px 0 60px; } }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); max-width: 18ch; }
.page-head .lead { margin-top: 16px; margin-bottom: 0; }
.crumbs { font-size: .92rem; color: var(--ink-2); margin: 0 0 16px; }
.crumbs a { color: var(--ink-2); }
.stage-head { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 960px) { .stage-head { grid-template-columns: 1.1fr .9fr; gap: 44px; } }
.mini-house { background: var(--ink); border-radius: 18px; padding: 18px 16px 10px; }
.mini-house p { color: rgba(255,255,255,.65); font-size: .85rem; margin: 6px 4px 4px; }
.stage-num { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.stage-num i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--hat); border: 2px solid var(--ink); display: grid; place-items: center; font: 900 16px var(--display); }

.errors { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: err; }
.errors li { counter-increment: err; position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 20px 18px 66px; }
.errors li::before { content: counter(err); position: absolute; left: 20px; top: 19px; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 14px var(--display); }
.err-title { font-weight: 700; font-size: 1.08rem; margin-bottom: .4em; }
.err-risk { color: var(--crit); font-weight: 600; margin-bottom: .45em; }
.err-hint { color: var(--ink-2); margin-bottom: .6em; }
.err-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
.chip-yes { background: #E3F2E9; color: #22663F; }
.chip-partial { background: #FDF0D9; color: #87560A; }
.chip-no { background: #ECEEEF; color: #4F5A61; }
.chip-often { background: #FCE6E2; color: #A2301E; }

.shots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: shot; }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.shots li { counter-increment: shot; position: relative; aspect-ratio: 4 / 3; background: #2A2E33; color: #fff; border-radius: 14px; padding: 18px; display: flex; align-items: flex-end; font-weight: 600; line-height: 1.3; }
@media (max-width: 699px) { .shots li { aspect-ratio: auto; min-height: 120px; } }
.shots li::before { content: "Кадр " counter(shot); position: absolute; top: 16px; left: 18px; font-size: .8rem; color: var(--hat); font-weight: 700; }
.shots li::after { content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(#fff, #fff) left top / 18px 2px no-repeat, linear-gradient(#fff, #fff) left top / 2px 18px no-repeat,
    linear-gradient(#fff, #fff) right top / 18px 2px no-repeat, linear-gradient(#fff, #fff) right top / 2px 18px no-repeat,
    linear-gradient(#fff, #fff) left bottom / 18px 2px no-repeat, linear-gradient(#fff, #fff) left bottom / 2px 18px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 18px 2px no-repeat, linear-gradient(#fff, #fff) right bottom / 2px 18px no-repeat;
  opacity: .55; }
.shots li span { position: relative; z-index: 1; padding: 0 6px 6px; }

.cta-box { background: var(--hat); border-radius: 18px; padding: 26px; margin: 40px 0; }
@media (min-width: 800px) { .cta-box { padding: 32px 36px; } }
.cta-box .actions { margin: 16px 0 0; }
.cta-title { font: 900 1.6rem/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: .35em; }
.other-stages { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-stages a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border: 1.5px solid var(--line); border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .95rem; background: #fff; }
.other-stages a:hover { border-color: var(--ink); }
.other-stages i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--hat); display: grid; place-items: center; font: 900 12px var(--display); }
.block { margin-top: 52px; }
.block h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }

/* форма проверки */
.form { margin-top: 8px; }
.form-step { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 22px 20px; margin-bottom: 16px; }
@media (min-width: 700px) { .form-step { padding: 26px 28px; } }
.form-step > legend, .step-title { display: flex; align-items: center; gap: 12px; font: 800 1.3rem var(--display); margin: 0 0 16px; padding: 0; }
fieldset.form-step { min-width: 0; }
.step-title i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: var(--hat); border: 2px solid var(--ink); display: grid; place-items: center; font: 900 15px var(--display); flex: none; }
.stage-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 760px) { .stage-pick { grid-template-columns: repeat(5, 1fr); } }
.stage-pick label { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 80px; padding: 12px 12px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .93rem; line-height: 1.25; background: #fff; }
.stage-pick label:hover { border-color: var(--ink-3); }
.stage-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stage-pick .n { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font: 900 12px var(--display); }
.stage-pick input:checked + .n { background: var(--hat); }
.stage-pick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: #FFFBEA; }
.stage-pick label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.shots-hint { margin-top: 16px; background: var(--paper-2); border-radius: 12px; padding: 14px 16px; }
.shots-hint p { margin: 0 0 6px; font-weight: 700; }
.shots-hint ol { margin: 0; padding-left: 1.3em; color: var(--ink-2); }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 170px; border: 2px dashed var(--ink-3); border-radius: 16px; padding: 22px; cursor: pointer; background: var(--paper-2); }
.drop:hover, .drop:focus-within { border-color: var(--ink); background: #FFFBEA; }
.drop svg { width: 48px; height: 48px; }
.drop b { font-size: 1.1rem; }
.drop span { color: var(--ink-2); font-size: .93rem; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
textarea, input[type="text"], input[type="password"], select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #BFC3C0; border-radius: 10px; padding: 12px 14px;
}
textarea:focus, input:focus, select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,198,41,.6); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.hint { font-size: .93rem; color: var(--ink-2); margin: 10px 0 0; }
.alert { background: #FCE6E2; border-left: 5px solid var(--crit); color: #7D2A1B; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.progress { margin-top: 16px; background: var(--ink); color: #fff; border-radius: 12px; padding: 16px 18px; font-weight: 600; overflow: hidden; position: relative; }
.progress::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 35%; background: var(--hat); animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateX(-10%); } to { transform: translateX(200%); } }
.previews { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.previews li { font-size: .9rem; color: var(--ink-2); align-self: center; }

/* результат */
.score { display: flex; height: 18px; border-radius: 99px; overflow: hidden; margin: 22px 0 12px; background: var(--line); }
.score span { display: block; height: 100%; }
.s-critical { background: var(--crit); } .s-question { background: var(--ask); } .s-unseen { background: var(--unseen); } .s-ok { background: var(--ok); }
.score-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; margin: 0; }
.score-legend span { display: inline-flex; align-items: center; gap: 8px; }
.score-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.status-head { display: flex; align-items: center; gap: 10px; font: 800 1.35rem var(--display); margin: 36px 0 12px; }
.dot-sm { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; }
.status-critical .dot-sm { background: var(--crit); } .status-question .dot-sm { background: var(--ask); }
.status-unseen .dot-sm { background: var(--unseen); } .status-ok .dot-sm { background: var(--ok); }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.result-list li { background: #fff; border: 1.5px solid var(--line); border-left: 6px solid var(--ok); border-radius: 12px; padding: 14px 16px; }
.result-list.status-critical li { border-left-color: var(--crit); }
.result-list.status-question li { border-left-color: var(--ask); }
.result-list.status-unseen li { border-left-color: var(--unseen); }
.result-list.status-ok li { padding: 10px 16px; }
.r-title { font-weight: 700; margin: 0; }
.r-comment { color: var(--ink-2); margin: 4px 0 0; }
.brigade { background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; margin: 36px 0 18px; }
.brigade h2 { color: var(--hat); font: 800 1.2rem var(--display); margin: 0 0 10px; letter-spacing: 0; }
.brigade p { font-size: 1.08rem; }
.brigade .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.retake { background: var(--paper-2); border-radius: 12px; padding: 14px 16px; }

/* документы */
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }

/* страница для владельца */
.adm-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.adm-table th, .adm-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table th { font-size: .8rem; color: var(--ink-3); font-weight: 700; }
.adm-table tr.need td:first-child { box-shadow: inset 4px 0 0 var(--crit); }
.adm-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.adm-stats div { background: var(--paper-2); border-radius: 12px; padding: 12px 16px; min-width: 120px; }
.adm-stats b { display: block; font: 900 1.6rem/1.1 var(--display); }
.adm-stats span { font-size: .85rem; color: var(--ink-2); }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 18px 0; }
.adm-photos img { width: 100%; border-radius: 12px; border: 1.5px solid var(--line); }
.adm-verdict { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--paper-2); }
.pill-ok { background: #E3F2E9; color: #22663F; } .pill-wrong { background: #FCE6E2; color: #A2301E; } .pill-need { background: #FDF0D9; color: #87560A; }
.table-scroll { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* документы: политика, оферта */
.section { padding-top: 40px; padding-bottom: 72px; }
.doc > * { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
fieldset.form-step > legend { float: left; width: 100%; }
fieldset.form-step > legend + * { clear: both; }

/* ===== 3D: первый экран-конструктор ===== */
.builder { position: relative; background: #cfd9e1; overflow: hidden; }
.b-view { position: relative; height: 64vh; min-height: 380px; max-height: 620px; touch-action: pan-y; }
.b-view .kk3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; cursor: grab; }
.b-view .kk3d-canvas:active { cursor: grabbing; }
.builder.ready .kk3d-canvas { opacity: 1; }
.b-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: opacity .8s ease; }
.builder.ready .b-poster { opacity: 0; }
.b-intro { background: var(--hat); padding: 26px 0 30px; }
.b-intro h1 { max-width: 11ch; }
.b-intro .lead { color: #3A3F44; margin: 18px 0 0; }
.b-intro .actions { margin: 24px 0 12px; }
.b-tip { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; margin: 0; background: rgba(27,30,33,.62); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; pointer-events: none; white-space: nowrap; transition: opacity .4s; }
.builder.moved .b-tip, .builder:not(.is-3d) .b-tip { opacity: 0; }

.b-bar { background: var(--ink); padding: 12px 0; }
.b-bar .wrap { display: flex; gap: 10px; align-items: center; }
.b-play { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--hat); color: var(--ink); border: 0; border-radius: 99px; padding: 10px 16px 10px 12px; font: 700 .92rem var(--font); cursor: pointer; }
.b-play svg { width: 18px; height: 18px; }
.b-play.on .ic-play, .b-play:not(.on) .ic-pause { display: none; }
.b-steps { list-style: none; margin: 0; padding: 2px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.b-steps::-webkit-scrollbar { display: none; }
.b-steps button { flex: none; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border: 1.5px solid transparent; border-radius: 99px; padding: 6px 12px 6px 6px; font: 600 .86rem var(--font); cursor: pointer; white-space: nowrap; }
.b-steps button b { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font: 800 12px var(--display); }
.b-steps button.all { padding-left: 12px; }
.b-steps button:hover { background: rgba(255,255,255,.16); }
.b-steps button.on { background: #fff; color: var(--ink); }
.b-steps button.on b { background: var(--hat); }

.b-card { background: #fff; padding: 22px 20px 24px; }
.b-card[hidden] { display: none; }
.b-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.b-eyebrow i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--hat); color: var(--ink); display: grid; place-items: center; font: 900 13px var(--display); }
.b-title { font: 900 1.7rem/1.05 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.b-lead { color: var(--ink-2); font-size: .97rem; margin: 0 0 12px; }
.b-checks { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); max-height: 300px; overflow: auto; }
.b-checks li { border-bottom: 1px solid var(--line); }
.b-check { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 10px 2px; font: 600 .93rem/1.35 var(--font); color: var(--ink); cursor: pointer; }
.b-check i { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--hat); border: 2px solid var(--ink); display: grid; place-items: center; font: 900 11px var(--display); margin-top: -1px; }
.b-check i.dot { width: 22px; height: 22px; border: 0; background: radial-gradient(circle, var(--ink-3) 0 3px, transparent 3.5px); }
.b-more { display: none; padding: 0 2px 12px 32px; }
.b-checks li.open .b-more { display: block; }
.b-checks li.open .b-check { color: var(--ink); }
.b-risk { color: var(--crit); font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.b-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.b-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

/* метки в 3D */
.kk3d-hotspots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.kk3d-hs { position: absolute; left: 0; top: 0; margin: -15px 0 0 -15px; display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; cursor: pointer; pointer-events: auto; transition: opacity .25s; will-change: transform; }
.kk3d-hs i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--hat); border: 2.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; font: 900 13px var(--display); font-style: normal; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.kk3d-hs i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--hat); animation: hs-ping 2s ease-out infinite; }
@keyframes hs-ping { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(1.5); } }
.kk3d-hs span { background: rgba(27,30,33,.88); color: #fff; font: 600 12.5px/1.2 var(--font); padding: 6px 9px; border-radius: 8px; white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.kk3d-hs:hover i, .kk3d-hs.active i { background: #fff; }
.kk3d-hs.active span { background: var(--hat); color: var(--ink); }
.kk3d-hs.behind { opacity: .5; }
.kk3d-hs.off { opacity: 0; pointer-events: none; }
@media (max-width: 700px) { .kk3d-hs span { display: none; } .kk3d-hs.active span { display: block; } }

.builder.no-3d .b-play { display: none; }

@media (min-width: 1024px) {
  .builder { height: clamp(660px, calc(100vh - 84px), 900px); }
  .b-view { position: absolute; inset: 0; height: auto; max-height: none; }
  .builder::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(236,241,244,.94) 0%, rgba(236,241,244,.82) 42%, rgba(236,241,244,0) 100%); transition: opacity .5s; }
  .b-intro { position: absolute; z-index: 2; top: 0; left: 0; right: 0; background: none; padding: clamp(28px, 6vh, 64px) 0 0; pointer-events: none; transition: opacity .45s, transform .45s; }
  .b-intro .wrap > div { max-width: 520px; pointer-events: auto; }
  .b-intro h1 { font-size: clamp(3rem, 2rem + 2.6vw, 4.6rem); }
  .builder.has-card .b-intro { opacity: 0; transform: translateY(-12px); pointer-events: none; }
  .builder.has-card .b-intro .wrap > div { pointer-events: none; }
  .b-card { position: absolute; z-index: 3; top: 28px; left: max(32px, calc((100vw - 1180px) / 2 + 32px)); width: 410px; max-height: calc(100% - 128px); overflow: auto;
    background: rgba(255,255,255,.95); border-radius: 18px; box-shadow: 0 18px 50px rgba(20,30,40,.18); padding: 24px 24px 22px; }
  .b-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; background: linear-gradient(rgba(27,30,33,0), rgba(27,30,33,.7)); padding: 34px 0 18px; }
  .b-tip { bottom: 92px; }
}
@media (max-width: 1023px) {
  .b-card { border-bottom: 1px solid var(--line); }
}

/* как это работает: шаги слева, телефон справа */
.how-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 960px) { .how-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.steps-v { grid-template-columns: 1fr !important; gap: 14px; }
.steps-v .step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 20px 22px; }
.steps-v .step svg { width: 64px; height: 64px; margin: 0; }
.steps-v .step h3 { margin-bottom: 4px; }

/* карточки этапов с рендерами */
.stage-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
@media (min-width: 760px) { .stage-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .stage-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stage-cards a { display: block; height: 100%; text-decoration: none; color: #fff; background: #23272B; border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.stage-cards a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.35); }
.stage-cards img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 420; object-fit: cover; background: #3a4046; }
.sc-body { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 12px 14px 14px; align-items: center; }
.sc-body .n { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--hat); color: var(--ink); display: grid; place-items: center; font: 900 14px var(--display); }
.sc-body .nm { font-weight: 700; line-height: 1.25; font-size: .98rem; }
.sc-body .ct { font-size: .82rem; color: rgba(255,255,255,.6); }
@media (max-width: 1023px) {
  .builder { display: flex; flex-direction: column; }
  .b-intro { order: 0; } .b-view { order: 1; } .b-bar { order: 2; } .b-card { order: 3; }
  .b-intro h1 { font-size: clamp(2.2rem, 1.3rem + 4.2vw, 3.3rem); }
}

.b-steps button svg { width: 18px; height: 18px; }
.b-steps button.all { gap: 6px; }
@media (min-width: 1024px) {
  .b-bar .wrap { max-width: none; }
  .b-steps { overflow: visible; flex-wrap: nowrap; }
  .b-steps button { padding: 5px 11px 5px 5px; font-size: .84rem; }
}
@media (min-width: 1024px) and (max-width: 1599px) {
  .b-steps button:not(.on):not(.all) .nm { display: none; }
  .b-steps button:not(.on):not(.all) { padding-right: 5px; }
}
.b-steps { min-width: 0; }
.b-tip { max-width: calc(100% - 24px); white-space: normal; text-align: center; }

/* 3D-разрез стены */
.pie-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1000px) { .pie-grid { grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; } }
.wall3d { position: relative; height: 430px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 40% 30%, #ffffff 0%, #f1f1ec 55%, #e4e4dd 100%); }
@media (min-width: 1000px) { .wall3d { height: 620px; position: sticky; top: 24px; } }
.wall3d .kk3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s; cursor: grab; }
#pirog.ready .wall3d .kk3d-canvas { opacity: 1; }
#pirog.ready .wall3d .b-poster { opacity: 0; }
.wall3d .b-poster { object-fit: contain; }
.wall-cap { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: .85rem; color: var(--ink-2); background: rgba(255,255,255,.8); padding: 5px 10px; border-radius: 99px; }
.wall3d .kk3d-hs span { font-size: 12px; }
.pie-grid .layers { margin-top: 0; }
.pie-grid .layers li { grid-template-columns: 40px 1fr !important; gap: 4px 14px !important; padding: 14px 10px; border-radius: 12px; transition: background .2s; cursor: pointer; }
.pie-grid .layers li > p { grid-column: 2 !important; }
.pie-grid .layers li.active { background: #FFF6D6; }
.pie-grid .layers h3 { font-size: 1.05rem; }
.pie-grid .layers p { font-size: .95rem; }
.wall3d .kk3d-hs span { display: none; }
.wall3d .kk3d-hs.active span, .wall3d .kk3d-hs:hover span { display: block; }

/* рендер этапа на странице этапа */
.stage-shot { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(27,30,33,.18); }
.stage-shot img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.stage-shot:hover img { transform: scale(1.03); }
.stage-shot-cta { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem; padding: 10px 14px; border-radius: 99px; }
.stage-shot-cta svg { width: 18px; height: 18px; color: var(--hat); }
.kk3d-hotspots.building .kk3d-hs { opacity: 0; pointer-events: none; }

/* кому пригодится */
.aud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .aud { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aud-item { background: #fff; border-radius: 18px; padding: 24px 22px 22px; }
.aud-item svg { width: 56px; height: 56px; display: block; margin-bottom: 14px; }
.aud-item h3 { font: 800 1.2rem/1.2 var(--display); margin-bottom: 8px; }
.aud-item p { margin: 0; color: var(--ink-2); }

/* цены */
.price { position: relative; }
.price-tag { position: absolute; top: -12px; left: 22px; margin: 0; background: var(--ink); color: var(--hat) !important; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; border: 1.5px solid var(--hat); }
.price .sum s { font-size: 1.3rem; font-weight: 700; color: rgba(27,30,33,.45); margin-left: 6px; text-decoration-thickness: 2px; }
.price-notes { margin-top: 22px; max-width: 52em; }
.price-notes p { margin: 0 0 6px; color: rgba(255,255,255,.82); }
.price-notes .muted { color: rgba(255,255,255,.55); font-size: .95rem; }
.doc ol { padding-left: 1.3em; } .doc ol li { margin-bottom: .5em; }
.stage-auto { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 10px; border: 1.5px dashed var(--ink-3); border-radius: 12px; cursor: pointer; background: #fff; }
.stage-auto:hover { border-color: var(--ink); }
.stage-auto input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stage-auto .q { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font: 900 16px var(--display); }
.stage-auto b { display: block; }
.stage-auto small { display: block; color: var(--ink-2); font-size: .88rem; line-height: 1.35; margin-top: 2px; }
.stage-auto:has(input:checked) { border-style: solid; border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: #FFFBEA; }
.stage-auto:has(input:checked) .q { background: var(--hat); }
.stage-auto:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.auto-note { margin: 10px 0 0; background: #FFF6D6; border-radius: 10px; padding: 10px 14px; font-size: .95rem; max-width: 46em; }
