/* Factory site chrome — scroll-to-top + sticky helpers (vertical covers) */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--primary, #393f94);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink, #111) 18%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: #fff;
  filter: brightness(0.94);
  outline: none;
}
.back-to-top svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}
/* Legacy meeting seed id */
#button.back-to-top,
a#button.show {
  /* keep site styles if present; factory JS still toggles .show */
}
@media (max-width: 600px) {
  /* Bottom-right; clear of chat on the left */
  .back-to-top {
    right: 0.75rem;
    left: auto;
    bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
    width: 2.5rem;
    height: 2.5rem;
  }

  /* LiveChat bottom-left on mobile (clears centered copyright) */
  #chat-widget-container {
    left: 0.35rem !important;
    right: auto !important;
    bottom: max(0.35rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Centered copyright sitting above both floating buttons */
  .site-footer__copy {
    padding: 1rem 1.25rem 5.5rem;
    text-align: center;
  }
  .site-footer__copy .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }
  .site-footer__copy p {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    max-width: 18rem;
    line-height: 1.55;
  }

  .site-footer__contact li:last-child,
  .site-footer__contact p[translate="no"] {
    padding-right: 0;
  }
}
