/* Trip pages */
.h-md { margin: 10px 0 24px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; }
.lead-text { margin-bottom: 18px; font-size: 18px; line-height: 1.75; }
.small-note { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #5f6e66; }

.trip-hero { position: relative; height: 86vh; height: 86svh; min-height: 640px; overflow: hidden; background: var(--green-deep); color: #fff; }
.trip-hero__img, .trip-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.trip-hero__img img { object-fit: cover; }
.trip-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,22,16,.9) 0%, rgba(8,22,16,.4) 55%, rgba(8,22,16,.3) 100%); }
.trip-hero__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; max-width: 900px; }
.crumbs { margin-bottom: 14px; font-size: 14px; font-weight: 600; opacity: .9; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--sand); }
.trip-hero__kicker { margin-bottom: 10px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--sand); }
.trip-hero h1 { font-size: clamp(34px, 5.4vw, 80px); line-height: 1.04; }
.trip-hero__intro { margin: 16px 0 20px; font-size: 17px; line-height: 1.55; max-width: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); font-size: 14px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trip-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trip-hero__actions .btn--lg { padding: 13px 22px; font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .trip-hero__img img { animation: kenburns-slow 14s ease-out forwards; }
  .trip-hero__text > * { animation: rise 1s .3s both; }
  .trip-hero__text > .trip-hero__intro, .trip-hero__text > .chips, .trip-hero__text > .trip-hero__actions { animation-delay: .6s; }
}
@keyframes kenburns-slow { from { transform: scale(1); } to { transform: scale(1.1) translate(-1%, -1%); } }
@media (min-width: 800px) {
  .trip-hero__text { left: 6vw; right: 6vw; bottom: 9%; }
  .trip-hero__kicker { font-size: 14px; }
  .trip-hero__intro { font-size: 20px; margin: 20px 0 26px; }
  .chip { padding: 9px 16px; font-size: 15px; }
  .chips { gap: 10px; margin-bottom: 30px; }
  .trip-hero__actions { gap: 14px; }
  .trip-hero__actions .btn--lg { padding: 16px 30px; font-size: 16px; }
}

.trip-subnav { position: sticky; top: 0; z-index: 15; background: #fff; box-shadow: 0 2px 14px rgba(18,38,30,.08); }
.trip-subnav__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 10px 30px; }
.trip-subnav ul { display: flex; gap: 0 24px; overflow-x: auto; scrollbar-width: none; }
.trip-subnav ul::-webkit-scrollbar { display: none; }
.trip-subnav ul a { display: block; padding: 16px 0; border-bottom: 3px solid transparent; color: var(--green); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.trip-subnav ul a:hover { border-bottom-color: var(--red); color: var(--green); }
.trip-subnav .btn--sm { display: none; white-space: nowrap; }
@media (min-width: 1100px) { .trip-subnav .btn--sm { display: inline-flex; } .trip-subnav ul { gap: 0 30px; } }
.trip-main [id] { scroll-margin-top: 72px; }

.trip-layout { padding-top: 60px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 50px; align-items: flex-start; }
.trip-main { flex: 1 1 600px; min-width: 0; }
.trip-section + .trip-section, .trip-map + .trip-section, .gallery + .trip-section, .trip-review + .trip-section { margin-top: 80px; }
.trip-aside { display: none; }
@media (min-width: 1000px) {
  .trip-layout { padding-top: 80px; }
  .trip-aside { display: block; flex: 0 1 330px; position: sticky; top: 80px; }
}

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 30px; }
.highlight { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 20px 22px; }
.highlight__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--green-light); display: grid; place-items: center; font-size: 20px; }
.highlight strong { display: block; margin-bottom: 4px; }
.highlight span span { font-size: 15px; color: var(--muted); }

.trip-map { margin-top: 50px; }
.trip-map__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.trip-map__head h3 { font-size: 24px; }
.trip-map__head span { font-size: 14px; color: #5f6e66; }
.trip-map__frame { border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(18,38,30,.10); background: #dce8e4; }
.trip-map__frame svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .trip-map .route { animation: dash 2.5s linear infinite; }
  .trip-map .pin { animation: pop .6s both; }
}
@keyframes dash { to { stroke-dashoffset: -26; } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }

.days-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 10px; }
.days-head .btn { margin-bottom: 30px; }
.days { list-style: none; margin: 0; padding: 0; }
.day { position: relative; padding-left: 58px; }
.day::before { content: ""; position: absolute; left: 20px; top: 46px; bottom: -14px; width: 2px; background: #c9d5c6; }
.day:last-child::before { display: none; }
.day__num { position: absolute; left: 0; top: 6px; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--cream); font: 600 18px var(--serif); display: grid; place-items: center; transition: background-color .3s; }
.day.is-open .day__num { background: var(--red); }
.day__heading { font: inherit; }
.day__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0 18px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--green); font: inherit; }
.day__place { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f6e66; }
.day__title { display: block; font: 600 clamp(21px, 2.2vw, 25px)/1.25 var(--serif); transition: color .3s; }
.day__toggle:hover .day__title { color: var(--red); }
.day__plus { flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--green); position: relative; transition: transform .35s; }
.day__plus::before, .day__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--green); transform: translate(-50%, -50%); }
.day__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.day.is-open .day__plus { transform: rotate(45deg); }
.day__body { display: grid; gap: 20px; padding: 0 0 34px; font-size: 17px; line-height: 1.75; }
.js .day:not(.is-open) .day__body { display: none; }
.day__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.day__meta b { color: var(--green); }
.day__photo { border-radius: 16px; overflow: hidden; height: 240px; }
.day__photo picture, .day__photo img { width: 100%; height: 100%; }
.day__photo img { object-fit: cover; transition: transform .9s; }
.day__photo:hover img { transform: scale(1.07); }
@media (prefers-reduced-motion: no-preference) { .js .day.is-open .day__body { animation: rise .5s both; } }
@media (min-width: 900px) {
  .day { padding-left: 64px; }
  .day__num { width: 44px; height: 44px; }
  .day::before { left: 21px; }
  .day__body { grid-template-columns: 1.1fr 1fr; gap: 26px; }
  .day__photo { height: 260px; }
}
.days-note { margin-left: 58px; }

.gallery { margin-top: 70px; }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: 16px; }
.gallery__item:first-child { grid-column: 1 / 3; grid-row: span 2; }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; }
.gallery__item img { object-fit: cover; transition: transform .9s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__label { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
@media (min-width: 820px) {
  .gallery__grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; }
  .gallery__item:first-child { grid-column: auto; grid-row: 1 / 3; }
}

.stays { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.stay { background: #fff; border-radius: var(--radius); overflow: hidden; }
.stay img { width: 100%; height: 170px; object-fit: cover; }
.stay__text { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stay__nights { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5f6e66; }
.stay strong { font-size: 18px; }
.stay__text > span:last-child { font-size: 15px; color: var(--muted); }

.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.included__box { background: #fff; border-radius: var(--radius); padding: 26px; }
.included__box--green { background: var(--green-light); }
.included__box h3 { font: 700 18px var(--sans); margin-bottom: 12px; }
.included__box p { font-size: 16px; line-height: 1.7; }
.ticks li, .crosses li { position: relative; padding: 6px 0 6px 28px; font-size: 16px; line-height: 1.5; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 6px; font-weight: 700; }
.ticks li::before { content: "\2713"; color: var(--wa); }
.crosses li::before { content: "\2715"; color: var(--red-hover); }

.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.addon { display: block; height: 100%; padding: 20px 22px; background: #fff; border-radius: 16px; color: var(--green); text-decoration: none; transition: transform .35s, box-shadow .35s; }
.addon strong { display: block; margin-bottom: 6px; }
.addon span { font-size: 15px; color: var(--muted); }
.addon:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,38,30,.12); color: var(--green); }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 30px; }
.level { padding: 20px 22px; background: #fff; border: 2px solid transparent; border-radius: 16px; }
.level.is-current { border-color: var(--red); }
.level strong { display: block; font-size: 17px; }
.level > span { font-size: 15px; color: var(--muted); }
.level__malay { display: block; font: italic 400 16px var(--serif); color: var(--red); }
.level__tag { margin-left: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

.trip-review { margin-top: 80px; }
.big-review { position: relative; margin: 0; padding: 40px 30px 30px; background: #fff; border-radius: 22px; }
.big-review::before { content: "\201C"; position: absolute; top: 0; left: 22px; font: 120px/1 var(--serif); color: var(--green-light); }
.big-review blockquote { position: relative; margin: 0; font: 400 clamp(21px, 2.2vw, 26px)/1.45 var(--serif); }
.big-review figcaption { margin-top: 20px; font-size: 15px; color: var(--muted); }
@media (min-width: 800px) { .big-review { padding: 44px 40px 40px; } }

.prices-band { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; padding: 34px 28px; background: var(--green); color: var(--cream); border-radius: 22px; }
.prices-band__text { flex: 1 1 340px; }
.prices-band .h-md { margin-bottom: 14px; }
.prices-band p:not(.kicker) { font-size: 17px; line-height: 1.7; color: var(--on-dark-muted); }
.prices-band__actions { flex: 0 1 280px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 800px) { .prices-band { padding: 44px; } }

.book-box { padding: 28px; background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(18,38,30,.10); }
.book-box__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f6e66; }
.book-box__title { margin: 8px 0 16px; font: 600 24px/1.2 var(--serif); }
.book-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 22px; font-size: 15px; }
.book-box dt { color: #5f6e66; }
.book-box dd { margin: 0; font-weight: 600; }
.book-box__btn { width: 100%; padding: 16px; }
.book-box__change { display: block; margin-top: 14px; text-align: center; font-weight: 700; font-size: 15px; }
.book-box__ask { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e5e0d6; font-size: 14px; line-height: 1.45; }
.book-box__ask picture { flex: 0 0 56px; }
.book-box__ask img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.book-box__ask strong { display: block; font-size: 15px; }

.similar { padding-top: 60px; padding-bottom: 90px; }

/* Booking overlay: Bokun loads only after the click */
.booking-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,12,9,.82); }
.booking-dialog[open] { display: grid; place-items: center; }
.booking-dialog::backdrop { background: transparent; }
.booking-dialog__box { width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.booking-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #e5e0d6; font-size: 15px; }
.booking-dialog__close { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--green); background: #fff; color: var(--green); cursor: pointer; }
.booking-dialog__frame { position: relative; flex: 1; }
.booking-dialog__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.booking-dialog__loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; text-align: center; color: #5f6e66; }
@media (min-width: 800px) {
  .booking-dialog { padding: 3vw; }
  .booking-dialog__box { width: min(1000px, 100%); height: min(760px, 92vh); border-radius: 20px; }
  .booking-dialog__head { padding: 16px 22px; font-size: 16px; }
}
.lang-note { margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: #5f6e66; }
.prices-band .lang-note { margin-bottom: 0; color: var(--on-dark-muted); }
