/* ==========================================================================
   salt&pepper safari — brand layer
   Layout language follows rhinoafrica.com: full-bleed photographic hero,
   caps eyebrow over a display headline, card grids, CTA bands, trust strip.
   Palette and type stay salt&pepper's own, sampled from the logo artwork.
   Loaded AFTER style.css.
   ========================================================================== */

:root {
  --moss:      #495F17;
  --moss-mid:  #5D7620;
  --moss-deep: #1E2A06;
  --bone:      #F4F1E8;
  --bone-warm: #EAE5D7;
  --ink:       #141210;
  --ink-soft:  #4A4740;
  --ink-faint: #7D7970;
  --clay:      #A8743A;
  --clay-dark: #8A5D2C;
  --rule:      #DDD8C9;

  /* remap base-sheet tokens so untouched components follow the brand */
  --primary: var(--moss);       --primary-dark: var(--moss-deep);
  --primary-light: var(--moss-mid); --primary-subtle: #EFF0E4;
  --gold: var(--clay);          --gold-dark: var(--clay-dark);
  --accent: var(--moss);        --orange: var(--clay);
  --bg: var(--bone);            --bg-alt: var(--bone-warm);
  --white: #FFFFFF;
  --text: var(--ink);           --text-light: var(--ink-soft);
  --text-muted: var(--ink-faint);
  --border: var(--rule);
  --radius: 4px;                --radius-lg: 6px;
  --shadow-card: 0 2px 14px rgba(20,18,16,.07);
  --shadow-card-hover: 0 10px 34px rgba(20,18,16,.14);

  --display: "Bodoni Moda", Georgia, serif;
  --body: "Karla", system-ui, -apple-system, sans-serif;
  --font: var(--body);
  --header-h: 88px;
  --measure: 66ch;
}

/* ------------------------------------------------------------- foundations */

body {
  font-family: var(--body);
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
h4,h5,h6 { font-family: var(--body); font-weight: 700; color: var(--ink); }

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
a { color: var(--moss); }
a:hover { color: var(--moss-deep); }
::selection { background: var(--moss); color: var(--bone); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.section-container { max-width: 1240px; padding: 0 32px; }

/* The eyebrow. Rhino Africa sets a tracked caps line above every headline;
   the brief asks for that language, so it is used consistently, not decoratively. */
.ra-eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.85rem;
  max-width: none;
}
.ra-eyebrow--light { color: rgba(244,241,232,.72); }

.ra-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 46ch; }
.ra-head h2 { margin: 0 0 0.7rem; }
.ra-head p  { color: var(--ink-soft); margin: 0; }
.ra-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ra-head--center p { margin-left: auto; margin-right: auto; }

.ra-section { padding: clamp(64px, 7.5vw, 108px) 0; }
.ra-section--bone { background: var(--bone); }
.ra-section--warm { background: var(--bone-warm); }
.ra-section--white { background: #fff; }
.ra-section--moss { background: var(--moss-deep); color: rgba(244,241,232,.86); }
.ra-section--moss h2, .ra-section--moss h3 { color: var(--bone); }

/* ------------------------------------------------------------------ header */

.site-header {
  height: var(--header-h);
  background: rgba(244,241,232,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
}

.header-logo img, .header-logo .logo-img {
  width: clamp(168px, 16vw, 208px); height: auto; max-width: none;
}

.header-nav .nav-menu { gap: 0; flex-wrap: nowrap; }
.nav-link {
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--ink); padding: 6px 11px; border-radius: 0; white-space: nowrap;
}
.nav-link:hover { color: var(--moss); }
.nav-link.active { color: var(--moss); box-shadow: inset 0 -2px 0 var(--clay); }
@media (max-width:1180px){ .nav-link{ padding:6px 8px; font-size:12.5px; } }
@media (max-width:1024px){ .header-nav .nav-menu{flex-wrap:wrap} .nav-link{white-space:normal} }

.header-whatsapp-btn {
  background: var(--clay); color: #fff; border-radius: 3px;
  padding: 12px 22px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.header-whatsapp-btn:hover { background: var(--clay-dark); transform: none; }
.hamburger span { background: var(--ink); }

/* -------------------------------------------------------------------- hero
   Full-bleed rotating slides. Each slide takes a background image; where none
   is set yet it falls back to a moss gradient so the page still works. */

.ultra-hero, .hero-section { display: none; }

.ra-hero {
  position: relative;
  min-height: clamp(560px, 82vh, 860px);
  display: flex; align-items: flex-end;
  background: var(--moss-deep);
  overflow: hidden;
}

.ra-hero__slides { position: absolute; inset: 0; }

.ra-hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.ra-hero__slide.is-active { opacity: 1; }

.ra-hero__slide--empty {
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(93,118,32,.55) 0%, transparent 60%),
    linear-gradient(168deg, #26330A 0%, #1E2A06 55%, #131B04 100%);
}

.ra-hero::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(19,27,4,.62) 0%, rgba(19,27,4,.18) 38%, rgba(19,27,4,.86) 100%);
  z-index: 1;
}

.ra-hero .section-container { position: relative; z-index: 2; padding-bottom: clamp(56px, 7vw, 96px); padding-top: clamp(120px, 14vw, 180px); }

.ra-hero__inner { max-width: 42rem; }
.ra-hero h1 { color: var(--bone); margin: 0 0 1rem; font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.ra-hero__sub { color: rgba(244,241,232,.88); font-size: 1.08rem; max-width: 44ch; margin-bottom: 2rem; }
.ra-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ra-hero__dots {
  position: absolute; z-index: 3; right: clamp(24px,4vw,54px); bottom: clamp(28px,4vw,54px);
  display: flex; gap: 9px;
}
.ra-hero__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(244,241,232,.7); background: transparent;
}
.ra-hero__dot.is-active { background: var(--bone); }

/* ----------------------------------------------------------------- buttons */

.btn-primary, .contact-submit, .inquiry-submit-btn, .footer-subscribe-btn,
.sticky-cta-btn, .ra-btn {
  display: inline-block;
  background: var(--clay); color: #fff; border: 1px solid var(--clay);
  border-radius: 3px; padding: 14px 30px;
  font-family: var(--body); font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary:hover, .ra-btn:hover, .contact-submit:hover, .inquiry-submit-btn:hover {
  background: var(--clay-dark); border-color: var(--clay-dark); color: #fff;
}
.ra-btn--ghost { background: transparent; color: var(--bone); border-color: rgba(244,241,232,.55); }
.ra-btn--ghost:hover { background: rgba(244,241,232,.12); border-color: var(--bone); color: var(--bone); }
.ra-btn--moss { background: var(--moss); border-color: var(--moss); }
.ra-btn--moss:hover { background: var(--moss-deep); border-color: var(--moss-deep); }
.ra-btn--outline { background: transparent; color: var(--moss); border-color: var(--moss); }
.ra-btn--outline:hover { background: var(--moss); color: var(--bone); }

/* ------------------------------------------------------------------- cards */

.ra-grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.ra-grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.ra-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.ra-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--rule); border-radius: 4px;
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-card);
  transition: box-shadow .22s ease, transform .22s ease;
}
.ra-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); color: inherit; }

.ra-card__media {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--moss-deep);
}
.ra-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ra-card:hover .ra-card__media img { transform: scale(1.045); }

/* Placeholder shown until a photograph is uploaded. Reads as an intentional
   moss panel with the stripe motif rather than a broken image. */
.ra-card__media--empty {
  background:
    repeating-linear-gradient(100deg, rgba(244,241,232,.10) 0 6px, transparent 6px 20px),
    linear-gradient(160deg, #2C3A0B 0%, #1E2A06 100%);
  display: grid; place-items: center;
}
.ra-card__media--empty span {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,241,232,.5);
}

.ra-card__tag {
  position: absolute; z-index: 2; left: 12px; top: 12px;
  background: rgba(30,42,6,.86); color: var(--bone);
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 2px;
}

.ra-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ra-card__body h3 { margin: 0 0 8px; font-size: 1.28rem; line-height: 1.22; }
.ra-card__body p { font-size: .93rem; color: var(--ink-soft); margin: 0 0 16px; }

.ra-card__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.ra-card__dur { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.ra-card__price { font-family: var(--display); font-size: 1.18rem; color: var(--clay); white-space: nowrap; }

/* Destination tiles: taller, image-dominant, caption over the photo. */
.ra-tile {
  position: relative; display: block; border-radius: 4px; overflow: hidden;
  aspect-ratio: 3 / 4; text-decoration: none; background: var(--moss-deep);
}
.ra-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.ra-tile:hover img { transform: scale(1.06); }
.ra-tile--empty {
  background:
    repeating-linear-gradient(100deg, rgba(244,241,232,.10) 0 6px, transparent 6px 20px),
    linear-gradient(160deg, #2C3A0B 0%, #1E2A06 100%);
}
.ra-tile::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 38%, rgba(19,27,4,.82) 100%);
}
.ra-tile__label {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px;
  font-family: var(--display); font-size: 1.3rem; line-height: 1.2; color: var(--bone);
}
.ra-tile__label small {
  display: block; font-family: var(--body); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(244,241,232,.72);
  margin-top: 5px;
}

/* Horizontal scroller for destination tiles on narrow screens. */
.ra-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: thin;
}
.ra-scroller > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .ra-scroller { grid-auto-columns: 1fr; overflow: visible; } }

/* ------------------------------------------------------- pledge / trust bar
   This is salt&pepper's differentiator, so it occupies the slot Rhino Africa
   gives to awards, and is stated as a figure rather than a badge. */

.ra-pledge { background: var(--moss); color: var(--bone); }
.ra-pledge .section-container {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: clamp(28px,5vw,72px);
  align-items: center; padding-top: clamp(52px,6vw,80px); padding-bottom: clamp(52px,6vw,80px);
}
.ra-pledge__fig {
  font-family: var(--display); font-size: clamp(4.5rem, 11vw, 9rem);
  line-height: .84; color: var(--bone);
}
.ra-pledge__fig sup { font-size: .34em; vertical-align: super; }
.ra-pledge h2 { color: var(--bone); margin: 0 0 .7rem; }
.ra-pledge p { color: rgba(244,241,232,.86); }
@media (max-width: 760px) { .ra-pledge .section-container { grid-template-columns: 1fr; } }

.ra-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.ra-facts > div { background: var(--bone); padding: 26px 24px; }
.ra-facts dt { font-family: var(--display); font-size: 1.55rem; color: var(--moss); margin-bottom: 6px; }
.ra-facts dd { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* Partner strip. salt&pepper's partners are NGOs, not lodge groups, so this is
   a named credit line rather than a wall of logos. */
.ra-partners {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px;
  padding-top: 22px; border-top: 1px solid var(--rule);
}
.ra-partners a { font-family: var(--display); font-size: 1.25rem; color: var(--moss); text-decoration: none; }
.ra-partners a:hover { color: var(--clay); }

/* -------------------------------------------------------------- CTA band */

.ra-band {
  position: relative; background: var(--moss-deep); color: var(--bone);
  text-align: center; padding: clamp(64px,8vw,110px) 0;
}
.ra-band h2 { color: var(--bone); margin: 0 0 .9rem; }
.ra-band p { color: rgba(244,241,232,.82); margin: 0 auto 2rem; max-width: 52ch; }
.ra-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------------- page header */

.ra-pagehead {
  position: relative; background: var(--moss-deep); color: var(--bone);
  padding: calc(var(--header-h) + clamp(48px,6vw,84px)) 0 clamp(44px,5vw,72px);
}
.ra-pagehead::before {
  content:""; position:absolute; inset:0;
  background:
    repeating-linear-gradient(100deg, rgba(244,241,232,.07) 0 6px, transparent 6px 22px),
    radial-gradient(110% 90% at 80% 0%, rgba(93,118,32,.45) 0%, transparent 62%);
}
.ra-pagehead .section-container { position: relative; z-index: 2; }
.ra-pagehead h1 { color: var(--bone); margin: 0; max-width: 20ch; }
.ra-pagehead__stand { color: rgba(244,241,232,.82); margin: 1rem 0 0; max-width: 50ch; }
.ra-crumb { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,241,232,.6); margin-bottom: 1rem; }
.ra-crumb a { color: rgba(244,241,232,.78); }
.ra-crumb span { padding: 0 8px; }

/* --------------------------------------------------------- prose and lists */

.ra-prose { max-width: var(--measure); }
.ra-prose h2, .ra-prose h3 { margin: 2rem 0 .8rem; }
.ra-list { list-style: none; margin: 1.3rem 0; padding: 0; max-width: var(--measure); }
.ra-list li { position: relative; padding-left: 24px; margin-bottom: 11px; }
.ra-list li::before { content:""; position:absolute; left:0; top:.72em; width:11px; height:2px; background: var(--clay); }

.ra-split { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: clamp(32px,5vw,80px); align-items: start; }
@media (max-width: 860px) { .ra-split { grid-template-columns: 1fr; gap: 26px; } }

/* -------------------------------------------------------------------- team */

.ra-member img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:4px; margin-bottom:14px; }
.ra-member h3 { margin:0 0 4px; font-size:1.25rem; }
.ra-member__role { font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--clay); margin:0 0 10px; }
.ra-member p { font-size:.93rem; color:var(--ink-soft); }

/* ------------------------------------------------------------------ footer */

.site-footer, .footer-top { background: var(--moss-deep); color: rgba(244,241,232,.84); }
.footer-container { max-width: 1240px; margin: 0 auto; padding: clamp(56px,7vw,88px) 32px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: clamp(28px,4vw,56px); }
.site-footer h3, .site-footer h4 { color: var(--bone); }
.footer-col h4 { font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; margin:0 0 16px; }
.footer-col h4::after { content:none; }
.footer-links { list-style:none; margin:0; padding:0; }
.footer-links li { margin-bottom:9px; font-size:.94rem; padding-left:0; list-style:none; }
.footer-links li::before, .footer-links li::marker { content:none; display:none; }
.site-footer a { color: rgba(244,241,232,.84); text-decoration:none; }
.site-footer a:hover { color: var(--bone); }
.footer-brand img { width: 210px; height: auto; }
.footer-brand p { color: rgba(244,241,232,.76); font-size:.95rem; max-width:34ch; margin-bottom:20px; }
.footer-social { display:flex; gap:10px; }
.footer-social .social-icon {
  width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(244,241,232,.28); border-radius:3px; color: rgba(244,241,232,.82);
  transition: background .18s ease, border-color .18s ease;
}
.footer-social .social-icon:hover { background: var(--moss); border-color: var(--moss); color: var(--bone); }
.footer-bottom {
  margin-top: clamp(40px,5vw,64px); padding-top:22px;
  border-top:1px solid rgba(244,241,232,.16);
  display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; justify-content:space-between;
  font-size:.85rem; color: rgba(244,241,232,.66);
}
.footer-bottom p { margin:0; }
.footer-bottom a { color: rgba(244,241,232,.66); }
.footer-legal { list-style:none; display:flex; flex-wrap:wrap; gap:20px; margin:0; padding:0; }
@media (max-width:880px){ .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:540px){ .footer-grid{grid-template-columns:1fr} }

/* --------------------------------------------------------------- responsive */

@media (max-width: 760px) {
  .header-actions { display: none; }
  .header-logo img, .header-logo .logo-img { width: 168px; }
  .ra-hero { min-height: 78vh; }
  .ra-hero__actions .ra-btn { width: 100%; }
  .ra-btn { padding: 14px 22px; }
}

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

/* Carried over from the first pass, restyled to the card system. */
.ra-lede { font-family: var(--display); font-size: clamp(1.3rem,2.2vw,1.7rem); line-height:1.4; max-width:40ch; margin-bottom:1.4rem; }
.ra-pledge .ra-lede { color: var(--bone); }
.ra-mb-0 { margin-bottom: 0; }
.ra-pledge .section-container:not(:has(.ra-pledge__fig)) { grid-template-columns: minmax(0,4fr) minmax(0,7fr); align-items: start; }

/* Tour category filters. */
.ra-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: clamp(24px,3vw,36px); }
.ra-filters a {
  font-size:.74rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding:9px 16px; border:1px solid var(--rule); border-radius:2px;
  color: var(--ink-soft); text-decoration:none; background:#fff;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.ra-filters a:hover { border-color: var(--moss); color: var(--moss); }
.ra-filters a.is-active { background: var(--moss); border-color: var(--moss); color: var(--bone); }

/* ==========================================================================
   Corrections after visual review
   ========================================================================== */

/* The hero's container is a flex item, so it was sizing to its content and
   centring instead of aligning to the page grid. */
.ra-hero .section-container { width: 100%; margin-left: auto; margin-right: auto; }

/* Header CTA must not wrap. */
.header-whatsapp-btn { white-space: nowrap; }

/* Destination tiles were six to a row and too squat to read. Four across at
   desktop, wrapping down, with room for two-line names. */
.ra-scroller {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-columns: auto;
  overflow: visible;
  scroll-snap-type: none;
}
@media (max-width: 700px) {
  .ra-scroller {
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
}
.ra-tile { aspect-ratio: 4 / 5; }
.ra-tile::after { background: linear-gradient(180deg, transparent 30%, rgba(19,27,4,.88) 100%); }
.ra-tile__label { bottom: 20px; font-size: 1.35rem; }

/* Base sheet adds guillemet markers to footer list items. Remove them at every
   level rather than only on the li. */
.footer-links li::before,
.footer-links li::after,
.footer-links a::before,
.footer-links a::after { content: none !important; display: none !important; }
.footer-links li { padding-left: 0 !important; text-indent: 0 !important; }

/* The CTA band and the footer are both moss-deep, so their combined padding
   read as a void. Tighten the seam and rule it. */
.ra-band { padding-bottom: clamp(48px, 5vw, 72px); }
.ra-band + .site-footer .footer-container { padding-top: clamp(40px, 5vw, 60px); }
.ra-band + .site-footer { border-top: 1px solid rgba(244,241,232,.14); }

/* Give the pledge copy a comfortable measure inside the wide band. */
.ra-pledge p { max-width: 58ch; }

/* Three destination tiles per row gives two clean rows for six items and lets
   each tile carry a two-line park name. */
.ra-scroller { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Base sheet indents footer links via the anchor, not the item. */
.footer-links a { padding-left: 0 !important; margin-left: 0 !important; text-indent: 0 !important; }

.ra-band { padding-bottom: clamp(44px, 4.5vw, 60px); }
