.testimonials {
  position: relative;
  padding: 80px 24px;
  background: var(--background);
}

.testimonials .testimonials-container {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials .testimonials-header {
  margin-bottom: 64px;
}

.testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.testimonials .testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.testimonials .testimonial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(195, 162, 122, 0.05);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.testimonials .testimonial-card:hover .testimonial-overlay {
  opacity: 1;
}

.testimonials .testimonial-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonials .testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonials .testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(195, 162, 122, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  font-weight: 500;
}

.testimonials .testimonial-meta h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 500;
}

.testimonials .testimonial-meta p {
  margin: 0;
  font-size: 12px;
  color: var(--muted-foreground);
}

.testimonials .testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--primary);
}

.testimonials .testimonial-rating .icon {
  color: var(--primary);
  fill: var(--primary);
  width: 16px;
  height: 16px;
}

.testimonials .testimonial-text {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0 0 16px;
  line-height: 1.6;
}

.testimonials .testimonial-service {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}

.testimonials .testimonial-service p {
  margin: 0;
}

.testimonials .testimonials-shape {
  position: absolute;
}

.testimonials .testimonials-shape-right {
  top: 120px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(139, 111, 71, 0.15);
}

.testimonials .testimonials-shape-left {
  bottom: 40px;
  left: 0;
  width: 180px;
  height: 140px;
  border-radius: 24px;
  background: rgba(212, 181, 160, 0.2);
}

@media (max-width: 1710px) {
  .testimonials .testimonials-container {
    max-width: 1200px;
  }
}

@media (max-width: 1090px) {
  .testimonials {
    padding: 24px 16px;
  }
  .testimonials .testimonials-container {
    max-width: 100%;
  }
  .testimonials .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .testimonials .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials .testimonials-shape-right {
    right: 0px;
  }
}