/* Имотна оценка — визуален език на кадастрален план: чертожен лист, мастило, магента линия на парцела, жълто за стойност */
:root {
  --paper: #E9EFEB;
  --paper-2: #F6F9F7;
  --sheet: #FFFFFF;
  --ink: #1B2A4A;
  --ink-2: #4B5A76;
  --ink-3: #7D8AA0;
  --grid: #D3DDD7;
  --line: #BFCCC5;
  --survey: #D6336C;
  --survey-soft: #F9DCE7;
  --parcel: #F4C95D;
  --parcel-soft: #FBEBC0;
  --good: #2E8B66;
  --good-soft: #D5EEE3;
  --bad: #B42318;
  --bad-soft: #F8DEDA;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 0 rgba(27, 42, 74, .08), 0 8px 24px -12px rgba(27, 42, 74, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); font-feature-settings: 'tnum' 1, 'lnum' 1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; background-attachment: fixed;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--survey); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--survey); }
:focus-visible { outline: 3px solid var(--survey); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.6vw, 54px); }
h2 { font-size: clamp(23px, 2.7vw, 32px); }
h3 { font-size: 19px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.fine { font-size: 14px; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* бутони */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--r-md); padding: 14px 22px; font: 600 16px/1.2 var(--body); cursor: pointer; text-decoration: none; transition: transform .15s var(--ease), background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper-2); }
.btn-ink:hover { background: #24375f; color: #fff; }
.btn-survey { background: var(--survey); color: #fff; box-shadow: 0 6px 18px -8px var(--survey); }
.btn-survey:hover { background: #bf2a5e; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-2); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* хедър / футър */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(233, 239, 235, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand b { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.1; }
.brand small { display: block; color: var(--ink-2); font-size: 13px; }
.logo-mark { width: 36px; height: 36px; color: var(--ink); flex: none; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); border-color: var(--survey); }
.head-cta { padding: 10px 16px; font-size: 15px; }
.site-foot { background: var(--ink); color: #D7DEEA; margin-top: 80px; padding: 56px 0 24px; }
.site-foot a { color: #fff; display: block; text-decoration: none; margin: 6px 0; }
.site-foot a:hover { color: var(--parcel); }
.site-foot h3 { color: #fff; font-size: 15px; }
.site-foot .brand b, .site-foot .brand { color: #fff; }
.site-foot .logo-mark { color: #fff; }
.site-foot .brand small { color: #AEB9CC; }
.site-foot .fine { color: #AEB9CC; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-bottom { border-top: 1px solid #33456b; margin-top: 32px; padding-top: 16px; font-size: 14px; color: #AEB9CC; }

/* герой */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; padding: 0; list-style: none; }
.hero-facts li { font-size: 14px; color: var(--ink-2); max-width: 15ch; line-height: 1.35; }
.hero-facts b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); font-weight: 600; }
.map-sheet { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px; }
.map-sheet::after { content: ''; position: absolute; inset: 8px; border: 1px dashed var(--line); border-radius: 10px; pointer-events: none; }
.sofia-map { display: block; width: 100%; height: auto; }
.sofia-map .q { fill: var(--paper-2); stroke: var(--ink); stroke-width: .9; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s; }
.sofia-map .q:hover, .sofia-map .q:focus { fill: var(--parcel-soft); stroke: var(--survey); stroke-width: 2; outline: none; }
.sofia-map .q.lvl1 { fill: #EEF3EF; } .sofia-map .q.lvl2 { fill: #E1EAE5; } .sofia-map .q.lvl3 { fill: #CFDCD6; } .sofia-map .q.lvl4 { fill: #B8CBC2; } .sofia-map .q.lvl5 { fill: #9DB5AA; }
.sofia-map .pt { fill: var(--ink-3); stroke: #fff; stroke-width: 1; cursor: pointer; }
.sofia-map .pt:hover { fill: var(--survey); }
.sofia-map .metro { fill: var(--survey); }
.sofia-map.draw .q { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: draw 1.6s var(--ease) forwards; animation-delay: var(--d, 0s); fill-opacity: 0; }
@keyframes draw { 70% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 6px; transform: translate(-50%, -130%); white-space: nowrap; opacity: 0; transition: opacity .12s; z-index: 3; }
.map-tip.on { opacity: 1; }
.map-legend { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin-top: 10px; padding: 0 6px; }
.map-legend i { display: inline-block; width: 22px; height: 10px; border: 1px solid var(--line); }

/* съветник */
.wizard-sec { padding: 24px 0 40px; scroll-margin-top: 80px; }
.wizard { min-height: 600px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.stepper { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: var(--paper-2); overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper button { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 14px 16px; font: 500 14px var(--body); color: var(--ink-3); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.stepper button i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 12px; font-weight: 700; }
.stepper button.done { color: var(--ink); }
.stepper button.done i { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper button.cur { color: var(--ink); border-bottom-color: var(--survey); }
.stepper button.cur i { border-color: var(--survey); color: var(--survey); }
.stepper button[disabled] { cursor: default; }
.wiz-body { display: grid; grid-template-columns: 380px 1fr; min-height: 560px; }
.drawing { position: relative; border-right: 1px solid var(--line); background: var(--paper-2); padding: 18px; display: flex; flex-direction: column; }
.drawing svg { width: 100%; height: auto; flex: 1; }
.drawing .cap { font-size: 13px; color: var(--ink-2); line-height: 1.45; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 8px; }
.drawing .cap b { color: var(--ink); }
.ai-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin-bottom: 10px; align-self: flex-start; }
.ai-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--parcel); box-shadow: 0 0 0 0 var(--parcel); animation: pulse 1.4s infinite; }
.ai-chip.ok .dot { background: var(--good); animation: none; }
.ai-chip.err .dot { background: var(--bad); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(244, 201, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 201, 93, 0); } }
.bld .wall { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.6; }
.bld .slab { stroke: var(--ink); stroke-width: 1; }
.bld .win { fill: #DCE7F2; stroke: var(--ink-3); stroke-width: .8; }
.bld .mine { fill: var(--parcel); stroke: var(--survey); stroke-width: 2; }
.bld .ground { stroke: var(--ink); stroke-width: 2; }
.bld .hatch { stroke: var(--line); stroke-width: 1; }
.bld .lift { fill: none; stroke: var(--survey); stroke-width: 1.4; stroke-dasharray: 4 3; }
.bld .dim { stroke: var(--ink-3); stroke-width: .8; fill: none; }
.bld text { font: 600 11px var(--body); fill: var(--ink-2); }
.bld .lbl-mine { fill: var(--ink); font-weight: 700; }
.bld .floor-g { transition: transform .45s var(--ease), opacity .3s; }
.steps { position: relative; padding: 28px 34px 24px; display: flex; flex-direction: column; }
.step { display: none; flex: 1; }
.step.on { display: block; animation: stepIn .38s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 24px; margin-bottom: 6px; }
.step .hint { color: var(--ink-2); margin-bottom: 20px; font-size: 15px; }
.field { margin-bottom: 20px; }
.field > label, .field > .lbl { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .sub { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tiles.wide { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px; cursor: pointer; font: 500 14px/1.3 var(--body); color: var(--ink); transition: border-color .15s, background .15s, transform .15s; }
.tile:hover { border-color: var(--ink-3); }
.tile svg { width: 34px; height: 34px; color: var(--ink); }
.tile small { color: var(--ink-2); font-size: 12px; font-weight: 400; }
.tile[aria-pressed="true"] { border-color: var(--survey); background: #FFF6F9; }
.tile[aria-pressed="true"]::after { content: ''; position: absolute; top: 7px; right: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--survey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2'/%3E%3C/svg%3E") center/12px no-repeat; animation: pop .25s var(--ease); }
@keyframes pop { from { transform: scale(0); } }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 3px; gap: 3px; }
.seg button { border: 0; background: none; padding: 9px 14px; border-radius: 6px; font: 500 14px var(--body); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.range-row { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--survey) var(--p, 30%), var(--line) var(--p, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sheet); border: 3px solid var(--survey); cursor: grab; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--sheet); border: 3px solid var(--survey); cursor: grab; }
.inp { width: 100%; border: 1.5px solid var(--line); background: var(--paper-2); border-radius: var(--r-md); padding: 12px 14px; font: 500 16px var(--body); color: var(--ink); }
.inp:focus { outline: none; border-color: var(--ink); background: #fff; }
.inp.bad { border-color: var(--bad); background: var(--bad-soft); }
.unit { position: relative; }
.unit .inp { padding-right: 52px; }
.unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: 14px; pointer-events: none; }
.stepnum { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); }
.stepnum button { width: 42px; height: 46px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.stepnum button:hover { color: var(--survey); }
.stepnum output { min-width: 64px; text-align: center; font: 600 18px var(--body); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--survey); }
.check:has(input:checked) { border-color: var(--survey); background: #FFF6F9; }
.combo { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow: auto; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r-md); z-index: 1100; margin: 0; padding: 4px; list-style: none; box-shadow: var(--shadow); }
.combo-list li { padding: 9px 10px; border-radius: 6px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.combo-list li small { color: var(--ink-3); }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--parcel-soft); }
.loc-map { height: 300px; border: 1.5px solid var(--line); border-radius: var(--r-md); margin-top: 12px; background: var(--paper-2); }
.loc-facts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.loc-facts b { color: var(--ink); }
.drop { display: block; border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 28px; text-align: center; background: var(--paper-2); cursor: pointer; transition: border-color .2s, background .2s; }
.drop.over { border-color: var(--survey); background: #FFF6F9; }
.drop svg { display: block; margin: 0 auto 8px; width: 46px; height: 46px; color: var(--ink-3); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.thumbs figure { position: relative; margin: 0; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs figure.scan::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(214, 51, 108, .45), transparent); animation: scan 1.3s linear infinite; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(27, 42, 74, .8); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.photo-res { margin-top: 16px; border: 1.5px solid var(--good); background: var(--good-soft); border-radius: var(--r-md); padding: 14px 16px; font-size: 15px; }
.photo-res h3 { margin-bottom: 6px; }
.score-pill { display: inline-block; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 14px; margin-left: 6px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.wiz-nav .count { font-size: 13px; color: var(--ink-3); }
.err-msg { color: var(--bad); font-size: 14px; margin-top: 6px; min-height: 1em; }
.lock-note { display: flex; gap: 12px; align-items: flex-start; background: var(--parcel-soft); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.lock-note svg { width: 22px; height: 22px; flex: none; color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 4px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--survey); }
.hp { position: absolute; left: -5000px; }

/* анализ */
.analysis { padding: 40px 34px; min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.analysis h2 { font-size: 26px; }
.pipeline { list-style: none; margin: 18px 0 0; padding: 0; }
.pipeline li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 10px 0 14px; color: var(--ink-3); transition: color .3s; }
.pipeline li::before { content: ''; position: absolute; left: 12px; top: 38px; bottom: -4px; width: 1.5px; background: var(--line); }
.pipeline li:last-child::before { display: none; }
.pipeline .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper-2); display: grid; place-items: center; }
.pipeline li.run { color: var(--ink); }
.pipeline li.run .ic { border-color: var(--survey); border-top-color: transparent; animation: spin .9s linear infinite; }
.pipeline li.ok { color: var(--ink); }
.pipeline li.ok .ic { background: var(--good); border-color: var(--good); }
.pipeline li.ok .ic::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.pipeline b { display: block; font-weight: 600; }
.pipeline small { display: block; font-size: 13px; color: var(--ink-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 8px; background: var(--grid); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--survey), var(--parcel)); transition: width .6s var(--ease); }
.radar-box { position: relative; aspect-ratio: 1; max-width: 420px; margin: auto; }
.radar-box svg { width: 100%; height: 100%; }
.radar-box .sweep { transform-origin: 200px 200px; animation: spin 3.2s linear infinite; }
.fact-rot { min-height: 72px; font-size: 15px; color: var(--ink-2); border-left: 3px solid var(--parcel); padding-left: 12px; margin-top: 18px; transition: opacity .4s; }

/* резултат */
.result { padding: 32px 34px 40px; }
.res-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: stretch; }
.price-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.price-card > * { position: relative; }
.price-card .k { color: #C9D2E3; font-size: 15px; }
.price-card .big { font-family: var(--display); font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; line-height: 1.05; margin: 6px 0 4px; letter-spacing: -.02em; }
.price-card .ppm { color: var(--parcel); font-weight: 600; font-size: 18px; }
.rng { margin: 26px 0 8px; position: relative; height: 54px; }
.rng .track { position: absolute; left: 0; right: 0; top: 22px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgba(244, 201, 93, .25), var(--parcel), rgba(244, 201, 93, .25)); }
.rng .mk { position: absolute; top: 12px; width: 4px; height: 30px; background: #fff; border-radius: 2px; transform: translateX(-2px); transition: left 1.2s var(--ease); }
.rng .lo, .rng .hi { position: absolute; top: 38px; font-size: 13px; color: #C9D2E3; }
.rng .hi { right: 0; }
.price-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.price-sub div { background: rgba(255, 255, 255, .07); border-radius: var(--r-md); padding: 12px 14px; }
.price-sub b { display: block; font-size: 20px; font-family: var(--display); font-weight: 600; }
.price-sub span { font-size: 13px; color: #C9D2E3; }
.res-side { display: flex; flex-direction: column; gap: 14px; }
.gauge-card { display: flex; align-items: center; gap: 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.gauge { width: 120px; height: 70px; flex: none; }
.gauge .bg { fill: none; stroke: var(--grid); stroke-width: 12; stroke-linecap: round; }
.gauge .fg { fill: none; stroke: var(--good); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge text { font: 700 20px var(--display); fill: var(--ink); text-anchor: middle; }
.headline { font-size: 18px; font-weight: 600; line-height: 1.45; background: var(--parcel-soft); border-left: 4px solid var(--parcel); padding: 14px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; }
.res-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.res-sec { margin-top: 40px; }
.res-sec > h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prose p { max-width: 74ch; }
.chart-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.chart-box h3 { font-size: 16px; margin-bottom: 4px; }
.chart-box p { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.chart-box canvas { width: 100% !important; }
.ch { position: relative; height: 280px; }
.ch.tall { height: 360px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 600; color: var(--ink-2); background: var(--paper-2); }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl tr.me td { background: var(--parcel-soft); font-weight: 600; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.up { color: var(--good); font-weight: 600; } .down { color: var(--bad); font-weight: 600; }
.lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lst { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.lst h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.lst h3::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--ink-3); }
.lst.plus h3::before { background: var(--good); } .lst.minus h3::before { background: var(--bad); } .lst.risk h3::before { background: var(--parcel); }
.lst ul { margin: 0; padding-left: 18px; font-size: 15px; } .lst li { margin-bottom: 6px; }
.adj-list { display: grid; gap: 10px; }
.adj { display: grid; grid-template-columns: 90px 1fr; gap: 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.adj .v { font: 600 20px var(--display); }
.adj b { display: block; } .adj p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.adj .src { display: inline-block; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; margin-left: 6px; color: var(--ink-2); font-weight: 500; }
.research { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.signals { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 14px 0; }
.signals div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.signals b { display: block; font: 600 20px var(--display); color: var(--ink); }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.srcs a { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; text-decoration: none; color: var(--ink-2); background: var(--paper-2); }
.boost { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.boost div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; background: var(--paper-2); font-size: 14px; }
.boost b { display: block; font-size: 15px; margin-bottom: 4px; }
.disclaimer { margin-top: 36px; font-size: 13px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 14px; }

/* съдържание */
.sec { padding: 56px 0 8px; }
.sec-head { max-width: 760px; margin-bottom: 24px; }
.sec-head p { color: var(--ink-2); font-size: 18px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--sheet); overflow: hidden; }
.how > div { padding: 24px; border-right: 1px solid var(--line); }
.how > div:last-child { border-right: 0; }
.how .n { font: 600 34px var(--display); color: var(--survey); line-height: 1; margin-bottom: 12px; }
.how p { color: var(--ink-2); font-size: 15px; margin: 0; }
.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; }
.prose h2 { margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: .4em; }
.factor-bars { display: grid; gap: 6px; }
.fb { display: grid; grid-template-columns: minmax(150px, 1.4fr) 2fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.fb .track { position: relative; height: 12px; background: var(--paper-2); border-radius: 3px; }
.fb .track::before { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--ink-3); }
.fb .track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.fb .track i.p { left: 50%; background: var(--good); } .fb .track i.n { right: 50%; background: var(--bad); }
.fb .v { text-align: right; font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font: 600 22px var(--display); color: var(--survey); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq-a { color: var(--ink-2); margin-top: 10px; max-width: 72ch; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px 32px; margin: 40px 0; }
.cta-box h2 { color: #fff; font-size: 24px; margin-bottom: 6px; } .cta-box p { color: #C9D2E3; margin: 0; max-width: 56ch; }
.crumbs { font-size: 14px; color: var(--ink-2); padding: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.crumbs > * + *::before { content: '/'; margin-right: 6px; color: var(--ink-3); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.stat { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.stat b { display: block; font: 600 24px var(--display); }
.stat span { font-size: 13px; color: var(--ink-2); }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.qgrid a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-size: 15px; }
.qgrid a span { color: var(--ink-2); font-size: 14px; }
.qgrid a:hover { border-color: var(--survey); }
.page-head { padding: 8px 0 18px; }
.page-head p { font-size: 19px; color: var(--ink-2); max-width: 64ch; }

@media (max-width: 1020px) {
  .wiz-body { grid-template-columns: 1fr; }
  .drawing { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
  .drawing svg { width: 150px; flex: none; }
  .drawing .cap { border: 0; margin: 0; padding: 0; }
  .res-top, .analysis, .cols2 { grid-template-columns: 1fr; }
  .radar-box { max-width: 280px; }
  .lists { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .head-cta { margin-left: auto; }
  .how { grid-template-columns: 1fr; } .how > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1/-1; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .result, .analysis { padding: 20px 16px; }
  .two { grid-template-columns: 1fr; }
  .range-row { grid-template-columns: 1fr 100px; }
  .price-sub { grid-template-columns: 1fr; }
  .drawing .ai-chip { display: none; }
  .sheet { padding: 20px 16px; }
  .fb { grid-template-columns: 1fr 1fr 56px; }
  .head-cta { padding: 9px 12px; font-size: 14px; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .site-foot, .stepper, .res-actions { display: none; }
  body { background: #fff; }
}
