/* Persistent WhatsApp contact control, independent of routed page content. */
.iam-whatsapp-float {
  position:fixed;right:max(20px,env(safe-area-inset-right,0px));bottom:max(20px,env(safe-area-inset-bottom,0px));
  z-index:95;width:62px;height:62px;display:flex;align-items:center;justify-content:center;
  border-radius:999px;background:#25d366;color:#fff;border:3px solid #fff;
  box-shadow:0 9px 30px rgba(0,40,27,.25),0 0 0 1px rgba(3,85,54,.08);
  text-decoration:none;transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.iam-whatsapp-float svg{width:34px;height:34px;fill:currentColor;display:block;flex-shrink:0}
.iam-whatsapp-float:hover{transform:translateY(-3px);background:#19bd58;box-shadow:0 13px 32px rgba(0,50,30,.30)}
.iam-whatsapp-float:active{transform:translateY(0)}
.iam-whatsapp-float:focus-visible{outline:3px solid #003c43;outline-offset:4px}
.iam-whatsapp-float[hidden]{display:none!important}
.iam-whatsapp-float::before{
  content:'Chat on WhatsApp';position:absolute;right:calc(100% + 11px);top:50%;transform:translateY(-50%);
  background:#0d4146;color:#fff;font:750 12px/1.3 var(--font,Arial,sans-serif);
  padding:10px 13px;border-radius:9px;white-space:nowrap;box-shadow:0 3px 14px #002c3040;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility .15s ease;
}
.iam-whatsapp-float:hover::before,.iam-whatsapp-float:focus-visible::before{opacity:1;visibility:visible}
/* Retain the existing floating back-to-top control, without blocking the chat link. */
.footer-reference-2026 .footer-floating-up {
  right:max(27px,env(safe-area-inset-right,0px))!important;
  bottom:106px!important;width:48px!important;height:48px!important;z-index:40!important;
}
.footer-reference-2026 .footer-floating-up svg{width:24px!important;height:24px!important}
@media(max-width:600px){
  .iam-whatsapp-float{width:58px;height:58px;right:max(15px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px))}
  .iam-whatsapp-float svg{width:32px;height:32px}
  .iam-whatsapp-float::before{display:none}
  .footer-reference-2026 .footer-floating-up {right:max(22px,env(safe-area-inset-right,0px))!important;bottom:96px!important;width:44px!important;height:44px!important}
}
@media(prefers-reduced-motion:reduce){.iam-whatsapp-float,.iam-whatsapp-float::before{transition:none!important}}
@media print{.iam-whatsapp-float{display:none!important}}
