/* ==========================================================================
   STYLE SHEET — KAIKOURA (web2)
   Premium Luxury & High-Converting Vanilla CSS
   ========================================================================== */

/* 1. TOKENS Y CONFIGURACIÓN GLOBAL */
:root {
  /* Fondos Tridimensionales (Oscuridad Premium con Tintes Navy) */
  --bg-primary: #060a13;      /* Deep Midnight Charcoal */
  --bg-secondary: #0b0e17;    /* Obsidian Navy */
  --bg-tertiary: #111625;     /* Steel Midnight */
  --bg-gradient: radial-gradient(circle at 50% 0%, #0d1527 0%, #060a13 70%, #020306 100%);

  /* Acentos de Oro Metálico (Gradiente Físico Cepillado) */
  --color-gold-light: #f9e7b9;  /* Champagne Gold */
  --color-gold-base: #d4af37;   /* Base Metallic Gold */
  --color-gold-medium: #c59b27; /* Mid Gold */
  --color-gold-dark: #9a7b2c;   /* Deep Antique Gold */
  --color-gold-deep: #6e531c;   /* Shadow Gold */

  /* Gradientes de Oro */
  --gradient-gold: linear-gradient(135deg, 
    var(--color-gold-light) 0%, 
    var(--color-gold-base) 35%, 
    var(--color-gold-medium) 65%, 
    var(--color-gold-dark) 100%
  );
  
  --gradient-gold-hover: linear-gradient(135deg, 
    #ffffff 0%, 
    var(--color-gold-light) 25%, 
    var(--color-gold-base) 60%, 
    var(--color-gold-medium) 100%
  );

  --gradient-gold-text: linear-gradient(to right, 
    var(--color-gold-light), 
    var(--color-gold-base), 
    var(--color-gold-dark), 
    var(--color-gold-light)
  );

  /* Sistema Tipográfico */
  --text-primary: #f5f5f7;      /* Pearl Soft White */
  --text-secondary: #a1a1a6;    /* Muted Silver Gray */
  --text-tertiary: #6e6e73;     /* Dark Slate Gray */
  --text-gold: #e2c054;         /* Active Gold Text */

  /* Tokens Glassmorphism (iOS/macOS style) */
  --glass-bg: rgba(11, 14, 23, 0.65);
  --glass-bg-hover: rgba(17, 22, 37, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-gold: rgba(212, 175, 55, 0.15);
  --glass-blur: blur(20px) saturate(180%);

  /* Efectos y Sombras */
  --shadow-gold-glow: 0 0 30px rgba(212, 175, 55, 0.25);
  --shadow-gold-button: 0 4px 20px rgba(212, 175, 55, 0.35);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.05);

  /* Transiciones */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s linear;
  
  /* Sistema de Grid & Container */
  --container-max-width: 1200px;
  --header-height: 80px;
}

/* Reset de Estilos Básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: var(--bg-gradient);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Scrollbar Personalizado Premium */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 10px;
  transition: var(--transition-medium);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* ==========================================
   2. ELEMENTOS COMUNES Y COMPONENTES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.section-padding {
  padding: 120px 0;
}

/* Títulos y Subtítulos de Sección */
.section-header {
  margin-bottom: 64px;
}

.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--color-gold-base);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-title span {
  display: block;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.max-800 {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

.text-center {
  text-align: center;
}

.text-gold-gradient {
  background: var(--gradient-gold-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineGoldText 6s linear infinite;
  font-weight: 700;
}

@keyframes shineGoldText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.text-muted {
  color: var(--text-secondary);
}

.font-regular {
  font-weight: 400;
}

/* ==========================================
   PUNTERO PERSONALIZADO (Custom Cursor)
   ========================================== */
.custom-cursor {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gold-base);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  will-change: top, left, transform;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold-light);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10001;
  will-change: top, left;
}

/* Cursor Expandido (Hover sobre interactivos) */
.custom-cursor.hovered {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.05);
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-gold-glow);
}

/* Ocultar cursor en móviles y tablets */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .custom-cursor-dot {
    display: none !important;
  }
}

/* Efecto Linterna Spotlight General */
.spotlight-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.025), transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: background;
}

/* ==========================================
   GLASSMORPHISM CONTENEDORES
   ========================================== */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-inset), var(--shadow-glass);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-glass-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--card-mouse-x, 0px) var(--card-mouse-y, 0px), rgba(212, 175, 55, 0.06), transparent 50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-glass-interactive:hover::before {
  opacity: 1;
}

.card-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-gold);
  box-shadow: var(--shadow-inset), 0 30px 60px rgba(0, 0, 0, 0.6), rgba(212, 175, 55, 0.04) 0px 0px 40px;
}

/* ==========================================
   EFECTO TILT E INCLINACIÓN 3D
   ========================================== */
.card-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s linear, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ==========================================
   BOTONES Y ELEMENTOS DE ACCIÓN
   ========================================== */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #060a13;
  background: var(--gradient-gold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-inset), 0 4px 15px rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
  text-decoration: none;
  z-index: 1;
  text-align: center;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-gold:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow), var(--shadow-gold-button);
  color: #000;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:active {
  transform: translateY(-1px);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-base);
  background: transparent;
  border: 1px solid var(--color-gold-base);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-outline-gold:hover {
  color: #060a13;
  background: var(--gradient-gold);
  border-color: transparent;
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-3px);
}

.btn-outline-gold:active {
  transform: translateY(-1px);
}

/* Animación magnética sutil para botones */
.btn-magnetic {
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-magnetic:hover {
  transition: transform 0.08s linear;
}

/* ==========================================
   3. BARRA DE NAVEGACIÓN Y CABECERA
   ========================================== */
.header-kaikoura {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-kaikoura {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  background: rgba(6, 10, 19, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

/* Cuando se hace scroll */
.header-kaikoura.scrolled .navbar-kaikoura {
  height: 70px;
  background: rgba(6, 10, 19, 0.95);
  border-bottom: 1px solid var(--glass-border-gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Navbar Brand - Esquina Izquierda */
.navbar-brand {
  text-decoration: none;
}

.navbar-brand span {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* Menú de Enlaces (Medio) */
.navbar-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-medium);
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-gold);
  transition: var(--transition-medium);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border-gold);
  border-radius: 8px;
  list-style: none;
  padding: 12px 0;
  min-width: 240px;
  box-shadow: var(--shadow-glass);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-medium);
  z-index: 100;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: var(--transition-medium);
}

.dropdown-menu li a:hover {
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.08);
  padding-left: 30px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Navbar Actions - Esquina Derecha */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-nav-cta {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* Emblema Dorado Interactivo */
.header-logo-interactive-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.header-logo-interactive {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.header-logo-interactive-container:hover {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.header-logo-interactive-container:hover .header-logo-interactive {
  transform: scale(1.1) rotate(15deg);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

/* Botón Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-medium);
}

/* ==========================================
   4. SECCIÓN HERO (Primer Impacto)
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 100px;
  z-index: 1;
}

.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.07) 0%, rgba(6, 10, 19, 0) 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 960px;
}

/* Sello Místico Central Logo Glow */
.hero-emblem-glow {
  margin-bottom: 30px;
  display: inline-block;
  position: relative;
  width: 130px;
  height: 130px;
  transition: var(--transition-smooth);
}

.hero-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.35));
  transition: var(--transition-smooth);
}

.hero-emblem-glow::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  transform: rotate(25deg);
  animation: shineMetal 8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shineMetal {
  0% { transform: translate(-40%, -40%) rotate(25deg); }
  100% { transform: translate(40%, 40%) rotate(25deg); }
}

.hero-emblem-glow:hover {
  transform: scale(1.08) rotate(5deg);
}

.hero-emblem-glow:hover .hero-emblem-img {
  filter: drop-shadow(0 0 45px rgba(212, 175, 55, 0.6));
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.icon-play {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.icon-check {
  width: 18px;
  height: 18px;
  color: var(--color-gold-base);
}

/* ==========================================
   5. SECCIÓN PROBLEMA (Tarjetas de Dolor)
   ========================================== */
.pain-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.card-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-base);
  margin-bottom: 24px;
}

.card-icon-container svg {
  width: 26px;
  height: 26px;
}

.pain-cards-grid .card-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 500;
}

.pain-cards-grid .card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pain-footer {
  margin-top: 60px;
}

.pain-footer-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ==========================================
   6. SECCIÓN METODOLOGÍA (Diagrama)
   ========================================== */
.diagram-interactive-container {
  margin: 60px auto;
  max-width: 900px;
  position: relative;
}

.diagram-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 60px;
}

/* Nodo Central */
.node-central {
  position: relative;
  z-index: 10;
  max-width: 320px;
  text-align: center;
}

.node-central .node-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--color-gold-base);
  box-shadow: var(--shadow-gold-glow);
  padding: 24px 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.node-emblem {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.node-central h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-primary);
}

.node-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: var(--color-gold-base);
  filter: blur(25px);
  opacity: 0.25;
  border-radius: 50px;
  z-index: -1;
}

/* Conectores SVG */
.diagram-connectors {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 140px;
  z-index: 1;
  pointer-events: none;
}

.connector-line {
  stroke-dashoffset: 0;
  animation: dashConnector 4s linear infinite;
}

@keyframes dashConnector {
  to {
    stroke-dashoffset: -20;
  }
}

/* Pilares Periféricos */
.diagram-pillars {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 80px;
  z-index: 10;
}

.diagram-pillar-btn {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 28px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.btn-glow-gold {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-medium);
}

.diagram-pillar-btn:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.diagram-pillar-btn:hover .btn-glow-gold {
  opacity: 1;
}

.diagram-pillar-btn.active {
  border-color: var(--color-gold-base);
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-gold-glow);
}

.diagram-pillar-btn.active .btn-glow-gold {
  opacity: 1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
}

.diagram-pillar-btn .btn-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 4px;
}

.diagram-pillar-btn .btn-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.diagram-pillar-btn.active .btn-text {
  color: var(--text-gold);
}

/* Tabs Content Box */
.methodology-tabs-content {
  margin-top: 40px;
  margin-bottom: 60px;
  position: relative;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInPane 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.pilar-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 20px;
}

.tab-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.tab-intro {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.tab-details-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-item {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--color-gold-base);
  padding: 12px 20px;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
}

.detail-item strong {
  color: var(--text-gold);
  display: block;
  margin-bottom: 4px;
}

.tab-features-list {
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 30px;
}

.tab-features-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tab-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold-base);
  font-weight: bold;
}

/* ==========================================
   7. TABLA DE DIFERENCIACIÓN PREMIUM
   ========================================== */
.comparison-table-wrapper {
  overflow-x: auto;
  padding: 0;
  border-radius: 12px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
}

.comparison-table thead th {
  background: rgba(6, 10, 19, 0.8);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-gold-dark);
}

.col-criteria { width: 22%; }
.col-traditional { width: 39%; }
.col-kaikoura { width: 39%; }

.criteria-cell {
  color: var(--color-gold-light);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
}

.traditional-cell {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.kaikoura-cell {
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.015);
  font-size: 0.95rem;
  line-height: 1.6;
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.comparison-table tbody tr:hover .kaikoura-cell {
  background: rgba(212, 175, 55, 0.03);
}

.comparison-table tbody tr:last-child th, 
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================
   8. PROGRAMAS FORMATIVOS (Layout Completo)
   ========================================== */
.programs-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 50px;
}

.program-item-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.program-item-row.reverse {
  direction: rtl; /* Invierte las columnas horizontalmente */
}

.program-item-row.reverse .program-text-side {
  direction: ltr; /* Mantiene la dirección de lectura normal del texto */
}

.program-item-row.reverse .program-image-side {
  direction: ltr;
}

/* Lado de Imagen */
.program-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.program-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: var(--transition-smooth);
}

.program-img-wrapper:hover .program-img {
  transform: scale(1.04);
}

.img-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(6, 10, 19, 0.8) 0%, rgba(6, 10, 19, 0) 50%);
  pointer-events: none;
}

/* Lado de Texto */
.program-item-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.program-item-audience {
  font-size: 0.95rem;
  color: var(--color-gold-light);
  margin-bottom: 20px;
  border-left: 2px solid var(--color-gold-base);
  padding-left: 14px;
}

.program-item-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 30px;
}

.program-key-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
}

.key-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.key-point .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold-base);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--color-gold-base);
}

.key-point div {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.key-point div strong {
  color: var(--text-primary);
}

.program-cta {
  width: 100%;
}

/* Acordeón del Viaje Formativo */
.accordion-journey {
  margin-top: 30px;
  margin-bottom: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.accordion-journey-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  transition: var(--transition-medium);
}

.accordion-item.active {
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(11, 14, 23, 0.4);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition-medium);
}

.module-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-base);
  margin-right: 15px;
  background: rgba(212, 175, 55, 0.08);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.15);
  flex-shrink: 0;
}

.module-title {
  flex-grow: 1;
}

.accordion-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: var(--transition-medium);
  margin-left: 15px;
  flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(-135deg);
  border-color: var(--color-gold-base);
}

.accordion-item.active .module-num {
  background: var(--color-gold-base);
  color: #060a13;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* Suficiente para el texto */
  opacity: 1;
  padding: 0 24px 20px 65px;
}

.accordion-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Lado Workshops (Especializado) */
.workshops-list-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: center;
}

.workshop-mini-card {
  padding: 24px;
}

.workshop-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-base);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.workshop-mini-card h4 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.workshop-mini-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================
   9. SECCIÓN HISTORIA (Zoel Tovar)
   ========================================== */
.bio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.bio-img-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.bio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: var(--transition-smooth);
}

.bio-img-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 80%);
  pointer-events: none;
}

.bio-quote {
  border-left: 2px solid var(--color-gold-base);
  padding-left: 24px;
  margin: 30px 0;
}

.bio-quote p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-gold-light);
  line-height: 1.6;
}

.bio-bio-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bio-bio-text p {
  margin-bottom: 20px;
}

.bio-cta {
  margin-top: 20px;
}

/* ==========================================
   10. TESTIMONIOS SLIDER
   ========================================== */
.kaikoura-slider-container {
  max-width: 900px;
  margin: 40px auto 0;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.slide-item {
  min-width: 100%;
  box-sizing: border-box;
}

.testimonial-slide-content {
  padding: 40px 60px;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.1);
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  user-select: none;
}

.testimonial-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.7;
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-gold);
  font-style: normal;
  display: block;
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Controles del Slider */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 14, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-gold-base);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.icon-arrow {
  width: 20px;
  height: 20px;
  transition: var(--transition-medium);
}

.slider-arrow:hover {
  background: var(--gradient-gold);
  color: #060a13;
  border-color: transparent;
  box-shadow: var(--shadow-gold-glow);
}

.slider-arrow-prev { left: 16px; }
.slider-arrow-next { right: 16px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--gradient-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* ==========================================
   11. FORMULARIO DE CONVERSIÓN Y POSTULACIÓN
   ========================================== */
.contact-box-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  padding: 50px;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-box-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 24px;
}

.contact-box-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact-guarantees {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guarantee-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold-base);
  box-shadow: 0 0 6px var(--color-gold-base);
}

.guarantee-item span {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.contact-direct-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.contact-direct-details p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.direct-link {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-gold);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition-medium);
}

.direct-link:hover {
  color: var(--color-gold-light);
  transform: translateX(3px);
}

/* Lado del Formulario */
.qualifier-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.required {
  color: var(--color-gold-base);
}

.optional {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-medium);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(17, 22, 37, 0.9);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 10px rgba(212, 175, 55, 0.15);
}

.input-helper {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* Select wrapper */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-medium);
}

.form-select {
  appearance: none;
  padding-right: 46px;
  cursor: pointer;
}

.select-wrapper:hover::after {
  border-color: var(--color-gold-base);
}

/* Opciones de Radio Customizadas */
.custom-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-radio-option {
  cursor: pointer;
  position: relative;
}

.custom-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  transition: var(--transition-medium);
}

.radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-tertiary);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition-medium);
}

.radio-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gold-base);
  transition: var(--transition-medium);
}

.radio-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: var(--transition-medium);
}

.custom-radio-option:hover .radio-card {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.custom-radio-option input[type="radio"]:checked + .radio-card {
  border-color: var(--color-gold-base);
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.08);
}

.custom-radio-option input[type="radio"]:checked + .radio-card .radio-indicator {
  border-color: var(--color-gold-base);
}

.custom-radio-option input[type="radio"]:checked + .radio-card .radio-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}

.custom-radio-option input[type="radio"]:checked + .radio-card .radio-text {
  color: var(--text-primary);
}

.btn-submit-form {
  margin-top: 10px;
  width: 100%;
}

/* Estilos de Validación de Formulario */
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.15) !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 4px;
  animation: slideDownIn 0.3s ease forwards;
}

@keyframes slideDownIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   12. PIE DE PÁGINA (Footer)
   ========================================== */
.footer-kaikoura {
  background: #020306;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 50px;
  padding-top: 80px;
  padding-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-brand .footer-logo {
  text-decoration: none;
  margin-bottom: 24px;
  display: inline-block;
}

.footer-col-brand .footer-logo span {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
}

.footer-purpose {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-credits {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-medium);
}

.footer-links a:hover {
  color: var(--color-gold-base);
  transform: translateX(4px);
  display: inline-block;
}

.footer-info-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-info-item strong {
  color: var(--text-primary);
}

.footer-info-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-medium);
}

.footer-info-item a:hover {
  color: var(--color-gold-base);
}

/* Redes Sociales */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-medium);
}

.icon-social {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.03);
  color: var(--color-gold-light);
  transform: translateX(4px);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 30px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.legal-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: var(--transition-medium);
}

.legal-links a:hover {
  color: var(--color-gold-base);
}

/* ==========================================
   13. WIDGET DE WHATSAPP CON MINI-CHAT
   ========================================== */
.whatsapp-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(18, 140, 126, 0.4);
  position: relative;
  transition: var(--transition-medium);
  z-index: 10;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 15px 35px rgba(18, 140, 126, 0.6);
}

.icon-whatsapp {
  width: 32px;
  height: 32px;
}

/* Pulso animado radial */
.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #25d366;
  animation: waPulse 2s infinite ease-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Chat Box */
.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-glass), 0 30px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.whatsapp-chat-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header del chat */
.chat-header {
  background: rgba(11, 14, 23, 0.85);
  border-bottom: 1px solid var(--glass-border-gold);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  position: relative;
}

.chat-avatar-container {
  position: relative;
  width: 42px;
  height: 42px;
  margin-right: 14px;
}

.chat-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-gold-base);
}

.avatar-online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid var(--bg-secondary);
}

.chat-header-text {
  flex-grow: 1;
}

.chat-agent-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.chat-agent-status {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.icon-close {
  width: 18px;
  height: 18px;
}

/* Body del chat */
.chat-body {
  padding: 24px 20px;
  background: rgba(6, 10, 19, 0.4);
  max-height: 250px;
  overflow-y: auto;
}

.chat-message-bubble {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--color-gold-base);
  padding: 14px 16px;
  border-radius: 0 12px 12px 12px;
  max-width: 90%;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-message-bubble p {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.chat-time {
  display: block;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-align: right;
  margin-top: 6px;
}

/* Footer del chat */
.chat-footer {
  padding: 16px 20px 20px;
  background: rgba(11, 14, 23, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.btn-whatsapp-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  transition: var(--transition-smooth);
}

.btn-whatsapp-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.icon-whatsapp-small {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

/* ==========================================
   14. MODAL DE VIDEO PRESENTACIÓN
   ========================================== */
.modal-video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 3, 6, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 24px;
}

.modal-video-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-video-container {
  max-width: 860px;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-video-overlay.active .modal-video-container {
  transform: translateY(0);
}

.modal-video-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.modal-video-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-video-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-right: 40px;
}

/* Luxury Shell Video Player */
.video-player-shell {
  background: #020306;
  border: 1px solid var(--glass-border-gold);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}

.simulated-video-player {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  transition: opacity 0.5s ease;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(2, 3, 6, 0.9) 0%, rgba(2, 3, 6, 0.2) 60%, rgba(2, 3, 6, 0.5) 100%);
}

.btn-play-video-central {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-gold);
  border: none;
  color: #060a13;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold-glow), var(--shadow-gold-button);
  transition: var(--transition-smooth);
}

.btn-play-video-central:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gradient-gold-hover);
}

.play-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--color-gold-base);
  animation: waPulse 1.8s infinite ease-out;
  pointer-events: none;
}

.icon-play-big {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-intro-text {
  position: absolute;
  bottom: 24px;
  left: 30px;
  right: 30px;
  pointer-events: none;
}

.intro-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-gold-base);
  font-weight: 500;
  margin-bottom: 6px;
}

.intro-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  color: #fff;
}

/* Simulador de Controles */
.simulated-controls {
  position: relative;
  z-index: 10;
  height: 50px;
  background: rgba(2, 3, 6, 0.95);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.control-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-medium);
}

.control-btn:hover {
  color: var(--color-gold-base);
}

.play-icon-control {
  width: 20px;
  height: 20px;
}

.timeline-slider-container {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.timeline-filled {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-gold-base);
  transition: width 0.1s linear;
}

.time-display {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.volume-icon-control {
  width: 18px;
  height: 18px;
}

.video-modal-description p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   15. MODAL DE CONFIRMACIÓN POST-ENVÍO
   ========================================== */
.modal-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 3, 6, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 24px;
}

.modal-confirm-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-confirm-container {
  max-width: 540px;
  width: 100%;
  padding: 40px;
  border-radius: 12px;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-confirm-overlay.active .modal-confirm-container {
  transform: translateY(0);
}

/* Círculo de Éxito Dorado */
.success-ring-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.success-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-gold-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-base);
  z-index: 2;
  position: relative;
  background: var(--bg-secondary);
}

.icon-success-check {
  width: 32px;
  height: 32px;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkDraw 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards;
}

@keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.success-ring-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-gold-base);
  filter: blur(15px);
  opacity: 0.3;
  z-index: 1;
}

.modal-confirm-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.modal-confirm-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-confirm-next-steps {
  padding: 24px;
  margin-bottom: 30px;
  text-align: left;
}

.modal-confirm-next-steps h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-gold-light);
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.modal-confirm-next-steps p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-confirm-wa {
  width: 100%;
}

.icon-wa-confirm {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ==========================================
   16. NOTIFICACIONES FLOTANTES DORMIDAS
   ========================================== */
.notifications-container {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
}

.notification-toast {
  pointer-events: auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold);
  border-left: 4px solid var(--color-gold-base);
  padding: 16px 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  animation: slideToastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes slideToastIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.notification-toast.dismissing {
  animation: slideToastOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideToastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon-success {
  color: var(--color-gold-base);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.toast-close-btn:hover {
  color: #fff;
}

/* ==========================================
   17. ANIMACIONES DE ENTRADA AL SCROLL (REVEAL)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay secuencial para tarjetas */
.pain-cards-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.pain-cards-grid .reveal:nth-child(2) { transition-delay: 0.25s; }
.pain-cards-grid .reveal:nth-child(3) { transition-delay: 0.4s; }

/* ==========================================
   18. ADAPTABILIDAD RESPONSIVA (Media Queries)
   ========================================== */

/* Laptops / Desktops Medianos */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 3rem;
  }
}

/* Tablets de alta resolución (992px y menores) */
@media (max-width: 992px) {
  .section-padding {
    padding: 90px 0;
  }
  
  /* Menú Móvil Hamburger Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar-menu-container {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(6, 10, 19, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .navbar-menu-container.active {
    left: 0;
  }

  .navbar-links {
    flex-direction: column;
    padding: 60px 40px;
    gap: 35px;
    align-items: flex-start;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-dropdown:hover .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0 0 20px;
    display: block;
  }

  .dropdown-menu li a {
    padding: 8px 0;
  }

  .navbar-actions {
    gap: 15px;
  }

  .btn-nav-cta {
    display: none; /* Se esconde en barra móvil, pero puede incluirse en el menú */
  }

  /* Grid layouts */
  .pain-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .diagram-pillars {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 50px;
  }

  .diagram-pillar-btn {
    width: 100%;
    max-width: 320px;
  }

  .diagram-connectors {
    display: none; /* Se ocultan las líneas en móvil para limpiar el layout */
  }

  .tab-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tab-features-list {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 0;
    padding-top: 24px;
  }

  .program-item-row, .program-item-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .program-img {
    height: 380px;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-image-col {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-box-grid {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Dispositivos Móviles (576px y menores) */
@media (max-width: 576px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .hero-actions .btn-gold, .hero-actions .btn-outline-gold {
    width: 100%;
  }

  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .node-central .node-inner {
    padding: 16px 20px;
  }

  .comparison-table th, .comparison-table td {
    padding: 16px 20px;
  }

  .col-traditional, .col-kaikoura {
    display: none; /* Escondemos columnas directas en supermóvil, o usamos display card */
  }

  /* Rediseñar tabla para móvil extremo */
  .comparison-table-wrapper {
    border: none;
    background: transparent;
  }

  .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
  }

  .comparison-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .comparison-table td:last-child {
    border-bottom: none;
  }

  .comparison-table td::before {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gold-base);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
  }

  .criteria-cell::before { content: "Aspecto"; }
  .traditional-cell::before { content: "Oratoria Tradicional"; }
  .kaikoura-cell::before { content: "Metodología Kaikoura"; }

  .testimonial-slide-content {
    padding: 30px 20px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow-prev { left: 5px; }
  .slider-arrow-next { right: 5px; }

  .whatsapp-chat-box {
    width: calc(100vw - 40px);
    right: -10px;
  }

  .modal-video-container {
    padding: 16px;
  }

  .simulated-controls {
    padding: 0 10px;
    gap: 10px;
  }

  .modal-confirm-container {
    padding: 24px 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================
   LOGO OFICIAL DEL MANUAL DE MARCA KAIKOURA
   ========================================== */
.navbar-logo-img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.header-kaikoura.scrolled .navbar-logo-img {
  height: 40px;
}

@media (max-width: 768px) {
  .navbar-logo-img {
    height: 38px;
    max-width: 200px;
  }
}
