/* ============================================================
   Ogant Capital — Design tokens + estilos
   Ver DESIGN.md para el razonamiento de cada decisión.
   ============================================================ */

:root {
  /* Color — OKLCH con fallback hex en comentario, ver DESIGN.md */
  --bg-deep: oklch(20% 0.035 255);
  --bg-surface: oklch(24% 0.038 255);
  --bg-elevated: oklch(27% 0.04 255);
  --bg-void: oklch(15% 0.03 255);

  --ink: oklch(94% 0.01 80);          /* #F0EDE8 */
  --ink-soft: oklch(88% 0.015 70);    /* #E0DBD4 */
  --ink-muted: oklch(72% 0.025 255);  /* subido desde #8A94A6 para 4.5:1 */

  --accent: oklch(74% 0.12 75);       /* #C9A052 */
  --accent-hover: oklch(80% 0.13 78); /* #DDB864 */
  --accent-soft: oklch(74% 0.12 75 / 0.08);
  --accent-border: oklch(74% 0.12 75 / 0.25);

  --border: oklch(38% 0.03 255 / 0.55);
  --border-soft: oklch(38% 0.03 255 / 0.3);

  --success: oklch(76% 0.16 152);     /* verde para ROI/positivo */

  /* Teal del logo definitivo (#5ebdad) — acento secundario para lo
     TECNOLÓGICO (blockchain, smart contracts), diferenciado del oro que
     marca lo REGULATORIO (AML, KYC, auditorías). Ver DESIGN.md 2026-07-27. */
  --accent-2: oklch(74% 0.094 181);
  --accent-2-soft: oklch(74% 0.094 181 / 0.1);
  --accent-2-border: oklch(74% 0.094 181 / 0.3);

  /* Tipografía */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaciado */
  --space-section: 120px;
  --space-section-mobile: 64px;
  --container-max: 1320px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.3s;
  --dur-slow: 0.6s;

  /* z-index scale semántica */
  --z-nav: 100;
  --z-modal-backdrop: 200;
  --z-modal: 210;
  --z-toast: 300;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-deep);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

p { text-wrap: pretty; max-width: 68ch; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}

.section {
  padding: var(--space-section) 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-head h2 { font-size: clamp(2rem, 3vw, 3rem); }

.section-rule {
  width: 44px;
  height: 1px;
  background: var(--accent);
  margin: 18px auto 0;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
/* [data-reveal] elements are fully visible by default (no JS, no motion) —
   only .reveal-init (added by JS, at the same tick it starts observing)
   introduces the hidden starting state. This is intentional: content must
   never depend on a class-triggered transition to become visible (headless
   screenshot tools, print, hidden tabs, or a JS error would leave it blank). */
.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 4px;
  border: none;
  transition: transform var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo), background var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo), color var(--dur-base) var(--ease-out-expo);
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px oklch(74% 0.12 75 / 0.38);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid oklch(94% 0.01 80 / 0.18);
  font-weight: 400;
}
.btn-secondary:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-weight: 500;
  padding: 12px 26px;
  font-size: 13.5px;
}
.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: oklch(74% 0.12 75 / 0.6);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 22px 0;
  transition: background var(--dur-base) var(--ease-out-expo), padding var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(24% 0.038 255 / 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom-color: var(--border-soft);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease-out-expo);
}
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  color: var(--ink);
  width: 40px; height: 40px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out-expo), opacity var(--dur-fast) var(--ease-out-expo), top var(--dur-base) var(--ease-out-expo);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.nav-cta-mobile { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  /* .nav is position:fixed, so it's the containing block for this absolute
     panel regardless of .container's static positioning between them —
     anchors correctly under both scrolled/unscrolled nav heights. */
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px; right: 16px;
    background: oklch(24% 0.038 255 / 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 10px;
    gap: 2px;
  }
  .nav-links.is-open a {
    display: block;
    padding: 13px 14px;
    border-radius: 8px;
    font-size: 15px;
    transition: background var(--dur-fast) var(--ease-out-expo), color var(--dur-fast) var(--ease-out-expo);
  }
  .nav-links.is-open a:hover { background: var(--accent-soft); color: var(--accent); }
}

/* Bajo 460px "Acceso Privado" no cabe junto al logo + toggle sin partirse en
   2 líneas — se oculta la CTA suelta del nav y se usa la del menú desplegable. */
@media (max-width: 460px) {
  .nav-cta-desktop { display: none; }
  .nav-links.is-open .nav-cta-mobile {
    display: block;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
  }
  /* .nav-links.is-open a ya fija color:var(--ink-muted) por especificidad —
     se repite aquí sobre .btn-primary para que gane sobre ese texto de link genérico. */
  .nav-links.is-open .nav-cta-mobile a.btn-primary {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 13px 14px;
    color: var(--bg-deep);
    background: var(--accent);
  }
  .nav-links.is-open .nav-cta-mobile a.btn-primary:hover {
    color: var(--bg-deep);
    background: var(--accent-hover);
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: linear-gradient(150deg, var(--bg-deep) 0%, oklch(23% 0.04 255) 55%, var(--bg-deep) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(74% 0.12 75 / 0.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-blob--1 { width: 560px; height: 560px; top: -10%; right: 5%; animation: driftA 22s var(--ease-out-expo) infinite alternate; }
.hero-blob--2 { width: 420px; height: 420px; bottom: -12%; left: 0%; animation: driftB 26s var(--ease-out-expo) infinite alternate; }
@keyframes driftA { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes driftB { from { transform: translate(0,0) scale(1); } to { transform: translate(30px, -25px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .hero-blob--1, .hero-blob--2 { animation: none; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-compliance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-muted);
}
.hero-compliance .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px oklch(74% 0.12 75 / 0.7);
  flex-shrink: 0;
}
.hero-compliance strong { color: var(--ink-soft); font-weight: 500; }

.hero h1 {
  font-size: clamp(2.6rem, 4vw + 1rem, 3.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  max-width: 620px;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.82;
  margin-bottom: 44px;
  max-width: 510px;
}
.hero-ctas { display: flex; gap: 14px; margin-bottom: 56px; flex-wrap: wrap; }

.trust-badges {
  border-top: 1px solid var(--border-soft);
  padding-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.trust-badge { display: flex; align-items: center; gap: 12px; }
.trust-badge .icon {
  width: 38px; height: 38px;
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge .icon svg { stroke: var(--accent); }
.trust-badge .icon--tech { background: var(--accent-2-soft); border-color: var(--accent-2-border); }
.trust-badge .icon--tech svg { stroke: var(--accent-2); }
.trust-badge strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); line-height: 1.2; }
.trust-badge span { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 2px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px oklch(0% 0 0 / 0.5));
  border-radius: 18px;
  border: 1px solid var(--border-soft);
}
.hero-float-card {
  position: absolute;
  background: oklch(24% 0.038 255 / 0.85);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 14px 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-float-card .label { font-size: 10px; color: var(--ink-muted); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }
.hero-float-card .value { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--accent); line-height: 1; }
.hero-float-card--1 { top: 6%; left: -6%; }
.hero-float-card--2 { bottom: 12%; right: -6%; }

.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 1;
}
.scroll-hint span { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: oklch(72% 0.025 255 / 0.5); }
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(to bottom, oklch(74% 0.12 75 / 0.5), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint .line { animation: none; } }
/* Hero content height varies with viewport width (mobile stacks hero-visual above text);
   below this width/height the centered content block runs into the hint's fixed bottom
   position and overlaps the trust badges. Hiding it is safe — it's a decorative nicety. */
@media (max-width: 980px), (max-height: 1000px) {
  .scroll-hint { display: none; }
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .container { padding: 0 24px; }
  /* Esquina inferior izquierda, más volcada fuera de la imagen — a top:6% pisaba
     el logo "Ogant Capital" centrado en la imagen a este tamaño reducido. */
  .hero-float-card--1 { top: auto; bottom: -40%; left: -6%; }
}

/* ============================================================
   Trust bar (logos)
   ============================================================ */
.trust-bar {
  padding: 48px 0;
  background: var(--bg-void);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-bar p {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--ink-muted);
  margin: 0 auto 28px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.trust-logos .logo-chip {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: oklch(72% 0.025 255 / 0.55);
  letter-spacing: 0.5px;
  transition: color var(--dur-base) var(--ease-out-expo);
}
.trust-logos .logo-chip:hover { color: var(--ink-soft); }

/* ============================================================
   Cards genéricas
   ============================================================ */
.card {
  background: oklch(27% 0.04 255 / 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 34px;
  transition: transform var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo), background var(--dur-base) var(--ease-out-expo);
}
.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px oklch(0% 0 0 / 0.3);
}
.card--featured {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  position: relative;
  overflow: hidden;
}
.card--featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.card-head svg { stroke: var(--accent); flex-shrink: 0; transform: translateY(3px); }
.card h3 { font-size: 25px; }
.card-list { display: flex; flex-direction: column; gap: 13px; list-style: none; }
.card-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-muted); line-height: 1.5; }
.card-list .bullet {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.card-list .bullet span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* ============================================================
   Proceso
   ============================================================ */
.process { background: linear-gradient(180deg, var(--bg-surface), var(--bg-deep)); }
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-line {
  position: absolute; top: 40px; left: 13%; right: 13%; height: 1px;
  background: linear-gradient(90deg, oklch(74% 0.12 75 / 0.07), oklch(74% 0.12 75 / 0.38), oklch(74% 0.12 75 / 0.38), oklch(74% 0.12 75 / 0.07));
}
.process-step { text-align: center; padding-top: 8px; }
.process-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: oklch(27% 0.04 255 / 0.95);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--accent);
}
.process-step:last-child .process-num {
  background: linear-gradient(135deg, oklch(74% 0.12 75 / 0.22), oklch(74% 0.12 75 / 0.08));
  border-color: oklch(74% 0.12 75 / 0.6);
  box-shadow: 0 0 22px oklch(74% 0.12 75 / 0.2);
}
.process-step h3 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.process-step p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.65; margin: 0 auto; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-line { display: none; }
}

/* ============================================================
   Activos (marketplace)
   ============================================================ */
.assets-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; gap: 24px; flex-wrap: wrap; }
.assets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.asset-card { background: oklch(27% 0.04 255 / 0.85); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo); }
.asset-card:hover { border-color: oklch(74% 0.12 75 / 0.32); transform: translateY(-5px); box-shadow: 0 22px 44px oklch(0% 0 0 / 0.4); }
.asset-card-head {
  height: 130px;
  background: linear-gradient(135deg, var(--bg-elevated), oklch(30% 0.042 255));
  position: relative; display: flex; align-items: flex-end; padding: 18px;
  overflow: hidden;
}
.asset-card-head img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.asset-card-head::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to top, oklch(15% 0.03 255 / 0.9) 0%, oklch(15% 0.03 255 / 0.4) 55%, oklch(74% 0.12 75 / 0.12) 100%);
}
.asset-type { font-size: 9.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; position: relative; z-index: 2; }
.asset-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.25; position: relative; z-index: 2; }
.asset-body { padding: 22px; }
.asset-metric-label { font-size: 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.9px; margin-bottom: 3px; }
.asset-return { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.asset-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.asset-meta .value { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.asset-progress-row { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 10.5px; }
.asset-progress-row .pct { font-weight: 600; color: var(--accent); }
.asset-progress-track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.asset-progress-bar { height: 100%; background: var(--accent); border-radius: 2px; }
.asset-tag { margin-top: 14px; padding: 9px 12px; background: var(--bg-void); border-radius: 6px; text-align: center; font-size: 11px; font-weight: 500; }
.asset-tag--available { color: var(--success); }
.asset-tag--soon { color: var(--ink-muted); }
.asset-dossier {
  display: block; margin-top: 12px; text-align: center; font-size: 12px; color: var(--accent);
  border: 1px solid var(--accent-border); border-radius: 6px; padding: 9px; transition: background var(--dur-base) var(--ease-out-expo);
}
.asset-dossier:hover { background: var(--accent-soft); }

/* ============================================================
   Simulador de rentabilidad
   ============================================================ */
.simulator {
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 52px;
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.simulator h3 { font-size: 28px; margin-bottom: 10px; }
.simulator > div > p.lead-sm { color: var(--ink-muted); font-size: 14px; margin-bottom: 36px; }
.sim-control { margin-bottom: 30px; }
.sim-control-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sim-control-head label { font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.8px; }
.sim-control-head output { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--accent); }
input[type="range"] {
  width: 100%;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 0 0 1px var(--accent-border);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-elevated);
  cursor: pointer;
}
.sim-results {
  background: var(--bg-void);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sim-result-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.sim-result-row:last-child { border-bottom: none; padding-bottom: 0; }
.sim-result-row .label { font-size: 13px; color: var(--ink-muted); }
.sim-result-row .value { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); }
.sim-result-row .value.accent { color: var(--accent); }
.sim-disclaimer { font-size: 12px; color: var(--ink-muted); margin-top: 8px; max-width: none; }
@media (max-width: 900px) {
  .simulator { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
}

/* ============================================================
   Comparativa
   ============================================================ */
.compare-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--border-soft); }
.compare-row:first-child { border-top: none; background: oklch(27% 0.04 255 / 0.95); padding-top: 4px; }
.compare-row:last-child { padding-bottom: 4px; }
.compare-row:nth-child(even):not(:first-child) { background: oklch(27% 0.04 255 / 0.35); }
.compare-cell { padding: 18px 30px; font-size: 14px; border-right: 1px solid var(--border-soft); }
.compare-cell:last-child { border-right: none; text-align: center; }
.compare-cell:nth-child(2) { text-align: center; color: var(--ink-muted); }
.compare-row:first-child .compare-cell { font-size: 12px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0.5px; }
.compare-row:first-child .compare-cell:last-child { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--accent); }
.compare-cell.label { font-weight: 500; color: var(--ink-soft); }
.compare-cell.win { font-weight: 500; color: var(--accent); }
@media (max-width: 700px) {
  .compare-cell { padding: 14px 16px; font-size: 12.5px; }
}

/* ============================================================
   Seguridad
   ============================================================ */
.security-intro { max-width: 640px; margin-bottom: 56px; }
.security-intro p { color: var(--ink-muted); font-size: 16.5px; line-height: 1.82; }
.grid-security { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.security-item {
  background: oklch(27% 0.04 255 / 0.6);
  border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 30px;
  display: flex; align-items: flex-start; gap: 18px;
  transition: border-color var(--dur-base) var(--ease-out-expo), background var(--dur-base) var(--ease-out-expo);
}
.security-item:hover { border-color: var(--accent-border); background: oklch(27% 0.04 255 / 0.95); }
.security-item .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.security-item .icon svg { stroke: var(--accent); }
.security-item .icon--tech { background: var(--accent-2-soft); border-color: var(--accent-2-border); }
.security-item .icon--tech svg { stroke: var(--accent-2); }
.security-item h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.security-item p { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
@media (max-width: 900px) { .grid-security { grid-template-columns: 1fr; } }

.spv-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.spv-banner-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}
.spv-banner::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, oklch(20% 0.035 255 / 0.92) 0%, oklch(20% 0.035 255 / 0.72) 45%, var(--accent-soft) 100%);
}
.spv-banner .icon-lg { width: 56px; height: 56px; border-radius: 14px; background: oklch(27% 0.04 255 / 0.7); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 2; }
.spv-banner > div:last-child { position: relative; z-index: 2; }
.spv-banner .icon-lg svg { stroke: var(--accent); }
.spv-banner h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.spv-banner p { font-size: 14px; color: var(--ink-muted); line-height: 1.7; max-width: 68ch; }
.spv-banner strong { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 700px) { .spv-banner { grid-template-columns: 1fr; text-align: left; } }

/* ============================================================
   Estadísticas
   ============================================================ */
.stats {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-surface));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 20px 30px; border-right: 1px solid var(--border-soft); }
.stat:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 13.5px; font-weight: 300; color: var(--ink-muted); letter-spacing: 0.5px; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border-soft); }
}

/* ============================================================
   Testimonios
   ============================================================ */
.testimonial { position: relative; overflow: hidden; }
.testimonial::before {
  content: '\201C';
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-size: 88px; color: oklch(74% 0.12 75 / 0.09);
  line-height: 1; font-weight: 600; pointer-events: none;
}
.testimonial .stars { color: var(--accent); font-size: 13px; margin-bottom: 18px; letter-spacing: 2px; }
.testimonial p.quote { font-size: 14.5px; color: var(--ink-muted); line-height: 1.78; margin-bottom: 26px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--accent);
}
.testimonial-author strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.testimonial-author span { display: block; font-size: 11.5px; font-weight: 300; color: var(--ink-muted); margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border-soft); border-radius: 12px; background: oklch(27% 0.04 255 / 0.5); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  background: none; border: none; text-align: left;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.faq-item[data-open="true"] .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-out-expo);
}
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 26px 22px; font-size: 14px; color: var(--ink-muted); line-height: 1.7; max-width: none; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  position: relative; overflow: hidden; text-align: center;
}
.cta-final-bg {
  position: absolute;
  top: -20px; left: -20px; right: -20px; bottom: -20px;
  width: calc(100% + 40px); height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(26px) saturate(1.15);
  opacity: 0.62;
  z-index: 0;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, oklch(24% 0.038 255 / 0.55) 0%, oklch(21% 0.036 255 / 0.62) 50%, oklch(16% 0.032 255 / 0.82) 100%);
}
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-bottom: 20px; max-width: 700px; margin-inline: auto; }
.cta-final p { color: var(--ink-muted); font-size: 16px; margin: 0 auto 40px; max-width: 520px; }
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--ink-muted); line-height: 1.7; max-width: 32ch; }
.footer-col h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; color: var(--ink-muted); transition: color var(--dur-fast) var(--ease-out-expo); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--ink-muted);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Utilidades responsive globales
   ============================================================ */
@media (max-width: 700px) {
  :root { --space-section: var(--space-section-mobile); }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 48px; }
}
