/* ============================
   FOOTER – Estilos generales
   Tema: Regalos ARY – Producción
============================ */

#site-footer {
  background-color: var(--color-header-footer); /* Rosa fuerte (igual que el header) */
  padding: 2.5rem 1.25rem;
  color: var(--color-claro);
  font-family: var(--fuente-principal);
  font-size: 1rem;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.footer-links a,
.footer-social a {
  color: var(--color-claro);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--color-hover); /* Hover rosa intenso */
}

.footer-social a {
  font-weight: bold;
}

/* ============================
   BOTÓN WHATSAPP FLOTANTE
============================ */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: var(--color-claro);
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* Texto emergente */
.whatsapp-text {
  opacity: 0;
  transform: translateX(-20px);
  margin-left: 10px;
  background-color: var(--color-destacado);
  padding: 6px 12px;
  color: var(--color-claro);
  font-size: 1rem;
  border-radius: 20px;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

/* Animación pulsante */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ============================
   RESPONSIVE DESIGN
============================ */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    padding: 0;
  }

  .whatsapp-text {
    display: none; /* Oculto en móviles */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}
