/* Kata pelanggan (sorotan + kartu) dan logo partner berjalan. */

/* --- Testimoni sorotan --- */
.t-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 1.4rem;
  background: var(--glass-strong);
}

#t-hero:empty { display: none; }

.t-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
}

.t-hero .t-stars svg {
  width: 1.2rem;
  height: 1.2rem;
}

.t-hero blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 4.6vw, 1.6rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.t-hero figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.t-hero figcaption b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

/* --- Kartu testimoni yang bisa digeser --- */
.testi {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 0.3rem;
}

.testi::-webkit-scrollbar { display: none; }
.testi[hidden] { display: none; }

.testi-empty {
  flex: 1 1 100%;
  padding: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.t-card {
  margin: 0;
  flex: 0 0 min(82%, 20rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem;
}

.testi.one .t-card { flex-basis: 100%; }

.t-stars {
  display: flex;
  gap: 0.1rem;
}

.t-stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: var(--gold);
}

.t-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.t-card figcaption {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.t-card figcaption b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.t-sample {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
}

/* --- Logo partner: dua baris, tanpa heading --- */
.logos {
  margin-top: 1.25rem;
  margin-inline: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lrow { overflow: hidden; }

.ltrack {
  display: flex;
  width: max-content;
}

.lgroup {
  display: flex;
  flex: none;
}

.logo {
  flex: none;
  width: 8.5rem;
  height: 3.2rem;
  padding-inline: 1rem;
  display: grid;
  place-items: center;
}

.logo img,
.logo svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: var(--logo-filter);
  opacity: var(--logo-opacity);
  color: var(--ink);
  fill: currentColor;
}

.lrow-r .ltrack { animation: marqueeRight 60s linear infinite; }
.lrow-l .ltrack { animation: marqueeLeft 60s linear infinite; }
.lrow:hover .ltrack { animation-play-state: paused; }

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 52rem) {
  .t-hero { padding: 2rem; }
  .t-card { flex-basis: 19rem; }
  .logo { width: 10rem; height: 3.6rem; }
}
