/* ==========================================================================
   Safari Jambo Kenya — Design system
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  /* Palette */
  --color-espresso:    #1A1410;
  --color-espresso-90: #2A1F18;
  --color-charcoal:    #3A2C22;
  --color-muted:       #6B5A4E;
  --color-line:        #E5DCCF;
  --color-cream:       #FAF6EF;
  --color-cream-warm:  #F2E9D8;
  --color-white:       #FFFFFF;
  --color-amber:       #C87D2F;
  --color-amber-dark:  #A8651F;
  --color-gold:        #E8A835;
  --color-savanna:     #8B6F47;

  /* Typography */
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-xxl:  clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --fs-xl:   clamp(2rem,    3vw + 1rem, 3.5rem);
  --fs-lg:   clamp(1.5rem,  1.5vw + 1rem, 2.25rem);
  --fs-md:   1.125rem;
  --fs-base: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  /* Spacing */
  --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;
  --space-10: 8rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(26, 20, 16, 0.06), 0 1px 3px rgba(26, 20, 16, 0.04);
  --shadow-md: 0 6px 18px rgba(26, 20, 16, 0.08), 0 2px 6px rgba(26, 20, 16, 0.05);
  --shadow-lg: 0 24px 60px rgba(26, 20, 16, 0.18), 0 8px 20px rgba(26, 20, 16, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition: 320ms var(--ease);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-espresso-90);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* --- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-espresso);
}
h1 { font-size: var(--fs-xxl); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}

.lead {
  font-size: var(--fs-md);
  color: var(--color-charcoal);
  max-width: 56ch;
}

/* --- Layout primitives --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-5); }

section { padding: var(--space-9) 0; }
section.tight { padding: var(--space-7) 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-8); }
.section-head .lead { margin: var(--space-4) auto 0; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-amber);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(200, 125, 47, 0.35);
}
.btn-primary:hover { background: var(--color-amber-dark); box-shadow: 0 10px 28px rgba(200, 125, 47, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--color-white); }

.btn-outline {
  background: transparent;
  color: var(--color-espresso);
  border-color: var(--color-espresso);
}
.btn-outline:hover { background: var(--color-espresso); color: var(--color-white); }

.btn-wa {
  background: #25D366;
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover { background: #1FB855; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }

.btn-lg { padding: 1.1rem 2.25rem; font-size: var(--fs-base); }

/* --- Header / Navigation ------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: linear-gradient(to bottom, rgba(26, 20, 16, 0.7) 0%, rgba(26, 20, 16, 0.45) 60%, rgba(26, 20, 16, 0) 100%);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(26, 20, 16, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-3) 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-white);
  flex-shrink: 0;
}
.nav-brand img {
  height: 78px;
  width: auto;
  display: block;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: height var(--transition);
}
.site-header.scrolled .nav-brand img { height: 56px; padding: 4px 10px; }
.nav-brand .brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-amber);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: nowrap;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li > a:hover { color: var(--color-amber); }
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-amber);
  transition: width var(--transition);
}
.nav-menu > li > a:hover::after { width: 100%; }

/* dropdown chevron — small SVG-like character after text */
.has-submenu > a::after {
  /* keep the underline behavior */
}
.has-submenu > a {
  position: relative;
}
.has-submenu > a > .chev {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.65;
  transition: transform var(--transition);
  margin-left: 2px;
  margin-top: 2px;
}
.has-submenu:hover > a > .chev { transform: rotate(180deg); opacity: 1; }
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: var(--color-espresso);
  border: 1px solid rgba(232, 168, 53, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow-lg);
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-cream-warm);
}
.submenu a::after { display: none; }
.submenu a:hover { background: rgba(232, 168, 53, 0.08); color: var(--color-amber); }

.nav-aside {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.lang-switch {
  display: flex;
  gap: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang-switch a {
  color: rgba(255,255,255,0.6);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.lang-switch a.active { color: var(--color-amber); }
.lang-switch a:hover { color: var(--color-white); }

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  background: #25D366;
  color: var(--color-white);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
.nav-wa svg { width: 16px; height: 16px; }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hide mobile nav by default — only used at mobile breakpoint */
.nav-mobile { display: none; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 20, 16, 0.25) 0%, rgba(26, 20, 16, 0.15) 40%, rgba(26, 20, 16, 0.55) 100%),
    linear-gradient(to right, rgba(26, 20, 16, 0.4) 0%, rgba(26, 20, 16, 0.05) 55%);
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: var(--space-9) 0 var(--space-10);
}
.hero .eyebrow {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.5rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}
.hero p.lead {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-bottom: var(--space-7);
}
.hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.5);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* --- Trust strip --------------------------------------------------------- */
.trust-strip {
  background: var(--color-cream-warm);
  color: var(--color-espresso);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(200, 125, 47, 0.18);
  border-bottom: 1px solid rgba(200, 125, 47, 0.18);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-align: left;
}
.trust-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 125, 47, 0.12);
  border: 1px solid rgba(200, 125, 47, 0.35);
  display: grid;
  place-items: center;
  color: var(--color-amber-dark);
}
.trust-icon svg { width: 22px; height: 22px; display: block; }
.trust-item > div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-espresso);
  line-height: 1.1;
}
.trust-item > div span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* --- Intro section ------------------------------------------------------- */
.intro {
  background: var(--color-cream);
  position: relative;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
.intro-text h2 { margin-bottom: var(--space-5); }
.intro-text p + p { margin-top: var(--space-4); }
.intro-signature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
}
.intro-signature img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-amber);
}
.intro-signature strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.intro-signature span { font-size: var(--fs-sm); color: var(--color-muted); }

.intro-media {
  position: relative;
  aspect-ratio: 4 / 5;
}
.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  pointer-events: none;
}
.intro-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--color-amber);
  color: var(--color-white);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  text-align: center;
  z-index: 2;
}
.intro-badge strong { display: block; font-size: 2.5rem; line-height: 1; font-weight: 700; }
.intro-badge span { display: block; font-size: var(--fs-xs); font-family: var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; white-space: nowrap; }

/* --- Safari/Tour cards --------------------------------------------------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.tour-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tour-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.tour-card:hover .tour-card-media img { transform: scale(1.08); }

.tour-card-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(26, 20, 16, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-gold);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-card-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tour-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}
.tour-card p {
  color: var(--color-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
  flex-grow: 1;
}
.tour-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}
.tour-card-foot .destination {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tour-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-amber);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tour-card-arrow svg { width: 16px; transition: transform var(--transition); }
.tour-card:hover .tour-card-arrow svg { transform: translateX(4px); }

/* --- Split section ------------------------------------------------------- */
.section-dark {
  background: var(--color-espresso);
  color: rgba(250, 246, 239, 0.85);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-dark .eyebrow { color: var(--color-gold); }
.section-dark .lead { color: rgba(250, 246, 239, 0.78); }
.section-dark .tour-card { background: var(--color-espresso-90); border: 1px solid rgba(232,168,53,0.12); }
.section-dark .tour-card h3 { color: var(--color-white); }
.section-dark .tour-card p { color: rgba(250, 246, 239, 0.82); }
.section-dark .tour-card-foot { border-top-color: rgba(232,168,53,0.15); }
.section-dark .tour-card-foot .destination { color: rgba(232, 168, 53, 0.78); }

/* --- Gallery ------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-3);
}
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-cream-warm);
}
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-column: span 2; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter var(--transition);
}
.gallery a:hover img { transform: scale(1.06); filter: brightness(1.08); }
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,20,16,0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery a:hover::after { opacity: 1; }

/* --- Testimonials -------------------------------------------------------- */
.testimonials {
  background: var(--color-cream-warm);
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: "“";
  position: absolute;
  top: -60px;
  left: 5%;
  font-family: var(--font-display);
  font-size: 24rem;
  color: rgba(200, 125, 47, 0.08);
  line-height: 1;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  position: relative;
}
.testimonial {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: var(--color-gold); margin-bottom: var(--space-3); letter-spacing: 2px; }
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-charcoal);
  flex-grow: 1;
  margin-bottom: var(--space-5);
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}
.testimonial-author strong { display: block; font-size: var(--fs-sm); }
.testimonial-author span { font-size: var(--fs-xs); color: var(--color-muted); }

.tripadvisor-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding: var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  text-align: center;
}
.tripadvisor-banner img { height: 32px; width: auto; }
.tripadvisor-banner .rating { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }

/* --- Final CTA ----------------------------------------------------------- */
.final-cta {
  position: relative;
  padding: var(--space-10) 0;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 20, 16, 0.85) 0%, rgba(168, 101, 31, 0.75) 100%);
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.final-cta h2 { color: var(--color-white); margin-bottom: var(--space-5); }
.final-cta .lead { color: rgba(255,255,255,0.92); margin: 0 auto var(--space-7); }
.final-cta-buttons { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--color-espresso);
  color: rgba(255,255,255,0.7);
  padding: var(--space-9) 0 var(--space-6);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-brand img {
  height: 64px;
  width: auto;
  display: block;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.site-footer h4 {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--color-amber); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--color-amber); flex-shrink: 0; }
.footer-contact a:hover { color: var(--color-amber); }

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover { background: var(--color-amber); border-color: var(--color-amber); color: var(--color-white); }
.footer-social svg { width: 18px; height: 18px; }

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

/* --- Floating WhatsApp --------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* --- Reveal on scroll ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   TOUR DETAIL PAGE (safari5g, safari2g, etc.)
   ========================================================================== */

/* --- Page hero (compact, with breadcrumb) -------------------------------- */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
  padding: 140px 0 var(--space-9);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-out forwards;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 20, 16, 0.3) 0%, rgba(26, 20, 16, 0.15) 40%, rgba(26, 20, 16, 0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.breadcrumb {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.breadcrumb a { color: var(--color-gold); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-amber); }
.breadcrumb span.sep { opacity: 0.5; }
.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.page-hero h1 em { font-style: italic; color: var(--color-gold); font-weight: 400; }
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.page-hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(232, 168, 53, 0.35);
  color: var(--color-gold);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-hero-meta .pill svg { width: 14px; height: 14px; }
.page-hero p.lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-md);
  max-width: 640px;
  margin-bottom: var(--space-6);
}
.page-hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --- Highlights grid ----------------------------------------------------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.highlight {
  text-align: left;
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-cream-warm);
  border: 1px solid rgba(200, 125, 47, 0.12);
}
.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200, 125, 47, 0.14);
  border: 1px solid rgba(200, 125, 47, 0.35);
  display: grid;
  place-items: center;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-4);
}
.highlight-icon svg { width: 24px; height: 24px; display: block; }
.highlight h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}
.highlight p { font-size: var(--fs-sm); color: var(--color-muted); line-height: 1.55; }

/* --- Itinerary timeline -------------------------------------------------- */
.itinerary {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.itinerary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(200, 125, 47, 0.45), rgba(200, 125, 47, 0.1));
}
.itinerary-day {
  position: relative;
  padding: 0 0 var(--space-8) 96px;
}
.itinerary-day:last-child { padding-bottom: 0; }
.day-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  text-align: center;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(200, 125, 47, 0.35);
  z-index: 1;
}
.day-marker .num {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}
.day-marker .lbl {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  opacity: 0.85;
}
.day-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
}
.day-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}
.day-content .route {
  font-size: var(--fs-xs);
  color: var(--color-amber);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-4);
}
.day-content p { color: var(--color-charcoal); margin-bottom: var(--space-3); }
.day-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: var(--space-3);
}
.day-content ul li {
  padding-left: var(--space-5);
  position: relative;
  margin-bottom: var(--space-2);
  color: var(--color-charcoal);
  font-size: var(--fs-sm);
}
.day-content ul li::before {
  content: "›";
  position: absolute;
  left: var(--space-2);
  color: var(--color-amber);
  font-weight: 700;
}

/* --- Map (illustrated) -------------------------------------------------- */
.tour-map {
  background: var(--color-espresso);
  color: rgba(250, 246, 239, 0.85);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.tour-map h3 { color: var(--color-white); margin-bottom: var(--space-3); }
.tour-map p { color: rgba(250, 246, 239, 0.75); margin-bottom: var(--space-4); }
.tour-map-stops {
  list-style: none;
  padding: 0;
}
.tour-map-stops li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(232, 168, 53, 0.12);
  font-size: var(--fs-sm);
}
.tour-map-stops li:last-child { border-bottom: none; }
.tour-map-stops .num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.tour-map-stops strong { display: block; color: var(--color-white); }
.tour-map-stops span { font-size: var(--fs-xs); color: rgba(250, 246, 239, 0.6); }
.tour-map-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

/* --- Include / exclude lists --------------------------------------------- */
.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.includes-grid.includes-single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.includes-card {
  background: var(--color-cream-warm);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid rgba(200, 125, 47, 0.15);
}
.includes-card.excludes-card {
  background: var(--color-white);
  border-color: var(--color-line);
}
.includes-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.includes-card h3 .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.includes-card.includes-yes h3 .icon { background: rgba(37, 211, 102, 0.15); color: #1FB855; }
.includes-card.excludes-card h3 .icon { background: rgba(200, 125, 47, 0.15); color: var(--color-amber-dark); }
.includes-card ul { list-style: none; padding: 0; }
.includes-card li {
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  position: relative;
  color: var(--color-charcoal);
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.includes-card li:last-child { border-bottom: none; }
.includes-card.includes-yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FB855' stroke-width='3'><path d='M5 13l4 4L19 7'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.includes-card.excludes-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: rgba(200, 125, 47, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8651F' stroke-width='3'><path d='M6 6l12 12M18 6L6 18'/></svg>");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- FAQ accordion ------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: rgba(200, 125, 47, 0.3); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-espresso);
  list-style: none;
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-amber);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-amber-dark); }
.faq .faq-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-charcoal);
  line-height: 1.7;
}
.faq .faq-body p + p { margin-top: var(--space-3); }

/* --- Cross-link other tours --------------------------------------------- */
.cross-tours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.cross-tour {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-espresso);
}
.cross-tour img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.cross-tour:hover img { transform: scale(1.08); }
.cross-tour::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 20, 16, 0.9) 100%);
}
.cross-tour-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: var(--space-5);
  color: var(--color-white);
}
.cross-tour-body .duration {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}
.cross-tour-body h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-white);
}

/* --- Tour quick CTA ------------------------------------------------------ */
.tour-cta-band {
  background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-amber-dark) 100%);
  color: var(--color-white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.tour-cta-band h3 {
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: var(--space-2);
}
.tour-cta-band p { color: rgba(255, 255, 255, 0.88); font-size: var(--fs-md); margin: 0; }
.tour-cta-band-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.tour-cta-band .btn-ghost { color: var(--color-white); border-color: rgba(255,255,255,0.7); }
.tour-cta-band .btn-ghost:hover { background: rgba(255,255,255,0.15); }
.tour-cta-band .btn-primary {
  background: var(--color-white);
  color: var(--color-amber-dark);
}
.tour-cta-band .btn-primary:hover { background: var(--color-cream); color: var(--color-amber-dark); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .intro-grid { gap: var(--space-7); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .tour-map { grid-template-columns: 1fr; }
  .cross-tours { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: var(--space-8) 0; }

  .page-hero { min-height: 70vh; padding: 110px 0 var(--space-7); }
  .highlights { grid-template-columns: 1fr; }
  .itinerary::before { left: 22px; }
  .itinerary-day { padding-left: 70px; }
  .day-marker { width: 48px; height: 48px; }
  .day-marker .num { font-size: 1.15rem; }
  .day-marker .lbl { font-size: 0.5rem; }
  .day-content { padding: var(--space-5); }
  .tour-map { padding: var(--space-5); }
  .includes-grid { grid-template-columns: 1fr; }
  .cross-tours { grid-template-columns: 1fr; }
  .tour-cta-band { padding: var(--space-5); text-align: center; }
  .tour-cta-band-actions { width: 100%; justify-content: center; }


  .nav-menu, .nav-aside .lang-switch, .nav-brand .brand-sub { display: none; }
  .nav-toggle { display: flex; }
  /* backdrop-filter makes the header a containing block for fixed children,
     trapping the fixed mobile menu inside the ~64px bar. Disable it on mobile
     (bg is already near-opaque) so the menu anchors to the viewport. */
  .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(26, 20, 16, 0.98);
  }
  .nav-brand img { height: 48px; }
  .nav-wa span { display: none; }
  .nav-wa { padding: 0.5rem; }
  .nav-mobile {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--color-espresso);
    padding: 100px var(--space-5) var(--space-6);
    transform: translateX(100%);
    transition: transform 400ms var(--ease);
    overflow-y: auto;
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile ul { display: flex; flex-direction: column; gap: var(--space-2); }
  .nav-mobile a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-mobile .submenu-group { padding-left: var(--space-4); }
  .nav-mobile .submenu-group > strong {
    display: block;
    color: var(--color-amber);
    font-size: var(--fs-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
    font-family: var(--font-sans);
    font-weight: 600;
  }
  .nav-mobile .submenu-group a { font-size: 1.1rem; padding: var(--space-2) 0; }
  .nav-mobile-foot { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
  /* Stop the generic ".nav-mobile a" typography (1.5rem, no side padding,
     bottom border) from hijacking the WhatsApp button and overflowing it. */
  .nav-mobile-foot .btn {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    padding: 0.9rem 1.25rem;
    white-space: normal;
    text-align: center;
    border-bottom: none;
    line-height: 1.3;
  }

  .hero { min-height: 88vh; padding-top: 90px; }
  .hero-cta .btn { flex: 1 1 auto; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-badge { left: var(--space-4); bottom: -20px; padding: var(--space-4) var(--space-5); }
  .intro-badge strong { font-size: 2rem; }

  .tour-grid, .tour-grid.cols-2 { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery a:nth-child(1), .gallery a:nth-child(6) { grid-column: span 2; grid-row: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { justify-content: center; text-align: center; }

  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
}
