/* =====================================================================
   Traville — VERSION 2 homepage refinements (evolutionary, additive).
   Loaded AFTER the base stylesheets so it only layers on top; it never
   overrides the shared design system destructively. Scope: homepage.
   ===================================================================== */

/* Hero — discreet trust micro-row under the CTAs, led by the advisor himself
   (light-on-film: the hero is the cinematic video, see pages.css). */
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,0.84);
}
.hero-trust .htr { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-trust .htr-stars { color: var(--gold-light); letter-spacing: 1px; font-size: 13px; }
.hero-trust .htr strong { color: #fff; font-weight: 600; }
.hero-trust .htr-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); opacity: .7; }
.hero-advisor { gap: 10px !important; color: rgba(255,255,255,0.84); text-decoration: none; }
.hero-advisor:hover { color: #fff; }
.hero-advisor:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hero-advisor:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 24px; }
.hero-advisor img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold-light); object-fit: cover; flex: none; }
@media (max-width: 1023px) {
  /* the advisor line takes its own row; stars + Beachcomber share the next
     (no dots: a wrapped row would strand one on its own) */
  .hero-trust { gap: 10px 16px; }
  .hero-advisor { flex-basis: 100%; }
  .hero-trust .htr-sep { display: none; }
}
@media (max-width: 760px) {
  .hero-trust { margin-top: 20px; font-size: 13px; }
}

/* Deal Seeker bridge (INSPIRE -> DISCOVER). The hero's lower edge fades into
   this band's deep teal; its photo is the Deal Seeker hub's own hero poster,
   so the visitor recognises the page they land on. Set here rather than in an
   inline style: url() inside a custom property resolves against the
   stylesheet using it, so the old inline "images/..." path requested
   css/images/... and 404'd, leaving the band without its photo. */
.ds-promo { --ds-promo-img: url('../images/deal-seeker-hero-poster-1600.webp'); }

/* Signature destinations — more photograph, less chrome. Homepage-scoped
   (v2.css loads only here), so the shared .dest-card on other pages is
   untouched. Taller rows, editorial names, a slower, gentler hover drift. */
#destinations .dest-grid { grid-template-rows: 440px 320px; gap: 16px; }
#destinations .dest-card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
#destinations .dest-card:hover img { transform: scale(1.045); }
#destinations .dest-card::after { background: linear-gradient(to top, rgba(4,22,30,0.74) 0%, rgba(4,22,30,0.18) 45%, rgba(4,22,30,0) 70%); }
#destinations .dest-card__body { padding: 26px 28px; }
#destinations .dest-card__name { font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; line-height: 1.05; }
#destinations .dest-card--wide .dest-card__name { font-size: clamp(34px, 3.4vw, 50px); }
#destinations .dest-card__desc { font-size: 14px; margin-top: 6px; max-width: 38ch; }
#destinations .dest-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) {
  #destinations .dest-grid { grid-template-rows: none; }
  #destinations .dest-card { min-height: 300px; }
  #destinations .dest-card--wide { min-height: 360px; }
}
@media (max-width: 600px) {
  #destinations .dest-card { min-height: 260px; }
  #destinations .dest-card--wide { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  #destinations .dest-card:hover img { transform: none; }
}

/* "How it works" — 3-step concierge process */
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px;
}
.how-step { text-align: center; padding: 6px; }
.how-step__num {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--teal); background: var(--teal-pale); border: 1.5px solid var(--teal);
}
.how-step h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 8px; }
.how-step p { color: var(--muted); margin: 0; }
.how-step__line { display: none; }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; gap: 22px; } }

/* Curated pillar tiles — subtitle under the tile title */
.feature-tiles .exp-tile .exp-body p {
  margin: 6px 0 0; font-family: var(--font-body); font-size: 13.5px;
  font-weight: 400; color: rgba(255,255,255,.9); line-height: 1.4;
}

/* Trip Plans teaser band */
.tripplans-teaser {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
}
.tripplans-teaser__media { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; }
.tripplans-teaser__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tripplans-teaser__media .tp-play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92);
  color: var(--teal); box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.tripplans-teaser__media .tp-play svg { width: 26px; height: 26px; margin-left: 3px; }
@media (max-width: 820px) { .tripplans-teaser { grid-template-columns: 1fr; gap: 24px; } }

/* Optional review avatar as a photo (falls back to initials when absent) */
.review-avatar--img { background-size: cover; background-position: center; color: transparent; }

/* .review-links moved to pages.css — the reviews section now lives on the About
   page, which does not load this homepage-only stylesheet. */
