/* Shared WhatsApp contact button across all pages. */
a.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  padding: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #128c4c;
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .22);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
a.whatsapp-float svg { display: block; width: 100%; height: 100%; flex: none; }
a.whatsapp-float:hover { background: #0b703b; transform: translateY(-3px); }
a.whatsapp-float:focus-visible { outline: 3px solid #122e22; outline-offset: 4px; }
@media (max-width: 960px) {
  a.whatsapp-float { width: 56px; height: 56px; padding: 13px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  body:has(.nav.is-open) a.whatsapp-float { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { a.whatsapp-float { transition: none; } }
@media print { a.whatsapp-float { display: none; } }
