:root {
  /* Colores principales */
  --primary-bg: #0f1419;
  --secondary-bg: #1a2332;
  --tertiary-bg: #243447;
  --accent-gold: #d4af37;
  --accent-green: #4ade80;
  --accent-blue: #3b82f6;
  
  /* Colores de texto */
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  
  /* Bordes y sombras */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-gold: rgba(212, 175, 55, 0.15);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-dark: rgba(0, 0, 0, 0.25);
  --shadow-light: rgba(0, 0, 0, 0.09);
  
  /* Efectos y filtros */
  --blur-backdrop: blur(10px);
  
  /* Radio de bordes */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Fuentes */
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', var(--font-sans);
}

/* ==== RESET Y ESTILOS BASE ==== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 30% at 60% -10%, rgba(78, 222, 128, 0.08) 0%, transparent 80%),
    linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--tertiary-bg) 100%);
  background-attachment: fixed;
  color: var(--text-light);
  transition: all var(--transition-smooth);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==== HEADER MODERNO CON GLASSMORPHISM ==== */
.header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 3vw, 16px) clamp(16px, 5vw, 32px);
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: var(--blur-backdrop);
  -webkit-backdrop-filter: var(--blur-backdrop);
  border-bottom: 1px solid var(--border-color);
  z-index: 1001;
  transition: all var(--transition-smooth);
  min-height: 64px;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.6;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  position: relative;
  flex-shrink: 0;
}

.logo {
  height: clamp(32px, 6vw, 48px);
  transition: transform var(--transition-spring);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--text-white), var(--accent-gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

/* ==== BOTÓN HAMBURGUESA AVANZADO ==== */
.menu-toggle {
  display: none;
  position: relative;
  width: clamp(40px, 8vw, 48px);
  height: clamp(40px, 8vw, 48px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  z-index: 1002;
  transition: all var(--transition-smooth);
  backdrop-filter: var(--blur-backdrop);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: clamp(18px, 4vw, 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--text-white));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all var(--transition-spring);
}

.menu-toggle span:nth-child(1) { top: calc(50% - 8px); }
.menu-toggle span:nth-child(2) { top: calc(50% - 1px); }
.menu-toggle span:nth-child(3) { top: calc(50% + 6px); }

.menu-toggle.active span:nth-child(1) {
  top: calc(50% - 1px);
  transform: translateX(-50%) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scale(0);
}
.menu-toggle.active span:nth-child(3) {
  top: calc(50% - 1px);
  transform: translateX(-50%) rotate(-45deg);
}

/* ==== NAVEGACIÓN PREMIUM ==== */
.nav {
  flex-grow: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(4px, 1vw, 8px);
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  color: var(--text-light);
  text-decoration: none;
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 500;
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-list li a::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 var(--transition-smooth);
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
  transition: width var(--transition-smooth);
}

.nav-list li a:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-list li a:hover::before {
  left: 100%;
}

.nav-list li a:hover::after {
  width: 100%;
}

.icon {
  width: clamp(16px, 3vw, 20px);
  height: clamp(16px, 3vw, 20px);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.nav-list li a:hover .icon {
  opacity: 1;
}

/* ==== BOTÓN ADMIN PREMIUM ==== */
.nav-list li#adminMenu a {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--text-white);
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-list li#adminMenu a:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-green));
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* ==== HERO SECTION MEJORADA ==== */
.hero {
  text-align: center;
  padding: clamp(80px, 15vw, 120px) clamp(16px, 5vw, 32px) clamp(60px, 12vw, 80px);
  background: transparent;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(78, 222, 128, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 56px);
  font-weight: 800;
  margin-bottom: clamp(16px, 4vw, 24px);
  background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 50%, var(--accent-green) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ==== GALERÍA DE IMÁGENES MODERNA ==== */
.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 90vw), 1fr));
  gap: clamp(16px, 4vw, 32px);
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 20px);
}

.images img {
  width: 100%;
  height: clamp(200px, 35vw, 280px);
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-spring);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.images img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

/* ==== SECCIONES PREMIUM ==== */
.categorias,
.oferta,
.beneficios,
.nosotros,
.vigilancia {
  padding: 60px 20px;
  background: var(--secondary-bg);
  color: var(--text-white);
  text-align: center;
  position: relative;
  z-index: 1;
  margin: 20px 0;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.categorias::before,
.oferta::before,
.beneficios::before,
.nosotros::before,
.vigilancia::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 0, rgba(212,175,55,0.09) 0, transparent 70%),
    radial-gradient(circle at 10% 100%, rgba(78,222,128,0.10) 0, transparent 80%);
  z-index: -1;
  border-radius: inherit;
}

.categorias h2,
.oferta h2,
.beneficios h2,
.nosotros h2,
.vigilancia h2,
.legalidad h2 {
  margin-bottom: 36px;
  font-size: clamp(2em, 5vw, 2.4em);
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-gold), var(--text-white));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
}

/* ==== CONTENEDOR FLEXIBLE ==== */
.categorias-container,
.oferta-contenido,
.nosotros-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* ==== TARJETAS ==== */
.categoria,
.beneficios-grid > div,
.nosotros-grid div {
  background: rgba(20,38,33,0.94);
  padding: 28px 22px 22px 22px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 330px;
  color: var(--text-white);
  border: 1px solid var(--border-color-gold);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.categoria:hover,
.beneficios-grid > div:hover,
.nosotros-grid div:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

/* ==== IMÁGENES EN TARJETAS ==== */
.categoria img,
.oferta-contenido img,
.nosotros-grid img {
  max-width: 100%;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-fast);
}

.categoria img:hover,
.oferta-contenido img:hover,
.nosotros-grid img:hover {
  border-color: var(--accent-green);
}

/* ==== BOTONES Y LINKS ==== */
.categoria a,
.oferta .btn,
.legalidad .btn,
.vigilancia .btn,
.beneficios .btn {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-green) 80%);
  color: var(--primary-bg);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.categoria a:hover,
.oferta .btn:hover,
.legalidad .btn:hover,
.vigilancia .btn:hover,
.beneficios .btn:hover {
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold) 80%);
  color: var(--text-white);
  transform: translateY(-2px) scale(1.04);
}

/* ==== LEGALIDAD ==== */
.legalidad {
  padding: 80px 20px;
  background: linear-gradient(
    rgba(15, 20, 25, 0.96),
    rgba(26, 35, 50, 0.95)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  color: var(--text-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
  margin: 20px 0;
}

/* ==== OFERTA ==== */
.oferta ul {
  list-style: disc;
  padding-left: 24px;
  text-align: left;
}

/* ==== BENEFICIOS ==== */
.beneficios .intro {
  font-weight: bold;
  margin-bottom: 18px;
  font-size: 1.2em;
  color: var(--accent-gold);
  font-family: var(--font-display);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: left;
  padding-top: 30px;
}

/* ==== ANIMACIONES SCROLL ==== */
.aparecer,
.aparecer-izquierda,
.aparecer-derecha {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.aparecer.visible {
  opacity: 1;
  transform: translateY(0);
}

.aparecer-izquierda {
  transform: translateX(-50px);
}

.aparecer-izquierda.visible {
  opacity: 1;
  transform: translateX(0);
}

.aparecer-derecha {
  transform: translateX(50px);
}

.aparecer-derecha.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==== FOOTER PROFESIONAL ==== */
.footer {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  color: var(--text-light);
  padding: clamp(40px, 8vw, 64px) clamp(16px, 5vw, 32px) clamp(20px, 4vw, 32px);
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.6;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 90vw), 1fr));
  gap: clamp(20px, 5vw, 40px);
}

.footer-content div {
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.footer-content div:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.footer-content h3 {
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: clamp(12px, 2vw, 16px);
  font-size: clamp(16px, 3vw, 18px);
}

/* ==== ENLACES EN SECCIONES ==== */
.enlaces a {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: clamp(8px, 2vw, 12px);
  padding: clamp(6px, 1.5vw, 8px) clamp(8px, 2vw, 12px);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-smooth);
  font-weight: 500;
  font-size: clamp(13px, 2.5vw, 15px);
  position: relative;
  overflow: hidden;
}

.enlaces a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
  transition: width var(--transition-smooth);
}

.enlaces a:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(8px);
}

.enlaces a:hover::after {
  width: 100%;
}

/* ==== BOTÓN WHATSAPP MEJORADO ==== */
.whatsapp-fixed {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.whatsapp-fixed img {
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  border-radius: 50%;
  background: var(--accent-green);
  padding: clamp(6px, 1.5vw, 8px);
  border: 2px solid var(--accent-green);
  box-shadow: 0 20px 40px rgba(78, 222, 128, 0.4);
  transition: all var(--transition-spring);
  cursor: pointer;
}

.whatsapp-fixed img:hover {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 24px 48px rgba(212, 175, 55, 0.4);
}

/* ==== EXTRAS ==== */
.categoria h3,
.beneficios-grid h3,
.nosotros-grid h3 {
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 1.22em;
  margin: 16px 0 8px 0;
  font-weight: 700;
}

/* ==== SCROLLBAR ELEGANTE ==== */
::-webkit-scrollbar {
  width: clamp(6px, 1vw, 10px);
}

::-webkit-scrollbar-track {
  background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-green));
  border-radius: 10px;
  border: 2px solid var(--primary-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-green), var(--accent-gold));
}

/* ==== ANIMACIONES ADICIONALES ==== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Aplicar animaciones con mejor rendimiento */
.hero {
  animation: slideInUp 0.8s ease-out;
}

.images img {
  animation: fadeIn 0.6s ease-out;
}

.nav-list li {
  animation: slideInUp 0.4s ease-out;
}

/* ==== MEJORAS DE ACCESIBILIDAD ==== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero::before {
    animation: none;
  }
}

/* ==== RESPONSIVE MEJORADO ==== */
@media (max-width: 1024px) {
  .nav-list {
    justify-content: center;
    gap: 6px;
  }
  
  .nav-list li a {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .images {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .categorias-container,
  .oferta-contenido,
  .nosotros-grid {
    gap: 24px;
  }
  
  .categoria,
  .beneficios-grid > div,
  .nosotros-grid div {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: min(280px, 80vw);
    height: 100vh;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: var(--blur-backdrop);
    padding: clamp(60px, 15vw, 80px) clamp(16px, 4vw, 24px) 24px;
    transition: transform var(--transition-smooth);
    z-index: 1000;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(6px, 2vw, 8px);
    justify-content: flex-start;
  }
  
  .nav-list li a {
    width: 100%;
    padding: clamp(12px, 3vw, 16px) clamp(16px, 4vw, 20px);
    color: var(--text-light);
    font-size: clamp(14px, 3vw, 16px);
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    justify-content: flex-start;
  }
  
  .nav-list li a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
  }
  
  .header {
    padding: 12px 20px;
    min-height: 56px;
  }
  
  .hero {
    padding: clamp(70px, 12vw, 100px) 16px clamp(40px, 8vw, 60px);
  }
  
  .images {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
    padding: 0 16px;
  }
  
  .images img {
    height: clamp(180px, 40vw, 250px);
  }
  
  .footer {
    padding: clamp(32px, 8vw, 48px) 16px clamp(16px, 4vw, 24px);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }
  
  .categorias,
  .oferta,
  .beneficios,
  .nosotros,
  .vigilancia,
  .legalidad {
    padding: 40px 16px;
    margin: 16px 8px;
  }
  
  .categorias-container,
  .oferta-contenido,
  .nosotros-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 16px;
    min-height: 52px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  
  .hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }
  
  .nav {
    width: 90vw;
    padding: 60px 16px 16px;
  }
  
  .nav-list li a {
    padding: 12px 16px;
    font-size: 15px;
  }
  
  .footer-content div {
    padding: 16px;
  }
  
  .enlaces a {
    font-size: 14px;
  }
  
  .categorias,
  .oferta,
  .beneficios,
  .nosotros,
  .vigilancia,
  .legalidad {
    padding: 30px 12px;
    margin: 12px 4px;
  }
  
  .categoria,
  .beneficios-grid > div,
  .nosotros-grid div {
    padding: 20px 16px;
  }
}

@media (max-width: 320px) {
  .hero {
    padding: 60px 12px 40px;
  }
  
  .images {
    padding: 0 12px;
  }
  
  .footer {
    padding: 24px 12px 16px;
  }
  
  .categorias,
  .oferta,
  .beneficios,
  .nosotros,
  .vigilancia,
  .legalidad {
    padding: 24px 8px;
    margin: 8px 2px;
  }
}

/* ==== MEJORAS PARA LANDSCAPE EN MÓVILES ==== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 80px 20px 40px;
  }
  
  .hero h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  .nav {
    padding: 50px 20px 20px;
  }
}

/* ==== MEJORAS PARA PANTALLAS GRANDES ==== */
@media (min-width: 1200px) {
  .header {
    padding: 16px 40px;
  }
  
  .hero {
    padding: 140px 40px 100px;
  }
  
  .images {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
  }
  
  .footer {
    padding: 80px 40px 40px;
  }
  
  .categorias,
  .oferta,
  .beneficios,
  .nosotros,
  .vigilancia,
  .legalidad {
    padding: 80px 40px;
    margin: 30px 0;
  }
}

@media (min-width: 1600px) {
  .images {
    max-width: 1400px;
  }
  
  .footer-content {
    max-width: 1400px;
  }
  
  .categorias-container,
  .oferta-contenido,
  .nosotros-grid {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ==== ESTADOS DE FOCUS PARA ACCESIBILIDAD ==== */
.nav-list li a:focus,
.categoria a:focus,
.oferta .btn:focus,
.legalidad .btn:focus,
.vigilancia .btn:focus,
.beneficios .btn:focus,
.enlaces a:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ==== MEJORAS PARA IMPRESIÓN ==== */
@media print {
  .header,
  .menu-toggle,
  .whatsapp-fixed {
    display: none;
  }
  
  .hero,
  .categorias,
  .oferta,
  .beneficios,
  .nosotros,
  .vigilancia,
  .legalidad {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ==== UTILIDADES ADICIONALES ==== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }