/* =====================
   FOOTER GENERAL
===================== */

.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

/* =====================
   GRID DEL FOOTER
===================== */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
  text-align: center; /* 🔥 TODO CENTRADO */
}

/* =====================
   SECCIONES
===================== */

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 380px;
  margin: auto;
}

/* =====================
   LISTAS (HORARIOS)
===================== */

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

.footer-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

/* =====================
   REDES SOCIALES (ICONOS REALES)
===================== */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  transition: all .3s ease;
}

/* Hover general */
.social-icons a:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

/* Colores por red */
.social-icons a:nth-child(1):hover { background: #1877f2; } /* Facebook */
.social-icons a:nth-child(2):hover { background: #25d366; } /* WhatsApp */
.social-icons a:nth-child(3):hover { background: #ff0000; } /* YouTube */
.social-icons a:nth-child(4):hover { background: #000000; } /* TikTok */

/* =====================
   LÍNEA INFERIOR
===================== */

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-section h3 {
    font-size: 1.4rem;
  }

  .footer-section h4 {
    font-size: 1.05rem;
  }

  .social-icons a {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}
