/* Baseload Energy Partners: site styles v9, direction C "industrial navy". No framework, no build step.
   Gold is used only for the hero load line, the primary button (.btn). */
:root {
  --navy: #112B46;
  --deep: #0B1E31;
  --gold: #E8A33C;
  --ink: #17212D;
  --muted: #4A5566;
  --line: #D5D8DF;
  --paper: #FFFFFF;
  --t2: #BFCAD7;
  --rule: rgba(255, 255, 255, 0.18);
  --gutter: 16px;
  --max: 1160px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--navy); color: #fff;
  font-family: var(--font); font-size: 17px; line-height: 1.55; overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #fff; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 1px; }
.ground-paper :focus-visible, .lead-form :focus-visible { outline-color: var(--navy); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 40px; } }

/* Type: one family, hierarchy from size and weight only */
h1, h2, h3 { font-family: var(--font); color: inherit; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; max-width: 17ch; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.015em; max-width: 30ch; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
.h-quiet { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--t2); max-width: none; }
.lead { font-size: 1.1rem; color: var(--t2); max-width: 40ch; }

/* Header */
.site-header { background: var(--navy); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img, .brand svg { width: 196px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; font: 600 0.95rem var(--font); color: #fff; background: none; border: 1px solid var(--rule); padding: 9px 12px; cursor: pointer; border-radius: 1px; }
.nav-toggle-lines { display: inline-block; width: 16px; height: 10px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.nav-toggle-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #fff; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--rule); }
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.site-nav a { display: block; padding: 10px 0; text-decoration: none; font-weight: 500; color: #DCE4EC; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; border: 0; }
  .site-nav ul { display: flex; gap: 28px; padding: 0; align-items: center; }
  .site-nav a { padding: 6px 0; font-size: 0.95rem; }
  .site-nav { margin-left: auto; }
  .lang-switch { margin-left: 8px; }
}
@media (max-width: 420px) { .brand img, .brand svg { width: 140px; } .lang-switch a, .lang-switch .lang-on { padding: 6px 8px; } }
@media (max-width: 370px) { .brand img, .brand svg { width: 120px; } }
/* Language switch (19 Oct 2026): ES | EN at the right end of the header on every page and width; current language filled */
.nav-toggle { order: 2; margin-left: auto; }
.site-nav { order: 2; }
.lang-switch { order: 3; display: inline-flex; align-items: stretch; flex-shrink: 0; margin-left: auto; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 2px; font: 600 0.85rem var(--font); letter-spacing: 0.04em; }
.nav-toggle + .site-nav + .lang-switch { margin-left: 0; }
.lang-switch a, .lang-switch .lang-on { display: inline-flex; align-items: center; padding: 6px 10px; min-height: 32px; text-decoration: none; line-height: 1; }
.lang-switch a { color: #DCE4EC; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.10); }
.lang-switch .lang-on { background: #fff; color: var(--navy); }

/* Grounds */
section { padding: 56px 0; scroll-margin-top: 12px; }
@media (max-width: 719px) { section { padding: 40px 0; } }
.ground-deep { background: var(--deep); }
.ground-paper { background: var(--paper); color: var(--ink); }
.ground-paper h2, .ground-paper h3 { color: var(--navy); }
.section-head { margin-bottom: 28px; }
.section-head p { margin-top: 12px; max-width: 60ch; color: var(--t2); font-size: 1.05rem; }
.ground-paper .section-head p { color: var(--muted); }

/* Hero: headline, lead and action, one gold load line */
.hero { padding: 64px 0 0; }
.hero-under { display: grid; gap: 28px; margin-top: 32px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-pos { color: var(--t2); font-size: 0.98rem; max-width: 34ch; }
.loadline { display: block; height: 12px; background: var(--gold); margin-top: 48px; }
@media (min-width: 900px) { .hero-under { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; } .hero-actions { padding-left: 14%; } }
@media (max-width: 719px) { .hero { padding-top: 40px; } .hero-under { margin-top: 22px; } .loadline { height: 10px; margin-top: 36px; } }

/* Buttons: .btn is the primary (gold) */
.btn { display: inline-block; background: var(--gold); color: var(--navy); text-decoration: none; font: 700 1rem var(--font); padding: 15px 28px; border: 0; border-radius: 1px; cursor: pointer; }
.btn:hover { background: #F0B65E; color: var(--navy); }
.btn-light { background: var(--gold); color: var(--navy); }

/* Proof: three figures, hairline rule, no boxes */
section.proof { padding: 40px 0 44px; }
.proof-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; border-top: 1px solid var(--rule); }
.proof-list li { padding-top: 18px; }
.proof-list strong { display: block; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: -0.01em; line-height: 1.15; }
.proof-list span { display: block; margin-top: 6px; color: var(--t2); font-size: 0.98rem; }
@media (min-width: 820px) { .proof-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Calculator: ruled input list, one dominant number, two-bar comparison */
.calc-sec h2 { max-width: 34ch; }
.calc { display: grid; gap: 36px; }
@media (min-width: 900px) { .calc { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.calc-in { display: grid; gap: 0; border-top: 1px solid var(--rule); align-content: start; }
.calc-in .calc-field { padding: 14px 0; border-bottom: 1px solid var(--rule); min-width: 0; margin: 0; }
.calc-field label, .calc-flabel { display: block; font-weight: 500; font-size: 0.95rem; color: var(--t2); margin-bottom: 8px; }
.calc-note-i { font-weight: 400; color: var(--t2); font-size: 0.85rem; }
.calc-field select, .calc-field input[type=text] {
  width: 100%; font: 500 1.05rem var(--font); color: #fff; background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 1px; padding: 9px 12px; min-height: 44px;
}
.calc-field select option { color: #fff; background: var(--deep); }
.calc-range { display: grid; grid-template-columns: 1fr 84px; gap: 14px; align-items: center; }
.calc-range input[type=range] { width: 100%; accent-color: #fff; min-height: 32px; }
.calc-note { font-size: 0.85rem; color: var(--t2); margin-top: 6px; }
.calc-line { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; }
.calc-line input[type=text] { width: 68px; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-line .chips { margin-top: 0; }
.chip { font: 500 0.92rem var(--font); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 1px; padding: 6px 10px; min-height: 40px; cursor: pointer; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed=true] { background: #fff; color: var(--navy); border-color: #fff; }

.calc-out { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.calc-badge { align-self: flex-start; font: 600 1.05rem var(--font); padding: 5px 12px; border-radius: 1px; background: #fff; color: var(--navy); }
.calc-badge[data-verdict=depende], .calc-badge[data-verdict=no], .calc-badge[data-verdict=probable_no] { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.calc-label { font-size: 0.95rem; color: var(--t2); }
.calc-dayrow p { color: #fff; }
.calc-dayrow strong { font-weight: 600; }
.calc-part { display: grid; gap: 6px; }
.calc-num { font-weight: 600; line-height: 1; margin: 0; overflow-wrap: anywhere; }
#calc-x { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
.calc-pct { font-size: 1.35rem; letter-spacing: -0.01em; margin-top: 4px; }
.calc-small { display: grid; gap: 6px; font-size: 0.92rem; color: var(--t2); border-top: 1px solid var(--rule); padding-top: 12px; }
.calc-small span, .calc-how p span { color: #fff; font-weight: 600; }
.calc-out .btn { align-self: flex-start; }
.calc-honest { color: var(--t2); font-size: 0.82rem; }
.calc [hidden], .lead-form [hidden] { display: none !important; }
.calc-ex { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); max-width: 75ch; color: var(--t2); font-size: 0.98rem; }
.calc-how { margin-top: 14px; max-width: 75ch; }
.calc-how summary { cursor: pointer; font-weight: 600; color: #fff; }
.calc-how p { margin-top: 10px; color: var(--t2); font-size: 0.95rem; }

/* How it works: four steps across hairline rules */
.how-band .section-head { margin-bottom: 8px; }
.steps-block { margin-top: 0; }
.steps-h3 { display: block; margin: 0 0 22px; font-size: 1.05rem; font-weight: 500; color: var(--t2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 500 1.1rem/1.3 var(--font); color: var(--t2); font-variant-numeric: tabular-nums; }
.steps p { color: var(--t2); margin-top: 6px; max-width: 46ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: start; }
  .steps li { padding: 48px 0 0; }
  .steps li::before { top: 14px; }
  .steps li h3 { min-height: 2.6em; }
}
.how-get { margin-top: 28px; max-width: 75ch; color: #fff; }
.how-gas { margin-top: 10px; max-width: 75ch; color: var(--t2); }

/* Who it is for: a plain ruled list */
section.who-band { padding: 0 0 48px; }
.who-band .wrap > .h-quiet { border-top: 1px solid var(--rule); padding-top: 28px; }
.sector-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.sector-list li { font-size: 1rem; }
@media (min-width: 820px) { .sector-list { grid-template-columns: repeat(4, 1fr); } }

/* Who we are + FAQ: light ground for reading */
.team-list { margin: 0; padding: 0 0 0 1.1em; max-width: 72ch; display: grid; gap: 6px; }
.team-list li::marker { color: var(--navy); }
.faq-sec { border-top: 1px solid var(--line); }
.faq-d { max-width: 80ch; border-top: 1px solid var(--line); }
.faq-d details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-d summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.faq-d p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* Contact: navy ground, form on white */
.on-navy { background: var(--navy); color: #fff; }
.contact .wrap { display: grid; gap: 36px; }
.contact .lead { margin-top: 16px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.lead-form { background: var(--paper); color: var(--ink); padding: 28px 24px; display: grid; gap: 18px; border-radius: 1px; scroll-margin-top: 16px; }
@media (min-width: 900px) { .lead-form { padding: 36px 32px; } }
.lf-field label { display: block; font-weight: 600; font-size: 0.98rem; color: var(--navy); margin-bottom: 8px; }
.lf-field .opt { font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.lf-field input, .lf-field select, .lf-field textarea { width: 100%; font: 500 1.05rem var(--font); color: var(--ink); background: #fff; border: 1px solid #8A94A4; border-radius: 1px; padding: 10px 12px; min-height: 46px; }
.lf-field textarea { resize: vertical; min-height: 104px; }
.lf-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .lf-row { grid-template-columns: 1fr 1fr; } }
.lead-form .btn { justify-self: start; }
.lf-privacy { font-size: 0.88rem; color: var(--muted); }
.lf-sum { background: #EEF1F5; color: var(--navy); padding: 10px 12px; font-size: 0.95rem; }
.lf-anchor { display: block; position: relative; top: -80px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer: normal padding (Netlify badge is off) */
.site-footer { background: var(--deep); color: var(--t2); padding: 36px 0; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer img, .site-footer svg.logo { width: 180px; height: auto; }
.site-footer a { color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.footer-meta .tagline { font-weight: 600; color: #fff; }

/* 404 and thank-you pages */
.notfound { padding: 88px 0 96px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.notfound p { margin-top: 18px; color: var(--t2); max-width: 52ch; }
.notfound .btn { margin-top: 28px; }
.ty-h2 { font-size: 1.15rem; margin-top: 28px; }
.ty-prep { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--t2); }
.ty-got { margin-top: 16px; font-size: 0.95rem; color: var(--t2); }

/* v10: gas band under the hero */
section.gas-band { padding: 28px 0 4px; }
.gas-band h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.gas-band p { margin-top: 8px; max-width: 62ch; color: var(--t2); font-size: 1.05rem; }
@media (max-width: 719px) { section.gas-band { padding: 24px 0 0; } }

/* v11: steps as a connected sequence (vertical timeline on mobile, horizontal on desktop). No gold. */
.steps li { border-top: 0; padding: 4px 0 26px 56px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6); background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font: 600 0.95rem/1 var(--font); z-index: 1;
}
.steps li::after { content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.28); }
.steps li:last-child::after { display: none; }
.steps li h3 { line-height: 1.25; padding-top: 4px; }
.steps p { margin-top: 4px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { padding: 54px 0 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: 0; left: 0; }
  .steps li::after { left: 34px; right: -32px; top: 17px; bottom: auto; width: auto; height: 1px; }
  .steps li h3 { min-height: 0; padding-top: 0; }
}

/* v11: band under the hero, two equal items (investment, gas); stacked on mobile */
.band-pair { display: grid; gap: 22px; }
.band-item p { max-width: 52ch; }
@media (min-width: 820px) { .band-pair { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* v11: who it is for, four groups with line icons */
.sector-groups { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.sg-icon { width: 28px; height: 28px; color: #fff; }
.sg h3 { margin-top: 10px; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.sg ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.sg ul li { color: var(--t2); font-size: 0.95rem; line-height: 1.4; }
@media (min-width: 900px) { .sector-groups { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* v11 fix pass: zero-investment clause in the hero lead reads first */
.lead-key { color: #fff; font-weight: 600; }

/* v13: calculator declutter: one aligned row per control (segmented chips + compact box), info disclosure, calmer result panel */
.calc-in { gap: 24px; border-top: 0; }
.calc-in .calc-field { padding: 0; border-bottom: 0; }
.calc-field label, .calc-flabel { margin-bottom: 10px; }
.calc-range { grid-template-columns: 1fr 76px; gap: 14px; }
.calc-field input[type=text] { height: 40px; min-height: 40px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
.calc-range input[type=text], .calc-line input[type=text] { width: 76px; }
.calc-line { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.calc-line input[type=text] { margin-left: auto; flex: 0 0 76px; }
.chips.seg { display: inline-flex; flex-wrap: nowrap; gap: 0; }
.calc-line .chips.seg { flex: 1 1 auto; }
.chips.seg .chip { flex: 1 1 auto; height: 40px; min-height: 40px; padding: 0 12px; white-space: nowrap; margin-left: -1px; }
.chips.seg .chip:first-child { margin-left: 0; }
.chips.seg .chip[aria-pressed=true] { position: relative; z-index: 1; }
.calc-field .calc-note:empty { display: none; }
.calc-info-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0; background: none; border: 0; color: var(--t2); font: 400 0.85rem var(--font); cursor: pointer; }
.calc-info-btn:hover, .calc-info-btn[aria-expanded=true] { color: #fff; }
.calc-i { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font: 600 0.72rem/1 var(--font); font-style: normal; }
.calc-info { margin-top: 8px; padding: 10px 12px; border-left: 2px solid rgba(255, 255, 255, 0.35); color: var(--t2); font-size: 0.85rem; max-width: 46ch; }
.calc-out { gap: 22px; }
.calc-small { border-top: 0; padding-top: 0; }
@media (max-width: 520px) {
  .calc-line .chips.seg { flex: 1 1 100%; }
}

/* v13b: label for the custom box when it wraps to its own row */
.calc-box-l { display: none; }
@media (max-width: 520px) {
  .calc-box-l { display: block; margin-left: auto; font-size: 0.85rem; color: var(--t2); }
  .calc-line .calc-box-l + input[type=text] { margin-left: 0; }
}

/* v14: Quienes somos intro matches the bullet list */
#quienes-somos .section-head p { font-size: inherit; color: inherit; max-width: 72ch; }

/* v15: contact section horizontal: heading row on top, form as a grid across the full content width */
.contact .wrap { grid-template-columns: 1fr; gap: 28px; }
.contact .lead { max-width: 64ch; }
.lead-form { grid-template-columns: 1fr; gap: 20px; position: relative; }
.lead-form .lf-row { display: contents; }
.lead-form .lf-anchor { position: absolute; top: -80px; left: 0; height: 0; }
.lead-form .lf-sum { grid-column: 1 / -1; }
.lead-form .lf-field { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.lead-form .lf-field label { line-height: 1.3; }
.lead-form .lf-field input, .lead-form .lf-field select { height: 46px; box-sizing: border-box; }
.lead-form .lf-field textarea { flex: 1 1 auto; min-height: 104px; box-sizing: border-box; }
.lead-form .lf-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; align-self: end; min-width: 0; }
.lead-form .lf-privacy { margin: 0; }
@media (min-width: 600px) {
  .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
  .lead-form .lf-wide { grid-column: 1 / -1; }
  .lead-form .lf-submit { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .contact .wrap { grid-template-columns: 1fr; gap: 28px; }
  .lead-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; padding: 32px; }
  .lead-form .lf-wide { grid-column: span 2; }
  .lead-form .lf-submit { grid-column: 3; }
}

/* v15 fix pass: light variant keeps the button on the field row, privacy line below */
@media (min-width: 900px) {
  .lead-form[data-mode=light] .lf-submit { display: contents; }
  .lead-form[data-mode=light] .lf-submit .btn { grid-column: 3; align-self: end; }
  .lead-form[data-mode=light] .lf-submit .lf-privacy { grid-column: 1 / -1; }
}

/* v15: "Como se calcula" disclosure as a short numbered list, 17 px */
.calc-how ol { margin: 14px 0 0; padding-left: 24px; color: var(--t2); font-size: 1.0625rem; line-height: 1.5; }
.calc-how li { margin-top: 10px; padding-left: 4px; }
.calc-how li:first-child { margin-top: 0; }
.calc-how p { font-size: 1.0625rem; }

/* v16: optional "Demanda aproximada (MW)" sits in the third slot of row 2; the "que produces" field takes its own full row so the grid stays rectangular */
@media (min-width: 600px) {
  .lead-form #lf-producto-w { grid-column: 1 / -1; }
}

/* v18: BEP energy cost line under the calculator result, low prominence */
.calc-small .calc-cost { color: var(--t2); font-size: 0.8rem; opacity: 0.9; margin: 0; }

/* v21c: result block, owner layout A (16 Oct). One vertical reading path on one left edge, five stops:
   verdict (+ reason), number group, list, CTA, Supuestos. 28px between groups, 4-8px inside them.
   List rows: fixed label column, values in one column; stacked label over value on narrow screens. Max 520px. */
.calc-out { display: flex; flex-direction: column; align-items: stretch; gap: 28px; max-width: 540px; min-width: 0; }
.calc-out > * { margin: 0; }
.calc-badge, .calc-badge[data-verdict=depende], .calc-badge[data-verdict=no], .calc-badge[data-verdict=probable_no] {
  align-self: stretch; background: none; border: 0; padding: 0; border-radius: 0; color: #fff; font: 600 1.15rem/1.3 var(--font); }
.calc-reason { margin-top: -20px; color: var(--t2); font-size: 0.95rem; line-height: 1.45; }
.calc-reason:empty { display: none; }
.calc-head { display: grid; gap: 4px; }
.calc-head .calc-label { margin: 0; font-size: 0.95rem; color: var(--t2); }
.calc-out .calc-num { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: #fff; overflow-wrap: normal; }
.calc-out #calc-x { font-size: inherit; letter-spacing: inherit; }
.calc-unit { white-space: nowrap; }
.calc-sub { margin: 0; color: var(--t2); font-size: 1rem; }
.calc-rows { padding-top: 20px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; align-items: baseline; }
.calc-row { display: contents; }
.calc-row[hidden] { display: none; }
.calc-row dt { color: var(--t2); font-size: 0.875rem; font-weight: 400; line-height: 1.5; }
.calc-row dd { margin: 0; color: #fff; font-weight: 400; font-size: 1rem; text-align: left; }
.calc-out .btn { align-self: flex-start; }
.calc-assume summary { cursor: pointer; color: var(--t2); font-size: 0.9rem; }
.calc-assume summary:hover, .calc-assume[open] summary { color: #fff; }
.calc-assume .calc-honest { margin: 8px 0 0; }
@media (max-width: 600px) {
  .calc-rows { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .calc-row + .calc-row dt { margin-top: 12px; }
}
.ty-prep[hidden], .ty-h2[hidden] { display: none; }
