/* V25.9 / Footer two-column alignment + floating TOP control */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  justify-content: space-between;
  column-gap: 22px;
  row-gap: 8px;
  text-align: left;
}
.site-footer #footer-brand {
  min-width: 0;
  justify-self: start;
  text-align: left;
}
.site-footer #footer-disclaimer {
  min-width: 0;
  justify-self: end;
  text-align: right;
}
.floating-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 34px);
  bottom: calc(22px + env(safe-area-inset-bottom, 0px) + var(--footer-overlap, 0px));
  z-index: 50;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: #278c87;
  color: #fffaf1;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 5px 18px rgba(24,82,76,.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font: 750 12px/1.2 Arial, sans-serif;
  text-decoration: none;
  letter-spacing: .06em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.floating-top svg { color: #ffdb7c; display: block; flex: none; }
.floating-top span { color: #fffaf1; }
.floating-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-top:hover { background: #1c7772; box-shadow: 0 6px 20px rgba(17,86,78,.32); }
.floating-top:focus-visible { outline: 3px solid #ffce66; outline-offset: 4px; }
@media (max-width: 620px) {
  .site-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    padding-top: 20px;
    padding-bottom: 20px;
    row-gap: 9px;
  }
  .site-footer #footer-brand { justify-self: start; text-align: left; }
  .site-footer #footer-disclaimer { justify-self: end; text-align: right; }
  .floating-top {
    width: 48px;
    height: 48px;
    right: 15px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--footer-overlap, 0px));
    border-radius: 11px;
    font-size: 11px;
  }
  .floating-top svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-top { transition: none; }
}
