/* ============================================================
   Safariko Tours — flat vintage safari system
   Palette: ink #241C0C · sand #DCCCAC · gold #CCAC74 · cream #E6D6B0
   Roles:  ink = text/borders/dark surfaces · sand = page
           cream = cards & alt sections · gold = action only
   ============================================================ */

:root {
  --ink: #241C0C;
  --ink-soft: #4E4023;
  --sand: #DCCCAC;
  --cream: #E6D6B0;
  --cream-lt: #EFE3C6;
  --gold: #CCAC74;
  --gold-dk: #A8854B;
  --err: #7A3410;
  --line: 2px solid var(--ink);
  --r: 4px;
  --wrap: 1200px;
  --narrow: 46rem;
  --ar-hero: 1.78;
  --ar-card: 1.5;
  --ar-tile: 1.33;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.section-ink :focus-visible, .site-footer :focus-visible,
.closing-band :focus-visible, .fc-btn:focus-visible,
.topbar :focus-visible {
  outline-color: var(--gold);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: var(--narrow); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5.4vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; max-width: 60ch; }
.kicker {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; margin-bottom: .6em; color: var(--ink-soft);
}
.fine-print { font-size: .85rem; color: var(--ink-soft); }
.arrow-link { font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px;
  font: inherit; font-weight: 700; text-decoration: none;
  border: var(--line); cursor: pointer; text-align: center;
  background: transparent; color: var(--ink);
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dk); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ink:hover { color: var(--gold); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--cream); color: var(--ink); }
.btn-sand { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-sand:hover { background: var(--gold); }
.btn-ghost-inv { border-color: var(--cream); color: var(--cream); }
.btn-ghost-inv:hover { background: var(--cream); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .92rem; }
.btn-block { width: 100%; margin-bottom: 10px; }
.btn-icon { width: 18px; height: 18px; flex: none; margin-right: 7px; fill: currentColor; }
.bl-s { display: none; }

/* Softened corners — subtle 4px radius on buttons, cards and panels */
.btn, .filter-open, .menu-btn, .fsheet-close,
.pkg-card, .style-tile, .dest-tile, .g-item, .blog-card, .why-item,
.side-card, .enquiry-form, .filter-form, .pkg-hero-panel, .empty-state,
.lblock-cream, .cat-pills a, .status-filter a, .fopts .radio,
.avail-badge, .form-alert, .iti-list, .faq-list, .table-scroll,
.stat, .cat-badge, .flag-note { border-radius: var(--r); }

/* Clip top-row media to the card's rounded corners */
.pkg-card, .style-tile, .dest-tile, .g-item { overflow: hidden; }

/* Pill segmented controls in the top bar */
.cur-toggle, .lang-toggle { border-radius: 999px; }
.cur-toggle a:first-child, .lang-toggle a:first-child { border-radius: 999px 0 0 999px; }
.cur-toggle a:last-child, .lang-toggle a:last-child { border-radius: 0 999px 999px 0; }

/* ---------- top utility bar ---------- */
/* Slim dark band above the sticky header. It sits in normal flow so it
   scrolls away with the page while .site-header stays pinned. */
.topbar {
  background: var(--ink); color: var(--cream);
  font-size: .78rem; border-bottom: 1px solid var(--gold);
}
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-in {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 14px; min-height: 40px; padding-top: 3px; padding-bottom: 3px;
}
.topbar-contact { display: none; align-items: center; gap: 10px; font-weight: 600; margin-right: auto; }
.topbar-sep { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.topbar-tools { display: flex; align-items: center; gap: 14px; }
.topbar-tool { display: inline-flex; align-items: center; gap: 8px; }
.topbar-label {
  display: none; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--gold);
}
.cur-toggle, .lang-toggle { display: inline-flex; border: 1px solid var(--gold); }
.cur-toggle a, .lang-toggle a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; min-width: 42px; padding: 2px 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
  color: var(--cream); text-decoration: none;
}
.cur-toggle a + a, .lang-toggle a + a { border-left: 1px solid var(--gold); }
.cur-toggle a:hover, .lang-toggle a:hover { color: var(--ink); background: var(--cream); }
.cur-toggle a.on, .lang-toggle a.on { background: var(--gold); color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--sand); border-bottom: var(--line);
}
.header-in { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.brand-logo {
  display: block; height: 52px; width: auto; max-width: 56vw;
  object-fit: contain; object-position: left center;
}

.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 12px; font: inherit; font-weight: 700;
  background: transparent; border: var(--line); color: var(--ink); cursor: pointer;
}
.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--sand); border-bottom: var(--line); flex-direction: column;
}
.site-nav.open { display: flex; }
.site-nav a {
  padding: 14px 16px; font-weight: 600; text-decoration: none;
  border-top: 1px solid var(--ink); min-height: 48px;
}
.site-nav a:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 560px) {
  /* Width-driven logo sizing: the 6:1 mark was capped at 44vw/38px,
     drawing only ~26px tall with dead space. Let it use the free
     width instead — bigger and crisper inside the same 64px bar. */
  .brand-logo { width: min(72vw, 312px); height: auto; max-width: none; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 8px 11px; }
}
@media (min-width: 720px) {
  .topbar-contact { display: inline-flex; }
  .topbar-label { display: inline; }
}

/* ---------- image slots ---------- */
.img-slot {
  display: block; width: 100%;
  aspect-ratio: var(--ar, 1.5);
  object-fit: cover;
  background: var(--cream-lt);
}

/* ---------- hero ---------- */
.hero { border-bottom: var(--line); }
.hero-photo { position: relative; }
.hero-bg {
  display: block; width: 100%;
  aspect-ratio: 1.4; object-fit: cover;
}
.hero-in { display: block; padding-top: 24px; padding-bottom: 24px; position: relative; }
.hero-panel { max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Compact single-row hero CTAs on small screens — equal-width pair,
   short labels, icon + label centred, never wrapped or overlapped. */
@media (max-width: 560px) {
  .hero-panel .hero-actions { flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
  .hero-panel .hero-actions .btn {
    flex: 1 1 0; min-width: 0;
    min-height: 46px; padding: 10px 12px;
    font-size: .92rem; white-space: nowrap;
  }
  .hero-panel .hero-actions .btn span { overflow: hidden; text-overflow: ellipsis; }
  .hero-panel .bl-l { display: none; }
  .hero-panel .bl-s { display: inline; }
  .hero-panel .btn-icon { width: 16px; height: 16px; margin-right: 6px; }
}

/* ---------- shared page hero (photo band + overlap panel) ---------- */
.pkg-hero.page-hero > .page-hero-img { aspect-ratio: 1.9; max-height: 46vh; }
.pkg-hero.page-hero-slim > .page-hero-img { aspect-ratio: 2.5; max-height: 32vh; }
.page-hero .pkg-hero-panel { max-width: 620px; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--ink); color: var(--cream); }
.trust-in {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px;
  padding-top: 18px; padding-bottom: 18px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.trust-item svg { width: 26px; height: 26px; fill: var(--gold); flex: none; }

/* ---------- sections ---------- */
.section { padding: 44px 0; border-top: var(--line); }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3 { color: var(--cream); }
.section-ink .fine-print { color: var(--sand); }

.sec-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px dashed var(--ink); padding-bottom: 10px; margin-bottom: 24px;
}
.sec-head h2 { margin: 0; }
.sec-head .arrow-link { margin-left: auto; }
.acacia { width: 34px; height: 26px; color: var(--gold-dk); flex: none; }
.acacia-big { width: 64px; height: 48px; margin-bottom: 12px; }

/* ---------- package cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid.single { max-width: 420px; }
.pkg-card {
  background: var(--cream); border: var(--line);
  display: flex; flex-direction: column;
}
.pkg-media { position: relative; display: block; border-bottom: var(--line); }
.pkg-days {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--cream);
  font-size: .78rem; font-weight: 700; padding: 6px 10px;
}
.pkg-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pkg-style {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 4px;
}
.pkg-body h3 a { text-decoration: none; }
.pkg-body h3 a:hover { text-decoration: underline; }
.pkg-route { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.pkg-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pkg-price { margin: 0; font-weight: 700; }
.pkg-price small { font-weight: 400; color: var(--ink-soft); }
.price-enquire { font-weight: 700; color: var(--ink); }
.sec-more { margin-top: 20px; }

/* ---------- blog ---------- */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat-pills a {
  padding: 8px 16px; border: var(--line); text-decoration: none;
  font-weight: 700; font-size: .9rem; background: var(--cream); color: var(--ink);
}
.cat-pills a.on { background: var(--ink); color: var(--cream); }
.cat-pills a:hover:not(.on) { background: var(--gold); }
.cat-badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--gold); color: var(--ink);
  font-size: .78rem; font-weight: 700; padding: 6px 10px;
}
.cat-line { margin: 0 0 8px; }
.cat-line .cat-badge { position: static; display: inline-block; text-decoration: none; border: var(--line); }
.byline { font-size: .85rem; color: var(--ink-soft); margin: 10px 0 0; }
.crumb-line { font-size: .9rem; margin: 0 0 8px; }
.blog-card .pkg-media { position: relative; }
.empty-note { padding: 32px 0; color: var(--ink-soft); }

.prose { font-size: 1.02rem; line-height: 1.7; }
.prose h2 { margin: 1.6em 0 .5em; font-size: 1.4rem; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 1.15rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose blockquote {
  margin: 1.6em 0; padding: 14px 18px;
  border-left: 8px solid var(--gold); background: var(--cream);
  font-weight: 600; font-size: 1.1rem;
}
.prose blockquote p { margin: 0; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold-dk); text-decoration-thickness: 2px; }
.prose img { border: var(--line); }
.prose hr { border: none; border-top: 1px dashed var(--ink); margin: 2em 0; }
.article-cta {
  margin-top: 36px; padding: 20px; border: var(--line); background: var(--cream);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.article-cta p { margin: 0; font-weight: 700; margin-right: auto; }

/* ---------- style tiles ---------- */
.style-tiles { display: grid; gap: 14px; }
.style-tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--sand); border: var(--line);
  text-decoration: none; color: var(--ink);
}
.style-tile .img-slot { border-bottom: var(--line); }
.style-tile:hover .style-tile-body { background: var(--gold); color: var(--ink); }
.style-tile-body {
  display: block; padding: 14px 46px 16px 16px;
  flex: 1;
}
.style-tile h3 { margin-bottom: 4px; }
.style-tile p { margin: 0; font-size: .92rem; }
.tile-arrow { position: absolute; right: 14px; bottom: 14px; font-weight: 800; }

/* ---------- destination tiles ---------- */
.dest-grid { display: grid; gap: 14px; }
.dest-tile {
  display: block; background: var(--cream); border: var(--line);
  text-decoration: none; color: var(--ink);
}
.dest-tile .img-slot { border-bottom: var(--line); }
.dest-tile:hover .dest-name { background: var(--gold); }
.dest-name { display: block; font-weight: 700; padding: 10px 14px 2px; }
.dest-blurb { display: block; font-size: .85rem; color: var(--ink-soft); padding: 0 14px 12px; }

/* ---------- included / why ---------- */
.included-in { display: grid; gap: 24px; }
.tick-list, .x-list { list-style: none; margin: 0; padding: 0; }
.tick-list li, .x-list li { position: relative; padding: 6px 0 6px 30px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.x-list li::before {
  content: "\00d7"; position: absolute; left: 4px; top: 4px;
  font-weight: 800; color: var(--ink); font-size: 1.1rem;
}
.why-grid { display: grid; gap: 20px; }
.why-grid { counter-reset: why; }
.why-item { background: var(--cream); border: var(--line); padding: 16px 16px 14px; }
.why-item::before {
  counter-increment: why; content: "0" counter(why);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 10px;
  background: var(--gold); color: var(--ink);
  font-size: .95rem; font-weight: 800; letter-spacing: .02em;
}

/* ---------- editorial rows ---------- */
.edit-rows { display: grid; gap: 28px; }
.edit-row { display: grid; gap: 16px; align-items: center; }
.edit-row .img-slot { border: var(--line); }
.edit-copy h3 { margin-bottom: 6px; }
.edit-copy p { margin: 0; max-width: 56ch; }

/* ---------- gallery ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-strip .img-slot { border: var(--line); }
.gallery-grid { display: grid; gap: 20px; padding-bottom: 12px; }
.g-item { margin: 0; background: var(--cream); border: var(--line); }
.g-item .img-slot { border-bottom: var(--line); }
.g-item figcaption { padding: 10px 14px; font-size: .88rem; }

/* ---------- enquiry / forms ---------- */
.enquire-in { display: grid; gap: 28px; }
.contact-line a { font-weight: 700; }
.enquiry-form {
  background: var(--cream); border: var(--line); padding: 20px;
}
.form-title { margin-bottom: 14px; }
.form-alert {
  border: var(--line); border-color: var(--err); color: var(--err);
  background: var(--cream-lt); padding: 10px 14px; font-weight: 600;
  margin-bottom: 16px;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.frow { display: grid; gap: 14px; margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--sand); border: var(--line); border-radius: var(--r);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--gold-dk); outline-offset: 0;
}
.field.err input, .field.err select, .field.err textarea { border-color: var(--err); }
.field-err { color: var(--err); font-size: .85rem; font-weight: 600; margin: 4px 0 0; }
.check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check-label input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--gold-dk); }
.field.checks { border: none; padding: 0; margin: 0 0 14px; }
.field.checks legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.field.checks .check-label { margin-bottom: 8px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- landing image blocks ---------- */
.lblock-image { margin: 0 0 44px; }
.lblock-image .img-slot { border: var(--line); }
.lblock-image figcaption {
  font-size: .88rem; color: var(--ink-soft);
  border-left: 6px solid var(--gold); padding-left: 12px; margin-top: 10px;
}

/* ---------- listing ---------- */
.listing-in { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 48px; }
.filters { align-self: start; }
.filter-form { background: var(--cream); border: var(--line); padding: 18px; }
.fgroup { margin-bottom: 18px; }
.fgroup h2 { font-size: .95rem; margin-bottom: 8px; }
.radio { display: flex; align-items: center; gap: 8px; padding: 6px 0; min-height: 36px; font-size: .95rem; }
.radio input { width: 20px; height: 20px; accent-color: var(--gold-dk); }
.clear-link { display: inline-block; margin-top: 10px; font-size: .9rem; }
.result-count { font-weight: 700; margin-bottom: 14px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-bar .result-count { margin: 0; }
.filter-open {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 15px; font: inherit; font-weight: 700;
  background: var(--ink); color: var(--cream); border: var(--line); cursor: pointer;
}
.filter-open svg { width: 15px; height: 15px; flex: none; }
.filter-open:hover { color: var(--gold); }
.fbadge {
  background: var(--gold); color: var(--ink); border-radius: 999px;
  font-size: .72rem; font-weight: 800; line-height: 1; padding: 3px 7px;
}
.fsheet-top { display: none; }
.fsheet-foot { display: flex; align-items: center; gap: 14px; }
.fsheet-foot .clear-link { margin-top: 0; white-space: nowrap; }
.fsheet-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: var(--line); color: var(--ink); cursor: pointer;
}
.fsheet-close:hover { background: var(--gold); }
.filters-veil { display: none; }

/* ≤859px — filters become a bottom sheet (JS-enhanced; inline form is the no-JS fallback) */
@media (max-width: 859px) {
  .filter-bar {
    position: sticky; top: 64px; z-index: 60;
    background: var(--sand); padding: 8px 0 10px; margin-bottom: 14px;
    border-bottom: var(--line);
  }
  .js .filter-open { display: inline-flex; }
  .js .filters {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    max-height: 82vh; max-height: 82dvh; overflow-y: auto;
    transform: translateY(105%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .js .filters.open { transform: none; visibility: visible; }
  .js .filter-form { padding-top: 0; border-bottom: none; border-radius: 10px 10px 0 0; }
  .js .fsheet-top {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 1; background: var(--cream);
    margin: 0 -18px 16px; padding: 14px 18px;
    border-bottom: 1px solid var(--ink);
  }
  .js .fsheet-top h2 { margin: 0; font-size: 1.05rem; }
  .js .fsheet-foot {
    display: flex; align-items: center; gap: 14px;
    position: sticky; bottom: 0; background: var(--cream);
    margin: 8px -18px -18px; padding: 12px 18px;
    border-top: 1px solid var(--ink);
  }
  .js .fsheet-foot .btn { flex: 1; }
  .js .fsheet-foot .clear-link { margin-top: 0; white-space: nowrap; }
  .filters-veil {
    display: block; position: fixed; inset: 0; z-index: 140;
    background: rgba(36, 28, 12, .55);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  .filters-veil.on { opacity: 1; visibility: visible; }
  body.filters-open { overflow: hidden; }
  .fopts { display: flex; flex-wrap: wrap; gap: 8px; }
  .fopts .radio {
    border: var(--line); background: var(--cream-lt);
    padding: 9px 13px; margin: 0; font-weight: 600; font-size: .9rem; cursor: pointer;
  }
  .fopts .radio input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .fopts .radio:hover { background: var(--sand); }
  .fopts .radio:has(input:checked) { background: var(--ink); color: var(--cream); }
  .fopts .radio:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
}
@media (max-width: 859px) and (prefers-reduced-motion: reduce) {
  .js .filters, .filters-veil { transition: none; }
}
.empty-state {
  text-align: center; border: var(--line); background: var(--cream);
  padding: 40px 20px;
}
.empty-state .acacia { width: 56px; height: 42px; margin-bottom: 10px; }

/* ---------- package page ---------- */
.pkg-hero { position: relative; border-bottom: var(--line); }
.pkg-hero > .img-slot { max-height: 62vh; }
.pkg-hero-in { display: block; padding-top: 24px; padding-bottom: 24px; }
.pkg-hero-panel {
  background: var(--cream); border: var(--line); padding: 20px;
}
.pkg-price-lg { font-size: 1.2rem; font-weight: 700; margin: 12px 0 0; }
.pkg-price-lg small { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.avail-badge {
  display: inline-block; margin-top: 10px; padding: 4px 10px;
  background: var(--gold); font-weight: 700; font-size: .85rem; border: var(--line);
}
.pkg-in { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 44px; }
/* Grid items default to min-width:auto = min-content; the price table's
   480px minimum would otherwise widen the whole column past the viewport.
   min-width:0 lets the column shrink so .table-scroll can scroll internally. */
.pkg-main { min-width: 0; }
.pkg-sec { margin-bottom: 40px; }
.pkg-sec > h2 { border-bottom: var(--line); padding-bottom: 8px; margin-bottom: 16px; }

.route-map svg { width: 100%; height: auto; display: block; }
.route-line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 7 6; }
.route-dot { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.route-label { fill: var(--ink); font-size: 13px; font-weight: 600; font-family: inherit; }

.iti-list { border: var(--line); }
.iti-item { border-top: 1px solid var(--ink); background: var(--cream); }
.iti-item:first-child { border-top: none; }
.iti-item summary {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 16px; min-height: 48px; cursor: pointer; list-style: none;
}
.iti-item summary::after {
  content: "+"; margin-left: auto; font-weight: 800; font-size: 1.2rem; color: var(--gold-dk);
}
.iti-item[open] summary::after { content: "\2212"; }
.iti-item summary::-webkit-details-marker { display: none; }
.iti-day { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); flex: none; }
.iti-title { font-weight: 700; }
.iti-item p { padding: 0 16px 16px; margin: 0; }

.table-scroll { overflow-x: auto; border: var(--line); }
.price-table { border-collapse: collapse; width: 100%; min-width: 480px; background: var(--cream); }
.price-table th, .price-table td {
  border: 1px solid var(--ink); padding: 12px 14px; text-align: left; vertical-align: top;
}
.price-table thead th { background: var(--ink); color: var(--cream); font-size: .85rem; }
.price-table td small { display: block; color: var(--ink-soft); }
.flag-note {
  border-left: 6px solid var(--gold); padding: 8px 12px; background: var(--cream);
  font-size: .9rem; margin-top: 12px;
}

.incexc { display: grid; gap: 24px; }
.pkg-side { display: grid; gap: 18px; align-self: start; }
.side-card { background: var(--cream); border: var(--line); padding: 18px; }
.side-card h2 { font-size: 1rem; margin-bottom: 12px; }
.side-price { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.side-price small { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.glance { margin: 0; }
.glance div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--ink); }
.glance div:first-child { border-top: none; }
.glance dt { font-weight: 600; color: var(--ink-soft); }
.glance dd { margin: 0; font-weight: 700; text-align: right; }
.enquire-box { background: var(--sand); }

/* ---------- landing blocks ---------- */
.landing-blocks { padding-top: 40px; padding-bottom: 48px; }
.lblock { margin-bottom: 44px; }
.lblock > h2 { border-bottom: var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.lblock-cream { background: var(--cream); border: var(--line); padding: 20px; }
.lblock-cream > h2 { border-bottom-color: var(--ink); }
.lblock-cta { border-top: 6px solid var(--gold); padding-top: 20px; font-size: 1.1rem; font-weight: 600; }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--ink); }
.step-list li:first-child { border-top: none; }
.step-dot { width: 18px; height: 18px; color: var(--ink-soft); flex: none; margin-top: 5px; }
.step-list p { margin: 0; }
.two-col { display: grid; gap: 16px; }
.col-card { background: var(--cream); border: var(--line); padding: 20px; }

/* ---------- contact ---------- */
.contact-in { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 48px; }
.contact-cards { display: grid; gap: 14px; align-self: start; }
.contact-card {
  position: relative; display: block; padding: 18px 46px 18px 16px;
  background: var(--cream); border: var(--line); text-decoration: none; color: var(--ink);
}
.contact-card:hover { background: var(--gold); }
.contact-card h2 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; }
.plan-in { padding-top: 32px; padding-bottom: 56px; }

/* ---------- faq ---------- */
.faq-list { border: var(--line); }
.faq-item { border-top: 1px solid var(--ink); background: var(--sand); }
.faq-item:first-child { border-top: none; }
.faq-item summary {
  padding: 14px 16px; min-height: 48px; cursor: pointer; font-weight: 700; list-style: none;
}
.faq-item summary::after { content: "+"; float: right; font-weight: 800; color: var(--gold-dk); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-body { padding: 0 16px 16px; }
.faq-body p { margin: 0 0 8px; }
.confirm-note { font-size: .8rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- closing ---------- */
.closing-band { background: var(--ink); color: var(--cream); padding: 56px 0; border-top: var(--line); }
.closing-in { text-align: center; }
.closing-in h2 { color: var(--cream); max-width: 22ch; margin: 0 auto 8px; }
.closing-in .hero-actions { justify-content: center; }
.closing-in .acacia { color: var(--gold); margin: 0 auto 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); border-top: var(--line); }
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
.site-footer a { color: var(--cream); display: block; padding: 6px 0; }
.site-footer a:hover { color: var(--gold); }
.f-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 10px; }
.f-brand .brand { margin-bottom: 12px; }
.brand-logo-footer { height: 64px; max-width: 100%; object-position: left center; }
.f-closing { font-size: .92rem; }
.f-note { font-size: .85rem; color: var(--sand); }
.f-bottom { border-top: 1px solid var(--cream); padding-top: 16px; padding-bottom: 16px; }
.f-bottom p { font-size: .8rem; margin-bottom: 4px; }

/* ---------- floating contact ---------- */
.float-contact {
  position: fixed; right: 12px; bottom: 14px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.fc-btn {
  width: 54px; height: 54px; border: var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; padding: 0;
}
.fc-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fc-wa { background: #25D366; color: #fff; }
.fc-wa:hover { background: #1DA851; color: #fff; }
.fc-call { background: var(--ink); color: var(--cream); }
.fc-call:hover { background: var(--gold-dk); color: var(--ink); }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 10px; padding: 10px 14px;
  background: var(--sand); border-top: var(--line);
}
.sticky-cta .btn { flex: 1; }
@media (max-width: 860px) {
  .sticky-cta { display: flex; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 74px; }
  body:has(.sticky-cta) .float-contact { bottom: 86px; }
}

/* ---------- thanks / errors ---------- */
.thanks-in, .error-in { padding: 64px 0; text-align: center; }
.thanks-in .acacia-big, .error-in .acacia-big { margin: 0 auto 14px; color: var(--gold-dk); }
.thanks-in .hero-actions, .error-in .hero-actions { justify-content: center; }

/* ---------- admin ---------- */
.admin-body { background: var(--cream-lt); }
.admin-header { background: var(--ink); color: var(--cream); }
.admin-header-in { display: flex; align-items: center; gap: 20px; min-height: 56px; flex-wrap: wrap; }
.admin-brand { color: var(--cream); font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.admin-brand span { color: var(--gold); }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-nav a { color: var(--cream); text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.admin-nav a:hover { color: var(--gold); }
.admin-main { padding-top: 28px; padding-bottom: 56px; }
.login-body { display: grid; place-items: center; min-height: 100vh; }
.login-card { background: var(--cream); border: var(--line); padding: 32px; width: min(400px, 92vw); }
.login-card .acacia-big { color: var(--gold-dk); }
.login-card .field { margin-bottom: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.stat { background: var(--cream); border: var(--line); padding: 16px; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; }
.stat span { font-size: .85rem; color: var(--ink-soft); }
.admin-sec { margin-bottom: 32px; }
.admin-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--cream); }
.admin-table th, .admin-table td { border: 1px solid var(--ink); padding: 10px 12px; text-align: left; font-size: .92rem; }
.admin-table thead th { background: var(--ink); color: var(--cream); }
.detail-table th { width: 140px; }
.status { display: inline-block; padding: 2px 8px; font-size: .78rem; font-weight: 700; border: 1.5px solid var(--ink); }
.status-new { background: var(--gold); }
.status-replied { background: var(--sand); }
.status-quoted { background: var(--cream-lt); }
.status-booked { background: var(--ink); color: var(--cream); }
.status-lost, .status-hidden { background: transparent; color: var(--ink-soft); }
.status-published { background: var(--gold); }
.status-tbd { background: var(--sand); }
.status-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.status-filter a { padding: 8px 14px; border: var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.status-filter a.on { background: var(--ink); color: var(--cream); }
.admin-cols { display: grid; gap: 24px; }
.enquiry-side { background: var(--cream); border: var(--line); padding: 18px; align-self: start; }
.enquiry-side .field { margin-bottom: 14px; }
.admin-empty, .saved-note { font-weight: 600; }
.saved-note { background: var(--gold); border: var(--line); padding: 8px 12px; display: inline-block; }
.price-edit input[type="number"], .price-edit input:not([type]),
.price-edit select, .price-edit input[type="text"] { width: 100%; font: inherit; padding: 6px 8px; border: 1.5px solid var(--ink); background: #fff; }
.admin-edit-form .field { margin-bottom: 0; }
.admin-edit-form h2 { margin: 24px 0 8px; }
code { background: var(--cream); padding: 1px 5px; }

/* ============================================================
   ≥600px
   ============================================================ */
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .style-tiles { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .frow { grid-template-columns: repeat(2, 1fr); }
  .frow:has(> :nth-child(3)) { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .trust-in { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   ≥860px — nav inline, hero splits
   ============================================================ */
@media (min-width: 860px) {
  .wrap { padding: 0 24px; }
  .hero-bg { aspect-ratio: 2.13; max-height: 74vh; }
  .hero-photo .hero-panel { margin-top: -170px; }
  .pkg-hero.page-hero > .page-hero-img { aspect-ratio: 2.74; max-height: 44vh; }
  .pkg-hero.page-hero-slim > .page-hero-img { aspect-ratio: 3.4; max-height: 30vh; }
  .page-hero .pkg-hero-panel { margin-top: -110px; }
  .edit-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .edit-row-flip .img-slot { order: 2; }
  .listing-in { grid-template-columns: 240px 1fr; }
  .filters { position: sticky; top: 84px; }
  .pkg-in { grid-template-columns: 1fr 300px; }
  .pkg-side { position: sticky; top: 84px; }
  .pkg-hero-panel { max-width: 560px; margin-top: -140px; position: relative; }
  .incexc { grid-template-columns: 1fr 1fr; }
  .contact-in { grid-template-columns: 320px 1fr; }
  .enquire-in { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
  .admin-cols { grid-template-columns: 1fr 320px; }
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ≥1020px — full nav fits inline
   ============================================================ */
@media (min-width: 1020px) {
  .menu-btn { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; border: none; background: none; margin-left: auto; }
  .site-nav a { border: none; padding: 10px 11px; min-height: 44px; display: inline-flex; align-items: center; font-size: .92rem; }
}

/* ============================================================
   ≥1100px — three-up grids, wider hero
   ============================================================ */
@media (min-width: 1100px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.single { grid-template-columns: 1fr; }
  .style-tiles { grid-template-columns: repeat(3, 1fr); }
  .dest-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .frow:has(> :nth-child(3)) { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   ≥1400px — breathe on wide screens
   ============================================================ */
@media (min-width: 1400px) {
  body { font-size: 18px; }
  .section { padding: 56px 0; }
}

/* ============================================================
   ≤719px — compact mobile pass: tighter rhythm, shorter buttons,
   one-line CTA pairs, two-per-line grids (minmax(0,1fr) keeps
   tracks from blowing out on long content)
   ============================================================ */
@media (max-width: 719px) {
  body { font-size: 16px; }
  .wrap { padding: 0 12px; }

  /* rhythm */
  .section { padding: 32px 0; }
  .sec-head { margin-bottom: 18px; }
  .sec-more { margin-top: 14px; }
  .hero-in, .pkg-hero-in { padding-top: 18px; padding-bottom: 18px; }
  .pkg-hero-panel { padding: 16px; }
  .lede { font-size: 1.05rem; }
  .pkg-in { gap: 22px; padding-top: 22px; padding-bottom: 30px; }
  .pkg-sec { margin-bottom: 30px; }
  .listing-in { gap: 20px; padding-top: 20px; padding-bottom: 36px; }
  .enquiry-form, .side-card { padding: 16px; }
  .edit-rows { gap: 22px; }
  .empty-state { padding: 28px 16px; }
  .cat-pills { margin-bottom: 18px; }
  .iti-item summary { padding: 12px 14px; }
  .field input[type="text"], .field input[type="tel"], .field input[type="email"],
  .field input[type="number"], .field select, .field textarea { min-height: 46px; }

  /* shorter buttons — tap target stays ≥44px */
  .btn { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
  .btn-lg { min-height: 48px; padding: 9px 16px; font-size: 1rem; }
  .btn-sm { min-height: 38px; padding: 5px 12px; font-size: .88rem; }
  .btn-block { margin-bottom: 0; }

  /* paired CTAs: one line, equal width, text never wraps */
  .hero-actions, .form-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn, .form-actions .btn {
    flex: 1 1 0; min-width: 0; white-space: nowrap;
    overflow: hidden; padding-left: 8px; padding-right: 8px;
  }
  .sticky-cta .btn { white-space: nowrap; min-width: 0; padding-left: 8px; padding-right: 8px; }

  /* side CTA card: primary action full row, secondary pair shares one */
  .side-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .side-cta .btn-block { white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: .9rem; }
  .side-cta .btn-block:first-child { grid-column: 1 / -1; }

  /* two-per-line grids — tight gutters so the cards get the width */
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .style-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }

  /* compact card internals */
  .pkg-body { padding: 8px 10px 10px; }
  .pkg-style { font-size: .65rem; }
  .pkg-body h3 { font-size: .98rem; }
  .pkg-route {
    font-size: .78rem; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .pkg-days { font-size: .68rem; padding: 4px 8px; }
  .pkg-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .pkg-price { font-size: .88rem; }
  .pkg-foot .btn { width: 100%; }
  .pkg-foot .arrow-link { font-size: .85rem; }

  .style-tile-body { padding: 8px 10px; }
  .style-tile h3 { font-size: .98rem; }
  .style-tile p { font-size: .8rem; }
  .tile-arrow { right: 8px; bottom: 8px; }
  .dest-name { padding: 7px 8px 2px; font-size: .9rem; }
  .dest-blurb { font-size: .78rem; padding: 0 8px 8px; }
  .g-item figcaption { padding: 6px 8px; font-size: .78rem; }
  .why-item { padding: 12px; }
  .why-item::before { width: 30px; height: 30px; font-size: .85rem; margin-bottom: 8px; }
  .why-item h3 { font-size: .95rem; }
  .why-item p { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
