/* testimonials.css — Home testimonials section */

.testimonials {
  width: 100%;
  background-color: var(--color-beige);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-xl);
}

.testimonials__heading {
  font-size: 42px;
  font-weight: var(--fw-light);
  line-height: 51px;
  color: var(--color-forest);
  text-align: center;
}

.testimonials__grid {
  display: flex;
  gap: clamp(24px, 6vw, 88px);
  align-items: flex-start;
  max-width: var(--max-w);
  width: 100%;
  justify-content: center;
}

.testimonials__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.testimonials__quote {
  font-size: 21px;
  font-weight: var(--fw-light);
  line-height: 30px;
  color: var(--color-forest);
}

.testimonials__author {
  display: flex;
  flex-direction: column;
}

.testimonials__name {
  font-size: 36px;
  font-weight: var(--fw-extralight);
/*   line-height: 45px; */
  letter-spacing: -0.72px;
  color: var(--color-forest);
  display: block;
/*   margin-bottom: 4px; */
}

.testimonials__role {
  font-size: 18px;
  font-weight: var(--fw-regular);
/*   line-height: 27px; */
  color: var(--color-forest);
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .testimonials__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .testimonials__grid {
    gap: 40px;
  }

  .testimonials__quote {
    font-size: 18px;
    line-height: 26px;
  }

  .testimonials__name {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .testimonials {
    padding: var(--space-lg) var(--page-px);
  }

  .testimonials__heading {
    font-size: 26px;
    line-height: 34px;
  }

  .testimonials__grid {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: stretch;
  }

  .testimonials__card {
    flex: none;
    width: 100%;
    gap: var(--space-md);
  }

  .testimonials__quote {
    font-size: 17px;
    line-height: 25px;
  }

  .testimonials__name {
    font-size: 24px;
    line-height: 32px;
  }

  .testimonials__role {
    font-size: 16px;
  }
}
