/* ==========================================================================
   GEROS ERP - PRESENTACIÓN EJECUTIVA Y PORTAFOLIO INTERACTIVO
   Estilo Neo-Corporativo Esmeralda Premium
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('./design-tokens.css');

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--color-slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-slate-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-slate-600);
  font-size: 0.95rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background Atmosphere */
.bg-glow-1 {
  position: fixed;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 184, 109, 0.12) 0%, rgba(1, 85, 55, 0.03) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: fixed;
  bottom: -200px;
  left: -150px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 85, 55, 0.1) 0%, rgba(4, 184, 109, 0.02) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

/* Header & Barra de Controles Ejecutivos Dinámicos */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.app-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(1, 85, 55, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  border-bottom-color: rgba(1, 85, 55, 0.12);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height 0.25s ease;
}

.app-header.scrolled .header-container {
  height: 60px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-badge {
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(1, 85, 55, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Navegación y Switchers */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-text-short {
  display: none;
}

.btn-text-full {
  display: inline;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.35rem);
  flex-shrink: 1;
}

.nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-slate-600);
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-link.active {
  color: var(--brand-primary);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(1, 85, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(1, 85, 55, 0.35);
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--color-slate-700);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #039e5d 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-emerald-glow);
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(4, 184, 109, 0.4);
}

.btn-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-slate-100);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.btn-mode-toggle:hover {
  background: #ffffff;
  border-color: var(--color-slate-300);
}

/* HERO SECTION */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 184, 109, 0.12);
  color: var(--brand-primary-dark);
  border: 1px solid rgba(4, 184, 109, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(4, 184, 109, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(4, 184, 109, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(4, 184, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(4, 184, 109, 0); }
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero-title span.text-highlight {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-slate-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-slate-500);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Visual Deck Card con Captura Real */
.hero-visual-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--accent-emerald) 100%);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Marco simulado de navegador para capturas */
.hero-screenshot-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--color-slate-900);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-bottom: 1.25rem;
  position: relative;
}

.screenshot-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-slate-800);
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-address {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 12px;
  border-radius: var(--radius-full);
}

.browser-pill-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(4, 184, 109, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.screenshot-img-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.hero-screenshot-frame:hover .hero-dashboard-img {
  transform: scale(1.02);
}

.zoom-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 85, 55, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-screenshot-frame:hover .zoom-hover-overlay,
.showcase-visual-banner:hover .zoom-hover-overlay {
  opacity: 1;
}

.hero-flow-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.flow-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(1, 85, 55, 0.12);
}

/* Banner Visual de Pantalla en el Showcase de Módulos */
.showcase-visual-banner {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--color-slate-900);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.showcase-visual-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-emerald);
}

.visual-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-slate-800);
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(4, 184, 109, 0.18);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.visual-banner-img-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 420px;
  background: #000;
}

.visual-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-visual-banner:hover .visual-banner-img {
  transform: scale(1.015);
}

.visual-banner-footer {
  padding: 8px 14px;
  background: var(--color-slate-800);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   MODAL LIGHTBOX PARA ZOOM DE PANTALLAS
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2001;
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--color-slate-900);
  color: #ffffff;
}

.lightbox-header h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-danger);
}

.lightbox-body {
  overflow-y: auto;
  background: #0b1120;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-body img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.flow-text h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.flow-text p {
  font-size: 0.78rem;
  color: var(--color-slate-500);
}

/* SECCIÓN: EL RIESGO DE LA INACCIÓN */
.status-quo-section {
  padding: 4rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.badge-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.badge-tag.tag-danger {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.badge-tag.tag-brand {
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-slate-600);
}

.risks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.risk-card {
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition-normal);
  position: relative;
}

.risk-card:hover {
  transform: translateY(-4px);
  border-color: #fca5a5;
  box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.1);
  background: #ffffff;
}

.risk-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-danger-soft);
  color: var(--color-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.risk-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--color-slate-900);
}

.risk-card p {
  font-size: 0.85rem;
  color: var(--color-slate-600);
  line-height: 1.55;
}

/* SECCIÓN: MÓDULOS DE ALTO IMPACTO (DEEP DIVE) */
.modules-section {
  padding: 5rem 0;
}

/* Selector de Tabs de Módulo */
.module-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.module-tabs-list {
  display: inline-flex;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate-600);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--brand-primary);
}

.tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(1, 85, 55, 0.25);
}

/* Showcase de Módulo */
.module-showcase-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.35s ease-out;
}

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

.showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-title-area {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.module-avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(1, 85, 55, 0.25);
}

.module-avatar-icon svg {
  width: 32px;
  height: 32px;
}

.module-category-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.module-main-name {
  font-size: 1.85rem;
  color: var(--color-slate-900);
}

.module-tagline-text {
  font-size: 1rem;
  color: var(--color-slate-500);
  font-weight: 400;
  margin-top: 4px;
}

/* KPI Badges dentro del Showcase */
.showcase-kpis {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.kpi-chip {
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  text-align: center;
  min-width: 110px;
}

.kpi-chip-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
}

.kpi-chip-lbl {
  font-size: 0.72rem;
  color: var(--color-slate-500);
  font-weight: 600;
  margin-top: 3px;
}

/* Grid Interno del Módulo: Dolor vs Solución & Capacidades */
.showcase-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
}

.story-box {
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.story-box.box-pain {
  border-left: 4px solid var(--color-danger);
}

.story-box.box-solution {
  border-left: 4px solid var(--accent-emerald);
}

.story-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-box p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.target-roles-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.target-roles-bar span.roles-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-slate-500);
  text-transform: uppercase;
}

.role-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-slate-100);
  color: var(--color-slate-700);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Lista de "Qué hará por su empresa" */
.features-delivery-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.features-delivery-card h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary-dark);
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-slate-700);
  line-height: 1.5;
}

.check-icon-svg {
  width: 20px;
  height: 20px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-footer-benefit {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(1, 85, 55, 0.05) 0%, rgba(4, 184, 109, 0.08) 100%);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(1, 85, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text p {
  font-size: 0.88rem;
  color: var(--brand-primary-dark);
  font-weight: 500;
}

/* SECCIÓN: MÓDULOS COMPLEMENTARIOS (RESUMEN ESTRATÉGICO) */
.auxiliary-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.auxiliary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.aux-card {
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.aux-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.aux-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.aux-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.aux-tagline {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.aux-desc {
  font-size: 0.82rem;
  color: var(--color-slate-600);
  line-height: 1.5;
}

/* SECCIÓN: COMPARATIVA EXCLUSIVA (GEROS VS TRADICIONAL) */
.comparison-section {
  padding: 5rem 0;
}

.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--color-slate-50);
  border-bottom: 2px solid var(--border-subtle);
  color: var(--color-slate-700);
}

.comparison-table th.col-geros {
  background: var(--brand-primary-dark);
  color: #ffffff;
}

.comparison-table td {
  padding: 1.25rem 1.75rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.cell-criteria {
  font-weight: 600;
  color: var(--color-slate-900);
  width: 25%;
}

.comparison-table td.cell-traditional {
  color: var(--color-slate-500);
  width: 35%;
  background: rgba(248, 250, 252, 0.5);
}

.comparison-table td.cell-geros {
  font-weight: 500;
  color: var(--brand-primary-dark);
  background: rgba(1, 85, 55, 0.03);
  border-left: 1px solid rgba(1, 85, 55, 0.1);
  width: 40%;
}

.comparison-table tr:hover td {
  background: rgba(4, 184, 109, 0.02);
}

/* SECCIÓN: SIMULADOR INTERACTIVO DE IMPACTO Y ROI */
.simulator-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #022b1c 0%, #001f14 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.simulator-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(4, 184, 109, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.simulator-info h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.simulator-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.sim-input-group {
  margin-bottom: 1.5rem;
}

.sim-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  accent-color: var(--accent-emerald);
  cursor: pointer;
}

/* Panel de Resultados del Simulador */
.simulator-results-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.sim-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sim-metric-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-metric-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.sim-metric-lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.sim-callout {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(4, 184, 109, 0.15);
  border: 1px solid rgba(4, 184, 109, 0.3);
  font-size: 0.85rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* SECCIÓN: SERVICIOS DE ACOMPAÑAMIENTO Y ROADMAP */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
}

.service-step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-primary-light);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.55;
}

/* FOOTER Y CTA */
.footer-cta {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--color-slate-500);
}

/* ==========================================================================
   MODO PRESENTADOR (PITCH DECK SLIDE-BY-SLIDE FULLSCREEN)
   ========================================================================== */
body.presentation-mode {
  overflow: hidden;
  background-color: var(--color-slate-900);
}

body.presentation-mode .app-header {
  position: fixed;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.presentation-mode .brand-badge {
  background: rgba(4, 184, 109, 0.2);
  color: var(--accent-emerald);
}

body.presentation-mode .deck-container {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 2rem 60px;
}

body.presentation-mode .slide-frame {
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 150px);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  padding: 3rem;
  position: relative;
}

/* Barra Flotante de Control de Diapositivas */
.deck-controls-floating {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

body.presentation-mode .deck-controls-floating {
  display: flex;
}

.deck-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.deck-nav-btn:hover {
  background: var(--accent-emerald);
  color: #ffffff;
}

.slide-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  font-family: var(--font-heading);
}

/* ==========================================================================
   ELEMENTOS DE NAVEGACIÓN MÓVIL (HAMBURGUESA & DRAWER)
   ========================================================================== */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-fast);
}

.btn-hamburger:hover {
  background: var(--color-slate-100);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-slate-800);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  background: #ffffff;
  padding: 1.5rem 1.75rem 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-slate-700);
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Indicador de desplazamiento horizontal para tablas en móvil */
.table-scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  font-weight: 600;
  border: 1px dashed rgba(1, 85, 55, 0.2);
}

/* ==========================================================================
   REGLAS RESPONSIVAS MULTIDISPOSITIVO (MÓVIL, TABLET, ESCRITORIO)
   ========================================================================== */

/* Laptops estándar y pantallas medianas (<= 1240px): adaptación compacta del menú */
@media (max-width: 1240px) {
  .brand-badge {
    display: none;
  }
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .btn-text-full {
    display: none;
  }
  .btn-text-short {
    display: inline;
  }
  .btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .container {
    max-width: 100%;
    padding: 0 1.25rem;
  }
  .auxiliary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Laptops compactos y Tablets (<= 1100px): colapsar enlaces a menú hamburguesa */
@media (max-width: 1100px) {
  .btn-hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  #btn-toggle-presentation {
    display: none;
  }
}

/* Tablets en horizontal y vertical (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .showcase-body-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-scroll-hint {
    display: inline-flex;
  }

  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
  }

  .comparison-table {
    min-width: 680px;
  }
}

/* Teléfonos inteligentes grandes y Tablets pequeñas (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .hero-section {
    padding: 2.75rem 0 2rem;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-stats-banner {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .risks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .auxiliary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .module-tabs-wrapper {
    justify-content: flex-start;
    padding: 0 0.5rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .module-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .module-tabs-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .module-showcase-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .showcase-title-area {
    gap: 1rem;
  }

  .module-avatar-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
  }

  .module-avatar-icon svg {
    width: 26px;
    height: 26px;
  }

  .module-main-name {
    font-size: 1.45rem;
  }

  .showcase-kpis {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .kpi-chip {
    min-width: 0;
    padding: 0.6rem 0.5rem;
  }

  .kpi-chip-val {
    font-size: 1.15rem;
  }

  .kpi-chip-lbl {
    font-size: 0.65rem;
  }

  .story-box,
  .features-delivery-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .simulator-section {
    padding: 2.75rem 1rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0.5rem;
  }

  .simulator-grid {
    padding: 0 !important;
  }

  .simulator-info h2 {
    font-size: 1.8rem;
  }

  .sim-metric-val {
    font-size: 1.6rem;
  }

  .cta-box {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }

  .cta-box p {
    font-size: 0.95rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-meta {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Modo Presentador Adaptado para Móviles */
  body.presentation-mode .deck-container {
    padding: 75px 0.75rem 70px;
  }

  body.presentation-mode .slide-frame {
    height: calc(100vh - 150px);
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .deck-controls-floating {
    bottom: 16px;
    padding: 6px 14px;
    gap: 12px;
  }
}

/* Teléfonos estándar y compactos (<= 500px) */
@media (max-width: 500px) {
  .brand-badge {
    display: none;
  }

  .brand-logo-img {
    height: 32px;
  }

  .hero-stats-banner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .risks-grid,
  .auxiliary-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .showcase-kpis {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .sim-results-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .showcase-footer-benefit {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

