/* =========================================================
   FOOTER GLOBAL · /css_new/footer.css
   (Sustituye al footer.css actual: incluye los estilos que antes
   iban en el <style> de footer.html)
   ========================================================= */

:root {
  --magic-gradient-main: linear-gradient(135deg, #cf2223 0%, #8a0e0f 100%);
  --disney-white: #fff;
}

/* --- Estructura --- */
.footer {
  position: relative;
  overflow: hidden;
  padding: 60px 0 20px;
  background: var(--magic-gradient-main);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--disney-white);
  font-family: "Poppins", sans-serif;
  text-align: left;
}

/* Brillo decorativo superior */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-heading {
  margin: 0 0 50px;
  color: var(--disney-white);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* --- Grid de navegación --- */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

/* Títulos de columna (párrafos, no encabezados: el footer se repite en todas las páginas) */
.footer-col-title {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 5px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  color: var(--disney-white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col-title--sep {
  margin-top: 25px;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus-visible {
  padding-left: 8px;
  color: var(--disney-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* --- Banners --- */
.footer-banner-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .footer-banner-img:hover {
    transform: scale(1.04);
    border-color: var(--disney-white);
  }
}

/* --- WhatsApp --- */
.whatsapp-container-footer {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.btn-footer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background-color: #25d366;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-footer-wa:hover,
.btn-footer-wa:focus-visible {
  background-color: #1da851;
  transform: translateY(-2px);
}

/* --- Parte inferior --- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  filter: brightness(0) invert(1);
}

.footer-nap {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-nap a {
  color: var(--disney-white);
  font-weight: 700;
  text-decoration: none;
}

.legal-links a,
.legal-links .legal-links-btn {
  margin-right: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links .legal-links-btn {
  padding: 0;
  background: none;
  border: 0;
  color: #ffcc00;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.legal-links a:hover,
.legal-links a:focus-visible,
.legal-links .legal-links-btn:hover,
.legal-links .legal-links-btn:focus-visible {
  color: var(--disney-white);
  text-decoration: underline;
}

.footer-copy-text {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.4;
}

.footer-disclaimer {
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-column ul li a,
  .footer-banner-img,
  .btn-footer-wa {
    transition: none;
  }
}
