/* ==== ESTILOS DEL FOOTER (aislados, sin afectar al body) ==== */

.footer {
  background-color: #2a2a2a;
  color: white;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer .container {
  width: 100%;
  max-width: 1120px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Título elegante */
.footer h2 {
  font-size: 29px;
  margin-bottom: 10px;
  font-family: "Georgia", serif;
  color: #d69a0c;
  margin-top: 40px;
  letter-spacing: 2px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.footer p {
  color: #bbb;
  margin: 0.3rem 0;
}

/* Listas de navegación */
.footer-nav {
  display: flex;
  gap: 40px;
  margin: 20px 0;
  font-family: "Georgia", serif;
  text-transform: uppercase;
}

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

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 18px;
}

.footer-nav ul li a:hover {
  color: #b98e2b;
}

/* Redes sociales */
.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  border-bottom: 2px solid #d69a0c;
  padding: 10px;
}

.social-icons a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 25px;
  background-color: #404040;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

/* Hover effects por red social */
.social-icons a.fa-whatsapp:hover {
  background-color: #25d366;
}

.social-icons a.fa-facebook:hover {
  background-color: #1877f2;
}

.social-icons a.fa-instagram:hover {
  background: radial-gradient(
    circle at 30% 30%,
    #feda77,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
}

.social-icons a.fa-tiktok:hover {
  background-color: #010101;
}

/* Texto bajo íconos */
.social-container p {
  padding: 5px;
  font-size: 20px;
}

.copyright {
  width: 100%;
}

/* Aviso de copyright */
.copyright p {
  margin-top: 10px;
  font-size: 14px;
  color: #dddcdc;
  text-align: center;
}

/* Responsividad */
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
}
