/* TESTIMONIALS SECTION */
/* Follows style guide: NO inline styles, uses CSS variables from main.css, BEM-like naming */
/* Property order: Layout → Spacing → Visual → Animation */

.testimonials {
  /* Spacing */
  padding: 80px 0;
  
  /* Visual */
  background: var(--bg-secondary);
}

/* Header Section */
.testimonials__header {
  /* Spacing */
  margin-bottom: 3rem;
  
  /* Visual */
  text-align: center;
}

.testimonials__eyebrow {
  /* Spacing */
  margin-bottom: 0.5rem;
  
  /* Visual */
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonials__title {
  /* Spacing */
  margin-bottom: 1rem;
  
  /* Visual */
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 800;
}

.testimonials__subtitle {
  /* Spacing */
  margin-bottom: 0;
  
  /* Visual */
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
  /* Layout */
  display: flex;
  flex-direction: column;
  height: 100%;
  
  /* Spacing */
  padding: 2rem;
  
  /* Visual */
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  
  /* Animation */
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  /* Visual */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--bs-secondary);
  
  /* Animation */
  transform: translateY(-4px);
}

/* Quote Section */
.testimonial-card__quote {
  /* Layout */
  flex: 1;
  
  /* Spacing */
  margin-bottom: 1.5rem;
  
  /* Visual */
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card__quote::before {
  /* Visual */
  content: '"';
  color: var(--bs-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 0;
  vertical-align: -0.4em;
}

.testimonial-card__quote::after {
  /* Visual */
  content: '"';
  color: var(--bs-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 0;
  vertical-align: -0.4em;
}

/* Rating */
.testimonial-card__rating {
  /* Spacing */
  margin-bottom: 1.5rem;
  
  /* Visual */
  color: var(--bs-warning);
  font-size: 1.2rem;
}

/* Author Section */
.testimonial-card__author {
  /* Layout */
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  /* Layout */
  flex-shrink: 0;
  
  /* Spacing */
  width: 60px;
  height: 60px;
  
  /* Visual */
  border-radius: 50%;
  border: 3px solid var(--bs-secondary);
  object-fit: cover;
}

.testimonial-card__author-info {
  /* Layout */
  flex: 1;
}

.testimonial-card__name {
  /* Spacing */
  margin: 0 0 0.25rem 0;
  
  /* Visual */
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-card__role {
  /* Spacing */
  margin: 0;
  
  /* Visual */
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Trust Badges */
.testimonials__trust {
  /* Spacing */
  margin-top: 3rem;
  padding-top: 3rem;
  
  /* Visual */
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.testimonials__trust-title {
  /* Spacing */
  margin-bottom: 1.5rem;
  
  /* Visual */
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.testimonials__trust-stats {
  /* Layout */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-stat {
  /* Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-stat__value {
  /* Spacing */
  margin-bottom: 0.25rem;
  
  /* Visual */
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.trust-stat__label {
  /* Visual */
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonials {
    padding: 60px 0;
  }
  
  .testimonials__title {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .testimonials {
    padding: 40px 0;
  }
  
  .testimonials__title {
    font-size: 1.75rem;
  }
  
  .testimonials__trust-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .testimonial-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }
  
  .testimonial-card:hover {
    transform: none;
  }
}
