/* ==========================================================================
   Testimonials - Mobile first
   ========================================================================== */

.testimonials-section {
  background-color: #f4f2f0;
  color: #1b1b1d;
  padding: 4.5rem 0;
}

/* Heading */

.testimonials-heading {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.testimonials-kicker {
  margin: 0 0 0.75rem;

  color: #a63a2d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials-title {
  margin: 0;

  color: #1b1b1d;
  font-family: inherit;
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.testimonials-intro {
  max-width: 38rem;
  margin: 1.25rem 0 0;

  color: #626262;
  font-size: 1rem;
  line-height: 1.7;
}

/* Grid */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Cards */

.testimonial-card {
  display: flex;
  flex-direction: column;

  min-height: 250px;
  padding: 1.5rem;

  background-color: #ffffff;
  border: 1px solid rgba(27, 27, 29, 0.08);
  border-radius: 18px;
}

.testimonial-card__stars {
  margin-bottom: 1.5rem;

  color: #d6a900;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.testimonial-card__text {
  margin: 0;

  color: #3f3f3f;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-card__author {
  margin-top: auto;
  padding-top: 2rem;

  color: #1b1b1d;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Footer / Google link */

.testimonials-footer {
  margin-top: 2rem;
}

.testimonials-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  color: #a63a2d;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;

  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.testimonials-link::after {
  content: "→";
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (min-width: 768px) {
  .testimonials-section {
    padding: 5.5rem 0;
  }

  .testimonials-heading {
    margin-bottom: 3rem;
  }

  .testimonials-title {
    font-size: clamp(2.8rem, 6vw, 4rem);
  }

  .testimonials-intro {
    font-size: 1.05rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .testimonial-card {
    min-height: 270px;
    padding: 1.75rem;
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 1024px) {
  .testimonials-section {
    padding: 6.5rem 0;
  }

  .testimonials-heading {
    max-width: 48rem;
    margin-bottom: 3.5rem;
  }

  .testimonials-title {
    font-size: clamp(3rem, 4vw, 4.2rem);
  }

  .testimonials-intro {
    max-width: 42rem;
    font-size: 1.1rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .testimonial-card {
    min-height: 300px;
    padding: 2rem;

    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .testimonial-card:last-child {
    grid-column: auto;
  }
}

/* ==========================================================================
   Hover - pointer devices only
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    transform: translateY(-4px);

    border-color: rgba(166, 58, 45, 0.18);
    box-shadow: 0 14px 30px rgba(27, 27, 29, 0.08);
  }

  .testimonials-link:hover {
    gap: 0.75rem;
    color: #bd4737;
  }
}
