/* ============================================
   WICFLOW — Testimonials Section
   ============================================ */

.testimonials {
  background-color: var(--bg-primary);
}

/* Grid layout */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Single featured testimonial — centered, wider */
.testimonials__single {
  max-width: 42rem;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Each testimonial card */
.testimonials__item {
  position: relative;
  margin: 0;
  padding-top: 2.5rem;
}

/* Reveal stagger */
.testimonials__item:nth-child(2) {
  transition-delay: 0.12s;
}

.testimonials__item:nth-child(3) {
  transition-delay: 0.24s;
}

/* Large decorative opening quote mark */
.testimonials__quote-mark {
  position: absolute;
  top: 0;
  left: -0.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: rgba(0, 0, 0, 0.08);
  pointer-events: none;
  user-select: none;
}

/* Quote body */
.testimonials__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  max-width: none;
}

/* Featured (single) testimonial — larger text */
.testimonials__item--featured .testimonials__text {
  font-size: 1.5rem;
  line-height: 1.45;
}

.testimonials__item--featured .testimonials__quote-mark {
  font-size: 5rem;
}

/* Thin separator line */
.testimonials__divider {
  width: 2rem;
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}

/* Attribution */
.testimonials__attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Client logo in attribution */
.testimonials__logo {
  height: 18px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
}

/* Trust line below testimonials */
.testimonials__trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.testimonials__trust-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.6;
  max-width: none;
}
