:root {
  --bg-dark: #050507;
  --text-primary: #F3F4F6;
  --text-secondary: #aaaaaa;
  
  /* 5 Colores Corporativos MiGymBro */
  --mb-blue: #2196F3;
  --mb-purple: #A855F7;
  --mb-magenta: #D946EF;
  --mb-orange: #F97316;
  --mb-gold: #FFD700;
  
  --mb-gradient: linear-gradient(135deg, var(--mb-blue) 0%, var(--mb-purple) 50%, var(--mb-gold) 100%);
  --font-main: 'Orbitron', sans-serif;
  --font-sans: 'Inter', sans-serif;
}

/* --- SALTO DE INTRO EN VISITAS RECURRENTES --- */
.visited-flow #loader,
.visited-flow #interactive-intro {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.reduce-motion-flow #interactive-intro {
  display: none !important;
}

html, body {
  width: 100% !important;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  position: relative;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
}

/* --- FONDOS DINÁMICOS --- */
.grid-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
      linear-gradient(rgba(33, 150, 243, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(33, 150, 243, 0.05) 1px, transparent 1px),
      radial-gradient(circle at 50% 50%, transparent 20%, #050507 80%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
  pointer-events: none;
  z-index: -1;
}

.scanline {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(transparent 50%, rgba(33, 150, 243, 0.02) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 50;
  opacity: 0.5;
}

.glow-bg {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* --- LOADER --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out;
}

.loader-content {
  text-align: center;
  width: 300px;
}

.loader-logo {
  height: 60px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px var(--mb-blue));
}

.loader-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#progress {
  width: 0%;
  height: 100%;
  background: var(--mb-gradient);
  transition: width 0.1s ease;
}

#loader-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
}

/* --- FASE 1: VIDEO SCROLL --- */
#interactive-intro {
  position: relative;
  width: 100%;
}

#scroll-container {
  width: 100%;
  height: 900vh; /* 900% de la altura del viewport para la duración del video */
  background: transparent;
  position: relative;
}

#interactive-intro {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.canvas-wrap {
  width: 100vw;
  height: 100vh;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

/* --- INTRO BLACKOUT (Requisito: Cinematográfico) --- */
#intro-blackout {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-content {
  opacity: 0;
  transform: translateY(30px);
}

.intro-tagline {
  display: none;
}

.intro-logo {
  max-width: 85vw;
  width: 500px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(33, 150, 243, 0.5));
  transition: filter 0.1s ease;
}

.lightning-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 100%), #fff;
  opacity: 0;
  z-index: 190;
  pointer-events: none;
}

#evolution-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  opacity: 0; /* Empieza oculto para el fade-in */
}

#dark-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  z-index: 11;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 100;
}

.hero-tag {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.8em;
  color: var(--mb-orange);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(3rem, 12vw, 12rem);
  font-weight: 900;
  line-height: 0.85;
  background: var(--mb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Capas de Texto FASE 1 (Narrativa Inmersiva) */
.text-layers {
  position: absolute;
  inset: 0;
  z-index: 100; /* Siempre por encima del canvas e overlays */
  pointer-events: none;
}

.content-section {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  padding: 0 8vw;
}

.align-left { text-align: left; padding-right: 52vw; }
.align-right { text-align: left; padding-left: 52vw; }
.center-stats { text-align: center; padding: 0 10vw; }

.label {
  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--mb-orange);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.9);
  word-wrap: break-word;
}

.section-text {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 450px;
  padding: 1.5rem;
  border-left: 4px solid var(--mb-blue);
  background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-number {
  font-family: var(--font-main);
  font-size: clamp(2rem, 12vw, 6rem);
  font-weight: 900;
  color: white;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--mb-gold);
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  pointer-events: all;
}

.store-btn img {
  height: 48px;
  filter: brightness(1.2);
}

/* --- FASE 2: LANDING PREMIUM (TAILWIND UTILS) --- */
.main-frame {
  position: relative;
  z-index: 60;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  margin: 0.5rem;
  overflow: hidden;
  box-shadow: 0 -50px 100px rgba(0, 0, 0, 0.9);
}

@media (min-width: 768px) {
  .main-frame {
    margin: 2rem;
    border-radius: 4rem;
  }
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  will-change: transform;
}

.glass:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 150, 243, 0.5) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(33, 150, 243, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gradient-text {
  background: linear-gradient(135deg, var(--mb-blue), var(--mb-purple), var(--mb-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.neon-border {
  border: 1px solid rgba(33, 150, 243, 0.2);
  box-shadow: 0 0 30px rgba(33, 150, 243, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--mb-blue), #448AFF);
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
  transition: all 0.3s ease;
  color: white;
  font-weight: 900;
  text-transform: uppercase;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(33, 150, 243, 0.6);
}

/* --- PLANES Y COMPARATIVA --- */
#section-planes {
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

#section-comparativa {
  border-top: 1px solid rgba(33, 150, 243, 0.16);
  border-bottom: 1px solid rgba(168, 85, 247, 0.14);
  background: linear-gradient(180deg, rgba(33, 150, 243, 0.035), rgba(0, 0, 0, 0.12));
}

.pricing-comparison {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(4, 10, 20, 0.9), rgba(0, 0, 0, 0.72));
  text-align: left;
  overflow-x: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.06);
}

.pricing-comparison__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--mb-gold);
  font-family: var(--font-main);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-comparison h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-comparison__intro {
  max-width: 52rem;
  margin: 0.65rem 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
}

.pricing-comparison table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.75rem;
}

.pricing-comparison th,
.pricing-comparison td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb4c0;
  vertical-align: top;
}

.pricing-comparison th {
  color: var(--text-primary);
  background: rgba(33, 150, 243, 0.08);
  font-family: var(--font-main);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-comparison tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.018); }
.pricing-comparison tbody tr:hover td { background: rgba(33, 150, 243, 0.055); }
.pricing-comparison td:not(:first-child) { color: #c0c7d4; }

.pricing-comparison th:first-child,
.pricing-comparison td:first-child {
  color: var(--text-primary);
  font-weight: 700;
}

.pricing-comparison tr:last-child td { border-bottom: 0; }

.pricing-comparison__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  line-height: 1.5;
}

.pricing-comparison__note i { margin-top: 0.15rem; color: var(--mb-blue); }

/* Audio Toggle */
#audio-toggle {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--mb-gold);
  color: var(--mb-gold);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  font-size: 1.5rem;
  transition: all 0.3s;
  flex-shrink: 0;
}

#audio-toggle.muted {
  border-color: #555;
  color: #555;
}

/* --- MENÚ MÓVIL (HAMBURGUESA) --- */
.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación hamburguesa -> X cuando está activo */
#mobile-menu-toggle.active .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#mobile-menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}
#mobile-menu-toggle.active .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Panel off-canvas móvil */
#mobile-menu {
  flex-direction: column;
  gap: 1.15rem;
  overflow-y: auto;
  padding: 5.5rem 1rem 2rem;
}
#mobile-menu.open {
  display: flex !important;
  animation: mobileMenuIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.mobile-link {
  opacity: 0;
  color: #fff;
  position: relative;
}
#mobile-menu.open .mobile-link {
  animation: mobileLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(6) { animation-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(7) { animation-delay: 0.3s; }
#mobile-menu.open .mobile-link:nth-child(8) { animation-delay: 0.35s; }
#mobile-menu.open .mobile-link:nth-child(9) { animation-delay: 0.4s; }
#mobile-menu.open .mobile-link:nth-child(10) { animation-delay: 0.45s; }
@keyframes mobileLinkIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #mobile-menu.open, .mobile-link { animation: none; }
  #mobile-menu.open .mobile-link { opacity: 1; }
}

/* ============================================================
   FASE 3 — MICROINTERACCIONES PREMIUM
   ============================================================ */

/* --- Scroll Progress Bar (barra de gradiente superior fija) --- */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9998;
  background: linear-gradient(90deg, #2196F3 0%, #A855F7 50%, #FFD700 100%);
  box-shadow: 0 0 12px rgba(33, 150, 243, 0.7), 0 0 24px rgba(168, 85, 247, 0.4);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* --- Cards glass: estilos base consolidados en la definición principal de .glass --- */

/* ============================================================
   FASE 5 — ACCESIBILIDAD (WCAG AA)
   ============================================================ */

/* --- Skip-link (navegación por teclado) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: #2196F3;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.75rem 0.75rem;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* --- Foco visible para todos los elementos interactivos --- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Respetar preferencia de contraste del sistema --- */
@media (prefers-contrast: more) {
  .glass { background: rgba(20, 20, 25, 0.95); border-color: rgba(255,255,255,0.3); }
  .text-gray-400, .text-gray-500 { color: #c9c9c9 !important; }
}

/* FAQ acordeón */
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary { list-style: none; }
.faq-list details[open] {
  border-color: rgba(33, 150, 243, 0.4) !important;
}
.faq-list details[open] summary { color: #2196F3; }
@media (prefers-reduced-motion: reduce) {
  .faq-list .group-open\:rotate-45 { transform: none; }
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2196F3;
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.8);
  opacity: 0;
  animation: particleRise linear infinite;
}
.particle:nth-child(odd)  { background: #A855F7; box-shadow: 0 0 8px rgba(168, 85, 247, 0.8); }
.particle:nth-child(3n)   { background: #FFD700; box-shadow: 0 0 8px rgba(255, 215, 0, 0.8); width: 3px; height: 3px; }
.particle:nth-child(1)  { left: 5%;  animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2)  { left: 15%; animation-duration: 16s; animation-delay: 2s; }
.particle:nth-child(3)  { left: 25%; animation-duration: 14s; animation-delay: 4s; }
.particle:nth-child(4)  { left: 35%; animation-duration: 18s; animation-delay: 1s; }
.particle:nth-child(5)  { left: 45%; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(6)  { left: 55%; animation-duration: 17s; animation-delay: 3s; }
.particle:nth-child(7)  { left: 65%; animation-duration: 15s; animation-delay: 6s; }
.particle:nth-child(8)  { left: 72%; animation-duration: 19s; animation-delay: 2s; }
.particle:nth-child(9)  { left: 80%; animation-duration: 12s; animation-delay: 7s; }
.particle:nth-child(10) { left: 88%; animation-duration: 16s; animation-delay: 4s; }
.particle:nth-child(11) { left: 92%; animation-duration: 14s; animation-delay: 8s; }
.particle:nth-child(12) { left: 50%; animation-duration: 20s; animation-delay: 0s; }
@keyframes particleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .particle { animation: none; display: none; }
}

/* --- Magnetic / glow buttons (CTAs principales) --- */
.btn-glow, a[href="#section-planes"], .cta-button {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, #2196F3, #A855F7, #FFD700, #2196F3);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderFlow 3s linear infinite;
}
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
}
@keyframes borderFlow {
  to { background-position: 300% 0; }
}

/* --- Parallax targets (capas que reaccionan al scroll) --- */
[data-parallax] { will-change: transform; }

/* --- Reveal on scroll (entradas suaves de secciones) --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  #scroll-progress-bar { transition: none; }
  .glass:hover { transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn-glow:hover { transform: none; }
}

/* Responsive Fase 1 */
@media (max-width: 768px) {
  .main-frame { margin: 0.25rem; border-radius: 1.25rem; }
  .align-left, .align-right {
    padding: 0 6vw;
    text-align: center;
    width: 100%;
    inset: 0;
  }
  .section-title { font-size: clamp(1.6rem, 10vw, 3rem); }
  .section-text { font-size: 1rem; max-width: 100%; border-right: 0; padding: 1rem; }
  .stat-number { font-size: clamp(2rem, 15vw, 4rem); }
  .cta-buttons { flex-direction: column; align-items: center; }

  #audio-toggle,
  #share-toggle {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  #right-controls-container {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    gap: 0.5rem;
  }

  #scroll-to-top {
    left: max(0.75rem, env(safe-area-inset-left));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .pricing-comparison {
    padding: 0.75rem;
    border-radius: 1rem;
  }

  footer {
    gap: 1rem;
    padding: 2rem 1rem;
  }

  footer > div:first-child > div,
  footer > div:first-child p {
    font-size: 10px;
    line-height: 1.5;
  }

  footer > div:last-child {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }
}

/* Scroll To Top Button (Liquid Glass) */
#scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scroll-to-top:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(33, 150, 243, 0.5); /* Destello sutil azul */
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 12px 40px 0 rgba(33, 150, 243, 0.25),
    inset 0 0 12px rgba(255, 255, 255, 0.2);
}

#scroll-to-top:active {
  transform: translateY(-2px) scale(0.95);
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- LISTA DE BETAS UNIFICADA --- */
.beta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.08);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

/* --- NAVEGACIÓN DE BETAS --- */
.beta-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.beta-nav-link::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.beta-nav-link:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

.beta-nav-link--unified {
  color: #e9d5ff !important;
  border-color: rgba(192, 132, 252, 0.58);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(56, 189, 248, 0.12));
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.18);
}

#mobile-menu .beta-nav-link--unified {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

@media (min-width: 768px) and (max-width: 1150px) {
  #navbar {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .landing-nav-links {
    gap: 0.55rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .landing-nav-links > a {
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .landing-nav-links .beta-nav-link {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
}

.beta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.04), transparent 65%);
  pointer-events: none;
}

.beta-panel--ios {
  border-color: rgba(226, 232, 240, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 42%, rgba(129, 140, 248, 0.14)),
    linear-gradient(112deg, rgba(56, 189, 248, 0.12), transparent 40%, rgba(168, 85, 247, 0.16));
  box-shadow: 0 24px 80px rgba(76, 29, 149, 0.24), inset 0 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.beta-panel--ios::before {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.2), transparent 24%, transparent 70%, rgba(255, 255, 255, 0.08));
}

.beta-panel--ios .beta-copy .label { color: #d8b4fe; }
.beta-panel--ios .beta-benefits i { color: #c4b5fd; }
.beta-panel--ios .beta-form { border-color: rgba(196, 181, 253, 0.28); background: rgba(18, 19, 34, 0.48); box-shadow: 0 18px 50px rgba(76, 29, 149, 0.18), inset 0 1px rgba(255, 255, 255, 0.14); }
.beta-panel--ios .beta-field input:focus { border-color: #a78bfa; background: rgba(168, 85, 247, 0.1); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18); }
.beta-panel--ios .beta-consent input { accent-color: #a78bfa; }
.beta-panel--ios .beta-consent a { color: #c4b5fd; }
.beta-panel--ios .beta-submit { background: linear-gradient(135deg, #f8fafc, #c4b5fd 52%, #a78bfa); color: #111827; box-shadow: 0 0 28px rgba(196, 181, 253, 0.3); }

.beta-panel--android {
  border-color: rgba(61, 220, 132, 0.6);
  background:
    linear-gradient(135deg, rgba(20, 34, 27, 0.96), rgba(9, 14, 12, 0.98)),
    repeating-linear-gradient(90deg, transparent 0, transparent 31px, rgba(61, 220, 132, 0.07) 32px),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(61, 220, 132, 0.05) 32px);
  box-shadow: 0 24px 80px rgba(19, 113, 65, 0.2), inset 0 1px rgba(152, 255, 194, 0.2);
}

.beta-panel--android::before {
  background:
    linear-gradient(115deg, rgba(61, 220, 132, 0.11), transparent 32%, transparent 68%, rgba(61, 220, 132, 0.06)),
    repeating-linear-gradient(90deg, transparent 0, transparent 31px, rgba(61, 220, 132, 0.06) 32px),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(61, 220, 132, 0.045) 32px);
}

.beta-panel--android .beta-copy .label { color: #7dffae; }
.beta-panel--android .beta-benefits i { color: #3ddc84; }
.beta-panel--android .beta-form { border-color: rgba(61, 220, 132, 0.3); background: rgba(3, 12, 7, 0.68); box-shadow: 0 18px 50px rgba(19, 113, 65, 0.18), inset 0 1px rgba(152, 255, 194, 0.1); }
.beta-panel--android .beta-field input:focus { border-color: #3ddc84; background: rgba(61, 220, 132, 0.09); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.16); }
.beta-panel--android .beta-consent input { accent-color: #3ddc84; }
.beta-panel--android .beta-consent a { color: #7dffae; }
.beta-panel--android .beta-submit { background: linear-gradient(135deg, #3ddc84, #13a85a); color: #03130a; box-shadow: 0 0 28px rgba(61, 220, 132, 0.25); }

.beta-platform-toggle-wrap {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 0;
}

.beta-platform-toggle-wrap .label { margin-bottom: 0.45rem; }

.beta-platform-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  line-height: 1.4;
}

.beta-platform-logos {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.beta-platform-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.35rem;
  opacity: 0.58;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.beta-platform-logo--ios {
  background: rgba(255, 255, 255, 0.1);
}

.beta-platform-logo--android {
  background: rgba(61, 220, 132, 0.08);
}

.beta-panel--ios .beta-platform-logo--ios {
  border-color: rgba(226, 232, 240, 0.72);
  color: #f8fafc;
  opacity: 1;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.beta-panel--android .beta-platform-logo--android {
  border-color: rgba(61, 220, 132, 0.82);
  color: #3ddc84;
  opacity: 1;
  box-shadow: 0 0 18px rgba(61, 220, 132, 0.22);
  transform: translateY(-2px);
}

.beta-platform-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  overflow: hidden;
  min-height: 3.5rem;
  padding: 0.55rem 0.85rem 0.55rem 0.65rem;
  border: 1px solid rgba(226, 232, 240, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2), inset 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.beta-platform-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 28%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  animation: beta-toggle-shimmer 4.8s ease-in-out infinite;
}

.beta-platform-toggle:hover { transform: translateY(-2px); }
.beta-platform-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.beta-platform-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.15rem;
}

.beta-platform-toggle__label { white-space: nowrap; }
.beta-platform-toggle__state { color: #e9d5ff; white-space: nowrap; }
.beta-platform-toggle__arrow { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; }

.beta-panel--ios .beta-platform-toggle { border-color: rgba(226, 232, 240, 0.7); background: rgba(255, 255, 255, 0.16); }
.beta-panel--ios .beta-platform-toggle__icon { color: #f8fafc; box-shadow: 0 0 16px rgba(255, 255, 255, 0.16); }
.beta-panel--ios .beta-platform-toggle__state { color: #e9d5ff; }
.beta-panel--android .beta-platform-toggle { border-color: rgba(61, 220, 132, 0.8); background: rgba(61, 220, 132, 0.12); box-shadow: 0 0 24px rgba(61, 220, 132, 0.2), inset 0 1px rgba(152, 255, 194, 0.18); }
.beta-panel--android .beta-platform-toggle__icon { color: #3ddc84; background: rgba(61, 220, 132, 0.14); box-shadow: 0 0 16px rgba(61, 220, 132, 0.22); }
.beta-panel--android .beta-platform-toggle__state { color: #7dffae; }

@keyframes beta-toggle-shimmer {
  0%, 46% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  56% { opacity: 1; }
  70%, 100% { transform: translateX(520%) skewX(-18deg); opacity: 0; }
}

.beta-copy,
.beta-form { position: relative; z-index: 1; }
.beta-copy .label { margin-bottom: 0.9rem; color: var(--mb-gold); }

.beta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}

.beta-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beta-benefits i { color: var(--mb-gold); }

.beta-platform-bonus[hidden] { display: none !important; }

.beta-platform-bonus {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 640px;
  margin-top: 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(61, 220, 132, 0.38);
  border-left: 3px solid #3ddc84;
  border-radius: 1rem;
  background: linear-gradient(110deg, rgba(61, 220, 132, 0.14), rgba(61, 220, 132, 0.04));
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.55;
  box-shadow: 0 0 26px rgba(61, 220, 132, 0.12), inset 0 1px rgba(152, 255, 194, 0.12);
}

.beta-platform-bonus strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #7dffae;
  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.beta-platform-bonus__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(61, 220, 132, 0.55);
  border-radius: 0.65rem;
  background: rgba(61, 220, 132, 0.14);
  color: #3ddc84;
  font-size: 0.95rem;
  box-shadow: 0 0 14px rgba(61, 220, 132, 0.2);
}

.beta-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: rgba(5, 5, 7, 0.62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.beta-field { margin-bottom: 1rem; }

.beta-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.beta-field label span { color: var(--text-secondary); font-family: var(--font-sans); font-size: 0.65rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.beta-field label strong { color: var(--mb-gold); }

.beta-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.beta-field input::placeholder { color: rgba(255, 255, 255, 0.34); }
.beta-field input:focus { border-color: var(--mb-blue); background: rgba(33, 150, 243, 0.08); box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.16); }

.beta-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.68rem;
  line-height: 1.5;
}

.beta-consent input { width: 1rem; height: 1rem; flex: 0 0 auto; margin-top: 0.15rem; accent-color: var(--mb-blue); }
.beta-consent a { color: var(--mb-blue); text-decoration: underline; }

.beta-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.25rem;
}

.beta-form-note,
.beta-form-status { margin: 0.85rem 0 0; color: var(--text-secondary); font-size: 0.68rem; line-height: 1.5; }
.beta-form-note i { margin-right: 0.35rem; color: var(--mb-gold); }
.beta-form-status.is-warning { color: var(--mb-gold); }
.beta-form-status.is-success { color: #4ade80; }
.beta-form-status.is-error { color: #fb7185; }
.beta-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 900px) {
  .beta-panel { grid-template-columns: 1fr; gap: 2rem; }
  .beta-platform-toggle-wrap { align-items: flex-start; flex-direction: column; }
  .beta-platform-toggle { width: 100%; justify-content: center; }
  .beta-form { max-width: 620px; width: 100%; box-sizing: border-box; margin: 0 auto; }
}

@media (max-width: 480px) {
  .beta-platform-toggle { gap: 0.45rem; font-size: 0.62rem; }
  .beta-platform-toggle__icon { width: 2rem; height: 2rem; }
  .beta-platform-toggle__arrow { font-size: 0.75rem; }
}

/* --- COMPARTIR Y AUDIO (MUELLE FLOTANTE UNIFICADO) --- */
#right-controls-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column; /* Cambiado a flujo estándar */
  align-items: center;
  gap: 0.75rem;
}

/* Botón principal de compartir */
#share-toggle {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--mb-gold);
  color: var(--mb-gold);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1.3rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

#share-toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.25), inset 0 0 12px rgba(255, 215, 0, 0.15);
}

#share-toggle:active {
  transform: scale(0.95);
}

#share-toggle.active {
  background: var(--mb-gold);
  color: #000;
  transform: rotate(90deg);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

/* Contenedor de opciones */
#share-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s ease;
}

#right-controls-container.open #share-options {
  max-height: 250px;
  opacity: 1;
  visibility: visible;
}

/* Botones individuales de redes */
.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0) translateY(10px);
  opacity: 0;
}

#right-controls-container.open .share-btn {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Estilos específicos y sombras Neon de cada red */
.btn-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-instagram:hover {
  box-shadow: 0 0 25px rgba(214, 36, 159, 0.7), inset 0 0 10px rgba(255, 255, 255, 0.3);
  transform: scale(1.1) translateY(-3px);
}

.btn-tiktok {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), -1.5px -1.5px 0px rgba(0, 242, 234, 0.5), 1.5px 1.5px 0px rgba(254, 44, 85, 0.5);
}
.btn-tiktok:hover {
  box-shadow: 0 0 25px rgba(254, 44, 85, 0.6), -2.5px -2.5px 0px rgba(0, 242, 234, 0.8), 2.5px 2.5px 0px rgba(254, 44, 85, 0.8);
  transform: scale(1.1) translateY(-3px);
}

.btn-youtube {
  background: #ff0000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-youtube:hover {
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.7), inset 0 0 10px rgba(255, 255, 255, 0.3);
  transform: scale(1.1) translateY(-3px);
}

.btn-x {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-x .x-logo {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
}
.btn-x:hover {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.15);
  transform: scale(1.1) translateY(-3px);
}

/* Delays escalonados para apertura (de abajo a arriba: Instagram primero, X al final) */
#right-controls-container.open .share-btn:nth-child(4) { transition-delay: 0.05s; }
#right-controls-container.open .share-btn:nth-child(3) { transition-delay: 0.12s; }
#right-controls-container.open .share-btn:nth-child(2) { transition-delay: 0.19s; }
#right-controls-container.open .share-btn:nth-child(1) { transition-delay: 0.26s; }

/* Delays escalonados para cierre (inverso: X se oculta primero, Instagram al final) */
#right-controls-container:not(.open) .share-btn:nth-child(1) { transition-delay: 0.05s; }
#right-controls-container:not(.open) .share-btn:nth-child(2) { transition-delay: 0.12s; }
#right-controls-container:not(.open) .share-btn:nth-child(3) { transition-delay: 0.19s; }
#right-controls-container:not(.open) .share-btn:nth-child(4) { transition-delay: 0.26s; }

/* --- CARTEL PROXIMAMENTE PARA CTAS --- */
.cta-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 1.6rem; /* Margen superior de seguridad para evitar que se recorte el badge */
}

/* Para centrar cuando es un flex de descarga de badges */
.cta-wrapper.flex,
.cta-wrapper .flex {
  width: 100%;
}

.cta-badge {
  position: absolute;
  top: -1.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 85, 0, 0.15) 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--mb-gold);
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
  z-index: 20;
  pointer-events: none;
  animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.35);
  }
  50% {
    transform: translateX(-50%) scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.7);
  }
}

/* --- CONTACTO WHATSAPP --- */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(37, 211, 102, 0.24);
  background:
    radial-gradient(circle at 85% 50%, rgba(37, 211, 102, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.contact-panel .label { margin-bottom: 0.75rem; }

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 1.25rem;
  row-gap: 0.75rem;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  min-width: 270px;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 260px;
  padding: 1rem 1.25rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(37, 211, 102, 0.55);
  border-radius: 1rem;
  background: linear-gradient(135deg, #16a34a, #25d366);
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.whatsapp-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.36);
}

.email-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 260px;
  padding: 1rem 1.25rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(168, 85, 247, 0.55);
  border-radius: 1rem;
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.email-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 12px 34px rgba(168, 85, 247, 0.34);
}

.email-cta:focus-visible { outline: 3px solid var(--mb-gold); outline-offset: 4px; }

.email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1.25rem;
}

.email-cta strong,
.email-cta small { display: block; }

.email-cta strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.email-cta small { margin-top: 0.2rem; font-size: 0.65rem; opacity: 0.85; }
.email-cta > i { margin-left: auto; font-size: 0.8rem; opacity: 0.85; }

.whatsapp-cta:focus-visible { outline: 3px solid var(--mb-gold); outline-offset: 4px; }

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1.5rem;
}

.whatsapp-cta strong,
.whatsapp-cta small { display: block; }

.whatsapp-cta strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.whatsapp-cta small { margin-top: 0.2rem; font-size: 0.65rem; opacity: 0.85; }
.whatsapp-cta > i { margin-left: auto; font-size: 0.8rem; opacity: 0.85; }

@media (max-width: 768px) {
  .contact-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .contact-actions { width: 100%; min-width: 0; }
  .whatsapp-cta,
  .email-cta { width: 100%; min-width: 0; }
  .footer-links { justify-content: center; }
}
