/* ==========================================================
   LLAVE EXTRA – ESTILOS DEL HEADER GLOBAL
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Poppins:wght@400;500&display=swap');

/* --- Ajustes base --- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

/* ----------------------------------------------------------
   ENCABEZADO PRINCIPAL
   ---------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #f47a0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  z-index: 1000;
  padding: 0.8rem 0 0.5rem;
  animation: fadeInDown 1.2s ease;
}

/* --- Logo y título --- */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width: 55px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin: 0.3rem 0 0.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Slogan --- */
.slogan {
  font-size: 1rem;
  color: #f47a0b;
  margin-top: 0.3rem;
  opacity: 0.9;
  animation: fadeIn 2s ease;
}

/* --- Navegación --- */
nav {
  margin-top: 0.4rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
  color: #f47a0b;
}

/* Colores personalizados */
nav a[href*="tiger"] { color: #f47a0b; }
nav a[href*="cumbre"] { color: #004C7D; }

/* --- Adaptación móvil --- */
@media (max-width: 768px) {
  nav ul { gap: 0.5rem; }
  nav a { font-size: 0.9rem; }
}

/* --- Animaciones --- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
