/* Floating controls are isolated from the page and block layouts. */
.gr-floating-whatsapp{position:fixed;z-index:25;right:max(24px,env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px}
.gr-floating-contact{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid rgb(26 62 95 / .15);border-radius:14px;background:#fff;color:var(--wp--preset--color--blue);font:600 13px/1.3 var(--wp--preset--font-family--montserrat);text-decoration:none;box-shadow:0 3px 18px rgb(7 40 53 / .12);transition:transform 200ms ease,box-shadow 200ms ease}
.gr-floating-contact svg{width:28px;height:28px;flex:none;color:#168748}
.gr-floating-contact:hover{transform:translateY(-2px);box-shadow:0 5px 20px rgb(7 40 53 / .18)}
.gr-back-to-top{position:fixed;z-index:25;left:max(24px,env(safe-area-inset-left));bottom:calc(24px + env(safe-area-inset-bottom));display:grid;place-items:center;width:46px;height:46px;padding:10px;border:0;border-radius:14px;background:var(--wp--preset--color--blue);color:white;cursor:pointer;box-shadow:0 3px 18px rgb(7 40 53 / .15);transition:transform 200ms ease}
.gr-back-to-top[hidden]{display:none}
.gr-back-to-top svg{width:24px;height:24px}
.gr-back-to-top:hover{transform:translateY(-2px)}
:is(.gr-floating-contact,.gr-back-to-top):focus-visible{outline:3px solid var(--wp--preset--color--orange);outline-offset:4px}
/* Ensure the final footer links can scroll completely clear of the controls. */
.gr-footer::after{content:'';display:block;height:calc(126px + env(safe-area-inset-bottom))}
@media(max-width:600px){
 .gr-page--contact .gr-floating-whatsapp[data-gr-contact-inline]{position:static;align-items:flex-end;margin:24px 0;transition:none}
 .gr-floating-whatsapp{right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));gap:8px}
 .gr-floating-contact{min-height:44px;padding:8px 10px;gap:7px;font-size:11px;border-radius:12px}
 .gr-floating-contact svg{width:24px;height:24px}
 .gr-back-to-top{left:max(12px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));width:44px;height:44px;border-radius:12px}
 .gr-footer::after{height:calc(116px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.gr-floating-whatsapp,.gr-floating-contact,.gr-back-to-top{transition:none}.gr-floating-contact:hover,.gr-back-to-top:hover{transform:none}}
