/* Activity detail page (views/front/activity-detail.ejs).
   Everything is scoped under .act so it can't leak into the rest of the site. */

/* Header sits outside .act; keep maps/iframes underneath it on this page.
   Also hide the global loading overlay so Brave Shields cannot blank the page. */
body:has(.act) header.m_header { z-index: 1100; }
body:has(.act) #loading { display: none !important; }

.act {
  --act-ink: #14171B;
  --act-text: #555B63;
  --act-muted: #6E737A;
  --act-navy: #17222E;
  --act-night: #0E1720;
  --act-line: #E7E2D8;
  --act-sand: #FAF8F4;
  --act-blue: #2BA8E7;
  --act-blue-dk: #1A7FB5;
  --act-blue-lt: #EAF6FD;
  --act-green: #1E9E52;
  --act-green-dk: #2F7A47;
  --act-green-lt: #EAF3EC;
  --act-gold: #86672F;
  --act-gold-lt: #E3C088;
  --act-yellow: #FFD60A;
  --act-serif: 'Cormorant Garamond', Georgia, serif;
  --act-sans: Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --act-header: 64px; /* site header is fixed at 64px */

  background: #fff;
  color: var(--act-text);
  font-family: var(--act-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--act-header);
}
.act *, .act *::before, .act *::after { box-sizing: border-box; }
.act a { color: var(--act-blue-dk); }
.act a:hover { color: var(--act-ink); }
.act h1, .act h2, .act h3, .act p, .act ul, .act ol, .act figure { margin: 0; }
.act img { max-width: 100%; }
.act section[id], .act aside[id] { scroll-margin-top: calc(var(--act-header) + 72px); }

.act-wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; width: 100%; }
.act-stack { display: flex; flex-direction: column; gap: 16px; }
.act-mt { margin-top: 6px !important; }
.act-mt-lg { margin-top: 24px; }
.act-self-start { align-self: flex-start; }

/* Type */
.act-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--act-gold);
}
.act-eyebrow > span { width: 30px; height: 1px; background: currentColor; flex: none; }
.act-eyebrow--light { color: var(--act-gold-lt); }
.act-h2 {
  font-family: var(--act-serif); font-weight: 600; font-size: 50px; line-height: 1.05; color: var(--act-ink);
}
.act-h2 em { font-style: italic; color: var(--act-blue-dk); }
.act-h2--sm { font-size: 36px; }
.act-h2--light { color: #fff; }
.act-h2--light em { color: #A9E0F8; }
.act-h3 { font-family: var(--act-serif); font-size: 24px; font-weight: 600; line-height: 1.15; color: var(--act-ink); }
.act-rich { font-size: 16px; line-height: 1.7; color: var(--act-text); }
.act-rich p { margin: 0 0 12px; }
.act-rich p:last-child { margin-bottom: 0; }
.act-rich--small { font-size: 15px; }
.act-note { font-size: 15px; color: var(--act-text); }

/* Buttons and pills */
.act-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.act .act-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 3px; border: 1px solid transparent;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; transition: filter .15s ease;
}
.act .act-btn:hover { filter: brightness(.93); }
.act a.act-btn:hover, .act a.act-btn:focus { color: #fff; text-decoration: none; }
.act .act-btn--blue { background: var(--act-blue); border-color: var(--act-blue); color: #fff; }
.act .act-btn--green { background: var(--act-green); border-color: var(--act-green); color: #fff; }
.act .act-btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.act .act-btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.act-pill {
  align-self: flex-start; display: inline-block; border-radius: 999px; padding: 5px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
}
.act-pill--yellow { background: var(--act-yellow); color: var(--act-ink); }
.act-pill--green { background: var(--act-green-lt); color: var(--act-green-dk); }

/* Hero */
.act-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; background: #3D4A41; color: #fff; overflow: hidden; }
.act-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.act-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,23,32,.25) 0%, rgba(14,23,32,.12) 35%, rgba(14,23,32,.86) 100%); }
.act-hero__inner { position: relative; padding-top: 40px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.act-hero__main { flex: 999 1 560px; min-width: 0; max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.act-crumb { font-size: 13px; color: #C9C4BA; }
.act .act-crumb a { color: #C9C4BA; }
.act .act-crumb a:hover { color: #fff; }
.act-crumb span { color: #F2EFE9; }
.act-hero__title { font-family: var(--act-serif); font-weight: 600; font-size: 74px; line-height: 1.02; color: #fff; }
.act-hero__lead { font-size: 18.5px; line-height: 1.6; color: #F2EFE9; max-width: 620px; }
.act-hero__lead p { margin: 0 0 8px; }
.act-hero__lead p:last-child { margin: 0; }
.act-hero__price {
  flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 8px;
  background: rgba(14,23,32,.55); border: 1px solid rgba(255,255,255,.3); border-radius: 12px; padding: 22px 24px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; color: #F2EFE9;
}
.act-hero__amount { margin-top: 6px !important; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.act-hero__amount s { font-size: 18px; color: #C9C4BA; }
.act-hero__amount b { font-family: var(--act-serif); font-size: 46px; font-weight: 600; line-height: 1; color: #fff; }
.act-hero__amount .act-from { font-size: 14px; }
.act-hero__price strong { letter-spacing: .06em; }
.act-hero__secure { color: #A9E0F8; margin-top: 6px !important; }

/* Section nav */
.act-subnav { position: sticky; top: var(--act-header); z-index: 40; background: var(--act-navy); box-shadow: 0 2px 12px rgba(14,23,32,.25); }
.act-subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 60px; }
.act-subnav__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.act .act-subnav__links a { color: #F2EFE9; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.act .act-subnav__links a:hover { color: var(--act-blue); }

/* Quick facts */
.act-facts { background: var(--act-sand); border-bottom: 1px solid var(--act-line); }
.act-facts__list { list-style: none; padding: 26px 0 !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.act-facts__list--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.act-facts__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.act-facts__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.act-facts__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.act-facts__list--1 { grid-template-columns: 1fr; }
.act-facts__list li { border-left: 1px solid var(--act-line); padding-left: 16px; display: flex; flex-direction: column; min-width: 0; }
.act-facts__list b { font-family: var(--act-serif); font-size: 28px; font-weight: 600; color: var(--act-ink); line-height: 1.1; overflow-wrap: anywhere; }
.act-facts__list span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--act-muted); }

/* Layout */
.act-layout { display: flex; gap: 56px; align-items: flex-start; }
.act-main { flex: 1 1 0; min-width: 0; }
.act-section { padding-top: 80px; display: flex; flex-direction: column; gap: 20px; }
.act-section--tight { padding-top: 40px; }

/* Lists and cards */
.act-list { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 9px; }
.act-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--act-ink); }
.act-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.act-list--check li::before { content: "✓"; color: var(--act-green-dk); }
.act-list--cross li::before { content: "✕"; color: #A0452E; font-size: 13px; top: 2px; }
.act-list--dot li::before { content: ""; top: 9px; left: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--act-blue-dk); }
.act-grid { display: grid; gap: 20px; }
.act-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.act-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.act-grid--1-2 { grid-template-columns: 1fr 2fr; }
.act-card { background: #fff; border: 1px solid var(--act-line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.act-card--sand { background: var(--act-sand); }
.act-card--green { background: var(--act-green-lt); border-color: #DCE9E0; }
.act-card p { font-size: 15px; line-height: 1.6; }

/* Read more */
.act-more { position: relative; }
.act-more__body { display: flex; flex-direction: column; gap: 12px; }
.act-more.is-collapsed { max-height: 420px; overflow: hidden; }
.act-more.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.act-more__btn {
  align-self: flex-start; background: none; border: 0; padding: 12px 0; min-height: 44px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--act-blue-dk);
}
.act-more__btn[hidden] { display: none; }

/* Media */
.act-video { width: 100%; max-height: 480px; border-radius: 8px; background: #000; display: block; }
.act-gallery { display: grid; gap: 12px; grid-template-columns: 2fr 1fr; grid-template-rows: 210px 210px; }
.act-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.act-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 320px; }
.act-gallery figure { position: relative; border-radius: 8px; overflow: hidden; background: #C9D6CB; }
.act-gallery--3 figure:first-child { grid-row: span 2; }
.act-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.act-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px;
  color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(14,23,32,.7));
}

/* Itinerary */
.act-steps { list-style: none; padding: 0 !important; }
.act-steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; padding: 18px 0; border-top: 1px solid var(--act-line); font-size: 15.5px; line-height: 1.6; color: var(--act-text); }
.act-steps__n { font-family: var(--act-serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--act-blue-dk); }
.act-steps li.is-optional .act-steps__n { color: var(--act-gold); }
.act-steps strong { display: block; font-family: var(--act-serif); font-size: 26px; font-weight: 600; color: var(--act-ink); line-height: 1.2; }
.act-steps strong small { font-size: .7em; font-weight: 500; color: var(--act-muted); }

/* Meeting point */
.act-meet { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.act-map { flex: 1 1 300px; height: 320px; border-radius: 10px; overflow: hidden; background: #DCE7EF; position: relative; z-index: 1; isolation: isolate; }
.act-map iframe { width: 100%; height: 100%; border: 0; display: block; position: relative; }
.act-meet__card { flex: 1 1 280px; }

/* Recommends + expert */
.act-recommends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.act-recommends--solo { grid-template-columns: 1fr; }
.act-expert { display: flex; flex-direction: column; gap: 12px; max-width: 300px; width: 100%; justify-self: end; }
.act-expert img, .act-expert__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #D5DEEA; }
.act-expert__ph { display: flex; align-items: center; justify-content: center; font-family: var(--act-serif); font-size: 72px; color: #2B3A31; }
.act-expert figcaption { font-size: 14px; line-height: 1.5; color: var(--act-text); }
.act-expert figcaption span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--act-gold); }
.act-expert figcaption b { display: block; font-family: var(--act-serif); font-size: 24px; font-weight: 600; color: var(--act-ink); }

/* Reviews */
.act-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; }
.act-rating b { color: var(--act-ink); }
.act-stars { color: var(--act-gold); letter-spacing: 3px; }
.act-stars i { font-style: normal; color: #D9D3C7; }
.act-quote { font-family: var(--act-serif); font-size: 22px !important; line-height: 1.35 !important; color: var(--act-ink); }
.act-byline { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--act-gold); }

/* FAQ */
.act-faq { border-top: 1px solid var(--act-line); }
.act-faq details { border-bottom: 1px solid var(--act-line); padding: 18px 0; }
.act-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; color: var(--act-ink); }
.act-faq summary::-webkit-details-marker { display: none; }
.act-faq summary span { font-size: 22px; color: var(--act-blue-dk); line-height: 1; transition: transform .2s ease; flex: none; }
.act-faq details[open] summary span { transform: rotate(45deg); }
.act-faq details > p, .act-faq details > div { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--act-text); }

/* Booking card */
.act-book { flex: none; width: 400px; position: sticky; top: calc(var(--act-header) + 76px); margin-top: 40px; align-self: flex-start; }
.act-book__card { background: #fff; border: 1px solid var(--act-line); border-radius: 10px; box-shadow: 0 14px 40px rgba(14,23,32,.1); overflow: hidden; }
.act-book__head { background: var(--act-navy); padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.act-book__head h2 { font-family: var(--act-serif); font-size: 26px; font-weight: 600; color: #fff; }
.act-book__head .act-pill { align-self: center; }
.act-book__body { padding: 16px 20px 20px; }
.act-book__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.act-book__price s { color: var(--act-muted); font-size: 16px; }
.act-book__price b { font-family: var(--act-serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--act-ink); }
.act-book__price span { font-size: 14px; color: var(--act-text); }
.act-book__child { margin-top: 4px !important; font-size: 14px; color: var(--act-text); }
.act-book__child strong { color: var(--act-ink); }
.act-offer {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #FFFBE0; border: 1px dashed #F5B400; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; color: var(--act-ink);
}
.act-offer button {
  border: 1px solid var(--act-ink); background: #fff; border-radius: 999px; padding: 6px 14px; min-height: 36px;
  font-size: 12px; font-weight: 700; cursor: pointer; color: var(--act-ink); flex: none;
}
.act-book__widget { margin-top: 14px; }
.act-book__widget .bokunWidget { min-height: 360px; }
.act-book__widget add-to-cart-btn { display: block; }
.act-book__assure { margin-top: 10px !important; text-align: center; font-size: 12.5px; color: var(--act-muted); }
.act-book__facts { list-style: none; margin-top: 16px !important; padding: 16px 0 0 !important; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--act-line); }
.act-book__facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--act-muted); }
.act-book__facts b { display: block; font-size: 15px; color: var(--act-ink); font-weight: 600; }
.act-book__icon { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--act-blue-lt); color: var(--act-blue-dk); display: flex; align-items: center; justify-content: center; }
.act-book__help { margin-top: 14px; border: 1px solid var(--act-line); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; background: #fff; font-size: 14px; color: var(--act-ink); }
.act-book__help .act-btn { min-height: 44px; }

/* Explore band */
.act-band { margin-top: 96px; background: var(--act-navy); padding: 72px 0; }
.act-band__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.act-band__inner > .act-stack { flex: 1 1 480px; }
.act-band__text { font-size: 16.5px; line-height: 1.65; color: #C9C4BA; max-width: 560px; }

/* Nearby */
.act-nearby { padding: 80px 0 96px; }
.act-nearby .act-stack { gap: 20px; }
.act .act-tile { display: flex; flex-direction: column; border: 1px solid var(--act-line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--act-ink); transition: box-shadow .2s ease; }
.act .act-tile:hover { box-shadow: 0 10px 28px rgba(14,23,32,.12); color: var(--act-ink); }
.act-tile__img { position: relative; height: 200px; background: #C9D6CB; }
.act-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.act-tile__badge { position: absolute; top: 14px; right: 14px; background: var(--act-night); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 11px; }
.act-tile__loc { position: absolute; left: 16px; bottom: 0; background: #fff; color: var(--act-ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px; }
.act-tile__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.act-tile__body h3 { font-family: var(--act-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.act-tile__price { font-size: 14px; color: var(--act-text); }
.act-tile__cta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--act-blue-dk); }

/* Mobile booking bar (shown below 992px) */
.act-mbar { display: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 1600px) {
  .act-wrap { max-width: 1440px; }
  .act-hero { min-height: 600px; }
  .act-book { width: 420px; }
}

@media (max-width: 1199px) {
  .act-wrap { padding: 0 32px; }
  .act-layout { gap: 40px; }
  .act-book { width: 360px; }
  .act-hero__title { font-size: 60px; }
  .act-h2 { font-size: 44px; }
  .act-facts__list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 991px) {
  .act-layout { display: block; }
  .act-book { position: static; width: auto; max-width: 560px; margin: 64px auto 0; }
  .act-band { margin-top: 72px; }
  .act-subnav__inner > .act-btn { display: none; }
  .act-subnav__links { flex-wrap: nowrap; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
  .act-subnav__links::-webkit-scrollbar { display: none; }
  .act-subnav__inner { min-height: 52px; }
  .act-mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--act-line); box-shadow: 0 -8px 24px rgba(14,23,32,.1);
    padding: 12px 16px 14px; align-items: center; justify-content: space-between; gap: 12px;
    transition: transform .2s ease;
  }
  .act-mbar.is-hidden { transform: translateY(110%); }
  .act-mbar__offer { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--act-gold); }
  .act-mbar__price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
  .act .act-mbar .act-btn { white-space: nowrap; flex: none; padding: 0 18px; }
  .act-mbar__price s { color: var(--act-muted); font-size: 14px; }
  .act-mbar__price b { font-family: var(--act-serif); font-size: 28px; font-weight: 600; line-height: 1.05; color: var(--act-ink); }
  .act-mbar__unit { font-size: 12px; color: var(--act-muted); }
  .act-nearby { padding-bottom: 120px; }
  /* keep the site-wide WhatsApp bubble above the booking bar */
  body:has(.act-mbar) .whatsapp-widget { bottom: 96px !important; }
}

@media (max-width: 767px) {
  .act-wrap { padding: 0 16px; }
  .act-hero { min-height: 0; }
  .act-hero__inner { padding-top: 120px; padding-bottom: 32px; gap: 24px; }
  .act-hero__title { font-size: 40px; }
  .act-hero__lead { font-size: 16px; }
  .act-hero__price { max-width: none; padding: 18px 20px; }
  .act-hero__amount b { font-size: 38px; }
  .act-hero .act-btns .act-btn { flex: 1 1 auto; }
  .act-h2 { font-size: 32px; }
  .act-h2--sm { font-size: 28px; }
  .act-section { padding-top: 56px; }
  .act-section--tight { padding-top: 32px; }
  .act-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; padding: 20px 0 !important; row-gap: 18px; }
  .act-facts__list b { font-size: 24px; }
  .act-grid--2, .act-grid--3, .act-grid--1-2, .act-recommends { grid-template-columns: 1fr; }
  .act-recommends { gap: 24px; }
  .act-expert { justify-self: start; max-width: 240px; }
  .act-gallery, .act-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px; }
  .act-gallery--3 figure:first-child { grid-row: auto; grid-column: span 2; }
  .act-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 240px; }
  .act-gallery--2 { grid-template-rows: 200px; }
  .act-steps li { grid-template-columns: 44px 1fr; column-gap: 14px; }
  .act-steps__n { font-size: 30px; }
  .act-steps strong { font-size: 22px; }
  .act-card { padding: 20px; }
  .act-book { margin-top: 48px; }
  .act-band { padding: 56px 0; }
  .act-band__inner > .act-stack { flex-basis: 100%; }
  .act-band .act-btns .act-btn { flex: 1 1 auto; }
  .act-nearby { padding-top: 56px; }
  .act .act-btn { white-space: normal; text-align: center; }
}
