/* ==================== HEADER RETRO 2006-2012 - ESTILO WINDOWS VISTA/MAC OS X ==================== */

:root {
  /* Colores Retro */
  --retro-blue: #2196F3;
  --retro-blue-light: #64B5F6;
  --retro-blue-dark: #1976D2;
  --retro-purple: #9C27B0;
  --retro-glass-bg: rgba(255, 255, 255, 0.9);
  --retro-glass-border: rgba(255, 255, 255, 0.8);
  
  /* Header */
  --header-height: 70px;
  --header-transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --header-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==================== HEADER PRINCIPAL TIPO WINDOWS VISTA AERO ==================== */

.site-header {
  /* Efecto vidrio translúcido tipo Aero Glass */
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(245, 248, 255, 0.9) 30%,
    rgba(235, 242, 255, 0.92) 70%,
    rgba(225, 235, 255, 0.95) 100%);
  
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  
  padding: 8px 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  z-index: 90;
  
  /* Bordes brillantes tipo Vista */
  border-bottom: 1px solid var(--retro-glass-border);
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.2),
    0 8px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  
  min-height: var(--header-height);
  gap: 1.5rem;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

/* Brillo superior tipo Windows Aero */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Reflejo inferior */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(0deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.03) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==================== ESTRUCTURA HEADER ==================== */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==================== LOGO CON EFECTOS RETRO ==================== */
.site-header .logo-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.site-header .logo {
  height: 50px;
  transition: var(--header-transition);
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
  
  /* Sombra tipo drop shadow clásico */
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.site-header .logo:active {
  transform: scale(0.95);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* ==================== BOTÓN HAMBURGUESA TIPO BOTÓN 3D ==================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  
  /* Botón 3D tipo Windows */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(245, 248, 255, 0.9) 50%,
    rgba(235, 242, 255, 0.95) 100%);
  
  border: 1px solid rgba(180, 200, 230, 0.8);
  border-radius: 8px;
  padding: 0.65rem;
  cursor: pointer;
  gap: 4px;
  z-index: 92;
  transition: var(--header-transition);
  touch-action: manipulation;
  position: relative;
  
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Brillo en hamburger */
.menu-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

.hamburger-line {
  width: 22px;
  height: 2.5px;
  background: linear-gradient(180deg, #1976D2 0%, #0D47A1 100%);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.menu-toggle:active {
  transform: scale(0.95);
  background: linear-gradient(180deg,
    rgba(100, 181, 246, 0.9) 0%,
    rgba(64, 169, 255, 0.85) 50%,
    rgba(33, 150, 243, 0.9) 100%);
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* ==================== NAVEGACIÓN DESKTOP TIPO BOTONES GEL ==================== */
.site-header nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  justify-content: center;
  margin: 0 1rem;
}

.site-header nav a {
  /* Botón tipo gel/cristal */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 255, 0.9) 45%,
    rgba(240, 245, 255, 0.92) 55%,
    rgba(235, 242, 255, 0.95) 100%);
  
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 18px;
  transition: var(--header-transition);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--retro-blue-dark);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  
  /* Bordes brillantes tipo botón 3D */
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Brillo superior en botones */
.site-header nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

/* Reflejo inferior en botones */
.site-header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(0deg,
    rgba(0, 0, 0, 0.08) 0%,
    transparent 100%);
  pointer-events: none;
}

/* Iconos en navegación */
.site-header nav a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  transition: transform var(--header-transition);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.site-header nav a:active {
  transform: translateY(1px) scale(0.98);
  background: linear-gradient(180deg,
    rgba(33, 150, 243, 0.9) 0%,
    rgba(25, 118, 210, 0.85) 50%,
    rgba(66, 165, 245, 0.9) 100%);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* Destacar botón especial */
.site-header nav a.nav-highlight {
  background: linear-gradient(180deg, 
    #FFD54F 0%, 
    #FFC107 50%,
    #FFA000 100%);
  border-color: rgba(255, 193, 7, 0.8);
  color: #5D4037;
  font-weight: 700;
  box-shadow: 
    0 3px 8px rgba(255, 152, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  animation: goldGlow 2s ease-in-out infinite;
}

@keyframes goldGlow {
  0%, 100% { 
    box-shadow: 
      0 3px 8px rgba(255, 152, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.7); 
  }
  50% { 
    box-shadow: 
      0 4px 12px rgba(255, 152, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 20px rgba(255, 193, 7, 0.5);
  }
}

/* ==================== OVERLAY MÓVIL ==================== */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 89;
}

/* ==================== NAVEGACIÓN MÓVIL TIPO PANEL VISTA ==================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  
  /* Panel tipo Vista Sidebar */
  background: linear-gradient(180deg,
    rgba(245, 248, 255, 0.98) 0%,
    rgba(235, 242, 255, 0.96) 50%,
    rgba(225, 235, 255, 0.98) 100%);
  
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 1.5rem 1rem;
  margin: 0;
  gap: 0.5rem;
  z-index: 91;
  overflow-y: auto;
  
  border-top: 1px solid rgba(200, 220, 255, 0.8);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  display: flex;
  transform: translateX(0);
}

.mobile-nav a {
  width: 100%;
  padding: 1rem 1.3rem;
  font-size: 1rem;
  border-radius: 12px;
  
  /* Botón tipo lista de Windows */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 255, 0.9) 50%,
    rgba(240, 245, 255, 0.95) 100%);
  
  border: 1px solid rgba(200, 220, 255, 0.8);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--retro-blue-dark);
  text-decoration: none;
  transition: var(--header-transition);
  min-height: 55px;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Brillo en items móviles */
.mobile-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

.mobile-nav a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.mobile-nav a:active {
  background: linear-gradient(180deg,
    rgba(100, 181, 246, 0.9) 0%,
    rgba(64, 169, 255, 0.85) 50%,
    rgba(33, 150, 243, 0.9) 100%);
  color: white;
  transform: scale(0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* ==================== BOTÓN PERSONALIZACIÓN TIPO BOTÓN CIRCULAR VISTA ==================== */
.site-header .customize-gear {
  position: relative;
  
  /* Botón circular tipo Vista */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(245, 248, 255, 0.9) 50%,
    rgba(235, 242, 255, 0.95) 100%);
  
  border: 1px solid rgba(200, 220, 255, 0.8);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--header-transition);
  color: var(--retro-blue-dark);
  
  box-shadow: 
    0 3px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  margin-left: auto;
}

/* Brillo en gear */
.site-header .customize-gear::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.2) 40%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.site-header .customize-gear svg {
  width: 22px;
  height: 22px;
  transition: transform var(--header-transition);
  stroke: currentColor;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Efecto de pulso */
.gear-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.3);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}

.site-header .customize-gear:active .gear-pulse {
  animation: gearPulse 0.6s ease-out;
}

@keyframes gearPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.site-header .customize-gear:active {
  transform: scale(0.92);
  background: linear-gradient(180deg,
    rgba(100, 181, 246, 0.9) 0%,
    rgba(64, 169, 255, 0.85) 50%,
    rgba(33, 150, 243, 0.9) 100%);
  color: white;
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* ==================== HOVER EFFECTS (Solo desktop) ==================== */
@media (hover: hover) {
  .site-header .logo:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 4px 8px rgba(33, 150, 243, 0.5));
    animation: logoFloat 2s ease-in-out infinite;
  }

  @keyframes logoFloat {
    0%, 100% { transform: scale(1.05) rotate(-2deg) translateY(0); }
    50% { transform: scale(1.05) rotate(-2deg) translateY(-3px); }
  }

  .site-header nav a:hover {
    background: linear-gradient(180deg,
      rgba(100, 181, 246, 0.95) 0%,
      rgba(64, 169, 255, 0.9) 45%,
      rgba(33, 150, 243, 0.92) 55%,
      rgba(25, 118, 210, 0.95) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
      0 4px 12px rgba(33, 150, 243, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 20px rgba(33, 150, 243, 0.3);
  }

  .site-header nav a:hover::before {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%);
  }

  .site-header nav a:hover svg {
    transform: translateY(-2px);
  }

  .menu-toggle:hover {
    background: linear-gradient(180deg,
      rgba(200, 230, 255, 0.95) 0%,
      rgba(180, 220, 255, 0.9) 50%,
      rgba(160, 210, 255, 0.95) 100%);
    box-shadow: 
      0 3px 10px rgba(33, 150, 243, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .site-header .customize-gear:hover {
    background: linear-gradient(180deg,
      rgba(150, 200, 255, 0.95) 0%,
      rgba(120, 180, 245, 0.9) 50%,
      rgba(100, 170, 240, 0.95) 100%);
    color: white;
    box-shadow: 
      0 4px 12px rgba(33, 150, 243, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 20px rgba(33, 150, 243, 0.3);
    transform: scale(1.08);
  }

  .site-header .customize-gear:hover svg {
    transform: rotate(90deg);
  }
}

/* ==================== RESPONSIVE: TABLET & MÓVIL ==================== */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .site-header {
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 10px 4%;
  }
  
  .menu-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }
  
  .site-header nav {
    display: none;
  }
  
  .logo-container {
    order: 1;
  }
  
  .site-header .logo {
    height: 45px;
  }
  
  .site-header .customize-gear {
    order: 3;
    width: 42px;
    height: 42px;
    margin-left: 0.5rem;
  }
  
  .site-header .customize-gear svg {
    width: 20px;
    height: 20px;
  }
  
  .site-header.mobile-nav-active ~ .nav-overlay {
    display: block;
  }
  
  /* Animación hamburguesa a X */
  .site-header.mobile-nav-active .menu-toggle .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: linear-gradient(180deg, #F44336 0%, #C62828 100%);
  }
  
  .site-header.mobile-nav-active .menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .site-header.mobile-nav-active .menu-toggle .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: linear-gradient(180deg, #F44336 0%, #C62828 100%);
  }
  
  .site-header.mobile-nav-active .menu-toggle {
    background: linear-gradient(180deg,
      rgba(255, 205, 210, 0.95) 0%,
      rgba(239, 154, 154, 0.9) 50%,
      rgba(229, 115, 115, 0.95) 100%);
  }
}

/* ==================== MÓVIL PEQUEÑO ==================== */
@media (max-width: 480px) {
  .site-header {
    padding: 8px 4%;
    gap: 0.75rem;
  }
  
  .site-header .logo {
    height: 42px;
  }
  
  .menu-toggle {
    padding: 0.55rem;
  }
  
  .hamburger-line {
    width: 20px;
  }
  
  .site-header .customize-gear {
    width: 40px;
    height: 40px;
  }
  
  .site-header .customize-gear svg {
    width: 18px;
    height: 18px;
  }
  
  .mobile-nav {
    padding: 1.2rem 0.8rem;
    gap: 0.4rem;
  }
  
  .mobile-nav a {
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    min-height: 52px;
  }

  .mobile-nav a svg {
    width: 20px;
    height: 20px;
  }
}

/* ==================== MÓVIL MUY PEQUEÑO ==================== */
@media (max-width: 360px) {
  .site-header {
    padding: 8px 3%;
    gap: 0.5rem;
  }
  
  .site-header .logo {
    height: 38px;
  }
  
  .menu-toggle {
    padding: 0.5rem;
  }
  
  .hamburger-line {
    width: 18px;
    height: 2px;
  }
  
  .site-header .customize-gear {
    width: 38px;
    height: 38px;
  }
  
  .site-header .customize-gear svg {
    width: 17px;
    height: 17px;
  }
  
  .mobile-nav a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    min-height: 50px;
  }
}

/* ==================== TABLET HORIZONTAL ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-header {
    gap: 1rem;
    padding: 10px 4%;
  }
  
  .site-header nav {
    gap: 8px;
  }
  
  .site-header nav a {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  
  .site-header .logo {
    height: 48px;
  }
}

/* ==================== PANTALLAS GRANDES ==================== */
@media (min-width: 1920px) {
  .site-header {
    padding: 12px 8%;
  }

  .site-header .logo {
    height: 60px;
  }

  .site-header nav a {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

/* ==================== ACCESIBILIDAD ==================== */
.site-header nav a:focus-visible,
.site-header .customize-gear:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--retro-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-header::after,
  .site-header .logo,
  .site-header nav a,
  .site-header .customize-gear,
  .mobile-nav,
  .gear-pulse {
    transition: none;
    animation: none;
  }
}

/* ==================== LANDSCAPE EN MÓVILES ==================== */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-nav {
    padding: 1rem 1rem;
    gap: 0.4rem;
  }
  
  .mobile-nav a {
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
    min-height: 48px;
  }
  
  .site-header {
    min-height: 60px;
  }
  
  .site-header .logo {
    height: 40px;
  }
}

/* ==================== FIX SAFARI iOS ==================== */
@supports (-webkit-touch-callout: none) {
  .site-header {
    -webkit-transform: translate3d(0, 0, 0);
  }
  
  .mobile-nav {
    -webkit-transform: translateX(-100%);
  }
}

/* ==================== MEJORAS VISUALES ADICIONALES ==================== */

/* Indicador de página activa */
.site-header nav a.active {
  background: linear-gradient(180deg,
    rgba(33, 150, 243, 0.9) 0%,
    rgba(25, 118, 210, 0.85) 50%,
    rgba(21, 101, 192, 0.9) 100%);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 
    0 3px 8px rgba(33, 150, 243, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.site-header nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--retro-blue), 
    transparent);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--retro-blue);
}

/* Optimización de performance */
.site-header,
.site-header * {
  will-change: auto;
}

.site-header nav a:hover,
.site-header .customize-gear:hover {
  will-change: transform, background, border-color;
}

/* ==================== CLASES AUXILIARES ==================== */

.nav-hidden {
  display: none !important;
}

.nav-visible {
  display: flex !important;
}

/* ==================== FINAL DEL ARCHIVO ==================== */