/* ============================================
   GUEST VOICES — Crossfade Testimonials
   ============================================ */

.voices {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.voices__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.voices__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05); /* prevent blur white edges */
}

.voices__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(26, 60, 64, 0.65);
}

.voices__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
  max-width: 800px;
}

.voices__content .overline {
  margin-bottom: var(--sp-2xl);
}

/* ---- Slider ---- */
.voices__slider {
  position: relative;
  min-height: 200px;
  margin-bottom: var(--sp-xl);
}

.voices__quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-smooth);
}

.voices__quote--active {
  position: relative;
  opacity: 1;
}

.voices__quote p {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.40;
  color: var(--c-white);
  margin-bottom: var(--sp-xl);
}

.voices__quote cite {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-white-50);
}

/* ---- Dots ---- */
.voices__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
}

.voices__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-white-50);
  transition: background-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  padding: 0;
  /* Expand tap area */
  position: relative;
}

.voices__dot::before {
  content: '';
  position: absolute;
  inset: -10px;
}

.voices__dot--active {
  background-color: var(--c-white);
  transform: scale(1.3);
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .voices {
    min-height: 80svh;
  }

  .voices__content {
    padding: var(--sp-2xl) var(--sp-md);
  }

  .voices__slider {
    min-height: 180px;
  }
}
