.floating-actions {
    position: fixed;
    z-index: 30;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    display: grid;
    justify-items: end;
    gap: 12px;
    pointer-events: none;
}
.floating-action {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    box-shadow: 0 6px 22px #051a2b30;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.floating-action[hidden] { display: none; }
.floating-action svg { width: 26px; height: 26px; }
.floating-action--top { border-color: var(--line); background: var(--panel-bg); color: var(--accent); }
.floating-whatsapp { margin: 0; }
.floating-action--whatsapp { background: #087f46; color: #fff; }
.floating-action--whatsapp svg { width: 30px; height: 30px; }
.floating-action--whatsapp:focus-visible { outline-color: #087f46; }
/* Keep footer links clear of the controls at the end of the page. */
.site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .floating-action:hover { transform: translateY(-3px); box-shadow: 0 9px 26px #051a2b40; }
}
@media (max-width: 600px) {
    .floating-actions { right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
    .floating-action { width: 48px; height: 48px; }
}
