/* ═══════════════════════════════════════════════
   TESTIMONIALS.CSS
═══════════════════════════════════════════════ */

#testimonials {
  background: var(--brown-deep);
  padding: var(--section-v) var(--section-h);
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 600px 400px at 15% 60%,
      rgba(201, 164, 107, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 400px 500px at 85% 30%,
      rgba(107, 58, 31, 0.3) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
.testimonials-header h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Card */
.tcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 164, 107, 0.15);
  border-radius: var(--radius);
  padding: 44px 36px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    background 0.3s,
    transform 0.4s,
    box-shadow 0.4s;
}
.tcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 164, 107, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.tcard:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
}
.tcard:hover::before {
  opacity: 1;
}

.tcard-quote-mark {
  font-family: var(--f-display);
  font-size: 5.5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.22;
  position: absolute;
  top: 12px;
  left: 18px;
  pointer-events: none;
  user-select: none;
}

.tcard-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.tcard-stars span {
  color: var(--gold);
  font-size: 0.88rem;
}

.tcard blockquote {
  font-family: var(--f-elegant);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin: 24px 0 28px;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* ── Avatar + author footer ── */
.tcard-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 164, 107, 0.12);
  position: relative;
  z-index: 1;
}

.tcard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(201, 164, 107, 0.4);
  flex-shrink: 0;
}

.tcard-author {
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.tcard-role {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .tcard {
    padding: 36px 28px 28px;
  }
}
