@font-face { font-family: "Cabinet Grotesk"; src: url(../fonts/cabinet-grotesk/CabinetGrotesk-Medium.otf) format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url(../fonts/cabinet-grotesk/CabinetGrotesk-Bold.otf) format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url(../fonts/cabinet-grotesk/CabinetGrotesk-Extrabold.otf) format("opentype"); font-weight: 800; font-style: normal; font-display: swap; }

/* Kijaniwazi Tours design system. Colours come from the logo: green #134137, sand #F5CD91. */
:root {
  --green-950: #0b2a23;
  --green-800: #134137;
  --green-700: #1d5748;
  --green-100: #dce8e2;
  --green-50: #eef4f0;
  --sand-500: #f5cd91;
  --sand-600: #e9b870;
  --sand-200: #fbe7c8;
  --sand-100: #fdf3e3;
  --paper: #fffbf4;
  --white: #fff;
  --ink: #17302a;
  --muted: #4a5c55;
  --line: #e8dfcf;
  --on-dark: #ffffff;
  --alert: #8a3b12;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(19 65 55 / .06), 0 8px 24px rgb(19 65 55 / .08);
  --font-head: "Cabinet Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--font-body); overflow-wrap: break-word; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--green-800); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.9vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem); }
h3 { font-size: clamp(1.2rem, 1.12rem + .4vw, 1.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p, ul, ol, dl, figure, address, table { margin: 0; }
p { text-wrap: pretty; }
address { font-style: normal; }
a { color: var(--green-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-950); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--sand-500); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; background: var(--green-800); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }
.container { width: min(100%, 1320px); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em; border: 2px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--font-head); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn .i { transition: transform .18s; }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { background: var(--green-800); color: var(--white); }
.btn--primary:hover { background: var(--green-950); color: var(--white); }
.btn--ghost { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--ghost:hover { background: var(--green-800); color: var(--white); }
.on-dark .btn--primary { background: var(--sand-500); color: var(--green-800); }
.on-dark .btn--primary:hover { background: var(--sand-200); color: var(--green-950); }
.on-dark .btn--ghost { border-color: var(--white); color: var(--white); }
.on-dark .btn--ghost:hover { background: var(--sand-500); color: var(--green-800); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 600 .975rem var(--font-head); color: var(--green-700); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.topbar { background: var(--green-950); color: var(--on-dark); font-size: .875rem; }
.topbar .container { padding-block: 7px; }
.topbar ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; padding: 0; list-style: none; }
.topbar li:first-child { margin-right: auto; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 0 20px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: auto; height: 56px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; color: var(--green-800); cursor: pointer; }
.nav-toggle .i { width: 28px; height: 28px; }
.nav-list { display: flex; align-items: center; gap: 2px; padding: 0; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a:not(.btn) { display: block; padding: 10px 8px; color: var(--green-800); font: 500 .9531rem var(--font-head); text-decoration: none; white-space: nowrap; }
.nav-list > li > a:not(.btn):hover, .nav-list > li > a[aria-current] { color: var(--green-950); text-decoration: underline; text-decoration-color: var(--sand-600); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.sub-toggle { display: inline-flex; align-items: center; margin-left: -8px; padding: 10px 4px; background: none; border: 0; color: var(--green-800); cursor: pointer; }
.sub-toggle .i { width: 16px; height: 16px; transition: transform .18s; }
.sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.subnav { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .sub-toggle[aria-expanded="true"] + .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 480px; }
.subnav a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); font-size: .9375rem; line-height: 1.35; text-decoration: none; }
.subnav a:hover { background: var(--sand-100); color: var(--green-800); }
.nav-cta { margin-left: 8px; min-height: 44px; font-size: .9375rem; white-space: nowrap; }

@media (max-width: 1240px) {
  :root { --header-h: 68px; }
  .topbar li:nth-child(n+4) { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .logo img { height: 44px; }
  .site-header__inner { flex-wrap: wrap; }
  .js #site-nav { display: none; }
  .js.nav-open #site-nav { display: block; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  #site-nav { width: 100%; padding-bottom: 20px; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-list > li:last-child { border-bottom: 0; }
  .nav-list > li > a:not(.btn) { flex: 1; padding: 14px 4px; font-size: 1.0625rem; }
  .sub-toggle { margin: 0; padding: 14px 12px; }
  .sub-toggle .i { width: 20px; height: 20px; }
  .subnav, .subnav--wide { display: none; position: static; width: 100%; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; transition: none; grid-template-columns: 1fr; }
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav { display: none; }
  .has-sub > .sub-toggle[aria-expanded="true"] + .subnav { display: block; }
  .subnav a { padding: 10px 12px; }
  .nav-cta { display: flex; width: 100%; margin: 16px 0 0; min-height: 48px; }
}
@media (max-width: 560px) { .topbar li:first-child { display: none; } .topbar ul { justify-content: center; } }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; list-style: none; font-size: .875rem; }
.breadcrumb li { display: inline-flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; opacity: .55; }
.breadcrumb a { color: inherit; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; background: var(--green-800); color: var(--on-dark); }
.page-hero h1 { color: var(--white); font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem); }
.page-hero .breadcrumb { margin-bottom: 20px; }
.page-hero h1 + .lead { margin-top: 14px; }
.page-hero__inner { position: relative; display: grid; gap: 32px; padding-block: clamp(36px, 6vw, 72px); }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; background: url(../brand/mark-sand.svg) center/contain no-repeat; opacity: .06; pointer-events: none; }
.page-hero--media::after { display: none; }
.page-hero--media { display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 600px); background: var(--green-950); color: var(--white); isolation: isolate; }
.page-hero--media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(11 42 35 / .92) 0%, rgb(11 42 35 / .74) 50%, rgb(11 42 35 / .25) 100%), linear-gradient(to top, rgb(11 42 35 / .6), transparent 40%); }
.page-hero--media .page-hero__inner { position: static; display: block; padding-block: clamp(40px, 7vw, 80px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media h1 { max-width: 20ch; color: var(--white); }
.page-hero--media .lead { max-width: 56ch; color: var(--white); }

/* Sections */
.section { padding-block: var(--section); }
.section--tint { background: var(--sand-100); }
.section--dark { background: var(--green-800); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.eyebrow { margin-bottom: 10px; font: 600 .8125rem/1.4 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.section--dark .eyebrow, .page-hero .eyebrow { color: var(--white); }
.hero .eyebrow { color: var(--sand-500); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--muted); }
.section-head .lead { margin-top: 14px; }
.section--dark .lead, .page-hero .lead { color: var(--on-dark); }
.subgroup + .subgroup { margin-top: 56px; }
.subgroup__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--sand-500); }
.blocks > * + * { margin-top: clamp(28px, 4vw, 44px); }
.blocks > .actions { margin-top: 28px; }

/* Intro: heading on the left, answer-first copy on the right */
.intro { display: grid; gap: 20px 56px; }
.intro__body > * + * { margin-top: 16px; }
.intro__body p:first-child { font-size: 1.125rem; }
@media (min-width: 880px) { .intro { grid-template-columns: 5fr 7fr; } }

/* Prose */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.45rem, 1.3rem + .6vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol, .split__body ul, .split__body ol { padding-left: 1.25em; }
.prose li + li, .split__body li + li { margin-top: .4em; }
.prose li::marker, .split__body li::marker { color: var(--green-700); }

/* Split: image next to text */
.split { display: grid; gap: 24px 56px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.split__body > * + * { margin-top: 14px; }
.split__body > .features { margin-top: 24px; padding-left: 0; }
.split__body > h2 + p { margin-top: 18px; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split__media { order: 2; }
}

/* Grids */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); padding: 0; list-style: none; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.split__body > .grid--2, .grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* Tour card: the heading link covers the whole card */
.card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover, .card:focus-within { border-color: var(--sand-600); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { position: relative; overflow: hidden; background: var(--green-100); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge { position: absolute; left: 12px; top: 12px; padding: 4px 12px; background: var(--sand-500); color: var(--green-800); border-radius: 999px; font: 600 .8125rem/1.4 var(--font-head); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.card__tag { font: 600 .75rem/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible::after { outline: 3px solid var(--green-700); outline-offset: -3px; border-radius: var(--radius); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; list-style: none; color: var(--muted); font-size: .9063rem; line-height: 1.45; }
.card__meta li { display: inline-flex; gap: .4em; align-items: center; }
.card__text { color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: auto; padding-top: 10px; }
.card__price { font: 700 1.0625rem/1.3 var(--font-head); color: var(--green-800); }
.card__more { display: inline-flex; align-items: center; gap: .4em; font: 600 .9375rem var(--font-head); color: var(--green-700); }
.card__more .i { transition: transform .18s; }
.card:hover .card__more .i { transform: translateX(3px); }

/* Text card */
.info { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info__media { position: relative; display: block; }
.info__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.info__body p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.info__body .link-arrow { margin-top: auto; padding-top: 6px; }
.info h3 a { color: inherit; text-decoration: none; }
.info h3 a:hover { text-decoration: underline; }

/* Destination tile */
.tile { position: relative; display: block; height: 100%; min-height: 280px; overflow: hidden; border-radius: var(--radius); background: var(--green-800); isolation: isolate; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(11 42 35 / .95) 0%, rgb(11 42 35 / .7) 42%, rgb(11 42 35 / .05) 78%); }
.tile:hover img { transform: scale(1.04); }
.tile__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 100%; min-height: 280px; padding: 22px; color: var(--white); }
.tile__body p { font-size: .9688rem; line-height: 1.5; }
.tile__label { font: 600 .75rem/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sand-500); }
.tile h2, .tile h3 { color: var(--white); font-size: 1.375rem; }
.trip-tiles .tile, .trip-tiles .tile__body { min-height: 440px; }
.trip-tiles .tile::before { background: linear-gradient(to top, rgb(11 42 35 / .97) 0%, rgb(11 42 35 / .9) 52%, rgb(11 42 35 / .35) 76%, rgb(11 42 35 / .1) 100%); }
.tile a { color: inherit; text-decoration: none; }
.tile h2 a::after, .tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile:has(a:focus-visible) { outline: 3px solid var(--green-700); outline-offset: 3px; }
.tile a:focus-visible { outline: none; }
.tile__more { display: inline-flex; align-items: center; gap: .4em; color: var(--sand-500); font: 600 .9375rem var(--font-head); }

/* Features */
.features { display: grid; gap: 20px; padding: 0; list-style: none; }
.feature { display: grid; grid-template-columns: 32px 1fr; gap: 4px 14px; }
.feature::before { content: ""; grid-row: span 2; width: 32px; height: 32px; margin-top: 2px; border-radius: 50%; background: var(--sand-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.7 3.7L17.5 8.5' fill='none' stroke='%23134137' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.feature h3 { font-size: 1.125rem; }
.feature p { grid-column: 2; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.section--dark .feature p { color: var(--on-dark); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(46%, 190px), 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px; border: 1px solid rgb(245 205 145 / .35); border-radius: var(--radius); }
.stat dd { margin: 0; font: 700 clamp(1.625rem, 1.4rem + 1vw, 2.375rem)/1.1 var(--font-head); color: var(--white); }
.stat dt { margin-top: 8px; font-size: .9375rem; line-height: 1.4; }

/* Fact tables and definition lists */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.55; }
th, td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child > * { border-bottom: 0; }
tbody th { width: 34%; min-width: 140px; font: 600 .9688rem/1.5 var(--font-head); color: var(--green-800); background: var(--sand-100); }
thead th { background: var(--green-800); color: var(--white); font-family: var(--font-head); }
.facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); }
.facts > div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { padding: 12px 18px; background: var(--sand-100); font: 600 .9375rem/1.5 var(--font-head); color: var(--green-800); }
.facts dd { margin: 0; padding: 12px 18px; font-size: 1rem; line-height: 1.55; }

/* Contact */
.contact-card { height: 100%; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .i { width: 28px; height: 28px; margin-bottom: 12px; color: var(--green-700); }
.contact-card h3 { margin-bottom: 8px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
.two-col { display: grid; gap: 40px 56px; align-items: start; }
@media (min-width: 980px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--form { grid-template-columns: 5fr 7fr; } }
.two-col > div > * + * { margin-top: 14px; }

/* Forms */
.form-panel { padding: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-panel h2 { font-size: 1.625rem; }
.form-panel h2 + p { margin-top: 8px; color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 24px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font: 600 .9375rem/1.4 var(--font-head); color: var(--green-800); }
.field .req { color: var(--alert); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; background: var(--paper); border: 1px solid #958f7f; border-radius: var(--radius-sm); color: var(--ink); font: 400 1rem/1.5 var(--font-body); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--sand-600); outline-offset: 0; border-color: var(--green-700); background: var(--white); }
::placeholder { color: #5d6e67; opacity: 1; }
.form-status { padding: 12px 16px; background: var(--sand-100); border-left: 4px solid var(--alert); border-radius: var(--radius-sm); color: var(--ink); font-size: 1rem; }
.form .btn:disabled { opacity: .6; cursor: progress; }

/* Tour detail */
.tour-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 60vh, 600px); background: var(--green-950); color: var(--white); isolation: isolate; }
.tour-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tour-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(11 42 35 / .92) 0%, rgb(11 42 35 / .74) 50%, rgb(11 42 35 / .25) 100%), linear-gradient(to top, rgb(11 42 35 / .6), transparent 40%); }
.tour-hero .container { width: min(100%, 1320px); padding-block: 32px 36px; }
.tour-hero h1 { max-width: 20ch; margin-top: 12px; color: var(--white); font-size: clamp(2rem, 1.5rem + 2.6vw, 3.5rem); }
.tour-hero .breadcrumb { margin-bottom: 18px; }
.tour-hero .card__badge { position: static; display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { padding: 5px 14px; background: rgb(11 42 35 / .55); border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; font-size: .9063rem; line-height: 1.4; }
.page-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.page-nav ul { display: flex; gap: 4px; overflow-x: auto; padding: 0; list-style: none; scrollbar-width: none; }
.page-nav a { display: block; padding: 15px 14px; border-bottom: 3px solid transparent; color: var(--green-800); font: 600 .9375rem var(--font-head); text-decoration: none; white-space: nowrap; }
.page-nav a:hover, .page-nav a[aria-current] { border-bottom-color: var(--sand-600); }
.tour-layout { display: grid; gap: 40px 56px; padding-block: clamp(36px, 5vw, 64px); }
@media (min-width: 980px) { .tour-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.tour-main { min-width: 0; }
.tour-block + .tour-block { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.tour-block > h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }
.tour-block > * + * { margin-top: 16px; }
.tour-block > h2 + * { margin-top: 0; }
.tour-block > h2:not(:first-child) { margin-top: 36px; }
.tour-block ul:not([class]) { padding-left: 1.25em; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.gallery li:first-child { grid-column: 1 / -1; }
@media (min-width: 620px) { .gallery--more { grid-template-columns: repeat(3, 1fr); } .gallery--more li:first-child { grid-column: auto; } }
.itinerary { display: grid; padding: 0; list-style: none; }
.day { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; padding-bottom: 28px; }
.day::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.day:last-child { padding-bottom: 0; }
.day:last-child::before { display: none; }
.day__num { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--green-800); color: var(--white); border-radius: 50%; font: 700 1rem var(--font-head); }
.day h3 { padding-top: 10px; }
.day__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; padding: 0; list-style: none; color: var(--muted); font-size: .9063rem; font-weight: 500; }
.day p { margin-top: 10px; }
.incl { display: grid; gap: 24px; }
@media (min-width: 680px) { .incl { grid-template-columns: 1fr 1fr; } }
.incl h3 { margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; padding: 0; list-style: none; line-height: 1.5; font-size: 1rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks .i { width: 22px; height: 22px; margin-top: 1px; color: var(--green-700); }
.ticks--no .i { color: var(--alert); }
.sidebar { display: grid; gap: 20px; }
@media (min-width: 980px) { .sidebar { position: sticky; top: calc(var(--header-h) + 72px); } }
.panel { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2, .panel h3 { margin-bottom: 14px; font-size: 1.1875rem; }
.panel--book { background: var(--green-800); border-color: var(--green-800); color: var(--on-dark); }
.panel--book h2 { color: var(--white); }
.price-label { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.price { font: 700 clamp(1.625rem, 1.5rem + .5vw, 2rem)/1.2 var(--font-head); color: var(--white); }
.price-note { margin-top: 4px; font-size: .875rem; line-height: 1.45; }
.book-facts { display: grid; gap: 10px; margin: 16px 0; padding-block: 14px; border-block: 1px solid rgb(245 205 145 / .3); font-size: .9375rem; line-height: 1.4; }
.book-facts > div { display: flex; justify-content: space-between; gap: 16px; }
.book-facts dd { margin: 0; color: var(--white); font-weight: 500; text-align: right; }
.panel--book .tel { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 12px; color: var(--white); font-weight: 500; text-decoration: none; }
.side-links { display: grid; gap: 2px; padding: 0; list-style: none; }
.side-links a { display: block; padding: 7px 0; font-size: .9688rem; line-height: 1.4; }
.mobile-book { position: fixed; inset: auto 0 0 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(19 65 55 / .12); }
.mobile-book p { font: 700 1.0625rem/1.2 var(--font-head); color: var(--green-800); }
.mobile-book small { display: block; font: 400 .75rem/1.4 var(--font-body); color: var(--muted); }
.mobile-book .btn { flex: none; min-height: 44px; padding-inline: 1.1em; }
@media (min-width: 980px) { .mobile-book { display: none; } }
@media (max-width: 979px) { .has-mobile-book { padding-bottom: 68px; } .has-mobile-book .wa-float { bottom: 80px; } }

/* FAQs and lists of trips */
.faq { display: grid; gap: 14px; max-width: 880px; }
.faq-item { padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item h3 { font-size: 1.125rem; }
.faq-item p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.tour-block .faq { max-width: none; }
.tour-block h3 + .ticks { margin-top: 0; }

/* Home hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 760px); background: var(--green-950); color: var(--white); isolation: isolate; }
.hero > img { 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(100deg, rgb(11 42 35 / .92) 0%, rgb(11 42 35 / .74) 50%, rgb(11 42 35 / .25) 100%), linear-gradient(to top, rgb(11 42 35 / .6), transparent 40%); }
.hero .container { padding-block: clamp(56px, 9vw, 104px); }
.hero h1 { max-width: 18ch; color: var(--white); }
.hero .lead { max-width: 56ch; margin-top: 20px; color: var(--white); }
.trust { background: var(--sand-500); color: var(--green-800); }
.trust ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 28px; padding: 18px 0; list-style: none; font: 500 .9688rem/1.4 var(--font-head); }
.trust li { display: flex; align-items: center; gap: .6em; }
.trust .i { width: 22px; height: 22px; }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--green-800); color: var(--on-dark); }
.cta .container { position: relative; display: grid; gap: 24px 48px; align-items: center; padding-block: clamp(44px, 6vw, 72px); }
@media (min-width: 880px) { .cta .container { grid-template-columns: 1fr auto; } }
.cta h2 { color: var(--white); }
.cta p { margin-top: 12px; max-width: 62ch; }
.cta a:not(.btn) { color: var(--white); }
.cta::after { content: ""; position: absolute; right: 2%; top: 50%; width: 340px; height: 340px; transform: translateY(-50%); background: url(../brand/mark-sand.svg) center/contain no-repeat; opacity: .05; pointer-events: none; }
.cta .actions { position: relative; z-index: 1; margin: 0; }

/* Footer */
.site-footer { background: var(--green-950); color: var(--on-dark); font-size: .9688rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px 40px; padding-block: clamp(48px, 6vw, 72px) 40px; }
@media (min-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.7fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-brand img { width: auto; height: 72px; }
.footer-brand p { margin-top: 18px; max-width: 42ch; line-height: 1.6; }
.footer-title { margin-bottom: 12px; color: var(--white); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.footer-links { display: grid; gap: 2px; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 5px 0; line-height: 1.4; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: .55em; align-items: flex-start; line-height: 1.45; }
.footer-contact .i { margin-top: .15em; color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; border-top: 1px solid rgb(245 205 145 / .2); font-size: .875rem; line-height: 1.5; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; list-style: none; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 44; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; background: var(--green-800); color: var(--white); border: 2px solid var(--sand-500); border-radius: 50%; box-shadow: var(--shadow); }
.wa-float:hover { background: var(--green-950); color: var(--white); }
.wa-float .i { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .site-header, .page-nav, .mobile-book, .wa-float, .cta, .site-footer { display: none; }
  .section { padding-block: 16px; }
}

/* Long guide pages */
.doc-intro > * + * { margin-top: 16px; }
.doc-intro p:first-child { font-size: 1.125rem; }
.toc { margin-top: 28px; padding: 18px 22px; background: var(--sand-100); border: 1px solid var(--line); border-radius: var(--radius); }
.toc__title { margin-bottom: 8px; font: 600 1rem var(--font-head); color: var(--green-800); }
.toc ol { display: grid; gap: 4px; padding-left: 1.25em; font-size: .9688rem; line-height: 1.45; }
.toc + .tour-block { margin-top: clamp(36px, 5vw, 56px); }
.tour-block > h3 { margin-top: 28px; }
.tour-block > ol, .tour-block > ul:not([class]) { padding-left: 1.25em; }
.tour-block li + li { margin-top: .4em; }
.tour-block .grid li + li, .tour-block .ticks li + li, .tour-block .gallery li + li, .tour-block .chips li + li, .day__meta li + li, .itinerary li + li { margin-top: 0; }
.doc-figure { margin-top: 20px; }
.doc-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.doc-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.doc-grid { margin-top: 20px; }
.panel--book .actions { margin-top: 14px; }
.sidebar .panel h3 { margin-bottom: 12px; }

/* Spacing for text, cards and buttons stacked inside a homepage section */
.section .prose + .grid, .section .stats + .grid { margin-top: 32px; }
.section .grid + .actions { margin-top: 28px; }
.facts dd { min-width: 0; overflow-wrap: anywhere; }

/* Largest headings use the Extrabold cut of Cabinet Grotesk */
h1, h2 { font-weight: 800; }

/* Page heroes: keep the giraffes in frame, and keep phones from scrolling past a tall photo */
img[src$="mount-meru-wildlife.webp"] { object-position: center 85%; }
@media (max-width: 640px) { .page-hero--media, .tour-hero { min-height: 360px; } }
