/* ===== OPTIMIZACIÓN DE RENDIMIENTO ===== */
/* Habilitar aceleración GPU para animaciones */
@media (prefers-reduced-motion: no-preference) {
  :root {
    --enable-animations: 1;
  }
}

/* Reducir animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Variables ===== */
:root {
  --bg-dark: #0b0f14;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-primary: #e8edf4;
  --text-secondary: #9ca3af;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #d22623;

  /* Alias para compatibilidad con código legacy */
  --primary-cyan: var(--accent-cyan);
  --background-dark: var(--bg-dark);
  --text-light: var(--text-primary);
  --secondary-magenta: #9b59b6;

  --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  --gradient-accent-animated: linear-gradient(
    120deg,
    var(--accent-cyan),
    var(--accent-red),
    var(--accent-cyan)
  );
  --blur: blur(12px);
  --radius: 12px; /* Mobile-first: bordes más suaves */
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 300ms ease;
  --motion-duration: 600ms;
  --motion-duration-fast: 240ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-distance: 18px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;

  /* Mobile-first spacing system */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */

  /* Tipografía fluida (móvil → 1440+) */
  --font-size-xs: clamp(0.72rem, 0.64rem + 0.2vw, 0.8rem);
  --font-size-sm: clamp(0.84rem, 0.72rem + 0.35vw, 0.95rem);
  --font-size-base: clamp(1rem, 0.94rem + 0.4vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  --font-size-xl: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  --font-size-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --font-size-3xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --font-size-4xl: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);

  /* Touch target minimum (Apple HIG / Material Design) */
  --touch-target-min: 44px;

  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  /* Safe-area para dispositivos con notch (iOS/Android modernos) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  /* Peek mínimo del header cuando auto-oculto */
  --peek-height: 10px;
}

/* Dimensiones base y anclaje de scroll para compensar header sticky */
html,
body {
  height: 100%;
}
html {
  scroll-padding-top: calc(var(--header-h, 72px) + var(--safe-top, 0px));
}

/* Defer de pintura para elementos animados fuera de pantalla */
[data-animate] {
  content-visibility: auto;
  contain-intrinsic-size: 300px 400px;
}

/* Degradar efectos en dispositivos limitados */
.device-low .nav-aguila,
.device-low .nav-nopal {
  display: none !important;
}
.device-low .nav-particles .particle:nth-child(n + 3) {
  display: none;
}
.device-low .scan-lines {
  opacity: 0.25;
}
.device-low .nav-border {
  opacity: 0.15;
  animation-duration: 8s;
}

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

body {
  font-family: var(--font-stack);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0; /* El hero debe ser lo primero visible; el cintillo es overlay */
  /* Respetar zonas seguras en dispositivos con notch */
  padding-bottom: var(--safe-bottom);
  padding-left: max(0px, var(--safe-left));
  padding-right: max(0px, var(--safe-right));

  /* Mobile-first optimizations */
  font-size: var(--font-size-base);
  -webkit-tap-highlight-color: rgba(6, 182, 212, 0.2);
  touch-action: manipulation; /* Mejora respuesta táctil */

  /* Performance: renderizado optimizado */
  text-rendering: optimizeSpeed;
  font-display: swap; /* Evitar FOIT */
}

/* Mobile: Prevenir scroll cuando el menú está abierto */
body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

@media (min-width: 768px) {
  body.nav-open {
    overflow: auto;
    position: relative;
  }
}

/* ===== Banner de Construcción (Sticky) ===== */
/* ===== Cintillo Cyberpunk (Esquina Superior Derecha) ===== */
.cintillo-cyberpunk {
  position: fixed;
  top: 15px;
  right: -40px;
  width: 280px;
  height: 36px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.95) 0%,
    rgba(59, 130, 246, 0.95) 50%,
    rgba(139, 92, 246, 0.95) 100%
  );
  transform: rotate(45deg);
  z-index: 9999;
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(6, 182, 212, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  animation: brilloCintillo 2s ease-in-out infinite alternate;
}

.cintillo-cyberpunk::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: destinoCintillo 3s linear infinite;
}

.cintillo-contenido {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cintillo-texto {
  display: inline-block;
  white-space: nowrap;
  font-family: "Courier New", "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(6, 182, 212, 0.8),
    0 0 20px rgba(6, 182, 212, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.5);
  animation: desplazarTexto 15s linear infinite;
  padding-right: 100%;
  will-change: transform;
}

@keyframes brilloCintillo {
  0% {
    box-shadow:
      0 0 20px rgba(6, 182, 212, 0.6),
      0 4px 12px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow:
      0 0 30px rgba(139, 92, 246, 0.8),
      0 0 40px rgba(59, 130, 246, 0.4),
      0 4px 12px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  }
}

@keyframes destinoCintillo {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@keyframes desplazarTexto {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ajustes responsivos */
@media (max-width: 640px) {
  .cintillo-cyberpunk {
    top: 10px;
    right: -50px;
    width: 220px;
    height: 30px;
  }

  .cintillo-texto {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
}

/* Microajustes para móviles muy pequeños */
@media (max-width: 400px) {
  .hero {
    padding: 4rem 0 2.5rem;
  }
  .hero-title {
    gap: 0.25rem;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 400px) {
  .cintillo-cyberpunk {
    top: 8px;
    right: -55px;
    width: 200px;
    height: 28px;
  }

  .cintillo-texto {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cintillo-cyberpunk {
    animation: none;
  }

  .cintillo-cyberpunk::before {
    animation: none;
    display: none;
  }

  .cintillo-texto {
    animation: desplazarTextoLento 25s linear infinite;
  }

  @keyframes desplazarTextoLento {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

/* Legacy banner styles (deprecated - can be removed) */
.construction-banner {
  display: none;
}

.construction-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.construction-icon {
  font-size: 1.25rem;
  animation: iconBounce 2s ease-in-out infinite;
  display: inline-block;
}

.construction-icon--end {
  animation: iconRotate 3s linear infinite;
}
/* Footer Newsletter - Destacada */
.footer-newsletter {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 2rem;
}

.newsletter-header {
  margin-bottom: 1.5rem;
}

.newsletter-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.newsletter-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.newsletter-frequency {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.newsletter-row input[type="email"] {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-row input[type="email"]:focus {
  border-color: var(--accent-cyan);
  outline: none;
}

.newsletter-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .newsletter-title {
    font-size: 2rem;
  }
}

/* Footer Brand Description */
.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer Trust Section */
.footer-trust-section {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
  .footer-trust-section {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

/* Footer Copy/Tagline */
.footer-copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-copy p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-tagline {
  font-style: italic;
  color: var(--accent-cyan);
  font-weight: 600;
}

a:hover {
  color: var(--accent-cyan);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Accent Helpers ===== */
.accent-text {
  color: var(--accent-cyan);
  font-weight: 600;
}

.accent-text--green {
  color: var(--accent-green);
  font-weight: 600;
}

.accent-text--gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Animated accents (opt-in via .theme-animated) */
@keyframes accentFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.theme-animated .accent-text,
.theme-animated .accent-text--gradient {
  background: var(--gradient-accent-animated);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentFlow 8s ease-in-out infinite;
}

.theme-animated .btn-primary {
  background: var(--gradient-accent-animated);
  background-size: 200% 200%;
  animation:
    accentFlow 8s ease-in-out infinite,
    btnPulseGlow 3s ease-in-out infinite;
}

.theme-animated .accent-chip::before {
  background: linear-gradient(90deg, transparent, rgba(210, 38, 35, 0.25), transparent);
  animation: chipShine 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .theme-animated .accent-text,
  .theme-animated .accent-text--gradient,
  .theme-animated .btn-primary {
    animation: none;
    background-size: initial;
  }
}

/* ===== Acentos temáticos por sección (opt-in por clases) ===== */
/* Sección cyan (por defecto/hero) */
.section-accent--cyan .accent-text,
.section-accent--cyan .accent-chip,
.section-accent--cyan .btn-primary {
  --section-accent: var(--accent-cyan);
  --section-accent-rgb: 6, 182, 212;
}

/* Sección teal (servicios/proceso) */
.section-accent--teal {
  --section-accent: #14b8a6;
  --section-accent-rgb: 20, 184, 166;
}

.section-accent--teal .accent-text {
  color: var(--section-accent);
  background: linear-gradient(
    120deg,
    var(--section-accent),
    var(--accent-cyan),
    var(--section-accent)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentFlow 8s ease-in-out infinite;
}

.section-accent--teal .accent-chip {
  background: rgba(var(--section-accent-rgb), 0.12);
  border-color: rgba(var(--section-accent-rgb), 0.32);
}

.section-accent--teal .accent-chip::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--section-accent-rgb), 0.3),
    transparent
  );
}

.section-accent--teal .btn-primary {
  background: linear-gradient(135deg, var(--section-accent), var(--accent-cyan));
  background-size: 200% 200%;
  animation:
    accentFlow 8s ease-in-out infinite,
    btnPulseGlow 3s ease-in-out infinite;
}

/* Sección red (aplicaciones/sectores) */
.section-accent--red {
  --section-accent: var(--accent-red);
  --section-accent-rgb: 210, 38, 35;
}

.section-accent--red .accent-text,
.section-accent--red .accent-text--green {
  color: #f59e0b;
  background: linear-gradient(120deg, #f59e0b, var(--accent-red), #f59e0b);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentFlow 8s ease-in-out infinite;
}

.section-accent--red .accent-chip {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
}

.section-accent--red .accent-chip::before {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
}

/* Sección purple (catálogo) */
.section-accent--purple {
  --section-accent: #a855f7;
  --section-accent-rgb: 168, 85, 247;
}

.section-accent--purple .accent-text {
  color: var(--section-accent);
  background: linear-gradient(120deg, var(--section-accent), #ec4899, var(--section-accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentFlow 8s ease-in-out infinite;
}

.section-accent--purple .accent-chip {
  background: rgba(var(--section-accent-rgb), 0.12);
  border-color: rgba(var(--section-accent-rgb), 0.32);
}

.section-accent--purple .btn-primary {
  background: linear-gradient(135deg, var(--section-accent), #ec4899);
  background-size: 200% 200%;
  animation:
    accentFlow 8s ease-in-out infinite,
    btnPulseGlow 3s ease-in-out infinite;
}

/* Sección green (promociones/FAQ) */
.section-accent--green {
  --section-accent: var(--accent-green);
  --section-accent-rgb: 16, 185, 129;
}

.section-accent--green .accent-text {
  color: var(--section-accent);
  background: linear-gradient(120deg, var(--section-accent), #14b8a6, var(--section-accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentFlow 8s ease-in-out infinite;
}

.section-accent--green .accent-chip {
  background: rgba(var(--section-accent-rgb), 0.12);
  border-color: rgba(var(--section-accent-rgb), 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .section-accent--teal .accent-text,
  .section-accent--red .accent-text,
  .section-accent--purple .accent-text,
  .section-accent--green .accent-text,
  .section-accent--teal .btn-primary,
  .section-accent--purple .btn-primary {
    animation: none;
    background-size: initial;
  }
}

.accent-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.32);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: chipFadeIn 0.8s ease-out backwards;
}

.accent-chip::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
  animation: chipShine 3s ease-in-out infinite;
}

.accent-chip:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.accent-chip--green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.32);
  animation-delay: 0.2s;
}

.accent-chip--green::before {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.accent-chip--green:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

@keyframes chipFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chipShine {
  0%,
  100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

.hero-title-emoji {
  display: inline-block;
  margin-left: 0.35rem;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
  animation:
    emojiFloat 3s ease-in-out infinite,
    emojiRotate 6s ease-in-out infinite;
  font-size: 1.2em;
}

@keyframes emojiFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.1);
  }
}

@keyframes emojiRotate {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  z-index: 9999;
}

.skip-link:focus {
  left: 8px;
}

/* ===== Container Mejorado ===== */
.container {
  max-width: var(--container-xl);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md); /* Mobile-first: 16px lateral */
  box-sizing: border-box;
  position: relative;
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-lg); /* 24px en tablets pequeñas */
    max-width: var(--container-md);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl); /* 32px en tablets */
    max-width: var(--container-lg);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-2xl); /* 48px en desktop */
    max-width: var(--container-xl);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 4rem; /* 64px en pantallas grandes */
  }
}

/* 2XL: pantallas muy grandes (1536+) */
@media (min-width: 1536px) {
  .container {
    max-width: var(--container-2xl);
    padding: 0 5rem; /* más aire lateral */
  }
}

/* ===== Header ===== */
/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: radial-gradient(
    120% 120% at 50% -10%,
    rgba(0, 217, 255, 0.12),
    rgba(11, 15, 20, 0.92)
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.25);
  border-top: 1px solid rgba(6, 182, 212, 0.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    background-color var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease);
  will-change: transform, background-color, box-shadow;
  transform: translateY(0);
  overflow: visible;
  padding-top: var(--safe-top);
  padding-left: max(0px, var(--safe-left));
  padding-right: max(0px, var(--safe-right));
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header {
    background: rgba(11, 15, 20, 0.94);
  }
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(var(--tone-hue) 85% 60%) 20%,
    hsl(calc(var(--tone-hue) - 25) 85% 55%) 50%,
    hsl(var(--tone-hue) 85% 60%) 80%,
    transparent 100%
  );
  opacity: 0.3;
  animation:
    scan-line 4s linear infinite,
    tone-cycle 12s linear infinite;
}

@keyframes scan-line {
  0%,
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
}

/* Register custom property for smooth hue animation (fallback-safe) */
@property --tone-hue {
  syntax: "<number>";
  initial-value: 185;
  inherits: false;
}

@keyframes tone-cycle {
  0% {
    --tone-hue: 185;
  } /* cyan */
  33% {
    --tone-hue: 150;
  } /* green-cyan (mecha) */
  66% {
    --tone-hue: 45;
  } /* amber */
  100% {
    --tone-hue: 185;
  }
}

.header.is-scrolled {
  background: linear-gradient(
    135deg,
    rgba(11, 15, 20, 0.98) 0%,
    rgba(15, 20, 28, 0.99) 50%,
    rgba(11, 15, 20, 0.98) 100%
  );
  border-bottom-color: rgba(6, 182, 212, 0.3);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(6, 182, 212, 0.2),
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
    0 8px 32px rgba(6, 182, 212, 0.1);
}

/* Navbar oculto al hacer scroll hacia abajo */
.header.is-hidden {
  /* Mantener visible una franja superior (peek) para indicar presencia */
  transform: translateY(calc(-100% + var(--peek-height)));
  box-shadow: none;
}

/* Navbar compacto - solo logo y menú visible */
.header.is-compact .nav-brand-info {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity var(--motion-duration-fast) var(--motion-ease),
    max-height var(--motion-duration-fast) var(--motion-ease);
}

.header.is-compact .logo-img {
  height: 36px !important; /* Modo ultra-compacto */
}

/* Estados combinados para máxima optimización */
.header.is-scrolled.is-compact {
  padding: 0;
}

.header.is-scrolled.is-compact .nav {
  padding: var(--space-xs) 0;
}

/* ===== Decoraciones Cyberpunk Mexicanas ===== */

.nav-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Nopales animados */
.nav-nopal {
  position: absolute;
  width: 40px;
  height: 60px;
  opacity: 0.4;
  filter: drop-shadow(0 0 8px var(--accent-green));
  animation: float-nopal 6s ease-in-out infinite;
}

.nav-nopal-left {
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  animation-delay: 0s;
}

.nav-nopal-right {
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(5deg);
  animation-delay: 3s;
}

@keyframes float-nopal {
  0%,
  100% {
    transform: translateY(-50%) rotate(-5deg) translateX(0);
  }
  50% {
    transform: translateY(-55%) rotate(-3deg) translateX(3px);
  }
}

/* Águila mexicana estilizada */
.nav-aguila {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  opacity: 0.2;
  filter: drop-shadow(0 0 12px var(--accent-cyan));
  animation: aguila-pulse 4s ease-in-out infinite;
}

@keyframes aguila-pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.4;
    transform: translateX(-50%) scale(1.05);
  }
}

.aguila-wing-left,
.aguila-wing-right {
  animation: wing-flap 2s ease-in-out infinite;
  transform-origin: center;
}

.aguila-wing-left {
  animation-delay: 0s;
}

.aguila-wing-right {
  animation-delay: 0.1s;
}

@keyframes wing-flap {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.9);
  }
}

/* Líneas de escaneo */
.scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    hsla(var(--tone-hue), 85%, 60%, 0.06) 0px,
    hsla(var(--tone-hue), 85%, 60%, 0.06) 1px,
    transparent 1px,
    transparent 4px
  );
  animation:
    scan-move 8s linear infinite,
    tone-cycle 12s linear infinite;
  opacity: 0.5;
}

@keyframes scan-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(4px);
  }
}

/* Partículas flotantes */
.nav-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.particle:nth-child(1) {
  left: 15%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 35%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}

.particle:nth-child(3) {
  left: 55%;
  animation-delay: 3s;
  animation-duration: 6s;
}

.particle:nth-child(4) {
  left: 75%;
  animation-delay: 4.5s;
  animation-duration: 8s;
}

.particle:nth-child(5) {
  left: 90%;
  animation-delay: 6s;
  animation-duration: 7.5s;
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-80px) scale(1);
  }
}

/* Bordes glitch */
.nav-border {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(var(--tone-hue) 85% 60%) 50%,
    transparent 100%
  );
  opacity: 0;
  animation:
    border-glitch 5s ease-in-out infinite,
    tone-cycle 12s linear infinite;
}

.nav-border-top {
  top: 0;
  animation-delay: 0s;
}

.nav-border-bottom {
  bottom: 0;
  animation-delay: 2.5s;
}

@keyframes border-glitch {
  0%,
  90%,
  100% {
    opacity: 0;
  }
  92%,
  94%,
  96%,
  98% {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-decorations,
  .nav-nopal,
  .nav-aguila,
  .nav-particles,
  .scan-lines,
  .nav-border,
  .hex-pulse,
  .aguila-wing-left,
  .aguila-wing-right {
    animation: none !important;
  }
  .nav-decorations {
    opacity: 0.35;
  }
}

/* Reducir opacidad y escala en mobile compacto pero mantenerlos visibles */
@media (max-width: 768px) {
  .header.is-compact .nav-decorations {
    opacity: 0.3;
  }

  .nav-nopal,
  .nav-aguila {
    opacity: 0.2;
    transform: scale(0.8);
  }

  .nav-nopal {
    width: 30px;
    height: 45px;
  }

  .nav-aguila {
    width: 60px;
    height: 60px;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0; /* Mobile: Padding reducido */
  position: relative;
  gap: var(--space-md);
  transition: padding var(--motion-duration-fast) var(--motion-ease);
}

.header.is-scrolled .nav {
  padding: var(--space-sm) 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 9999; /* Sobre el menú mobile */
  position: relative;
}

@media (min-width: 768px) {
  .nav {
    padding: 1.25rem 0;
  }

  .header.is-scrolled .nav {
    padding: 0.875rem 0;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: transform var(--motion-duration-fast) var(--motion-ease);
}

.brand-logo:hover {
  transform: scale(1.02) translateY(-2px);
}

.brand-logo:active {
  transform: scale(0.98);
}

/* Logo Hexagon Cyberpunk */
.logo-hexagon {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.hex-pulse {
  animation: hex-pulse-anim 3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes hex-pulse-anim {
  0%,
  100% {
    opacity: 0;
    stroke-width: 2;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.6;
    stroke-width: 3;
    transform: scale(1.1);
  }
}

.brand-logo:hover .hex-pulse {
  animation-duration: 1.5s;
}

.logo-img {
  height: 48px; /* Mobile: Logo más pequeño */
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.25));
  transition:
    height var(--motion-duration-fast) var(--motion-ease),
    filter var(--motion-duration-fast) var(--motion-ease);
}

.header.is-scrolled .logo-img {
  height: 44px; /* Mobile scrolled: Logo aún más pequeño */
}

/* Modo compacto: logo ultra-pequeño */
.header.is-compact .logo-img {
  height: 36px !important;
}

@media (min-width: 768px) {
  .logo-img {
    height: 64px; /* Tablets+: Logo grande */
  }

  .header.is-scrolled .logo-img {
    height: 56px;
  }

  .header.is-compact .logo-img {
    height: 48px !important;
  }
}

@media (min-width: 1024px) {
  .logo-img {
    height: 68px; /* Desktop: Logo más grande */
  }

  .header.is-scrolled .logo-img {
    height: 60px;
  }

  /* En desktop no aplicar compact, siempre visible */
  .header.is-compact .logo-img {
    height: 60px !important;
  }
}

.brand-logo:hover .logo-img {
  filter: drop-shadow(0 6px 20px rgba(6, 182, 212, 0.4));
}

.nav-brand-info {
  display: none;
  transition:
    opacity var(--motion-duration-fast) var(--motion-ease),
    max-height var(--motion-duration-fast) var(--motion-ease),
    transform var(--motion-duration-fast) var(--motion-ease);
  opacity: 1;
  max-height: 100px;
  overflow: hidden;
}

/* Ocultar brand-info en modo compacto */
.header.is-compact .nav-brand-info {
  opacity: 0;
  max-height: 0;
  transform: translateY(-8px);
}

@media (min-width: 1024px) {
  .nav-brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  /* En desktop, no ocultar brand-info en modo compacto */
  .header.is-compact .nav-brand-info {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
  }
}

.nav-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  position: relative;
}

/* Tagline Glitch Effect */
.tagline-glitch {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: glitch-text 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glitch-text {
  0%,
  90%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
  92% {
    opacity: 0.7;
    transform: translate(-2px, -1px);
    color: var(--accent-primary);
  }
  94% {
    opacity: 0.7;
    transform: translate(2px, 1px);
    color: var(--accent-cyan);
  }
  96% {
    opacity: 0.7;
    transform: translate(-1px, 2px);
    color: var(--accent-primary);
  }
}

/* Mexican Flag Wave */
.location-flag {
  margin-left: 8px;
  width: 30px;
  height: 20px;
  animation: flag-wave 3s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.4));
}

@keyframes flag-wave {
  0%,
  100% {
    transform: skewX(0deg);
  }
  25% {
    transform: skewX(2deg);
  }
  50% {
    transform: skewX(0deg);
  }
  75% {
    transform: skewX(-2deg);
  }
}

/* Badge Hecho en México */
.badge-made-mx {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 0.625rem;
  padding: 0.125rem 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 12px rgba(6, 182, 212, 0.16));
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    filter var(--motion-duration-fast) var(--motion-ease);
  will-change: transform, filter;
}

.badge-made-mx:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 14px rgba(6, 182, 212, 0.22));
}

.badge-made-mx-svg {
  display: block;
  height: clamp(26px, 3.2vw, 34px);
  width: auto;
  shape-rendering: geometricPrecision;
}

/* Mostrar contenido condicional solo en es-MX */
.show-when-mx {
  display: none !important;
}
html[lang="es-MX"] .show-when-mx {
  display: inline-flex !important;
}

.nav-tagline span:first-child {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.nav-tagline-icon {
  font-size: 1rem;
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(5deg);
  }
}

.nav-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.nav-location-icon {
  font-size: 0.875rem;
  color: var(--accent-green);
}

/* Hamburger Menu */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999; /* Mobile: Sobre el menú y el contenido */
  position: relative;

  /* Mobile-first: Touch optimizado */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);

  /* Visual feedback mejorado */
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2);

  /* Prevenir selección de texto */
  -webkit-user-select: none;
  user-select: none;
}

.nav-toggle:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.nav-toggle:active {
  transform: scale(0.95); /* Feedback táctil más evidente */
  box-shadow: 0 2px 6px rgba(6, 182, 212, 0.15);
}

/* Estado activo (menú abierto) */
.nav-toggle.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.5);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 18px;
  position: relative;
  pointer-events: none; /* Evitar interferencia con clicks */
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transform-origin: center;
}

/* Animación mejorada para el estado activo */
.nav-toggle.active .nav-toggle-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent-cyan);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px) scaleX(0);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent-cyan);
}

/* Toggle Circuit Animation */
.toggle-circuit {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: circuit-rotate 20s linear infinite;
  opacity: 0.3;
}

@keyframes circuit-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.nav-toggle:hover .toggle-circuit {
  animation-duration: 5s;
  opacity: 0.6;
}

/* Fallback: mantener compatibilidad con selector antiguo */
.nav-menu.active ~ .nav-toggle .nav-toggle-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent-cyan);
}

.nav-menu.active ~ .nav-toggle .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px) scaleX(0);
}

.nav-menu.active ~ .nav-toggle .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent-cyan);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* Navigation Menu */
.nav-menu {
  display: none;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--motion-duration-fast) var(--motion-ease);
  overflow: hidden;
  min-height: 44px;
  min-width: 44px;
}

/* Nav-Link Cyberpunk Background Sweep */
.nav-link-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.15), transparent);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  pointer-events: none;
}

.nav-link:hover .nav-link-bg {
  left: 100%;
}

.nav-link:hover {
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
  transform: translateY(-1px);
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--motion-duration-fast) var(--motion-ease);
  z-index: -1;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  opacity: 0.12;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.nav-link:active {
  transform: translateY(0);
}

.nav-emoji {
  font-size: 1.125rem;
  display: inline-block;
  transition: transform var(--motion-duration-fast) var(--motion-ease);
}

.nav-link:hover .nav-emoji {
  transform: scale(1.2) rotate(10deg);
}

/* CTA Button */
.nav-item-cta {
  margin-top: 1rem;
}

.btn-messenger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-accent);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
  transition: all var(--motion-duration-fast) var(--motion-ease);
  position: relative;
  overflow: hidden;
}

/* Button Pulse Cyberpunk Effect */
.btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.5), transparent 70%);
  opacity: 0;
  pointer-events: none;
  border-radius: 12px;
}

.btn-messenger:hover .btn-pulse {
  animation: btn-pulse-anim 1.5s ease-out infinite;
}

@keyframes btn-pulse-anim {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}

.btn-messenger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--motion-duration-fast) var(--motion-ease);
}

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

.btn-messenger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(6, 182, 212, 0.45),
    0 0 0 2px rgba(6, 182, 212, 0.2);
}

.btn-messenger:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-messenger-icon {
  font-size: 1.25rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.btn-messenger:hover .btn-messenger-icon {
  animation: bounce-icon 0.6s ease;
}

@keyframes bounce-icon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Mobile Menu Overlay */
.nav-menu.active::before {
  content: "";
  position: fixed;
  top: calc(40px + var(--safe-top)); /* Debajo del banner + notch */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
  animation: fadeIn 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

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

/* Mobile Menu */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: calc(40px + var(--safe-top)); /* Debajo del banner + notch */
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.98) 0%, rgba(11, 15, 20, 0.96) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: calc(6rem + var(--safe-top)) var(--space-lg) calc(var(--space-xl) + var(--safe-bottom));
  gap: var(--space-sm);
  z-index: 9998; /* Debajo del banner (9999) pero sobre el contenido */
  animation: slideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

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

.nav-menu.active .nav-link {
  width: 100%;
  justify-content: center;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-size-lg);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--text-primary);
  border-radius: var(--radius);

  /* Mobile: Touch feedback mejorado */
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: rgba(6, 182, 212, 0.2);
  touch-action: manipulation;
}

.nav-menu.active .nav-link:active {
  background: rgba(6, 182, 212, 0.2);
  transform: scale(0.98);
}

.nav-menu.active .nav-item-cta {
  margin-top: var(--space-xl);
  width: 100%;
}

.nav-menu.active .btn-messenger {
  width: 100%;
  justify-content: center;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-size-lg);
  min-height: var(--touch-target-min);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 0.5rem;
  }

  .nav-menu.active {
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    border: none;
    animation: none;
  }

  .nav-item-cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }

  .nav-menu.active .nav-link {
    width: auto;
    justify-content: flex-start;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    background: none;
    border: none;
  }

  .nav-menu.active .nav-item-cta {
    margin-top: 0;
    width: auto;
  }

  .nav-menu.active .btn-messenger {
    width: auto;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero Section Mejorado con Animaciones Fluidas */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  /* Full viewport visible (excluye header y zona segura superior) */
  min-height: calc(100svh - var(--header-h, 72px) - var(--safe-top, 0px));
  min-height: calc(100dvh - var(--header-h, 72px) - var(--safe-top, 0px));
  min-height: calc((var(--vh, 1vh) * 100) - var(--header-h, 72px) - var(--safe-top, 0px));
  display: flex;
  align-items: center;

  /* Performance: Crear stacking context independiente */
  contain: layout style paint;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0 5rem;
  }
}

/* Glow effect mejorado con animación más suave */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.2) 0%,
    rgba(16, 185, 129, 0.1) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: heroGlow 10s ease-in-out infinite alternate;
  filter: blur(60px);

  /* Performance: GPU layer */
  will-change: opacity, transform;
}

/* Animación de glow más sutil y elegante */
@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.1) rotate(5deg);
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-areas:
    "visual"
    "content";
  width: 100%;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "content visual";
    gap: 4rem;
    align-items: center;
  }
}

.hero-visual {
  grid-area: visual;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  gap: 1.5rem;
  animation: heroVisualSlide 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroVisualSlide {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-illustration-main {
  position: relative;
  display: inline-block;
  /* Simplificado: solo float, sin tilt 3D pesado */
  animation: heroMainFloat 6s ease-in-out infinite;

  /* Performance: preparar GPU para animación */
  will-change: transform;
}

/* Animación simplificada - solo translateY y rotateZ ligero */
@keyframes heroMainFloat {
  0%,
  100% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(-20px) rotateZ(-1deg);
  }
}

/* Eliminada animación heroTilt - causaba reflow pesado */

.hero-illustration-main::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: conic-gradient(
    from 0deg,
    rgba(6, 182, 212, 0.7) 0%,
    rgba(16, 185, 129, 0.6) 25%,
    rgba(6, 182, 212, 0.7) 50%,
    rgba(16, 185, 129, 0.6) 75%,
    rgba(6, 182, 212, 0.7) 100%
  );
  border-radius: 50%;
  /* Simplificado: solo spin, sin pulse */
  animation: heroSpin 12s linear infinite; /* Más lento: 8s → 12s */
  filter: blur(50px);
  opacity: 0.8;
  z-index: -1;

  /* Performance: GPU layer para blur y rotate */
  will-change: transform;
}

/* Animación heroPulseBg eliminada - no se usa más */

/* Sombra proyectada optimizada */
.hero-illustration-main::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -2;
  animation: shadowPulse 5s ease-in-out infinite; /* Más lento: 4s → 5s */

  /* Performance: GPU layer para transform */
  will-change: transform, opacity;
}

/* Animación simplificada - menos cambios */
@keyframes shadowPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.6; /* Reducido de 0.7 */
    transform: translateX(-50%) scaleX(1.15); /* Reducido de 1.2 */
  }
}

@keyframes heroSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes svgFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-illustration-img-main {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  /* Sin fondo cuadrado - se integra con el fondo de la página */
  filter: drop-shadow(0 35px 80px rgba(6, 182, 212, 0.6))
    drop-shadow(0 25px 50px rgba(139, 92, 246, 0.5))
    drop-shadow(0 15px 35px rgba(16, 185, 129, 0.4)) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7));
  animation:
    heroPulse 3s ease-in-out infinite,
    heroBreath 6s ease-in-out infinite,
    heroFloat 8s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transform-origin: center;
  /* Mezcla natural con el fondo */
  mix-blend-mode: screen;
  opacity: 0.95;
  /* Optimización de rendimiento */
  will-change: transform, filter;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-8px) translateX(4px);
  }
  50% {
    transform: translateY(-4px) translateX(-4px);
  }
  75% {
    transform: translateY(-10px) translateX(2px);
  }
}

@keyframes heroPulse {
  0%,
  100% {
    filter: drop-shadow(0 35px 80px rgba(6, 182, 212, 0.6))
      drop-shadow(0 25px 50px rgba(139, 92, 246, 0.5))
      drop-shadow(0 15px 35px rgba(16, 185, 129, 0.4)) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7));
  }
  50% {
    filter: drop-shadow(0 45px 100px rgba(6, 182, 212, 0.9))
      drop-shadow(0 35px 70px rgba(139, 92, 246, 0.8))
      drop-shadow(0 25px 55px rgba(16, 185, 129, 0.6)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  }
}

@keyframes heroBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Hero Content con animación de entrada */
.hero-content {
  animation: heroContentSlide 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes heroContentSlide {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

/* Hero Brand Name */
.hero-brand-name {
  text-align: center;
  animation: brandFadeIn 1s ease-out 0.5s backwards;
}

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

.hero-brand-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  line-height: 1;
}

.hero-brand-word {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  animation: wordGlow 4s ease-in-out infinite;
}

.hero-brand-word--1 {
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-green) 50%,
    var(--accent-cyan) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    wordGlow 4s ease-in-out infinite,
    wordSlide 8s ease-in-out infinite;
}

.hero-brand-word--2 {
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--accent-cyan) 50%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    wordGlow 4s ease-in-out infinite 0.2s,
    wordSlide 8s ease-in-out infinite 0.2s;
}

@keyframes wordGlow {
  0%,
  100% {
    text-shadow:
      0 0 20px rgba(6, 182, 212, 0.3),
      0 0 40px rgba(6, 182, 212, 0.2);
  }
  50% {
    text-shadow:
      0 0 30px rgba(6, 182, 212, 0.6),
      0 0 60px rgba(6, 182, 212, 0.4),
      0 0 80px rgba(16, 185, 129, 0.3);
  }
}

@keyframes wordSlide {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-brand-tagline {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0;
  animation: taglineFade 1s ease-out 0.8s forwards;
  letter-spacing: 0.02em;
}

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

.hero-content {
  grid-area: content;
}

.hero-aside {
  grid-area: aside;
}

.hero-content {
  text-align: left;
}

.hero-highlights {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  color: var(--text-secondary);
}

.hero-highlights li {
  padding: 0.75rem 1rem;
  background: rgba(6, 182, 212, 0.03);
  border-left: 3px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  animation: slideInLeft 0.6s ease-out backwards;
}

.hero-highlights li:nth-child(1) {
  animation-delay: 0.8s;
  border-left-color: rgba(6, 182, 212, 0.3);
}

.hero-highlights li:nth-child(2) {
  animation-delay: 1s;
  border-left-color: rgba(16, 185, 129, 0.3);
}

.hero-highlights li:nth-child(3) {
  animation-delay: 1.2s;
  border-left-color: rgba(139, 92, 246, 0.3);
}

.hero-highlights li:hover {
  background: rgba(6, 182, 212, 0.08);
  border-left-width: 4px;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  align-items: flex-start;
}

/* Síguenos / Comunidad */
.hero-community {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.hero-community::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green), var(--accent-cyan));
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

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

.community-intro {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
}

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

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  background: rgba(8, 12, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.community-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.community-link:hover::before {
  left: 100%;
}

.community-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Colores específicos por red social */
.community-link[href*="instagram"]:hover {
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 50%, #f77737 100%);
  border-color: #e1306c;
  color: #fff;
}

.community-link[href*="facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.community-link[href*="tiktok"]:hover {
  background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
  border-color: #00f2ea;
  color: #fff;
}

.community-link[href*="youtube"]:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.community-link[href*="twitter"]:hover,
.community-link[href*="x.com"]:hover {
  background: #000000;
  border-color: #1da1f2;
  color: #fff;
}

.community-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.community-link:hover svg {
  transform: scale(1.1) rotate(5deg);
}

/* Tipos de Productos */
.hero-product-types {
  display: grid;
  gap: 1.25rem;
  margin-top: 0;
}

@media (min-width: 640px) {
  .hero-product-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-product-types {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.75rem 1.5rem;
  background: rgba(11, 19, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--motion-duration-fast) var(--motion-ease);
}

.product-type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(139, 92, 246, 0.06));
  opacity: 0;
  transition: opacity var(--motion-duration-fast) var(--motion-ease);
  pointer-events: none;
}

.product-type-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.2);
}

.product-type-card:hover::before {
  opacity: 1;
}

.product-type-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

.product-type-card:nth-child(2) .product-type-icon {
  animation-delay: 0.5s;
}

.product-type-card:nth-child(3) .product-type-icon {
  animation-delay: 1s;
}

.product-type-card:nth-child(4) .product-type-icon {
  animation-delay: 1.5s;
}

/* Animación float reutilizable - usado en múltiples secciones */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.product-type-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.product-type-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.product-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.product-type-tags .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 9999px;
  transition: all var(--motion-duration-fast) var(--motion-ease);
}

.product-type-card:hover .product-type-tags .tag {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  color: #06b6d4;
}

/* Mantener compatibilidad con galería antigua */
.hero-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 600px) {
  .hero-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-gallery-item {
  position: relative;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: rgba(11, 19, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) var(--motion-ease);
}

.hero-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.08), rgba(16, 185, 129, 0.04));
  pointer-events: none;
}

.hero-gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
}

.hero-gallery-item img {
  max-height: 120px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.hero-gallery-item figcaption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  z-index: 1;
}

.hero-aside {
  display: grid;
  gap: 1.5rem;
}

.hero-card-logo {
  width: 96px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

/* Legacy illustration styles - mantener para compatibilidad */
.hero-illustration {
  display: none;
}

.hero-illustration-img {
  display: none;
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
}

.hero-aside-card {
  padding: 2.5rem;
}

.hero-aside-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-stats div {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.75rem;
}

.hero-stats div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.hero-stats dd {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.hero-aside-copy {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero-grid .hero-content {
  margin: 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-note {
    flex-direction: row;
    gap: 1.5rem;
  }
}

@media (min-width: 640px) {
  .hero-illustration-img-main {
    max-width: 550px;
  }
}

@media (min-width: 1024px) {
  .hero-illustration-img-main {
    max-width: 700px;
    /* Efecto cyberpunk más intenso en pantallas grandes */
    filter: drop-shadow(0 40px 100px rgba(6, 182, 212, 0.7))
      drop-shadow(0 30px 60px rgba(139, 92, 246, 0.6))
      drop-shadow(0 20px 45px rgba(16, 185, 129, 0.5)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
  }

  .hero-brand-word {
    font-size: 5.5rem;
  }

  .hero-brand-tagline {
    font-size: 1.375rem;
  }

  .hero-grid {
    grid-template-areas:
      "visual visual"
      "content content";
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* 1440+: Escalado elegante de hero y branding */
@media (min-width: 1440px) {
  .hero-title {
    font-size: calc(var(--font-size-4xl) + 0.5rem);
  }
  .hero-brand-word {
    font-size: clamp(5.5rem, 4rem + 2vw, 7rem);
  }
  .hero-brand-tagline {
    font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
  }
  .hero-illustration-img-main {
    max-width: 820px;
  }
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  animation: heroBadgePulse 8s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(6, 182, 212, 0);
}

.hero-title {
  font-size: var(--font-size-3xl); /* Mobile: 30px (1.875rem) */
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.25; /* Mobile: Line-height más ajustado para mejor legibilidad */
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);

  /* Mobile: Mejor renderizado de texto */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-title-line {
  display: block;
  animation: titleSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.2s;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-title-line:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-title-line--emphasis {
  font-size: 1.2em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
  position: relative;
}

.hero-title-line--emphasis::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  animation: underlineGrow 0.6s ease-out 0.8s backwards;
}

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

@keyframes underlineGrow {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.hero-title-animated {
  display: inline;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    textShine 3s ease-in-out infinite,
    textGlow 2s ease-in-out infinite alternate;
  background-size: 200% 100%;
  background-position: 0% center;
  position: relative;
}

.hero-title-animated::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  filter: blur(20px);
  opacity: 0;
  animation: glowPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes textShine {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8));
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.4;
  }
}

/* Hero Background Effects - Grid Cyberpunk */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Partículas flotantes tecnológicas */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  animation: particleFloat 15s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  33% {
    transform: translate(20px, -20px) scale(1.1);
    opacity: 0.5;
  }
  66% {
    transform: translate(-15px, 15px) scale(0.9);
    opacity: 0.4;
  }
  100% {
    transform: translate(10px, -10px) scale(1.05);
    opacity: 0.3;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-illustration-img-main {
    max-width: 550px;
  }

  .hero-brand-word {
    font-size: 3.5rem;
  }

  .hero-brand-tagline {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-illustration-img-main {
    max-width: 650px;
  }

  .hero-brand-word {
    font-size: 4.5rem;
  }

  .hero-brand-tagline {
    font-size: 1.25rem;
  }

  .hero-grid {
    grid-template-areas:
      "visual visual"
      "content content";
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-visual {
    margin-bottom: 0;
  }
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--font-size-2xl);
  }
}

/* Hero Stats: Estadísticas animadas */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.hero-stat {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 12, 18, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stat:hover {
  transform: translateY(-4px);
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-cyan);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-green) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

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

.hero-stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.hero-stat-description {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
  }

  .hero-stat-value {
    font-size: 3rem;
  }
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    gap: 1rem;
  }
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;

  /* Mobile-first: Touch targets optimizados */
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  line-height: 1.4;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;

  /* Mejora tap response en mobile */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;

  /* Efecto de resplandor sutil */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::after {
  transform: translateX(100%);
}

@media (min-width: 640px) {
  .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  font-weight: 700;
  box-shadow:
    0 4px 15px rgba(6, 182, 212, 0.3),
    0 0 0 1px rgba(6, 182, 212, 0.5);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 12px 30px rgba(6, 182, 212, 0.4),
    0 0 60px rgba(6, 182, 212, 0.3),
    0 0 0 2px rgba(6, 182, 212, 0.6);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--gradient-accent);
  border-radius: var(--radius);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

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

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

@keyframes btnPulseGlow {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
  }
  50% {
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.35);
  }
}

.btn-ghost {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(6, 182, 212, 0.15);
}

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

/* ===== Motion System Mejorado ===== */
html.js-animate [data-animate] {
  --animate-delay: 0s;
  opacity: 0;
  will-change: opacity, transform;
}

html.js-animate.animations-ready [data-animate] {
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--animate-delay),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--animate-delay);
}

/* Variantes de entrada mejoradas */
html.js-animate [data-animate="fade-up"] {
  transform: translateY(40px) scale(0.95);
}

html.js-animate [data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html.js-animate [data-animate="fade-in"] {
  transform: scale(0.9);
}

html.js-animate [data-animate="fade-in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

html.js-animate [data-animate="slide-left"] {
  transform: translateX(60px);
}

html.js-animate [data-animate="slide-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

html.js-animate [data-animate="slide-right"] {
  transform: translateX(-60px);
}

html.js-animate [data-animate="slide-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

html.js-animate [data-animate="zoom-in"] {
  transform: scale(0.8);
}

html.js-animate [data-animate="zoom-in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Delays optimizados con stagger effect */
.animate-delay-1 {
  --animate-delay: 0.1s;
}
.animate-delay-2 {
  --animate-delay: 0.2s;
}
.animate-delay-3 {
  --animate-delay: 0.3s;
}
.animate-delay-4 {
  --animate-delay: 0.4s;
}
.animate-delay-5 {
  --animate-delay: 0.5s;
}
.animate-delay-6 {
  --animate-delay: 0.6s;
}

@keyframes auroraShift {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1.02);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: translate3d(4%, 1%, 0) scale(1.05);
    filter: hue-rotate(25deg);
  }
  100% {
    transform: translate3d(-2%, 3%, 0) scale(1.01);
    filter: hue-rotate(-15deg);
  }
}

@keyframes heroBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(6, 182, 212, 0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.25);
    transform: translateY(-4px);
  }
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

/* ===== Sections ===== */
.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0; /* Ajuste fluido del espacio vertical */
  scroll-margin-top: calc(var(--header-h, 72px) + var(--space-lg));
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0; /* Desktop: 128px - Más espacio respirable */
  }
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .section-intro {
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }
}

/* Section Value Proposition (destacado después del intro) */
.section-value-prop {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: center;
  margin: -1rem auto 2rem;
  max-width: 600px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Feature Solution (preview de solución en problema) */
.feature-solution {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-green);
  line-height: 1.4;
}

/* Feature Subtitle (subtítulo en beneficios) */
.feature-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-heading--left {
  justify-content: flex-start;
}

.section-heading-logo {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.cta-card-logo {
  width: 96px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.catalog-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

/* ===== Cards Mejorados ===== */
.card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.card:hover::before {
  left: 100%;
}

@media (min-width: 640px) {
  .card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .card {
    padding: 2.5rem;
  }
}

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
}

.card-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-illustration {
  width: 160px;
  max-width: 100%;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    filter var(--motion-duration-fast) var(--motion-ease);
  animation: float-gentle 6s ease-in-out infinite;
}

.card:hover .card-illustration {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.45));
  animation-play-state: paused;
}

/* Animación suave de flotación para ilustraciones */
@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(6, 182, 212, 0.1),
    0 0 40px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

.placeholder-card {
  text-align: center;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  box-shadow: none;
}

.placeholder-card p {
  color: var(--text-secondary);
}

.placeholder-illustration {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.placeholder-card:hover {
  transform: none;
  box-shadow: none;
}

/* ===== Features Grid Mejorado ===== */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .features-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    gap: 2.5rem;
  }
}

.features-grid .card,
.segments-grid .card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 0.75rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.features-grid p {
  color: var(--text-secondary);
}

.problem-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.problem-lead {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 118, 110, 0.35));
  border: 1px solid rgba(94, 234, 212, 0.2);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
}

.problem-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.25rem 0;
  color: rgba(125, 211, 252, 0.9);
}

.problem-lead-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.problem-lead-list li {
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.98rem;
  line-height: 1.5;
}

.problem-resource-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.problem-resource-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.problem-resource-card img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.problem-resource-card ul {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.85);
}

.problem-resource-card ul li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--accent-cyan);
}

.problem-resource-title {
  font-size: 1.15rem;
  margin: 0 0 0.35rem 0;
}

.problem-resource-text {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(226, 232, 240, 0.9);
}

.problem-pain-grid {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.pain-panel {
  padding: var(--space-lg);
  background: rgba(15, 23, 42, 0.65);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 113, 113, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.pain-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px dashed rgba(248, 113, 113, 0.3);
  pointer-events: none;
}

.pain-panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pain-panel-badge {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.75);
}

.pain-panel-title {
  margin: 0;
  font-size: 1.25rem;
}

.pain-panel-description {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
}

.pain-panel-solution {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.pain-panel-label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.25rem 0;
  color: rgba(248, 250, 252, 0.7);
}

@media (max-width: 768px) {
  .problem-lead {
    padding: var(--space-lg);
  }

  .problem-resource-card {
    flex-direction: column;
    text-align: left;
  }

  .problem-resource-card img {
    width: 100%;
    max-width: 180px;
  }
}

/* ===== Catalog ===== */
.catalog-filters {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .catalog-filters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalog-filters {
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-label svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.filter-select,
.filter-search {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 2px);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition);
}

.filter-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgb(6, 182, 212)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
}

.filter-search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.filter-select:hover,
.filter-search:hover {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.filter-select:focus,
.filter-search:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

/* Catalog Carousel */
.catalog-carousel {
  margin: 2rem 0;
}

.catalog-carousel .carousel-wrapper {
  min-height: 450px;
}

/* Catalog Price Note */
.catalog-price-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius);
  margin: 1.5rem 0 2.5rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.catalog-price-note svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.catalog-price-note p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.catalog-price-note strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Catalog Info */
.catalog-info {
  margin-top: clamp(2.5rem, 3vw, 4rem);
}

.purchase-info {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.18), transparent 55%) no-repeat,
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.25), transparent 60%) no-repeat,
    rgba(15, 23, 42, 0.94);
  box-shadow:
    0 25px 65px rgba(2, 6, 23, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.purchase-info::before,
.purchase-info::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 220px;
  left: -10%;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.18), rgba(236, 72, 153, 0));
  opacity: 0.4;
  filter: blur(20px);
  pointer-events: none;
  animation: purchaseSweep 20s linear infinite;
  z-index: 0;
}

.purchase-info::after {
  top: auto;
  bottom: -60px;
  animation-duration: 26s;
  transform: rotate(180deg);
}

.purchase-info__header {
  position: relative;
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-xl);
  z-index: 1;
}

.purchase-info__heading {
  max-width: 560px;
}

.purchase-info__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.9);
}

.purchase-info__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.purchase-info__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin: 0.35rem 0 0.5rem;
}

.purchase-info__title svg {
  width: 32px;
  height: 32px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 4px 14px rgba(34, 211, 238, 0.4));
}

.purchase-info__intro {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.purchase-info__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.purchase-info__stats li {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.purchase-info__stats li::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(125deg, rgba(236, 72, 153, 0.25), transparent 60%);
  transition: opacity 0.4s ease;
}

.purchase-info__stats li strong {
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: normal;
  z-index: 1;
}

.purchase-info__stats li:hover::after {
  opacity: 1;
}

.purchase-info__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.purchase-info__item {
  --card-accent: rgba(59, 130, 246, 0.45);
  --card-border: rgba(148, 163, 184, 0.25);
  position: relative;
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) - 6px);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.45);
  overflow: hidden;
  display: flex;
  gap: 1rem;
  animation: purchaseCardIdle 14s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.22, 1);
}

.purchase-info__item:hover {
  transform: translateY(-6px);
}

.purchase-info__item-glow {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--card-accent), transparent 65%);
  opacity: 0.8;
  filter: blur(30px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.purchase-info__item:hover .purchase-info__item-glow {
  opacity: 1;
}

.purchase-info__item-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: purchaseIconPulse 4s ease-in-out infinite;
}

.purchase-info__item-icon svg {
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 3px 10px rgba(6, 182, 212, 0.4));
}

.purchase-info__item-body {
  position: relative;
  z-index: 1;
}

.purchase-info__item-tag {
  display: inline-flex;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.4rem;
}

.purchase-info__item h4 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.purchase-info__item p {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.96rem;
  line-height: 1.6;
}

.purchase-info__item.accent-cyan {
  --card-accent: rgba(6, 182, 212, 0.5);
  --card-border: rgba(6, 182, 212, 0.35);
}

.purchase-info__item.accent-blue {
  --card-accent: rgba(59, 130, 246, 0.45);
  --card-border: rgba(59, 130, 246, 0.35);
}

.purchase-info__item.accent-violet {
  --card-accent: rgba(167, 139, 250, 0.5);
  --card-border: rgba(167, 139, 250, 0.35);
}

.purchase-info__item.accent-amber {
  --card-accent: rgba(251, 191, 36, 0.45);
  --card-border: rgba(251, 191, 36, 0.35);
}

.purchase-info__item.accent-green {
  --card-accent: rgba(34, 197, 94, 0.5);
  --card-border: rgba(34, 197, 94, 0.35);
}

.purchase-info__item.accent-rose {
  --card-accent: rgba(244, 114, 182, 0.5);
  --card-border: rgba(244, 114, 182, 0.35);
}

.purchase-info__cta {
  position: relative;
  z-index: 1;
  margin-top: var(--space-2xl);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.2), rgba(6, 182, 212, 0))
    rgba(15, 23, 42, 0.85);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  overflow: hidden;
}

.purchase-info__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(14, 165, 233, 0),
    rgba(14, 165, 233, 0.35),
    rgba(14, 165, 233, 0)
  );
  opacity: 0.25;
  animation: purchaseCTA 6s linear infinite;
}

.purchase-info__cta-copy {
  flex: 1 1 260px;
  position: relative;
}

.purchase-info__cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-info__cta h4 {
  margin: 0.5rem 0 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.purchase-info__cta p {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
}

.purchase-info__cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
}

.purchase-info__cta-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .purchase-info__header {
    flex-direction: column;
  }
  .purchase-info__stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .purchase-info__cta {
    flex-direction: column;
    text-align: center;
  }
  .purchase-info__cta-actions {
    justify-content: center;
  }
}

@keyframes purchaseSweep {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(240px);
  }
}

@keyframes purchaseCardIdle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes purchaseIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

@keyframes purchaseCTA {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .purchase-info::before,
  .purchase-info::after,
  .purchase-info__item,
  .purchase-info__item-icon,
  .purchase-info__cta::before {
    animation: none;
  }
}

/* Animaciones para carousel promos */
.promo-icon img,
.promo-icon svg {
  animation: svgFloat 3s ease-in-out infinite;
  will-change: transform;
}

.carousel-item:hover .promo-icon img,
.carousel-item:hover .promo-icon svg {
  animation-play-state: paused;
  transform: scale(1.05);
}

/* Reduce movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .info-icon,
  .promo-icon img,
  .promo-icon svg,
  .info-grid .info-item .info-icon {
    animation: none !important;
  }
}

/* Animaciones por tarjeta (según orden en el grid) */
.info-grid .info-item:nth-child(1) .info-icon {
  animation: twinkle 3.2s ease-in-out infinite;
}
.info-grid .info-item:nth-child(2) .info-icon {
  animation: hueWave 4.2s ease-in-out infinite;
}
.info-grid .info-item:nth-child(3) .info-icon {
  animation: bob 2.8s ease-in-out infinite;
}
.info-grid .info-item:nth-child(4) .info-icon {
  animation: drive 2.6s ease-in-out infinite;
}
.info-grid .info-item:nth-child(5) .info-icon {
  animation: pulseShield 2.4s ease-in-out infinite;
}
.info-grid .info-item:nth-child(6) .info-icon {
  animation: flicker 1.4s ease-in-out infinite;
}

@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -12px) scale(1.06);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: rotate(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(253, 224, 71, 0));
  }
  50% {
    transform: rotate(-6deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(253, 224, 71, 0.35));
  }
}

@keyframes hueWave {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(18deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes drive {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}
@keyframes pulseShield {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@keyframes flicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
  20%,
  24%,
  55% {
    opacity: 0.5;
    transform: rotate(-4deg);
  }
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== Carousel Container ===== */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 100%;
  padding: 0; /* Mobile: Sin padding lateral para aprovechar todo el ancho */
}

@media (min-width: 768px) {
  .carousel-container {
    padding: 0 60px; /* Tablets+: Padding para botones */
  }
}

/* Carousel wrapper con efecto vitrina */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: var(--radius);
  /* Efecto de resplandor showcase */
  box-shadow:
    inset 0 0 60px rgba(6, 182, 212, 0.05),
    inset 0 0 20px rgba(168, 85, 247, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.4);
  /* Marco neon sutil */
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: linear-gradient(135deg, rgba(11, 15, 20, 0.95), rgba(26, 31, 46, 0.95));
  padding: var(--space-lg); /* Mobile: Padding interno uniforme */
}

@media (min-width: 768px) {
  .carousel-wrapper {
    padding: 2rem 1.5rem; /* Tablets+: Padding mayor */
  }
}

.carousel-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.5) 20%,
    rgba(168, 85, 247, 0.5) 50%,
    rgba(6, 182, 212, 0.5) 80%,
    transparent
  );
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.3;
  }
}

/* Barra superior del carrusel (buscador integrado) */
.carousel-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
  margin: 0 0 0.75rem 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(26, 31, 46, 0.95));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  box-shadow:
    0 0 20px rgba(6, 182, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-toolbar input[type="search"] {
  flex: 1 1 auto;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius) - 2px);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.carousel-toolbar select {
  flex: 0 1 220px;
  min-width: 180px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius) - 2px);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.carousel-toolbar select:hover {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.carousel-toolbar select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
}

.carousel-toolbar input[type="search"]::placeholder {
  color: rgba(156, 163, 175, 0.9);
}

.carousel-toolbar input[type="search"]:hover {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.carousel-toolbar input[type="search"]:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
}

/* Product Grid dentro del carrusel */
.product-grid.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0; /* Mobile: Sin gap para evitar elementos parciales */
}

.product-grid.carousel-track > * {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always; /* Mobile: Fuerza parada en cada item */
}

@media (min-width: 768px) {
  .product-grid.carousel-track {
    gap: 1.5rem; /* Tablets: Gap restaurado */
  }

  .product-grid.carousel-track > * {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .product-grid.carousel-track > * {
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
  }
}

@media (min-width: 1440px) {
  .product-grid.carousel-track > * {
    flex: 0 0 calc((100% - 4.5rem) / 4);
    max-width: calc((100% - 4.5rem) / 4);
  }
}

/* Fallback para product-carousel sin carrusel */
.product-carousel:not(.carousel-track) {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 182, 212, 0.5) rgba(255, 255, 255, 0.1);
  padding: 1rem 0.5rem;
  flex: 1;
  min-width: 0;
  max-width: 100%;

  /* Mobile-first: Scroll optimizado */
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 var(--space-md);
  overscroll-behavior-x: contain; /* Evita sobredesplazamiento */
  scroll-snap-stop: normal; /* Permite scroll fluido en mobile */
}

.product-carousel:not(.carousel-track)::-webkit-scrollbar {
  height: 6px;
}

.product-carousel:not(.carousel-track)::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.product-carousel:not(.carousel-track)::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.5);
  border-radius: 3px;
  transition: background var(--transition);
}

.product-carousel:not(.carousel-track)::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.7);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  flex-shrink: 0;
  width: 48px; /* Mobile: Tamaño ajustado para touch */
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(16, 185, 129, 0.9));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(6, 182, 212, 0.6);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 0 20px rgba(6, 182, 212, 0.4),
    0 4px 14px rgba(6, 182, 212, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  position: relative;
  overflow: hidden;

  /* Mobile-first: Touch optimizado */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);
}

@media (min-width: 768px) {
  .carousel-btn {
    width: 56px; /* Desktop: Tamaño más grande */
    height: 56px;
  }
}

/* Efecto de resplandor cyberpunk en hover */
.carousel-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-btn:hover::before {
  opacity: 1;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.carousel-btn:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 1), rgba(16, 185, 129, 1));
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    0 0 30px rgba(6, 182, 212, 0.6),
    0 0 15px rgba(16, 185, 129, 0.4),
    0 6px 20px rgba(6, 182, 212, 0.5),
    0 3px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow:
    0 0 15px rgba(6, 182, 212, 0.5),
    0 2px 8px rgba(6, 182, 212, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(6, 182, 212, 0.4),
    0 0 30px rgba(6, 182, 212, 0.6),
    0 6px 20px rgba(6, 182, 212, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.5), rgba(71, 85, 105, 0.5));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-color: rgba(100, 116, 139, 0.3);
}

.carousel-btn svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  position: relative;
  z-index: 1;
}

/* Posiciones específicas de las flechas del catálogo se heredan de .carousel-btn-prev y .carousel-btn-next */

.product-card {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  flex: 0 0 auto;
  width: 100%;
  padding: var(--space-lg); /* Mobile: Usa variables de espaciado */
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius);
  border: 1px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;

  /* Mobile-first: Touch optimizado */
  touch-action: pan-y pinch-zoom;
  -webkit-tap-highlight-color: transparent;

  /* Mobile: Mejor legibilidad */
  min-height: 380px; /* Altura mínima para contenido legible */
}

/* Efecto de hover en tarjetas - vitrina destacada */
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  transition: left 0.5s ease;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow:
    0 0 25px rgba(6, 182, 212, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

/* Product cards fuera del carousel-track (scroll horizontal) */
.product-carousel:not(.carousel-track) .product-card {
  min-width: calc(100vw - 140px);
  max-width: 360px;
}

@media (min-width: 640px) {
  .product-carousel:not(.carousel-track) .product-card {
    min-width: 360px;
    max-width: 420px;
  }
}

@media (min-width: 1024px) {
  .product-carousel:not(.carousel-track) .product-card {
    min-width: 400px;
    max-width: 480px;
  }
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 12px 32px rgba(6, 182, 212, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-media {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius) - 4px);
  padding: 1rem;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  transition: all var(--transition);
  overflow: hidden;
}

.product-card:hover .product-media {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(6, 182, 212, 0.2);
}

.product-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease);
}

.product-emoji {
  font-size: 4.5rem;
  line-height: 1;
  animation: float-emoji 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  display: block;
}

@media (min-width: 640px) {
  .product-emoji {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .product-emoji {
    font-size: 5.5rem;
  }
}

@keyframes float-emoji {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.03);
  }
}

.product-card:hover .product-emoji {
  animation: bounce-emoji 0.6s ease-in-out;
}

@keyframes bounce-emoji {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-12px) scale(1.1);
  }
  50% {
    transform: translateY(0) scale(1.05);
  }
  75% {
    transform: translateY(-6px) scale(1.08);
  }
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-line {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.32);
  color: var(--accent-cyan);
  font-weight: 600;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  line-height: 1.3;
  min-height: auto;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.375rem;
}

.product-price-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.825rem;
  line-height: 1.5;
  margin-bottom: 0.625rem;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-details {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
}

@media (min-width: 600px) {
  .product-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.product-details div {
  display: grid;
  gap: 0.3rem;
}

.product-details dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.product-details dd {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.product-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin: 0.625rem 0 0.375rem;
  min-height: auto;
}

.product-suggestions {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--accent-green);
  padding: 0.5rem 0.75rem;
  margin: 0.625rem 0;
  border-radius: 6px;
  line-height: 1.5;
}

.product-card:hover .product-media img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.15);
}

.tag {
  padding: 0.2rem 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 999px;
  font-size: 0.65rem;
  color: var(--accent-cyan);
}

.product-cta {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
}

.catalog-notes {
  margin-top: 2.5rem;
  padding: 2rem;
}

.catalog-notes h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.catalog-notes ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.catalog-notes li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.catalog-notes li::before {
  content: "•";
  color: var(--accent-cyan);
  font-size: 1.25rem;
  line-height: 1;
}
/* ===== Segments ===== */
.segments-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .segments-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .segments-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.segments-grid article h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.segments-grid article p {
  color: var(--text-secondary);
}

/* ===== Metrics ===== */
.metrics-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-card {
  text-align: center;
}

.metric-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metric-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Carrusel de Promos ===== */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 2rem auto 0;
  padding: 0 60px;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 50px;
  }
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

.carousel-track.promos-grid {
  grid-template-columns: unset;
  display: flex;
}

.carousel-track > * {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .carousel-track > * {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .carousel-track > * {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-btn-prev {
  left: var(--space-xs); /* Mobile: Margen mínimo */
  display: none; /* Mobile: Ocultar para evitar obstrucción */
}

.carousel-btn-next {
  right: var(--space-xs); /* Mobile: Margen mínimo */
  display: none; /* Mobile: Ocultar para evitar obstrucción */
}

@media (min-width: 768px) {
  .carousel-btn-prev {
    left: 0;
    display: flex; /* Tablets+: Mostrar botones */
  }

  .carousel-btn-next {
    right: 0;
    display: flex; /* Tablets+: Mostrar botones */
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem;
  position: relative;
}

/* Línea de conexión entre dots */
.carousel-dots::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.2) 20%,
    rgba(6, 182, 212, 0.3) 50%,
    rgba(6, 182, 212, 0.2) 80%,
    transparent
  );
  z-index: 0;
}

.carousel-dot {
  position: relative;
  z-index: 1;
  width: 14px; /* Mobile: Más grande para touch */
  height: 14px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 2px solid rgba(6, 182, 212, 0.3);
  cursor: pointer;
  transition: all var(--motion-duration-fast) var(--motion-ease);
  padding: 0;
  box-shadow:
    0 0 8px rgba(6, 182, 212, 0.2),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);

  /* Mobile: Touch target mínimo */
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);

  /* Área táctil expandida invisible */
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--touch-target-min);
    height: var(--touch-target-min);
  }
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.4);
  transition: all var(--motion-duration-fast) var(--motion-ease);
}

.carousel-dot:hover {
  background: rgba(6, 182, 212, 0.3);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow:
    0 0 15px rgba(6, 182, 212, 0.4),
    0 0 8px rgba(6, 182, 212, 0.3),
    inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: scale(1.2);
}

.carousel-dot:hover::before {
  width: 8px;
  height: 8px;
  background: rgba(6, 182, 212, 0.8);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.carousel-dot.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.9), rgba(16, 185, 129, 0.8));
  border-color: rgba(6, 182, 212, 0.9);
  width: 32px;
  border-radius: 6px;
  box-shadow:
    0 0 20px rgba(6, 182, 212, 0.6),
    0 0 10px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.carousel-dot.active::before {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* ===== Promos Grid (sin carrusel - fallback) ===== */
.promos-grid:not(.carousel-track) {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .promos-grid:not(.carousel-track) {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .promos-grid:not(.carousel-track) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promos-grid:not(.carousel-track) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === Promo Card === */
.promo-card {
  --promo-accent: #6366f1;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--promo-accent), transparent);
  opacity: 0.8;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.promo-destacado {
  border: 1px solid var(--promo-accent);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.promo-destacado::before {
  height: 4px;
  background: var(--promo-accent);
}

/* === Promo Header === */
.promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.promo-badge-wrapper {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.promo-icono-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}

.promo-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-card:hover .promo-icon {
  transform: scale(1.08) translateY(-4px);
}

.promo-emoji {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Legacy support */
.promo-icono {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.promo-badge {
  --badge-color: #6366f1;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--badge-color);
  color: white;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* === Promo Content === */
.promo-titulo {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.promo-subtitulo {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* === Promo Precio === */
.promo-precio {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 0.5rem;
  border-left: 3px solid var(--promo-accent);
}

.promo-precio-total,
.promo-precio-especial {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--promo-accent);
}

.promo-unitario {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.promo-minimo {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* === Promo Beneficios === */
.promo-beneficios {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.promo-beneficios li {
  padding: 0.375rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.promo-beneficios li::before {
  content: "✓";
  color: var(--promo-accent);
  font-weight: 700;
  font-size: 1rem;
}

/* === Promo Validez === */
.promo-validez {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--glass-border);
}

/* === Promo CTA === */
.promo-cta,
.promo-cta-contact {
  --btn-accent: #6366f1;
  width: 100%;
  background: var(--btn-accent);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.promo-cta:hover,
.promo-cta-contact:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* === Animaciones de Promo === */
@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px) rotate(-1deg);
  }
  75% {
    transform: translateX(2px) rotate(1deg);
  }
}

/* Animación float ya definida en línea 1620 - reutilizada aquí */

@keyframes swing {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.9;
    filter: brightness(1.2);
  }
}

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

.promo-anim-pulse-soft .promo-icono {
  animation: pulse-soft 2s ease-in-out infinite;
}

.promo-anim-glow {
  animation: glow 2.5s ease-in-out infinite;
}

.promo-anim-shake:hover .promo-icono {
  animation: shake 0.5s ease-in-out;
}

.promo-anim-float .promo-icono {
  animation: float 3s ease-in-out infinite;
}

.promo-anim-swing:hover .promo-icono {
  animation: swing 0.6s ease-in-out;
}

.promo-anim-sparkle .promo-badge {
  animation: sparkle 1.5s ease-in-out infinite;
}

.promo-anim-terminal-blink .promo-icono::after {
  content: "▋";
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.promo-anim-confetti .promo-header {
  position: relative;
  overflow: visible;
}

.promo-anim-crown-glow .promo-icono {
  filter: drop-shadow(0 0 12px rgba(243, 156, 18, 0.8));
  animation: glow 2s ease-in-out infinite;
}

.promo-anim-handshake:hover .promo-icono {
  animation: shake 0.4s ease-in-out 2;
}

/* ===== FAQ ===== */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon--xl {
  width: 44px;
  height: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .ui-icon--draw .icon-stroke {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
  }

  .is-visible .ui-icon--draw .icon-stroke {
    animation: iconDraw 1.1s ease forwards;
  }

  /* Footer icons: siempre vivos (sin depender del observer) */
  .footer .ui-icon--live {
    animation: floatMicro 3.6s ease-in-out infinite;
    will-change: transform;
  }

  .footer .ui-icon--live .icon-stroke {
    stroke-dasharray: 7 18;
    animation: strokeFlow 2.8s linear infinite;
  }
}

.faq-item {
  --faq-accent: #5eead4;
  --faq-accent-soft: rgba(94, 234, 212, 0.16);
}

.faq-insight[data-faq-theme="teal"],
.faq-item[data-faq-theme="teal"],
.faq-chip[data-faq-theme="teal"] {
  --faq-accent: #5eead4;
  --faq-accent-soft: rgba(94, 234, 212, 0.16);
}

.faq-insight[data-faq-theme="amber"],
.faq-item[data-faq-theme="amber"],
.faq-chip[data-faq-theme="amber"] {
  --faq-accent: #fbbf24;
  --faq-accent-soft: rgba(251, 191, 36, 0.16);
}

.faq-insight[data-faq-theme="sky"],
.faq-item[data-faq-theme="sky"],
.faq-chip[data-faq-theme="sky"] {
  --faq-accent: #38bdf8;
  --faq-accent-soft: rgba(56, 189, 248, 0.16);
}

.faq-insight[data-faq-theme="violet"],
.faq-item[data-faq-theme="violet"],
.faq-chip[data-faq-theme="violet"] {
  --faq-accent: #a78bfa;
  --faq-accent-soft: rgba(167, 139, 250, 0.16);
}

.faq-insight[data-faq-theme="cyan"],
.faq-item[data-faq-theme="cyan"],
.faq-chip[data-faq-theme="cyan"] {
  --faq-accent: #22d3ee;
  --faq-accent-soft: rgba(34, 211, 238, 0.16);
}

.faq-insight[data-faq-theme="green"],
.faq-item[data-faq-theme="green"],
.faq-chip[data-faq-theme="green"] {
  --faq-accent: #34d399;
  --faq-accent-soft: rgba(52, 211, 153, 0.16);
}

.faq-insight[data-faq-theme="blue"],
.faq-item[data-faq-theme="blue"],
.faq-chip[data-faq-theme="blue"] {
  --faq-accent: #60a5fa;
  --faq-accent-soft: rgba(96, 165, 250, 0.16);
}

.faq-insight[data-faq-theme="lime"],
.faq-item[data-faq-theme="lime"],
.faq-chip[data-faq-theme="lime"] {
  --faq-accent: #a3e635;
  --faq-accent-soft: rgba(163, 230, 53, 0.16);
}

.faq-insight[data-faq-theme="rose"],
.faq-item[data-faq-theme="rose"],
.faq-chip[data-faq-theme="rose"] {
  --faq-accent: #fb7185;
  --faq-accent-soft: rgba(251, 113, 133, 0.16);
}

.faq-insight[data-faq-theme="pink"],
.faq-item[data-faq-theme="pink"],
.faq-chip[data-faq-theme="pink"] {
  --faq-accent: #f472b6;
  --faq-accent-soft: rgba(244, 114, 182, 0.16);
}

.faq-insight[data-faq-theme="emerald"],
.faq-item[data-faq-theme="emerald"],
.faq-chip[data-faq-theme="emerald"] {
  --faq-accent: #22c55e;
  --faq-accent-soft: rgba(34, 197, 94, 0.16);
}

.faq-insight[data-faq-theme="slate"],
.faq-item[data-faq-theme="slate"],
.faq-chip[data-faq-theme="slate"] {
  --faq-accent: #94a3b8;
  --faq-accent-soft: rgba(148, 163, 184, 0.16);
}

.faq-insight-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-insight-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--faq-accent);
  position: relative;
  overflow: hidden;
}

.faq-insight-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-insight:hover .faq-insight-icon::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: conic-gradient(
      from 180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 25%,
      transparent 55%
    );
    animation: spinSlow 4.8s linear infinite;
    opacity: 0.45;
    pointer-events: none;
  }
}

.faq-top-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.faq-help-illustration {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(94, 234, 212, 0.22);
  color: rgba(94, 234, 212, 0.95);
}

.faq-chip-icon {
  width: 18px;
  height: 18px;
  color: var(--faq-accent, #fbbf24);
}

.faq-item-icon,
.faq-card-illustration {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--faq-accent);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.35);
}

.faq-card-illustration {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 14px 28px rgba(2, 6, 23, 0.35),
    0 0 0 1px var(--faq-accent-soft) inset;
}

.faq-card-illustration::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    var(--faq-accent-soft) 22%,
    transparent 55%
  );
  opacity: 0.35;
  pointer-events: none;
}

.faq-item:hover .faq-card-illustration::before,
.faq-item[open] .faq-card-illustration::before {
  opacity: 0.6;
}

.faq-card-illustration svg {
  filter: drop-shadow(0 10px 20px rgba(2, 6, 23, 0.45));
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    filter var(--motion-duration-fast) var(--motion-ease);
  will-change: transform;
}

.faq-item:hover .faq-card-illustration svg,
.faq-item:focus-within .faq-card-illustration svg {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 14px 28px rgba(2, 6, 23, 0.55));
}

@media (prefers-reduced-motion: no-preference) {
  .faq-card-illustration::before {
    animation: spinSlow 5.6s linear infinite;
  }
}

.faq-card-illustration svg {
  width: 28px;
  height: 28px;
}

.faq-item[open] .faq-item-icon,
.faq-item[open] .faq-card-illustration {
  background: var(--faq-accent-soft);
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item-pill {
  box-shadow: 0 0 0 1px var(--faq-accent-soft) inset;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--faq-accent);
}

.faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(94, 234, 212, 0.25);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 78, 59, 0.85));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(16, 185, 129, 0.2), transparent 55%);
  pointer-events: none;
  animation: faqGlow 12s linear infinite;
}

.faq-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.95);
}

.faq-hero__badge svg {
  width: 20px;
  height: 20px;
}

.faq-hero__content {
  position: relative;
  z-index: 1;
}

.faq-hero__content p {
  margin: 0.35rem 0 0;
  color: rgba(226, 232, 240, 0.9);
}

.faq-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.faq-insights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: var(--space-lg) 0 var(--space-xl) 0;
}

.faq-insights li {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  overflow: hidden;
}

.faq-insights li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    var(--faq-accent-soft, rgba(16, 185, 129, 0.22)),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-insights li:hover::after {
  opacity: 1;
}

.faq-insights span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.faq-insights strong {
  font-size: 1.75rem;
  color: var(--text-primary);
}

.faq-insights small {
  color: rgba(226, 232, 240, 0.7);
}

.faq-controls {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  display: grid;
  gap: var(--space-lg);
}

.faq-controls__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.faq-field .input-shell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.faq-field svg {
  color: rgba(148, 163, 184, 0.9);
}

.faq-field .input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.4rem 0;
  width: 100%;
}

.faq-field .input:focus {
  outline: none;
}

.input-shell--select select {
  appearance: none;
}

.faq-controls__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.faq-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.faq-count {
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.95rem;
}

.faq-top-wrapper {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.faq-top-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: rgba(226, 232, 240, 0.8);
}

.faq-top {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--faq-accent, rgba(94, 234, 212, 0.35));
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--faq-accent-soft, rgba(94, 234, 212, 0.12)) inset;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease);
}

.faq-chip:hover,
.faq-chip:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(6, 182, 212, 0.25);
  outline: none;
}

.faq-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: var(--space-xl);
}

.faq-list-wrapper {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.85);
  padding: var(--space-lg);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease);
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    var(--faq-accent-soft, rgba(52, 211, 153, 0.18)),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--motion-duration-fast) var(--motion-ease);
}

.faq-item::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 14px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent 70%);
  filter: blur(16px);
  opacity: 0.35;
  transform: translate3d(0, 10px, 0) scale(0.98);
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.faq-item summary {
  list-style: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item-question {
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.35;
}

.faq-item-pill {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--faq-accent, rgba(94, 234, 212, 0.4));
  color: rgba(226, 232, 240, 0.8);
}

.faq-card-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  min-height: 172px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%);
}

.faq-card-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.09), transparent 55%);
  opacity: 0;
  transition: opacity var(--motion-duration-fast) var(--motion-ease);
  pointer-events: none;
}

.faq-item:hover .faq-card-summary::after,
.faq-item:focus-within .faq-card-summary::after,
.faq-item[open] .faq-card-summary::after {
  opacity: 1;
}

.faq-card-summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--faq-accent, rgba(94, 234, 212, 0.7)) inset;
  border-radius: var(--radius);
}

.faq-card-summary .faq-item-pill {
  margin-top: auto;
}

.faq-item-chevron {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.faq-item-chevron::before {
  content: "+";
  font-size: 1.5rem;
  color: rgba(226, 232, 240, 0.7);
  transition: transform var(--motion-duration-fast) var(--motion-ease);
}

.faq-item[open] .faq-item-chevron::before {
  transform: rotate(45deg);
}

.faq-item-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: rgba(226, 232, 240, 0.85);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  z-index: 1;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item.is-visible::after {
    animation: faqFloatShadow 5.8s ease-in-out infinite;
    animation-delay: var(--animate-delay, 0s);
  }

  .faq-item.is-visible .faq-card-illustration {
    animation: floatMicro 4.4s ease-in-out infinite;
    animation-delay: var(--animate-delay, 0s);
  }

  .faq-item:not([open]):hover .faq-item-chevron::before {
    animation: faqPlusPulse 1.25s ease-in-out infinite;
  }

  .faq-item[open] .faq-item-content {
    animation: faqAnswerIn 220ms var(--motion-ease) both;
  }

  .faq-item[open] .faq-card-illustration svg {
    animation: faqIllustrationIn 260ms var(--motion-ease) both;
  }

  .faq-item:hover .faq-card-illustration .icon-stroke,
  .faq-item[open] .faq-card-illustration .icon-stroke {
    stroke-dasharray: 7 18;
    stroke-dashoffset: 0;
    animation: strokeFlow 2.8s linear infinite;
  }
}

.faq-item:hover,
.faq-item[open] {
  transform: translateY(-4px);
  border-color: var(--faq-accent, rgba(94, 234, 212, 0.5));
  box-shadow:
    0 18px 38px rgba(2, 6, 23, 0.45),
    0 10px 30px var(--faq-accent-soft, rgba(6, 182, 212, 0.18));
}

.faq-item[open] {
  transform: translateY(-3px);
}

.faq-item:hover::before,
.faq-item[open]::before {
  opacity: 1;
}

.faq-help-card {
  align-self: start;
  padding: var(--space-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-help-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(226, 232, 240, 0.85);
}

.faq-help-card .btn {
  justify-content: center;
}

@media (max-width: 960px) {
  .faq-body-grid {
    grid-template-columns: 1fr;
  }
  .faq-hero__actions {
    justify-content: flex-start;
  }
}

@keyframes faqGlow {
  0% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-6px);
  }
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqIllustrationIn {
  from {
    transform: translateY(6px) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes faqFloatShadow {
  0%,
  100% {
    opacity: 0.35;
    transform: translate3d(0, 10px, 0) scale(0.98);
  }
  50% {
    opacity: 0.75;
    transform: translate3d(0, 4px, 0) scale(1.05);
  }
}

@keyframes faqPlusPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -2px, 0) scale(1.12);
  }
}

@keyframes iconDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

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

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

@keyframes footerSheenIn {
  from {
    left: -120%;
  }
  to {
    left: 120%;
  }
}

@keyframes iconNudge {
  0% {
    transform: rotate(0deg) translateZ(0);
  }
  35% {
    transform: rotate(-8deg) translateZ(0);
  }
  70% {
    transform: rotate(6deg) translateZ(0);
  }
  100% {
    transform: rotate(0deg) translateZ(0);
  }
}

@keyframes footerAurora {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(70px, -45px, 0);
  }
}

@keyframes strokeFlow {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes floatMicro {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes neonPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(94, 234, 212, 0));
  }
  50% {
    filter: drop-shadow(0 10px 22px rgba(94, 234, 212, 0.18));
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-hero::after,
  .faq-item::before {
    animation: none;
  }

  .footer .ui-icon--live,
  .footer .ui-icon--live .icon-stroke,
  .payment-icon,
  .payment-icon::before,
  .footer-extras-grid::before,
  .trust-icon,
  .trust-badges li {
    animation: none !important;
    filter: none !important;
  }
} /* ===== CTA Section ===== */
.cta-section {
  text-align: center;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.footer-contact {
  font-style: normal;
  margin-top: 1rem;
  display: grid;
  gap: 0.25rem;
}

.footer-contact a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-cyan);
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition);
  display: inline-block;
  padding: 0.25rem 0;
  min-height: 44px;
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-copy {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.brand-mark--footer {
  margin-top: 1rem;
  width: 72px;
  height: auto;
  opacity: 0.9;
}

#social-links {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Icon buttons: bigger, animated, accessible */
#social-links .social-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  /* SVGs usan currentColor; controlamos tamaño en svg */
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) var(--motion-ease),
    background var(--motion-duration-fast) var(--motion-ease);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

#social-links .social-icon:hover,
#social-links .social-icon:focus-visible {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 42px rgba(6, 182, 212, 0.18);
  outline: none;
}

#social-links .social-icon svg,
#social-links .social-icon img {
  width: 28px;
  height: 28px;
  display: block;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    filter var(--motion-duration-fast) var(--motion-ease);
}

#social-links .social-icon:hover svg,
#social-links .social-icon:focus-visible svg,
#social-links .social-icon:hover img,
#social-links .social-icon:focus-visible img {
  transform: translateY(-1px) scale(1.06);
  filter: drop-shadow(0 4px 10px rgba(6, 182, 212, 0.25));
}

/* Platform multicolor backgrounds */
#social-links .social-icon--instagram {
  /* Instagram conic gradient per brand look */
  background: conic-gradient(from 210deg, #f58529, #feda77, #dd2a7b, #8134af, #515bd4, #f58529);
  border-color: rgba(255, 255, 255, 0.18);
}

#social-links .social-icon--instagram:hover,
#social-links .social-icon--instagram:focus-visible {
  background: conic-gradient(from 210deg, #ff8a3d, #ffe089, #e23b8a, #8e40be, #5f6ae4, #ff8a3d);
}

#social-links .social-icon--facebook {
  background: #1877f2;
  border-color: rgba(255, 255, 255, 0.18);
}

#social-links .social-icon--facebook:hover,
#social-links .social-icon--facebook:focus-visible {
  background: linear-gradient(135deg, #1b74e4, #1877f2, #0f5fd6);
}

#social-links .social-icon--tiktok {
  /* TikTok brand accents over dark base */
  background:
    radial-gradient(40% 60% at 30% 30%, rgba(37, 244, 238, 0.55), transparent),
    radial-gradient(40% 60% at 70% 70%, rgba(254, 44, 85, 0.55), transparent), #0b0f14;
  border-color: rgba(255, 255, 255, 0.18);
}

#social-links .social-icon--tiktok:hover,
#social-links .social-icon--tiktok:focus-visible {
  background:
    radial-gradient(42% 62% at 30% 28%, rgba(37, 244, 238, 0.7), transparent),
    radial-gradient(42% 62% at 72% 72%, rgba(254, 44, 85, 0.68), transparent), #0b0f14;
}

#social-links .social-icon--youtube {
  background: linear-gradient(135deg, #ff0033, #ff0000, #b91c1c);
  border-color: rgba(255, 255, 255, 0.18);
}

#social-links .social-icon--youtube:hover,
#social-links .social-icon--youtube:focus-visible {
  background: linear-gradient(135deg, #ff2a4f, #ff0000, #991b1b);
}

/* Footer contact minor tweak */
.footer-contact .btn {
  width: fit-content;
}

/* Footer mejoras */
.footer-grid {
  align-items: start;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
  }
}

.hours-list {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
  color: var(--text-secondary);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.footer-location .btn {
  margin-top: 0.5rem;
}

.footer-extras {
  display: grid;
  gap: 0.75rem;
}

.footer-extras-grid {
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .footer-extras-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .footer-extras-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  }
}

.footer-extras-grid::before {
  content: "";
  position: absolute;
  inset: -120px -80px;
  background:
    radial-gradient(40% 55% at 20% 20%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(45% 60% at 75% 30%, rgba(94, 234, 212, 0.18), transparent 62%),
    radial-gradient(35% 55% at 55% 85%, rgba(56, 189, 248, 0.18), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0);
}

.footer-extras-grid > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .footer-extras.is-visible .footer-extras-grid::before {
    animation: footerAurora 16s ease-in-out infinite;
  }
}

.footer-card {
  padding: 1.25rem 1.25rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.75);
  display: grid;
  gap: 0.75rem;
  --footer-accent: rgba(94, 234, 212, 0.95);
  --footer-accent-soft: rgba(94, 234, 212, 0.12);
  --footer-sheen: rgba(94, 234, 212, 0.12);
}

.footer-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, var(--footer-sheen), transparent);
  left: -120%;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

.footer-extras.is-visible .footer-card::before {
  animation: footerSheenIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.footer-card > * {
  position: relative;
  z-index: 1;
}

.footer-card:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 26px 54px rgba(2, 6, 23, 0.55),
    0 0 0 1px var(--footer-accent-soft) inset;
}

.footer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-card-head h4 {
  margin: 0;
  font-size: 1rem;
}

.footer-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-card-title .ui-icon {
  width: 20px;
  height: 20px;
  color: var(--footer-accent);
}

.footer-payments-card {
  position: relative;
  --footer-accent: rgba(34, 211, 238, 0.95);
  --footer-accent-soft: rgba(34, 211, 238, 0.12);
  --footer-sheen: rgba(34, 211, 238, 0.14);
}

.footer-payments-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 10%, var(--footer-accent-soft), transparent 55%);
  opacity: 0.75;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

.footer-payments-card > * {
  position: relative;
  z-index: 1;
}

.footer-newsletter-card {
  position: relative;
  --footer-accent: rgba(94, 234, 212, 0.95);
  --footer-accent-soft: rgba(94, 234, 212, 0.12);
  --footer-sheen: rgba(94, 234, 212, 0.12);
}

.footer-newsletter-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 80% 25%, rgba(94, 234, 212, 0.14), transparent 60%),
    radial-gradient(circle at 15% 80%, rgba(56, 189, 248, 0.12), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

.footer-newsletter-card > * {
  position: relative;
  z-index: 1;
}

.footer-card-sub {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.95rem;
}

.footer-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 6, 23, 0.2);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-card-pill .ui-icon {
  color: var(--footer-accent);
}

.footer-card-note {
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.85rem;
}

.payment-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.payment-method {
  --pay-accent: rgba(94, 234, 212, 0.95);
  --pay-soft: rgba(94, 234, 212, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.25);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) var(--motion-ease);
}

.payment-method::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--pay-soft), transparent 55%);
  opacity: 0;
  transition: opacity var(--motion-duration-fast) var(--motion-ease);
  pointer-events: none;
  z-index: 0;
}

.payment-method > * {
  position: relative;
  z-index: 1;
}

.payment-method:hover {
  transform: translateY(-2px);
  border-color: var(--pay-accent);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.45);
}

.payment-method:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .footer-extras.is-visible .payment-method {
    animation: footerItemIn 520ms var(--motion-ease) both;
  }

  .footer-extras.is-visible .payment-method:nth-child(1) {
    animation-delay: 40ms;
  }

  .footer-extras.is-visible .payment-method:nth-child(2) {
    animation-delay: 90ms;
  }

  .footer-extras.is-visible .payment-method:nth-child(3) {
    animation-delay: 140ms;
  }

  .footer-extras.is-visible .payment-method:nth-child(4) {
    animation-delay: 190ms;
  }
}

.payment-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--pay-accent);
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    background var(--motion-duration-fast) var(--motion-ease);
  position: relative;
  overflow: hidden;
}

.payment-icon::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    var(--pay-soft) 25%,
    transparent 55%,
    var(--pay-soft) 75%,
    transparent 100%
  );
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
}

.payment-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}

.payment-method:hover .payment-icon {
  transform: translateY(-1px) scale(1.04);
  background: rgba(15, 23, 42, 0.78);
}

@media (prefers-reduced-motion: no-preference) {
  .payment-method:hover .payment-icon .ui-icon {
    animation: iconNudge 520ms var(--motion-ease);
  }

  .payment-icon::before {
    animation: spinSlow 7.5s linear infinite;
  }

  .payment-icon {
    animation: neonPulse 4.2s ease-in-out infinite;
  }
}

.payment-method[data-pay="card"] {
  --pay-accent: rgba(34, 211, 238, 0.95);
  --pay-soft: rgba(34, 211, 238, 0.12);
}

.payment-method[data-pay="cash"] {
  --pay-accent: rgba(163, 230, 53, 0.95);
  --pay-soft: rgba(163, 230, 53, 0.12);
}

.payment-method[data-pay="transfer"] {
  --pay-accent: rgba(56, 189, 248, 0.95);
  --pay-soft: rgba(56, 189, 248, 0.12);
}

.payment-method[data-pay="delivery"] {
  --pay-accent: rgba(251, 191, 36, 0.95);
  --pay-soft: rgba(251, 191, 36, 0.12);
}

.payment-meta {
  display: grid;
  gap: 0.15rem;
}

.payment-meta strong {
  font-weight: 700;
  color: var(--text-primary);
}

.payment-meta small {
  color: rgba(226, 232, 240, 0.7);
}

.footer-trust {
  margin-top: 1.25rem;
}

.trust-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.trust-badges li {
  --trust-accent: rgba(94, 234, 212, 0.95);
  --trust-soft: rgba(94, 234, 212, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.92);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.25);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease),
    border-color var(--motion-duration-fast) var(--motion-ease);
}

.trust-badges li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--trust-soft), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.trust-badges li > * {
  position: relative;
  z-index: 1;
}

.trust-badge[data-trust="shipping"] {
  --trust-accent: rgba(34, 211, 238, 0.95);
  --trust-soft: rgba(34, 211, 238, 0.12);
}

.trust-badge[data-trust="secure"] {
  --trust-accent: rgba(94, 234, 212, 0.95);
  --trust-soft: rgba(94, 234, 212, 0.12);
}

.trust-badge[data-trust="warranty"] {
  --trust-accent: rgba(56, 189, 248, 0.95);
  --trust-soft: rgba(56, 189, 248, 0.12);
}

.trust-badge[data-trust="mx"] {
  --trust-accent: rgba(251, 191, 36, 0.95);
  --trust-soft: rgba(251, 191, 36, 0.12);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--trust-accent);
}

.trust-badges li:hover {
  transform: translateY(-2px);
  border-color: var(--trust-accent);
  box-shadow: 0 22px 46px rgba(2, 6, 23, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .trust-icon {
    animation: floatMicro 3.2s ease-in-out infinite;
  }

  .trust-badges li {
    animation: neonPulse 5.2s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .footer-trust.is-visible .trust-badges li {
    animation: trustIn 560ms var(--motion-ease) both;
  }

  .footer-trust.is-visible .trust-badges li:nth-child(1) {
    animation-delay: 60ms;
  }

  .footer-trust.is-visible .trust-badges li:nth-child(2) {
    animation-delay: 120ms;
  }

  .footer-trust.is-visible .trust-badges li:nth-child(3) {
    animation-delay: 180ms;
  }

  .footer-trust.is-visible .trust-badges li:nth-child(4) {
    animation-delay: 240ms;
  }
}

.newsletter label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .newsletter-row {
    grid-template-columns: 1fr;
  }
  .newsletter-row .btn {
    width: 100%;
  }
}

.newsletter input[type="email"] {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
  color: var(--text-primary);
}

.newsletter-status {
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.newsletter-turnstile {
  margin-top: 0.75rem;
}

.newsletter-status.is-ok {
  color: #86efac;
}

.newsletter-status.is-error {
  color: #fca5a5;
}

@media (prefers-reduced-motion: no-preference) {
  .footer-extras.is-visible .footer-newsletter-card {
    animation: newsletterFloat 7s ease-in-out infinite;
  }

  .footer-extras.is-visible .footer-newsletter-card::after {
    animation: newsletterGlowShift 9s ease-in-out infinite;
  }

  .footer-extras.is-visible .footer-newsletter-card .btn-primary {
    animation: btnPulseGlow 4.5s ease-in-out infinite;
  }

  .footer-extras.is-visible .footer-newsletter-card .ui-icon--live {
    animation: iconNudge 2.8s ease-in-out infinite;
  }

  .footer-extras.is-visible .footer-newsletter-card .newsletter-row input {
    animation: newsletterInputGlow 6s ease-in-out infinite;
  }

  .newsletter-status.is-ok,
  .newsletter-status.is-error {
    animation: newsletterStatusIn 360ms ease-out;
  }
}

@keyframes newsletterFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes newsletterGlowShift {
  0% {
    opacity: 0.65;
    transform: translateY(0);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-4px);
  }
  100% {
    opacity: 0.65;
    transform: translateY(0);
  }
}

@keyframes newsletterInputGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(94, 234, 212, 0);
  }
  50% {
    box-shadow: 0 0 16px rgba(94, 234, 212, 0.2);
  }
}

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

/* ===== Process ===== */
.process-container {
  display: grid;
  gap: 2rem;
}

.process-copy {
  display: grid;
  gap: 1.5rem;
}

.process-cta ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.process-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
  padding: 0;
}

.process-step {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color var(--motion-duration-fast) var(--motion-ease),
    transform var(--motion-duration-fast) var(--motion-ease),
    box-shadow var(--motion-duration-fast) var(--motion-ease);
}

.process-step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-secondary);
}

.process-step:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 18px 36px rgba(6, 182, 212, 0.12);
  transform: translateY(-6px);
}

@media (min-width: 992px) {
  .process-container {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

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

  .process-step {
    min-height: 220px;
  }
}

/* ===== Efectos de Partículas para Promos === */
.promo-anim-confetti::before,
.promo-anim-confetti::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--promo-accent);
  opacity: 0;
  animation: confetti-fall 3s ease-in-out infinite;
  pointer-events: none;
}

.promo-anim-confetti::before {
  top: -10px;
  left: 20%;
  animation-delay: 0s;
  border-radius: 50%;
}

.promo-anim-confetti::after {
  top: -10px;
  right: 20%;
  animation-delay: 1.5s;
  border-radius: 2px;
  transform: rotate(45deg);
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(300px) rotate(720deg);
  }
}

.promo-anim-pulse-grow .promo-icono {
  animation: pulse-grow 2s ease-in-out infinite;
}

@keyframes pulse-grow {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.promo-anim-zoom-in {
  animation: zoom-in 0.5s ease-out;
}

@keyframes zoom-in {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.promo-anim-slide-right {
  animation: slide-right 0.6s ease-out;
}

@keyframes slide-right {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.promo-anim-pop {
  animation: pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pop {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.promo-anim-bounce .promo-icono {
  animation: bounce-icon 2s ease-in-out infinite; /* Reutilizando bounce-icon definido en línea 971 */
}

/* Animación bounce consolidada - ver bounce-icon línea 971 */

.promo-anim-rotate-3d .promo-icono {
  animation: rotate-3d 4s ease-in-out infinite;
}

@keyframes rotate-3d {
  0%,
  100% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: rotateY(10deg) rotateX(5deg);
  }
  50% {
    transform: rotateY(0deg) rotateX(-5deg);
  }
  75% {
    transform: rotateY(-10deg) rotateX(5deg);
  }
}

.promo-anim-flip .promo-icono {
  animation: flip 3s ease-in-out infinite;
}

@keyframes flip {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

.promo-anim-slide-in {
  animation: slide-in 0.5s ease-out;
}

@keyframes slide-in {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.promo-anim-fade-scale {
  animation: fade-scale 0.6s ease-out;
}

@keyframes fade-scale {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.promo-anim-slide-bounce {
  animation: slide-bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slide-bounce {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  60% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.promo-anim-pulse-fast .promo-badge {
  animation: pulse-fast 1s ease-in-out infinite;
}

@keyframes pulse-fast {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* ===== Utilities ===== */
.hidden {
  display: none;
}

/* Spacing utilities */
.mt-2 {
  margin-top: 0.5rem;
}

/* Noscript email styling */
.noscript-email {
  display: block;
  color: #9ca3af;
}
.noscript-email--spaced {
  margin-top: 0.5rem;
}

/* Grid helpers */
.span-full {
  grid-column: 1 / -1;
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body::before {
    animation: none !important;
  }
}

/* ===== CLASES DE BADGES PARA PROMOCIONES ===== */
/* Agregado automáticamente por script de mejoras */

.badge--valor {
  background: #7ec8e3 !important;
}

.badge--premium {
  background: #9b59b6 !important;
}

.badge--envio {
  background: #e74c3c !important;
}

.badge--cultural {
  background: #10b981 !important;
}

.badge--textura {
  background: #6366f1 !important;
}

.badge--equilibrio {
  background: #fb923c !important;
}

.badge--volumen {
  background: #e74c3c !important;
}

.badge--addon {
  background: #10b981 !important;
}

.precio-unidad {
  font-size: 1rem;
  color: #94a3b8;
}

.improvements--green {
  border-left-color: #10b981 !important;
}

/* ===== FIN DE CLASES DE BADGES ===== */
