/* ============================================================
   ADVENTURE — TREK DETAIL PAGE
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.trek-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.trek-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.trek-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.35) 100%);
}
.trek-hero-emoji {
  position: absolute; top: 50%; right: 8%; transform: translateY(-50%);
  font-size: 6rem; opacity: .9; z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}
.trek-hero-content {
  position: relative; z-index: 1;
  width: 100%;
  padding-top: 88px; padding-bottom: 28px;
}
.trek-crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.7);
  margin-bottom: 18px; flex-wrap: wrap;
}
.trek-crumb a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.trek-crumb a:hover { color: #fff; }
.trek-crumb-current { color: #fff; font-weight: 600; }
.trek-eyebrow {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fcd34d; margin-bottom: 12px;
}
.trek-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  margin-bottom: 16px;
}
.trek-hero-badges { display: flex; align-items: center; gap: 12px; }
.trek-hero-season { font-size: .85rem; color: rgba(255,255,255,.85); font-weight: 500; }

/* difficulty badges (shared look with hub) */
.adv-badge {
  display: inline-block; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 20px; white-space: nowrap;
}
.adv-badge--easy     { background: #dcfce7; color: #166534; }
.adv-badge--moderate { background: #fef3c7; color: #92400e; }
.adv-badge--hard     { background: #fee2e2; color: #991b1b; }

/* ── Facts strip ────────────────────────────────────────── */
.trek-facts { background: var(--dark-blue); }
.trek-facts-inner {
  display: flex; flex-wrap: wrap;
  border-left: 1px solid rgba(255,255,255,.08);
}
.trek-fact {
  flex: 1; min-width: 140px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.trek-fact-label {
  display: block; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.45); margin-bottom: 4px;
}
.trek-fact-val { font-size: .92rem; color: #fff; font-weight: 600; }

/* ── Body layout ────────────────────────────────────────── */
.trek-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 48px 24px 80px;
  align-items: start;
}
.trek-section { margin-bottom: 40px; }
.trek-section:last-child { margin-bottom: 0; }
.trek-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 700; color: var(--text);
  margin-bottom: 16px;
}
.trek-overview {
  font-size: .95rem; color: var(--dark-grey);
  line-height: 1.8; margin-bottom: 18px;
}
.trek-highlights { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.trek-highlights li {
  font-size: .9rem; color: var(--dark-grey); line-height: 1.55;
  padding-left: 26px; position: relative;
}
.trek-highlights li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: #16a34a; font-weight: 700;
}

/* ── Packages ───────────────────────────────────────────── */
.trek-pkg-intro {
  font-size: .9rem; color: var(--mid-grey);
  line-height: 1.6; margin-bottom: 20px;
}
.trek-packages {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.trek-pkg {
  display: flex; flex-direction: column;
  border: 1px solid var(--light-grey); border-radius: 14px;
  padding: 20px; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.trek-pkg:hover {
  border-color: var(--red); transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}
.trek-pkg-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--light-grey);
}
.trek-pkg-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  line-height: 1.25;
}
.trek-pkg-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 700; color: var(--red);
  line-height: 1; white-space: nowrap;
}
.trek-pkg-price span {
  display: block; font-family: var(--font-body);
  font-size: .68rem; font-weight: 500; color: var(--mid-grey);
  margin-top: 3px; text-align: right;
}
.trek-pkg-specs {
  display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; flex: 1;
}
.trek-pkg-spec {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--light-grey);
}
.trek-pkg-spec:last-child { border-bottom: none; }
.trek-pkg-spec-l { font-size: .78rem; color: var(--mid-grey); flex-shrink: 0; }
.trek-pkg-spec-v { font-size: .82rem; font-weight: 600; color: var(--text); text-align: right; }
.trek-pkg-btn {
  width: 100%; padding: 11px; border-radius: 10px;
  font-size: .82rem; font-weight: 700; cursor: not-allowed;
  background: var(--off-white); color: var(--mid-grey);
  border: 1px solid var(--light-grey);
}

/* ── Itinerary ──────────────────────────────────────────── */
.trek-itin-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px;
}
.trek-itin-head .trek-h2 { margin-bottom: 0; }
.trek-itin-controls { display: flex; align-items: center; gap: 8px; }
.trek-itin-ctrl {
  font-size: .76rem; font-weight: 600; color: var(--red);
  background: #fff; border: 1px solid var(--light-grey);
  padding: 6px 13px; border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.trek-itin-ctrl:hover { background: var(--red); border-color: var(--red); color: #fff; }

.trek-itin { display: flex; flex-direction: column; gap: 10px; }

/* Collapsible (detailed) itinerary days — card style */
.trek-itin-item {
  border: 1px solid var(--light-grey); border-radius: 12px;
  background: #fff; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.trek-itin-item:hover { border-color: #f1c4cc; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.trek-itin-item[open] {
  border-color: var(--red);
  box-shadow: 0 6px 22px rgba(220,20,60,.08);
}
.trek-itin-summary {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; cursor: pointer; list-style: none;
}
.trek-itin-summary::-webkit-details-marker { display: none; }
.trek-itin-summary:hover .trek-itin-title { color: var(--red); }
.trek-itin-summary-main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px;
  flex: 1; min-width: 0;
}
.trek-itin-chevron {
  color: var(--mid-grey); flex-shrink: 0; transition: transform .25s, color .2s;
}
.trek-itin-item[open] .trek-itin-chevron { transform: rotate(180deg); color: var(--red); }
.trek-itin-detail {
  padding: 0 20px 16px 98px;
  animation: trek-itin-reveal .25s ease;
}
@keyframes trek-itin-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Legacy (simple) itinerary rows — used by treks without per-day titles */
.trek-itin-row {
  display: grid; grid-template-columns: 124px 1fr; gap: 22px;
  padding: 20px 0; border-bottom: 1px solid var(--light-grey);
}
.trek-itin-row:last-child { border-bottom: none; }
.trek-itin-row .trek-itin-label { align-self: start; }

.trek-itin-label {
  flex-shrink: 0; justify-self: start; text-align: center; min-width: 66px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #fff; background: var(--red);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.trek-itin-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.02rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin: 0; transition: color .2s;
}
.trek-itin-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.trek-itin-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 600; color: var(--dark-grey);
  background: var(--off-white); border: 1px solid var(--light-grey);
  padding: 4px 11px; border-radius: 999px;
}
.trek-itin-chip svg { color: var(--red); flex-shrink: 0; }
.trek-itin-desc { font-size: .9rem; color: var(--dark-grey); line-height: 1.65; margin: 0; }

/* ── Gallery ────────────────────────────────────────────── */
.trek-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.trek-gallery-item {
  border: none; padding: 0; cursor: pointer;
  border-radius: 10px; overflow: hidden; aspect-ratio: 1/1;
  background: var(--light-grey);
}
.trek-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s;
}
.trek-gallery-item:hover img { transform: scale(1.07); }

/* ── Reviews empty state ────────────────────────────────── */
.trek-reviews-empty {
  background: var(--off-white); border: 1px dashed var(--light-grey);
  border-radius: 14px; padding: 40px 28px; text-align: center;
  color: var(--mid-grey);
}
.trek-reviews-empty svg { color: var(--mid-grey); margin-bottom: 12px; }
.trek-reviews-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.trek-reviews-sub { font-size: .88rem; line-height: 1.6; max-width: 380px; margin: 0 auto 18px; }
.trek-btn-ghost {
  font-size: .82rem; font-weight: 600; cursor: pointer;
  padding: 9px 20px; border-radius: 22px;
  background: #fff; color: var(--red); border: 1.5px solid var(--red);
  transition: background .2s, color .2s;
}
.trek-btn-ghost:hover { background: var(--red); color: #fff; }

/* ── Sticky booking sidebar ─────────────────────────────── */
.trek-aside { position: sticky; top: 90px; }
.trek-book {
  background: #fff; border: 1px solid var(--light-grey);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.trek-book-cost {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem; font-weight: 700; color: var(--text);
  line-height: 1; margin-bottom: 4px;
}
.trek-book-cost span {
  display: inline-block; font-family: var(--font-body);
  font-size: .72rem; font-weight: 500; color: var(--mid-grey);
  margin-left: 6px;
}
.trek-book-costnote {
  font-size: .76rem; color: var(--mid-grey);
  line-height: 1.5; margin-bottom: 20px;
}
.trek-book-btn {
  width: 100%; padding: 12px; border-radius: 10px;
  font-size: .88rem; font-weight: 700; cursor: not-allowed;
  margin-bottom: 10px; transition: opacity .2s;
}
.trek-book-btn--primary {
  background: var(--red); color: #fff; border: none; opacity: .55;
}
.trek-book-btn--link {
  display: block; text-align: center; text-decoration: none;
  opacity: 1; cursor: pointer; transition: background .2s;
}
.trek-book-btn--link:hover { background: var(--red-dark); }
.trek-book-btn--outline {
  background: #fff; color: var(--dark-grey);
  border: 1.5px solid var(--light-grey); opacity: .7;
}
.trek-book-soon {
  font-size: .74rem; color: var(--mid-grey);
  line-height: 1.5; margin: 6px 0 18px;
  padding: 10px 12px; background: var(--off-white); border-radius: 8px;
}
.trek-book-links { display: flex; flex-direction: column; gap: 10px; }
.trek-book-links a {
  font-size: .84rem; font-weight: 600; color: var(--dark-blue);
  text-decoration: none; transition: opacity .2s;
}
.trek-book-links a:hover { opacity: .7; }

/* ── Gallery lightbox ───────────────────────────────────── */
.trek-lb {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.trek-lb.open { opacity: 1; pointer-events: auto; }
.trek-lb-img {
  max-width: 90vw; max-height: 82vh;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.trek-lb-close {
  position: fixed; top: 16px; right: 16px; z-index: 1300;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  transition: background .2s, transform .2s;
}
.trek-lb-close:hover { background: rgba(0,0,0,.85); transform: scale(1.1); }
.trek-lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 1300;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: #111;
  font-size: 24px; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.trek-lb-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.trek-lb-prev { left: 18px; }
.trek-lb-next { right: 18px; }
.trek-lb-counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .1em;
}

/* ── Sticky tab nav ─────────────────────────────────────── */
.trek-nav {
  position: sticky; top: 72px; z-index: 900;
  background: #fff; border-bottom: 1px solid var(--light-grey);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.trek-nav-inner {
  display: flex; gap: 4px; overflow-x: auto;
  scrollbar-width: none;
}
.trek-nav-inner::-webkit-scrollbar { display: none; }
.trek-nav-link {
  flex-shrink: 0; padding: 14px 16px;
  font-size: .82rem; font-weight: 600; color: var(--mid-grey);
  text-decoration: none; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: color .2s, border-color .2s;
}
.trek-nav-link:hover { color: var(--text); }
.trek-nav-link.active { color: var(--red); border-bottom-color: var(--red); }

.trek-section { scroll-margin-top: 140px; }
.trek-h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin: 22px 0 12px;
}

/* ── Inclusions / Exclusions ────────────────────────────── */
.trek-incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.trek-incl li { font-size: .88rem; color: var(--dark-grey); line-height: 1.5; padding-left: 26px; position: relative; }
.trek-incl--yes li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.trek-incl--no  li::before { content: '✕'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* ── Fixed departures ───────────────────────────────────── */
.trek-dep-note { font-size: .86rem; color: var(--mid-grey); line-height: 1.6; margin-bottom: 16px; }
.trek-dep-table { display: flex; flex-direction: column; border: 1px solid var(--light-grey); border-radius: 12px; overflow: hidden; }
.trek-dep-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--light-grey);
}
.trek-dep-row:last-child { border-bottom: none; }
.trek-dep-row:nth-child(odd) { background: var(--off-white); }
.trek-dep-date { font-size: .9rem; font-weight: 700; color: var(--text); }
.trek-dep-dur { font-size: .82rem; color: var(--mid-grey); }
.trek-dep-status { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 20px; justify-self: start; }
.trek-dep-status--available { background: #dcfce7; color: #166534; }
.trek-dep-status--limited   { background: #fef3c7; color: #92400e; }
.trek-dep-btn {
  font-size: .76rem; font-weight: 700; padding: 8px 14px; border-radius: 8px;
  background: var(--off-white); color: var(--mid-grey);
  border: 1px solid var(--light-grey); cursor: not-allowed; white-space: nowrap;
}

/* ── FAQ ────────────────────────────────────────────────── */
.trek-faq { display: flex; flex-direction: column; gap: 8px; }
.trek-faq-item { border: 1px solid var(--light-grey); border-radius: 10px; overflow: hidden; }
.trek-faq-item summary {
  cursor: pointer; padding: 14px 18px; font-size: .9rem; font-weight: 600;
  color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.trek-faq-item summary::-webkit-details-marker { display: none; }
.trek-faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--red); font-weight: 400; }
.trek-faq-item[open] summary::after { content: '−'; }
.trek-faq-item[open] summary { border-bottom: 1px solid var(--light-grey); }
.trek-faq-item p { font-size: .86rem; color: var(--dark-grey); line-height: 1.65; padding: 14px 18px; margin: 0; }

/* ── Checklist ──────────────────────────────────────────── */
.trek-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trek-check-group h4 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--red); margin-bottom: 8px;
}
.trek-check-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.trek-check-group li { font-size: .84rem; color: var(--dark-grey); line-height: 1.4; padding-left: 18px; position: relative; }
.trek-check-group li::before { content: '☐'; position: absolute; left: 0; color: var(--mid-grey); }

/* ── Pricing card extras ────────────────────────────────── */
.trek-book-deal { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.trek-book-was { font-size: .9rem; color: var(--mid-grey); text-decoration: line-through; }
.trek-book-badge {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 20px;
}
.trek-book-feats { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-direction: column; gap: 7px; }
.trek-book-feats li { font-size: .8rem; color: var(--dark-grey); padding-left: 22px; position: relative; }
.trek-book-feats li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 880px) {
  .trek-body { grid-template-columns: 1fr; gap: 32px; }
  .trek-aside { position: static; }
  .trek-incl { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .trek-hero { min-height: 230px; }
  .trek-gallery { grid-template-columns: repeat(2, 1fr); }
  .trek-itin-row { grid-template-columns: 1fr; gap: 10px; }
  .trek-itin-summary { padding: 14px; gap: 10px; }
  .trek-itin-detail { padding: 0 14px 14px; }
  .trek-checklist { grid-template-columns: 1fr; }
  .trek-dep-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .trek-dep-dur { display: none; }
  .trek-lb-prev { left: 8px; }
  .trek-lb-next { right: 8px; }
}
