/* Google reviews rail, shared by every page. Markup is built by reviews.js
   into the first [data-reviews-mount]. Classes are prefixed trv- so they never
   meet the older .review-card rules still sitting in index.html and about.html. */
.trv {
  background: var(--cream, #faf8f0);
  padding: clamp(56px, 8vw, 96px) 0;
  color: var(--dark, #1c1c1e);
  font-family: 'Inter', system-ui, sans-serif;
}
.trv [hidden] { display: none !important; }
.trv-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.trv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.trv-head > * { min-width: 0; }
.trv-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deeper, #a8852a);
  font-weight: 600;
  margin: 0 0 10px;
}
.trv-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  color: var(--dark, #1c1c1e);
}
.trv-title em { font-style: italic; color: var(--gold-dark, #c9a84c); }
.trv-score {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trv-g { width: 34px; height: 34px; flex: none; }
.trv-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 600;
}
.trv-stars { color: #fbbc04; letter-spacing: 2px; font-size: 17px; line-height: 1; }
.trv-sum { display: flex; flex-direction: column; gap: 5px; }
.trv-count { font-size: 13px; color: var(--text-body, #4a4a4e); }
.trv-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark, #1c1c1e);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dark, #c9a84c);
  padding-bottom: 2px;
  white-space: nowrap;
}
.trv-link:hover { color: var(--gold-deeper, #a8852a); }

/* The rail is a deliberate sideways scroller: swipe on a phone, arrows on desktop. */
.trv-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 14px;
  margin: 0 -2px;
}
.trv-track::-webkit-scrollbar { display: none; }
.trv-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 16px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(28, 28, 30, 0.05);
}
.trv-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.trv-av {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--dark, #1c1c1e);
  background: var(--gold, #ebd99f);
}
.trv-av.t1 { background: #f3efe3; border: 1px solid var(--gold-dark, #c9a84c); }
.trv-av.t2 { background: #1c1c1e; color: #ebd99f; }
.trv-av.t3 { background: #c9a84c; color: #fff; }
.trv-who { display: flex; flex-direction: column; min-width: 0; }
.trv-who strong {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.trv-who span { font-size: 12px; color: var(--text-muted, #8a8a8e); }
.trv-rate { color: #fbbc04; letter-spacing: 2px; font-size: 14px; margin-bottom: 10px; }
.trv-body { flex: 1 1 auto; }
.trv-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body, #4a4a4e);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.trv-card.is-open .trv-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.trv-more {
  align-self: flex-start;
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deeper, #a8852a);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trv-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}
.trv-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(28, 28, 30, 0.18);
  background: #fff;
  color: var(--dark, #1c1c1e);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.trv-arrow:hover { background: var(--gold, #ebd99f); border-color: var(--gold-dark, #c9a84c); }
.trv-pos {
  font-size: 13px;
  color: var(--text-body, #4a4a4e);
  font-variant-numeric: tabular-nums;
  min-width: 64px;
  text-align: center;
}
.trv-bar {
  height: 2px;
  max-width: 220px;
  margin: 16px auto 0;
  background: rgba(28, 28, 30, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.trv-bar i {
  display: block;
  height: 100%;
  background: var(--gold-dark, #c9a84c);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}
.trv-bar.is-off { visibility: hidden; }

@media (max-width: 1000px) {
  .trv-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
  .trv-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .trv-card { flex-basis: 100%; padding: 22px 20px 18px; }
  .trv-num { font-size: 2rem; }
}
