/* ========================================
   TESTIMONIALS — White Premium Override
   Clean, professional light design
   ======================================== */

/* Section */
.testimonials {
  background: #ffffff !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

/* Container */
.testimonials__container {
  max-width: 1280px !important;
  padding: 0 40px !important;
}

/* Header */
.testimonials__header {
  margin-bottom: 48px !important;
}

.testimonials__title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  letter-spacing: -0.03em !important;
}

.testimonials__title-accent {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.testimonials__subtitle {
  color: #6b7280 !important;
  font-size: 0.92rem !important;
  max-width: 620px !important;
  line-height: 1.6 !important;
}

/* Grid */
.testimonials__grid {
  gap: 20px !important;
}

/* ── Card ── */
.testimonial-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 28px !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  border-color: #d1d5db !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(59, 130, 246, 0.05) !important;
  transform: translateY(-2px) !important;
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Header row */
.testimonial-card__header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Avatar */
.testimonial-card__avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
  color: #2563eb !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #bfdbfe !important;
  letter-spacing: 0.02em;
}

/* Info */
.testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-card__name {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* Rating stars */
.testimonial-card__rating {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.testimonial-card__rating svg {
  width: 12px !important;
  height: 12px !important;
  fill: #f59e0b !important;
}

/* Service tag */
.testimonial-card__service {
  font-size: 0.68rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Quote */
.testimonial-card__quote {
  font-size: 0.82rem !important;
  color: #4b5563 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-style: normal !important;
  position: relative;
  flex: 1;
}

/* Quote mark */
.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: -2px;
  font-size: 2.5rem;
  color: rgba(37, 99, 235, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

/* Date */
.testimonial-card__date {
  font-size: 0.68rem !important;
  color: #9ca3af !important;
  font-weight: 400 !important;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

/* ── Toggle button ── */
.testimonials__footer {
  margin-top: 32px !important;
}

.testimonials__toggle-btn {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #2563eb !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2) !important;
}

.testimonials__toggle-btn:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-1px) !important;
}

.testimonials__toggle-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .testimonials {
    padding: 56px 0 !important;
  }

  .testimonials__container {
    padding: 0 20px !important;
  }

  .testimonials__title {
    font-size: 1.5rem !important;
  }

  .testimonials__subtitle {
    font-size: 0.84rem !important;
  }

  .testimonial-card {
    padding: 22px !important;
  }

  .testimonial-card__quote {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 480px) {
  .testimonials__title {
    font-size: 1.3rem !important;
  }

  .testimonial-card {
    padding: 18px !important;
  }
}
