/* ==========================================================================
   Capable Africa Tours: site stylesheet
   --------------------------------------------------------------------------
   One stylesheet for the whole website. Sections:

    1. Fonts
    2. Design tokens (colours, type, spacing)
    3. Reset & base
    4. Typography
    5. Layout helpers
    6. Buttons & links
    7. Top bar
    8. Header & navigation
    9. Hero
   10. Section headings
   11. Category tiles
   12. Benefits / features
   13. Tour cards
   14. Month planner
   15. Destination tiles
   16. About / split block
   17. Testimonials
   18. FAQ
   19. Call-to-action band
   20. Footer
   21. Floating buttons (WhatsApp, back to top)
   22. Lightbox
   23. Utilities
   24. Accessibility & motion

   Tour & content pages
   25. Breadcrumb
   26. Tour hero & photo mosaic
   27. In-page navigation
   28. Two-column tour layout & booking card
   29. Quick facts, answer box, facts table
   30. Day-by-day itinerary
   31. Gallery & map
   32. Price tiers, included / excluded
   33. Prose (long-form text)
   34. Inquiry form
   35. Editorial note
   36. Mobile booking bar
   37. Migrated content (notes, card grids, tables, compact days)
   38. Category pages (photo banner, packages, guide sidebar)
   39. Guides and articles (article header, byline, feature photo)
   ========================================================================== */


/* ==========================================================================
   1. Fonts (self-hosted, see assets/vendor/README.md)
   ========================================================================== */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../vendor/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../vendor/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ==========================================================================
   2. Design tokens
   --------------------------------------------------------------------------
   Brand colours come from the logo:
     forest  #1D2F1F  (elephants, Africa map, wordmark)
     sand    #E3C9A8  (badge background)
     ochre   #B5712B  (sun, "TOURS")
   Change a colour here and it updates everywhere.
   ========================================================================== */

:root {
  /* Forest green (primary) */
  --forest-950: #131f15;
  --forest-900: #1d2f1f;
  --forest-800: #253b28;
  --forest-700: #2f4a33;
  --forest-600: #3d5f42;
  --forest-100: #e7ede6;
  --forest-50:  #f2f6f1;

  /* Sand (secondary) */
  --sand-400: #d6b88f;
  --sand-300: #e3c9a8;
  --sand-200: #eedcc4;
  --sand-100: #f6ede1;
  --cream:    #fbf8f3;

  /* Ochre (accent: buttons, highlights) */
  --ochre-500: #b5712b;   /* logo ochre: icons, borders, large text */
  --ochre-600: #9a5e22;   /* buttons with white text (WCAG AA) */
  --ochre-700: #85501c;   /* hover, small text on light backgrounds */

  /* Supporting accents */
  --ocean-600: #2f6f73;   /* Zanzibar / Indian Ocean */
  --sun-400:   #e0a43b;   /* rating stars */

  /* Neutrals */
  --ink:       #1c211d;   /* headings */
  --text:      #39413a;   /* body copy */
  --muted:     #5f685f;   /* secondary copy */
  --line:      #e4ded3;   /* borders on cream */
  --white:     #ffffff;

  /* Semantic aliases */
  --color-bg:        var(--cream);
  --color-surface:   var(--white);
  --color-primary:   var(--forest-900);
  --color-accent:    var(--ochre-600);
  --color-link:      var(--forest-700);
  --color-link-hover: var(--ochre-700);

  /* Typography */
  --font-heading: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs:   0.8125rem;                                /* 13px */
  --fs-sm:   0.9375rem;                                /* 15px */
  --fs-base: 1.0625rem;                                /* 17px */
  --fs-lg:   clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-h4:   clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-h3:   clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-h2:   clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);
  --fs-h1:   clamp(2.125rem, 1.6rem + 2.4vw, 3.75rem);

  /* Spacing scale */
  --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(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* Shape & depth */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(29, 47, 31, 0.06), 0 2px 8px rgba(29, 47, 31, 0.05);
  --shadow:    0 6px 24px rgba(29, 47, 31, 0.09);
  --shadow-lg: 0 18px 48px rgba(29, 47, 31, 0.16);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* ==========================================================================
   3. Reset & base
   ========================================================================== */

*,
*::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: 1.7;
  color: var(--text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

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

button {
  cursor: pointer;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

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


/* ==========================================================================
   4. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

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

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

strong {
  font-weight: 600;
  color: var(--ink);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-700);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}


/* ==========================================================================
   5. Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--sand   { background: var(--sand-100); }
.section--white  { background: var(--white); }
.section--forest { background: var(--forest-900); color: var(--forest-100); }

.section--forest h2,
.section--forest h3 {
  color: var(--white);
}

.section--forest .eyebrow {
  color: var(--sand-300);
}

.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-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  stroke-width: 2;
}


/* ==========================================================================
   6. Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ochre-600);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(154, 94, 34, 0.28);
}

.btn--primary:hover {
  background: var(--ochre-700);
  color: var(--white);
  transform: translateY(-1px);
}

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

.btn--dark:hover {
  background: var(--forest-700);
  color: var(--white);
}

.btn--outline {
  border-color: var(--forest-900);
  color: var(--forest-900);
  background: transparent;
}

.btn--outline:hover {
  background: var(--forest-900);
  color: var(--white);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

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

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--forest-900);
  text-decoration: none;
}

.link-arrow .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--ochre-500);
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--ochre-700);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}


/* ==========================================================================
   7. Top bar
   ========================================================================== */

.topbar {
  background: var(--forest-950);
  color: var(--forest-100);
  font-size: var(--fs-xs);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 40px;
}

.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.topbar a,
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--sand-300);
}

.topbar .icon {
  width: 15px;
  height: 15px;
  color: var(--sand-300);
}

@media (max-width: 760px) {
  .topbar__hide-sm {
    display: none !important;
  }
}


/* ==========================================================================
   8. Header & navigation
   --------------------------------------------------------------------------
   One <nav> for all screen sizes. On desktop it is a horizontal menu with
   dropdowns; below 1080px it becomes a slide-in drawer.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

/* Frosted background lives on a pseudo-element: a backdrop-filter on the
   header itself would trap the fixed-position mobile drawer inside it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--forest-900);
  flex-shrink: 0;
}

.brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-600);
}

.site-nav {
  margin-left: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.8rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-item:focus-within > .nav-toggle {
  color: var(--ochre-700);
  background: var(--sand-100);
}

.nav-link[aria-current="page"] {
  color: var(--ochre-700);
}

.nav-toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

/* Invisible bridge so the menu doesn't close while moving the mouse to it */
.dropdown::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text);
  text-decoration: none;
}

.dropdown a:hover {
  background: var(--sand-100);
  color: var(--ochre-700);
}

.dropdown__all {
  margin-top: var(--space-1);
  border-top: 1px solid var(--line);
  padding-top: var(--space-1);
}

.dropdown__all a {
  font-weight: 600;
  color: var(--forest-900);
}

@media (min-width: 1081px) {
  .nav-item:hover > .dropdown,
  .nav-toggle[aria-expanded="true"] + .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.header-cta {
  flex-shrink: 0;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--forest-900);
}

.menu-btn .icon {
  width: 24px;
  height: 24px;
}

.nav-drawer-head,
.nav-drawer-foot {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(19, 31, 21, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

/* ---- Drawer (tablet & mobile) ---- */
@media (max-width: 1080px) {
  .menu-btn {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    display: flex;
    flex-direction: column;
    width: min(380px, 88vw);
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer-head .brand__logo {
    width: 44px;
    height: 44px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
    padding: var(--space-3) var(--space-4);
    overflow-y: auto;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-link,
  .nav-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0.5rem;
    font-size: 1rem;
  }

  .nav-link:hover,
  .nav-toggle:hover,
  .nav-item:focus-within > .nav-toggle {
    background: none;
  }

  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 var(--space-3) var(--space-3);
    border: 0;
    box-shadow: none;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-toggle[aria-expanded="true"] + .dropdown {
    display: block;
  }

  .nav-drawer-foot {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-5);
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  .brand__text {
    display: none;
  }
}


/* ==========================================================================
   9. Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 820px);
  /* Extra bottom space: the category cards overlap the hero by --space-7 */
  padding-block: clamp(6rem, 12vh, 9rem) calc(clamp(2rem, 6vh, 3.5rem) + var(--space-7));
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(19, 31, 21, 0.78) 0%, rgba(19, 31, 21, 0.4) 50%, rgba(19, 31, 21, 0) 100%),
    linear-gradient(0deg, rgba(19, 31, 21, 0.6) 0%, rgba(19, 31, 21, 0) 40%);
}

.hero__content {
  max-width: 760px;
}

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

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.hero h1 em {
  font-style: normal;
  color: var(--sand-300);
}

.hero__lead {
  max-width: 620px;
  margin-bottom: var(--space-6);
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin: var(--space-7) 0 0;
  padding: var(--space-5) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__trust .icon {
  color: var(--sand-300);
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(19, 31, 21, 0.92) 0%, rgba(19, 31, 21, 0.6) 60%, rgba(19, 31, 21, 0.35) 100%);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}


/* ==========================================================================
   10. Section headings
   ========================================================================== */

.section-head {
  display: grid;
  gap: var(--space-4) var(--space-7);
  margin-bottom: var(--space-7);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head--center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.section-head__intro {
  color: var(--muted);
}

.section--forest .section-head__intro {
  color: var(--forest-100);
}


/* ==========================================================================
   11. Category tiles (quick links under the hero)
   ========================================================================== */

.categories {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--space-7) * -1);
}

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

.category-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-300);
  color: var(--ink);
}

.category-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sand-100);
  color: var(--ochre-600);
  flex-shrink: 0;
}

.category-card__icon .icon {
  width: 26px;
  height: 26px;
}

.category-card__title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

.category-card__meta {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
}


/* ==========================================================================
   12. Benefits / features
   ========================================================================== */

.benefit {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.benefit:hover {
  border-color: var(--sand-300);
  box-shadow: var(--shadow);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--sand-300);
}

.benefit__icon .icon {
  width: 26px;
  height: 26px;
}

.benefit h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-2);
}

.benefit p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

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

.intro-split {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 960px) {
  .intro-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}


/* ==========================================================================
   13. Tour cards
   ========================================================================== */

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tour-card:hover {
  transform: translateY(-6px);
  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 0.6s var(--ease);
}

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

.tour-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--forest-900);
}

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

.tour-card__title {
  margin-bottom: var(--space-3);
  font-size: var(--fs-h4);
  line-height: 1.3;
}

/* Whole card clickable via the title link */
.tour-card__title a {
  color: inherit;
  text-decoration: none;
}

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

.tour-card__title a:hover {
  color: var(--ochre-700);
}

.tour-card__text {
  margin-bottom: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.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(--line);
}

.tour-card__price {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.3;
}

.tour-card__price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-900);
}

.tour-card__cta {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   14. Month planner
   ========================================================================== */

.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: var(--space-3);
}

.month-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  border: 1px solid rgba(227, 201, 168, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.month-card:hover {
  background: var(--sand-300);
  border-color: var(--sand-300);
  color: var(--forest-900);
  transform: translateY(-3px);
}

.month-card__num {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sand-300);
}

.month-card:hover .month-card__num {
  color: var(--ochre-700);
}

.month-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.month-card__season {
  font-size: var(--fs-xs);
  color: rgba(231, 237, 230, 0.75);
}

.month-card:hover .month-card__season {
  color: var(--forest-800);
}


/* ==========================================================================
   15. Destination tiles
   ========================================================================== */

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--space-4);
}

@media (min-width: 1000px) {
  .destination-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
  }

  .destination-card--wide {
    grid-column: span 2;
  }
}

.destination-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
}

.destination-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(19, 31, 21, 0.94) 0%, rgba(19, 31, 21, 0.7) 40%, rgba(19, 31, 21, 0.1) 80%, rgba(19, 31, 21, 0) 100%);
}

.destination-card:hover img {
  transform: scale(1.06);
}

.destination-card h3 {
  margin-bottom: var(--space-1);
  color: var(--white);
  font-size: var(--fs-h4);
}

.destination-card p {
  max-width: 420px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
}

.destination-card:hover {
  color: var(--white);
}

.destination-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-300);
}


/* ==========================================================================
   16. About / split block
   ========================================================================== */

.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

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

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split__badge {
  position: absolute;
  right: clamp(-1rem, -2vw, 0rem);
  bottom: -1.5rem;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 260px;
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.split__badge img {
  width: 54px;
  height: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.check-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: var(--space-3);
}

.check-list .icon {
  margin-top: 0.3em;
  color: var(--ochre-500);
}


/* ==========================================================================
   17. Testimonials
   ========================================================================== */

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--sun-400);
}

.testimonial__stars .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 var(--space-5);
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--ink);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand-200);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--forest-900);
}


/* ==========================================================================
   18. FAQ (native <details>, works without JavaScript)
   ========================================================================== */

.faq {
  display: grid;
  gap: var(--space-3);
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq__item[open] {
  border-color: var(--sand-400);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--ochre-600);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary .icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--muted);
}


/* ==========================================================================
   19. Call-to-action band
   ========================================================================== */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--forest-100);
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 113, 43, 0.45), rgba(181, 113, 43, 0) 70%);
}

.cta-band__inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

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

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

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}


/* ==========================================================================
   20. Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-950);
  color: rgba(231, 237, 230, 0.8);
  font-size: var(--fs-sm);
}

.site-footer a {
  color: rgba(231, 237, 230, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sand-300);
}

.footer-main {
  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));
}

@media (min-width: 1000px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand .brand {
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer-brand .brand__tag {
  color: var(--sand-300);
}

.footer-brand p {
  max-width: 340px;
}

.footer-title {
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-300);
}

.footer-links {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: var(--space-3);
}

.footer-contact .icon {
  margin-top: 0.25em;
  width: 17px;
  height: 17px;
  color: var(--sand-300);
}

.footer-pay {
  display: inline-block;
  margin-bottom: var(--space-5);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.footer-pay img {
  width: 110px;
  height: 36px;
  object-fit: contain;
}

.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-partner img {
  height: 36px;
  width: auto;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--white);
}

.social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(231, 237, 230, 0.2);
  border-radius: 50%;
}

.social a:hover {
  background: var(--sand-300);
  border-color: var(--sand-300);
  color: var(--forest-900);
}

.social .icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(231, 237, 230, 0.12);
  font-size: var(--fs-xs);
}

.footer-bottom p {
  margin: 0;
}

.footer-credit a {
  color: var(--sand-300);
  font-weight: 600;
}


/* ==========================================================================
   21. Floating buttons
   ========================================================================== */

.float-whatsapp,
.float-top {
  position: fixed;
  right: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease), opacity 0.25s, visibility 0.25s;
}

.float-whatsapp {
  bottom: 20px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
}

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

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

.float-top {
  bottom: 90px;
  width: 46px;
  height: 46px;
  background: var(--forest-900);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
}

.float-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.float-top:hover {
  background: var(--ochre-600);
}


/* ==========================================================================
   22. Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  background: rgba(10, 16, 11, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 88vh;
  width: auto;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}


/* ==========================================================================
   23. Utilities
   ========================================================================== */

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--forest-900);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


/* ==========================================================================
   24. Accessibility & motion
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .float-whatsapp,
  .float-top,
  .cta-band {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}


/* ==========================================================================
   25. Breadcrumb
   ========================================================================== */

.breadcrumb {
  padding-block: var(--space-4);
  font-size: var(--fs-xs);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--sand-400);
}

.breadcrumb a {
  color: var(--forest-700);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ochre-700);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}


/* ==========================================================================
   26. Tour hero & photo mosaic
   ========================================================================== */

.tour-hero {
  padding-bottom: var(--space-7);
}

.tour-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 1000px) {
  .tour-hero__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.tour-hero h1 {
  max-width: 900px;
  margin-bottom: var(--space-4);
  font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
}

.tour-hero__subtitle {
  max-width: 760px;
  margin-bottom: var(--space-5);
  font-size: var(--fs-lg);
  color: var(--muted);
}

.tour-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink);
}

.chip .icon {
  width: 15px;
  height: 15px;
  color: var(--ochre-500);
}

.mosaic {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

.mosaic figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-200);
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.mosaic figure:not(:first-child) {
  display: none;
}

@media (min-width: 760px) {
  .mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
  }

  .mosaic figure:first-child {
    grid-row: span 2;
  }

  .mosaic figure:not(:first-child) {
    display: block;
  }

  .mosaic figure:nth-child(4) {
    grid-column: span 2;
  }

  .mosaic img {
    aspect-ratio: auto;
  }
}

@media (min-width: 1100px) {
  .mosaic {
    grid-template-rows: 250px 250px;
  }
}

.mosaic__count {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--forest-900);
  text-decoration: none;
}


/* ==========================================================================
   27. In-page navigation (sticky)
   ========================================================================== */

.page-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.page-nav ul {
  display: flex;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-nav ul::-webkit-scrollbar {
  display: none;
}

.page-nav a {
  display: block;
  padding: 0.95rem 0.9rem;
  border-bottom: 2px solid transparent;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.page-nav a:hover {
  color: var(--forest-900);
}

.page-nav a.is-active {
  color: var(--forest-900);
  border-bottom-color: var(--ochre-500);
}


/* ==========================================================================
   28. Two-column tour layout & booking card
   ========================================================================== */

.tour-layout {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-7) var(--section-y);
}

.tour-layout > * {
  min-width: 0; /* let wide tables scroll inside .table-wrap instead of widening the page */
}

@media (min-width: 1080px) {
  .tour-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--space-8);
    align-items: start;
  }
}

.tour-main > section {
  padding-block: var(--space-7);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.tour-main > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.tour-main h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
}

.tour-aside {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 1080px) {
  .tour-aside {
    position: sticky;
    top: calc(var(--header-h) + 72px);
  }
}

.booking-card {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.booking-card__label {
  margin-bottom: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-card__price {
  margin-bottom: var(--space-1);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--forest-900);
}

.booking-card__price small {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
}

.booking-card__note {
  margin-bottom: var(--space-5);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.booking-card__facts {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  padding: var(--space-4) 0;
  border-block: 1px solid var(--line);
  list-style: none;
  font-size: var(--fs-sm);
}

.booking-card__facts li {
  display: flex;
  gap: var(--space-3);
}

.booking-card__facts .icon {
  margin-top: 0.2em;
  width: 18px;
  height: 18px;
  color: var(--ochre-500);
}

.booking-card__actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.booking-card__actions .btn {
  width: 100%;
}

.help-card {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--forest-100);
  font-size: var(--fs-sm);
}

.help-card strong {
  display: block;
  color: var(--white);
}

.help-card a {
  color: var(--sand-300);
  font-weight: 600;
}

.help-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(227, 201, 168, 0.15);
  color: var(--sand-300);
  flex-shrink: 0;
}


/* ==========================================================================
   29. Quick facts, answer box, facts table
   ========================================================================== */

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sand-100);
  color: var(--ochre-600);
  flex-shrink: 0;
}

.fact__icon .icon {
  width: 20px;
  height: 20px;
}

.fact__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact__value {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink);
}

.answer-box {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  border-left: 4px solid var(--ochre-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--sand-100);
  color: var(--ink);
}

.answer-box .icon {
  margin-top: 0.2em;
  color: var(--ochre-600);
}

.facts-table {
  width: 100%;
  margin-bottom: var(--space-5);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-sm);
}

.facts-table th,
.facts-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
  border-bottom: 0;
}

.facts-table th {
  width: 32%;
  background: var(--forest-50);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--forest-900);
}

@media (max-width: 560px) {
  .facts-table th,
  .facts-table td {
    display: block;
    width: 100%;
  }

  .facts-table th {
    border-bottom: 0;
    padding-bottom: var(--space-1);
  }
}


/* ==========================================================================
   30. Day-by-day itinerary (timeline)
   ========================================================================== */

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: linear-gradient(var(--sand-400), var(--sand-200));
}

.day {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--space-4);
}

.day__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--sand-300);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--cream);
}

.day__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.day__card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  list-style: none;
  cursor: pointer;
}

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

.day__card summary h3 {
  margin: 0;
  font-size: var(--fs-h4);
}

.day__card summary .icon {
  color: var(--ochre-600);
  transition: transform 0.25s var(--ease);
}

.day__card[open] summary .icon {
  transform: rotate(180deg);
}

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

.day-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: var(--fs-sm);
}

.day-meta div {
  display: flex;
  gap: var(--space-2);
}

.day-meta .icon {
  margin-top: 0.25em;
  width: 16px;
  height: 16px;
  color: var(--ochre-500);
}

.day-meta dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-meta dd {
  margin: 0;
  line-height: 1.45;
  color: var(--ink);
}

/* Phones: smaller markers so the day text gets the width */
@media (max-width: 600px) {
  .timeline::before {
    left: 15px;
  }

  .day {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--space-3);
  }

  .day__marker {
    width: 32px;
    height: 32px;
    margin-top: var(--space-3);
    font-size: var(--fs-xs);
    box-shadow: 0 0 0 4px var(--cream);
  }

  .day__card summary {
    padding: var(--space-4);
  }

  .day__body {
    padding: 0 var(--space-4) var(--space-4);
  }

  .day-meta {
    padding: var(--space-3);
  }
}

.timeline-toggle {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-2);
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--forest-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--ochre-700);
}


/* ==========================================================================
   31. Gallery & map
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--space-3);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.map-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--forest-50);
}

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


/* ==========================================================================
   32. Price tiers, included / excluded
   ========================================================================== */

.price-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-3);
  margin: var(--space-5) 0;
}

.price-tier {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-tier--featured {
  border-color: var(--ochre-500);
  box-shadow: 0 0 0 1px var(--ochre-500);
}

.price-tier__name {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ochre-700);
}

.price-tier__price {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-900);
}

.price-tier p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.incl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.incl-card {
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.incl-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-h4);
}

.incl-card ul {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.incl-card li {
  display: flex;
  gap: var(--space-3);
}

.incl-card li .icon {
  margin-top: 0.25em;
  width: 17px;
  height: 17px;
}

.incl-card--yes .icon { color: var(--forest-600); }
.incl-card--no  .icon { color: #a4452c; }


/* ==========================================================================
   33. Prose (long-form text inside tour and guide pages)
   ========================================================================== */

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

.prose h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

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

.prose li::marker {
  color: var(--ochre-500);
}

.prose--checks ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.prose--checks li {
  position: relative;
  margin: 0 !important;
  padding: var(--space-4) var(--space-4) var(--space-4) 3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}

.prose--checks li::before {
  content: "";
  position: absolute;
  left: var(--space-4);
  top: 1.15rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a5e22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}


/* ==========================================================================
   34. Inquiry form
   ========================================================================== */

.inquiry {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-5);
}

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

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: var(--fs-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ochre-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(181, 113, 43, 0.18);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.form-status {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--forest-700);
}

.form-status:empty {
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  flex-basis: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm, 8px);
}

.form-status.is-success {
  background: var(--forest-50);
  border-left: 4px solid var(--forest-600);
}

.form-status.is-error {
  background: #fdf1ec;
  border-left: 4px solid #b3412b;
  color: #8a2e1c;
}

/* Spam trap added by site.js: kept off-screen, invisible to people. */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry form {
  position: relative;
}

[aria-busy="true"] {
  cursor: progress;
  opacity: .75;
}

.form-note {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-xs);
  color: var(--muted);
}


/* ==========================================================================
   35. Editorial note (E-E-A-T: who wrote / reviewed the page)
   ========================================================================== */

.editorial-note {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px dashed var(--sand-400);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.editorial-note img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ==========================================================================
   36. Mobile booking bar
   37. Migrated content (notes, card grids, tables, compact days)
   38. Category pages (photo banner, packages, guide sidebar)
   39. Guides and articles (article header, byline, feature photo)
   ========================================================================== */

.book-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--gutter);
  padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(29, 47, 31, 0.1);
}

.book-bar__price {
  font-size: var(--fs-xs);
  line-height: 1.3;
  color: var(--muted);
}

.book-bar__price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--forest-900);
}

@media (max-width: 1079px) {
  .has-book-bar .book-bar {
    display: flex;
  }

  .has-book-bar .float-whatsapp {
    bottom: 88px;
  }

  .has-book-bar .float-top {
    bottom: 158px;
  }

  .has-book-bar .site-footer {
    padding-bottom: 76px;
  }
}


/* ==========================================================================
   37. Migrated content
   Components that tools/migrate_tours.py maps the old page widgets onto.
   ========================================================================== */

/* Lists that carry their own layout should not get prose indents */
.prose ul[role="list"],
.prose ol[role="list"] {
  padding-left: 0;
}

.prose ul[role="list"] li::marker {
  content: none;
}

/* Notes and callouts (expert notes, freshness, editorial review) */
.note {
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--forest-700, #2c4a2f);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--forest-50);
  color: var(--ink);
}

.note > * + * {
  margin-top: var(--space-3);
}

.note h2,
.note h3 {
  font-size: var(--fs-h4);
  margin: 0;
}

.note--editorial {
  border-left-color: var(--ochre-500);
  background: var(--sand-100);
  font-size: var(--fs-sm);
}

/* The old answer boxes have no icon: keep text full width */
.answer-box > p:only-child,
.answer-box > p:first-child:last-child {
  margin: 0;
}

.answer-box:not(:has(> .icon)) {
  display: block;
}

.answer-box > * + * {
  margin-top: var(--space-3);
}

/* Card grids (route options, destinations, accommodation, decision cards) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-4);
}

.info-card {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card > * + * {
  margin-top: var(--space-3);
}

.info-card h3,
.info-card h4 {
  margin-top: 0;
  font-size: var(--fs-h4);
}

.info-card img {
  width: calc(100% + 2 * var(--space-5));
  max-width: none;
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.price-tier h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-base, 1rem);
  color: var(--ochre-700);
}

.price-tier ul {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}

.table-wrap .facts-table {
  margin-bottom: 0;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-sm);
}

.data-table th,
.data-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table thead th {
  background: var(--forest-900);
  color: var(--white);
  font-weight: 600;
}

.data-table tbody th {
  background: var(--sand-100);
  font-weight: 600;
}

/* Lists */
.list-cols {
  columns: 2 260px;
  column-gap: var(--space-7);
}

.list-cols li {
  break-inside: avoid;
}

.list-ticks {
  list-style: none;
  padding-left: 0 !important;
}

.list-ticks li {
  position: relative;
  padding-left: 1.75rem;
}

.list-ticks li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--forest-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Rows of buttons or links */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Images that sat side by side inside a day */
.image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--space-3);
}

.image-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

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

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

/* Hero with only one or two photos */
.mosaic--single {
  grid-template-columns: 1fr !important;
  grid-template-rows: none !important;
}

.mosaic--single img {
  aspect-ratio: 21 / 9 !important;
  max-height: 460px;
}

@media (max-width: 759px) {
  .mosaic--single img {
    aspect-ratio: 16 / 10 !important;
  }
}

/* Short day lists ("Day 1: ...") shown open, without a toggle */
.day__card--static {
  padding: var(--space-4) var(--space-5);
}

.day__card--static h3 {
  margin: 0;
  font-size: var(--fs-h4);
}

.day__card--static .day__body {
  padding: var(--space-2) 0 0;
}

.timeline--compact .day {
  align-items: center;
}

.day--note {
  grid-template-columns: minmax(0, 1fr);
  padding-left: calc(48px + var(--space-4));
}

/* Price shown as "On request" */
.booking-card__price--quote {
  font-size: 1.75rem;
}

/* Lists laid out as grids (timeline, facts, check lists) use gap, not margins */
.prose [role="list"] > li + li {
  margin-top: 0;
}

/* Long button labels wrap on small screens instead of overflowing */
@media (max-width: 600px) {
  .tour-main .btn,
  .tour-hero__actions .btn,
  .section-footer .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Heroes that carry more than one intro paragraph */
.tour-hero__subtitle + .tour-hero__subtitle {
  margin-top: var(--space-3);
}


/* ==========================================================================
   38. Category pages
   Photo banner, package grid and the guide sidebar ("Plan your trip" +
   "On this page"). Built by tools/migrate_tours.py --template category.
   ========================================================================== */

.cat-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(68vh, 600px);
  padding-block: var(--space-8, 4rem) var(--space-7);
  color: var(--white);
  overflow: hidden;
  background: var(--forest-900);
}

.cat-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cat-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(19, 31, 21, 0.86) 0%, rgba(19, 31, 21, 0.62) 45%, rgba(19, 31, 21, 0.05) 80%),
    linear-gradient(0deg, rgba(19, 31, 21, 0.55) 0%, rgba(19, 31, 21, 0) 35%);
}

.cat-hero--plain {
  min-height: 0;
}

.cat-hero__inner > * {
  max-width: 760px;
}

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

.cat-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cat-hero__lead {
  font-size: var(--fs-lg, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Long intro text, placed under the banner */
.cat-intro {
  max-width: 820px;
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--ink);
}

.cat-intro + .cat-intro {
  margin-top: var(--space-4);
}

.cat-intro:last-of-type {
  margin-bottom: var(--space-7);
}

@media (max-width: 760px) {
  .cat-hero::after {
    background: linear-gradient(0deg, rgba(19, 31, 21, 0.9) 0%, rgba(19, 31, 21, 0.72) 100%);
  }
}

.cat-hero__lead + .cat-hero__lead {
  margin-top: var(--space-3);
}

.cat-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.chips--light {
  margin-top: var(--space-5);
}

.chips--light .chip {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.chips--light .chip .icon {
  color: var(--sand-300);
}

@media (max-width: 600px) {
  .cat-hero {
    min-height: 0;
    padding-top: var(--space-7);
  }

  .cat-hero__lead {
    font-size: var(--fs-base);
  }

  .chips--light {
    display: none; /* the same facts follow right below the banner */
  }

  .cat-intro {
    font-size: var(--fs-base);
  }

  .cat-hero__actions .btn {
    flex: 1 1 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Shorter section, used for the "at a glance" facts under the banner */
.section--tight {
  padding-block: var(--space-7);
}

.section--tight h2 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-5);
}

/* Intro text under the package heading */
.packages-intro {
  max-width: 820px;
  margin-bottom: var(--space-6);
  color: var(--muted);
}

.packages-intro > * + * {
  margin-top: var(--space-3);
}

/* Sidebar: plan card and table of contents */
.plan-card__title {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.3;
  color: var(--forest-900);
}

.toc-card {
  display: none;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 1080px) {
  .toc-card {
    display: block;
  }
}

.toc-card__title {
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc-card ol {
  display: grid;
  gap: var(--space-2);
  max-height: 38vh;
  overflow-y: auto;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.toc-card a {
  color: var(--ink);
  text-decoration: none;
}

.toc-card a:hover,
.toc-card a:focus-visible {
  color: var(--ochre-700);
  text-decoration: underline;
}


/* ==========================================================================
   39. Guides and articles
   Built by tools/migrate_tours.py --template guide.
   ========================================================================== */

.article-hero {
  padding-block: var(--space-6) 0;
  background: linear-gradient(180deg, var(--sand-100) 0%, var(--cream) 100%);
}

.article-hero__inner {
  max-width: 860px;
  padding-bottom: var(--space-6);
}

.article-hero h1 {
  margin-bottom: var(--space-4);
}

.article-hero__lead {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--muted);
}

.article-hero__lead + .article-hero__lead {
  margin-top: var(--space-3);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.article-meta .icon {
  color: var(--ochre-600);
}

.article-figure {
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
  background: var(--sand-200);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 520px;
  object-fit: cover;
}

@media (max-width: 760px) {
  .article-hero__lead {
    font-size: var(--fs-base);
  }

  .article-figure img {
    aspect-ratio: 16 / 10;
  }
}

/* "On this page" for small screens (the sidebar list shows on desktop) */
.toc-mobile {
  margin-bottom: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.toc-mobile summary .icon {
  color: var(--ochre-600);
  transition: transform 0.25s var(--ease);
}

.toc-mobile[open] summary .icon {
  transform: rotate(180deg);
}

.toc-mobile ol {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0 var(--space-5) var(--space-5) 2.4rem;
  font-size: var(--fs-sm);
}

.toc-mobile a {
  color: var(--ink);
}

@media (min-width: 1080px) {
  .toc-mobile {
    display: none;
  }
}
