/* Header minimalista y responsivo */
/* Base global mínima
   Motivo: normalizar el comportamiento entre navegadores y evitar que las imágenes
   se desborden o se muestren gigantes cuando el CSS no se aplica por caché.
*/
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
.logo { max-height: 80px; width: auto; }

#site-header {
  background-color: #000000;
  border-bottom: 1px solid #969696;
  width: 100%;
}

.site-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 8px 10px; /* Área táctil amigable */
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #178d20;
  outline: none;
  background-color: rgba(255,255,255,0.06);
}

.nav-link[aria-current="page"] {
  color: #9ca3af;
}

@media (max-width: 768px) {
  .nav-list { gap: 18px; padding: 12px 12px; }
  .nav-link { font-size: 0.95rem; padding: 8px 10px; }
}

@media (max-width: 480px) {
  .nav-list { gap: 14px; }
  .nav-link { font-size: 0.9rem; }
}