/*
 * SeguroYa — Estilos Globales
 * Incluir en TODAS las páginas
 * Versión: 1.0 | 2025
 */

/* ════════════════════════════════════════════
   VARIABLES Y RESET — base del sistema
════════════════════════════════════════════ */

/* ════════════════════════════════════════════════
   SISTEMA DE DISEÑO — LUXURY FINANCIAL DARK
════════════════════════════════════════════════ */
:root {
  --ink:      #060912;
  --ink2:     #0b1018;
  --ink3:     #111827;
  --ink4:     #1a2332;
  --border:   #1e2d3d;
  --border2:  #253447;
  --gold:     #c9a84c;
  --gold2:    #e8c96a;
  --gold-dim: rgba(201,168,76,0.12);
  --gold-glow:rgba(201,168,76,0.25);
  --teal:     #00b4a0;
  --teal-dim: rgba(0,180,160,0.1);
  --red:      #e05555;
  --txt:      #dde4ef;
  --txt2:     #8a9ab5;
  --txt3:     #4a5a72;
  --white:    #ffffff;
  --display:  'Cormorant Garamond', Georgia, serif;
  --body:     'Figtree', system-ui, sans-serif;
  --mono:     'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--txt);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

/* ════════════════════════════════════════════════
   TICKER — datos en vivo
════════════════════════════════════════════════ */
.ticker {
  background: var(--ink2);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 36px;
  display: flex; align-items: center;
  overflow: hidden; position: relative;
}
.ticker-label {
  font-family: var(--mono); font-size: 0.65rem;
  font-weight: 500; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px;
  white-space: nowrap; margin-right: 24px;
  flex-shrink: 0;
  border-right: 1px solid var(--border2);
  padding-right: 24px;
}
.ticker-track {
  display: flex; gap: 48px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.7rem;
}
.ticker-name { color: var(--txt2); }
.ticker-val  { color: var(--txt); font-weight: 500; }
.ticker-chg.up   { color: #4ade80; }
.ticker-chg.down { color: var(--red); }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,9,18,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-size: 1.65rem; font-weight: 600;
  color: var(--txt); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
  color: var(--ink); flex-shrink: 0;
}
.logo em { font-style: italic; color: var(--gold); }

.nav-center {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 14px; color: var(--txt2);
  text-decoration: none; font-size: 0.82rem;
  font-weight: 500; border-radius: 6px;
  transition: all 0.2s; letter-spacing: 0.2px;
}
.nav-link:hover { color: var(--txt); background: var(--ink3); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-badge {
  font-family: var(--mono); font-size: 0.62rem;
  color: var(--teal); border: 1px solid rgba(0,180,160,0.3);
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 5px;
}
.nav-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.btn-gold {
  background: var(--gold); color: var(--ink);
  border: none; border-radius: 8px;
  padding: 9px 20px; font-size: 0.82rem;
  font-weight: 700; cursor: pointer;
  font-family: var(--body); letter-spacing: 0.3px;
  transition: all 0.2s;
}
.btn-gold:hover {
  background: var(--gold2);
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════
   HERO — editorial dramático
════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 100px);
  display: flex; flex-direction: column;
}

/* Malla de fondo */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute; z-index: 0;
  border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.hero-glow.g1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.11) 0%, rgba(201,168,76,0.04) 40%, transparent 70%);
  top: -220px; right: -120px;
}
.hero-glow.g2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,180,160,0.06) 0%, transparent 70%);
  bottom: 0; left: -100px;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 80px 32px 0;
  flex: 1; display: flex; flex-direction: column;
}

/* Número grande de fondo — decorativo */
.hero-bignumber {
  position: absolute; right: -40px; top: 20px;
  font-family: var(--display);
  font-size: 28vw; font-weight: 700;
  color: rgba(201,168,76,0.03);
  line-height: 1; pointer-events: none;
  user-select: none; white-space: nowrap;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}
.eyebrow-line {
  width: 40px; height: 1px; background: var(--gold);
}
.eyebrow-text {
  font-family: var(--mono); font-size: 0.68rem;
  color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -3px; color: var(--txt);
  margin-bottom: 0;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-headline strong {
  font-weight: 700; display: block;
}
.hero-headline em {
  font-style: italic; color: var(--gold);
  display: block;
}

/* Layout dividido */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 56px; flex: 1;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-left {
  padding-bottom: 64px;
  border-right: 1px solid var(--border);
  padding-right: 48px;
}
.hero-desc {
  font-size: 1rem; color: var(--txt2);
  line-height: 1.8; margin-bottom: 36px;
  max-width: 420px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--gold); color: var(--ink);
  border: none; border-radius: 8px;
  padding: 14px 28px; font-size: 0.9rem;
  font-weight: 700; cursor: pointer;
  font-family: var(--body);
  transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover {
  background: var(--gold2);
  box-shadow: 0 8px 32px var(--gold-glow);
  transform: translateY(-2px);
}
.btn-hero-ghost {
  background: transparent; color: var(--txt2);
  border: 1px solid var(--border2);
  border-radius: 8px; padding: 14px 28px;
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer; font-family: var(--body);
  transition: all 0.2s;
}
.btn-hero-ghost:hover {
  border-color: var(--gold); color: var(--gold);
}

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 56px;
  border-top: 1px solid var(--border);
}
.hero-metric {
  padding: 24px 0; border-right: 1px solid var(--border);
}
.hero-metric:last-child { border-right: none; }
.hero-metric:not(:first-child) { padding-left: 24px; }
.metric-num {
  font-family: var(--display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--gold2); line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 30px rgba(201,168,76,0.3);
}
.metric-label {
  font-size: 0.75rem; color: var(--txt3);
  text-transform: uppercase; letter-spacing: 1px;
}

/* Panel derecho del hero — cotizador */
.hero-right { padding-left: 48px; padding-bottom: 64px; }
.cotizador-label {
  font-family: var(--mono); font-size: 0.62rem;
  color: var(--txt3); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.cotizador-label::before {
  content: ''; flex: none; width: 16px; height: 1px;
  background: var(--border2);
}

/* Tabs del cotizador */
.cot-tabs {
  display: flex; gap: 0; margin-bottom: 28px;
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden;
}
.cot-tab {
  flex: 1; padding: 10px 6px;
  background: transparent; border: none;
  color: var(--txt3); font-size: 0.78rem;
  font-weight: 600; cursor: pointer;
  font-family: var(--body); letter-spacing: 0.3px;
  border-right: 1px solid var(--border);
  transition: all 0.2s;
}
.cot-tab:last-child { border-right: none; }
.cot-tab.active {
  background: var(--gold-dim); color: var(--gold);
}
.cot-tab:hover:not(.active) { color: var(--txt2); background: var(--ink3); }

/* Formulario dark */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 0.68rem;
  font-weight: 600; color: var(--txt3);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.field select, .field input {
  width: 100%; background: var(--ink3);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--txt);
  font-size: 0.88rem; font-family: var(--body);
  outline: none; appearance: none;
  transition: border-color 0.2s;
}
.field select:focus, .field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Resultado del cotizador */
.cot-result {
  background: linear-gradient(135deg, var(--ink3), var(--ink4));
  border: 1px solid var(--border2);
  border-radius: 10px; padding: 18px;
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 14px;
  position: relative; overflow: hidden;
}
.cot-result::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.cot-from { font-size: 0.68rem; color: var(--txt3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cot-price {
  font-family: var(--display);
  font-size: 2rem; font-weight: 600; color: var(--gold);
  line-height: 1;
}
.cot-period { font-size: 0.72rem; color: var(--txt3); margin-top: 2px; }
.cot-compare { text-align: right; }
.cot-compare-num { font-size: 1.1rem; font-weight: 700; color: var(--txt); }
.cot-compare-label { font-size: 0.68rem; color: var(--txt3); }

.btn-cot {
  width: 100%; background: var(--gold); color: var(--ink);
  border: none; border-radius: 8px; padding: 13px;
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  font-family: var(--body); transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-cot:hover {
  background: var(--gold2);
  box-shadow: 0 6px 24px var(--gold-glow);
}
.cot-trust {
  display: flex; gap: 16px; margin-top: 12px;
  justify-content: center;
}
.cot-trust-item {
  font-size: 0.7rem; color: var(--txt3);
  display: flex; align-items: center; gap: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════
   ASEGURADORAS — "Quiénes se pelean por estar aquí"
════════════════════════════════════════════════ */
.insurers-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 32px;
  background: var(--ink2);
}
.insurers-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
}
.insurers-label {
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--txt3); text-transform: uppercase;
  letter-spacing: 2px; white-space: nowrap; flex-shrink: 0;
}
.insurers-track {
  display: flex; gap: 40px; flex-wrap: wrap;
  align-items: center;
}
.insurer-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px; border: 1px solid var(--border);
  border-radius: 100px; cursor: pointer;
  transition: all 0.25s; text-decoration: none;
}
.insurer-chip:hover {
  border-color: var(--gold); background: var(--gold-dim);
}
.insurer-chip.featured {
  border-color: rgba(201,168,76,0.40);
  background: rgba(201,168,76,0.07);
  box-shadow: 0 0 20px rgba(201,168,76,0.08);
}
.insurer-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--txt3);
}
.insurer-chip.featured .dot { background: var(--gold); }
.insurer-name {
  font-size: 0.78rem; font-weight: 600;
  color: var(--txt2); white-space: nowrap;
}
.insurer-chip.featured .insurer-name { color: var(--gold); }
.insurer-rating {
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--txt3);
}

/* ════════════════════════════════════════════════
   PRODUCTOS — grid editorial
════════════════════════════════════════════════ */
.section {
  max-width: 1280px; margin: 0 auto;
  padding: 96px 32px;
}
.section-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end; margin-bottom: 64px;
}
.section-eyebrow {
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.12;
  letter-spacing: -2px; color: var(--txt);
}
.section-title strong { font-weight: 700; }
.section-desc {
  font-size: 0.9rem; color: var(--txt2);
  line-height: 1.8; max-width: 380px;
  align-self: end;
}

/* Grid de productos asimétrico */
.products-asymmetric {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.prod-card {
  background: var(--ink2);
  padding: 36px 32px;
  cursor: pointer; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.prod-card::after {
  content: ''; position: absolute;
  inset: 0; background: var(--gold-dim);
  opacity: 0; transition: opacity 0.3s;
}
.prod-card:hover { background: var(--ink3); }
.prod-card:hover::after { opacity: 1; }
.prod-card.featured {
  grid-row: span 2;
  background: var(--ink3);
  border-right: 1px solid var(--border2);
}
.prod-card.featured::after { opacity: 0.5; }

.prod-number {
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--txt3); margin-bottom: 24px;
  letter-spacing: 2px;
}
.prod-icon {
  font-size: 2rem; margin-bottom: 20px;
  display: block;
}
.prod-title {
  font-family: var(--display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--txt); margin-bottom: 10px;
  letter-spacing: -0.5px; line-height: 1.2;
}
.prod-card.featured .prod-title { font-size: 2rem; }
.prod-desc {
  font-size: 0.82rem; color: var(--txt2);
  line-height: 1.7; margin-bottom: auto;
}
.prod-price-row {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: baseline;
  justify-content: space-between;
}
.prod-price {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 600; color: var(--gold);
}
.prod-card.featured .prod-price { font-size: 1.8rem; }
.prod-cta {
  font-size: 0.75rem; color: var(--txt3);
  display: flex; align-items: center; gap: 6px;
  font-weight: 600;
  transition: color 0.2s;
}
.prod-card:hover .prod-cta { color: var(--gold); }
.prod-tag {
  display: inline-block; font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 3px 10px; border-radius: 4px;
  margin-bottom: 16px;
}

/* ════════════════════════════════════════════════
   CALCULADORA — diseño de dashboard financiero
════════════════════════════════════════════════ */
.calc-full {
  background: var(--ink2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 32px;
}
.calc-full-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 80px; align-items: start;
}
.calc-sidebar { position: sticky; top: 96px; }

.calc-widget {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.calc-widget-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
}
.calc-widget-title {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--txt2); text-transform: uppercase;
  letter-spacing: 2px;
}
.calc-live-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--teal); letter-spacing: 1px;
}
.calc-live-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal);
  animation: blink 1.5s infinite;
}
.calc-widget-body { padding: 28px; }

.calc-steps-indicator {
  display: flex; gap: 6px; margin-bottom: 24px;
}
.calc-step-dot {
  height: 3px; flex: 1; border-radius: 2px;
  background: var(--border); transition: background 0.3s;
}
.calc-step-dot.active { background: var(--gold); }
.calc-step-dot.done   { background: rgba(201,168,76,0.4); }

.step-panel { display: none; }
.step-panel.active { display: block; }

.dark-field { margin-bottom: 14px; }
.dark-field label {
  display: block; font-size: 0.65rem; font-weight: 600;
  color: var(--txt3); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 6px;
}
.dark-field select, .dark-field input {
  width: 100%; background: var(--ink2);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--txt); font-family: var(--body);
  font-size: 0.88rem; padding: 11px 14px; outline: none;
  appearance: none; transition: border-color 0.2s;
}
.dark-field select:focus, .dark-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
}
.dark-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Botones de paso */
.step-btns { display: flex; gap: 10px; margin-top: 4px; }
.btn-step-next {
  flex: 1; background: var(--gold); color: var(--ink);
  border: none; border-radius: 8px; padding: 12px;
  font-size: 0.85rem; font-weight: 700;
  cursor: pointer; font-family: var(--body); transition: all 0.2s;
}
.btn-step-next:hover { background: var(--gold2); }
.btn-step-back {
  background: var(--ink3); color: var(--txt2);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 18px; font-size: 0.85rem;
  cursor: pointer; font-family: var(--body); transition: all 0.2s;
  flex-shrink: 0;
}
.btn-step-back:hover { border-color: var(--border2); color: var(--txt); }

/* Resultado */
.result-display {
  background: linear-gradient(135deg, #0d1a2a, #0a1628);
  border: 1px solid var(--border2);
  border-radius: 12px; padding: 24px;
  margin-bottom: 16px; position: relative; overflow: hidden;
}
.result-display::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.result-display-label {
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--txt3); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 8px;
}
.result-display-amount {
  font-family: var(--display);
  font-size: 3rem; font-weight: 600;
  color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.result-display-sub {
  font-size: 0.78rem; color: var(--txt3); margin-bottom: 20px;
}
.result-rows { border-top: 1px solid var(--border); }
.result-row-item {
  display: flex; justify-content: space-between;
  align-items: center; padding: 10px 0;
  border-bottom: 1px solid rgba(30,45,61,0.5);
  font-size: 0.82rem;
}
.result-row-item:last-child { border-bottom: none; }
.result-row-item span:first-child { color: var(--txt3); }
.result-row-item span:last-child {
  font-family: var(--mono); font-weight: 500; color: var(--txt);
}
.result-row-item.total span { color: var(--gold); font-weight: 700; }

/* Info lateral de la calculadora */
.calc-info-blocks { display: flex; flex-direction: column; gap: 1px; }
.info-block {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  margin-bottom: 12px;
}
.info-block-num {
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--gold); letter-spacing: 2px;
  margin-bottom: 10px;
}
.info-block h4 {
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--txt); margin-bottom: 8px; line-height: 1.3;
}
.info-block p {
  font-size: 0.82rem; color: var(--txt2); line-height: 1.7;
}

/* ════════════════════════════════════════════════
   COMPARADOR — tabla premium
════════════════════════════════════════════════ */
.compare-section {
  padding: 96px 32px;
  max-width: 1280px; margin: 0 auto;
}
.compare-wrapper {
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; margin-top: 48px;
}
.compare-tbl { width: 100%; border-collapse: collapse; }
.compare-tbl thead {
  background: var(--ink2);
}
.compare-tbl thead th {
  padding: 20px 20px; text-align: left;
  font-family: var(--mono); font-size: 0.65rem;
  font-weight: 500; color: var(--txt3);
  text-transform: uppercase; letter-spacing: 1.5px;
  border-bottom: 1px solid var(--border);
}
.compare-tbl thead th.col-featured {
  background: var(--gold-dim);
  color: var(--gold); position: relative;
  border-left: 1px solid rgba(201,168,76,0.2);
  border-right: 1px solid rgba(201,168,76,0.2);
}
.featured-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--gold); color: var(--ink);
  font-size: 0.55rem; padding: 2px 8px; border-radius: 100px;
  font-weight: 700; letter-spacing: 1px; margin-left: 8px;
  vertical-align: middle;
}
.compare-tbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.compare-tbl tbody tr:last-child { border-bottom: none; }
.compare-tbl tbody tr:hover { background: rgba(201,168,76,0.02); }
.compare-tbl tbody td {
  padding: 16px 20px; font-size: 0.85rem; color: var(--txt2);
}
.compare-tbl tbody td:first-child {
  color: var(--txt); font-weight: 500;
  font-size: 0.82rem;
}
.compare-tbl tbody td.col-featured {
  background: rgba(201,168,76,0.04);
  border-left: 1px solid rgba(201,168,76,0.15);
  border-right: 1px solid rgba(201,168,76,0.15);
}
.yes { color: #4ade80; font-weight: 700; }
.no  { color: var(--txt3); }
.price-td {
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 600; color: var(--txt);
}
.price-td.gold { color: var(--gold); }
.tbl-btn {
  padding: 8px 18px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: var(--body); transition: all 0.2s;
}
.tbl-btn.ghost {
  background: transparent; color: var(--txt3);
  border: 1px solid var(--border);
}
.tbl-btn.ghost:hover { border-color: var(--border2); color: var(--txt2); }
.tbl-btn.primary {
  background: var(--gold); color: var(--ink); border: none;
}
.tbl-btn.primary:hover { background: var(--gold2); }

/* ════════════════════════════════════════════════
   CÓMO FUNCIONA — línea de tiempo
════════════════════════════════════════════════ */
.how-section {
  border-top: 1px solid var(--border);
  padding: 96px 32px;
  background: var(--ink2);
}
.how-inner {
  max-width: 1280px; margin: 0 auto;
}
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 64px; position: relative;
}
.timeline::before {
  content: ''; position: absolute;
  top: 28px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 5%,
    var(--border) 5%,
    var(--border) 95%,
    transparent 95%
  );
}
.tl-item { padding: 0 24px 0 0; position: relative; }
.tl-item:last-child { padding-right: 0; }
.tl-dot {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--ink); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.2rem;
  font-weight: 700; color: var(--gold);
  margin-bottom: 24px; position: relative; z-index: 1;
  transition: all 0.3s;
}
.tl-item:hover .tl-dot {
  background: var(--gold-dim); border-color: var(--gold);
}
.tl-title {
  font-family: var(--display); font-size: 1.1rem;
  font-weight: 600; color: var(--txt); margin-bottom: 8px;
}
.tl-desc {
  font-size: 0.82rem; color: var(--txt2); line-height: 1.7;
}

/* ════════════════════════════════════════════════
   TESTIMONIOS — editorial
════════════════════════════════════════════════ */
.testi-section {
  padding: 96px 32px;
  max-width: 1280px; margin: 0 auto;
}
.testi-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  margin-top: 48px;
}
.testi-card {
  background: var(--ink2); padding: 36px 32px;
  transition: background 0.2s;
}
.testi-card:hover { background: var(--ink3); }
.testi-stars {
  display: flex; gap: 2px; margin-bottom: 20px;
  color: var(--gold); font-size: 0.85rem;
}
.testi-quote {
  font-family: var(--display);
  font-size: 1.05rem; font-weight: 400;
  font-style: italic; color: var(--txt);
  line-height: 1.7; margin-bottom: 28px;
}
.testi-author-row {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.testi-av {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #8b6914);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700;
  font-size: 0.9rem; color: var(--ink); flex-shrink: 0;
}
.testi-name { font-size: 0.85rem; font-weight: 600; color: var(--txt); }
.testi-city { font-size: 0.72rem; color: var(--txt3); }

/* ════════════════════════════════════════════════
   FAQ — acordeón limpio
════════════════════════════════════════════════ */
.faq-section {
  border-top: 1px solid var(--border);
  padding: 96px 32px;
  background: var(--ink2);
}
.faq-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 80px;
}
.faq-sidebar { position: sticky; top: 96px; }
.faq-sidebar h3 {
  font-family: var(--display);
  font-size: 1rem; font-weight: 600;
  color: var(--txt2); margin-bottom: 6px;
}
.faq-sidebar .big {
  font-family: var(--display);
  font-size: 3.5rem; font-weight: 700;
  color: var(--gold); line-height: 1;
  margin-bottom: 20px;
}

.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q-btn {
  width: 100%; background: none; border: none;
  padding: 22px 0; text-align: left; cursor: pointer;
  font-size: 0.92rem; font-weight: 500; color: var(--txt2);
  font-family: var(--body); display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.2s;
}
.faq-q-btn:hover { color: var(--txt); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--ink3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--txt3); font-size: 1rem;
  transition: all 0.3s;
}
.faq-item.open .faq-q-btn { color: var(--gold); }
.faq-item.open .faq-icon {
  background: var(--gold); color: var(--ink);
  border-color: var(--gold); transform: rotate(45deg);
}
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-body {
  max-height: 400px; padding-bottom: 20px;
}
.faq-body p {
  font-size: 0.88rem; color: var(--txt2); line-height: 1.8;
}

/* ════════════════════════════════════════════════
   CTA FINAL — dramático
════════════════════════════════════════════════ */
.cta-final {
  padding: 96px 32px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-final-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  max-width: 900px; margin: 0 auto;
  text-align: center; position: relative;
}
.cta-final h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -2px; color: var(--txt);
  margin-bottom: 20px;
}
.cta-final h2 em { font-style: italic; color: var(--gold); }
.cta-final p {
  font-size: 1rem; color: var(--txt2); margin-bottom: 40px;
}
.cta-final-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  background: var(--ink2); padding: 56px 32px 28px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.82rem; color: var(--txt3);
  line-height: 1.7; margin: 16px 0;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--txt3); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  text-decoration: none; color: var(--txt3);
  font-size: 0.82rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 0.75rem; color: var(--txt3);
  font-family: var(--mono);
}
.footer-legal-badges {
  display: flex; gap: 16px; align-items: center;
}
.footer-legal-badge {
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--txt3); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 4px; letter-spacing: 1px;
}

/* WhatsApp */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.1); }

/* ════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════ */
.rev {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rev.in { opacity: 1; transform: translateY(0); }
.rev-d1 { transition-delay: 0.08s; }
.rev-d2 { transition-delay: 0.16s; }
.rev-d3 { transition-delay: 0.24s; }
.rev-d4 { transition-delay: 0.32s; }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-right { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 48px; }
  .hero-left  { border-right: none; padding-right: 0; }
  .products-asymmetric { grid-template-columns: 1fr 1fr; }
  .prod-card.featured { grid-row: span 1; }
  .calc-full-inner { grid-template-columns: 1fr; }
  .calc-sidebar { position: static; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-center, .nav-badge { display: none; }
  .hero-headline { font-size: 3rem; letter-spacing: -2px; }
  .hero-bignumber { display: none; }
  .products-asymmetric { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .section-header { grid-template-columns: 1fr; }
  .insurers-track { gap: 12px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metric { border-right: none; border-bottom: 1px solid var(--border); padding-left: 0; }
}
@media (max-width: 480px) {
  .section, .calc-full, .faq-section, .cta-final, .how-section, .insurers-bar { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 0 20px; }
  .timeline { grid-template-columns: 1fr; }
}

/* Scroll progress bar */
.scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold2));
  width: 0%; transition: width 0.1s;
  pointer-events: none;
}


