@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&display=swap');

:root {
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --navy: #0b1f33;
  --navy-2: #112e4a;
  --ink: #12263a;
  --text: #4d6173;
  --muted: #738596;
  --line: #e3e9ee;
  --line-strong: #ced9e1;
  --surface: #ffffff;
  --surface-soft: #f6f8fa;
  --surface-blue: #eef5f8;
  --teal: #00a98f;
  --teal-dark: #007f70;
  --teal-soft: #e3f7f2;
  --blue: #2768c7;
  --blue-soft: #eaf1fc;
  --orange: #dc7a1b;
  --orange-soft: #fff2e4;
  --red: #c74b4b;
  --red-soft: #fdecec;
  --green: #188a63;
  --green-soft: #e8f6ef;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 28px rgba(15, 37, 54, 0.06);
  --shadow-md: 0 20px 50px rgba(15, 37, 54, 0.1);
  --shadow-lg: 0 32px 80px rgba(7, 24, 39, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { line-height: 1.65; }
.hidden { display: none !important; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(227, 233, 238, 0.9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 900; letter-spacing: 0.16em; }
.brand-word { font-size: 1.2rem; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.02em; }
.brand-mark {
  position: relative;
  width: 36px;
  height: 40px;
  display: inline-block;
  border: 8px solid var(--navy);
  border-right-color: transparent;
  border-radius: 50% 30% 42% 50%;
  transform: rotate(-8deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: -11px;
  width: 13px;
  height: 13px;
  background: var(--navy);
  transform: rotate(45deg);
}
.brand-mark span {
  position: absolute;
  right: -2px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--teal);
  transform: rotate(45deg);
}
.main-nav, .app-nav { display: flex; align-items: center; gap: 28px; color: var(--text); font-size: 0.9rem; font-weight: 700; }
.main-nav a, .app-nav a { transition: color 0.18s ease; }
.main-nav a:hover, .app-nav a:hover { color: var(--teal-dark); }
.nav-action { padding: 12px 18px; color: white !important; background: var(--navy); border-radius: 999px; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); }
.header-mode { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.header-mode span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--teal-soft); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 850;
  font-size: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: white; background: var(--navy); box-shadow: 0 10px 24px rgba(11, 31, 51, 0.17); }
.button-primary:hover { background: var(--navy-2); box-shadow: 0 14px 30px rgba(11, 31, 51, 0.22); }
.button-secondary { color: var(--navy); background: white; border-color: var(--line-strong); }
.button-secondary:hover { border-color: var(--navy); }
.button-ghost { color: var(--navy); background: var(--surface-soft); border-color: var(--line); }
.button-back { color: var(--text); background: transparent; border-color: var(--line-strong); }
.button-light { color: var(--navy); background: white; }
.button-outline-light { color: white; background: transparent; border-color: rgba(255, 255, 255, 0.38); }
.button-large { min-height: 54px; padding: 15px 23px; border-radius: 14px; }
.button-small { min-height: 38px; padding: 9px 14px; font-size: 0.8rem; }

.section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.section-label i { width: 22px; height: 2px; border-radius: 999px; background: currentColor; }
.section-label.light { color: #99e4d5; }

/* Home */
.hero-clean { position: relative; overflow: hidden; padding: 96px 0 108px; background: linear-gradient(180deg, #fff 0%, #f8fafb 100%); }
.hero-clean::before { content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(0,169,143,0.1), transparent 68%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, 0.88fr); gap: 72px; align-items: center; }
.hero-copy h1 { max-width: 720px; margin: 18px 0 24px; font-size: clamp(3.1rem, 6vw, 5.8rem); line-height: 0.99; letter-spacing: -0.065em; }
.hero-copy h1 em { color: var(--teal-dark); font-style: normal; }
.hero-lead { max-width: 700px; margin: 0; color: var(--text); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: var(--muted); font-size: 0.8rem; font-weight: 750; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof b { color: var(--teal-dark); font-size: 0.7rem; letter-spacing: 0.12em; }
.hero-visual { position: relative; min-height: 500px; }
.visual-map { position: absolute; inset: 0 30px 20px 0; overflow: hidden; border: 1px solid #dbe7eb; border-radius: 30px; background: #edf3f4; box-shadow: var(--shadow-md); }
.visual-map::before, .visual-map::after { content: ""; position: absolute; inset: -30%; background: repeating-linear-gradient(25deg, transparent 0 74px, rgba(255,255,255,0.92) 75px 88px); }
.visual-map::after { transform: rotate(90deg); opacity: 0.75; }
.map-road { position: absolute; z-index: 2; height: 18px; background: white; border: 1px solid #e1e8ea; transform-origin: left; }
.road-a { width: 125%; top: 28%; left: -10%; transform: rotate(19deg); }
.road-b { width: 115%; top: 68%; left: -8%; transform: rotate(-16deg); }
.road-c { width: 96%; top: 45%; left: 12%; transform: rotate(74deg); }
.map-lot { position: absolute; z-index: 4; width: 220px; height: 132px; left: 82px; top: 145px; border: 3px solid var(--teal); border-radius: 10px; background: rgba(0, 169, 143, 0.24); transform: rotate(16deg); box-shadow: inset 0 0 0 8px rgba(255,255,255,0.35); }
.map-pin { position: absolute; z-index: 5; left: 172px; top: 170px; width: 48px; height: 48px; border-radius: 50% 50% 50% 8px; background: var(--navy); transform: rotate(-45deg); box-shadow: 0 12px 24px rgba(11,31,51,0.26); }
.map-pin i { position: absolute; width: 13px; height: 13px; left: 17px; top: 17px; border-radius: 50%; background: #8ee7d5; }
.visual-card { position: absolute; z-index: 8; right: 0; top: 72px; width: 318px; padding: 21px; border: 1px solid rgba(218, 228, 234, 0.9); border-radius: 20px; background: rgba(255,255,255,0.96); box-shadow: var(--shadow-lg); }
.visual-card-head, .visual-score, .metric-row, .visual-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.visual-card-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.visual-score { justify-content: flex-start; padding: 20px 0; }
.score-dial { width: 76px; height: 76px; display: grid; place-content: center; border-radius: 50%; background: conic-gradient(var(--teal) 0 28%, var(--navy) 28% 78%, #e8edef 78%); box-shadow: inset 0 0 0 9px white; text-align: center; }
.score-dial strong { font-size: 1.25rem; line-height: 1; }
.score-dial span { color: var(--muted); font-size: 0.6rem; }
.visual-score b, .visual-score small { display: block; }
.visual-score small { margin-top: 3px; color: var(--muted); }
.metric-row { padding: 11px 0; border-top: 1px solid #edf1f3; color: var(--text); font-size: 0.76rem; }
.metric-row b { color: var(--ink); }
.metric-ok { color: var(--green) !important; }
.visual-footer { margin: 14px -21px -21px; padding: 15px 21px; border-radius: 0 0 20px 20px; background: var(--surface-soft); font-size: 0.73rem; }
.visual-footer span { color: var(--muted); }
.floating-chip { position: absolute; z-index: 9; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; box-shadow: var(--shadow-sm); color: var(--ink); font-size: 0.72rem; font-weight: 800; }
.floating-chip span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); }
.chip-top { top: 26px; left: 20px; }
.chip-bottom { bottom: 4px; right: 74px; }

.solutions-section { padding: 110px 0; }
.section-heading { margin-bottom: 42px; }
.split-heading { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 80px; align-items: end; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -0.055em; }
.section-heading > p { margin: 0; color: var(--text); font-size: 1.05rem; }
.centered-heading { max-width: 780px; margin-inline: auto; text-align: center; }
.centered-heading p { color: var(--text); }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.solution-card { position: relative; min-height: 590px; overflow: hidden; padding: 44px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow-sm); }
.solution-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%; background: var(--teal-soft); opacity: 0.55; }
.solution-project::after { background: var(--blue-soft); }
.solution-number { position: absolute; right: 34px; top: 28px; z-index: 2; color: #d9e1e6; font-size: 4rem; font-weight: 900; letter-spacing: -0.08em; }
.solution-icon { position: relative; z-index: 3; width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 18px; color: var(--teal-dark); background: var(--teal-soft); }
.solution-project .solution-icon { color: var(--blue); background: var(--blue-soft); }
.solution-icon svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-kicker { color: var(--teal-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.solution-card h3 { max-width: 560px; margin: 12px 0 15px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -0.045em; }
.solution-card > p { margin: 0; color: var(--text); }
.clean-list { list-style: none; display: grid; gap: 13px; padding: 0; margin: 28px 0 34px; }
.clean-list li { position: relative; padding-left: 27px; color: var(--text); font-size: 0.92rem; }
.clean-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 0.66rem; font-weight: 900; }
.card-link { position: absolute; left: 44px; bottom: 40px; display: inline-flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 900; }
.card-link span { font-size: 1.4rem; color: var(--teal); }

.method-section { padding: 110px 0; background: var(--surface-soft); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; }
.method-grid article { position: relative; padding: 0 28px; border-left: 1px solid var(--line-strong); }
.method-grid article:first-child { border-left: 0; padding-left: 0; }
.method-grid article:last-child { padding-right: 0; }
.method-grid article > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: white; color: var(--teal-dark); font-weight: 900; }
.method-grid h3 { margin: 24px 0 10px; font-size: 1.16rem; }
.method-grid p { margin: 0; color: var(--text); font-size: 0.9rem; }

.scope-section { padding: 110px 0; }
.scope-card { display: grid; grid-template-columns: 1fr 0.95fr; gap: 70px; padding: 62px; border-radius: 30px; color: white; background: linear-gradient(135deg, #091d31, #123a53); box-shadow: var(--shadow-lg); }
.scope-copy h2 { margin: 14px 0 18px; color: white; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -0.055em; }
.scope-copy p { color: #c4d2dc; }
.scope-copy .button { margin-top: 16px; }
.scope-points { display: grid; gap: 13px; align-content: center; }
.scope-points > div { display: flex; gap: 14px; padding: 19px; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; background: rgba(255,255,255,0.06); }
.scope-points > div > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--navy); background: #8ee7d5; font-weight: 900; }
.scope-points p, .scope-points b { display: block; margin: 0; }
.scope-points p { color: #c4d2dc; font-size: 0.9rem; line-height: 1.5; }
.scope-points b { color: white; margin-bottom: 3px; }
.site-footer { padding: 52px 0; color: #b8c7d1; background: #071725; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.brand-light { color: white; }
.footer-inner p { max-width: 650px; margin: 8px 0 0; font-size: 0.82rem; }

/* Wizard */
.app-page { min-height: 100vh; background: var(--surface-soft); }
.app-header { position: sticky; }
.app-intro { padding: 40px 0 28px; background: white; border-bottom: 1px solid var(--line); }
.app-intro-inner { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 0.8rem; font-weight: 750; }
.app-intro h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.055em; }
.app-intro p { max-width: 760px; margin: 0; color: var(--text); }
.analysis-workspace { padding: 34px 0 74px; }
.workspace-grid { display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 26px; align-items: start; }
.progress-panel { position: sticky; top: 106px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-sm); }
.progress-intro h2 { margin: 8px 0 7px; font-size: 1.65rem; letter-spacing: -0.04em; }
.progress-intro p { margin: 0; color: var(--text); font-size: 0.83rem; }
.progress-list { list-style: none; display: grid; gap: 20px; padding: 25px 0; margin: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.progress-list li { position: relative; display: flex; gap: 12px; align-items: center; color: var(--muted); }
.progress-list li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; width: 2px; height: 24px; background: var(--line); }
.progress-list li > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; background: white; font-size: 0.76rem; font-weight: 900; }
.progress-list b, .progress-list small { display: block; }
.progress-list b { color: var(--text); font-size: 0.86rem; }
.progress-list small { margin-top: 2px; font-size: 0.7rem; }
.progress-list li.active > span, .progress-list li.completed > span { color: white; border-color: var(--teal); background: var(--teal); }
.progress-list li.active b { color: var(--navy); }
.progress-list li.completed:not(:last-child)::after { background: var(--teal); }
.progress-note { display: flex; gap: 10px; padding: 14px; border-radius: 13px; background: var(--surface-blue); }
.progress-note > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--blue); font-size: 0.7rem; font-weight: 900; }
.progress-note p { margin: 0; color: var(--text); font-size: 0.73rem; line-height: 1.45; }
.analysis-form { min-width: 0; }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp 0.28s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-card { padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 25px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.step-caption { color: var(--teal-dark); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.form-heading h2 { margin: 7px 0 7px; font-size: clamp(1.55rem, 2.4vw, 2.25rem); letter-spacing: -0.045em; }
.form-heading p { margin: 0; color: var(--text); font-size: 0.9rem; }
.heading-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; color: var(--teal-dark); background: var(--teal-soft); }
.heading-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-alert { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #f1c4c4; border-radius: 12px; color: #8b2e2e; background: var(--red-soft); font-size: 0.86rem; font-weight: 800; }
.field-grid { display: grid; gap: 19px; }
.field-grid-2 { grid-template-columns: 1fr 1fr; }
.field-grid-3 { grid-template-columns: repeat(3, 1fr); }
.field-wide, .field-span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { color: var(--ink); font-size: 0.8rem; font-weight: 850; }
.field > span b { color: var(--red); }
.field small { color: var(--muted); font-size: 0.7rem; line-height: 1.45; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: white;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,169,143,0.1); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(199,75,75,0.09); }
.input-unit { display: flex; align-items: center; overflow: hidden; min-height: 47px; border: 1px solid var(--line-strong); border-radius: 11px; background: white; }
.input-unit:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,169,143,0.1); }
.input-unit input { min-height: 45px; border: 0; border-radius: 0; box-shadow: none !important; }
.input-unit i { padding: 0 13px; color: var(--muted); font-size: 0.78rem; font-style: normal; white-space: nowrap; }
.input-unit.prefix i { border-right: 1px solid var(--line); }
.subsection-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 5px 0 18px; }
.subsection-title.spaced { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.subsection-title > span { font-size: 1rem; font-weight: 900; }
.subsection-title p { margin: 0; color: var(--muted); font-size: 0.73rem; }
.compact-fields { gap: 14px 18px; }
.location-search { position: relative; margin-bottom: 18px; }
.location-search > label { display: block; margin-bottom: 8px; font-size: 0.8rem; font-weight: 850; }
.search-control { display: flex; align-items: center; overflow: hidden; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 13px; background: white; }
.search-control svg { width: 21px; height: 21px; margin-left: 15px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-control input { min-width: 0; flex: 1; height: 50px; padding: 0 13px; border: 0; outline: 0; }
.search-control button { align-self: stretch; padding: 0 22px; border: 0; color: white; background: var(--navy); cursor: pointer; font-weight: 850; }
.search-results { position: absolute; z-index: 700; left: 0; right: 0; top: calc(100% + 6px); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-md); }
.search-results button { width: 100%; display: flex; gap: 11px; align-items: center; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.search-results button:hover { background: var(--surface-soft); }
.search-results b, .search-results small { display: block; }
.search-results b { font-size: 0.78rem; }
.search-results small { margin-top: 3px; color: var(--muted); }
.result-pin { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); }
.search-loading, .search-empty { padding: 15px; color: var(--text); font-size: 0.8rem; }
.map-shell { position: relative; overflow: hidden; height: 370px; margin-bottom: 23px; border: 1px solid var(--line-strong); border-radius: 17px; background: #e8eff0; }
.compact-map { height: 300px; }
.map-canvas { width: 100%; height: 100%; }
.map-hint { position: absolute; z-index: 500; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,0.92); box-shadow: var(--shadow-sm); font-size: 0.7rem; font-weight: 800; }
.leaflet-control-container { font-family: inherit; }
.financial-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 21px; border: 1px solid #cce9e3; border-radius: 16px; background: linear-gradient(135deg, #f0faf7, #f7fbfc); }
.financial-callout span, .financial-callout strong, .financial-callout p { display: block; }
.financial-callout > div > span { color: var(--teal-dark); font-size: 0.67rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.financial-callout strong { margin: 4px 0; font-size: 1.06rem; }
.financial-callout p { margin: 0; color: var(--text); font-size: 0.78rem; }
.financial-badge { padding: 8px 12px; border-radius: 999px; color: var(--teal-dark) !important; background: var(--teal-soft); font-size: 0.68rem !important; font-weight: 900; white-space: nowrap; }
.advanced-panel { margin-top: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.advanced-panel summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; cursor: pointer; font-size: 0.82rem; font-weight: 850; list-style: none; }
.advanced-panel summary::-webkit-details-marker { display: none; }
.advanced-panel[open] summary { border-bottom: 1px solid var(--line); }
.advanced-panel > div { padding: 18px; }
.field-notes { margin-top: 22px; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; }
.final-actions { padding-bottom: 20px; }
.button-submit { min-width: 245px; }
.submit-loader { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,0.35); border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-grid > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.review-grid span, .review-grid strong { display: block; }
.review-grid span { color: var(--muted); font-size: 0.67rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.review-grid strong { margin-top: 5px; font-size: 0.86rem; overflow-wrap: anywhere; }
.review-notice { display: flex; gap: 13px; margin-top: 22px; padding: 17px; border: 1px solid #f2d6af; border-radius: 13px; background: var(--orange-soft); }
.review-notice > span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--orange); font-weight: 900; }
.review-notice strong, .review-notice p { display: block; }
.review-notice p { margin: 3px 0 0; color: #725638; font-size: 0.76rem; line-height: 1.45; }
.consent-row { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; color: var(--text); font-size: 0.76rem; line-height: 1.5; }
.consent-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--teal); }
.upload-zone { position: relative; min-height: 170px; display: grid; grid-template-columns: auto 1fr auto; gap: 19px; align-items: center; margin-top: 26px; padding: 28px; border: 1.5px dashed #a9c1ca; border-radius: 17px; background: #f7fbfb; transition: border-color 0.18s ease, background 0.18s ease; }
.upload-zone.dragging { border-color: var(--teal); background: var(--teal-soft); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: var(--teal-dark); background: var(--teal-soft); }
.upload-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.upload-zone strong, .upload-zone p { display: block; }
.upload-zone p { margin: 5px 0 0; color: var(--muted); font-size: 0.75rem; }
.file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 0.74rem; }
.file-chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.file-chip span { max-width: 310px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 800; }
.file-chip small { color: var(--muted); }
.extraction-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.extraction-actions > span { color: var(--muted); font-size: 0.72rem; }
.extraction-result { margin-top: 17px; padding: 18px; border: 1px solid #cce9e3; border-radius: 15px; background: #f5fbf9; }
.extraction-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.extraction-head span, .extraction-head strong { display: block; }
.extraction-head > div > span { color: var(--teal-dark); font-size: 0.67rem; font-weight: 900; text-transform: uppercase; }
.extraction-head strong { margin-top: 3px; }
.status-badge { padding: 7px 10px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); font-size: 0.68rem; font-weight: 900; }
.extraction-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 15px; }
.extraction-grid > div { padding: 11px; border: 1px solid #d8ebe6; border-radius: 10px; background: white; }
.extraction-grid span, .extraction-grid strong { display: block; }
.extraction-grid span { color: var(--muted); font-size: 0.65rem; }
.extraction-grid strong { margin-top: 3px; font-size: 0.8rem; }
.extraction-result > p { margin: 13px 0 0; color: var(--text); font-size: 0.76rem; }
.extraction-result ul { margin: 10px 0 0; padding-left: 20px; color: var(--text); font-size: 0.73rem; }
.inline-loading { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.8rem; }
.inline-loading span { width: 17px; height: 17px; border: 2px solid #bcd9d2; border-top-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; }
.extraction-error { color: #8b2e2e; }
.extraction-error p { margin: 4px 0 0; }

/* Results */
.result-page { min-height: 100vh; background: var(--surface-soft); }
.result-shell { padding: 36px 0 80px; }
.result-loading, .result-error { min-height: 65vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.result-loading h1, .result-error h1 { margin: 22px 0 7px; font-size: 2.2rem; letter-spacing: -0.04em; }
.result-loading p, .result-error p { margin: 0; color: var(--text); }
.loading-mark { width: 62px; height: 62px; border: 5px solid #dce8eb; border-top-color: var(--teal); border-radius: 50%; animation: spin 0.9s linear infinite; }
.error-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); font-size: 1.8rem; font-weight: 900; }
.result-hero-v2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; overflow: hidden; border-radius: 28px; color: white; background: linear-gradient(135deg, #071c2f, #123a53); box-shadow: var(--shadow-lg); }
.result-main-copy { padding: 48px 52px; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.result-id { color: #9db3c2; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; }
.result-main-copy h1 { margin: 22px 0 8px; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -0.06em; }
.result-address { max-width: 760px; margin: 0; color: #c2d1db; font-size: 0.95rem; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.result-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; color: #d4e0e7; background: rgba(255,255,255,0.05); font-size: 0.7rem; font-weight: 750; }
.result-verdict { display: flex; gap: 15px; align-items: center; margin-top: 30px; padding: 18px; border: 1px solid rgba(255,255,255,0.13); border-radius: 16px; background: rgba(255,255,255,0.06); }
.result-verdict > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--navy); background: #8ee7d5; font-size: 1.2rem; font-weight: 900; }
.result-verdict small, .result-verdict strong { display: block; }
.result-verdict small { color: #8ee7d5; font-size: 0.61rem; font-weight: 900; letter-spacing: 0.11em; }
.result-verdict strong { margin-top: 4px; font-size: 1.12rem; }
.result-verdict p { margin: 3px 0 0; color: #bdd0dc; font-size: 0.76rem; line-height: 1.45; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.result-score-block { padding: 48px 32px; display: grid; align-content: center; justify-items: center; background: rgba(255,255,255,0.06); border-left: 1px solid rgba(255,255,255,0.1); }
.result-score-ring { --score: 0; width: 166px; height: 166px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) calc(var(--score) * 1%), rgba(255,255,255,0.12) 0); }
.result-score-ring::before { content: ""; position: absolute; width: 133px; height: 133px; border-radius: 50%; background: #12334a; }
.result-score-ring { position: relative; }
.result-score-ring > div { position: relative; z-index: 2; display: flex; align-items: baseline; }
.result-score-ring strong { font-size: 3rem; line-height: 1; letter-spacing: -0.06em; }
.result-score-ring span { color: #9db3c2; font-size: 0.8rem; }
.result-score-block.positive .result-score-ring { background: conic-gradient(#38c89e calc(var(--score) * 1%), rgba(255,255,255,0.12) 0); }
.result-score-block.negative .result-score-ring { background: conic-gradient(#e57575 calc(var(--score) * 1%), rgba(255,255,255,0.12) 0); }
.result-score-block.review .result-score-ring, .result-score-block.conditional .result-score-ring, .result-score-block.price_guidance .result-score-ring { background: conic-gradient(#eca85d calc(var(--score) * 1%), rgba(255,255,255,0.12) 0); }
.score-caption { margin-top: 13px; color: #b7c8d4; font-size: 0.7rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.09em; }
.subscore-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.subscore-grid > div { padding: 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; text-align: center; }
.subscore-grid span, .subscore-grid strong { display: block; }
.subscore-grid span { color: #9fb2bf; font-size: 0.64rem; }
.subscore-grid strong { margin-top: 3px; font-size: 1.16rem; }
.result-score-block > p { margin: 16px 0 0; color: #9fb2bf; font-size: 0.68rem; text-align: center; line-height: 1.45; }
.result-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 18px 0 0; }
.summary-result-card { display: flex; align-items: center; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow-sm); }
.summary-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; font-weight: 900; }
.summary-result-card.danger .summary-icon { color: var(--red); background: var(--red-soft); }
.summary-result-card.warning .summary-icon { color: var(--orange); background: var(--orange-soft); }
.summary-result-card.success .summary-icon { color: var(--green); background: var(--green-soft); }
.summary-result-card.finance .summary-icon { color: var(--blue); background: var(--blue-soft); }
.summary-result-card strong, .summary-result-card span:not(.summary-icon) { display: block; }
.summary-result-card strong { font-size: 1.2rem; letter-spacing: -0.02em; }
.summary-result-card span:not(.summary-icon) { margin-top: 2px; color: var(--muted); font-size: 0.67rem; }
.result-section { margin-top: 22px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.result-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 27px; }
.result-section-heading h2 { margin: 9px 0 0; font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -0.05em; }
.result-section-heading > p { max-width: 410px; margin: 0; color: var(--text); font-size: 0.82rem; }
.official-status { display: flex; gap: 13px; align-items: center; margin-bottom: 18px; padding: 15px 17px; border: 1px solid #cfe0ec; border-radius: 14px; background: var(--surface-blue); }
.official-status > span { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; }
.official-status strong, .official-status p { display: block; }
.official-status p { margin: 2px 0 0; color: var(--text); font-size: 0.75rem; }
.proposal-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.proposal-tabs button { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); text-align: left; cursor: pointer; }
.proposal-tabs button.active { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 3px rgba(0,169,143,0.08); }
.proposal-tabs span, .proposal-tabs strong, .proposal-tabs small { display: block; }
.proposal-tabs span { color: var(--teal-dark); font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; }
.proposal-tabs strong { margin: 5px 0; font-size: 0.83rem; }
.proposal-tabs small { color: var(--muted); font-size: 0.67rem; }
.proposal-detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; margin-top: 14px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; }
.proposal-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.proposal-badges span { padding: 6px 9px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); font-size: 0.64rem; font-weight: 900; }
.proposal-badges .recommended { color: var(--blue); background: var(--blue-soft); }
.proposal-copy h3 { margin: 15px 0 9px; font-size: 1.65rem; letter-spacing: -0.04em; }
.proposal-copy > p { margin: 0; color: var(--text); font-size: 0.82rem; }
.proposal-note { margin-top: 20px; padding: 13px; border-radius: 11px; background: var(--surface-soft); }
.proposal-note span, .proposal-note strong { display: block; }
.proposal-note span { color: var(--muted); font-size: 0.63rem; text-transform: uppercase; }
.proposal-note strong { margin-top: 3px; font-size: 0.78rem; }
.proposal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.proposal-metrics > div { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.proposal-metrics span, .proposal-metrics strong { display: block; }
.proposal-metrics span { color: var(--muted); font-size: 0.63rem; }
.proposal-metrics strong { margin-top: 5px; font-size: 0.95rem; }
.financial-classification { display: flex; align-items: center; gap: 10px; max-width: 400px; padding: 11px 13px; border-radius: 13px; }
.financial-classification > span { min-width: 54px; padding: 8px; border-radius: 10px; text-align: center; font-weight: 900; }
.financial-classification strong, .financial-classification small { display: block; }
.financial-classification strong { font-size: 0.78rem; }
.financial-classification small { margin-top: 2px; color: var(--text); font-size: 0.64rem; }
.financial-classification.positive { background: var(--green-soft); }
.financial-classification.positive > span { color: var(--green); background: white; }
.financial-classification.conditional, .financial-classification.review { background: var(--orange-soft); }
.financial-classification.conditional > span, .financial-classification.review > span { color: var(--orange); background: white; }
.financial-classification.negative { background: var(--red-soft); }
.financial-classification.negative > span { color: var(--red); background: white; }
.financial-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.financial-kpi { min-height: 122px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.financial-kpi.featured { background: white; box-shadow: var(--shadow-sm); }
.financial-kpi span, .financial-kpi strong, .financial-kpi small { display: block; }
.financial-kpi span { color: var(--muted); font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.financial-kpi strong { margin-top: 12px; font-size: clamp(1.1rem, 2vw, 1.55rem); letter-spacing: -0.035em; }
.financial-kpi small { margin-top: 5px; color: var(--muted); font-size: 0.64rem; }
.negative-value { color: var(--red) !important; }
.financial-breakdown-grid { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 13px; margin-top: 13px; }
.chart-card, .decision-card, .scenario-panel { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.card-title-row { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.card-title-row span { color: var(--teal-dark); font-size: 0.63rem; font-weight: 900; letter-spacing: 0.09em; }
.card-title-row h3 { margin: 5px 0 0; font-size: 1.15rem; }
.card-title-row > p { margin: 0; color: var(--muted); font-size: 0.7rem; }
.investment-bars { display: grid; gap: 11px; margin-top: 19px; }
.investment-row > div:first-child { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 5px; color: var(--text); font-size: 0.69rem; }
.investment-row strong { color: var(--ink); }
.investment-track { overflow: hidden; height: 7px; border-radius: 999px; background: #edf1f3; }
.investment-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--teal)); }
.decision-card { color: white; background: linear-gradient(145deg, #0b2033, #17445c); }
.decision-kicker { color: #8ee7d5; font-size: 0.63rem; font-weight: 900; letter-spacing: 0.1em; }
.decision-card h3 { margin: 10px 0 7px; font-size: 1.35rem; line-height: 1.15; }
.decision-card > p { margin: 0 0 18px; color: #bfd0db; font-size: 0.74rem; line-height: 1.5; }
.decision-price, .decision-cushion, .decision-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.11); font-size: 0.7rem; }
.decision-price span, .decision-cushion span, .decision-foot span { color: #a9bdc9; }
.decision-cushion strong { color: #8ee7d5; }
.decision-cushion.low strong { color: #f2b56f; }
.decision-foot { margin-top: 6px; padding: 14px; border: 0; border-radius: 11px; background: rgba(255,255,255,0.07); }
.scenario-panel { margin-top: 13px; }
.scenario-table-wrap, .table-wrap { overflow-x: auto; margin-top: 19px; }
.scenario-table, .cost-table { width: 100%; min-width: 830px; border-collapse: collapse; }
.scenario-table th, .scenario-table td, .cost-table th, .cost-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: right; font-size: 0.72rem; }
.scenario-table th, .cost-table th { color: var(--muted); background: var(--surface-soft); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.05em; }
.scenario-table th:first-child, .scenario-table td:first-child, .cost-table th:first-child, .cost-table td:first-child, .cost-table th:nth-child(2), .cost-table td:nth-child(2), .cost-table th:nth-child(3), .cost-table td:nth-child(3), .cost-table th:nth-child(4), .cost-table td:nth-child(4) { text-align: left; }
.scenario-table td strong, .scenario-table td small { display: block; }
.scenario-table td small { margin-top: 3px; color: var(--muted); font-size: 0.61rem; }
.scenario-base { background: #f3faf8; }
.critical-list { display: grid; gap: 9px; }
.critical-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 13px; }
.critical-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--teal-dark); background: var(--teal-soft); font-size: 0.72rem; font-weight: 900; }
.critical-item h3 { margin: 0 0 4px; font-size: 0.91rem; }
.critical-item p { margin: 0; color: var(--text); font-size: 0.73rem; line-height: 1.45; }
.critical-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.64rem; }
.priority-pill { padding: 6px 9px; border-radius: 999px; font-size: 0.61rem; font-weight: 900; text-transform: uppercase; }
.priority-pill.crítica { color: var(--red); background: var(--red-soft); }
.priority-pill.alta { color: var(--orange); background: var(--orange-soft); }
.priority-pill.media { color: var(--blue); background: var(--blue-soft); }
.priority-pill.baja { color: var(--green); background: var(--green-soft); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-pills button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: white; cursor: pointer; font-size: 0.65rem; font-weight: 850; }
.filter-pills button.active { color: white; border-color: var(--navy); background: var(--navy); }
.findings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finding-card { position: relative; overflow: hidden; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.finding-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--line-strong); }
.finding-card.priority-crítica::before { background: var(--red); }
.finding-card.priority-alta::before { background: var(--orange); }
.finding-card.priority-media::before { background: var(--blue); }
.finding-card.priority-baja::before { background: var(--green); }
.finding-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.63rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.finding-card h3 { margin: 12px 0 7px; font-size: 1.02rem; }
.finding-result { display: inline-block; padding: 5px 8px; border-radius: 999px; color: var(--text); background: var(--surface-soft); font-size: 0.63rem; font-weight: 800; }
.finding-card > p { margin: 12px 0 17px; color: var(--text); font-size: 0.75rem; line-height: 1.5; }
.finding-action { padding-top: 14px; border-top: 1px solid var(--line); }
.finding-action span, .finding-action strong, .finding-action small { display: block; }
.finding-action span { color: var(--teal-dark); font-size: 0.59rem; font-weight: 900; text-transform: uppercase; }
.finding-action strong { margin-top: 4px; font-size: 0.72rem; line-height: 1.45; }
.finding-action small { margin-top: 5px; color: var(--muted); font-size: 0.61rem; }
.budget-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.budget-overview article { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.budget-overview span, .budget-overview strong, .budget-overview small { display: block; }
.budget-overview span { color: var(--muted); font-size: 0.64rem; }
.budget-overview strong { margin-top: 7px; font-size: 1.05rem; }
.budget-overview small { margin-top: 4px; color: var(--muted); font-size: 0.61rem; }
.cost-table tfoot td { font-weight: 900; background: var(--surface-soft); }
.cost-table .not-included { color: var(--muted); opacity: 0.72; }
.cost-status { display: inline-block; padding: 5px 7px; border-radius: 999px; background: var(--surface-soft); font-size: 0.61rem; font-weight: 800; }
.table-note { margin: 13px 0 0; color: var(--muted); font-size: 0.68rem; }
.requirements-list { display: grid; gap: 8px; margin-top: 26px; }
.requirements-title { margin-bottom: 6px; }
.requirements-title span { color: var(--teal-dark); font-size: 0.62rem; font-weight: 900; letter-spacing: 0.09em; }
.requirements-title h3 { margin: 5px 0 0; }
.requirements-list article { display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.requirements-list article > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-size: 0.66rem; font-weight: 900; }
.requirements-list small, .requirements-list strong, .requirements-list p { display: block; }
.requirements-list small { color: var(--muted); font-size: 0.61rem; }
.requirements-list strong { margin-top: 3px; font-size: 0.77rem; }
.requirements-list p { margin: 3px 0 0; color: var(--text); font-size: 0.65rem; }
.requirements-list article > b { padding: 6px 8px; border-radius: 999px; color: var(--text); background: var(--surface-soft); font-size: 0.6rem; }
.transparency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.transparency-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.transparency-grid h3 { margin: 0 0 13px; font-size: 0.9rem; }
.transparency-grid ul { display: grid; gap: 9px; padding: 0 0 0 17px; margin: 0; color: var(--text); font-size: 0.69rem; line-height: 1.45; }
.transparency-grid li strong, .transparency-grid li span { display: block; }
.transparency-grid li span { margin-top: 2px; color: var(--muted); }
.scope-banner { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 15px; border: 1px solid #cfe0ec; border-radius: 13px; background: var(--surface-blue); }
.scope-banner > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; }
.scope-banner p { margin: 0; color: var(--text); font-size: 0.69rem; line-height: 1.45; }
.result-cta-card { display: flex; justify-content: space-between; gap: 45px; align-items: center; margin-top: 22px; padding: 42px; border-radius: 22px; color: white; background: linear-gradient(135deg, #071c2f, #123a53); box-shadow: var(--shadow-md); }
.result-cta-card h2 { margin: 11px 0 8px; font-size: 2rem; letter-spacing: -0.045em; }
.result-cta-card p { max-width: 700px; margin: 0; color: #bfd0db; font-size: 0.8rem; }
.result-cta-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.empty-state { grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--line-strong); border-radius: 13px; color: var(--text); background: var(--surface-soft); text-align: center; }
.empty-state p { margin: 5px 0 0; font-size: 0.75rem; }

/* 404 */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: var(--surface-soft); }
.error-card { max-width: 620px; padding: 50px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow-md); text-align: center; }

@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { width: min(720px, 100%); min-height: 500px; }
  .workspace-grid { grid-template-columns: 235px minmax(0, 1fr); }
  .financial-kpis { grid-template-columns: repeat(2, 1fr); }
  .budget-overview { grid-template-columns: 1fr 1fr; }
  .result-summary-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 1180px); }
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); display: none; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-md); }
  .main-nav.open { display: grid; }
  .app-nav { display: none; }
  .header-mode { margin-left: auto; }
  .hero-clean { padding: 70px 0 86px; }
  .hero-copy h1 { font-size: clamp(3rem, 12vw, 5.2rem); }
  .split-heading, .solution-grid, .scope-card, .proposal-detail, .financial-breakdown-grid, .result-hero-v2 { grid-template-columns: 1fr; }
  .solution-card { min-height: 540px; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 35px 0; }
  .scope-card { padding: 42px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .progress-panel { position: static; }
  .progress-intro, .progress-note { display: none; }
  .progress-list { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0; border: 0; }
  .progress-list li { display: grid; justify-items: center; text-align: center; gap: 7px; }
  .progress-list li:not(:last-child)::after { left: calc(50% + 18px); top: 16px; width: calc(100% - 36px); height: 2px; }
  .progress-list small { display: none; }
  .form-card { padding: 28px; }
  .field-grid-3 { grid-template-columns: 1fr 1fr; }
  .extraction-grid { grid-template-columns: repeat(3, 1fr); }
  .result-score-block { border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .result-section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .proposal-tabs { grid-template-columns: 1fr; }
  .proposal-metrics { grid-template-columns: repeat(3, 1fr); }
  .findings-grid { grid-template-columns: 1fr; }
  .transparency-grid { grid-template-columns: 1fr; }
  .result-cta-card { align-items: flex-start; flex-direction: column; }
  .result-cta-actions { width: 100%; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 66px; }
  .brand-mark { width: 31px; height: 35px; border-width: 7px; }
  .brand-word { font-size: 1.05rem; }
  .header-mode { font-size: 0.7rem; }
  .header-mode span { width: 25px; height: 25px; }
  .hero-actions, .result-actions { display: grid; }
  .hero-actions .button, .result-actions .button { width: 100%; }
  .hero-visual { min-height: 440px; }
  .visual-map { right: 0; }
  .visual-card { width: 285px; right: 10px; }
  .map-lot { left: 38px; }
  .map-pin { left: 128px; }
  .chip-top { left: 5px; }
  .chip-bottom { right: 10px; }
  .solutions-section, .method-section, .scope-section { padding: 78px 0; }
  .solution-card { min-height: 570px; padding: 30px; }
  .card-link { left: 30px; bottom: 30px; }
  .method-grid { grid-template-columns: 1fr; gap: 0; }
  .method-grid article, .method-grid article:first-child, .method-grid article:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .method-grid article:first-child { border-top: 0; }
  .scope-card { padding: 30px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .app-intro-inner { align-items: flex-start; flex-direction: column; }
  .app-intro h1 { font-size: 2.35rem; }
  .progress-list b { font-size: 0.65rem; }
  .progress-list li > span { width: 30px; height: 30px; }
  .progress-list li:not(:last-child)::after { left: calc(50% + 15px); top: 14px; width: calc(100% - 30px); }
  .form-card { padding: 21px; border-radius: 17px; }
  .form-heading { gap: 15px; }
  .heading-icon { width: 42px; height: 42px; }
  .heading-icon svg { width: 24px; height: 24px; }
  .field-grid-2, .field-grid-3 { grid-template-columns: 1fr; }
  .field-wide, .field-span-2 { grid-column: auto; }
  .subsection-title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .map-shell { height: 310px; }
  .upload-zone { grid-template-columns: auto 1fr; padding: 20px; }
  .upload-zone .button { grid-column: 1 / -1; }
  .extraction-actions { align-items: flex-start; flex-direction: column; }
  .extraction-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .step-actions { align-items: stretch; flex-direction: column-reverse; }
  .step-actions > .button, .button-submit { width: 100%; }
  .result-shell { padding-top: 18px; }
  .result-main-copy { padding: 31px 24px; }
  .result-topline { align-items: flex-start; flex-direction: column; gap: 8px; }
  .result-score-block { padding: 34px 24px; }
  .result-summary-grid { grid-template-columns: 1fr; }
  .result-section { padding: 24px 19px; }
  .proposal-metrics, .financial-kpis, .budget-overview { grid-template-columns: 1fr 1fr; }
  .critical-item { grid-template-columns: 40px 1fr; }
  .critical-item .priority-pill { grid-column: 2; justify-self: start; }
  .result-cta-card { padding: 30px 24px; }
  .result-cta-actions { display: grid; }
  .result-cta-actions .button { width: 100%; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 20px); }
  .header-mode { display: none; }
  .hero-visual { min-height: 410px; }
  .visual-card { width: 270px; top: 70px; }
  .floating-chip { font-size: 0.63rem; }
  .proposal-metrics, .financial-kpis, .budget-overview { grid-template-columns: 1fr; }
  .subscore-grid { grid-template-columns: 1fr; }
}

/* Market comparables */
.advanced-panel .panel-explainer {
  padding: 16px 18px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.market-panel > .field-grid { padding-top: 12px; }


/* Market evidence in financial decision */
.market-read {
  display: grid;
  gap: 5px;
  margin: 12px 0 4px;
  padding: 14px;
  border: 1px solid rgba(142, 231, 213, 0.22);
  border-radius: 12px;
  background: rgba(0, 184, 148, 0.09);
}
.market-read > span { color: #8ee7d5; font-size: 0.59rem; font-weight: 900; letter-spacing: 0.1em; }
.market-read > strong { color: white; font-size: 0.78rem; line-height: 1.35; }
.market-read > b { color: #d9fff7; font-size: 0.72rem; font-weight: 800; }
.market-read > small, .market-read > em { color: #a9bdc9; font-size: 0.62rem; line-height: 1.45; font-style: normal; }
.market-read.empty { border-color: rgba(242, 181, 111, 0.25); background: rgba(245, 158, 11, 0.08); }
.market-read.empty > span { color: #f2b56f; }
