.back-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--site-primary,#073b70);
  color: var(--site-inverted,#fff);
  font: 700 26px/1 system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 14px #10284b40;
}
.back-to-top[hidden] { display: none; }
.back-to-top:focus-visible { outline: 2px solid var(--site-primary,#073b70); outline-offset: 3px; }

.floating-whatsapp {
  position: fixed;
  right: calc(max(18px, env(safe-area-inset-right)) + 58px);
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 10;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid white;
  border-radius: 50%;
  background: var(--site-whatsapp,#128044);
  color: var(--site-inverted,white);
  box-shadow: 0 3px 14px #10284b40;
}
.floating-whatsapp:focus-visible { outline: 2px solid var(--site-whatsapp,#128044); outline-offset: 3px; }
.back-to-top[hidden] + .floating-whatsapp { right: max(18px, env(safe-area-inset-right)); }
