/**
 * Club de Crecimiento - CSS Premium
 * Diseño orientado a conversión con paleta sobria y profesional
 */

/* ==========================================
   VARIABLES CSS
   ========================================== */
:root {
  /* Colores principales */
  --color-primary: #D4AF37;        /* Dorado premium */
  --color-primary-dark: #B8941F;
  --color-primary-light: #F4D47A;

  --color-secondary: #0066FF;      /* Azul eléctrico */
  --color-secondary-dark: #0052CC;

  /* Escala de grises */
  --color-bg-dark: #0A0A0A;
  --color-bg-medium: #1A1A1A;
  --color-bg-light: #2A2A2A;
  --color-bg-ultra-light: #F8F9FA;

  --color-text-primary: #FFFFFF;
  --color-text-secondary: #D0D0D0;  /* Mejorado de #B0B0B0 para más contraste */
  --color-text-dark: #0A0A0A;

  /* Estados */
  --color-success: #28A745;
  --color-warning: #FFC107;
  --color-danger: #DC3545;
  --color-info: #17A2B8;

  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;

  /* Tipografía */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Georgia", "Times New Roman", serif;

  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.35);

  /* Bordes */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET Y BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background-color: var(--color-bg-ultra-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================
   TIPOGRAFÍA
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-bg-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-dark);
}

.text-muted {
  color: #6C757D;  /* Color más oscuro para mejor contraste en fondos claros */
}

/* Text muted en secciones oscuras - mejor contraste */
.section-dark .text-muted {
  color: var(--color-text-secondary);  /* Más claro en fondos oscuros */
}

.text-white {
  color: var(--color-text-primary);
}

/* Mejorar contraste de párrafos en secciones oscuras */
.section-dark p:not(.text-muted):not(.speaker-card p):not(.speaker-card *) {
  color: #EFEFEF;
}

/* ==========================================
   LAYOUT Y CONTENEDORES
   ========================================== */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--color-text-primary);
}

.section-dark p:not(.speaker-card p):not(.speaker-card *) {
  color: var(--color-text-secondary);
}

/* ==========================================
   HEADER STICKY
   ========================================== */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

.header-sticky .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-heading);
}

.nav-main {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-main a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-main a:hover {
  color: var(--color-primary);
}

.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cart-count.active {
  opacity: 1;
}

/* ==========================================
   BOTONES CTA
   ========================================== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
  color: var(--color-text-primary);
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.hero h1 {
  color: #FFFFFF;  /* Blanco puro */
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);  /* Sombra pronunciada para destacar */
  font-weight: 800;  /* Peso extra para mayor impacto visual */
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #E8E8E8;  /* Más claro para mejor contraste en fondo oscuro */
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);  /* Sombra para mayor legibilidad */
}

.hero-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--spacing-md) 0;
}

.hero-price-original {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  text-decoration: line-through;
  display: block;
  margin-bottom: var(--spacing-xs);
}

/* ==========================================
   PACK CARDS
   ========================================== */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.pack-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.pack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.pack-card-header {
  margin-bottom: var(--spacing-md);
}

.pack-card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-bg-dark);
}

.pack-card-tagline {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.pack-card-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--spacing-sm) 0;
}

.pack-card-videos {
  display: inline-block;
  background-color: var(--color-bg-light);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.pack-card-bullets {
  list-style: none;
  margin: var(--spacing-md) 0;
}

.pack-card-bullets li {
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  position: relative;
  color: var(--color-text-dark);
}

.pack-card-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.pack-card-footer {
  margin-top: var(--spacing-md);
  display: flex;
  gap: var(--spacing-sm);
}

/* Badge de pilar */
.pack-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.pack-badge-marketing {
  background-color: rgba(0, 102, 255, 0.2);  /* Mayor opacidad para más contraste */
  color: #0052CC;  /* Color más oscuro */
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.pack-badge-cripto {
  background-color: rgba(212, 175, 55, 0.2);
  color: #8B7523;  /* Color más oscuro para mejor contraste */
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.pack-badge-inmobiliario {
  background-color: rgba(40, 167, 69, 0.2);
  color: #1E7E34;  /* Más oscuro */
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.pack-badge-liderazgo {
  background-color: rgba(220, 53, 69, 0.2);
  color: #A71D2A;  /* Más oscuro */
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.pack-badge-fiscalidad {
  background-color: rgba(23, 162, 184, 0.2);
  color: #117A8B;  /* Más oscuro */
  border: 1px solid rgba(23, 162, 184, 0.3);
}

/* ==========================================
   TESTIMONIOS
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.testimonial-card {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-primary);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-author-info p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.testimonial-rating {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

/* ==========================================
   FAQS
   ========================================== */
.faqs-container {
  max-width: 800px;
  margin: var(--spacing-lg) auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
  color: #0A0A0A;
}

.faq-question:hover {
  background-color: var(--color-bg-ultra-light);
}

.faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md);
  display: none;
  color: #0A0A0A;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================
   CHECKOUT Y FUNNEL
   ========================================== */
.checkout-container {
  max-width: 900px;
  margin: var(--spacing-xl) auto;
  padding: 0 var(--spacing-md);
}

.progress-bar {
  background-color: #E0E0E0;
  height: 8px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  height: 100%;
  transition: width var(--transition-slow);
}

.order-summary {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #E0E0E0;
}

.order-summary-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.order-bump {
  background-color: var(--color-primary-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin: var(--spacing-md) 0;
  border: 2px dashed var(--color-primary-dark);
}

.order-bump-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.order-bump-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.upsell-page {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.upsell-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.comparison-box {
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 2px solid #E0E0E0;
}

.comparison-box-highlight {
  border-color: var(--color-primary);
  background-color: rgba(212, 175, 55, 0.05);
  position: relative;
}

.comparison-box-highlight::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================
   TABLA COMPARATIVA
   ========================================== */

/* Wrapper con scroll horizontal para móvil */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  margin: var(--spacing-lg) 0;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  min-width: 600px; /* Ancho mínimo para evitar que se comprima demasiado */
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin: 0;
}

.comparison-table th,
.comparison-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid #E0E0E0;
  white-space: nowrap; /* Evita que el texto se rompa en móvil */
}

.comparison-table th {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Primera columna sticky (opcional) */
.comparison-table th:first-child,
.comparison-table td:first-child {
  position: sticky;
  left: 0;
  background-color: white;
  z-index: 1;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

.comparison-table th:first-child {
  background-color: var(--color-bg-dark);
  z-index: 3;
}

.comparison-table tr:hover {
  background-color: var(--color-bg-ultra-light);
}

/* Indicador de scroll en móvil */
.table-scroll-indicator {
  display: none;
  text-align: center;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .table-responsive-wrapper {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
  }

  .comparison-table {
    min-width: 800px; /* Más ancho en móvil para que se vea mejor al hacer scroll */
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.875rem;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 120px; /* Ancho mínimo para la primera columna */
  }

  .table-scroll-indicator {
    display: block;
  }
}

@media (max-width: 480px) {
  .comparison-table {
    min-width: 700px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 100px;
  }
}

/* ==========================================
   TRUST BADGES
   ========================================== */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  padding: var(--spacing-md) 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: #FFFFFF;  /* Blanco puro para máximo contraste */
  font-size: 0.875rem;
  font-weight: 500;  /* Peso medio para mejor legibilidad */
}

.trust-badge svg,
.trust-badge i {
  color: var(--color-primary);
  font-size: 1.25rem;
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in {
  animation: fadeIn var(--transition-normal);
}

.fade-in-up {
  animation: fadeInUp var(--transition-slow);
}

/* ==========================================
   MENÚ HAMBURGUESA MÓVIL
   ========================================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
  /* HEADER Y NAVEGACIÓN MÓVIL */
  .header-sticky .container-custom {
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    will-change: transform;
  }

  .nav-main.active {
    transform: translateX(0);
  }

  .nav-main a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 1.125rem;
    transition: all 0.3s ease;
  }

  .nav-main a:hover {
    padding-left: 1rem;
    background: rgba(212, 175, 55, 0.1);
  }

  .nav-main .btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-main .cart-icon {
    border-bottom: none;
  }

  /* Overlay para cerrar menú */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  /* LAYOUT GENERAL */
  .container-custom {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* GRIDS RESPONSIVE */
  .pack-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .upsell-comparison {
    grid-template-columns: 1fr;
  }

  /* HERO */
  .hero {
    padding: 2.5rem 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

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

  .hero-price {
    font-size: 2.25rem;
  }

  /* BOTONES */
  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* TRUST BADGES */
  .trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* PACK CARDS */
  .pack-card {
    padding: 1.5rem;
  }

  .pack-card-title {
    font-size: 1.25rem;
  }

  .pack-card-price {
    font-size: 2rem;
  }

  /* TIPOGRAFÍA */
  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  /* ESTADÍSTICAS */
  .stat-number {
    font-size: 3rem;
  }

  /* NAVEGACIÓN MÓVIL - ANCHO COMPLETO */
  .nav-main {
    width: 85%;
    max-width: none;
  }

  /* SCROLL INDICATOR */
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  /* EXTRA SMALL DEVICES */
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .pack-card {
    padding: 1.25rem;
  }

  .pack-card-price {
    font-size: 1.75rem;
  }

  /* MODAL */
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  /* NAVEGACIÓN MÓVIL - PANTALLA COMPLETA */
  .nav-main {
    width: 100%;
  }
}

/* ==========================================
   RESPONSIVE - TABLETS
   ========================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .pack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .container-custom {
    padding: 0 2rem;
  }
}

/* ==========================================
   MEJORAS PARA TOUCH
   ========================================== */
@media (hover: none) and (pointer: coarse) {
  /* Aumentar áreas táctiles */
  .btn {
    min-height: 48px;
  }

  .nav-main a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .faq-question {
    min-height: 56px;
    display: flex;
    align-items: center;
  }

  .mobile-menu-toggle {
    padding: 12px;
  }

  /* Eliminar efectos hover en dispositivos táctiles */
  .pack-card:hover,
  .testimonial-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* ==========================================
   LANDSCAPE MODE (MÓVILES EN HORIZONTAL)
   ========================================== */
@media (max-width: 992px) and (orientation: landscape) {
  .hero {
    padding: 1.5rem 0;
    min-height: auto;
  }

  .nav-main {
    padding-top: 60px;
  }

  .section {
    padding: 2rem 0;
  }
}

/* ==========================================
   UTILIDADES
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }

.hidden { display: none; }
.visible { display: block; }

/* ==========================================
   EFECTOS PREMIUM Y THREE.JS
   ========================================== */

/* Container para canvas de Three.js en hero */
#hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Glassmorphism para cards premium */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-dark {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 32px 0 rgba(212, 175, 55, 0.1);
}

/* Mejorar pack cards con glassmorphism sutil */
.pack-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.pack-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(212, 175, 55, 0.3);
}

/* Efecto de brillo dorado en hover */
.pack-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.pack-card:hover::after {
  left: 100%;
}

/* Gradientes mejorados para botones */
.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D47A 50%, #D4AF37 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background-position: 100% 0%;
  box-shadow:
    0 15px 35px rgba(212, 175, 55, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

/* Efecto de pulso para CTAs importantes */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

.btn-primary-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Hero mejorado con overlay gradient */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Mejorar order-summary con efecto premium */
.order-summary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.order-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Testimonios con efecto de elevación */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  transition: height 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(212, 175, 55, 0.1);
}

.testimonial-card:hover::before {
  height: 100%;
}

/* Efecto de typing para hero subtitle */
@keyframes fadeInUpStagger {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.hero-subtitle,
.hero .btn-group {
  animation: fadeInUpStagger 0.8s ease-out backwards;
}

.hero h1 {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.4s;
}

.hero .btn-group {
  animation-delay: 0.6s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  opacity: 0.8;
}

/* Loading shimmer effect para placeholders */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    #f0f0f0 0px,
    #f8f8f8 40px,
    #f0f0f0 80px
  );
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite;
}

/* Parallax sections */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Efecto de reveal al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mejorar progress bar del funnel */
.progress-bar {
  position: relative;
  overflow: visible;
}

.progress-bar-fill {
  position: relative;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.2),
    0 0 20px rgba(212, 175, 55, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(212, 175, 55, 0.2),
      0 0 20px rgba(212, 175, 55, 0.8);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(212, 175, 55, 0.1),
      0 0 30px rgba(212, 175, 55, 1);
  }
}

/* Badge mejorado con glow */
.pack-badge {
  position: relative;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pack-badge-marketing::before,
.pack-badge-cripto::before,
.pack-badge-inmobiliario::before,
.pack-badge-liderazgo::before,
.pack-badge-fiscalidad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius-sm);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pack-card:hover .pack-badge::before {
  opacity: 0.15;
  box-shadow: 0 0 20px currentColor;
}

/* Números grandes con efecto dorado */
.stat-number {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #D4AF37 0%, #F4D47A 50%, #B8941F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
  animation: shimmer-text 3s ease-in-out infinite;
}

@keyframes shimmer-text {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Mejoras para mobile */
@media (max-width: 768px) {
  #hero-canvas-container {
    opacity: 0.5;
  }

  .pack-card::after {
    display: none;
  }

  .glass-card,
  .glass-card-dark {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
}

/* Smooth scroll con offset para header sticky */
html {
  scroll-padding-top: 80px;
}

/* Cursor custom para elementos interactivos */
.btn,
.pack-card,
a {
  cursor: pointer;
}

/* Selección de texto personalizada */
::selection {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

::-moz-selection {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

/* ==========================================
   MEJORAS DE CONTRASTE ADICIONALES
   ========================================== */

/* Mejorar contraste de enlaces en footer */
footer a {
  color: #C0C0C0 !important;  /* Más claro que text-secondary */
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--color-primary) !important;
}

/* Mejorar h4 y h5 en secciones oscuras */
.section-dark h4,
.section-dark h5 {
  color: #FFFFFF;
  font-weight: 600;
}

/* Pack card - mejorar contraste del tagline */
.pack-card-tagline {
  color: #4A4A4A !important;  /* Más oscuro para mejor legibilidad */
}

/* Mejorar contraste de bullets en cards */
.pack-card-bullets li {
  color: #2A2A2A;  /* Casi negro para máxima legibilidad */
}

/* Order bump - mejorar contraste */
.order-bump {
  background-color: #FFF9E6;  /* Fondo más claro */
  border: 2px dashed #D4AF37;
}

.order-bump h4 {
  color: #0A0A0A;  /* Negro para máximo contraste */
}

.order-bump p {
  color: #2A2A2A;  /* Casi negro */
}

/* Stat numbers - asegurar que se vean bien */
.stat-number {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Mejorar contraste en comparison table */
.comparison-table td {
  color: #0A0A0A !important;  /* Negro para máximo contraste */
}

.comparison-table td *,
.comparison-box *,
.comparison-box h3,
.comparison-box h4,
.comparison-box p,
.comparison-box ul,
.comparison-box li {
  color: #0A0A0A !important;
}

/* Testimonial content - mejorar legibilidad */
.testimonial-content {
  color: #2A2A2A;  /* Más oscuro para mejor lectura */
  font-weight: 400;
}

/* ==========================================
   CONTRASTE GLOBAL - FONDO OSCURO = TEXTO CLARO
   ========================================== */

/* Asegurar que todos los elementos en secciones oscuras sean legibles */
.section-dark,
.hero,
.header-sticky {
  color: #FFFFFF;
}

.section-dark *:not(.btn):not(.pack-card):not(.pack-card *):not(.order-summary):not(.order-summary *):not(.speaker-card):not(.speaker-card *),
.hero *:not(.btn):not(.scroll-indicator),
.header-sticky * {
  color: inherit;
}

/* Headings en fondos oscuros siempre blancos */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.hero h1,
.hero h2 {
  color: #FFFFFF !important;
}

/* Párrafos en fondos oscuros con gris claro */
.section-dark p:not(.pack-card p):not(.order-summary p):not(.speaker-card p):not(.speaker-card *),
.hero p:not(.speaker-card p):not(.speaker-card *) {
  color: #E8E8E8 !important;
}

/* Text-muted en fondos claros = oscuro, en fondos oscuros = claro */
.text-muted {
  color: #6C757D;  /* Para fondos claros */
}

.section-dark .text-muted,
.hero .text-muted {
  color: #D0D0D0 !important;  /* Para fondos oscuros */
}

/* Hero subtitle - color según contexto */
.hero .hero-subtitle {
  color: #E8E8E8 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero subtitle en secciones oscuras */
.section-dark .hero-subtitle {
  color: #E8E8E8 !important;
}

/* Hero subtitle en secciones claras (NO dark) */
.section:not(.section-dark) .hero-subtitle {
  color: #2A2A2A !important;
  text-shadow: none;
}

/* Nav links en header */
.nav-main a {
  color: #FFFFFF !important;
}

.nav-main a:hover {
  color: var(--color-primary) !important;
}

/* Footer siempre con texto claro */
footer {
  background-color: var(--color-bg-dark) !important;
}

footer * {
  color: #E8E8E8 !important;
}

footer h4,
footer h5 {
  color: #FFFFFF !important;
}

footer .text-muted {
  color: #FFFFFF !important;
}

/* Trust badges siempre con texto claro en hero */
.hero .trust-badge {
  color: #FFFFFF !important;
}

/* Asegurar legibilidad en cards sobre fondos claros */
.pack-card h1,
.pack-card h2,
.pack-card h3,
.pack-card h4 {
  color: #0A0A0A !important;
}

.pack-card p,
.pack-card li {
  color: #2A2A2A !important;
}

/* Order summary siempre legible */
.order-summary {
  background-color: #FFFFFF;
  color: #0A0A0A;
}

.order-summary h3,
.order-summary h4 {
  color: #0A0A0A !important;
}

.order-summary p,
.order-summary li,
.order-summary div {
  color: #2A2A2A !important;
}

/* ==========================================
   SPEAKERS SYSTEM
   ========================================== */

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.speaker-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.speaker-featured {
  border-color: var(--color-primary);
}

.speaker-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Aspect ratio 1:1 */
  overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
}

.speaker-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.speaker-info {
  padding: var(--spacing-md);
}

.speaker-card .speaker-info .speaker-name,
.speaker-name {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: #0A0A0A !important;
}

.speaker-card .speaker-info .speaker-role,
.speaker-role {
  color: #0A0A0A !important;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.speaker-card .speaker-info .speaker-videos-count,
.speaker-videos-count {
  color: #0A0A0A !important;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

/* Asegurar que TODO el texto en speaker-card sea negro */
.speaker-card *,
.speaker-card h1,
.speaker-card h2,
.speaker-card h3,
.speaker-card h4,
.speaker-card h5,
.speaker-card h6,
.speaker-card p,
.speaker-card span,
.speaker-card div,
.speaker-info *,
.speaker-info h4,
.speaker-info h5,
.speaker-info p {
  color: #0A0A0A !important;
}

/* Speaker card compacta para páginas de pack */
.speaker-card-compact {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.speaker-card-compact:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.speaker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  flex-shrink: 0;
}

.speaker-compact-info h5 {
  margin-bottom: var(--spacing-xs);
  color: var(--color-bg-dark);
}

.speaker-videos-compact {
  list-style: none;
  margin-top: var(--spacing-xs);
  padding-left: 0;
}

.speaker-videos-compact li {
  font-size: 0.875rem;
  color: #4A4A4A;
  padding-left: var(--spacing-md);
  position: relative;
  margin-bottom: var(--spacing-xs);
}

.speaker-videos-compact li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.7rem;
}

/* Speaker videos list */
.speaker-videos-list {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid #E0E0E0;
}

.speaker-videos-list h5 {
  font-size: 0.875rem;
  color: var(--color-bg-dark);
  margin-bottom: var(--spacing-sm);
}

.speaker-videos-list ul {
  list-style: none;
  padding: 0;
}

.speaker-videos-list li {
  font-size: 0.875rem;
  margin-bottom: var(--spacing-xs);
  color: #4A4A4A;
}

.video-pack-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 2px;
}

/* Pack speakers section */
.pack-speakers-section {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
  border-radius: var(--border-radius-lg);
}

/* Speaker modal */
.speaker-modal-content {
  text-align: center;
}

.speaker-modal-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
  border: 4px solid var(--color-primary);
}

.speaker-modal-role {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.speaker-modal-bio {
  color: #4A4A4A;
  margin-bottom: var(--spacing-lg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .speakers-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
  }

  .speaker-card-compact {
    flex-direction: column;
    text-align: center;
  }

  .speaker-avatar {
    margin: 0 auto;
  }
}

/* ==========================================
   MODAL DE PACK
   ========================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  margin: 5vh auto;
  border-radius: 16px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f0f0f0;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.modal-header {
  padding: 3rem 3rem 2rem;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0A0A0A;
  margin: 1rem 0 0.5rem;
}

.modal-header p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 1rem;
}

.modal-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #D4AF37;
}

.modal-body {
  padding: 2rem 3rem;
}

.modal-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 1rem;
}

.speakers-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.speaker-modal-card {
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.speaker-modal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.speaker-modal-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.speaker-modal-info {
  padding: 1rem;
}

.speaker-modal-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 0.25rem;
}

.speaker-modal-info p {
  font-size: 0.875rem;
  color: #D4AF37;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.speaker-modal-info small {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.modal-footer {
  padding: 2rem 3rem;
  border-top: 1px solid #eee;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .modal-content {
    width: 95%;
    margin: 2.5vh auto;
    max-height: 95vh;
  }

  .modal-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-footer {
    padding: 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-header p {
    font-size: 1rem;
  }

  .modal-price {
    font-size: 2rem;
  }

  .modal-body h3 {
    font-size: 1.25rem;
  }

  .speakers-modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    margin: 0;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-header {
    padding: 1.5rem 1rem 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    padding: 1rem;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .modal-header h2 {
    font-size: 1.25rem;
    margin: 0.5rem 0 0.25rem;
  }

  .modal-header p {
    font-size: 0.875rem;
  }

  .modal-price {
    font-size: 1.75rem;
  }

  .modal-body h3 {
    font-size: 1.125rem;
  }

  .modal-body p,
  .modal-body li {
    font-size: 0.875rem;
  }

  .speaker-modal-card img {
    height: 150px;
  }
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37 0%, #F4D47A 100%);
  border: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #F4D47A 0%, #D4AF37 100%);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}

/* ==========================================
   COOKIE CONSENT MODAL
   ========================================== */
.cookie-consent-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  display: none;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-content {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem 3rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  border-top: 3px solid #D4AF37;
}

.cookie-consent-body h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cookie-consent-body p {
  color: #E8E8E8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.cookie-consent-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-consent-actions .btn {
  flex: 0 0 auto;
}

/* Responsive para tablets */
@media (max-width: 992px) {
  .cookie-consent-content {
    padding: 2rem;
  }

  .cookie-consent-body p {
    font-size: 0.95rem;
  }
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .cookie-consent-content {
    padding: 1.5rem 1rem;
  }

  .cookie-consent-body h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  .cookie-consent-body p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .cookie-consent-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cookie-consent-actions .btn {
    width: 100%;
    margin: 0 !important;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
}

/* Responsive para móvil pequeño */
@media (max-width: 480px) {
  .cookie-consent-content {
    padding: 1.25rem 0.875rem;
  }

  .cookie-consent-body h3 {
    font-size: 1rem;
  }

  .cookie-consent-body p {
    font-size: 0.8rem;
  }

  .cookie-consent-actions .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}
