.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.05rem;
  background: linear-gradient(135deg, #25d366, #0fb158);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 1200;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 160ms ease, visibility 160ms ease;
}

.whatsapp-fab:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(18, 160, 82, 0.35);
}

.whatsapp-fab:active {
  transform: translateY(0);
}

.whatsapp-fab__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.whatsapp-fab__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  fill: #fff;
  color: #fff;
}

.whatsapp-fab__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.whatsapp-fab__title {
  font-size: 0.95rem;
}

.whatsapp-fab__subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
}

.whatsapp-fab--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem 0.8rem;
    gap: 0.5rem;
  }

  .whatsapp-fab__icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .whatsapp-fab__title {
    font-size: 0.9rem;
  }

  .whatsapp-fab__subtitle {
    display: none;
  }
}
