/* ===== VARIABLES PREMIUM ===== */
:root {
  /* Paleta principal - Inspirada en Ledefyl/Insside */
  --primary: #0f172a;        /* Azul noche profundo */
  --primary-light: #1e293b;  /* Azul pizarra */
  --accent: #3b82f6;         /* Azul eléctrico */
  --accent-warm: #f59e0b;    /* Ámbar cálido */
  
  /* Neutros sofisticados */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Estados */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Efectos premium */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.16);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Tipografía */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;
  
  /* Espaciado */
  --section-padding: clamp(4rem, 8vw, 8rem);
}

/* ===== BASE PREMIUM ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== UTILIDADES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 960px; }
.container-wide { max-width: 1440px; }

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

/* Gradientes */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-bg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.gradient-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
}

/* ===== BOTONES PREMIUM ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-sm { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; }
.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--primary);
}

/* ===== HEADER PREMIUM ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  padding: 0.625rem 1.125rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray-600);
  transition: var(--transition);
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--gray-100);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
}

/* ===== HERO PREMIUM ===== */
.hero {
 position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(6rem + env(safe-area-inset-top)) 0 4rem;
  /* Fondo oscuro con gradiente animado */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0a0f1d 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
}

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

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2394a3b8' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

/* Patrón de cuadrícula sutil */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  border-radius: 2px;
  opacity: 0.5;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

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

/* Botones adaptados para fondo oscuro */
.hero .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.hero .btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.hero-stat {
  text-align: center;
}

.hero-stat .value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-stat .label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Animación flotante para elementos del hero */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-badge {
  animation: float 4s ease-in-out infinite;
}

/* Responsive para hero oscuro */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===== SECCIONES PREMIUM ===== */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CARDS PREMIUM ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.975rem;
}

/* ===== FEATURES PREMIUM ===== */
.features {
  background: var(--gray-50);
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.feature-content h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.375rem;
  font-size: 1.125rem;
}

.feature-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== CTA PREMIUM ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ===== FOOTER PREMIUM ===== */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1.25rem;
  display: inline-flex;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-section a {
  display: block;
  color: var(--gray-400);
  margin-bottom: 0.625rem;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9375rem;
}

.footer-section a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate:nth-child(1) { animation-delay: 0.1s; }
.animate:nth-child(2) { animation-delay: 0.2s; }
.animate:nth-child(3) { animation-delay: 0.3s; }
.animate:nth-child(4) { animation-delay: 0.4s; }

/* ===== RESPONSIVE PREMIUM ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block !important;
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    color: var(--primary) !important;
  }
  
  .nav-menu {
    display: none !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .nav-menu.active {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 1rem 1.5rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    z-index: 9999 !important;
    border-top: 1px solid #e2e8f0 !important;
    gap: 0 !important;
  }
  
  .nav-menu.active li {
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  
  .nav-menu.active li:last-child {
    border-bottom: none !important;
  }
  
  .nav-menu.active a {
    padding: 1rem 0 !important;
    display: block !important;
    width: 100% !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  
  .nav-menu.active a:last-child {
    border-bottom: none !important;
  }  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .card {
    padding: 1.75rem;
  }
}
/* Hover para tarjetas de industria */
div[style*="grid-template-columns: repeat(auto-fit"] > div {
  cursor: default;
}
div[style*="grid-template-columns: repeat(auto-fit"] > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent) !important;
}
/* WhatsApp Widget Premium */
.wa-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  font-family: var(--font-sans);
}

.wa-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: grid;
  place-items: center;
  transition: var(--transition);
  position: relative;
}

.wa-trigger:hover { transform: scale(1.05); }
.wa-trigger svg { width: 32px; height: 32px; }

/* Pulse animation */
.wa-trigger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.wa-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  transform: scale(0.9) translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow: hidden;
}

.wa-popup.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.wa-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
}
.wa-close:hover { opacity: 1; transform: rotate(90deg); }

.wa-body {
  padding: 1.25rem;
  color: var(--gray-700);
  line-height: 1.5;
  background: var(--white);
}

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 1.25rem 1.25rem;
  padding: 0.875rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,211,102,0.3); }

/* Responsive */
@media (max-width: 480px) {
  .wa-widget { bottom: 1rem; right: 1rem; }
  .wa-popup { width: calc(100vw - 2rem); right: 0; }
}
#wa-float { display: none !important; }
/* ===== MENÚ MÓVIL - OVERRIDE DEFINITIVO ===== */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block !important;
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    color: var(--primary) !important;
  }
  
  .nav-menu {
    display: none !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .nav-menu.active {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    padding: 1rem 1.5rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    z-index: 9999 !important;
    border-top: 1px solid #e2e8f0 !important;
    gap: 0 !important;
  }
  
  .nav-menu.active li {
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  
  .nav-menu.active li:last-child {
    border-bottom: none !important;
  }
  
  .nav-menu.active a {
    padding: 1rem 0 !important;
    display: block !important;
    width: 100% !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  
  .nav-menu.active a:last-child {
    border-bottom: none !important;
  }
}
