/* Lone Star Spotless Cleaners — back to top (2026-10-24)
 * Tablets and desktops only; sits above the AI Concierge launcher.
 * The [hidden] attribute is authoritative for visibility and keyboard focus.
 */
.lss-back-to-top {
  display: none;
  position: fixed;
  right: 22px;
  bottom: calc(105px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 78px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: #073b61;
  color: #fff;
  box-shadow: 0 12px 28px rgba(5,36,60,.28);
  font: 800 .78rem/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing: .035em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.lss-back-to-top[hidden] { display: none !important; }
.lss-back-to-top:hover { background: #0b507e; transform: translateY(-2px); box-shadow: 0 17px 32px rgba(5,36,60,.30); }
.lss-back-to-top:focus-visible { outline: 3px solid #d4a750; outline-offset: 3px; }
.lss-back-to-top--campaign { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) {
  .lss-back-to-top:not([hidden]) { display: inline-flex; }
}
@media (min-width: 768px) and (max-width: 900px) {
  /* The existing AI Concierge launcher sits higher on tablets. */
  .lss-back-to-top { right: 14px; bottom: calc(157px + env(safe-area-inset-bottom, 0px)); }
  .lss-back-to-top--campaign { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .lss-back-to-top { transition: none; }
}
