/* ═══════════════════════════════════════
   BLACK BIRD — WhatsApp Floating Button
   ═══════════════════════════════════════ */

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  background-color: #333333;
  /* Gray 80% */
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.22),
    0 1px 4px rgba(0, 0, 0, 0.12);

  text-decoration: none;
  color: #fff;

  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;

  /* Subtle entrance animation */
  animation: wa-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 1.2s;
  opacity: 0;
}

@keyframes wa-pop-in {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.14);
}

.whatsapp-float:active {
  transform: scale(1.04);
}

.whatsapp-float__icon {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
  flex-shrink: 0;
}

/* Pulse ring effect */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(51, 51, 51, 0.35);
  animation: wa-pulse 2.5s ease-out infinite;
  animation-delay: 1.8s;
}

@keyframes wa-pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.22);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__icon {
    width: 26px;
    height: 26px;
  }
}