.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: #1A237E;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
}

:focus-visible {
  outline: 3px solid #42A5F5;
  outline-offset: 2px;
}

.qv-testimonials-wrap {
  position: relative;
  max-width: 100%;
}

.qv-testimonials-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: thin;
}

.qv-testimonial-slide {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .qv-testimonial-slide {
    flex: 0 0 calc(50% - 0.625rem);
  }
}

@media (min-width: 992px) {
  .qv-testimonial-slide {
    flex: 0 0 calc(33.333% - 0.85rem);
  }
}

.qv-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.qv-carousel-prev,
.qv-carousel-next {
  border: 1px solid rgba(66, 165, 245, 0.4);
  background: #fff;
  color: #1A237E;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.qv-carousel-prev:hover,
.qv-carousel-next:hover {
  background: #42A5F5;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  #preloader {
    display: none !important;
  }

  body.loading {
    overflow: auto !important;
  }

  .qv-testimonials-track {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
