/* Robnety: Back to Top, labajā apakšējā stūrī. */
.rb-back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 999;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: #004a8e;
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.94);
  pointer-events: none;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .2s ease, box-shadow .2s ease;
}
.rb-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.rb-back-to-top svg { width: 23px; height: 23px; transition: transform .2s ease; }
.rb-back-to-top:hover { background: #0060b5; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); transform: translateY(-4px); }
.rb-back-to-top:hover svg { transform: translateY(-2px); }
.rb-back-to-top:focus-visible { outline: 3px solid #89c6f0; outline-offset: 4px; }
@media (max-width: 600px) {
  .rb-back-to-top { width: 46px; height: 46px; right: 16px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-back-to-top, .rb-back-to-top svg { transition: none; }
}
