/* ── Velocity Reviews — Front-end Styles ─────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap');

#tp-reviews {
  position: relative;
  padding: 60px 24px 70px;
  overflow: hidden;
  width: 100%;
}

/* Background layer — image is set via inline style from PHP */
#tp-reviews .tp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

/* Dark overlay — opacity controlled via inline style from PHP */
#tp-reviews .tp-bg-overlay {
  position: absolute;
  inset: 0;
}

#tp-reviews .tp-inner {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── HEADER ──────────────────────────────────────────────────────────── */
#tp-reviews .tp-header {
  text-align: center;
  margin-bottom: 40px;
}

#tp-reviews .tp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 30px;
  padding: 6px 18px;
  margin-bottom: 18px;
}

#tp-reviews .tp-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #f0b95e;
  flex-shrink: 0;
}

#tp-reviews .tp-eyebrow-text {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
}

#tp-reviews .tp-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 14px;
}

#tp-reviews .tp-heading span {
  color: #f0b95e;
  font-weight: 800;
}

#tp-reviews .tp-subtext {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── MASONRY ─────────────────────────────────────────────────────────── */
#tp-reviews .tp-masonry {
  columns: 3;
  column-gap: 20px;
}

/* ── GLASS CARD ──────────────────────────────────────────────────────── */
#tp-reviews .tp-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 26px 22px 22px;
  margin-bottom: 20px;
  break-inside: avoid;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.25s, transform 0.22s, box-shadow 0.22s;
}

#tp-reviews .tp-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.20);
}

/* Accent bars */
#tp-reviews .tp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
}
#tp-reviews .tp-gold::before  { background: #d4943a; }
#tp-reviews .tp-sage::before  { background: #5a8a6a; }
#tp-reviews .tp-sky::before   { background: #4a7fa5; }
#tp-reviews .tp-rust::before  { background: #c4653a; }
#tp-reviews .tp-blue::before  { background: rgba(120,180,240,0.80); }

/* Stars */
#tp-reviews .tp-stars { display:flex; gap:2px; margin-bottom:12px; }
#tp-reviews .tp-star  { color:#f0b95e; font-size:13px; line-height:1; }

/* Quote mark */
#tp-reviews .tp-quote-mark {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  color: #f0b95e;
  opacity: 0.50;
  line-height: 0.5;
  margin-bottom: 12px;
  display: block;
  user-select: none;
}

/* Quote text */
#tp-reviews .tp-quote {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.90);
  flex: 1;
  margin-bottom: 20px;
}

/* Card footer */
#tp-reviews .tp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 14px;
}

#tp-reviews .tp-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

#tp-reviews .tp-location {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
}

#tp-reviews .tp-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
#tp-reviews .tp-tag-tenant {
  background: rgba(90,138,106,0.22);
  border: 1px solid rgba(90,138,106,0.40);
  color: #9de0b0;
}
#tp-reviews .tp-tag-renter {
  background: rgba(212,148,58,0.20);
  border: 1px solid rgba(212,148,58,0.38);
  color: #f0b95e;
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
#tp-reviews .tp-footer {
  text-align: center;
  margin-top: 48px;
}

#tp-reviews .tp-footer p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  margin-bottom: 20px;
  line-height: 1.65;
}

#tp-reviews .tp-footer strong {
  font-weight: 700;
  color: #f0b95e;
}

#tp-reviews .tp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d4943a;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(212,148,58,0.42);
  transition: background 0.2s, transform 0.15s;
}

#tp-reviews .tp-cta:hover {
  background: #f0b95e;
  transform: translateY(-2px);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  #tp-reviews .tp-masonry { columns: 2; }
}
@media (max-width: 560px) {
  #tp-reviews .tp-masonry { columns: 1; }
  #tp-reviews { padding: 44px 16px 52px; }
  #tp-reviews .tp-heading { font-size: 26px; }
}
