/* ═══════════════════════════════════════════════
   TESTIMONIALS — Auto-scrolling marquee section
   ═══════════════════════════════════════════════ */

.testimonials {
  background: var(--cream-dark);
  padding: var(--section-pad-y) 0;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  padding: 0 var(--section-pad-x);
  margin-bottom: 56px;
}

/* ── Marquee track ── */
.testimonials__track-wrap {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

/* Pause on hover for accessibility */
.testimonials__track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Individual card ── */
.testimonials__card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--t);
}

.testimonials__card:hover {
  box-shadow: var(--shadow-lg);
}

/* Stars */
.testimonials__stars {
  display: flex;
  gap: 3px;
  color: #D4A017;
  font-size: 18px;
  line-height: 1;
}

/* Quote text */
.testimonials__quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  flex: 1;
}

.testimonials__quote::before { content: '\201C'; }
.testimonials__quote::after  { content: '\201D'; }

/* Author */
.testimonials__author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

.testimonials__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonials__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonials__author-name {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonials__author-label {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: var(--light);
}

/* ── Google badge ── */
.testimonials__source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--medium);
  margin-left: auto;
}

.testimonials__source svg {
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .testimonials__card {
    flex: 0 0 270px;
    padding: 22px 20px 18px;
  }
}
