/* DESPEJA — hoja de estilos única (dirección de marca 2026). Tokens de 04_Marca/brand.css. Móvil primero. */

/* ---------- Tokens ---------- */
:root {
  --ink: #0F1D32; --paper: #F6F2EA; --white: #FFFFFF; --surface: #FFFFFF;
  --clear: #1F5B47; --clear-bright: #C8B68E; --sky: #ECE5D8; --amber: #C8B68E;
  --sand: #C8B68E; --green-soft: #E3ECE5;
  --slate: #6E675C; --line: #E3DDD1; --text: #0F1D32; --bg: #F6F2EA;
  --on-clear: #FFFFFF; --band: #0F1D32; --band-text: #F3EFE7; --band-muted: #B9B2A5;
  --soft: #EFE9DF; --focus: #1F5B47;
  --logo-bg: #0F1D32; --logo-fg: #FFFFFF; --logo-dot: #C8B68E; --logo-frame: transparent;
  --radius: 10px; --radius-sm: 6px; --radius-lg: 14px; --radius-btn: 6px;
  --shadow: 0 1px 2px rgba(15, 29, 50, .05), 0 12px 32px rgba(15, 29, 50, .07);
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --gutter: 16px; --max: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1626; --surface: #16263D; --text: #F3EFE7; --slate: #B9B2A5; --line: #2A3A52; --sky: #1A2B45;
    --clear: #8DB5A2; --on-clear: #0B1626; --band: #16263D; --soft: #101E33; --focus: #C8B68E;
    --logo-bg: transparent; --logo-fg: #FFFFFF; --logo-dot: #C8B68E; --logo-frame: #C8B68E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1626; --surface: #16263D; --text: #F3EFE7; --slate: #B9B2A5; --line: #2A3A52; --sky: #1A2B45;
  --clear: #8DB5A2; --on-clear: #0B1626; --band: #16263D; --soft: #101E33; --focus: #C8B68E;
  --logo-bg: transparent; --logo-fg: #FFFFFF; --logo-dot: #C8B68E; --logo-frame: #C8B68E;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.005em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 8.4vw, 4.3rem); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--clear); }
h2 { font-size: clamp(1.9rem, 5.4vw, 2.95rem); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
h4 { font-size: 1.25rem; font-weight: 600; margin-top: 1.6em; }
p { margin: 0 0 1em; }
a { color: var(--clear); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.tabular, .kpi-value, .plan-amount, .compare td, .calc-out dd { font-variant-numeric: tabular-nums; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }
.center { text-align: center; }
.print-only { display: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.section-sky { background: var(--sky); }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; }
.eyebrow { font: 600 .74rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--clear); margin-bottom: .75em; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--slate); max-width: 62ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; border-radius: var(--radius-btn); border: 1.5px solid transparent; letter-spacing: .01em;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clear); color: var(--on-clear); }
.btn-primary:hover { background: color-mix(in srgb, var(--clear) 86%, var(--text)); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--clear); padding-inline: .6em; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-secondary { color: var(--band-text); border-color: rgba(243, 239, 231, .35); }
.band .btn-secondary:hover { border-color: var(--band-text); }
.band .btn-primary { background: var(--sand); color: #0F1D32; }
.band .eyebrow { color: var(--sand); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; line-height: 0; margin-right: auto; }
.brand svg { height: 34px; width: auto; flex: none; }
.logo-bg { fill: var(--logo-bg); stroke: var(--logo-frame); } .logo-fg { fill: var(--logo-fg); } .logo-dot { fill: var(--logo-dot); } .logo-wm { fill: currentColor; }
.nav-toggle, .theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; padding: 0;
}
.nav-toggle svg, .theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle[aria-pressed="true"] .i-sun { display: block; }
.theme-toggle[aria-pressed="true"] .i-moon { display: none; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-close { display: block; }
.menu-open .nav-toggle .i-menu { display: none; }
.header-cta { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--clear); }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 959.98px) {
  .js .site-nav {
    display: none; position: fixed; inset: 68px 0 0 0; background: var(--bg); overflow-y: auto;
    padding: 16px var(--gutter) 32px; border-top: 1px solid var(--line);
  }
  .js.menu-open .site-nav { display: block; }
  .js.menu-open body { overflow: hidden; }
  .site-nav li { margin: 0; border-bottom: 1px solid var(--line); }
  .site-nav li a { display: block; padding: 14px 4px; font-size: 1.1rem; }
  .site-nav .nav-cta { border: 0; padding-top: 20px; }
  .site-nav .nav-cta a { display: flex; color: var(--on-clear); }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { margin-right: 4px; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav li { margin: 0; }
  .site-nav li a { padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
  .site-nav li a:hover { background: var(--soft); }
  .site-nav .nav-cta { margin-left: 8px; }
  .site-nav .nav-cta a { color: var(--on-clear); padding: .6em 1.1em; white-space: nowrap; }
  .site-nav .nav-cta a:hover { background: color-mix(in srgb, var(--clear) 86%, var(--text)); }
}

@media (min-width: 960px) and (max-width: 1120px) {
  .site-nav li a { padding: 8px 6px; font-size: .88rem; }
  .site-nav .nav-cta { margin-left: 4px; }
  .site-nav .nav-cta a { padding: .55em .9em; }
  .brand svg { height: 30px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 8vw, 96px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.h1-note { display: inline-block; font: 500 .3em/1 var(--font-body); letter-spacing: .02em; color: var(--slate); letter-spacing: 0; vertical-align: middle; }
.hero .lead { margin-bottom: 1.6em; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--slate); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-points svg { width: 18px; height: 18px; color: var(--clear); flex: none; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(24px, 4vw, 40px); }
.page-hero .lead { margin-bottom: 0; }

/* Diagrama antes → después */
.flow { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }
.flow-cap { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--slate); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.flow-step { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; }
.flow-step + .flow-step { margin-top: 4px; }
.flow-step:nth-child(odd) { background: var(--soft); }
.flow-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--clear); }
.flow-ico svg { width: 20px; height: 20px; }
.flow-step p { margin: 0; font-size: .92rem; line-height: 1.45; }
.flow-step .t { font-weight: 600; }
.flow-time { font-size: .78rem; color: var(--slate); white-space: nowrap; font-variant-numeric: tabular-nums; }
.flow-note { margin: 14px 2px 0; font-size: .8rem; color: var(--slate); }

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--clear); margin-bottom: 16px; }
.card-ico svg { width: 22px; height: 22px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--clear); }
.card-link .more { margin-top: auto; padding-top: 12px; color: var(--clear); font-weight: 600; }
.card-feature { border-color: var(--clear); box-shadow: var(--shadow); }
.grid + p { margin-top: 20px; }
.pill { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35em .75em; border-radius: 4px; background: var(--sky); color: var(--text); margin-bottom: 12px; }
.pill-amber { background: var(--amber); color: #0F1D32; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--clear); border-bottom: 2px solid var(--clear); transform: rotate(-45deg); }
.x-list { list-style: none; padding: 0; }
.x-list li { position: relative; padding-left: 28px; color: var(--slate); }
.x-list li::before, .x-list li::after { content: ""; position: absolute; left: 4px; top: .75em; width: 13px; height: 2px; background: var(--slate); transform: rotate(45deg); }
.x-list li::after { transform: rotate(-45deg); }

/* Problema */
.problem-list { display: grid; gap: 12px; list-style: none; padding: 0; }
.problem-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.problem-list svg { width: 22px; height: 22px; color: var(--slate); margin-top: 2px; }
@media (min-width: 760px) { .problem-list { grid-template-columns: repeat(2, 1fr); } }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps > li { counter-increment: step; margin: 0; position: relative; padding: 24px; padding-top: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before { content: counter(step); position: absolute; top: 20px; left: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--clear); color: var(--on-clear); font: 600 .9rem/1 var(--font-body); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--slate); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.cycle { margin-top: 20px; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; }
.cycle li { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line); font-size: .92rem; }
.cycle strong { display: block; font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clear); margin-bottom: 2px; }
@media (min-width: 860px) { .cycle { grid-template-columns: repeat(4, 1fr); } }

/* Transparencia */
.spec { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.spec div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--slate); }
@media (min-width: 760px) { .spec div { grid-template-columns: 240px 1fr; gap: 20px; } }

/* ---------- Planes ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px 22px; }
.plan-card.is-featured { border: 2px solid var(--clear); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 20px; margin: 0; background: var(--clear); color: var(--on-clear); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; }
.plan-name { font-size: 1.7rem; font-weight: 600; margin-bottom: .2em; }
.plan-audience { color: var(--slate); font-size: .92rem; min-height: 2.9em; margin-bottom: 16px; }
.plan-price { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.plan-amount { font: 300 2.3rem/1.1 var(--font-body); letter-spacing: -0.03em; }
.plan-period { color: var(--slate); font-size: .9rem; }
.plan-setup { font-size: .88rem; color: var(--slate); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-list { list-style: none; padding: 0; margin: 0 0 20px; font-size: .93rem; flex: 1; }
.plan-list li { position: relative; padding-left: 24px; margin-bottom: .55em; }
.plan-list li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--clear); border-bottom: 2px solid var(--clear); transform: rotate(-45deg); }
.plan-card .btn { font-size: .92rem; padding-inline: .9em; }
.plan-annual { font-size: .85rem; color: var(--slate); margin-bottom: 14px; }
.plans-note { margin-top: 20px; color: var(--slate); font-size: .9rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
.compare { min-width: 760px; font-size: .9rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; background: var(--soft); position: sticky; top: 0; }
.compare tbody th { font-weight: 600; width: 22%; position: sticky; left: 0; background: var(--surface); }
.compare .is-featured { background: color-mix(in srgb, var(--clear) 7%, var(--surface)); }
.compare thead .is-featured { background: color-mix(in srgb, var(--clear) 14%, var(--surface)); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--clear); font-weight: 600; }
.no { color: var(--slate); }

/* ---------- Banda oscura (CTA) ---------- */
.band { background: var(--band); color: var(--band-text); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); }
.band h2 { color: var(--band-text); }
.band p { color: var(--band-muted); }
.band .eyebrow { color: var(--clear-bright); }
.band a:not(.btn) { color: var(--clear-bright); }
:root[data-theme="dark"] .band { border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { border: 1px solid var(--line); } }

/* ---------- Avisos ---------- */
.notice { border-radius: var(--radius); padding: 16px 20px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 20px; }
.notice p:last-child { margin-bottom: 0; }
.notice-info { border-left: 4px solid var(--clear); }
.notice-ok { border-left: 4px solid var(--clear); background: color-mix(in srgb, var(--clear) 8%, var(--surface)); }
.notice-warn { border-left: 4px solid var(--amber); }
.notice-amber { border: 0; background: color-mix(in srgb, var(--amber) 22%, var(--surface)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--slate); }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq-group { margin-top: 40px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 22px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; background: var(--surface); display: grid; gap: 18px; }
.form legend { font: 600 1.3rem/1.3 var(--font-head); padding: 0 6px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { font-weight: 600; font-size: .95rem; }
.req { color: var(--clear); }
.hint { font-size: .85rem; color: var(--slate); margin: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
textarea { min-height: 112px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--slate); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--clear); }
[aria-invalid="true"] { border-color: #C2410C !important; }
.field-error { color: #B23A0A; font-size: .88rem; font-weight: 500; margin: 0; min-height: 0; }
.field-error:empty { display: none; }
:root[data-theme="dark"] .field-error { color: #FDBA74; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #FDBA74; } }
.choices { display: grid; gap: 8px; }
@media (min-width: 600px) { .choices-2 { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--clear); flex: none; }
.choice:has(input:checked) { border-color: var(--clear); }
.consent { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--clear); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Informe ---------- */
.report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }
.report h2:focus { outline: none; }
.report-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
@media (min-width: 860px) { .report-kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--bg); }
.kpi-label { font-size: .8rem; color: var(--slate); margin-bottom: 6px; }
.kpi-value { font: 300 1.7rem/1.1 var(--font-body); margin: 0; letter-spacing: -0.02em; }
.kpi-value span { font-size: .55em; font-weight: 700; color: var(--slate); }
.kpi-text { font-size: 1.3rem; }
.meter { height: 6px; border-radius: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--clear); }
.meter-0 { width: 2%; } .meter-1 { width: 10%; } .meter-2 { width: 20%; } .meter-3 { width: 30%; } .meter-4 { width: 40%; } .meter-5 { width: 50%; }
.meter-6 { width: 60%; } .meter-7 { width: 70%; } .meter-8 { width: 80%; } .meter-9 { width: 90%; } .meter-10 { width: 100%; }
.report-block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.report-block h3 { font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag { font: 600 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.tag-fact { background: var(--sky); color: var(--text); }
.tag-est { background: color-mix(in srgb, var(--clear) 16%, var(--surface)); color: var(--text); }
.tag-hyp { background: color-mix(in srgb, var(--amber) 30%, var(--surface)); color: var(--text); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.facts dt { font-size: .85rem; color: var(--slate); }
.facts dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (min-width: 720px) { .facts div { grid-template-columns: 220px 1fr; gap: 16px; } }
.formula { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-variant-numeric: tabular-nums; }
.formula span { color: var(--slate); }
.report-table { min-width: 560px; font-size: .9rem; }
.report-table th, .report-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.report-table thead th { background: var(--soft); }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.report-logo { margin-bottom: 16px; }

/* ---------- Calculadora ---------- */
.calc-table { min-width: 720px; }
.calc-table th, .calc-table td { padding: 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.calc-table thead th { font-size: .82rem; color: var(--slate); font-weight: 600; background: var(--soft); }
.calc-table input { min-height: 44px; padding: 8px 10px; }
.calc-table td:first-child { min-width: 220px; }
.calc-table td.num input { max-width: 110px; }
.row-remove { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--slate); cursor: pointer; display: grid; place-items: center; }
.row-remove svg { width: 18px; height: 18px; }
.row-remove:hover { color: var(--text); border-color: var(--text); }
.calc-out { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 0; }
@media (min-width: 860px) { .calc-out { grid-template-columns: repeat(3, 1fr); } }
.calc-out div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.calc-out dt { font-size: .82rem; color: var(--slate); margin-bottom: 4px; }
.calc-out dd { margin: 0; font: 300 1.55rem/1.15 var(--font-body); letter-spacing: -0.02em; }
.calc-out .hl { border-color: var(--clear); }
.calc-compare { margin-top: 16px; }

/* ---------- Texto legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose table { font-size: .92rem; margin-bottom: 1.2em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }

/* ---------- Pie ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 340px; }
.footer-brand p { color: var(--slate); margin-top: 12px; }
.site-footer h2 { font: 600 .74rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--clear); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--slate); font-size: .85rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }

/* ---------- Varios ---------- */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.demo-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.demo-list li { margin: 0; }
.demo-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); font-weight: 600; }
.demo-list a:hover { border-color: var(--clear); }
.demo-list svg { width: 20px; height: 20px; color: var(--clear); flex: none; }
.offer { display: grid; gap: 16px; }
@media (min-width: 860px) { .offer { grid-template-columns: 1fr 1fr; } }
.price-inline { font: 300 1.9rem/1.1 var(--font-body); letter-spacing: -0.02em; margin-bottom: .3em; }
.h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.section-tight-top { margin-top: clamp(32px, 5vw, 48px); }
.btn-row-center { justify-content: center; }
.center-block { margin-inline: auto; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose code { font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 4px; overflow-wrap: anywhere; }
.error-page { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.error-code { font: 300 clamp(4rem, 18vw, 8rem)/1 var(--font-body); color: var(--clear); letter-spacing: -0.04em; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Impresión (informe PDF con la marca) ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  :root, :root[data-theme="dark"] {
    --bg: #FFFFFF; --surface: #FFFFFF; --text: #0F1D32; --slate: #6E675C; --line: #E3DDD1; --sky: #ECE5D8; --clear: #1F5B47; --soft: #F6F2EA;
  }
  body { background: #fff; color: #0F1D32; font-size: 10.5pt; }
  .site-header, .site-footer, .skip-link, .no-print, .page-hero, .print-hide { display: none !important; }
  .print-only { display: block; }
  body.has-report main > *:not(.report-section) { display: none !important; }
  .report-section { padding: 0 !important; }
  .report-section .container { padding: 0; max-width: none; }
  .report { border: 0; padding: 0; box-shadow: none; }
  .report-kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi, .formula { background: #fff; }
  .report-block { break-inside: auto; }
  .report-block h3, .report-block h4 { break-after: avoid; }
  .report-table, .facts div, .kpi { break-inside: avoid; }
  .table-wrap { overflow: visible; border: 0; }
  .report-table { min-width: 0; }
  a { color: #0F1D32; text-decoration: none; }
  .meter span { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .tag { print-color-adjust: exact; -webkit-print-color-adjust: exact; border: 1px solid #E3DDD1; }
}
