/* ── TESTIMONIAL MINIMAL ─────────────────────────────────────── */
.testimonial-mini {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border-left: 4px solid var(--sky);
  margin-top: 3rem;
}
.testimonial-mini blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.testimonial-mini cite {
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-mini cite span {
  font-weight: 400;
  color: var(--mid);
}

/* ── HOMEPAGE TESTIMONIALS ──────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 67, 124, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card__tag {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(10, 179, 235, 0.08);
  border: 1px solid rgba(10, 179, 235, 0.2);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.75;
  font-size: 0.95rem;
  flex: 1;
  margin: 0;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--mid);
}

/* ── TESTIMONIAL CAROUSEL — fixed height, no jump ────────── */
.tm-carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.tm-track {
  overflow: hidden;
}
.tm-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.tm-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 67, 124, 0.2);
  background: white;
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.tm-dots {
  display: flex;
  gap: 0.5rem;
}
.tm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 67, 124, 0.2);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  padding: 0;
}
.tm-dot.active {
  background: var(--sky);
  transform: scale(1.25);
}
.tm-slide {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(0, 67, 124, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 320px; /* fixed height — no jump between reviews */
}
.tm-slide blockquote {
  flex: 1;
} /* pushes author to bottom always */
.tm-slide blockquote p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
  font-style: italic;
  margin: 0;
}

