/* ── REVIEWS SECTION ── */

@font-face {
  font-family: 'Caveat';
  src: url('../assets/Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

#reviews {
  padding: 88px 24px;
  position: relative;
  overflow: hidden;
}

#reviews .rv-mandala {
  position: absolute;
  top: 50%; left: 50%;
  width: 65vmin; height: 65vmin;
  transform: translate(-50%, -50%);
  opacity: 0.025;
  pointer-events: none;
  animation: mandalaSpin 140s linear infinite reverse;
}

/* ── TRACK ── */
.rv-track-wrap {
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  height: 280px;   /* matches .rv-card height — clips anything outside */
}

.rv-track-wrap::before,
.rv-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.rv-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #043927, transparent);
}
.rv-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #043927, transparent);
}

.rv-track {
  display: flex;
  flex-wrap: nowrap;           /* CRITICAL — keep all cards in one row */
  align-items: flex-start;    /* top align cards */
  gap: 24px;
  animation: rvScroll 70s linear infinite;   /* slower — readable speed */
  width: max-content;
  will-change: transform;
}
.rv-track:hover { animation-play-state: paused; }

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

/* ── CARD ── */
.rv-card {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(223,183,76,0.15);
  border-radius: 12px;
  padding: 26px 26px 22px;
  width: 300px;
  height: 260px;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.rv-card:hover {
  border-color: rgba(223,183,76,0.35);
  box-shadow: 0 6px 32px rgba(0,0,0,0.35);
}

/* Gold quote mark */
.rv-quote-mark {
  font-family: 'Caveat', cursive;
  font-size: 2.8rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.4;
  display: block;
  margin-bottom: 10px;
  flex-shrink: 0;
  user-select: none;
}

/* Review text — top aligned, Caveat font */
.rv-text {
  font-family: 'Caveat', cursive;
  font-size: 1.12rem;
  color: rgba(232,220,200,0.82);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  overflow: hidden;
  /* top aligned — default flex behaviour */
}

/* Footer — pinned to bottom */
.rv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(223,183,76,0.1);
  padding-top: 12px;
  flex-shrink: 0;
  margin-top: 12px;
  gap: 10px;
}

.rv-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rv-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rv-location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  color: rgba(232,220,200,0.4);
  letter-spacing: 0.04em;
}

.rv-stars {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 2px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* ── CAPTION ── */
.rv-add-note {
  text-align: center;
  margin-top: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  color: rgba(232,220,200,0.28);
  letter-spacing: 0.08em;
  font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
  .rv-card { width: 260px; height: 250px; padding: 20px 18px 18px; }
  .rv-track { gap: 14px; }
  .rv-track-wrap::before,
  .rv-track-wrap::after { width: 36px; }
  .rv-track-wrap { height: 250px; }
  .rv-text { font-size: 1.02rem; }
}
