/* ==========================================================================
   ESTILOS CINEMÁTICOS · NATURALSLIM ECUADOR S.A.S. (MODELO 3 VIDEO & STORYTELLING)
   Estética Cinemática, Bioenergética a 60fps, Scrollytelling y Cero Emojis
   ========================================================================== */

:root {
  /* Paleta cromática bioenergética */
  --bg-primary: #070d0a;
  --bg-secondary: #0c1510;
  --bg-card: rgba(16, 28, 22, 0.75);
  --bg-card-hover: rgba(22, 38, 30, 0.9);
  --border-subtle: rgba(74, 222, 128, 0.12);
  --border-active: rgba(52, 211, 153, 0.4);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-mint: #34d399;
  --accent-gold: #f59e0b;
  --accent-danger: #f87171;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1240px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reseteo básico y propiedades base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body.theme-cinematic {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enlace accesible para lectores de pantalla */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--accent-emerald);
  color: #041008;
  font-weight: 700;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  top: 15px;
}

/* Grano y barra de progreso superior */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* Canvas de fondo con aceleración por hardware */
.canvas-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#metabolic-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.08) 0%, rgba(7, 13, 10, 0.85) 60%, var(--bg-primary) 100%);
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HEADER Y DEMO BAR OBLIGATORIA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 13, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Barra superior de aviso obligatoria */
.demo-bar {
  background: #030805;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.demo-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-bar-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-pill {
  background: #10b981;
  color: #03150b;
  font-weight: 800;
  font-size: 0.6875rem;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.demo-text {
  color: #cbd5e1;
}

.demo-orig-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-mint);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  font-size: 0.8125rem;
}
.demo-orig-link:hover {
  color: #a7f3d0;
}

/* Selector de Modelos */
.models-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.switcher-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 2px;
  font-family: var(--font-mono);
}

.model-pill-link {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.model-pill-link:hover {
  color: #f8fafc;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
}
.model-pill-link.is-active {
  color: #022c15;
  background: var(--accent-mint);
  border-color: var(--accent-mint);
  font-weight: 700;
}

/* Barra de navegación principal */
.nav-container {
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

.brand-badge {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-mint);
}

.nav-highlight {
  color: var(--accent-mint);
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.06);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-mint);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-whatsapp:hover {
  background: var(--accent-emerald);
  color: #03150b;
  box-shadow: 0 0 16px var(--accent-emerald-glow);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   TIMELINE LATERAL REACTIVO (DESKTOP)
   ========================================================================== */
.story-timeline {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  pointer-events: auto;
}

.timeline-track {
  position: relative;
  padding: 10px 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.timeline-bar {
  position: absolute;
  top: 0;
  left: 5px;
  width: 2px;
  height: 0%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
  transition: height 0.2s ease;
}

.timeline-nodes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.timeline-node {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

.node-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
  z-index: 2;
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  background: rgba(7, 13, 10, 0.85);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.timeline-node:hover .node-label,
.timeline-node.is-active .node-label {
  opacity: 1;
  transform: translateX(0);
}

.timeline-node.is-active .node-bullet {
  background: var(--accent-mint);
  border-color: #a7f3d0;
  box-shadow: 0 0 10px var(--accent-mint);
}

.timeline-node.is-active .node-label {
  color: #f8fafc;
  border-color: rgba(52, 211, 153, 0.4);
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-mint);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: #ffffff;
}

.headline-accent {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #34d399 0%, #10b981 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-emerald);
  color: #03180d;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--accent-emerald-glow);
}
.btn-hero-primary:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(52, 211, 153, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 153, 0.4);
  color: #ffffff;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
}

.metric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 4px;
}

/* Tarjeta Cinemática del Hero */
.hero-media-wrap {
  display: flex;
  justify-content: center;
}

.hero-card-cinematic {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-mint);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulseAnim 2s infinite ease-in-out;
}

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

.card-badge-mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.hero-visual-frame {
  position: relative;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(10, 20, 15, 0.8) 70%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-product-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s var(--transition-smooth);
}
.hero-card-cinematic:hover .hero-product-img {
  transform: scale(1.04);
}

.visual-tag-overlay {
  margin-top: 18px;
  text-align: center;
}

.tag-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.tag-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-mint);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.hero-card-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.card-fact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #cbd5e1;
}
.card-fact-item svg {
  color: var(--accent-mint);
  flex-shrink: 0;
}

.hero-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.scroll-cue-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cue-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.cue-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
}

.cue-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent-mint);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelAnim 1.8s infinite ease-in-out;
}

@keyframes wheelAnim {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ==========================================================================
   ESTRUCTURA DE CAPÍTULOS SCROLLYTELLING
   ========================================================================== */
.chapter-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.chapter-dark {
  background: rgba(5, 10, 8, 0.65);
}

.chapter-mid {
  background: rgba(10, 20, 15, 0.45);
}

.chapter-header {
  max-width: 800px;
  margin-bottom: 60px;
}

.chapter-number-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.num-prefix {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--accent-mint);
}

.num-val {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.chapter-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.chapter-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.chapter-intro {
  font-size: 1.0625rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ==========================================================================
   CAPÍTULO 01: EL ENIGMA DEL METABOLISMO LENTO
   ========================================================================== */
.scrolly-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.scrolly-narrative {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.narrative-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  margin-bottom: 20px;
}

.card-icon-box.danger-icon {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
  color: var(--accent-danger);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
}

.quote-callout {
  border-left: 3px solid var(--accent-mint);
  padding-left: 18px;
  margin-top: 20px;
}

.quote-callout p {
  font-style: italic;
  color: #e2e8f0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.quote-callout cite {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--accent-mint);
  font-family: var(--font-mono);
  margin-top: 8px;
}

.checklist-technical {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-technical li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.checklist-technical li svg {
  color: var(--accent-mint);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Columna de Comparativa */
.scrolly-visual {
  position: sticky;
  top: 120px;
}

.comparison-board {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.board-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.board-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-col {
  border-radius: 10px;
  padding: 16px;
}

.compare-col.is-negative {
  background: rgba(248, 113, 113, 0.04);
  border: 1px solid rgba(248, 113, 113, 0.15);
}

.compare-col.is-positive {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.col-head {
  margin-bottom: 16px;
}

.col-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.col-badge.highlight {
  background: var(--accent-emerald);
  color: #03150b;
  font-weight: 700;
}

.col-head h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-label {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.item-val {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.item-val.bad {
  color: #fca5a5;
}

.item-val.good {
  color: #6ee7b7;
  font-weight: 500;
}

.board-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 12px;
  align-items: center;
}

.board-footer-icon {
  color: var(--accent-mint);
  flex-shrink: 0;
}

.board-footer-text {
  font-size: 0.8125rem;
  color: #cbd5e1;
}

/* ==========================================================================
   CAPÍTULO 02: LA CIENCIA DE FRANK SUÁREZ
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.pillar-card.highlight-card {
  background: rgba(16, 36, 26, 0.85);
  border-color: rgba(52, 211, 153, 0.35);
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-mint);
  font-weight: 700;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-stat {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-mint);
}

.stat-caption {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hydration-quick-calc {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-title {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.formula-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #34d399;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Calculadora interactiva de Hidratación */
.interactive-calc-box {
  background: linear-gradient(145deg, rgba(16, 32, 24, 0.8), rgba(8, 16, 12, 0.95));
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.calc-header {
  margin-bottom: 28px;
}

.calc-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.calc-subtitle {
  font-size: 0.9375rem;
  color: #94a3b8;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 24px;
}

.calc-input-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e2e8f0;
}

.input-range-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.calc-slider {
  flex-grow: 1;
  accent-color: var(--accent-emerald);
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
}

.input-display-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-active);
  padding: 6px 12px;
  border-radius: 8px;
}

.calc-number-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  width: 54px;
  text-align: right;
  outline: none;
}

.unit-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-mint);
}

.input-help {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-result-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-tile {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.result-tile.secondary {
  border-color: rgba(52, 211, 153, 0.25);
}

.result-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.3;
}

.result-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-mint);
  line-height: 1;
}

.result-unit {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-family: var(--font-mono);
  margin-top: 6px;
}

.calc-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #94a3b8;
}
.calc-note svg {
  color: var(--accent-mint);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Banner de Frank Suárez y MetabolismoTV */
.legacy-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.legacy-content {
  max-width: 760px;
}

.legacy-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.legacy-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.legacy-desc {
  font-size: 0.9375rem;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.legacy-books-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.book-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #e2e8f0;
}
.book-chip svg {
  color: var(--accent-mint);
}

.btn-legacy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-legacy:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   CAPÍTULO 03: SIMULADOR DE PLATO 3x1 Y SUPLEMENTOS
   ========================================================================== */
.simulator-wrapper {
  background: linear-gradient(180deg, rgba(16, 28, 22, 0.85) 0%, rgba(8, 15, 11, 0.95) 100%);
  border: 1px solid var(--border-active);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 70px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sim-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.sim-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.sim-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.sim-desc {
  font-size: 0.9375rem;
  color: #94a3b8;
}

.sim-stage-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

/* Área visual del plato */
.plate-visual-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plate-dish {
  position: relative;
  width: 320px;
  height: 320px;
  margin-bottom: 24px;
}

.plate-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.6));
}

.dish-rim {
  fill: #1a2920;
  stroke: #2d4537;
  stroke-width: 4;
}

.dish-base {
  fill: #0c1510;
}

.dish-slice {
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  transform-origin: 180px 180px;
}
.dish-slice:hover {
  filter: brightness(1.15);
}

.slice-a {
  fill: #10b981;
  fill-opacity: 0.85;
}

.slice-e {
  fill: #f59e0b;
  fill-opacity: 0.9;
}

.dish-divider {
  stroke: #070d0a;
  stroke-width: 4;
}

.dish-center-pin {
  fill: #030805;
  stroke: #34d399;
  stroke-width: 2;
}

.dish-center-text {
  fill: #34d399;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
}

.plate-legend-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #cbd5e1;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-a {
  background: var(--accent-emerald);
}

.dot-e {
  background: var(--accent-gold);
}

/* Medidor de Insulina */
.insulin-gauge-box {
  width: 100%;
  max-width: 340px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
}

.gauge-title-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.gauge-title {
  color: var(--text-muted);
}

.gauge-status {
  font-weight: 700;
  font-family: var(--font-mono);
}
.gauge-status.good {
  color: var(--accent-mint);
}
.gauge-status.warning {
  color: #fca5a5;
}

.gauge-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.gauge-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #f59e0b 100%);
  border-radius: 4px;
  transition: width 0.4s var(--transition-smooth);
}

.gauge-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Panel de selección de alimentos */
.plate-selection-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.food-group-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.group-a {
  border-color: rgba(16, 185, 129, 0.25);
}

.group-e {
  border-color: rgba(245, 158, 11, 0.25);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.group-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.type-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.pill-a {
  background: var(--accent-emerald);
  color: #03150b;
}

.pill-e {
  background: var(--accent-gold);
  color: #1a0f00;
}

.group-title-wrap h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.group-badge {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.food-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.food-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.food-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.chip-check {
  display: none;
  color: inherit;
}

.food-chip.is-selected {
  font-weight: 600;
}

.group-a .food-chip.is-selected {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-mint);
  color: #34d399;
}
.group-a .food-chip.is-selected .chip-check {
  display: inline-flex;
}

.group-e .food-chip.is-selected {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
  color: #fcd34d;
}
.group-e .food-chip.is-selected .chip-check {
  display: inline-flex;
}

.configured-summary {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-title {
  color: var(--text-muted);
}

.summary-eval {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-mint);
}

.summary-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sum-item {
  font-size: 0.6875rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.sum-item.type-a {
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sum-item.type-e {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Catálogo de Suplementos */
.supplements-section {
  margin-top: 50px;
}

.supplements-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.supp-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.supp-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.supp-intro {
  font-size: 0.9375rem;
  color: #94a3b8;
}

.supplements-carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.supp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.supp-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.supp-img-wrap {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.supp-img {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.supp-card:hover .supp-img {
  transform: scale(1.08);
}

.supp-badge-clean {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-mint);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.supp-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.supp-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.supp-desc {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.supp-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--accent-mint);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   CAPÍTULO 04: TESTIMONIOS Y CONSULTORES CERTIFICADOS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(52, 211, 153, 0.15);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar-placeholder {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
}

.user-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.user-city {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.user-result-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  display: inline-block;
  align-self: flex-start;
}

.user-review {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.user-stamp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.user-stamp svg {
  color: var(--accent-mint);
  flex-shrink: 0;
}

/* Consultor Showcase */
.consultant-showcase {
  background: linear-gradient(145deg, rgba(14, 25, 20, 0.9), rgba(6, 12, 9, 0.95));
  border: 1px solid var(--border-active);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.consultant-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.cmc-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.cmc-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cmc-lead {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cmc-perks-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cmc-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perk-icon {
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  flex-shrink: 0;
}

.perk-info {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.perk-info strong {
  color: #ffffff;
}

/* Tarjeta CTA del Consultor */
.cta-card-cmc {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px;
}

.cta-status-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.cta-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-card-header p {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.cta-contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #cbd5e1;
}
.contact-line svg {
  color: var(--accent-mint);
  flex-shrink: 0;
}
.contact-line strong {
  color: #fff;
}

.btn-cmc-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-emerald);
  color: #03180d;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}
.btn-cmc-whatsapp:hover {
  background: #34d399;
  box-shadow: 0 4px 16px var(--accent-emerald-glow);
}

/* ==========================================================================
   SECCIÓN DE CIERRE Y ACCIÓN
   ========================================================================== */
.final-cta-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}

.final-cta-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, rgba(7, 13, 10, 0.95) 75%);
  border: 1px solid var(--border-active);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.final-cta-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: var(--accent-emerald);
  filter: blur(140px);
  opacity: 0.25;
  pointer-events: none;
}

.cta-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-mint);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.final-cta-lead {
  font-size: 1.0625rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-emerald);
  color: #03150b;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 24px var(--accent-emerald-glow);
}
.btn-primary-large:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(52, 211, 153, 0.5);
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 211, 153, 0.4);
}

/* ==========================================================================
   FOOTER INSTITUCIONAL OBLIGATORIO
   ========================================================================== */
.site-footer {
  background: #030805;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 400px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-contact {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-mint);
}
.footer-links a.is-current {
  color: var(--accent-mint);
  font-weight: 600;
}

.footer-medical-disclaimer {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.footer-medical-disclaimer p {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: justify;
}

.footer-simcodec-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.f-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.f-orig-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.f-orig-link:hover {
  color: #a7f3d0;
}

.f-copy {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

/* ==========================================================================
   RESPONSIVIDAD FLUIDA (DESKTOP 1440x900 Y MÓVIL 390x844)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-media-wrap {
    justify-content: flex-start;
  }
  .story-timeline {
    display: none;
  }
  .scrolly-grid {
    grid-template-columns: 1fr;
  }
  .scrolly-visual {
    position: static;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .supplements-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .consultant-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-section {
    padding-top: 40px;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .calc-body-grid {
    grid-template-columns: 1fr;
  }
  .sim-stage-grid {
    grid-template-columns: 1fr;
  }
  .supplements-carousel-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-simcodec-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
