/*
Theme Name: QENP
Theme URI: http://localhost/queen
Author: Rich
Description: Queen Elizabeth National Park Uganda Safaris - Custom theme with savanna design tokens
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: qenp
Tags: travel, tourism, safari, custom-header, custom-logo, featured-images
*/

/* ============================================================
   SAVANNA DESIGN TOKENS
   ============================================================ */
:root {
  --bg:           #F4EDE4;
  --surface:      #E8D8C8;
  --primary:      #9E4A2E;
  --primary-mid:  #C06038;
  --accent:       #7A3428;
  --gold:         #C9A98A;
  --sand:         #C8956A;
  --text:         #2C1A10;
  --text-mid:     #6E5442;
  --dark-bg:      #3D2416;
  --darkest:      #2C1A10;
  --mist:         #FAF5EF;

  --radius-card: 18px;
  --radius-pill:  999px;
  --spring:       cubic-bezier(0.22,1,0.36,1);
  --ease:         cubic-bezier(0.4,0,0.2,1);
  --shadow-card:  0 8px 40px rgba(61,36,22,0.13);
  --shadow-hover: 0 20px 60px rgba(61,36,22,0.22);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.75em;
  color: var(--text-mid);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   TYPOGRAPHY SYSTEM
   Outfit (h1-h3) + Fraunces (h4) + Sacramento (script accents) + Quicksand (body)
   ============================================================ */
h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3em;
  letter-spacing: 0;
}
h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3em;
  letter-spacing: 0;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h2 { font-size: clamp(2rem, 4.5vw, 46px); }
h3 { font-size: clamp(1.6rem, 3vw, 36px); }
h4 { font-size: 28px; }

.script {
  font-family: 'Sacramento', cursive;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.1em;
  color: var(--primary-mid);
  display: block;
  margin-bottom: -0.2rem;
}
.script-lg {
  font-family: 'Sacramento', cursive;
  font-size: clamp(2.8rem, 7vw, 72px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.1em;
}
@media (max-width: 768px) {
  .script, .script-lg { font-size: clamp(2rem, 9vw, 3rem); }
}

/* ============================================================
   SECTION TAG
   ============================================================ */
.section-tag {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--primary-mid);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.9rem 2.2rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--spring);
  box-shadow: 0 6px 24px rgba(158,74,46,0.35);
}
.btn-primary:hover {
  background: var(--primary-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(192,96,56,0.40);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill);
  padding: 0.9rem 2.2rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--spring);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION — Transparent -> Frosted Glass on Scroll
   ============================================================ */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.45s var(--ease);
}
nav.site-nav.scrolled {
  background: rgba(244,237,228,0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(61,36,22,0.10);
  padding: 1rem 3rem;
}
.nav-logo {
  font-family: 'Sacramento', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo a { color: inherit; text-decoration: none; }
nav.site-nav.scrolled .nav-logo,
nav.site-nav.scrolled .nav-logo a { color: var(--text); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
nav.site-nav.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a.nav-cta,
.nav-links li:last-child a {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(158,74,46,0.30);
}
.nav-links a.nav-cta::after,
.nav-links li:last-child a::after { display: none; }
.nav-links a.nav-cta:hover,
.nav-links li:last-child a:hover { background: var(--primary-mid); }

/* ── Dropdown Sub-menu ── */
.nav-links li { position: relative; }
.nav-links li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 170px;
  background: rgba(244,237,228,0.97);
  backdrop-filter: blur(14px);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(61,36,22,0.16);
  padding: 0.35rem 0;
  margin-top: 0.45rem;
  list-style: none;
  z-index: 110;
  border: 1px solid rgba(61,36,22,0.06);
}
.nav-links li .sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(244,237,228,0.97);
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  display: block;
  animation: dropdownReveal 0.2s var(--ease);
}
@keyframes dropdownReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-links .sub-menu li { margin: 0; padding: 0; line-height: 1; }
.nav-links .sub-menu li a {
  display: block;
  padding: 0.38rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-mid) !important;
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.nav-links .sub-menu li a::after { display: none; }
.nav-links .sub-menu li a:hover {
  color: var(--primary) !important;
  background: rgba(158,74,46,0.06);
}
/* Parent item arrow indicator */
.nav-links li.menu-item-has-children > a::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.6;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s var(--spring);
}
nav.site-nav.scrolled .nav-hamburger span { background: var(--text); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Inner page nav — always solid */
body:not(.home) nav.site-nav {
  background: rgba(244,237,228,0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(61,36,22,0.10);
}
body:not(.home) .nav-logo,
body:not(.home) .nav-logo a { color: var(--text); }
body:not(.home) .nav-links a { color: var(--text-mid); }
body:not(.home) .nav-hamburger span { background: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  transition: transform 9s ease-out;
}
.hero-photo img.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(44,26,16,0.15) 0%,
      rgba(44,26,16,0.05) 25%,
      rgba(44,26,16,0.45) 55%,
      rgba(44,26,16,0.85) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem 4rem;
  max-width: 780px;
  opacity: 0;
  transform: translateY(32px);
  animation: heroReveal 1.2s var(--spring) 0.4s forwards;
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: #fff;
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.hero-script-tag {
  font-family: 'Sacramento', cursive;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1.1;
  letter-spacing: 1px;
}
.hero-sub {
  font-size: 1.21rem;
  font-weight: 400;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  color: rgba(255,255,255,0.78);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(201,169,138,0.20);
  background: rgba(44,26,16,0.55);
  backdrop-filter: blur(8px);
}
.hero-stat {
  flex: 1;
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(201,169,138,0.15);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 3rem;
  letter-spacing: 0;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(201,169,138,0.75);
  display: block;
  margin-top: 0.3rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--spring), transform 0.75s var(--spring);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.75s var(--spring), transform 0.75s var(--spring);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.65s var(--spring), transform 0.65s var(--spring);
}
.reveal.visible, .reveal-left.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
}
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal, .reveal-left, .reveal-scale {
  animation: revealFallback 0s 1.5s forwards;
}
.reveal.visible, .reveal-left.visible, .reveal-scale.visible {
  animation: none;
}
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }

/* ============================================================
   INTRO / STORY SECTION
   ============================================================ */
.section-intro {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--bg);
}
.intro-text .section-tag { margin-bottom: 1.2rem; }
.intro-text h2 { margin-bottom: 1.5rem; }
.intro-text p { margin-bottom: 1.1rem; font-size: 1.1rem; line-height: 1.85; }
.intro-text .intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: gap 0.3s ease;
}
.intro-text .intro-link:hover { gap: 0.9rem; }

.intro-visual {
  position: relative;
}
.intro-img-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface);
}
.intro-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--spring);
}
.intro-img-frame:hover img { transform: scale(1.05); }
.intro-img-frame::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 60px; height: 60px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}
.intro-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: #fff;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.intro-badge .badge-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.intro-badge .badge-label {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* ============================================================
   ACTIVITIES SECTION
   ============================================================ */
.section-activities {
  padding: 7rem 4rem;
  background: var(--mist);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header .section-tag {
  justify-content: center;
}
.section-header .section-tag::before { display: none; }
.section-header h2 { margin-top: 0.5rem; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; }

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.activity-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(61,36,22,0.07);
  box-shadow: 0 2px 16px rgba(61,36,22,0.05);
  cursor: pointer;
  transition: all 0.5s var(--spring);
}
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(158,74,46,0.15);
}
.activity-img {
  position: relative;
  height: 220px;
  background: var(--surface);
  overflow: hidden;
}
.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--spring);
}
.activity-card:hover .activity-img img { transform: scale(1.06); }
.activity-tag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(44,26,16,0.70);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}
.activity-body {
  padding: 1.6rem 1.75rem;
}
.activity-body h3 { margin-bottom: 0.6rem; font-size: 1.5rem; }
.activity-body h3 a { color: inherit; text-decoration: none; }
.activity-body h3 a:hover { color: var(--primary-mid); }
.activity-body p { font-size: 1.05rem; line-height: 1.75; }
.activity-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  transition: gap 0.3s ease;
}
.activity-link:hover { gap: 0.8rem; }

/* ============================================================
   GALLERY AUTO-SCROLL STRIP
   ============================================================ */
.section-gallery {
  padding: 5rem 0;
  background: var(--dark-bg);
  overflow: hidden;
  position: relative;
}
.gallery-header {
  text-align: center;
  padding: 0 4rem 3rem;
}
.gallery-header .section-tag {
  color: var(--gold);
  justify-content: center;
}
.gallery-header .section-tag::before { background: var(--gold); display: none; }
.gallery-header h2 { color: #fff; }

.gallery-track-wrap {
  position: relative;
}
.gallery-track-wrap::before,
.gallery-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.gallery-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-bg), transparent);
}
.gallery-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-bg), transparent);
}
.gallery-track {
  display: flex;
  gap: 1.25rem;
  animation: gallerySlide 40s linear infinite;
  width: max-content;
}
.gallery-track-wrap:hover .gallery-track { animation-play-state: paused; }
@keyframes gallerySlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gallery-item {
  width: 320px;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--spring);
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================================
   DARK STATS BAR
   ============================================================ */
.section-stats {
  background: linear-gradient(135deg, var(--darkest) 0%, var(--dark-bg) 60%, var(--accent) 100%);
  padding: 5rem 4rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 2rem 1rem;
  border-right: 1px solid rgba(201,169,138,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 3.8rem;
  display: block;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.stat-item .stat-label {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  color: rgba(201,169,138,0.65);
}

/* ============================================================
   PACKAGES / TOURS SECTION
   ============================================================ */
.section-packages {
  padding: 7rem 4rem;
  background: var(--bg);
}
.packages-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.packages-intro p { font-size: 1.1rem; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.package-card {
  border: 1px solid rgba(61,36,22,0.10);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  background: var(--mist);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.45s var(--spring);
}
.package-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--spring);
}
.package-card:hover::before { transform: scaleY(1); }
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(158,74,46,0.12);
}
.package-card.featured {
  background: var(--primary);
  border-color: var(--primary);
}
.package-card.featured .package-title { color: #fff; }
.package-card.featured .package-days,
.package-card.featured .package-price,
.package-card.featured p,
.package-card.featured .pkg-link { color: rgba(255,255,255,0.80); }
.package-card.featured::before { background: var(--gold); }

.pkg-badge {
  display: inline-block;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(158,74,46,0.10);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.package-card.featured .pkg-badge {
  color: var(--gold);
  background: rgba(201,169,138,0.18);
}
.package-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.package-days {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.package-card p {
  font-size: 1.05rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  color: var(--text-mid);
}
.package-price {
  font-family: 'Sacramento', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--primary);
  display: block;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.pkg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-mid);
  transition: gap 0.3s ease;
}
.pkg-link:hover { gap: 0.8rem; }

/* ============================================================
   WILDLIFE FEATURE
   ============================================================ */
.section-wildlife {
  padding: 7rem 4rem;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}
.wildlife-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.wildlife-img-main {
  grid-column: 1 / -1;
  height: 280px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
}
.wildlife-img-sm {
  height: 170px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
}
.wildlife-img-main img,
.wildlife-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--spring);
}
.wildlife-img-main:hover img,
.wildlife-img-sm:hover img { transform: scale(1.05); }

.wildlife-text .section-tag { margin-bottom: 1.2rem; }
.wildlife-text h2 { margin-bottom: 1.5rem; }
.wildlife-text p { font-size: 1.1rem; font-family: 'Quicksand', Helvetica, Arial, sans-serif; font-weight: 400; margin-bottom: 1rem; }
.wildlife-list {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}
.wildlife-list li {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}
.wildlife-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-mid);
  flex-shrink: 0;
}

/* ============================================================
   WHEN TO VISIT — Seasons Table
   ============================================================ */
.section-seasons {
  padding: 7rem 4rem;
  background: var(--dark-bg);
  color: rgba(255,255,255,0.80);
}
.seasons-header {
  text-align: center;
  margin-bottom: 4rem;
}
.seasons-header .section-tag { color: var(--gold); justify-content: center; }
.seasons-header .section-tag::before { background: var(--gold); display: none; }
.seasons-header h2 { color: #fff; margin-top: 0.5rem; }

.table-wrap { overflow-x: auto; border-radius: 16px; }
.seasons-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.seasons-table thead tr { background: rgba(0,0,0,0.30); }
.seasons-table thead th {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(201,169,138,0.60);
  padding: 1.1rem 1.25rem;
  text-align: left;
}
.seasons-table tbody tr {
  background: rgba(255,255,255,0.04);
  transition: background 0.2s ease;
}
.seasons-table tbody tr:hover { background: rgba(255,255,255,0.09); }
.seasons-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.07); }
.seasons-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.seasons-table tbody td:first-child { font-weight: 600; color: #fff; }
.season-pill {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill-best  { background: rgba(201,169,138,0.20); color: var(--gold); }
.pill-good  { background: rgba(192,96,56,0.20);  color: #E8A07A; }
.pill-wet   { background: rgba(44,26,16,0.40);   color: rgba(255,255,255,0.45); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta {
  padding: 8rem 4rem;
  background: linear-gradient(135deg, var(--darkest) 0%, var(--dark-bg) 60%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.section-cta::before {
  content: 'QENP';
  position: absolute;
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-size: 22vw;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner .section-tag { color: var(--gold); justify-content: center; }
.cta-inner .section-tag::before { background: var(--gold); display: none; }
.cta-inner h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 46px); margin: 0.5rem 0 1.2rem; }
.cta-inner p { color: rgba(255,255,255,0.68); font-size: 1.15rem; font-family: 'Quicksand', Helvetica, Arial, sans-serif; font-weight: 400; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PRESS LOGOS
   ============================================================ */
.press-logos {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2.5rem;
}
.press-logos__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.press-logos__inner img {
  height: 38px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1) brightness(2);
  transition: opacity 0.3s, filter 0.3s;
}
.press-logos__inner img:hover {
  opacity: 0.85;
  filter: grayscale(0.2) brightness(1.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--darkest);
  color: rgba(255,255,255,0.60);
  padding: 5rem 4rem 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .brand-logo {
  font-family: 'Sacramento', cursive;
  font-style: normal;
  font-size: 2.4rem;
  font-weight: 400;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.footer-brand .brand-logo a { color: #fff; text-decoration: none; }
.footer-brand p { font-size: 0.95rem; line-height: 1.8; max-width: 240px; }
.footer-col h4 {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col .menu { list-style: none; padding: 0; margin: 0; }
.footer-col .menu li { margin-bottom: 0.6rem; }
.footer-col .menu li a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
}
.footer-col .menu li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.9rem; }
.footer-legal { font-size: 0.72rem !important; color: rgba(255,255,255,0.45); width: 100%; }
.footer-legal a { color: rgba(255,255,255,0.65); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.footer-social { display: flex; gap: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION READ-MORE LINKS
   ============================================================ */
.section-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-mid);
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.section-readmore:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* ============================================================
   SINGLE POST LAYOUT (Content + Sidebar)
   ============================================================ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 3rem 5rem;
  align-items: start;
}
.single-main {
  min-width: 0;
}
.single-main h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
}
.single-main h2 { color: var(--text); margin: 2rem 0 1rem; }
.single-main h3 { color: var(--text); margin: 1.5rem 0 0.75rem; }
.single-main ul, .single-main ol {
  margin-left: 1.5rem;
  margin-bottom: 1.1em;
  color: var(--text-mid);
}
.single-main li { margin-bottom: 0.5rem; font-weight: 400; }
.single-main blockquote {
  border-left: 3px solid var(--primary-mid);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--mist);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.single-main img {
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}
.single-main .section-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 0 2rem;
}
.single-main a { color: var(--primary); font-weight: 600; transition: color 0.2s ease; }
.single-main a:hover { color: var(--primary-mid); }

/* Sidebar */
.single-sidebar {
  position: sticky;
  top: 6rem;
}
.sidebar-widget {
  background: var(--mist);
  border: 1px solid rgba(61,36,22,0.07);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-cta {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 1.5rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s var(--spring), box-shadow 0.5s var(--spring);
}
.sidebar-cta:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.sidebar-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transition: transform 6s ease-out;
}
.sidebar-cta:hover .sidebar-cta-bg {
  transform: scale(1.06);
}
.sidebar-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44,26,16,0.30) 0%,
    rgba(44,26,16,0.50) 25%,
    rgba(44,26,16,0.85) 55%,
    rgba(44,26,16,0.96) 100%
  );
}
.sidebar-cta-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.6rem 1.8rem;
  text-align: left;
}
.sidebar-cta-script {
  font-family: 'Sacramento', cursive;
  font-size: 1.8rem;
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.50);
}
.sidebar-cta h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.50);
}
.sidebar-cta-rule {
  width: 40px;
  height: 2px;
  background: #fff;
  margin-bottom: 0.8rem;
  border-radius: 2px;
  opacity: 0.6;
}
.sidebar-cta p {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.72);
}
.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.4rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--spring);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.sidebar-cta-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(158,74,46,0.50);
}
.sidebar-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(201,169,138,0.70);
  letter-spacing: 0.04em;
}
.sidebar-cta-trust svg {
  color: rgba(255,255,255,0.60);
}
.sidebar-heading {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(61,36,22,0.08);
}
.sidebar-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-posts li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(61,36,22,0.06);
}
.sidebar-posts li:last-child { border-bottom: none; }
.sidebar-posts li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
  line-height: 1.4;
}
.sidebar-posts li a:hover { color: var(--primary); }
.sidebar-posts li a svg {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s var(--spring);
}
.sidebar-posts li a:hover svg {
  opacity: 1;
  transform: translateX(0);
}
.sidebar-posts--compact li a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 0;
}

/* Sidebar Tags */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sidebar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid rgba(61,36,22,0.10);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all 0.25s var(--spring);
}
.sidebar-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}
.sidebar-tag:hover .tag-count { color: rgba(255,255,255,0.70); }
.tag-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.2s ease;
}

/* ============================================================
   INNER PAGE CONTENT (pages, not posts)
   ============================================================ */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
}
.page-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
}
.page-content h2 { color: var(--text); margin: 2rem 0 1rem; }
.page-content h3 { color: var(--text); margin: 1.5rem 0 0.75rem; }
.page-content ul, .page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.1em;
  color: var(--text-mid);
}
.page-content li { margin-bottom: 0.5rem; font-weight: 400; }
.page-content blockquote {
  border-left: 3px solid var(--primary-mid);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--mist);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.page-content img {
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}
.page-content .section-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 0 2rem;
}

/* Post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(61,36,22,0.10);
}
.post-nav a {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.3s ease;
}
.post-nav a:hover { color: var(--primary-mid); }

/* Featured image on single */
.single-featured-img {
  width: 100%;
  border-radius: var(--radius-card);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   WORDPRESS UTILITY CLASSES
   ============================================================ */
.wp-block-image img { border-radius: 16px; }
.alignwide { max-width: 1160px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE — 5 BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  nav.site-nav { padding: 1.2rem 2rem; }
  nav.site-nav.scrolled { padding: 0.9rem 2rem; }
  .hero-content { padding: 0 3rem 3rem; }
  .section-intro, .section-wildlife { padding: 6rem 2.5rem; gap: 3rem; }
  .section-activities, .section-packages, .section-seasons, .section-stats { padding: 6rem 2.5rem; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .site-footer { padding: 4rem 2.5rem 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .single-layout { grid-template-columns: 1fr 280px; gap: 2.5rem; padding: 7rem 2rem 4rem; }
}

@media (max-width: 768px) {
  nav.site-nav { padding: 1rem 1.5rem; }
  nav.site-nav.scrolled { padding: 0.85rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(44,26,16,0.97);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-top: 0.3rem;
    padding: 0;
    display: none;
  }
  .nav-links li .sub-menu::before { display: none; }
  .nav-links.open li.menu-item-has-children > .sub-menu { display: block; }
  .nav-links .sub-menu li a {
    color: rgba(255,255,255,0.60) !important;
    font-size: 0.72rem;
    padding: 0.3rem 0;
    text-align: center;
  }
  .nav-links .sub-menu li a:hover {
    color: var(--gold) !important;
    background: transparent;
  }
  .nav-links a,
  .nav-links li a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85) !important;
  }
  .nav-links a.nav-cta,
  .nav-links li:last-child a {
    background: var(--primary);
    color: #fff !important;
    padding: 0.75rem 2rem;
  }
  .nav-hamburger { display: flex; }
  .single-layout { grid-template-columns: 1fr; gap: 2rem; padding: 6rem 1.5rem 4rem; }
  .single-sidebar { position: static; }
  .hero-content { padding: 0 1.5rem 2.5rem; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(201,169,138,0.10); }
  .section-intro { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .intro-visual { order: -1; }
  .intro-badge { right: 0; bottom: -1rem; }
  .section-activities { padding: 5rem 1.5rem; }
  .activities-grid { grid-template-columns: 1fr; }
  .section-wildlife { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .section-packages { padding: 5rem 1.5rem; }
  .packages-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .section-stats { padding: 5rem 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-seasons { padding: 5rem 1.5rem; }
  .section-cta { padding: 6rem 1.5rem; }
  .site-footer { padding: 4rem 1.5rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-content { padding: 6rem 1.5rem 4rem; }
}

@media (max-width: 640px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; justify-content: center; }
  .activities-grid { gap: 1.25rem; }
  .section-gallery { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero-stat { flex: 0 0 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { gap: 1rem; }
  .wildlife-list { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn-primary, .cta-btns .btn-ghost { width: 100%; justify-content: center; }
  .page-content { padding: 5rem 1rem 3rem; }
  .page-content h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
}

@media (max-width: 375px) {
  .hero-content { padding: 0 1rem 2rem; }
  h1 { font-size: 1.6rem; }
  .section-intro, .section-activities, .section-packages, .section-seasons, .section-stats { padding: 4rem 1rem; }
  .section-wildlife { padding: 4rem 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TOUR OPERATOR DIRECTORY (ad-inserter randomized divs)
   Uses CSS columns for 3-col layout + counter for numbering
   ============================================================ */
.single-main { counter-reset: operator; }

.single-main > div[id^="local-"] {
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--mist);
  border: 1px solid rgba(61,36,22,0.08);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 6px;
  transition: all 0.3s var(--spring);
  line-height: 1.3;
  counter-increment: operator;
}
.single-main > div[id^="local-"]:hover {
  background: #fff;
  border-color: rgba(158,74,46,0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,36,22,0.10);
}
.single-main > div[id^="local-"]::before {
  content: counter(operator);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.single-main > div[id^="local-"]:hover::before {
  background: var(--primary-mid);
}
.single-main > div[id^="local-"] a {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text) !important;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.single-main > div[id^="local-"]:hover a {
  color: var(--primary) !important;
}
/* Hide broken </br> tags and dummy ad images */
.single-main > div[id^="local-"] br { display: none; }
.single-main > div[id^="local-"] img { display: none !important; }
/* Divs with only an image and no link — hide entirely */
.single-main > div[id^="local-"]:not(:has(a)) { display: none !important; }
.operator-grid > div[id^="local-"]:not(:has(a)) { display: none !important; }

/* 3-column grid wrapper (injected by JS) */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 900px) {
  .operator-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .operator-grid { grid-template-columns: 1fr; }
}
/* Inside grid, remove bottom margin (gap handles spacing) */
.operator-grid > div[id^="local-"] { margin-bottom: 0; }

/* ============================================================
   SAFARI CARDS & CTA BOX
   ============================================================ */
.safari-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.safari-card {
  background: var(--mist);
  border: 1px solid rgba(61,36,22,0.08);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
  position: relative;
  transition: all 0.45s var(--spring);
}
.safari-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--spring);
  border-radius: 3px 0 0 3px;
}
.safari-card:hover::before { transform: scaleY(1); }
.safari-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(158,74,46,0.12);
}
.safari-card-days {
  display: inline-block;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(158,74,46,0.10);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}
.safari-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.safari-card h3 a { color: var(--text); text-decoration: none; }
.safari-card h3 a:hover { color: var(--primary-mid); }
.safari-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}

.safari-cta-box {
  background: linear-gradient(135deg, var(--darkest) 0%, var(--dark-bg) 60%, var(--primary) 100%);
  border-radius: var(--radius-card);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0 1rem;
}
.safari-cta-box h2,
.safari-cta-box h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: #fff;
  margin-bottom: 0.8rem;
}
.safari-cta-box p {
  color: rgba(255,255,255,0.70);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}
.safari-cta-box .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.safari-cta-box .btn-primary:hover {
  background: var(--gold);
  color: var(--darkest);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.30);
}
.safari-cta-box .btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}
.safari-cta-box .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ── Safari Page Hero ── */
.safari-page-hero {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 0;
}
.safari-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,26,16,0.15) 0%, rgba(44,26,16,0.50) 40%, rgba(44,26,16,0.88) 100%);
}
.safari-page-hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2.5rem 2rem;
}

/* ── Safari Page Stats Strip ── */
.safari-page-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--darkest);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  margin-bottom: 3rem;
}
.safari-page-stat {
  padding: 1.2rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(201,169,138,0.12);
}
.safari-page-stat:last-child { border-right: none; }
.safari-page-stat .stat-num {
  font-size: 1.8rem;
  margin-bottom: 0.15rem;
}
.safari-page-stat .stat-label {
  font-size: 0.68rem;
}

/* ── Safari Category Section ── */
.safari-category {
  margin-bottom: 3rem;
}
.safari-category-header {
  margin-bottom: 1.5rem;
}
.safari-category-header h2 {
  margin-bottom: 0.4rem;
}
.safari-category-header p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 600px;
}

/* ── Safari Cards V2 (with images) ── */
.safari-cards-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}
.safari-card-v2 {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(61,36,22,0.07);
  box-shadow: 0 2px 16px rgba(61,36,22,0.05);
  transition: all 0.45s var(--spring);
}
.safari-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(158,74,46,0.12);
}
.safari-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.safari-card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(44,26,16,0.75);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}
.safari-card-body {
  padding: 1.3rem 1.4rem 1.4rem;
}
.safari-card-body h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}
.safari-card-body h3 a { color: var(--text); text-decoration: none; }
.safari-card-body h3 a:hover { color: var(--primary-mid); }

.safari-card-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.safari-card-highlights li {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.safari-card-highlights li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-mid);
  flex-shrink: 0;
}

.safari-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(61,36,22,0.07);
}
.safari-card-price {
  font-family: 'Sacramento', cursive;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.3px;
  line-height: 1;
}
.safari-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-mid);
  transition: gap 0.3s ease;
}
.safari-card-link:hover { gap: 0.7rem; }

@media (max-width: 768px) {
  .safari-cards-grid { grid-template-columns: 1fr; }
  .safari-cards-v2 { grid-template-columns: 1fr; }
  .safari-cta-box { padding: 2rem 1.5rem; }
  .safari-page-hero { min-height: 260px; }
  .safari-page-hero-content { padding: 1.5rem; }
  .safari-page-stats { grid-template-columns: repeat(2, 1fr); }
  .safari-page-stat { border-bottom: 1px solid rgba(201,169,138,0.08); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .hero-content { opacity: 1; transform: none; }
}
