/* ============================================================
   PROPH S.A.S — whatsapp-float.css  (CTA global fijo)
   Píldora OSCURA semitransparente (efecto vidrio). El verde es
   SOLO el círculo del ícono. Texto blanco + flecha.
   En mobile queda solo el círculo verde.
   ============================================================ */

.wa-float {
  position: fixed;
  bottom: 110px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  background: rgba(16, 29, 43, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  animation: wa-in 0.5s var(--ease) 0.4s both;
}
.wa-float:hover { transform: scale(1.03); }

.wa-float__icon-circle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-float__icon-circle svg { width: 20px; height: 20px; }

.wa-float__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.wa-float__text strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}
.wa-float__text small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}

.wa-float__arrow {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes wa-in {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Mobile: solo el círculo verde con el ícono */
@media (max-width: 767px) {
  .wa-float {
    bottom: 90px;
    right: 16px;
    padding: 6px;
    gap: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .wa-float__icon-circle {
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  .wa-float__icon-circle svg { width: 26px; height: 26px; }
  .wa-float__text,
  .wa-float__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
  .wa-float:hover { transform: none; }
}
