/* index.html ONLY — reviews fade carousel (no visible box; cards unchanged) */

html[data-index-page] .home-services-reviews-carousel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

html[data-index-page] .home-services-reviews-carousel__stage {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  transition: min-height 0.45s ease;
}

html[data-index-page] .home-services-reviews-carousel__frame {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 1;
  transition: opacity 0.7s ease;
  will-change: opacity;
}

html[data-index-page] .home-services-reviews-carousel__frame.is-exiting {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

html[data-index-page] .home-services-reviews-carousel__frame.is-entering {
  position: relative;
  z-index: 2;
  opacity: 0;
}

html[data-index-page] .home-services-reviews-carousel__frame.is-entering.is-active {
  opacity: 1;
}

html[data-index-page] .home-services-reviews-carousel__row.home-services-reviews__grid {
  margin: 0;
}

html[data-index-page] .home-services-reviews-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  padding: 8px 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 4;
  overflow: visible;
}

html[data-index-page] .home-services-reviews-carousel__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #2e0c5e;
  box-shadow: 0 8px 22px rgba(72, 27, 130, 0.14);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

html[data-index-page] .home-services-reviews-carousel__nav:hover {
  background: #2e0c5e;
  color: #facc15;
  box-shadow: 0 12px 28px rgba(72, 27, 130, 0.2);
}

html[data-index-page] .home-services-reviews-carousel__nav:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

html[data-index-page] .home-services-reviews-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

html[data-index-page] .home-services-reviews-carousel__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 48px;
}

html[data-index-page] .home-services-reviews-carousel__dot {
  width: 8px;
  height: 8px;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  padding: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(72, 27, 130, 0.22);
  background-clip: content-box;
  box-sizing: content-box;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

html[data-index-page] .home-services-reviews-carousel__dot.is-active {
  background: #2e0c5e;
  transform: scale(1.2);
}

html[data-index-page] .home-services-reviews-carousel__dot:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  html[data-index-page] .home-services-reviews-carousel__controls {
    margin-top: 18px;
    gap: 18px;
    padding: 10px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-index-page] .home-services-reviews-carousel__frame,
  html[data-index-page] .home-services-reviews-carousel__stage {
    transition: none;
  }
}