.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 9px 18px 9px 9px;
  color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #16b954 100%);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(0,0,0,.35), 0 5px 14px rgba(37,211,102,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  isolation: isolate;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.42);
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
  color: #fff;
  filter: brightness(1.04);
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 46px rgba(0,0,0,.4), 0 7px 18px rgba(37,211,102,.3);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.whatsapp-icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.whatsapp-label {
  display: flex;
  flex-direction: column;
  min-width: 128px;
  line-height: 1.15;
}

.whatsapp-label strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.whatsapp-label small {
  margin-top: 5px;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
}

.whatsapp-online {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  background: #d8ff65;
  border: 2px solid rgba(0,0,0,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(216,255,101,.16);
}

@keyframes whatsapp-pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(37,211,102,.38); }
  80%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 62px;
    padding: 6px;
    border-radius: 18px;
  }

  .whatsapp-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .whatsapp-label,
  .whatsapp-online {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float::before { animation: none; }
}
