/* Native contact controls, without an external font or widget. */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px #082a2433, 0 4px 9px #082a2426, inset 0 1px 0 #ffffff26;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  isolation: isolate;
  animation: contact-float 4.5s ease-in-out infinite;
}
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 2px solid #25d366;
  border-radius: inherit;
  animation: contact-pulse 4.5s ease-out infinite;
  pointer-events: none;
}
.floating-whatsapp__icon { display: flex; flex: 0 0 32px; }
.floating-whatsapp__icon img { display: block; width: 32px; height: 32px; object-fit: contain; aspect-ratio: 1; }
.floating-whatsapp:hover { background: #20bd5a; }
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible { animation-play-state: paused; }
.floating-whatsapp:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
@keyframes contact-pulse {
  0%, 50% { transform: scale(1); opacity: 0; }
  55% { opacity: .25; }
  100% { transform: scale(1.1); opacity: 0; }
}
@keyframes contact-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 760px) {
  .floating-whatsapp {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(90px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-whatsapp__icon { flex-basis: 25px; }
  .floating-whatsapp__icon img { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { animation: none; }
  .floating-whatsapp::before { animation: none; opacity: 0; }
}
