/* Gatiman Marketing — isolated Back to Top styling; no existing CSS modified. */
.gm-back-to-top {
  position: fixed;
  z-index: 170;
  left: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(91, 154, 255, .5);
  border-radius: 999px;
  background: linear-gradient(115deg, #101828 0%, #192e51 100%);
  box-shadow: 0 10px 30px rgba(8, 18, 36, .30), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  color: #f5f8ff;
  font: 700 12px/1.1 'Manrope', sans-serif;
  letter-spacing: .025em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease,
              background .25s ease, box-shadow .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.gm-back-to-top[hidden] { display: none !important; }
.gm-back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.gm-back-to-top:hover {
  border-color: #74a7ff;
  background: linear-gradient(115deg, #17263e, #2252a5);
  box-shadow: 0 14px 38px rgba(30, 91, 186, .32);
  transform: translateY(-3px);
}
.gm-back-to-top:focus-visible { outline: 3px solid #3478f6; outline-offset: 4px; }
.gm-back-to-top__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3478f6;
  color: #fff;
  box-shadow: 0 4px 10px rgba(52, 120, 246, .28);
}
.gm-back-to-top__icon svg { transition: transform .2s ease; }
.gm-back-to-top:hover .gm-back-to-top__icon svg { transform: translateY(-2px); }
.gm-back-to-top__label { white-space: nowrap; }
html[data-theme="dark"] .gm-back-to-top { background: linear-gradient(115deg, #17263e, #1c365d); }
html[data-theme="dark"] .gm-back-to-top:hover { background: linear-gradient(115deg, #1c365d, #265ab3); }
@media (max-width: 600px) {
  .gm-back-to-top {
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 6px;
    justify-content: center;
    gap: 0;
  }
  .gm-back-to-top__icon { width: 32px; height: 32px; }
  .gm-back-to-top__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gm-back-to-top, .gm-back-to-top__icon svg { transition: none !important; }
}
