.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  width: 62px;
  height: 62px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #222;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, background-color 180ms ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: #000; }
.back-to-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.back-to-top__icon {
  width: 17px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-to-top__label {
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}
body.has-sticky-bottom-cta .back-to-top { bottom: 92px; }

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }
  body.has-sticky-bottom-cta .back-to-top { bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}
