/* ─────────────────────────────────────────────────────────────────────
 * Wonderland · footer global
 *
 * Footer único para toda la web. El HTML del bloque <footer>...</footer>
 * se mantiene idéntico en todas las páginas (insertado por script en
 * cada HTML) y los estilos viven aquí.
 * ───────────────────────────────────────────────────────────────────── */

footer {
  padding: 4rem 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  background: transparent;
}

footer .footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold, #c9a84c);
  opacity: 0.7;
  letter-spacing: 0.15em;
  text-decoration: none;
}
footer .footer-logo:hover { opacity: 0.95; }

footer .footer-note {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(245, 238, 220, 0.3);
  margin: 0;
}

footer .footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
footer .footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 76, 0.4);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
footer .footer-links a:hover { color: var(--gold, #c9a84c); }

footer .footer-legal {
  width: 100%;
  margin-top: 1.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 238, 220, 0.25);
  text-align: center;
}
footer .footer-legal a {
  color: inherit;
  text-decoration: none;
  margin: 0 0.8rem;
  transition: color 0.3s ease;
}
footer .footer-legal a:hover { color: rgba(201, 168, 76, 0.6); }

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 1.5rem;
  }
  footer .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
