/* ==========================================================================
   Jaynevy Tours — universal stylesheet
   One file for every page. Load the fonts in <head> first:

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@500..700&family=Inter:wght@400..700&display=swap">
   <link rel="stylesheet" href="/assets/css/site.css">

   Contents
   1. Design tokens      5. Header & navigation
   2. Base / reset       6. Components
   3. Typography         7. Footer
   4. Layout             8. Utilities, motion, print
   ========================================================================== */

/* 1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand: Kilimanjaro maroon (logo wordmark + silhouette) */
  --maroon-950: #1E0107;
  --maroon-900: #2A020A;
  --maroon-800: #440310; /* brand primary */
  --maroon-700: #5E0A1C;
  --maroon-600: #7A1A2C;
  --maroon-200: #E9CDD2;
  --maroon-100: #F6E9EB;
  /* Brand: Sunrise amber (logo sun and its tints) */
  --amber-700: #A85600; /* amber text on white (5.3:1) */
  --amber-600: #D67D00;
  --amber-500: #F99300; /* brand accent; pair with maroon text, never white */
  --amber-400: #FBAA3C;
  --amber-300: #FDC57A;
  --amber-200: #FEDDAE;
  --amber-100: #FFF1DC;
  /* Neutrals: warm "savanna" greys, tinted toward the brand */
  --ink: #1F1714; /* headings */
  --text: #4A403B; /* body copy, 10:1 on white */
  --text-muted: #736862; /* captions, meta, 5.4:1 */
  --border: #E7DED6;
  --border-strong: #CFC3B8;
  --sand-100: #FBF7F1; /* alternate section background */
  --sand-200: #F4ECE1;
  --white: #FFFFFF;
  /* Functional */
  --success: #3D6B35;
  --success-bg: #EEF4EC; /* acacia green: "included" */
  --danger: #B42318;
  --danger-bg: #FDECEA; /* "excluded", errors */
  --warning: #A85600;
  --warning-bg: #FFF1DC;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C4A;
  /* Semantic aliases: use these in components */
  --color-bg: var(--white);
  --color-bg-alt: var(--sand-100);
  --color-primary: var(--maroon-800);
  --color-primary-hover: var(--maroon-700);
  --color-accent: var(--amber-500);
  --color-accent-hover: var(--amber-400);
  --color-link: var(--maroon-800);
  --color-link-hover: var(--amber-700);
  --color-focus: var(--amber-500);
  /* Typography */
  --font-heading: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Fluid type scale (mobile → desktop), ratio ≈ 1.25 */
  --fs-xs: 0.8125rem; /* 13px  labels   */
  --fs-sm: 0.875rem; /* 14px  meta     */
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); /* 16→17 body     */
  --fs-lg: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem); /* 18→20 lead     */
  --fs-h4: clamp(1.1875rem, 1.12rem + 0.3vw, 1.3125rem); /* 19→21      */
  --fs-h3: clamp(1.375rem, 1.27rem + 0.5vw, 1.625rem); /* 22→26      */
  --fs-h2: clamp(1.75rem, 1.55rem + 1vw, 2.375rem); /* 28→38      */
  --fs-h1: clamp(2rem, 1.75rem + 1.4vw, 3rem); /* 32→48      */
  --fs-display: clamp(2.375rem, 1.85rem + 2.6vw, 3.75rem); /* 38→60 hero */
  --lh-tight: 1.2;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3rem, 2rem + 4vw, 6rem);
  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(42 2 10 / .06), 0 1px 3px rgb(42 2 10 / .08);
  --shadow: 0 4px 12px rgb(42 2 10 / .08), 0 2px 4px rgb(42 2 10 / .05);
  --shadow-lg: 0 18px 40px rgb(42 2 10 / .14), 0 4px 10px rgb(42 2 10 / .06);
  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 200ms;
}

/* 2. BASE / RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--color-link-hover);
}

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

::selection {
  background: var(--amber-200);
  color: var(--maroon-900);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  padding: var(--space-2) var(--space-4);
  background: var(--maroon-800);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-4);
  color: var(--white);
}

/* 3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
}

h3 {
  font-size: var(--fs-h3);
}

/* Small headings switch to the sans: serif loses clarity below ~20px */
h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 650;
  letter-spacing: -0.005em;
}

h5, h6 {
  font-size: var(--fs-base);
  font-family: var(--font-body);
  font-weight: 650;
  letter-spacing: 0;
}

p, ul, ol, dl, blockquote, table, figure {
  margin: 0 0 1.25em;
}

p {
  text-wrap: pretty;
}

strong, b {
  font-weight: 650;
}

small, .text-sm {
  font-size: var(--fs-sm);
}

.display {
  font-family: var(--font-heading);
  color: var(--ink);
  font-size: var(--fs-display);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-700);
}

/* Long-form content (articles, tour descriptions). Wrap editor HTML in .prose */
.prose {
  max-width: 72ch;
}

.prose--center {
  margin-inline: auto;
}

.prose > * + h2 {
  margin-top: 2em;
}

.prose > * + h3 {
  margin-top: 1.6em;
}

.prose ul, .prose ol {
  padding-left: 1.4em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose li::marker {
  color: var(--amber-600);
}

.prose img, .prose figure {
  border-radius: var(--radius);
}

.prose figcaption {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

blockquote {
  margin-inline: 0;
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--amber-500);
  background: var(--sand-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-7) 0;
}

/* 4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--maroon-900);
  color: #E6D9D3;
}

.section--dark :is(h1, h2, h3, h4) {
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

/* Content + sticky sidebar (tour detail pages) */
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
}

@media (min-width: 992px) {
  .layout-sidebar {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
  .layout-sidebar > aside {
    position: sticky;
    top: calc(var(--header-h) + var(--space-5));
  }
}

.stack > * + * {
  margin-top: var(--space-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* 5. HEADER & NAVIGATION
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}

/* Blur lives on a pseudo-element: backdrop-filter on .site-nav itself would trap the fixed mobile panel */
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(8px);
}

.site-nav.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.site-nav__logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 992px) {
  .site-nav__panel {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu li {
  position: relative;
}

.site-nav__menu a, .site-nav__group {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
}

.site-nav__menu a:hover,
.site-nav__group:hover,
.site-nav__menu a[aria-current="page"] {
  color: var(--maroon-800);
  background: var(--maroon-100);
}

.site-nav__menu .has-sub > a::after, .site-nav__group::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin-left: 2px;
  opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%231F1714' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Dropdowns */
.site-nav__sub {
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.site-nav__expand {
  display: none;
}

@media (min-width: 992px) {
  .site-nav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--dur), transform var(--dur), visibility var(--dur);
  }
  .site-nav__sub::before {
    content: "";
    position: absolute;
    inset: -10px 0 auto;
    height: 10px;
  }
  /* hover bridge */
  .site-nav__sub .site-nav__sub {
    top: -9px;
    left: calc(100% + 8px);
  }
  .site-nav__sub .site-nav__sub::before {
    inset: 0 auto 0 -10px;
    width: 10px;
    height: auto;
  }
  .site-nav__sub .has-sub > a::after, .site-nav__sub .site-nav__group::after {
    margin-left: auto;
    transform: rotate(-90deg);
  }
  .site-nav__menu li:hover > .site-nav__sub,
  .site-nav__menu li:focus-within > .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__menu > li:last-child .site-nav__sub {
    left: auto;
    right: 0;
  }
}

.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.site-nav__toggle svg {
  margin: auto;
}

@media (max-width: 991.98px) {
  .site-nav__toggle {
    display: grid;
  }
  .site-nav__panel {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: var(--space-4) var(--gutter) var(--space-7);
    background: var(--white);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 250ms var(--ease), visibility 250ms;
  }
  .site-nav.is-open .site-nav__panel {
    transform: none;
    visibility: visible;
  }
  .site-nav__menu {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav__menu li {
    border-bottom: 1px solid var(--sand-200);
  }
  .site-nav__menu a, .site-nav__group {
    padding: var(--space-3);
    font-size: 1.0625rem;
    border-radius: 0;
  }
  .site-nav__menu .has-sub > a {
    padding-right: 56px;
  }
  .site-nav__menu .has-sub > a::after {
    display: none;
  }
  .site-nav__group::after {
    margin-left: auto;
    transition: transform var(--dur);
  }
  .has-sub.is-expanded > .site-nav__group::after {
    transform: rotate(180deg);
  }
  .site-nav__expand {
    display: grid;
    place-items: center;
    position: absolute;
    top: 4px;
    right: 0;
    width: 44px;
    height: 44px;
    background: var(--sand-100);
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--ink);
  }
  .site-nav__expand svg {
    width: 18px;
    height: 18px;
    transition: transform var(--dur);
  }
  .has-sub.is-expanded > .site-nav__expand svg {
    transform: rotate(180deg);
  }
  .site-nav__sub {
    display: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 var(--space-2) var(--space-4);
  }
  .site-nav__sub li:last-child {
    border-bottom: 0;
  }
  .has-sub.is-expanded > .site-nav__sub {
    display: block;
  }
  .site-nav__sub a, .site-nav__sub .site-nav__group {
    font-size: 1rem;
    color: var(--text);
  }
  .site-nav__cta {
    margin-top: var(--space-5);
    width: 100%;
  }
}

body.nav-open {
  overflow: hidden;
}

/* 6. COMPONENTS
   ========================================================================== */
/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur), border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Primary call to action: amber with maroon text (white on amber fails contrast) */
.btn--primary {
  background: var(--amber-500);
  color: var(--maroon-900);
}

.btn--primary:hover {
  background: var(--amber-400);
  color: var(--maroon-900);
  box-shadow: 0 6px 16px rgb(249 147 0 / .35);
}

.btn--secondary {
  background: var(--maroon-800);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--maroon-700);
  color: var(--white);
}

.btn--outline {
  border-color: var(--maroon-800);
  color: var(--maroon-800);
  background: transparent;
}

.btn--outline:hover {
  background: var(--maroon-800);
  color: var(--white);
}

.btn--ghost {
  color: var(--maroon-800);
  background: transparent;
  padding-inline: var(--space-3);
}

.btn--ghost:hover {
  background: var(--maroon-100);
  color: var(--maroon-800);
}

.btn--light {
  border-color: rgb(255 255 255 / .8);
  color: var(--white);
  background: transparent;
}

.btn--light:hover {
  background: var(--white);
  color: var(--maroon-900);
}

.btn--whatsapp {
  background: var(--whatsapp-dark);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #0E7A40;
  color: var(--white);
}

.btn--sm {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
}

.btn--lg {
  min-height: 56px;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

/* --- Badges & tags ------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.5;
  border-radius: var(--radius-pill);
  background: var(--sand-200);
  color: var(--ink);
}

.badge--maroon {
  background: var(--maroon-100);
  color: var(--maroon-800);
}

.badge--amber {
  background: var(--amber-100);
  color: #7A3F00;
}

.badge--green {
  background: var(--success-bg);
  color: var(--success);
}

.badge--solid {
  background: var(--maroon-800);
  color: var(--white);
}

/* --- Tour card ------------------------------------------------------------ */
.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tour-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-200);
}

.tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.tour-card:hover .tour-card__media img {
  transform: scale(1.05);
}

.tour-card__media .badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.tour-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}

.tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.tour-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tour-card__meta svg {
  width: 16px;
  height: 16px;
  color: var(--amber-600);
}

.tour-card__title {
  font-size: 1.3125rem;
  margin-bottom: var(--space-2);
}

.tour-card__title a {
  color: inherit;
  text-decoration: none;
}

.tour-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* whole card clickable */
.tour-card {
  position: relative;
}

.tour-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* Card button: outline, fills when the card is hovered (the whole card is one link) */
.tour-card__cta {
  flex: none;
  margin-left: auto;
  border-width: 1.5px;
}

.tour-card:hover .tour-card__cta,
.tour-card:focus-within .tour-card__cta {
  background: var(--maroon-800);
  border-color: var(--maroon-800);
  color: var(--white);
}

/* --- Price ---------------------------------------------------------------- */
.price {
  line-height: 1.1;
}

.price__label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.price__amount {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--maroon-800);
  font-variant-numeric: lining-nums tabular-nums;
}

.price__unit {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* --- Rating --------------------------------------------------------------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.rating__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber-500);
}

.rating__stars svg {
  width: 16px;
  height: 16px;
}

.rating strong {
  color: var(--ink);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(460px, 72vh, 720px);
  padding-block: var(--space-9) var(--space-8);
  color: var(--white);
  background: var(--maroon-900);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(30 1 7 / .78) 0%, rgb(30 1 7 / .5) 45%, rgb(30 1 7 / .1) 80%),
    linear-gradient(180deg, rgb(30 1 7 / .1) 0%, rgb(30 1 7 / .2) 50%, rgb(30 1 7 / .7) 100%);
}

.hero h1 {
  color: var(--white);
  max-width: 22ch;
}

.hero .lead {
  color: rgb(255 255 255 / .9);
  max-width: 56ch;
}

.hero .eyebrow {
  color: var(--amber-300);
}

.hero--compact {
  min-height: clamp(320px, 45vh, 440px);
}

/* --- Trip facts strip (duration, start, group size…) ------------------------ */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  background: var(--sand-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.section--alt .facts {
  background: var(--white);
}

.facts__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.facts__item svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--amber-600);
  margin-top: 2px;
}

.facts__label {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.facts__value {
  display: block;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}

/* --- Itinerary timeline ----------------------------------------------------- */
.itinerary {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  counter-reset: day;
}

.itinerary__day {
  position: relative;
  padding: 0 0 var(--space-6) 64px;
}

.itinerary__day::before {
  counter-increment: day;
  content: counter(day);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--maroon-900);
  background: var(--amber-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--amber-100);
}

.itinerary__day::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(var(--border-strong) 0 6px, transparent 6px 12px);
}

.itinerary__day:last-child::after {
  display: none;
}

.itinerary__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-700);
}

.itinerary__title {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 650;
  margin: 0 0 var(--space-2);
}

.itinerary__title .itinerary__label {
  margin-bottom: 2px;
}

.prose .itinerary__day > h3 {
  margin-top: 0;
}

.itinerary__info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* --- Included / excluded lists --------------------------------------------- */
.check-list, .cross-list {
  list-style: none;
  padding: 0;
}

.check-list li, .cross-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--space-3);
}

.check-list li::before, .cross-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.check-list li::before {
  background-color: var(--success-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 4.8 9 10 3' fill='none' stroke='%233D6B35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cross-list li::before {
  background-color: var(--danger-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* --- Accordion (native <details>) ------------------------------------------ */
.accordion {
  border-top: 1px solid var(--border);
  margin-bottom: var(--space-6);
}

.accordion details {
  border-bottom: 1px solid var(--border);
}

.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%23440310' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform var(--dur) var(--ease), background-color var(--dur);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--amber-200);
}

.accordion summary:hover {
  color: var(--maroon-800);
}

.accordion__body {
  padding: 0 0 var(--space-5);
}

.accordion__q {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: 0;
}

.accordion__body > :last-child {
  margin-bottom: 0;
}

/* --- Tables (prices, park fees) --------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.table, .prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0;
}

.table th, .table td, .prose th, .prose td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table thead th, .prose thead th {
  background: var(--maroon-800);
  color: var(--white);
  font-weight: 650;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.table tbody tr:nth-child(even), .prose tbody tr:nth-child(even) {
  background: var(--sand-100);
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table td.num, .table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* --- Forms --------------------------------------------------------------- */
.field {
  margin-bottom: var(--space-4);
}

.field label, .label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.input, .select, .textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem; /* 16px stops iOS zoom on focus */
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur), box-shadow var(--dur);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input[type="date"] {
  padding-inline: 0.6rem;
  min-width: 0;
}

.input::placeholder, .textarea::placeholder {
  color: #9A8F89;
}

.input:hover, .select:hover, .textarea:hover {
  border-color: var(--text-muted);
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgb(249 147 0 / .2);
}

.input[aria-invalid="true"] {
  border-color: var(--danger);
}

.select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23440310' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 0.9rem center / 12px no-repeat;
}

.form-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
}

.form-row .field {
  margin-bottom: 0;
}

.form-row + .field, .form-row + .form-row {
  margin-top: var(--space-4);
}

/* Booking / enquiry card (sidebar) */
.booking-card {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.booking-card__head {
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5);
  padding: var(--space-5);
  background: var(--maroon-800);
  color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.booking-card__head .price__amount {
  color: var(--amber-300);
}

.booking-card__head .price__label, .booking-card__head .price__unit {
  color: rgb(255 255 255 / .75);
}

.booking-card__note {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

/* --- Callouts / notices ---------------------------------------------------- */
.callout {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  background: var(--amber-100);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius);
  color: var(--ink);
}

.callout svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--amber-700);
  margin-top: 2px;
}

.callout > div > :last-child {
  margin-bottom: 0;
}

.callout--info {
  background: var(--maroon-100);
  border-color: var(--maroon-200);
}

.callout--info svg {
  color: var(--maroon-800);
}

.callout--success {
  background: var(--success-bg);
  border-color: #CFE1CB;
}

.callout--success svg {
  color: var(--success);
}

/* --- Breadcrumbs --------------------------------------------------------- */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  font-size: var(--fs-sm);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--space-2);
  opacity: .5;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current] {
  opacity: .8;
}

/* --- Feature / trust items ------------------------------------------------- */
.feature {
  display: flex;
  gap: var(--space-4);
}

.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--amber-100);
  color: var(--maroon-800);
}

.feature__icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 650;
  margin-bottom: var(--space-1);
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Testimonial ---------------------------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  font-size: var(--fs-sm);
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon-800);
  color: var(--white);
  font-weight: 700;
}

/* --- CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(2rem, 1rem + 4vw, 3.5rem);
  background: var(--maroon-800);
  color: #EBDCD6;
  border-radius: var(--radius-lg);
}

.cta-band::after { /* logo sun motif */
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-500) 0 38%, rgb(249 147 0 / .45) 38% 55%, rgb(249 147 0 / .18) 55% 72%, transparent 72%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.cta-band p {
  margin: 0;
  max-width: 52ch;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

/* --- Floating WhatsApp ------------------------------------------------------ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 24px rgb(18 140 74 / .4);
  transition: transform var(--dur) var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* --- Page header (inner pages) ---------------------------------------------- */
.page-head {
  padding-block: clamp(2rem, 1.2rem + 3vw, 3.5rem) clamp(1.75rem, 1rem + 2.5vw, 3rem);
  background: var(--sand-100);
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  max-width: 24ch;
  margin-bottom: var(--space-4);
}

.page-head .lead {
  max-width: 68ch;
  margin-bottom: 0;
}

.page-head .breadcrumbs ol {
  margin-bottom: var(--space-5);
  color: var(--text-muted);
}

/* Main content area under .page-head */
.page-body {
  padding-block: clamp(2rem, 1.2rem + 3vw, 4rem) var(--section-y);
}

.prose > :first-child {
  margin-top: 0;
}

.prose > img, .prose > p > img:only-child {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.prose .table-wrap table {
  margin: 0;
}

.prose .itinerary, .prose .check-list, .prose .cross-list {
  padding-left: 0;
}

.prose .check-list li::marker, .prose .cross-list li::marker {
  content: none;
}

.prose .facts {
  margin-top: var(--space-2);
}

.prose h3 + .accordion, .prose h2 + .accordion {
  margin-top: var(--space-4);
}

/* Generic tinted panel (old "package-include" boxes that are not itinerary days) */
.panel {
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  background: var(--sand-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.panel > :last-child {
  margin-bottom: 0;
}

.panel h3 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 650;
  margin-bottom: var(--space-2);
}

/* Sidebar link list ("More packages") */
.link-card {
  margin-top: var(--space-5);
  padding: var(--space-5);
  background: var(--maroon-900);
  color: #E6D9D3;
  border-radius: var(--radius-lg);
}

.link-card h2 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: var(--space-3);
}

.link-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-card li + li {
  border-top: 1px solid rgb(255 255 255 / .1);
}

.link-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--white);
  text-decoration: none;
  font-weight: 550;
}

.link-card a:hover {
  color: var(--amber-300);
}

.link-card li > span {
  display: block;
  padding: var(--space-3) 0;
  color: rgb(255 255 255 / .75);
}

.link-card svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--amber-400);
}

/* Sidebar "Recent articles" list */
.post-list {
  margin-top: var(--space-5);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.post-list h2 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-700);
  margin-bottom: var(--space-3);
}

.post-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li + li {
  border-top: 1px solid var(--border);
}

.post-list a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.post-list a:hover {
  color: var(--maroon-800);
}

.post-list img {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Booking form extras */
.booking-card__head h2 {
  font-size: 1.375rem;
  color: var(--white);
  margin: 0;
}

.booking-card__head p {
  margin: var(--space-1) 0 0;
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / .8);
}

.booking-card .price + p {
  margin-top: var(--space-2);
}

.booking-card .g-recaptcha {
  margin: var(--space-2) 0 var(--space-4);
  min-height: 78px;
}

.hp-field {
  display: none !important;
}

.field .req {
  color: var(--danger);
}

/* --- Section head with an action on the right -------------------------------- */
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: none;
  text-align: left;
}

.section-head--split > div {
  max-width: 640px;
}

.section-head--split p {
  margin-bottom: 0;
}

.section-foot {
  margin-top: var(--space-7);
  text-align: center;
}

/* --- Photo tiles (team, vehicles…) ------------------------------------------- */
.photo-tiles {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

@media (max-width: 599.98px) {
  .photo-tiles {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }
  .photo-tiles figcaption {
    padding: var(--space-6) var(--space-3) var(--space-3);
    font-size: var(--fs-sm);
  }
}

.photo-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-200);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.photo-tile:hover img {
  transform: scale(1.05);
}

.photo-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-7) var(--space-4) var(--space-4);
  background: linear-gradient(transparent, rgb(30 1 7 / .85));
  color: var(--white);
  font-weight: 650;
  line-height: 1.3;
}

/* --- Pillars (Safari / Kilimanjaro / Zanzibar) --------------------------------- */
.pillar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pillar__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-200);
}

.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.pillar:hover .pillar__media img {
  transform: scale(1.04);
}

.pillar__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.pillar__body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pillar__body .cluster {
  margin-top: auto;
  padding-top: var(--space-2);
}

/* --- Image banner section (full-bleed photo + overlay) --------------------------- */
.banner {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y);
  color: rgb(255 255 255 / .9);
  text-align: center;
  background: var(--maroon-900);
}

.banner > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(30 1 7 / .68);
}

.banner h2 {
  color: var(--white);
  max-width: 22ch;
  margin-inline: auto;
}

.banner p {
  max-width: 60ch;
  margin-inline: auto;
}

.banner .eyebrow {
  color: var(--amber-300);
}

.banner .cluster {
  justify-content: center;
  margin-top: var(--space-5);
}

/* --- Trust strip (under the home hero) ------------------------------------- */
.trust-strip {
  background: var(--maroon-900);
  color: #D9C9C2;
  font-size: var(--fs-sm);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: var(--space-4) var(--space-6);
  list-style: none;
  margin: 0;
  padding: var(--space-5) 0;
}

.trust-strip li {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  line-height: 1.4;
}

.trust-strip svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--amber-400);
}

.trust-strip strong {
  display: block;
  color: var(--white);
}

.section-head--wide {
  max-width: 860px;
}

.section-head--wide p {
  color: var(--text);
}

.video-embed--center {
  max-width: 960px;
  margin-inline: auto;
}

.cta-band .eyebrow {
  color: var(--amber-300);
}

/* --- Team and partner logos (about page) --------------------------------------- */
.team-grid {
  margin-block: var(--space-5) var(--space-7);
}

.team-item {
  text-align: center;
}

.team-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
}

.team-item h3, .team-item h4 {
  margin: 0 0 2px;
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 650;
}

.team-item .job-title, .team-item span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
  margin-block: var(--space-5);
}

.logo-row img {
  max-height: 72px;
  width: auto;
}

.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Card grids inside article text (old "related packages" sections) */
.prose .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: var(--space-4);
  margin-block: var(--space-5) var(--space-7);
}

.prose .card-grid .tour-card__body {
  padding: var(--space-4);
}

.prose .card-grid .tour-card__title {
  font-size: 1.0625rem;
  margin-top: 0;
}

.prose .card-grid .tour-card__excerpt {
  font-size: var(--fs-sm);
}

/* Package listings (tables of trips rendered as cards) */
.prose .listing-grid {
  margin-block: var(--space-4) var(--space-3);
}

.prose .listing-grid .tour-card__meta {
  margin-bottom: var(--space-1);
}

.listing-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.price__request, .price__text {
  display: block;
  font-weight: 650;
  color: var(--maroon-800);
  line-height: 1.3;
}

.price__request {
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.price__text {
  font-size: var(--fs-sm);
}

.prose .listing-grid .price__amount {
  font-size: 1.375rem;
}

.prose .listing-grid .tour-card__footer {
  flex-wrap: wrap;
}

/* --- Old theme blocks that survive inside content ------------------------------- */
.prose .social-icon ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}

.prose .social-icon li {
  margin: 0;
}

.prose .social-icon a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon-100);
  color: var(--maroon-800);
}

.prose .social-icon a:hover {
  background: var(--amber-500);
  color: var(--maroon-900);
}

.prose .social-icon svg {
  width: 20px;
  height: 20px;
}

.prose svg:not(.facts__item svg) {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

.icon-grid {
  margin-block: var(--space-6);
}

.icon-box {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--sand-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.icon-box .box-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--amber-100);
  color: var(--maroon-800);
}

.icon-box .box-icon svg {
  width: 24px;
  height: 24px;
}

.icon-box h4 {
  margin: 0 0 var(--space-1);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.icon-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-box li {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

/* --- Video embed ---------------------------------------------------------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--maroon-900);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Two-column text + media */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 992px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Phone layout -------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .site-nav__cta {
    min-height: 48px;
    font-size: 1rem;
  }
  .btn--sm {
    min-height: 44px;
  }
  .site-foot li a {
    display: inline-block;
    padding-block: 6px;
  }
  .site-foot li {
    margin-bottom: 0;
  }
}

/* Compact tour cards on phones: photo left, text right, so lists don't run for pages */
@media (max-width: 599.98px) {
  .tour-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .tour-card:hover {
    transform: none;
  }
  .tour-card__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 128px;
  }
  .tour-card__media .badge {
    display: none;
  }
  .tour-card__body, .prose .card-grid .tour-card__body {
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  }
  .tour-card__meta {
    font-size: var(--fs-xs);
    gap: 2px var(--space-3);
    margin-bottom: 2px;
  }
  .tour-card__title, .prose .card-grid .tour-card__title {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: var(--space-1);
  }
  .tour-card__excerpt, .prose .card-grid .tour-card__excerpt {
    font-size: var(--fs-sm);
    line-height: 1.5;
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tour-card__footer {
    padding-top: var(--space-2);
  }
  /* card button stays visible on phones, compact (the whole card is the tap target) */
  .tour-card__footer {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .tour-card__cta,
  .tour-card__footer .btn {
    min-height: 34px;
    padding: 0.35rem 0.85rem;
    font-size: var(--fs-xs);
  }
  .tour-card__cta svg {
    width: 14px;
    height: 14px;
  }
  .price__amount, .prose .listing-grid .price__amount {
    font-size: 1.125rem;
  }
  .price__label {
    font-size: 0.6875rem;
  }
  .grid, .prose .card-grid {
    gap: var(--space-3);
  }
}

/* Booking bar on phones (added by site.js on pages with a booking form) */
.mobile-cta {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgb(42 2 10 / .12);
    transition: transform 250ms var(--ease);
  }
  .mobile-cta.is-hidden {
    transform: translateY(110%);
  }
  .mobile-cta__price {
    flex: 1;
    min-width: 0;
    line-height: 1.15;
    font-size: var(--fs-xs);
    color: var(--text-muted);
  }
  .mobile-cta__price strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--maroon-800);
  }
  .mobile-cta .btn {
    min-height: 48px;
    padding-inline: 1.25rem;
  }
  .mobile-cta__wa {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
  }
  .mobile-cta__wa svg {
    width: 24px;
    height: 24px;
  }
  body.has-mobile-cta {
    padding-bottom: 76px;
  }
  body.has-mobile-cta .whatsapp-float {
    display: none;
  }
}

/* --- Thank-you page (success.php) --- */
.thanks {
  background: var(--sand-100);
}

.thanks__panel {
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.thanks__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  box-shadow: 0 0 0 8px rgb(61 107 53 / .08);
}

.thanks__icon svg {
  width: 36px;
  height: 36px;
}

.thanks__panel h1 {
  max-width: 20ch;
  margin-inline: auto;
}

.thanks__panel .lead {
  max-width: 52ch;
  margin-inline: auto;
}

.thanks__actions {
  justify-content: center;
  margin-top: var(--space-6);
}

/* the page has its own WhatsApp button */
body:has(.thanks) .whatsapp-float {
  display: none;
}

/* 7. FOOTER
   ========================================================================== */
.site-foot {
  background: var(--maroon-950);
  color: #CDBDB6;
  font-size: 0.9375rem;
}

.site-foot a {
  color: #E6D9D3;
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--amber-300);
}

.site-foot__logo {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
}

.site-foot__logo img {
  height: 40px;
  width: auto;
}

.site-foot__top {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.site-foot h3, .site-foot__title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: var(--space-4);
}

.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-foot li {
  margin-bottom: var(--space-2);
}

.site-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  padding-block: var(--space-5);
  border-top: 1px solid rgb(255 255 255 / .1);
  font-size: var(--fs-sm);
}

.site-foot__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.site-foot__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .2);
}

.site-foot__social a:hover {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: var(--maroon-900);
}

.site-foot__social svg {
  width: 18px;
  height: 18px;
}

.site-foot__about p {
  max-width: 42ch;
}

.site-foot__contact li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.site-foot__contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--amber-400);
}

.site-foot__pay {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 8px 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
}

.site-foot__pay img {
  height: 30px;
  width: auto;
}

.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* 8. UTILITIES, MOTION, PRINT
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

/* Scroll-reveal (added by site.js; content is visible without JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-nav, .site-foot, .whatsapp-float, .booking-card, .cta-band, .mobile-cta {
    display: none !important;
  }
  body {
    color: #000;
    font-size: 11pt;
  }
  a {
    color: #000;
  }
}
