/* ============================================================
   AUREON · styles.css · v3 "Editorial"
   Portada oscura (Noche) · cuerpo editorial claro (Hueso) ·
   contraportada oscura. Un solo acento: oro #C9A84C.
   Sistema de radios: interactivo 12px · paneles 18px · pills.
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  /* Fondos claros (cuerpo editorial) */
  --bg-base:      #FAF8F4;
  --bg-alt:       #F3EFE6;
  --bg-panel:     #FFFFFF;

  /* Noche (portada / contraportada) · maestro de identidad */
  --night:        #0E1218;
  --night-2:      #131A22;
  --night-panel:  #17202B;

  /* Oro · único acento del sitio */
  --gold:         #C9A84C;
  --gold-light:   #E8D08A;
  --gold-deep:    #A8893A;
  --gold-text:    #85682B;   /* oro para texto pequeño sobre claro · AA 4.5:1 */
  --gold-surface: rgba(201,168,76,0.08);
  --gold-border:  rgba(201,168,76,0.32);

  /* Texto sobre claro */
  --ink:          #1A1812;
  --text-body:    #3D3826;
  --text-muted:   #6E6754;   /* AA sobre bg-base y bg-alt */
  --text-faint:   #A8A08F;   /* solo decorativo */

  /* Texto sobre oscuro */
  --bone:         #F0EDE4;
  --bone-muted:   #A9B2BC;   /* AA sobre Noche */

  /* Colores semánticos de dato (semáforos AUREON · nunca decorativos) */
  --sem-green:    #2C7A5B;
  --sem-amber:    #A87B24;
  --sem-red:      #B4553B;

  /* Hairlines */
  --line:         rgba(26,24,18,0.11);
  --line-gold:    rgba(201,168,76,0.24);
  --line-dark:    rgba(201,168,76,0.20);

  /* Sombras (tintadas al fondo, nunca negro puro) */
  --shadow-sm:    0 1px 3px rgba(38,32,18,0.06);
  --shadow-md:    0 6px 24px rgba(38,32,18,0.09);
  --shadow-lg:    0 18px 60px rgba(38,32,18,0.13);
  --shadow-night: 0 24px 70px rgba(8,10,14,0.45);

  /* Radios · regla única del sitio */
  --r-i:   12px;    /* interactivo: botones, inputs, tabs de bloque */
  --r-p:   18px;    /* paneles y tarjetas */
  --r-pill: 999px;  /* chips, pills, thumb de slider */

  /* Motion */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:     160ms var(--ease);
  --t-std:      240ms var(--ease);
  --t-slow:     420ms var(--ease);
  --t-reveal:   700ms var(--ease);

  /* Layout */
  --nav-h: 68px;
  --container: 1200px;

  /* Tipografía */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-wordmark: Georgia, 'Times New Roman', serif;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: rgba(201,168,76,0.28); color: var(--ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 500; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--night); color: var(--bone);
  padding: 12px 20px; border-radius: var(--r-i);
  transition: top var(--t-std);
}
.skip-link:focus { top: 12px; }

/* Sentinela del nav · 1px invisible al inicio del documento */
#nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.rowlink { font-size: 0.8em; color: var(--gold-text); white-space: nowrap; }
.rowlink:hover { color: var(--gold-deep); text-decoration: underline; }

/* ============ TIPOGRAFÍA ============ */
h1, h2, h3 { font-weight: 400; color: var(--ink); }

h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h2 em {
  font-style: italic;
  color: var(--gold-deep);
  /* descendentes de itálicas: aire reservado */
  line-height: 1.1;
  display: inline-block;
  padding-bottom: 2px;
}

h3 { font-size: 1.05rem; font-weight: 500; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}

.section-head { max-width: 700px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-sub {
  margin-top: 18px;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.wordmark {
  font-family: var(--font-wordmark);
  color: var(--gold);
  letter-spacing: 0.35em;
  font-weight: 400;
  font-size: 1.05rem;
  text-indent: 0.35em; /* compensa el tracking del último carácter */
}

.num { font-variant-numeric: tabular-nums; }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section { padding: clamp(72px, 11vw, 130px) 0; }
.section-alt { background: var(--bg-alt); }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-i);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-gold {
  background: var(--gold);
  color: #14202C;
  box-shadow: 0 6px 22px rgba(201,168,76,0.24);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-gold:active { background: var(--gold-deep); color: #FFF; }

.btn-outline {
  border: 1px solid var(--gold-border);
  color: var(--gold-text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); background: var(--gold-surface); }

/* variante sobre fondo oscuro */
.btn-ghost-dark {
  border: 1px solid rgba(240,237,228,0.28);
  color: var(--bone);
  background: transparent;
}
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,168,76,0.10); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-xs { padding: 8px 14px; font-size: 0.82rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(14,18,24,0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(201,168,76,0.14);
  transition: background var(--t-std), box-shadow var(--t-std);
}
.nav.scrolled {
  background: rgba(14,18,24,0.96);
  box-shadow: 0 10px 40px rgba(8,10,14,0.35);
}
.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav .wordmark { font-size: 1rem; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--bone-muted);
  transition: color var(--t-fast);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right var(--t-std);
}
.nav-link:hover { color: var(--bone); }
.nav-link:hover::after { right: 0; }
.nav-cta { margin-left: 4px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border-radius: var(--r-i);
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.6px;
  background: var(--bone);
  transition: transform var(--t-std), top var(--t-std);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(14,18,24,0.98);
  border-bottom: 1px solid var(--line-dark);
  padding: 20px clamp(20px, 6vw, 40px) 30px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform var(--t-std), opacity var(--t-std);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a {
  padding: 13px 4px;
  font-size: 1.05rem;
  color: var(--bone);
  border-bottom: 1px solid rgba(240,237,228,0.08);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu-tag {
  margin-top: 16px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

/* ============ HERO · PORTADA NOCHE ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(201,168,76,0.10), transparent 62%),
    linear-gradient(158deg, #0B0F14 0%, var(--night) 55%, #101823 100%);
  color: var(--bone);
  padding-top: calc(var(--nav-h) + clamp(40px, 7vh, 84px));
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100dvh - var(--nav-h) - 150px);
  padding-bottom: clamp(36px, 6vh, 64px);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--bone);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  line-height: 1.1;
  display: inline-block;
  padding-bottom: 3px; /* descendentes */
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.06rem;
  color: var(--bone-muted);
  max-width: 46ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* El Crisol · dibujo en trazo */
.hero-visual { position: relative; display: flex; justify-content: center; }
.crisol { width: min(340px, 68vw); height: auto; }
.crisol-ring { stroke: rgba(240,237,228,0.42); }
.crisol-leg  { fill: var(--bone); }
.crisol-gold { fill: var(--gold); }
.crisol-gold-ring { stroke: var(--gold); }
.crisol-glow {
  position: absolute; inset: -12% -18%;
  background: radial-gradient(circle at 50% 42%, rgba(201,168,76,0.13), transparent 62%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero .crisol-ring path {
    stroke-dasharray: 600; stroke-dashoffset: 600;
    animation: crisol-draw 1.6s var(--ease) 0.2s forwards;
  }
  .hero .crisol-leg, .hero .crisol-gold, .hero .crisol-gold-ring {
    opacity: 0;
    animation: crisol-in 0.9s var(--ease) 1.1s forwards;
  }
  @keyframes crisol-draw { to { stroke-dashoffset: 0; } }
  @keyframes crisol-in { to { opacity: 1; } }
}

/* Banda de cifras de la portada */
.hero-band {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0 34px;
}
.hero-band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stat { display: grid; gap: 2px; }
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-l { font-size: 0.82rem; color: var(--bone-muted); }

/* ============ AVISO LEGAL ============ */
.disclaimer {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.disclaimer p {
  padding: 18px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 88ch;
}
.disclaimer strong { font-style: normal; font-weight: 500; color: var(--gold-text); letter-spacing: 0.04em; }

/* ============ TABLA COMPARATIVA ============ */
.comp-tabs {
  display: none;
  gap: 6px;
  margin-bottom: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px;
  width: max-content;
}
.comp-tabs [role="tab"] {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.comp-tabs [role="tab"][aria-selected="true"] {
  background: var(--night);
  color: var(--gold-light);
}

.comp-scroll {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}
.comp-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.comp-table th, .comp-table td {
  padding: 13px 16px;
  text-align: center;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast);
}
.comp-table tbody tr:last-child th,
.comp-table tbody tr:last-child td { border-bottom: 0; }
.comp-table .rowlabel {
  text-align: left;
  font-weight: 400;
  color: var(--text-body);
  max-width: 300px;
}
.rowhint { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

.comp-table thead th { vertical-align: bottom; padding-top: 26px; border-bottom: 1px solid var(--line-gold); }
.col-head { display: grid; gap: 3px; justify-items: center; padding-bottom: 8px; }
.col-kicker { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.col-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 400; line-height: 1.15; color: var(--ink); }
.col-price { font-size: 0.85rem; color: var(--text-body); margin-top: 4px; }
.col-time { font-size: 0.76rem; color: var(--text-muted); }
.col-badge {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: #14202C; background: var(--gold);
  padding: 4px 12px; border-radius: var(--r-pill);
  margin-bottom: 6px;
}
.comp-table .col-star { background: linear-gradient(180deg, rgba(201,168,76,0.07), transparent); }

.group-row th {
  text-align: left;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text);
  background: var(--bg-alt);
  padding: 10px 16px;
}

.ck { color: var(--sem-green); font-weight: 600; }
.no { color: var(--text-faint); }
@media (prefers-reduced-motion: no-preference) {
  .ck.pulse { animation: ck-pulse 0.5s var(--ease); }
  @keyframes ck-pulse { 40% { transform: scale(1.25); } }
}
.ck, .no { display: inline-block; }
.cell-txt { font-weight: 500; color: var(--ink); }
.cell-note { display: block; font-size: 0.72rem; color: var(--text-muted); }

/* hover de columna (desktop) */
.comp-table[data-hover-col="a"] [data-col="a"],
.comp-table[data-hover-col="b"] [data-col="b"],
.comp-table[data-hover-col="c"] [data-col="c"],
.comp-table[data-hover-col="d"] [data-col="d"] { background: var(--gold-surface); }

.badge-gold {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gold-text);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}
.row-star .rowlabel { color: var(--ink); font-weight: 500; }

.cta-row td { padding: 18px 12px 22px; }
.comp-foot {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ METODOLOGÍA · 13 SECCIONES ============ */
.meth-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.meth-rail { position: sticky; top: calc(var(--nav-h) + 28px); }
.meth-rail .section-head { margin-bottom: 26px; }
.meth-price {
  font-size: 0.95rem;
  color: var(--text-body);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  max-width: 42ch;
}
.meth-price strong { color: var(--gold-text); }

.meth-note {
  margin-top: 30px;
  background: var(--night);
  color: var(--bone);
  border-radius: var(--r-p);
  padding: 26px 28px;
  box-shadow: var(--shadow-night);
}
.meth-note h3 { color: var(--gold-light); font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 10px; }
.meth-note p { font-size: 0.92rem; color: var(--bone-muted); }
.meth-note strong { color: var(--bone); }

.meth-cluster { margin-bottom: 34px; }
.meth-cluster:last-child { margin-bottom: 0; }
.meth-cluster-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold);
  margin-bottom: 6px;
}
.meth-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 12px 16px 4px;
  border-radius: var(--r-i);
  transition: background var(--t-fast);
}
.meth-row:hover { background: var(--gold-surface); }
.meth-row-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--text-faint);
  line-height: 1.15;
  padding-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.meth-row:hover .meth-row-num { color: var(--gold-deep); }
.meth-row h3 { font-size: 1rem; font-weight: 500; color: var(--ink); }
.meth-row p { font-size: 0.9rem; color: var(--text-muted); margin-top: 3px; }
.meth-row-star {
  background: linear-gradient(120deg, rgba(201,168,76,0.10), rgba(201,168,76,0.03));
  border: 1px solid var(--gold-border);
}
.meth-row-star .meth-row-num { color: var(--gold-deep); }
.meth-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  color: #14202C; background: var(--gold);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  margin-bottom: 6px;
}

/* ============ HERRAMIENTA · DEMO VIVA ============ */
.tool-panel {
  background:
    radial-gradient(900px 380px at 88% -12%, rgba(201,168,76,0.12), transparent 60%),
    linear-gradient(158deg, #0B0F14 0%, var(--night) 58%, #111925 100%);
  color: var(--bone);
  border-radius: calc(var(--r-p) + 6px);
  box-shadow: var(--shadow-night);
  border: 1px solid rgba(201,168,76,0.26);
  padding: clamp(28px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.tool-panel strong, .tool-panel b { color: var(--bone); }
.tool-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  margin-bottom: 22px;
}
.tool-field { margin-bottom: 24px; }
.tool-field label {
  display: block;
  font-size: 0.85rem; font-weight: 500;
  color: var(--bone);
  margin-bottom: 10px;
}
.tool-field-val {
  float: right;
  font-weight: 600;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.tool-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}
.tro { display: grid; gap: 2px; }
.tro-k { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-muted); }
.tro-v {
  font-size: 1.35rem; font-weight: 600; color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.tro-v small { font-size: 0.7em; font-weight: 400; color: var(--bone-muted); }

.tool-gauge-wrap { text-align: center; }
.tool-gauge { position: relative; width: min(300px, 74vw); margin: 0 auto; }
.tool-gauge svg { width: 100%; height: auto; overflow: visible; }
.tg-track { stroke: rgba(240,237,228,0.14); }
.tg-fill { stroke: var(--gold); transition: stroke-dashoffset var(--t-slow), stroke var(--t-slow); }
@media (prefers-reduced-motion: reduce) { .tg-fill { transition: none; } }
.tool-gauge-num {
  position: absolute; inset: auto 0 4%; text-align: center;
}
.tool-gauge-num .n {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.2rem);
  color: var(--bone);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tool-gauge-num .l {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone-muted); margin-top: 4px;
}
.tool-verdict {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-weight: 500;
  color: var(--bone);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-size: 0.95rem;
}
.tool-verdict .sem-dot { width: 10px; height: 10px; }

.tool-after {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
  margin-top: 30px;
}
.tool-note { font-size: 0.85rem; color: var(--text-muted); max-width: 52ch; }

/* ============ SEMÁFOROS (semánticos) ============ */
.sem { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; }
.sem-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.sem-green { background: var(--sem-green); }
.sem-amber { background: var(--sem-amber); }
.sem-red   { background: var(--sem-red); }

/* ============ INVERSIONISTA · SERVICIO II ============ */
.inv-scrollrow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 27vw, 330px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-border) transparent;
}
.inv-mod {
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  align-content: start;
  gap: 8px;
  transition: box-shadow var(--t-std), transform var(--t-std), border-color var(--t-std);
}
.inv-mod:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.inv-mod-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.4rem; color: var(--text-faint);
  line-height: 1.15; padding-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.inv-mod h3 { font-size: 0.98rem; }
.inv-mod p { font-size: 0.87rem; color: var(--text-muted); }
.inv-mod-star { border-color: var(--gold-border); background: linear-gradient(160deg, #FFFDF6, #FFF); }
.inv-mod-star .inv-mod-num { color: var(--gold-deep); }

.inv-scenarios { margin-top: clamp(40px, 6vw, 64px); }
.inv-scenarios-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.inv-scenarios-sub { font-size: 0.9rem; color: var(--text-muted); margin: 8px 0 20px; max-width: 70ch; }
.esc-scroll {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.esc-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.esc-table th, .esc-table td {
  padding: 12px 18px;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.esc-table thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line-gold);
  padding-top: 16px;
}
.esc-table thead small { display: block; font-family: var(--font-body); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; }
.esc-table tbody tr:last-child th, .esc-table tbody tr:last-child td { border-bottom: 0; }
.esc-table tbody th { font-weight: 400; color: var(--text-muted); }
.inv-scenarios-foot { margin-top: 14px; font-size: 0.85rem; color: var(--text-muted); max-width: 78ch; }

.inv-price-band {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-p);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.inv-price-n {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.inv-price-n small { font-size: 0.42em; color: var(--gold-text); font-family: var(--font-body); letter-spacing: 0.08em; }
.inv-price-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: 6px; }
.inv-price-copy p { font-size: 0.9rem; color: var(--text-muted); max-width: 60ch; }
.inv-disclaimer { margin-top: 26px; font-size: 0.8rem; color: var(--text-muted); max-width: 90ch; }

/* ============ SIMULADOR DE VALOR ============ */
.sim-section { background: var(--bg-alt); padding: clamp(72px, 11vw, 130px) 0; }
.sim-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.sim-head p { margin-top: 16px; font-size: 1rem; color: var(--text-muted); max-width: 62ch; }

.sim-shell {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.sim-controls {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  box-shadow: var(--shadow-md);
  padding: 26px;
  display: grid;
  gap: 24px;
}
.sim-label {
  display: block;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}
.sim-seg { display: flex; flex-wrap: wrap; gap: 7px; }
.sim-seg button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.sim-seg button:hover { border-color: var(--gold); color: var(--gold-text); }
.sim-seg button[aria-pressed="true"] {
  background: var(--night); color: var(--gold-light); border-color: var(--night);
}
.sim-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-i);
  background: var(--bg-base);
  font-size: 0.95rem;
  color: var(--ink);
}
.sim-slider-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.sim-slider-value small { font-size: 0.55em; color: var(--text-muted); font-family: var(--font-body); }
.sim-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-faint); margin-top: 6px; }

/* resultados inyectados por JS */
.sim-hero-value { margin-bottom: 22px; }
.sim-test-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-text);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin-bottom: 14px;
}
.sim-kicker { font-size: 0.88rem; color: var(--text-muted); }
.sim-range-big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.sim-range-big b { font-weight: 400; }
.sim-pm2 { font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; }

.sim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sim-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.sim-card-wide { grid-column: 1 / -1; }
.sim-card h4 {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sim-metric {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.sim-metric small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.sim-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sim-chart { width: 100%; height: auto; margin-top: 8px; }
.sim-chart .g-area { fill: url(#simGrad); }
.sim-chart .g-line { fill: none; stroke: var(--gold-deep); stroke-width: 2; }
.sim-chart .g-dot { fill: var(--gold); stroke: var(--bg-panel); stroke-width: 2; }
.sim-chart-labels { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-faint); margin-top: 4px; }

.sim-score { display: flex; align-items: center; gap: 18px; }
.sim-gauge {
  --v: 50; --sc: var(--gold-deep);
  width: 92px; height: 92px; border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--bg-panel) 74%, transparent 75% 100%),
    conic-gradient(var(--sc) calc(var(--v) * 1%), var(--bg-alt) 0);
  display: grid; place-items: center;
  flex: none;
}
.sim-gauge span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sim-score-label b { display: block; font-size: 1rem; font-weight: 500; }
.sim-vlabel.sem-green-t { color: var(--sem-green); }
.sim-vlabel.sem-amber-t { color: var(--sem-amber); }
.sim-vlabel.sem-red-t   { color: var(--sem-red); }
.sim-score-label small { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; display: block; margin-top: 3px; }

.sim-persona p { font-size: 0.9rem; color: var(--text-body); }
.sim-card-star { border-color: var(--gold-border); background: linear-gradient(160deg, #FFFDF6, #FFF); }
.sim-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  color: #14202C; background: var(--gold);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  margin-bottom: 8px;
}
.sim-foot { margin-top: 22px; display: grid; gap: 16px; }
.sim-disclaimer { font-size: 0.82rem; color: var(--text-muted); max-width: 90ch; }
.sim-cta {
  justify-self: start;
  display: inline-flex;
  padding: 13px 24px;
  background: var(--gold);
  color: #14202C;
  border-radius: var(--r-i);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 6px 22px rgba(201,168,76,0.24);
  transition: transform var(--t-fast), background var(--t-fast);
}
.sim-cta:hover { transform: translateY(-1px); background: var(--gold-light); }
.sim-cta:active { transform: scale(0.98); }

/* ============ RANGE INPUTS (global) ============ */
input[type="range"] {
  --fill: 50%;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 5px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--gold) var(--fill), rgba(26,24,18,0.14) var(--fill));
  outline-offset: 6px;
}
.tool-panel input[type="range"] {
  background: linear-gradient(90deg, var(--gold) var(--fill), rgba(240,237,228,0.18) var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #FFFDF6;
  box-shadow: 0 2px 10px rgba(38,32,18,0.3);
  cursor: grab;
  transition: transform var(--t-fast);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.05); }
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #FFFDF6;
  box-shadow: 0 2px 10px rgba(38,32,18,0.3);
  cursor: grab;
}
.tool-panel input[type="range"]::-webkit-slider-thumb { border-color: var(--night-2); }
.tool-panel input[type="range"]::-moz-range-thumb { border-color: var(--night-2); }

/* ============ COTIZADOR ============ */
.quoter {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--r-p) + 4px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.q-progress {
  display: flex;
  list-style: none;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.q-step-ind {
  flex: 1;
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-faint);
  display: flex; align-items: center; gap: 10px;
  border-right: 1px solid var(--line);
  transition: color var(--t-std), background var(--t-std);
}
.q-step-ind:last-child { border-right: 0; }
.q-step-ind span {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  transition: all var(--t-std);
}
.q-step-ind.active { color: var(--ink); background: var(--bg-panel); }
.q-step-ind.active span { background: var(--gold); border-color: var(--gold); color: #14202C; font-weight: 600; }
.q-step-ind.done { color: var(--gold-text); }
.q-step-ind.done span { border-color: var(--gold); color: var(--gold-text); }

.q-panels { padding: clamp(26px, 4.5vw, 48px); }
.q-panel.entering { animation: q-in 0.42s var(--ease); }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .q-panel.entering { animation: none; } }

.q-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 26px;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.level-card {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  padding: 24px 24px 22px;
  background: var(--bg-base);
  display: grid;
  gap: 5px;
  align-content: start;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.level-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.level-card:active { transform: scale(0.99); }
.level-card.selected { border-color: var(--gold); background: #FFFDF6; box-shadow: var(--shadow-md); }
.lc-roman {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.lc-check {
  position: absolute; top: 16px; right: 16px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #14202C;
  display: none;
  align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.level-card.selected .lc-check { display: inline-flex; }
.lc-badge {
  position: absolute; top: -11px; left: 20px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  background: var(--gold); color: #14202C;
  border-radius: var(--r-pill);
  padding: 3px 12px;
}
.lc-star { border-color: var(--gold-border); }
.lc-kicker { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
.lc-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.12; color: var(--ink); }
.lc-price { font-size: 0.9rem; color: var(--ink); font-weight: 500; margin-top: 4px; }
.lc-aud { font-size: 0.83rem; color: var(--text-muted); }
.lc-time { font-size: 0.76rem; color: var(--gold-text); margin-top: 4px; }

.q-block { max-width: 640px; }
.q-label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.q-label small { font-weight: 300; color: var(--text-muted); }
.q-slider-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.q-slider-scale { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--text-faint); margin-top: 8px; }
.q-fee-preview {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-i);
}
.q-formula { font-size: 0.8rem; color: var(--gold-text); }
.q-fee-live { font-weight: 600; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.q-urgency { border: 0; margin-top: 22px; }
.q-urgency legend { padding: 0; }
.q-pill { display: inline-flex; margin: 4px 8px 0 0; cursor: pointer; }
.q-pill input { position: absolute; opacity: 0; pointer-events: none; }
.q-pill span {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.q-pill small { color: var(--text-faint); }
.q-pill input:checked + span { background: var(--night); color: var(--gold-light); border-color: var(--night); }
.q-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.q-d-msg { font-size: 0.95rem; color: var(--text-body); max-width: 60ch; }
.q-iv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.q-input-wrap { position: relative; }
.q-input-wrap input {
  width: 100%;
  padding: 13px 52px 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-i);
  background: var(--bg-base);
  font-size: 1rem;
  transition: border-color var(--t-fast);
}
.q-input-wrap input:focus { border-color: var(--gold); outline: none; }
.q-mxn {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 0.8rem; color: var(--text-faint);
}

.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 34px; }
.q-back {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 6px;
  transition: color var(--t-fast);
}
.q-back:hover { color: var(--ink); }

.q-result-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.q-ranges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.q-range {
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  padding: 20px;
  text-align: center;
  display: grid;
  gap: 4px;
  background: var(--bg-base);
}
.q-range-star { border-color: var(--gold); background: #FFFDF6; box-shadow: var(--shadow-md); }
.q-range-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.q-range-star .q-range-label { color: var(--gold-text); }
.q-range-n { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--ink); font-variant-numeric: tabular-nums; }
.q-range-tag { font-size: 0.72rem; color: var(--gold-text); }

.q-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.q-meta dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.q-meta dd { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }

.q-legal { font-size: 0.8rem; color: var(--text-muted); max-width: 80ch; }
.q-result-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.q-pdf-status { margin-top: 12px; font-size: 0.85rem; color: var(--gold-text); }
.q-noscript { padding: 26px; font-size: 0.9rem; color: var(--text-body); }

/* ============ INSIGHTS ============ */
.insights { max-width: 860px; display: grid; gap: 12px; }
.insight {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-p);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--t-std);
}
.insight[open] { box-shadow: var(--shadow-md); }
.insight summary {
  list-style: none;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
}
.insight summary::-webkit-details-marker { display: none; }
.in-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.5rem; color: var(--text-faint);
  line-height: 1.15; padding-bottom: 2px;
}
.insight[open] .in-num { color: var(--gold-deep); }
.in-title { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.in-icon { position: relative; width: 16px; height: 16px; justify-self: end; }
.in-icon::before, .in-icon::after {
  content: ""; position: absolute; inset: 7px 0; background: var(--gold-deep);
  transition: transform var(--t-std);
}
.in-icon::after { transform: rotate(90deg); }
.insight[open] .in-icon::after { transform: rotate(0deg); }
.in-body { padding: 0 24px 24px 94px; display: grid; gap: 12px; }
.in-body p { font-size: 0.94rem; color: var(--text-body); max-width: 68ch; }

/* ============ CONTACTO · CONTRAPORTADA ============ */
.section-dark {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(201,168,76,0.08), transparent 60%),
    linear-gradient(200deg, #101823 0%, var(--night) 60%);
  color: var(--bone);
}
.section-dark h2 { color: var(--bone); }
.section-dark h2 em { color: var(--gold); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark strong, .section-dark b { color: var(--bone); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}
.contact-lead { margin-top: 18px; color: var(--bone-muted); max-width: 44ch; }
.contact-list { list-style: none; margin-top: 34px; display: grid; gap: 20px; }
.cl-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.cl-value { font-size: 1.02rem; color: var(--bone); }
a.cl-value:hover { color: var(--gold-light); }

.contact-form-wrap {
  background: var(--night-panel);
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--r-p) + 4px);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-night);
}
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bone);
  margin-bottom: 8px;
}
.form-group label small { font-weight: 300; color: var(--bone-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(240,237,228,0.05);
  border: 1px solid rgba(240,237,228,0.18);
  border-radius: var(--r-i);
  color: var(--bone);
  font-size: 0.98rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(240,237,228,0.38); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(240,237,228,0.08);
}
.form-group select { appearance: none; -webkit-appearance: none; }
.form-group-select::after {
  content: ""; position: absolute; right: 18px; top: 47px;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--bone-muted);
  border-bottom: 1.6px solid var(--bone-muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.form-group select option { color: var(--ink); background: #FFF; }
.form-error { display: block; font-size: 0.8rem; color: #E5A692; margin-top: 6px; min-height: 1em; }
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: #C96A4E; }
.form-group.valid input,
.form-group.valid select,
.form-group.valid textarea { border-color: rgba(201,168,76,0.5); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--bone-muted); text-align: center; }

.form-success { text-align: center; padding: 20px 6px; }
.fs-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: #14202C;
  margin-bottom: 18px;
}
.fs-check svg { width: 26px; height: 26px; }
.form-success h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--bone); margin-bottom: 10px; }
.form-success p { color: var(--bone-muted); font-size: 0.95rem; max-width: 46ch; margin: 0 auto; }
.fs-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.fs-note { margin-top: 16px; font-size: 0.82rem; color: var(--bone-muted); }
.form-success .q-back { color: var(--bone-muted); margin-top: 10px; }
.form-success .q-back:hover { color: var(--bone); }

/* ============ FOOTER ============ */
.footer {
  background: #0B0F14;
  color: var(--bone-muted);
  padding: clamp(56px, 8vw, 90px) 0 40px;
  border-top: 1px solid var(--line-dark);
}
.footer-brand { text-align: center; margin-bottom: 36px; }
.footer-crisol { width: 64px; margin: 0 auto 18px; }
.footer .crisol-ring { stroke: rgba(240,237,228,0.35); }
.wordmark-lg { font-size: 1.5rem; }
.footer-tagline {
  margin-top: 8px;
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bone-muted);
}
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px;
  margin-bottom: 36px;
  font-size: 0.88rem;
}
.footer-links a { color: var(--bone-muted); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--gold-light); }
.footer-legal {
  border-top: 1px solid rgba(240,237,228,0.08);
  padding-top: 26px;
  display: grid; gap: 8px;
  font-size: 0.78rem;
  color: rgba(169,178,188,0.85);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.footer-copy { color: rgba(169,178,188,0.6); margin-top: 6px; }

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(8,10,14,0.4);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.wa-float svg { width: 25px; height: 25px; }
.wa-float:hover { transform: translateY(-2px); background: var(--gold); color: #14202C; }
.wa-float:active { transform: scale(0.96); }

/* ============ REVEALS (activados por IntersectionObserver) ============ */
html.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
  transition-delay: var(--rv-delay, 0ms);
}
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: block; margin-left: 12px; }
}

@media (max-width: 960px) {
  .meth-grid { grid-template-columns: 1fr; }
  .meth-rail { position: static; }
  .tool-panel { grid-template-columns: 1fr; }
  .sim-shell { grid-template-columns: 1fr; }
  .sim-controls { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .inv-price-band { grid-template-columns: 1fr; }
  .inv-price-n { white-space: normal; }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-bottom: 44px;
  }
  .hero-visual { order: -1; }
  .crisol { width: min(190px, 44vw); }
  .hero-band-inner { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat-l { font-size: 0.72rem; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .section, .sim-section { padding: 64px 0; }

  /* tabla comparativa → tabs de una columna */
  .comp-tabs { display: flex; }
  .comp-table { min-width: 0; }
  .comp-scroll[data-show="a"] [data-col]:not([data-col="a"]),
  .comp-scroll[data-show="b"] [data-col]:not([data-col="b"]),
  .comp-scroll[data-show="c"] [data-col]:not([data-col="c"]),
  .comp-scroll[data-show="d"] [data-col]:not([data-col="d"]) { display: none; }
  .comp-table .rowlabel { max-width: none; }

  .level-grid { grid-template-columns: 1fr; }
  .q-iv-grid { grid-template-columns: 1fr; }
  .q-ranges { grid-template-columns: 1fr; }
  .q-meta { grid-template-columns: 1fr 1fr; }
  .q-progress { overflow-x: auto; }
  .q-step-ind { white-space: nowrap; }

  .sim-grid { grid-template-columns: 1fr; }
  .sim-dual { grid-template-columns: 1fr 1fr; }

  .tool-readouts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tro-v { font-size: 1.1rem; }

  .in-body { padding-left: 24px; }
  .insight summary { grid-template-columns: 44px minmax(0, 1fr) 26px; padding: 18px 20px; }

  .esc-table th, .esc-table td { padding: 10px 14px; font-size: 0.85rem; }

  .wa-float { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; }
  .q-result-ctas .btn { width: 100%; }
  .hero-band-inner { grid-template-columns: 1fr; gap: 16px; }
}
