/* ============================================================
   ECOSISTEMA DRA. BEATRIZ — CUIDADO MATERNO DIGITAL
   Sistema visual: Editorial Oscuro Premium Cinematográfico
   Gii Studio · 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

:root {
  /* Paleta editorial oscura cinematográfica */
  --bg:           #0A0908;     /* negro cálido principal */
  --bg-1:         #14110F;     /* capa uno */
  --bg-2:         #1F1A14;     /* capa dos */
  --bg-3:         #2A2520;     /* capa tres */
  --line:         #3A342C;     /* líneas marcadas */
  --line-dim:     #241F19;     /* líneas sutiles */

  /* Acentos dorados */
  --gold:         #C9A961;     /* oro mate principal */
  --gold-hi:      #E8C87A;     /* oro brillante */
  --gold-dim:     #8A7340;     /* oro oscuro */
  --copper:       #B87333;     /* cobre */

  /* Acento femenino sutil para contexto materno */
  --rose:         #D9A7A0;     /* rosa sutil */
  --sage:         #7BA89C;     /* teal clínico */

  /* Texto */
  --text:         #F5F1E8;     /* crema principal */
  --text-soft:    #C5BFB3;     /* crema suave */
  --text-muted:   #A8A29E;     /* crema muted */
  --text-dim:     #6B645B;     /* crema dim */

  /* Alarma */
  --alert:        #C94F3E;     /* rojo quirúrgico */
  --alert-soft:   rgba(201, 79, 62, 0.12);

  /* Fuentes */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Espaciado editorial */
  --sp-1:  0.5rem;
  --sp-2:  1rem;
  --sp-3:  1.5rem;
  --sp-4:  2rem;
  --sp-6:  3rem;
  --sp-8:  4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;
  --sp-20: 10rem;
  --sp-24: 12rem;
  --sp-32: 16rem;

  /* Transiciones cinematográficas */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.19, 1, 0.22, 1);

  /* Sombras dramáticas */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 60px 140px rgba(0, 0, 0, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Grano de película cinematográfico */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Vignette cinematográfica sutil */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* ============================================================
   TIPOGRAFÍA EDITORIAL
   ============================================================ */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.display-xl { font-size: clamp(3.5rem, 9vw, 8.5rem); }
.display-lg { font-size: clamp(2.8rem, 7vw, 6rem); }
.display-md { font-size: clamp(2.2rem, 5vw, 4rem); }
.display-sm { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }

.italic { font-style: italic; }
.gold { color: var(--gold); }
.gold-hi { color: var(--gold-hi); }
.copper { color: var(--copper); }
.rose { color: var(--rose); }
.sage { color: var(--sage); }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.dim { color: var(--text-dim); }
.alert { color: var(--alert); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 400;
}

.kicker::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  line-height: 1.75;
  font-weight: 300;
  max-width: 62ch;
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  max-width: 48ch;
}

/* ============================================================
   NAVEGACIÓN FIJA
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-3) var(--sp-6);
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.95), rgba(10, 9, 8, 0.3));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-dim);
}

.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-brand span {
  color: var(--gold);
  font-weight: 500;
}

.nav-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  gap: var(--sp-4);
}

.nav-meta strong {
  color: var(--gold);
  font-weight: 400;
}

.nav-dots {
  position: fixed;
  right: var(--sp-6);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  z-index: 90;
}

.nav-dots a {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  display: block;
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
}

.nav-dots a:hover {
  background: var(--gold);
  transform: scale(1.6);
}

.nav-dots a.active {
  background: var(--gold);
  transform: scale(2);
  box-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
}

.nav-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  background: var(--bg-1);
  padding: 4px 8px;
}

.nav-dots a:hover::after {
  opacity: 1;
}

/* ============================================================
   ESTRUCTURA DE SECCIÓN / SLIDE
   ============================================================ */

.slide {
  min-height: 100vh;
  padding: var(--sp-20) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.slide-number {
  position: absolute;
  top: var(--sp-8);
  left: var(--sp-8);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.slide-number::after {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.slide-title {
  position: absolute;
  top: var(--sp-8);
  right: var(--sp-8);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.divider-gold {
  width: 4rem;
  height: 1px;
  background: var(--gold);
  margin: var(--sp-4) 0;
}

.divider-long {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, var(--line) 30%, transparent 100%);
  margin: var(--sp-8) 0;
}

/* ============================================================
   SLIDES DRAMÁTICAS CINEMATOGRÁFICAS (pausa visual)
   ============================================================ */

.slide-dramatic {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  background: var(--bg);
  position: relative;
}

.slide-dramatic::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 97, 0.04) 0%, transparent 50%);
}

.slide-dramatic .dramatic-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 2;
  opacity: 0.8;
}

.slide-dramatic .dramatic-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.2;
  color: var(--text);
  max-width: 24ch;
  font-weight: 400;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}

.slide-dramatic .dramatic-quote .gold {
  color: var(--gold);
}

.slide-dramatic .dramatic-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--sp-12);
  position: relative;
  z-index: 2;
}

/* ============================================================
   SLIDE 1 — HERO EDITORIAL
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: var(--sp-16) var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(217, 167, 160, 0.06) 0%, transparent 50%),
    var(--bg);
}

.hero-frame {
  position: absolute;
  inset: var(--sp-8);
  border: 1px solid var(--line-dim);
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after,
.hero-frame-inner::before,
.hero-frame-inner::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
}

.hero-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-frame::after { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.hero-frame-inner::before { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.hero-frame-inner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero-kicker::before {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.93;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-6);
  max-width: 15ch;
}

.hero-title .italic {
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: var(--sp-8);
  line-height: 1.5;
}

.hero-meta {
  position: absolute;
  bottom: var(--sp-12);
  left: var(--sp-12);
  right: var(--sp-12);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
}

.hero-meta-block {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 30ch;
}

.hero-meta-block strong {
  display: block;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: var(--sp-1);
}

/* ============================================================
   SLIDE — EL ESPEJO (directorios y FB muerto)
   ============================================================ */

.mirror-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.mirror-card {
  padding: var(--sp-4);
  border: 1px solid var(--line-dim);
  background: var(--bg-1);
  position: relative;
  transition: all 0.5s var(--ease-cinematic);
}

.mirror-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mirror-card .mono {
  color: var(--alert);
  font-size: 0.65rem;
  display: block;
  margin-bottom: var(--sp-2);
}

.mirror-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.mirror-card .commission {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line-dim);
  padding-top: var(--sp-2);
  margin-top: var(--sp-3);
  display: flex;
  justify-content: space-between;
}

.mirror-card .commission strong {
  color: var(--alert);
}

/* ============================================================
   MÉTRICAS EDITORIAL GIGANTE
   ============================================================ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin: var(--sp-8) 0;
}

.metric-big {
  border-top: 1px solid var(--gold);
  padding-top: var(--sp-3);
}

.metric-big .num {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--sp-2);
}

.metric-big .num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--text-muted);
}

.metric-big .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.metric-big .sublabel {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: var(--sp-2);
  font-style: italic;
}

/* ============================================================
   DIAGNÓSTICO: lista editorial con líneas
   ============================================================ */

.diag-list {
  list-style: none;
  counter-reset: diag;
  margin-top: var(--sp-6);
}

.diag-list li {
  counter-increment: diag;
  border-bottom: 1px solid var(--line-dim);
  padding: var(--sp-4) 0;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: var(--sp-4);
  align-items: baseline;
  transition: all 0.4s var(--ease);
}

.diag-list li:hover {
  background: rgba(201, 169, 97, 0.04);
  padding-left: var(--sp-2);
}

.diag-list li::before {
  content: counter(diag, decimal-leading-zero);
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.diag-list .diag-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.4;
}

.diag-list .diag-text .italic {
  color: var(--gold);
  font-style: italic;
}

.diag-list .diag-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--alert);
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid var(--alert);
  border-radius: 2px;
  white-space: nowrap;
}

.diag-list .diag-status.ok {
  color: var(--sage);
  border-color: var(--sage);
}

/* ============================================================
   LOS 6 MÓDULOS DEL ECOSISTEMA
   ============================================================ */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dim);
  border: 1px solid var(--line-dim);
  margin-top: var(--sp-8);
}

.module {
  background: var(--bg);
  padding: var(--sp-6);
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s var(--ease-cinematic);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.8s var(--ease-cinematic);
}

.module:hover::before {
  width: 100%;
}

.module:hover {
  background: var(--bg-1);
  transform: translateY(-3px);
}

.module .mod-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.module h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.module h3 .italic {
  color: var(--gold);
  font-style: italic;
}

.module p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.module .mod-tech {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.module .mod-tech span {
  color: var(--gold-dim);
}

/* ============================================================
   DEMO INTERACTIVA — MOCKUP DASHBOARD
   ============================================================ */

.demo-container {
  margin-top: var(--sp-8);
  border: 1px solid var(--gold-dim);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.demo-browser {
  background: var(--bg-2);
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--line-dim);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.demo-dots span:nth-child(1) { background: #C94F3E; }
.demo-dots span:nth-child(2) { background: #C9A961; }
.demo-dots span:nth-child(3) { background: #7BA89C; }

.demo-url {
  background: var(--bg);
  border: 1px solid var(--line-dim);
  padding: var(--sp-1) var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-grow: 1;
  text-align: center;
  margin: 0 var(--sp-2);
}

.demo-url .gold {
  color: var(--gold);
}

.demo-body {
  padding: var(--sp-6);
  min-height: 500px;
  background: var(--bg);
}

/* Header del dashboard paciente */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-dim);
  margin-bottom: var(--sp-6);
}

.dash-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}

.dash-brand .gold { color: var(--gold); }

.dash-user {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dash-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Grid principal del dashboard */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.dash-card {
  background: var(--bg-1);
  border: 1px solid var(--line-dim);
  padding: var(--sp-4);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.dash-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.dash-card .mono {
  font-size: 0.6rem;
  display: block;
  margin-bottom: var(--sp-2);
}

.dash-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

/* Progress semanas */
.week-bar {
  background: var(--bg-2);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: var(--sp-3) 0;
  position: relative;
}

.week-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--rose), var(--gold));
  width: 62%;
  border-radius: 3px;
  transition: width 1.2s var(--ease-cinematic);
}

.week-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.week-current {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 2.3rem;
  line-height: 1;
}

.week-current sup {
  font-size: 0.5em;
  color: var(--text-muted);
}

/* Ultrasonido mockup */
.us-card {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold-dim);
  padding: var(--sp-4);
  position: relative;
  overflow: hidden;
}

.us-card::before {
  content: 'IA · MATERNO-FETAL';
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
}

.us-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-4);
  align-items: start;
}

.us-image {
  aspect-ratio: 4/3;
  background: #111;
  background-image:
    radial-gradient(ellipse at 45% 55%, rgba(201, 169, 97, 0.35) 0%, transparent 30%),
    radial-gradient(ellipse at 48% 50%, rgba(245, 241, 232, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
    #0a0a0a;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.us-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(201, 169, 97, 0.03) 2px,
      rgba(201, 169, 97, 0.03) 3px
    );
}

.us-image::after {
  content: '◉';
  position: absolute;
  bottom: 6px;
  left: 6px;
  color: var(--gold);
  font-size: 0.6rem;
}

.us-marker {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px dashed var(--gold);
  top: 40%;
  left: 40%;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.us-analysis h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.us-analysis p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

.us-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--line-dim);
}

.us-stat {
  text-align: left;
}

.us-stat .num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 500;
  display: block;
  line-height: 1;
}

.us-stat .lbl {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* Medicamentos / citas / próxima */
.dash-list {
  list-style: none;
}

.dash-list li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line-dim);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-list li:last-child {
  border: none;
}

.dash-list .dose {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.dash-list .checked::before {
  content: '✓  ';
  color: var(--sage);
  font-weight: 600;
}

/* Botones del demo */
.demo-cta {
  margin-top: var(--sp-4);
  display: flex;
  gap: var(--sp-2);
}

.demo-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.demo-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.demo-btn.primary {
  background: var(--gold);
  color: var(--bg);
}

.demo-btn.primary:hover {
  background: var(--gold-hi);
}

/* ============================================================
   PREVIEW WEB REAL — CTA cinematográfico
   ============================================================ */

.web-preview-cta {
  margin-top: var(--sp-8);
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  box-shadow: var(--shadow-lg);
}

.web-preview-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.web-preview-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.web-preview-cta-text {
  position: relative;
  z-index: 2;
}

.web-preview-cta-text h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text);
  margin-bottom: var(--sp-2);
  font-weight: 500;
  line-height: 1.3;
}

.web-preview-cta-text h4 .gold {
  color: var(--gold);
}

.web-preview-cta-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 54ch;
}

.web-preview-cta a {
  background: var(--gold);
  color: var(--bg);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s var(--ease-cinematic);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.25);
}

.web-preview-cta a:hover {
  background: var(--gold-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(201, 169, 97, 0.4);
}

/* ============================================================
   FLUJO MÁGICO — DIAGRAMA
   ============================================================ */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  align-items: stretch;
}

.flow-step {
  background: var(--bg-1);
  border: 1px solid var(--line-dim);
  padding: var(--sp-4);
  text-align: center;
  position: relative;
  transition: all 0.5s var(--ease-cinematic);
}

.flow-step:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.flow-step .icon {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: var(--sp-2);
}

.flow-step h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}

.flow-step p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.flow-step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.2rem;
  z-index: 2;
  background: var(--bg);
  padding: 0 4px;
}

.flow-step:last-child::after {
  display: none;
}

.flow-step .step-num {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ============================================================
   TABLA EDITORIAL — ANTES / DESPUÉS
   ============================================================ */

.editorial-table {
  width: 100%;
  margin-top: var(--sp-6);
  border-collapse: collapse;
}

.editorial-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--gold);
  font-weight: 400;
}

.editorial-table th:last-child {
  text-align: right;
}

.editorial-table td {
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--line-dim);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  vertical-align: top;
  line-height: 1.4;
}

.editorial-table td:first-child {
  color: var(--text-muted);
  font-style: italic;
}

.editorial-table td:last-child {
  text-align: right;
  color: var(--gold);
  font-style: italic;
}

.editorial-table tr:hover td {
  background: rgba(201, 169, 97, 0.04);
}

/* ============================================================
   ROI — 3 ESCENARIOS
   ============================================================ */

.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.roi-card {
  background: var(--bg-1);
  border: 1px solid var(--line-dim);
  padding: var(--sp-6);
  position: relative;
  transition: all 0.5s var(--ease-cinematic);
}

.roi-card.highlighted {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.06) 0%, var(--bg-1) 100%);
  box-shadow: var(--shadow-lg);
}

.roi-card.highlighted::before {
  content: 'REALISTA';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.roi-card .mono {
  font-size: 0.65rem;
  margin-bottom: var(--sp-2);
}

.roi-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.roi-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin: var(--sp-3) 0;
}

.roi-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.roi-multiplier {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roi-multiplier strong {
  color: var(--gold-hi);
  font-weight: 500;
}

/* ============================================================
   PAQUETES (ANCHOR PRICING)
   ============================================================ */

.pkgs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  align-items: stretch;
}

.pkg {
  background: var(--bg-1);
  border: 1px solid var(--line-dim);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.5s var(--ease-cinematic);
}

.pkg:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-md);
}

.pkg.featured {
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.10) 0%, var(--bg-1) 100%);
  border: 1px solid var(--gold);
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.pkg.featured::before {
  content: '◉ EL MÁS ELEGIDO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  white-space: nowrap;
  font-weight: 600;
}

.pkg-tier {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
  line-height: 1.1;
}

.pkg-tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: var(--sp-4);
  min-height: 2.5em;
}

.pkg-price {
  margin: var(--sp-4) 0;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
}

.pkg-setup {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
}

.pkg-setup .currency {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
  margin-right: 4px;
}

.pkg-price-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

.pkg-monthly {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-top: var(--sp-2);
}

.pkg-monthly strong {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.pkg-bonus {
  margin-top: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(123, 168, 156, 0.08);
  border-left: 2px solid var(--sage);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--sage);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.pkg-bonus strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 3px;
  letter-spacing: 0;
}

.pkg-features {
  list-style: none;
  margin: var(--sp-4) 0;
  flex-grow: 1;
}

.pkg-features li {
  padding: var(--sp-2) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-dim);
  position: relative;
  padding-left: var(--sp-3);
  line-height: 1.5;
}

.pkg-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

.pkg.featured .pkg-features li::before {
  content: '+';
  color: var(--gold);
}

.pkg-features li.excluded {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}

.pkg-features li.excluded::before {
  content: '×';
  color: var(--line);
}

.pkg-features li strong {
  color: var(--gold-hi);
  font-weight: 500;
}

/* ============================================================
   GARANTÍA GRAND SLAM
   ============================================================ */

.guarantee {
  margin-top: var(--sp-8);
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.guarantee::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 70%);
}

.guarantee::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.guarantee-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.guarantee-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.3;
  color: var(--text);
  max-width: 56ch;
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 2;
}

.guarantee-text .gold {
  color: var(--gold-hi);
}

.guarantee-detail {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.guarantee-math {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line-dim);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
}

.guarantee-math strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 4px;
}

/* ============================================================
   CRONOGRAMA
   ============================================================ */

.timeline {
  margin-top: var(--sp-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gold);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.timeline-step {
  padding: var(--sp-6) var(--sp-3);
  border-right: 1px solid var(--line-dim);
  position: relative;
}

.timeline-step:last-child {
  border-right: none;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.timeline-week {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-2);
}

.timeline-step h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.timeline-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   CIERRE FINAL
   ============================================================ */

.closing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--sp-12);
  position: relative;
  background:
    radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.10) 0%, transparent 60%),
    var(--bg);
}

.closing-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1.2;
  color: var(--text);
  max-width: 22ch;
  margin-bottom: var(--sp-6);
  font-weight: 400;
}

.closing-quote .gold {
  color: var(--gold);
}

.closing-signature {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: var(--sp-8);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gold);
}

.closing-cta {
  margin-top: var(--sp-6);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-6);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s var(--ease-cinematic);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3);
}

.closing-cta:hover {
  background: var(--gold-hi);
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(201, 169, 97, 0.45);
}

.closing-contact {
  margin-top: var(--sp-8);
  display: flex;
  gap: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.closing-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.closing-contact a:hover {
  color: var(--gold-hi);
}

/* ============================================================
   ANIMACIONES DE ENTRADA CINEMATOGRÁFICAS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-cinematic), transform 1.2s var(--ease-cinematic);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.2s; }
.fade-up-delay-2 { transition-delay: 0.4s; }
.fade-up-delay-3 { transition-delay: 0.6s; }
.fade-up-delay-4 { transition-delay: 0.8s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .slide { padding: var(--sp-12) var(--sp-4); }
  .hero { padding: var(--sp-12) var(--sp-6); }
  .hero-meta { position: static; flex-direction: column; margin-top: var(--sp-8); }
  .modules-grid,
  .pkgs-grid,
  .roi-grid,
  .metrics-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-step { border-right: none; border-bottom: 1px solid var(--line-dim); }
  .us-inner { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .us-card { grid-column: span 1; }
  .nav-dots { display: none; }
  .diag-list li { grid-template-columns: 3rem 1fr; }
  .diag-list .diag-status { grid-column: 2; justify-self: start; margin-top: var(--sp-2); }
  .guarantee-math { grid-template-columns: repeat(2, 1fr); }
  .web-preview-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-meta { display: none; }
  .slide { padding: var(--sp-8) var(--sp-3); }
  .hero-title { font-size: 3rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }
