/* =============================================================================
   REFERANSLAR (Testimonials) — #referanslar
   Premium yorum kartı grid'i. Renk/spacing yalnızca tasarım sistemi değişkenleri.
   ============================================================================= */

.testimonials { position: relative; }

/* Zarif altın aura — arka plan dekoru */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(194, 168, 104, 0.06), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, rgba(194, 168, 104, 0.05), transparent 70%);
  z-index: -1;
}

/* ------------------------------- GRID ------------------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

/* ----------------------------- KART --------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  height: 100%;
}

/* Üstte ince altın çizgi vurgusu (hover ile belirir) */
.testimonial::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.testimonial:hover::after { transform: scaleX(1); }

/* Büyük zarif altın tırnak işareti */
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 0.6;
  height: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-500);
  opacity: 0.55;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

/* Yorum metni */
.testimonial__text {
  margin: 0;
  flex: 1 1 auto;
  color: var(--text);
  max-width: none;
  font-style: italic;
}
.testimonial__text p { margin: 0; }

/* Yıldız rating */
.testimonial__rating {
  display: inline-flex;
  gap: 0.28rem;
  color: var(--gold-500);
}
.testimonial__star {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 6px rgba(194, 168, 104, 0.35));
}

/* Yazar bloğu */
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

/* Avatar: gradient daire + initials (temel), üstüne img */
.testimonial__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: var(--brown-950);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(194, 168, 104, 0.5);
  overflow: hidden;
}
.testimonial__initials {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  user-select: none;
}
.testimonial__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.testimonial__name {
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--text);
}
.testimonial__role {
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
}

/* ------------------------------ RESPONSIVE -------------------------------- */
@media (max-width: 640px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}
