/* Testimonials — voices (also inlined via include/head.php to bypass CDN/browser cache) */
.voices {
  --voices-ink: #04122b;
  --voices-teal: #1aa7c3;
  --voices-soft: #e8f6f9;
  position: relative;
  overflow: hidden;
  color: var(--voices-ink);
  background:
    radial-gradient(720px 320px at 0% 0%, rgba(26, 167, 195, 0.14), transparent 55%),
    radial-gradient(640px 280px at 100% 100%, rgba(4, 18, 43, 0.08), transparent 50%),
    linear-gradient(180deg, #f4fafb 0%, #ffffff 48%, #f3f8fa 100%);
}

.voices__glow {
  position: absolute;
  inset: auto -10% -30% auto;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 167, 195, 0.18), transparent 68%);
  pointer-events: none;
}

.voices__intro {
  position: relative;
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.voices__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a6a7e;
}

.voices__eyebrow::before,
.voices__eyebrow::after {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--voices-teal);
}

.voices__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-raleway, system-ui, sans-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--voices-ink);
}

.voices__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3a4556;
}

.voices__stage {
  position: relative;
  padding: 0 2.75rem;
}

.voices__nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(4, 18, 43, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--voices-ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(4, 18, 43, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.voices__nav:hover,
.voices__nav:focus-visible {
  background: var(--voices-ink);
  border-color: var(--voices-ink);
  color: #fff;
  outline: none;
}

.voices__nav--prev { left: 0; }
.voices__nav--next { right: 0; }

.voices__swiper {
  width: 100%;
  padding: 0.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.voices__swiper .swiper-wrapper {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.voices__swiper .swiper-slide {
  display: flex;
  height: auto;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .voices__swiper:not(.swiper-initialized) .swiper-slide {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .voices__swiper:not(.swiper-initialized) .swiper-slide {
    width: 33.333%;
  }
}

.voice-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 280px;
  padding: 1.6rem 1.45rem 1.35rem;
  border: 1px solid rgba(4, 18, 43, 0.08);
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 14px 34px rgba(4, 18, 43, 0.06);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .voice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 167, 195, 0.35);
    box-shadow: 0 18px 40px rgba(4, 18, 43, 0.1);
  }
}

.voice-card__quote {
  display: block;
  margin: 0 0 0.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--voices-teal);
  opacity: 0.85;
}

.voice-card__stars {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #c9a227;
}

.voice-card__text {
  flex: 1;
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #2b3445;
}

.voice-card__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(4, 18, 43, 0.08);
}

.voice-card__person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(26, 167, 195, 0.35);
  flex-shrink: 0;
}

.voice-card__person strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--voices-ink);
  line-height: 1.25;
}

.voice-card__person span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: #5a6575;
}

.voices__dots.swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex !important;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
}

.voices__dots .swiper-pagination-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: var(--voices-teal);
  opacity: 0.3;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.voices__dots .swiper-pagination-bullet-active {
  width: 22px;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .voices__stage {
    padding: 0;
  }

  .voices__nav {
    display: none;
  }

  .voice-card {
    min-height: 260px;
  }
}
