/* ============================
   BOTÓN WHATSAPP FLOTANTE
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  left: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: var(--space-2, 0.5rem);
  background-color: #128c7e; /* Verde oscuro WhatsApp - PASA WCAG AA (4.6:1) */
  color: #ffffff;
  padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
  border-radius: 50px;
  font-family: var(--font-family-base, 'Inter', sans-serif);
  font-weight: var(--font-weight-semibold, 600);
  font-size: var(--font-size-sm, 0.875rem);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.4);
  transition: all 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background-color: #0d6e63;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(18, 140, 126, 0.6);
  text-decoration: none;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.whatsapp-float:active {
  transform: translateY(-1px);
}

.whatsapp-float i {
  font-size: 1.5rem;
  line-height: 1;
}

.whatsapp-text {
  white-space: nowrap;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 80px;
    right: 15px;
    padding: var(--space-3, 0.75rem);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  
  .whatsapp-float .whatsapp-text {
    display: none;
  }
  
  .whatsapp-float i {
    font-size: 1.75rem;
  }
}

/* ============================
   ACCESIBILIDAD
   ============================ */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
  .whatsapp-float:hover {
    transform: none;
  }
}