/* ============================================================
   HSJ Tour Page v3 — Extracted from demo-trek-detail.html
   Scoped under .tour-page-v3 where needed to avoid Bootstrap conflicts
   CSS variables kept at :root level
   ============================================================ */

:root {
  --accent: #FBA504;
  --accent-light: #e09400;
  --gold: #FBA504;
  --fg: #111827;
  --fg-muted: rgba(55,65,90,0.65);
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: rgba(0,0,0,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --nav-h: 0px;
  --sticky-nav-h: 49px;
}

/* Fix overflow-x:hidden breaking position:sticky */
.tour-page-v3 { overflow-x: clip; }

/* ── HERO ── */
.v3-hero { position: relative; height: 70vh; min-height: 480px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.v3-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.v3-hero-dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,24,39,0.1) 0%, rgba(17,24,39,0.5) 65%, rgba(17,24,39,0.88) 100%); }
.v3-hero-content { position: relative; z-index: 2; padding: 0 64px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.v3-hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.v3-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.v3-hero-title { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 58px); font-weight: 500; line-height: 1.06; letter-spacing: -1px; color: white; margin-bottom: 16px; }
.v3-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-hero-pill { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(6px); border-radius: 100px; padding: 6px 14px; font-size: 13px; color: rgba(255,255,255,0.9); }
.v3-hero-actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.v3-btn-book-hero { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--accent); color: white; font-family: var(--font-body); font-size: 14px; font-weight: 500; border-radius: 4px; text-decoration: none; transition: background 0.2s; white-space: nowrap; border: none; cursor: pointer; }
.v3-btn-book-hero:hover { background: var(--accent-light); color: white; text-decoration: none; }
.v3-btn-enquire-hero { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); background: transparent; font-family: var(--font-body); font-size: 13px; font-weight: 400; border-radius: 4px; text-decoration: none; white-space: nowrap; transition: border-color 0.2s; }
.v3-btn-enquire-hero:hover { border-color: white; color: white; text-decoration: none; }

/* ── STICKY NAV ── */
.v3-sticky-nav { position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: white; border-bottom: 1px solid var(--border); padding: 0 64px; display: flex; align-items: center; justify-content: space-between; isolation: isolate; }
.v3-sticky-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.v3-sticky-tabs::-webkit-scrollbar { display: none; }
.v3-sticky-tab { flex-shrink: 0; padding: 16px 18px; font-size: 13px; font-weight: 400; color: var(--fg-muted); border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; font-family: var(--font-body); }
.v3-sticky-tab:hover { color: var(--fg); }
.v3-sticky-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
.v3-sticky-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-left: 16px; }
.v3-sticky-price-wrap { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; }
.v3-sticky-price { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--fg); }
.v3-sticky-price sup { font-size: 12px; font-weight: 300; vertical-align: super; font-family: var(--font-body); }
.v3-sticky-price-label { font-size: 12px; color: var(--fg-muted); }
/* Currency switcher in sticky nav */
.v3-nav-currency { position: relative; }
.v3-nav-currency-btn { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--fg); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; cursor: pointer; white-space: nowrap; font-family: var(--font-body); transition: background 0.15s; }
.v3-nav-currency-btn:hover { background: #eef2f7; }
.v3-nav-currency-drop { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 80px; z-index: 200; overflow: hidden; }
.v3-nav-currency-drop.open { display: block; }
.v3-nav-currency-opt { display: block; padding: 9px 16px; font-size: 12px; font-weight: 500; color: var(--fg); text-decoration: none; transition: background 0.15s; }
.v3-nav-currency-opt:hover { background: var(--bg-soft); color: var(--fg); text-decoration: none; }
.v3-nav-currency-opt.active { color: var(--accent); font-weight: 600; }

/* ── LAYOUT ── */
.v3-layout { display: grid; grid-template-columns: 1fr 400px; gap: 0; max-width: 1440px; margin: 0 auto; padding: 52px 64px; align-items: start; }
.v3-main { padding-right: 52px; }
.v3-sidebar { position: sticky; top: calc(var(--sticky-nav-h) + 16px); }

/* ── QUICK FACTS ── */
.v3-quick-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 48px; }
.v3-fact-item { background: var(--bg-soft); padding: 18px 20px; }
.v3-fact-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 4px; }
.v3-fact-value { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--fg); line-height: 1.2; }
.v3-fact-sub { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }

/* ── SECTIONS ── */
.v3-section { margin-bottom: 52px; scroll-margin-top: calc(var(--sticky-nav-h) + 16px); }
.v3-section-heading { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--fg); margin-bottom: 20px; letter-spacing: -0.3px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.v3-section-heading em { font-style: italic; color: var(--fg); }

/* ── PROSE ── */
.v3-prose { font-size: 15px; line-height: 1.8; color: var(--fg-muted); font-weight: 300; }
.v3-prose p + p { margin-top: 14px; }
.v3-prose strong { color: var(--fg); font-weight: 500; }
.v3-prose blockquote { border-left: 3px solid rgba(0,0,0,0.15); padding-left: 16px; margin: 16px 0; color: var(--fg-muted); font-style: italic; }
.v3-prose p { margin-bottom: 14px; }

/* ── HIGHLIGHTS ── */
.v3-highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v3-highlight-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--border); }
.v3-highlight-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.25); flex-shrink: 0; margin-top: 5px; }
.v3-highlight-text { font-size: 13px; color: var(--fg); line-height: 1.5; }

/* Highlights parsed from HTML — override inline styles */
.v3-highlights-wrap ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v3-highlights-wrap li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--border); font-size: 13px; color: var(--fg); line-height: 1.5; }
.v3-highlights-wrap li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.25); flex-shrink: 0; margin-top: 5px; }

/* ── GALLERY ── */
.v3-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 360px; border-radius: 6px; overflow: hidden; }
.v3-gallery-img { overflow: hidden; cursor: pointer; position: relative; }
.v3-gallery-img:first-child { grid-row: 1 / 3; }
.v3-gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.v3-gallery-img:hover img { transform: scale(1.04); }
.v3-gallery-more-overlay { position: absolute; inset: 0; background: rgba(17,24,39,0.55); display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; font-weight: 500; font-family: var(--font-display); }
.v3-gallery-more-mobile { display: none; }

/* ── ITINERARY ── */
.v3-itinerary-list { display: flex; flex-direction: column; }
.v3-day-row { display: grid; grid-template-columns: 72px 1fr; position: relative; }
.v3-day-row::before { content: ''; position: absolute; left: 35px; top: 48px; bottom: 0; width: 1px; background: var(--border); }
.v3-day-row:last-child::before { display: none; }
.v3-day-num-col { padding: 18px 0; display: flex; justify-content: center; }
.v3-day-circle { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--fg-muted); flex-shrink: 0; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.v3-day-row.open .v3-day-circle, .v3-day-row:hover .v3-day-circle { background: var(--accent); border-color: var(--accent); color: white; }
.v3-day-body { padding: 16px 0 16px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.v3-day-row:last-child .v3-day-body { border-bottom: none; }
.v3-day-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.v3-day-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 3px; }
.v3-day-name { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--fg); line-height: 1.3; }
.v3-day-chips { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.v3-day-chip { font-size: 11px; color: var(--fg-muted); background: var(--bg-soft); padding: 3px 8px; border-radius: 3px; border: 1px solid var(--border); white-space: nowrap; }
.v3-day-chevron { color: var(--fg-muted); transition: transform 0.25s; flex-shrink: 0; margin-top: 2px; }
.v3-day-row.open .v3-day-chevron { transform: rotate(180deg); }
.v3-day-desc { font-size: 13px; line-height: 1.7; color: var(--fg-muted); font-weight: 300; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, margin-top 0.2s; }
.v3-day-row.open .v3-day-desc { max-height: 2000px; margin-top: 10px; }
.v3-day-desc p { margin-bottom: 8px; font-size: 13px; line-height: 1.7; color: var(--fg-muted); }
.v3-day-desc strong, .v3-day-desc b { color: var(--fg); }

/* Day gallery inside itinerary */
.v3-day-gallery { margin-top: 10px; margin-bottom: 12px; position: relative; border-radius: 6px; overflow: hidden; max-height: 300px; }
.v3-day-gallery .gallery-track { display: flex; }
.v3-day-gallery .gallery-slide { min-width: 100%; display: none; }
.v3-day-gallery .gallery-slide.active { display: block; }
.v3-day-gallery .gallery-slide img { width: 100%; height: 260px; object-fit: cover; display: block; border-radius: 6px; }
.v3-day-gallery .gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(17,24,39,0.5); color: white; border: none; padding: 8px 14px; font-size: 20px; cursor: pointer; border-radius: 3px; }
.v3-day-gallery .gallery-nav.prev { left: 8px; }
.v3-day-gallery .gallery-nav.next { right: 8px; }
.v3-day-gallery .gallery-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.v3-day-gallery .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.v3-day-gallery .dot.active { background: white; }

/* ── INCLUDES ── */
.v3-inc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.v3-inc-col-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9ca3af; margin-bottom: 8px; }
.v3-inc-list { display: flex; flex-direction: column; }
.v3-inc-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; }
.v3-inc-badge { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.v3-inc-badge--yes { background: #22c55e; }
.v3-inc-badge--no { background: #ef4444; }
.v3-inc-text { font-size: 14px; color: #374151; line-height: 1.5; font-weight: 400; }

/* ── EQUIPMENT ── */
.v3-equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.v3-equip-col { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; padding: 20px 22px; }
.v3-equip-col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.v3-equip-col-title::before { content: ''; width: 16px; height: 1px; background: rgba(0,0,0,0.2); }
.v3-equip-list { list-style: none; display: flex; flex-direction: column; gap: 7px; padding: 0; margin: 0; }
.v3-equip-list li { font-size: 13px; color: var(--fg-muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.v3-equip-list li::before { content: '–'; color: rgba(0,0,0,0.25); flex-shrink: 0; }

/* ── VIDEOS ── */
.v3-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v3-video-card { position: relative; border-radius: 6px; overflow: hidden; cursor: pointer; aspect-ratio: 9/14; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.v3-video-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.v3-video-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.4s; }
.v3-video-card:hover .v3-video-thumb { transform: scale(1.04); }
.v3-video-dim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.1) 60%); }
.v3-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v3-video-card:hover .v3-video-play { background: var(--accent); border-color: var(--accent); }
.v3-video-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; z-index: 2; }
.v3-video-name { font-size: 13px; font-weight: 500; color: white; }
.v3-video-desc { font-size: 11px; color: rgba(200,215,235,0.7); margin-top: 2px; }
.v3-video-duration { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.65); color: white; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.03em; z-index: 3; }
.v3-videos-footer { margin-top: 16px; }
.v3-videos-more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; transition: gap 0.2s; }
.v3-videos-more-link:hover { gap: 9px; color: var(--accent-light); text-decoration: none; }

/* ── VIDEO MODAL ── */
.v3-vid-modal { position: fixed; inset: 0; z-index: 300; background: rgba(17,24,39,0.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 24px; }
.v3-vid-modal.open { opacity: 1; pointer-events: all; }
.v3-vid-modal-inner { position: relative; width: 100%; max-width: 900px; }
.v3-vid-modal-inner iframe { width: 100%; aspect-ratio: 16/9; border-radius: 8px; border: none; }
.v3-vid-modal-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; color: white; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v3-vid-modal-close:hover { background: var(--accent); }

/* ── REVIEWS ── */
.v3-rating-summary { display: flex; align-items: center; gap: 28px; padding: 20px 24px; background: var(--bg-soft); border-radius: 8px; border: 1px solid var(--border); margin-bottom: 24px; }
.v3-rating-big { text-align: center; }
.v3-rating-big-num { font-family: var(--font-display); font-size: 48px; font-weight: 500; color: var(--fg); line-height: 1; }
.v3-rating-big-stars { display: flex; gap: 3px; justify-content: center; margin: 6px 0; }
.v3-star-g { width: 11px; height: 11px; background: var(--gold); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.v3-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.v3-rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--fg-muted); }
.v3-rating-bar-label { width: 52px; }
.v3-rating-bar-track { flex: 1; height: 5px; background: rgba(0,0,0,0.08); border-radius: 3px; overflow: hidden; }
.v3-rating-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.v3-rating-bar-val { width: 24px; font-weight: 500; color: var(--fg); }
/* Video testimonials strip */
.v3-rv-videos { margin-bottom: 28px; }
.v3-rv-videos-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 12px; }
.v3-rv-video-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.v3-rv-video-card { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 16/10; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.v3-rv-video-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.15); }
.v3-rv-video-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.4s; }
.v3-rv-video-card:hover .v3-rv-video-thumb { transform: scale(1.05); }
.v3-rv-video-dim { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(17,12,5,0.72) 100%); }
.v3-rv-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 38px; height: 38px; border-radius: 50%; background: rgba(251,165,4,0.9); display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; box-shadow: 0 4px 16px rgba(251,165,4,0.45); }
.v3-rv-video-card:hover .v3-rv-video-play { background: #FBA504; transform: translate(-50%, -60%) scale(1.1); }
.v3-rv-video-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; z-index: 2; }
.v3-rv-video-stars { font-size: 10px; color: #FBA504; letter-spacing: 1px; margin-bottom: 3px; }
.v3-rv-video-name { font-size: 12px; font-weight: 500; color: white; line-height: 1.3; }

.v3-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.v3-review-item { padding: 20px; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--border); }
.v3-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.v3-review-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.v3-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v3-review-avatar.init { background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-muted); }
.v3-review-meta { flex: 1; }
.v3-review-name { font-size: 14px; font-weight: 500; color: var(--fg); }
.v3-review-origin { font-size: 12px; color: var(--fg-muted); }
.v3-review-stars { display: flex; gap: 2px; }
.v3-review-star { width: 10px; height: 10px; background: var(--gold); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.v3-review-title { font-size: 15px; font-weight: 700; font-style: normal; color: var(--fg); font-family: var(--font-body); margin-bottom: 6px; line-height: 1.4; }
.v3-review-text { font-size: 14px; line-height: 1.7; color: var(--fg-muted); font-style: italic; font-family: var(--font-display); font-weight: 400; }
.v3-reviews-all-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; }
.v3-reviews-all-link:hover { color: var(--accent-light); text-decoration: none; }

/* ── FAQ ── */
.v3-faq-item { border-bottom: 1px solid var(--border); }
.v3-faq-item:first-child { border-top: 1px solid var(--border); }
.v3-faq-q { width: 100%; text-align: left; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--fg); }
.v3-faq-chevron { color: var(--fg-muted); transition: transform 0.25s; flex-shrink: 0; }
.v3-faq-item.open .v3-faq-chevron { transform: rotate(180deg); }
.v3-faq-a { font-size: 13px; line-height: 1.75; color: var(--fg-muted); font-weight: 300; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; }
.v3-faq-item.open .v3-faq-a { max-height: 400px; padding-bottom: 16px; }

/* ── BOOKING SIDEBAR ── */
.v3-booking-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--sticky-nav-h) + 16px); padding-left: 28px; }
.v3-booking-card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.v3-booking-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border); }
.v3-booking-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.v3-booking-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--fg); line-height: 1; }
.v3-booking-price sup { font-size: 15px; font-weight: 400; vertical-align: super; font-family: var(--font-body); }
.v3-booking-price-label { font-size: 14px; color: var(--fg-muted); font-weight: 300; }
.v3-booking-price-orig { font-size: 13px; color: var(--fg-muted); text-decoration: line-through; }
.v3-booking-save-badge { font-size: 11px; font-weight: 600; background: #dcfce7; color: #15803d; padding: 3px 8px; border-radius: 100px; }
.v3-booking-rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.v3-booking-rating-stars { display: flex; gap: 2px; }
.v3-booking-rating-text { font-size: 12px; color: var(--fg-muted); }
.v3-group-discount-toggle { display: flex; align-items: center; justify-content: space-between; padding: 11px 24px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 1px solid var(--border); user-select: none; transition: background 0.15s; }
.v3-group-discount-toggle:hover { background: rgba(0,0,0,0.03); }
.v3-group-chevron { transition: transform 0.25s; font-size: 11px; }
.v3-group-chevron.open { transform: rotate(180deg); }
.v3-pricing-table { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.25,0.46,0.45,0.94); background: var(--bg-soft); }
.v3-pricing-table.open { max-height: 200px; }
.v3-pricing-table-inner { padding: 12px 24px 14px; }
.v3-pricing-table-header { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 9px; border-bottom: 1px solid var(--border); margin-bottom: 9px; }
.v3-pricing-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 13px; border-bottom: 1px dashed rgba(0,0,0,0.07); gap: 8px; }
.v3-pricing-row:last-child { border-bottom: none; }
.v3-pricing-row-pax { color: var(--fg-muted); flex-shrink: 0; }
.v3-pricing-row-right { display: flex; align-items: center; gap: 7px; }
.v3-pricing-row-price { font-weight: 500; }
.v3-pricing-save { font-size: 10px; font-weight: 600; background: #dcfce7; color: #15803d; padding: 2px 6px; border-radius: 100px; white-space: nowrap; }
.v3-booking-actions { padding: 14px 24px; display: flex; flex-direction: column; gap: 9px; }
.v3-btn-book-now { width: 100%; padding: 13px; background: var(--accent); color: #111827; font-family: var(--font-body); font-size: 13px; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; }
.v3-btn-book-now:hover { background: var(--accent-light); }
.v3-btn-check-avail { width: 100%; padding: 12px; background: #18202e; color: white; font-family: var(--font-body); font-size: 13px; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: opacity 0.2s; }
.v3-btn-check-avail:hover { opacity: 0.88; }
.v3-btn-inquire { width: 100%; padding: 11px; background: transparent; color: var(--fg-muted); font-family: var(--font-body); font-size: 13px; font-weight: 600; border: 1.5px solid rgba(0,0,0,0.15); border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.v3-btn-inquire:hover { background: var(--fg); color: white; border-color: var(--fg); }
.v3-booking-trust { padding: 0 24px 14px; display: flex; flex-direction: column; gap: 6px; }
.v3-trust-line { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--fg-muted); }
.v3-trust-line svg { color: #059669; flex-shrink: 0; }

/* ── EXPERT CARD ── */
.v3-expert-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.v3-expert-inner { display: flex; align-items: center; gap: 12px; }
.v3-expert-avatars { display: flex; align-items: center; flex-shrink: 0; }
.v3-expert-avatar { border-radius: 50%; overflow: hidden; border: 2px solid white; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.15); margin-left: -8px; position: relative; }
.v3-expert-avatar:first-child { margin-left: 0; }
.v3-expert-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.v3-expert-avatar:nth-child(1) { width: 30px; height: 30px; z-index: 1; }
.v3-expert-avatar:nth-child(2) { width: 32px; height: 32px; z-index: 2; }
.v3-expert-avatar:nth-child(3) { width: 38px; height: 38px; z-index: 5; }
.v3-expert-avatar:nth-child(4) { width: 32px; height: 32px; z-index: 2; }
.v3-expert-avatar:nth-child(5) { width: 30px; height: 30px; z-index: 1; }
.v3-expert-info { flex: 1; min-width: 0; }
.v3-expert-name { font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-expert-location { font-size: 11px; color: var(--fg-muted); margin-top: 1px; }
.v3-expert-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 500; color: #15803d; padding: 7px 12px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; white-space: nowrap; text-decoration: none; flex-shrink: 0; transition: background 0.2s; }
.v3-expert-whatsapp:hover { background: #dcfce7; color: #15803d; text-decoration: none; }

/* ── WETRAVEL MODAL ── */
.v3-wt-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(17,24,39,0.65); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; padding: 20px; }
.v3-wt-overlay.open { opacity: 1; pointer-events: all; }
.v3-wt-modal { background: white; border-radius: 12px; width: 100%; max-width: 860px; height: 88vh; box-shadow: 0 24px 80px rgba(0,0,0,0.25); transform: translateY(24px); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94); overflow: hidden; display: flex; flex-direction: column; }
.v3-wt-overlay.open .v3-wt-modal { transform: translateY(0); }
.v3-wt-modal-bar { background: var(--fg); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.v3-wt-modal-title { font-size: 14px; font-weight: 500; color: white; }
.v3-wt-modal-close { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v3-wt-modal-close:hover { background: rgba(255,255,255,0.22); }
.v3-wt-modal iframe { flex: 1; width: 100%; border: none; }

/* ── RELATED ── */
.v3-full-section { padding: 56px 64px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.v3-full-section-inner { max-width: 1440px; margin: 0 auto; }
.v3-full-section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.v3-full-section-title { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--fg); letter-spacing: -0.3px; }
.v3-full-section-title em { font-style: italic; }
.v3-full-section-link { font-size: 13px; color: var(--fg-muted); text-decoration: none; }
.v3-full-section-link::after { content: ' →'; }
.v3-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v3-related-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; text-decoration: none; color: inherit; display: block; }
.v3-related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.09); text-decoration: none; color: inherit; }
.v3-related-img { aspect-ratio: 16/10; overflow: hidden; }
.v3-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.v3-related-card:hover .v3-related-img img { transform: scale(1.04); }
.v3-related-body { padding: 14px 16px; background: white; }
.v3-related-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 5px; }
.v3-related-title { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--fg); margin-bottom: 5px; line-height: 1.3; }
.v3-related-meta { font-size: 12px; color: var(--fg-muted); }
.v3-related-price { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--fg); margin-top: 6px; }
.v3-related-price sup { font-size: 11px; vertical-align: super; font-weight: 300; }

/* ── RESPONSIVE ── */

/* Tablet: 992–1100px — drop sidebar below content */
@media (max-width: 1100px) {
  .v3-layout { grid-template-columns: 1fr; padding: 40px 32px; }
  .v3-main { padding-right: 0; }
  .v3-sidebar { position: static; top: auto; }
  .v3-booking-sidebar { position: static; padding-left: 0; max-width: 560px; }
  .v3-related-grid { grid-template-columns: repeat(2, 1fr); }
  .v3-quick-facts { grid-template-columns: repeat(3, 1fr); }
  .v3-hero-content { padding: 0 32px 40px; }
}

/* Tablet: 768–991px */
@media (max-width: 991px) {
  .tour-page-v3 { padding-bottom: 90px; }
  .v3-sticky-price-wrap { display: none; }
  .v3-layout { padding: 32px 24px; }
  .v3-section { margin-bottom: 40px; }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  /* Hero */
  .v3-hero { height: 75vmax; min-height: 420px; }
  .v3-hero-content { padding: 0 20px 80px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .v3-hero-title { font-size: clamp(26px, 7vw, 40px); letter-spacing: -0.5px; margin-bottom: 12px; }
  .v3-hero-pills { gap: 6px; }
  .v3-hero-pill { font-size: 11px; padding: 5px 10px; }
  .v3-hero-actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; width: 100%; }
  .v3-btn-book-hero { flex: 1; justify-content: center; padding: 12px 16px; font-size: 13px; }
  .v3-btn-enquire-hero { flex: 1; justify-content: center; padding: 11px 14px; font-size: 12px; }

  /* Sticky nav — fixed on mobile to avoid iOS Safari sticky blink */
  .v3-sticky-nav { position: fixed; top: 0; left: 0; right: 0; padding: 0 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
  .v3-sticky-tab { padding: 14px 12px; font-size: 12px; }
  .v3-sticky-price-wrap { display: none; }

  /* Layout — compensate for fixed nav height (~48px) */
  .v3-layout { padding: 24px 16px; padding-top: 72px; }
  .v3-section { margin-bottom: 36px; }
  .v3-section-heading { font-size: 22px; margin-bottom: 20px; }

  /* Quick facts */
  .v3-quick-facts { grid-template-columns: repeat(2, 1fr); }
  .v3-fact-item { padding: 14px 16px; }
  .v3-fact-label { font-size: 10px; }
  .v3-fact-value { font-size: 14px; }

  /* Prose */
  .v3-prose p { font-size: 14px; }

  /* Gallery */
  .v3-gallery-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; }
  .v3-gallery-img:first-child { grid-row: auto; grid-column: auto; }
  .v3-gallery-img:nth-child(n+5) { display: none; }
  .v3-gallery-more-mobile { display: flex; }
  .v3-gallery-more-desktop { display: none; }

  /* Itinerary */
  .v3-day-row { grid-template-columns: 52px 1fr; }
  .v3-day-num { font-size: 18px; }

  /* Includes / Equipment */
  .v3-highlights-list, .v3-equip-grid { grid-template-columns: 1fr; }
  .v3-highlights-wrap ul { grid-template-columns: 1fr; }
  .v3-inc-split { grid-template-columns: 1fr; gap: 16px; }

  /* Videos */
  .v3-video-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .v3-rating-summary { flex-direction: column; gap: 20px; }

  /* Related tours */
  .v3-related-grid { grid-template-columns: 1fr 1fr; }
  .v3-full-section { padding: 40px 16px; }

  /* Booking sidebar */
  .v3-booking-sidebar { max-width: 100%; }
  .v3-booking-card { border-radius: 8px; }
}

/* Small mobile: ≤480px */
@media (max-width: 480px) {
  .v3-hero-content { padding: 0 16px 76px; }
  .v3-hero-title { font-size: clamp(22px, 8vw, 32px); }
  .v3-quick-facts { grid-template-columns: repeat(2, 1fr); }
  .v3-related-grid { grid-template-columns: 1fr; }
  .v3-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; }
  .v3-gallery-img:nth-child(n+5) { display: none; }
  .v3-gallery-img:first-child { display: block; }
  .v3-day-row { grid-template-columns: 44px 1fr; }
  .v3-section-heading { font-size: 20px; }
  .v3-sticky-tab { padding: 13px 10px; font-size: 11px; }
  .v3-video-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE BOTTOM PADDING (for hsj-sticky-bar) ── */
@media (max-width: 991px) {
  .tour-page-v3 { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ── MOBILE HERO INLINE VIDEO ── (hidden — corner thumbnail used instead) */
.v3-hero-video-inline { display: none !important; }

@media (max-width: 576px) {
  .v3-hero-video-inline {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
  }

  .v3-hero-video-inline:hover { background: rgba(255,255,255,0.18); }

  .v3-hero-video-inline-thumb {
    width: 80px;
    height: 52px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .v3-hero-video-inline-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
  }

  .v3-hero-video-inline-play {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .v3-hero-video-inline-label {
    flex: 1;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-align: left;
    letter-spacing: 0.03em;
    font-family: var(--font-body);
  }
}
