/* ═══ TESTIMONIALS — Marquee ═══ */

.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 96px 0;
  background: var(--noir-bg);
  overflow: hidden;
}

/* ── Header ── */

.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 24px;
}

.testimonials__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--brume);
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--noir);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-align: center;
}

.testimonials__title-l2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-text);
}

.testimonials__desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--gris-400);
  line-height: 1.6;
  max-width: 600px;
  margin: 8px 0 0;
}

/* ── Marquee wrapper ── */

.testimonials__marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials__marquee {
  display: flex;
  overflow: hidden;
  padding: 8px 0;
}

.testimonials__marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  animation: testimonials-scroll 60s linear infinite;
}

.testimonials__marquee-track:hover {
  animation-play-state: paused;
}

@keyframes testimonials-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 4)); }
}

/* ── Fade overlays ── */

.testimonials__fade {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33%;
  pointer-events: none;
  z-index: 2;
}

.testimonials__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--noir-bg), transparent);
}

.testimonials__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--noir-bg), transparent);
}

/* ── Card ── */

.testimonials__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 28px;
  background: var(--noir-card);
  border: 1px solid var(--gris-800);
  border-radius: 14px;
  width: 320px;
  min-width: 320px;
}

.testimonials__cat {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--brume);
}

.testimonials__quote {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gris-400);
  margin: 0;
  padding: 0;
  border: none;
}

.testimonials__stars {
  display: flex;
  gap: 4px;
}

.testimonials__star {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.testimonials__author {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--gris-400);
  font-style: normal;
}

/* ── Tablet ── */

@media (min-width: 768px) {
  .testimonials {
    padding: 96px 0;
    gap: 64px;
  }

  .testimonials__header {
    padding: 0 48px;
  }

  .testimonials__title {
    font-size: 40px;
  }

  .testimonials__title-l2 {
    font-size: 36px;
  }

  .testimonials__fade {
    display: block;
  }

  .testimonials__card {
    width: 340px;
    min-width: 340px;
  }
}

/* ── Desktop ── */

@media (min-width: 1024px) {
  .testimonials__header {
    padding: 0 120px;
  }

  .testimonials__title {
    font-size: 44px;
  }

  .testimonials__title-l2 {
    font-size: 40px;
  }
}
