.whatsapp-contact {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 16px 42px rgb(13 49 40 / 30%);
  color: #0d2b24;
  font: 700 14px/1.2 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.whatsapp-contact::before {
  content: 'WA';
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #0d2b24;
  color: white;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.whatsapp-contact:hover {
  background: #20bd5a;
  color: #0d2b24;
  transform: translateY(-3px);
}

.whatsapp-contact:focus-visible {
  outline: 3px solid #0d2b24;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .whatsapp-contact {
    bottom: max(5.75rem, calc(5.75rem + env(safe-area-inset-bottom)));
  }

  .whatsapp-contact__number {
    display: none;
  }
}

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