/* ==========================================================================
   Trip detail page
   ========================================================================== */

/* ---------- Hero ---------- */
.trip-hero { min-height: clamp(560px, 82vh, 760px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 76px); }
.trip-hero .hero__bg img { object-position: center 55%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(255, 255, 255, .78); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .6; }
.trip-hero h1 { margin-top: 12px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6.8vw, 5.4rem); line-height: 0.98; color: #fbf6ec; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.trip-hero__sub { margin-top: 14px; max-width: 34ch; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.4; color: rgba(255, 255, 255, .92); }
.trip-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 0.9rem; }
.trip-facts span { display: inline-flex; align-items: center; gap: 8px; }
.trip-facts .ic { color: var(--accent); }
.trip-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 26px; }
.trip-buy__price { line-height: 1; }
.trip-buy__price strong { display: block; font-family: var(--f-cond); font-weight: 600; font-size: clamp(2.2rem, 4vw, 2.8rem); color: var(--accent-hi); }
.trip-buy__price small { font-size: 0.86rem; color: rgba(255, 255, 255, .8); }
.trip-buy .btn { font-size: 1rem; padding: 0.9em 1.6em; }
.trip-hero .hero__script { right: 7%; top: 18%; }

/* Milestone sign (CSS drawn) */
.milestone { position: absolute; display: grid; place-items: center; text-align: center; width: 132px; padding: 44px 10px 18px; border-radius: 66px 66px 6px 6px; background: linear-gradient(180deg, #f3efe6, #d9d3c6); color: #1d1a15; font-family: var(--f-cond); font-weight: 600; line-height: 1.05; text-transform: uppercase; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
.milestone::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 40px; border-radius: 66px 66px 0 0; background: linear-gradient(180deg, #f9a86c, #e0782e); }
.milestone b { display: block; font-size: 1.25rem; letter-spacing: .02em; }
.milestone small { display: block; margin-top: 2px; font-size: 0.72rem; letter-spacing: .08em; }
.trip-hero .milestone { right: calc(var(--gutter) + 40px); bottom: 0; border-radius: 66px 66px 0 0; padding-bottom: 40px; }
@media (max-width: 1100px) { .trip-hero .milestone { display: none; } }

/* ---------- Sticky tabs ---------- */
.trip-tabs { position: sticky; top: 64px; z-index: 40; background: var(--ink); border-bottom: 1px solid var(--ink-line); }
.trip-tabs ul { display: flex; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.trip-tabs ul::-webkit-scrollbar { display: none; }
.trip-tabs li { flex: 1 0 auto; }
.trip-tabs li + li { border-left: 1px solid var(--ink-line); }
.trip-tabs a { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 22px; font-size: 0.88rem; font-weight: 500; color: var(--on-dark-muted); white-space: nowrap; transition: color .2s; }
.trip-tabs a::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.trip-tabs a:hover { color: #fff; }
.trip-tabs a.is-active { color: var(--accent); }
.trip-tabs a.is-active::after { transform: scaleX(1); }
.trip-tabs .ic { width: 18px; height: 18px; }
[id] { scroll-margin-top: 130px; }

/* ---------- Overview ---------- */
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.overview .h2 { margin-top: 8px; }
.overview__copy p { margin-top: 16px; color: #2a2f34; max-width: 58ch; }
.highlights { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 18px 40px; margin-top: 28px; }
.highlight { display: flex; align-items: center; gap: 12px; font-family: var(--f-cond); font-weight: 500; font-size: 0.82rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; }
.highlight .ic { width: 36px; height: 36px; color: var(--accent-deep); stroke-width: 1.2; }
.overview__quote { margin-top: 40px; color: var(--accent-deep); font-size: clamp(1.5rem, 2.4vw, 1.9rem); transform: rotate(-2deg); transform-origin: left; }
.ov-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.1fr 0.9fr; gap: 10px; aspect-ratio: 1 / 1.02; }
.ov-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.ov-mosaic figure:first-child { grid-column: 1 / -1; }
.ov-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ov-mosaic figure:hover img { transform: scale(1.05); }
.ov-mosaic .milestone { left: 16px; bottom: 0; width: 96px; padding: 34px 6px 12px; border-radius: 48px 48px 0 0; }
.ov-mosaic .milestone::before { height: 30px; border-radius: 48px 48px 0 0; }
.ov-mosaic .milestone b { font-size: 0.95rem; }
.ov-mosaic .milestone small { font-size: 0.62rem; }
@media (max-width: 900px) {
  .overview { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 420px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Route ---------- */
.trip-route { position: relative; overflow: hidden; }
.trip-route__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.trip-route .lead { margin-top: 8px; max-width: 40ch; color: rgba(255, 255, 255, .85); }
.trip-route .timeline { margin-top: 28px; gap: 16px; }
.trip-route .timeline li { grid-template-columns: 76px 1fr; }
.trip-route__map { position: relative; }
.trip-route__map svg { width: 100%; height: auto; }
.trip-route .side-words { top: 70px; transform: none; }
@media (max-width: 1180px) { .trip-route .side-words { display: none; } }
@media (max-width: 900px) { .trip-route__grid { grid-template-columns: 1fr; } }

/* ---------- Inclusions ---------- */
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.incl > * + * { border-left: 1px solid var(--line); padding-left: clamp(32px, 5vw, 64px); }
.incl .sec-head { margin-bottom: 20px; }
.incl .h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.incl ul { display: grid; gap: 14px; }
.incl li { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; font-size: 0.93rem; line-height: 1.35; }
.incl li .ic { width: 28px; height: 28px; stroke-width: 1.3; }
.incl--yes li .ic { color: var(--accent-deep); }
.incl--no li .ic { color: #b0714e; }
.incl li small { display: block; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 760px) {
  .incl { grid-template-columns: 1fr; }
  .incl > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}

/* ---------- Stays ---------- */
.stays-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stay { position: relative; isolation: isolate; display: flex; align-items: flex-end; gap: 14px; aspect-ratio: 4 / 2.9; padding: 18px; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--ink); }
.stay img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.stay::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(2, 12, 20, .92) 0%, rgba(2, 12, 20, .3) 42%, rgba(2, 12, 20, 0) 65%); }
.stay:hover img { transform: scale(1.05); }
.stay .ic { width: 26px; height: 26px; margin-bottom: 4px; color: var(--accent); }
.stay h3 { font-family: var(--f-cond); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; line-height: 1.1; }
.stay p { font-size: 0.86rem; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.stay p b { display: block; font-weight: 500; color: #fff; }
.note { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) {
  .stays-grid { grid-auto-flow: column; grid-auto-columns: minmax(280px, 80%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .stay { scroll-snap-align: start; }
}

/* ---------- Departures table ---------- */
.dep { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.93rem; }
.dep th { text-align: left; font-weight: 600; font-size: 0.82rem; padding: 14px 20px; background: var(--paper-2); }
.dep th small { font-weight: 400; color: var(--muted); }
.dep td { padding: 12px 20px; border-top: 1px solid var(--line); }
.dep tbody tr { transition: background-color .2s; }
.dep tbody tr:hover { background: #fbf9f5; }
.dep td:last-child, .dep th:last-child { text-align: right; }
.dep .price { font-family: var(--f-cond); font-weight: 600; font-size: 1.12rem; }
.seats { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.seats::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.seats--low { color: #b86a14; }
.seats--ok { color: #23835a; }
.seats--out { color: #c0392b; }
.dep .btn { min-width: 120px; }
@media (max-width: 760px) {
  .dep, .dep tbody, .dep tr, .dep td { display: block; }
  .dep { background: transparent; border: 0; }
  .dep thead { display: none; }
  .dep tbody { display: grid; gap: 12px; }
  .dep tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
  .dep td { padding: 0; border: 0; text-align: left !important; }
  .dep td:nth-child(1) { font-weight: 600; }
  .dep td:nth-child(2) { grid-column: 1; color: var(--muted); font-size: 0.86rem; }
  .dep td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right !important; }
  .dep td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right !important; }
  .dep td:nth-child(5) { grid-column: 1 / -1; margin-top: 10px; }
  .dep .btn { width: 100%; }
}

/* ---------- Packing + enquiry ---------- */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.plan-grid .h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.pack { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pack li { display: grid; justify-items: center; gap: 8px; padding: 18px 8px; text-align: center; font-size: 0.82rem; line-height: 1.3; }
.pack li + li { border-left: 1px solid var(--line); }
.pack .ic { width: 34px; height: 34px; color: var(--accent-deep); stroke-width: 1.2; }
.weather { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 18px 22px; background: var(--paper-2); border-radius: var(--radius); font-size: 0.88rem; line-height: 1.45; }
.weather .ic { width: 44px; height: 44px; flex: none; color: var(--text); stroke-width: 1.2; }
.weather strong { display: block; font-size: 0.98rem; }
.weather span { color: var(--muted); }
.enquiry { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); color: #fff; }
.enquiry .h2 { color: #fff; }
.enquiry .tagline { display: block; margin-top: 4px; color: var(--on-dark-muted); }
.enquiry form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 18px; max-width: 460px; }
.enquiry .field--full { grid-column: 1 / -1; }
.enquiry .field label { color: #e4e7ea; }
.enquiry .btn { grid-column: 1 / -1; margin-top: 4px; }
.enquiry .script { position: absolute; right: 22px; top: 36px; color: var(--accent); font-size: 1.9rem; transform: rotate(-12deg); text-align: center; }
.enquiry .ridge { position: absolute; right: 16px; bottom: 16px; width: 150px; color: rgba(242, 138, 68, .6); }
@media (max-width: 1100px) { .enquiry .script, .enquiry .ridge { display: none; } .enquiry form { max-width: none; } }
@media (max-width: 960px) { .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .pack { grid-template-columns: repeat(3, 1fr); }
  .pack li:nth-child(4) { border-left: 0; }
  .pack li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .enquiry form { grid-template-columns: 1fr; }
}

/* ---------- FAQ (two columns) ---------- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
.faq-cols .faq { border-top: 0; }
.faq-cols .faq details:first-child { border-top: 1px solid var(--line); }
.faq-cols details { background: var(--card); }
.faq-cols summary { padding-inline: 16px; }
.faq-cols details p { padding-inline: 16px; }
@media (max-width: 760px) {
  .faq-cols { grid-template-columns: 1fr; }
  .faq-cols .faq + .faq details:first-child { border-top: 0; }
}
