/* =============================================================
   NAVBAR Y FOOTER — El "chrome" del sitio
   Los dos elementos presentes en todas las paginas.
   ============================================================= */


/* ---------- Navbar ---------- */
/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(13,27,110,0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  padding: 0.65rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 38px;
  width: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.nav-logo img:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 6px 18px rgba(240, 165, 0, 0.55)) brightness(1.12);
}

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

.nav-links a {
  font-family: var(--font-titulo);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--blanco); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--blanco);
  transition: background 0.2s;
}
.nav-social:hover { background: rgba(255,255,255,0.2); }
.nav-social svg { width: 15px; height: 15px; fill: currentColor; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--blanco);
  border-radius: 2px;
}

/* ---------- Footer ---------- */
/* =============================================
   FOOTER
============================================= */
.footer { background: #070d35; padding: 2rem 0; }
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo img { height: 32px; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 0.65rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.14); color: var(--blanco); }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }
