/* Mandalpatti Jeep Safari - shared stylesheet
   Palette taken from the logo badge: deep navy + orange on a warm neutral.
   The logo is dark-on-transparent, so the header is LIGHT and the mark is
   never filtered or inverted. */

:root {
  --navy:        #15293d;
  --navy-700:    #1e3851;
  --navy-500:    #33506e;
  --orange:      #e07a3c;
  --orange-600:  #c4652b;
  --orange-100:  #fbeade;
  --cream:       #fdf9f4;
  --surface:     #ffffff;
  --ink:         #1b2430;
  --muted:       #5c6878;
  --line:        #e4dcd2;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 1px 2px rgba(21,41,61,.06), 0 8px 24px rgba(21,41,61,.07);
  --shadow-lg:   0 2px 4px rgba(21,41,61,.08), 0 18px 48px rgba(21,41,61,.13);
  --wrap:        1180px;
  --header-h:    84px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  /* No overflow-x here on purpose.
     overflow-x:hidden on html/body silently kills position:sticky on every
     descendant - and overflow-x:clip is worse: it propagates to the viewport
     and disables vertical scrolling outright (measured: a 16679px page stuck
     at scrollTop 0). Horizontal overflow is prevented at source instead, and
     verified by measuring documentElement.scrollWidth at 375px. */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------------------------------------------------------- primitives -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

a { color: var(--orange-600); text-underline-offset: 2px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

img { max-width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
/* The header gets a wider container than the body text: eight menu items plus
   the logo need more room than a comfortable reading measure, and squeezing
   them into 1180px left the logo 16px from "Home". */
.header-inner {
  display: flex; align-items: center; gap: 44px;
  max-width: 1340px; padding-inline: 26px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; margin-right: auto; padding-block: 8px;
}
.brand img { width: 56px; height: auto; }
.brand-text {
  font-weight: 800; font-size: 1.02rem; line-height: 1.15;
  color: var(--navy); letter-spacing: -.01em; max-width: 9ch;
}

.site-nav ul {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: 9px 11px; border-radius: 999px;
  color: var(--navy); font-size: .89rem; font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { background: #f1ece5; }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.site-nav a.nav-cta {
  background: var(--orange); color: #fff; padding-inline: 18px;
}
.site-nav a.nav-cta:hover { background: var(--orange-600); color: #fff; }
.site-nav a.nav-cta[aria-current="page"] { background: var(--orange-600); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--navy); content: ""; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; left: 0; }
.nav-toggle-bar::after  { top:  7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

/* 1200px, not 1020px: the menu carries 8 items and measures ~1180px with the
   logo, so between those widths the desktop nav overflowed the page. Media
   queries match innerWidth (which includes the scrollbar) while the usable
   width is ~15px narrower, so the breakpoint needs headroom. */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .site-nav a { padding: 13px 12px; border-radius: var(--radius-sm); }
  .site-nav a.nav-cta { text-align: center; margin-top: 8px; }
}

/* --------------------------------------------------------------- main --- */
.site-main { padding-block: 40px 0; }
.site-main > .wrap { max-width: 1180px; }

h1, h2, h3, h4, h5, h6 {
  color: var(--navy); line-height: 1.22;
  margin: 2em 0 .6em; letter-spacing: -.015em; text-wrap: balance;
}
h1, .page-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 800; margin-top: .2em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.95rem); font-weight: 750; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.35rem); font-weight: 700; }
h4, h5, h6 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

/* Long bare URLs (the Terms page prints several in full) are a single
   unbreakable token ~392px wide and push the whole page sideways on a phone.
   Nothing visible flags it, so it must be handled here. */
.site-main p, .site-main li, .site-main td, .site-main th, .site-main a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.site-main ul, .site-main ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.site-main li { margin-bottom: .45em; }

.site-main img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1.4em 0;
}

blockquote {
  margin: 1.6em 0; padding: 18px 22px;
  background: var(--surface); border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow);
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* Tables are wrapped by build.pl so they scroll instead of blowing out the
   page width on a phone. */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6em 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; margin: 0; }
.table-wrap th, .table-wrap td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line);
  font-size: .95rem; vertical-align: top;
}
.table-wrap th { background: var(--navy); color: #fff; font-weight: 650; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: #faf7f3; }

/* ----------------------------------------------- homepage product page -- */
/* Photo mosaic: one large image plus a grid of four, matching the booking
   layout the live site uses, so price and Book Now stay in the first fold. */
.mosaic-wrap { position: relative; margin: 10px 0 22px; }

.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: clamp(260px, 38vw, 430px);
}
.mosaic-cell {
  margin: 0; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: 10px; background: #e9e2d9; position: relative;
}
.mosaic-cell:first-child { grid-row: span 2; }
.mosaic-cell img {
  width: 100%; height: 100%; object-fit: cover; margin: 0;
  border-radius: 0; box-shadow: none;
  transition: transform .35s ease;
}
.mosaic-cell:hover img { transform: scale(1.04); }

/* Hidden on desktop, where the mosaic shows every picture at once. */
.mosaic-dots { display: none; justify-content: center; gap: 8px; margin-top: 12px; }
.mosaic-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: #cdc4b8; cursor: pointer; transition: width .2s ease, background-color .2s ease;
}
.mosaic-dot[aria-current="true"] { background: var(--orange); width: 24px; border-radius: 999px; }

.mosaic-all {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.95); color: var(--navy);
  border: 0; border-radius: 999px; padding: 9px 18px;
  font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow);
}
.mosaic-all:hover { background: #fff; }

/* On a phone the mosaic becomes a swipeable slider, one photo at a time -
   the arrangement the WordPress original used on mobile. Built on CSS
   scroll-snap, so swiping works even if the JavaScript never runs; the dots
   are the only part that needs script. */
@media (max-width: 760px) {
  .mosaic {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    height: auto;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 12px;
  }
  .mosaic::-webkit-scrollbar { display: none; }

  .mosaic-cell,
  .mosaic-cell:first-child {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 16 / 10;
    grid-column: auto;
    grid-row: auto;
    border-radius: 0;
  }

  .mosaic-dots { display: flex; }
  .mosaic-all { bottom: 12px; }
}

/* Title bar: heading + social proof on the left, price + CTA on the right. */
.hero-bar {
  display: flex; flex-wrap: wrap; gap: 18px 36px;
  align-items: center; justify-content: space-between;
  padding: 24px 28px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-bar-main { min-width: 0; flex: 1 1 300px; }
/* Deliberately smaller than a page title would normally be: it shares the row
   with the price and the booking button, and those are what the visitor is
   looking for. */
.hero-bar h1 {
  margin: 0 0 12px;
  color: var(--orange-600);
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.hero-bar-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.pills { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 0; padding: 0; }
.pills .pill {
  margin: 0; font-size: .9rem; color: var(--muted); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.pills .pill a { color: var(--orange-600); text-decoration: none; }
.pills .pill a:hover { text-decoration: underline; }
.pills .is-rating {
  background: #1f7a4d; color: #fff; border-radius: 6px;
  padding: 3px 9px; font-weight: 700;
}
.pills .is-rating::before { content: "\2605"; }

.price { display: flex; align-items: baseline; gap: 4px 9px; flex-wrap: wrap; }
.price-now { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.price-unit { font-size: .86rem; color: var(--muted); }
.price-each {
  flex-basis: 100%; font-size: .9rem; font-weight: 700; color: var(--navy);
}
.price-note {
  flex-basis: 100%; font-size: .76rem; color: #1f7a4d; font-weight: 700;
}

/* Package cards further down the page use the same framing. */
.pkg-price { margin: .2em 0 1em; font-size: 1.05rem; }
.pkg-price strong { font-size: 1.45rem; color: var(--navy); }
.pkg-price .price-each {
  display: block; font-size: .88rem; color: var(--muted); font-weight: 600;
}

.book-bar-each { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }

/* The package detail sections are long runs of small heading + one line of
   text. Left plain they read as an undifferentiated wall. Boxing each run and
   setting the heading apart gives the page a scannable rhythm without
   touching a word of the copy. */
.site-main h3 + p,
.site-main h4 + p {
  margin-top: -.35em;
  color: var(--muted);
}
.site-main h4 {
  margin-top: 1.5em;
  padding-top: .9em;
  border-top: 1px solid var(--line);
  color: var(--navy);
}
.site-main h4:first-of-type { border-top: 0; }

/* Knowledge-box accordions */
main details:not(.faq) {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin: 10px 0; overflow: hidden;
}
main details:not(.faq) > summary {
  cursor: pointer; list-style: none; padding: 15px 46px 15px 18px;
  font-weight: 700; color: var(--navy); position: relative;
}
main details:not(.faq) > summary::-webkit-details-marker { display: none; }
main details:not(.faq) > summary::after {
  content: ""; position: absolute; right: 18px; top: 21px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg); transition: transform .2s ease;
}
main details:not(.faq)[open] > summary::after { transform: rotate(-135deg); }
main details:not(.faq) > summary:hover { background: #faf7f3; }
main details:not(.faq) > *:not(summary) { margin-inline: 18px; }
main details:not(.faq) > *:last-child { margin-bottom: 16px; }
main details:not(.faq) .table-wrap { margin-inline: 0; border: 0; box-shadow: none; border-radius: 0; }

/* ------------------------------------------------------------- bands --- */
/* Each top-level section is its own card, so the page reads as distinct
   blocks rather than one long column. */
.band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px;
  margin: 22px 0;
}
.band-alt { background: #fbf7f2; }
.band > h2:first-child { margin-top: 0; }
.band > *:last-child { margin-bottom: 0; }

/* Section header: title left, key facts filling the right-hand side that was
   otherwise empty. */
.band-head {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  align-items: flex-start; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.band-head-main { flex: 1 1 340px; min-width: 0; }
.band-head-main h2 { margin: 0 0 .35em; }
.band-head-main p { margin: 0; color: var(--muted); }

.band-meta {
  flex: 0 1 300px; list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.band-meta li {
  position: relative; padding-left: 30px; margin: 0;
  font-size: .92rem; font-weight: 600; color: var(--navy);
}
/* Drawn with CSS rather than emoji: emoji fall back to tofu boxes on plenty
   of Android devices, which is most of this site's traffic. */
.band-meta li::before {
  content: ""; position: absolute; left: 2px; top: .45em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.meta-time::before  { border-radius: 50%; background: transparent; border: 2px solid var(--navy-500); width: 10px; height: 10px; top: .35em; left: 0; }
.meta-pin::before   { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); }
.meta-offer::before { border-radius: 2px; background: #1f7a4d; }
.meta-offer { color: #1f7a4d; }
.band-meta a { color: var(--orange-600); }

@media (max-width: 760px) {
  .band { padding: 22px 18px; }
  .band-meta { flex-basis: 100%; }
}

/* Tab panel: package name and price, then the two lists. */
.pkg-panel[hidden] { display: none; }
.pkg-panel-head {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 24px; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.pkg-panel-id { flex: 1 1 300px; min-width: 0; }
.pkg-name { margin: 0 0 .35em; font-size: 1.2rem; }
.pkg-panel-head .pkg-price { margin: 0; }
.pkg-panel-head .price-note {
  margin: .3em 0 0; font-size: .78rem; font-weight: 700; color: #1f7a4d;
}
/* The booking CTA sits beside the price it belongs to, so each variant has
   its own clearly visible way to book. */
.pkg-book { flex: 0 0 auto; }

@media (max-width: 560px) {
  .pkg-panel-head { align-items: flex-start; }
  .pkg-book { width: 100%; text-align: center; }
}

/* ------------------------------------------- inclusions vs exclusions --- */
.inex {
  display: grid; gap: 14px 34px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: start;
}
.inex-col {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 22px 22px;
}
.inex-col h3:first-child { margin-top: 0; }
.inex-col h3 + p { margin-top: -.3em; }
.inex-col h3:not(.col-head) {
  font-size: 1rem; margin-top: 1.25em; padding-top: 0; border-top: 0;
}
.inex-col p { font-size: .93rem; }

.col-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 .9em; padding-bottom: .6em;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
}
.badge {
  font-size: .68rem; font-weight: 800; padding: 4px 11px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em;
}
.badge-in { background: #e4f3ea; color: #1f7a4d; }
.badge-ex { background: #fde8e4; color: #b3261e; }

/* Loose scraps of copy that were bare text nodes in the source. Grouped into
   one quiet strip so they read as a note rather than stray lines. */
.note-strip {
  margin: 1.2em 0 0; padding: 14px 18px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .9rem; line-height: 1.75; color: var(--muted);
}
.band .note-strip:last-child { margin-bottom: 0; }

/* ---------------------------------------------------- package compare -- */
.pkg-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start; margin-top: 1.2em;
}
.pkg-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px 24px;
  display: flex; flex-direction: column;
}
.pkg-card h3 { margin: 0 0 .5em; font-size: 1.12rem; }
.pkg-card h4 {
  margin: 1.1em 0 .5em; padding-top: .9em;
  border-top: 1px solid var(--line);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
}
.pkg-card ul { margin: 0 0 1em; padding-left: 1.15em; }
.pkg-card li { margin-bottom: .35em; font-size: .94rem; }
.pkg-card .pkg-price { margin: 0 0 .2em; }

/* The two package names: real tabs switching the inclusions panels. */
.pkg-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 1.4em; padding: 0;
}
.pkg-tab {
  margin: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: var(--cream); border: 1px solid var(--line);
  font: inherit; font-size: .9rem; font-weight: 700; color: var(--navy);
  transition: background-color .15s ease, color .15s ease;
}
.pkg-tab:hover { background: #f1ece5; }
.pkg-tab[aria-selected="true"] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pkg-cta { margin-top: auto; align-self: flex-start; }

/* Enquiry buttons sitting inside article copy. */
.inline-cta { margin: .4em 0 1.2em; }
.inline-cta-wrap { margin: 1.4em 0 1.6em; }

.pol-panel[hidden] { display: none; }
.pol-panel ul { margin: 0; padding-left: 1.2em; }
.pol-panel li { margin-bottom: .55em; }

/* FAQ accordion */
.faq-list {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; margin: 1.4em 0 2em;
}
details.faq { border-bottom: 1px solid var(--line); }
details.faq:last-child { border-bottom: 0; }
details.faq > summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px;
  font-weight: 650; color: var(--navy); position: relative;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: ""; position: absolute; right: 20px; top: 22px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg); transition: transform .2s ease;
}
details.faq[open] > summary::after { transform: rotate(-135deg); }
details.faq > summary:hover { background: #faf7f3; }
/* The question stays a real heading for structure; it just should not look
   like one sitting inside the accordion row. */
.faq-q {
  display: inline; margin: 0; padding: 0;
  font-size: inherit; font-weight: inherit; line-height: inherit;
  color: inherit; letter-spacing: inherit;
}
details.faq > p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ------------------------------------------------------------- modal ---- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21,41,61,.55); }
.modal-card {
  position: relative; width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); border-radius: var(--radius);
  padding: 26px 24px 24px; box-shadow: var(--shadow-lg);
}
.modal-card h2 { margin: 0 0 6px; font-size: 1.3rem; }
.modal-sub { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #f1ece5; color: var(--navy); font-size: 1.2rem; cursor: pointer;
  line-height: 1;
}
.modal-close:hover { background: #e4dcd2; }

/* --------------------------------------------------- sticky book bar ---- */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(21,41,61,.12);
}
.book-bar-price { line-height: 1.25; }
.book-bar-from { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.book-bar-price strong { font-size: 1.2rem; color: var(--navy); }
.book-bar-price s { color: var(--muted); font-size: .85rem; margin-left: 4px; }
.book-bar .btn { padding: 11px 22px; }

@media (max-width: 860px) {
  .book-bar { display: flex; }
  body { padding-bottom: 74px; }
  .wa-float { bottom: 86px; }
}

/* -------------------------------------------------------- blog cards --- */
.blog-grid {
  display: grid; gap: 22px; margin: 1.2em 0 2em;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-thumb { display: block; overflow: hidden; }
.blog-thumb img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  margin: 0; border-radius: 0; box-shadow: none;
  transition: transform .35s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-title {
  margin: 16px 18px 10px; font-size: 1.05rem; line-height: 1.35;
}
.blog-title a { color: var(--navy); text-decoration: none; }
.blog-title a:hover { color: var(--orange-600); }
.blog-more {
  margin: auto 18px 18px; align-self: flex-start;
  padding: 9px 20px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: .88rem; font-weight: 700; text-decoration: none;
}
.blog-more:hover { background: var(--orange-600); color: #fff; }

/* ------------------------------------------------------------ gallery --- */
/* A run of images that was a carousel in WordPress. Scroll-snap does the
   work, so it degrades to a horizontal swipe strip with no JS at all. */
.gallery { position: relative; margin: 0 0 2em; }

.gallery-track {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  min-width: 0;
}
.gallery-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
  box-shadow: var(--shadow);
}

.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow);
  cursor: pointer; display: grid; place-items: center; padding: 0;
}
.gallery-nav::before {
  content: ""; width: 10px; height: 10px;
  border-top: 2px solid var(--navy); border-right: 2px solid var(--navy);
}
.gallery-prev { left: 12px; }
.gallery-prev::before { transform: rotate(-135deg); margin-left: 3px; }
.gallery-next { right: 12px; }
.gallery-next::before { transform: rotate(45deg); margin-right: 3px; }
.gallery-nav:hover { background: #fff; }
.gallery-nav[hidden] { display: none; }

.gallery-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 12px;
}
.gallery-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: #cdc4b8; cursor: pointer;
}
.gallery-dot[aria-current="true"] { background: var(--orange); width: 26px; border-radius: 999px; }

@media (max-width: 600px) {
  .gallery-nav { display: none; }
  .gallery-slide img { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------- TOC layout -- */
.has-toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; }

.toc {
  position: sticky; top: calc(var(--header-h) + 18px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow);
}
.toc-head {
  margin: 0 0 10px; font-size: .78rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 7px 10px; border-radius: var(--radius-sm);
  color: var(--navy); font-size: .9rem; line-height: 1.35;
  text-decoration: none; border-left: 2px solid transparent;
}
.toc a:hover { background: #f4efe9; }
.toc a.is-active {
  background: var(--orange); color: #fff; font-weight: 650;
}
.toc-content { min-width: 0; }

@media (max-width: 960px) {
  .has-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; max-height: none; margin-bottom: 28px; }
}

/* --------------------------------------------------------------- CTA ---- */
.btn {
  display: inline-block; padding: 13px 26px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn-primary:disabled { background: var(--muted); cursor: progress; transform: none; }

.cta-band {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 58%, var(--navy-500) 100%);
  color: #fff; padding: 52px 0 56px;
}
.cta-band h2 { color: #fff; margin-top: 0; text-align: center; }
.cta-band .lead-form { max-width: 640px; margin-inline: auto; }

/* --------------------------------------------------------------- form --- */
.lead-form { display: grid; gap: 14px; }
.lead-form .field { display: grid; gap: 6px; }
.lead-form label { font-size: .88rem; font-weight: 650; }
.lead-form input {
  width: 100%; padding: 13px 15px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.lead-form input:invalid:not(:placeholder-shown) { border-color: #c0392b; }
.cta-band .lead-form label { color: #e8eef5; }

/* Honeypot. Hidden from people without using type="hidden" or display:none,
   both of which many bots skip. Kept out of the tab order and off-screen. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-note { font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 0; }
.cta-band .form-note { color: #b9c6d4; }

.form-msg { margin: 0; font-size: .92rem; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-ok    { color: #1f7a4d; }
.form-msg.is-error { color: #ffd7cf; }
.lead-form:not(.in-band) .form-msg.is-error { color: #b3261e; }
.form-msg a { color: inherit; font-weight: 700; }
/* Shown when a popup blocker stops the payment tab opening. */
.pay-link {
  display: inline-block; margin-top: 8px; padding: 10px 20px;
  background: var(--orange); color: #fff !important; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.pay-link:hover { background: var(--orange-600); }

/* ------------------------------------------------------------- footer --- */
/* Orange, matching the live site's footer rather than inventing a new one. */
.site-footer { background: var(--orange); color: #fff6ef; margin-top: 0; }
.footer-grid {
  display: grid; gap: 36px; padding: 56px 16px 44px;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
}
.footer-logo { width: 110px; background: #fff; border-radius: var(--radius-sm); padding: 8px; }
.footer-col p { font-size: .93rem; }
.footer-head {
  margin: 0 0 14px; color: #fff; font-size: 1rem; font-weight: 700;
  letter-spacing: .01em;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .footer-col a { color: #fff6ef; text-decoration: none; font-size: .93rem; }
.footer-links a:hover, .footer-col a:hover { color: #fff; text-decoration: underline; }
.site-footer .lead-form input { border-color: transparent; }

.footer-bar { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bar-inner {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: space-between; padding-block: 18px;
}
.footer-bar p { margin: 0; font-size: .85rem; }
.footer-legal a { color: #fff6ef; text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ---------------------------------------------------------- whatsapp ---- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: #25d366; color: #fff; border-radius: 50%;
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

@media (max-width: 480px) {
  /* Deliberately does not set `bottom`: the sticky book bar rule below lifts
     the button clear of it, and resetting bottom here would overlap the
     Book Now button. */
  .wa-float { right: 14px; width: 52px; height: 52px; }
  .brand-text { display: none; }
}

/* Must come after the base .wa-float rule above, or that later declaration
   wins on equal specificity and the button sits on top of Book Now. */
@media (max-width: 860px) {
  .wa-float { bottom: 88px; }
}

/* ---------------------------------------------------------- lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 210;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 10px; padding: 20px; background: rgba(12,20,30,.92);
}
.lightbox[hidden] { display: none; }
.lightbox-fig { margin: 0; display: grid; place-items: center; min-width: 0; }
.lightbox-fig img {
  max-width: 100%; max-height: calc(100vh - 80px);
  border-radius: 10px; margin: 0; box-shadow: none;
}
.lightbox-close {
  position: absolute; top: 14px; right: 16px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-prev::before, .lightbox-next::before {
  content: ""; width: 12px; height: 12px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.lightbox-prev::before { transform: rotate(-135deg); margin-left: 4px; }
.lightbox-next::before { transform: rotate(45deg); margin-right: 4px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.26); }

@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; padding: 12px; }
  .lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ====================================================================== */
/* MOBILE                                                                  */
/* Not just "does it overflow" - the phone layout is where most of this    */
/* traffic lands, so type, spacing and the fold are tuned for it directly. */
/* ====================================================================== */
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.65; }

  /* Reclaim the gutters: 28px of padding per band on a 375px screen is a
     third of the usable width spent on nothing. */
  .wrap { padding-inline: 14px; }
  .band { padding: 20px 16px; margin: 14px 0; border-radius: 12px; }

  h1, .page-title { font-size: clamp(1.5rem, 1.1rem + 2.6vw, 1.9rem); }
  h2 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
  h3 { font-size: 1.05rem; }
  .band > h2:first-child { margin-top: 0; }

  /* The mosaic was 482px of an 812px screen - the whole fold was pictures.
     Capping it keeps the title, price and Book Now reachable. */
  .mosaic { gap: 6px; }
  .mosaic-cell:first-child { aspect-ratio: 16 / 9; }
  .mosaic-cell { aspect-ratio: 16 / 10; }
  .mosaic-all { left: 10px; bottom: 10px; padding: 7px 14px; font-size: .8rem; }

  /* Title, rating, price and CTA stack in a sensible reading order. */
  .hero-bar { padding: 18px 16px; gap: 14px; }
  .hero-bar h1 { margin-bottom: 8px; }
  .hero-bar-main, .hero-bar-cta { flex: 1 1 100%; }
  .hero-bar-cta { justify-content: space-between; gap: 12px; }
  .price-now { font-size: 1.5rem; }
  .pills { gap: 6px 10px; font-size: .85rem; }

  .band-head { gap: 12px; padding-bottom: 14px; margin-bottom: 16px; }
  .band-meta { gap: 8px; }
  .band-meta li { font-size: .88rem; padding-left: 26px; }

  .inex-col { padding: 16px 16px 18px; }
  .pkg-tab { padding: 9px 15px; font-size: .85rem; }
  .pkg-panel-head { gap: 12px; padding-bottom: 14px; margin-bottom: 16px; }

  .site-main { padding-block: 22px 0; }
  .site-main img { margin: 1.1em 0; border-radius: 10px; }
  .cta-band { margin-top: 36px; padding: 34px 0 38px; }

  details.faq > summary,
  main details:not(.faq) > summary { padding: 13px 40px 13px 14px; font-size: .95rem; }
  details.faq > summary::after,
  main details:not(.faq) > summary::after { right: 14px; top: 19px; }
  details.faq > p { padding: 0 14px 15px; }
  main details:not(.faq) > *:not(summary) { margin-inline: 14px; }

  .footer-grid { gap: 26px; padding: 38px 14px 30px; }
  .note-strip { padding: 12px 14px; font-size: .86rem; }
  .toc { padding: 14px 14px 10px; }
}

@media (max-width: 400px) {
  /* Smallest common phones: stop the price row from cramping the button. */
  .hero-bar-cta { flex-direction: column; align-items: stretch; }
  .hero-bar-cta .btn { width: 100%; text-align: center; }
  .brand img { width: 44px; }
}

/* ------------------------------------------------------------- 404 ------ */
.err-page { text-align: center; padding: 80px 0 40px; }
.err-page h1 { font-size: clamp(3rem, 2rem + 6vw, 6rem); margin-bottom: 0; }
.err-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
