/**
 * Float WhatsApp Button CSS
 * Estilos idénticos al botón original del sitio
 */

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: white;
  text-decoration: none;
}

.whatsapp-btn i {
  font-size: 1.5rem;
}

.whatsapp-text {
  font-weight: 600;
  white-space: nowrap;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .whatsapp-text {
    display: none;
  }

  .whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-btn i {
    font-size: 1.3rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-btn {
    animation: none;
  }

  .whatsapp-btn:hover {
    transform: none;
  }
}

/* Focus styles for accessibility */
.whatsapp-btn:focus {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .whatsapp-btn {
    border: 2px solid #25D366;
  }
}