/**
 * Estilos del Pie de Página y Animaciones de Desplazamiento.
 * Controla la información de copyright, enlaces sociales y clases de revelación progresiva.
 */
/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-logo img { height: 32px; }

.footer-logo span {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-centro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Neutraliza las reglas fijas globales del <nav> principal para mantener los enlaces dentro del footer */
footer nav.footer-legal {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  height: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.25rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(238, 239, 245, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--gold2);
  text-decoration: underline;
}

.footer-legal a:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-legal-sep {
  color: var(--text-muted);
  font-size: 0.78rem;
  user-select: none;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover { border-color: var(--gold2); color: var(--gold2); }
.footer-social a:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.footer-social a svg { width: 16px; height: 16px; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
