/* ============================================================
   TOURIXA — desert-safari.css
   Premium Safari Experience Page Styles
   v1.0.0 · ThemeForest-ready
   ============================================================ */


/* ============================================================
   §0  SCROLL PROGRESS + CURSOR GLOW
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary), var(--color-dawn));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  will-change: transform;
  box-shadow: 0 0 10px rgba(244,98,42,.5);
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,169,106,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%,-50%);
  will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }


/* ============================================================
   §1  HERO — DESERT CINEMATIC
   ============================================================ */

.hero-desert {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0a0c10;
}

/* Parallax image */
.parallax-bg {
  position: absolute;
  inset: -15%;
  will-change: transform;
  transition: none;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero canvas particles */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: .6;
}

/* Atmospheric overlays */
.atmosphere-overlay { position: absolute; inset: 0; pointer-events: none; }
.atmosphere-vignette {
  z-index: 2;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 35%, rgba(4,6,12,.6) 100%);
}
.atmosphere-bottom {
  z-index: 3;
  background: linear-gradient(to top, rgba(4,6,12,.85) 0%, rgba(4,6,12,.3) 35%, transparent 65%);
}

/* Desert warm horizon glow */
.horizon-glow-warm {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 280px;
  background: linear-gradient(to top,
    rgba(212,169,106,.22) 0%,
    rgba(244,98,42,.10) 30%,
    transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* Light rays — use --r custom prop */
.light-rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.light-ray {
  position: absolute;
  top: -20%;
  width: 1px;
  height: 140%;
  background: linear-gradient(to bottom, rgba(255,240,180,.07), transparent);
  transform-origin: top center;
  animation: ray-sweep 9s ease-in-out infinite alternate;
}
.light-ray:nth-child(1) { left: 15%; }
.light-ray:nth-child(2) { left: 28%; }
.light-ray:nth-child(3) { left: 45%; }
.light-ray:nth-child(4) { left: 63%; }
.light-ray:nth-child(5) { left: 80%; }
@keyframes ray-sweep {
  from { opacity: .25; transform: rotate(var(--r, 0deg)) scaleY(.9); }
  to   { opacity: .65; transform: rotate(calc(var(--r, 0deg) + 4deg)) scaleY(1.1); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 6;
  padding-block-start: 100px;
  padding-block-end: 120px;
}

/* Badge eyebrow */
.hero-desert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,169,106,.12);
  border: 1px solid rgba(212,169,106,.3);
  backdrop-filter: blur(10px);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-block-end: 28px;
}

/* Hero title */
.hero-desert-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: #fff;
  margin-block-end: 24px;
  display: flex;
  flex-wrap: wrap;
  column-gap: .3em;
}

/* Word reveal */
.hero-title-word {
  overflow: hidden;
  display: inline-block;
  line-height: 1.08;
}
.hero-title-word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: word-lift 1.1s cubic-bezier(0.19,1,0.22,1) both;
}
.hero-desert-title .hero-title-word:nth-child(1) .hero-title-word-inner { animation-delay: .2s; }
.hero-desert-title .hero-title-word:nth-child(2) .hero-title-word-inner { animation-delay: .38s; }
.hero-desert-title .hero-title-word:nth-child(3) .hero-title-word-inner { animation-delay: .56s; }
@keyframes word-lift {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.text-gradient {
  background: linear-gradient(110deg, var(--color-secondary) 0%, var(--color-dawn) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-flow 4s linear infinite;
}
@keyframes gradient-flow {
  to { background-position: -200% center; }
}

/* Subtitle */
.hero-desert-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.6);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.7;
  margin-block-end: 28px;
}

/* Meta strip */
.hero-desert-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-block-end: 36px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding-inline: 20px;
}
.hero-meta-item:first-child { padding-inline-start: 0; }
.hero-meta-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* CTA row */
.hero-desert-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  animation: float 2.5s ease-in-out infinite;
}
.mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  position: relative;
}
.mouse-dot {
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 99px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-scroll 2s ease-in-out infinite;
}
@keyframes mouse-scroll {
  0%   { opacity:1; transform: translateX(-50%) translateY(0); }
  55%  { opacity:0; transform: translateX(-50%) translateY(10px); }
  100% { opacity:0; transform: translateX(-50%) translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-8px); }
}

/* Hero entrance animation */
.hero-entrance {
  animation: hero-enter 1.1s cubic-bezier(0.19,1,0.22,1) both;
}
@keyframes hero-enter {
  from { opacity:0; transform: translateY(50px); filter: blur(6px); }
  to   { opacity:1; transform: translateY(0);    filter: blur(0); }
}


/* ============================================================
   §2  EXPERIENCES SECTION
   ============================================================ */

.experiences-section {
  background: var(--color-bg);
  position: relative;
}
.experiences-section::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* Extend card-destination card description */
.card-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  margin-block-end: 14px;
}

/* Experience card extra meta */
.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  padding-block-start: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 3D Card */
.card-3d {
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
}

/* Taller aspect for experience cards */
.exp-card .card-media {
  aspect-ratio: 3 / 4;
}

/* Section header overline variant */
.section-header .overline span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--color-accent);
}


/* ============================================================
   §3  TIMELINE SECTION
   ============================================================ */

.timeline-section {
  background: var(--color-surface-2);
  position: relative;
}

/* Vertical track */
.timeline-track {
  position: relative;
  padding-inline-start: 0;
  max-width: 860px;
  margin-inline: auto;
}

/* Vertical line */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
}
.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary));
  border-radius: 99px;
  transition: height .15s linear;
  will-change: height;
  box-shadow: 0 0 12px rgba(244,98,42,.4);
}

/* Timeline item */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 0 24px;
  margin-block-end: 56px;
  align-items: start;
}
.timeline-item:last-child { margin-block-end: 0; }

/* Alternate sides */
.timeline-item:nth-child(odd)  .timeline-content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-item:nth-child(odd)  .timeline-dot     { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(odd)  .timeline-time    { text-align: right; }

.timeline-item:nth-child(even) .timeline-dot     { grid-column: 2; grid-row: 1; order: 1; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; grid-row: 1; order: 2; }

/* Dot */
.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.timeline-dot-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 2.5px solid var(--color-border);
  transition: background .4s, border-color .4s, transform .4s var(--ease-bounce), box-shadow .4s;
}
.timeline-item.is-visible .timeline-dot-inner {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(244,98,42,.12);
  transform: scale(1.15);
}
.timeline-dot-active .timeline-dot-inner {
  background: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 0 8px rgba(212,169,106,.18), 0 0 24px rgba(212,169,106,.35) !important;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(212,169,106,.18); }
  50%     { box-shadow: 0 0 0 14px rgba(212,169,106,.08), 0 0 28px rgba(212,169,106,.3); }
}

/* Time label */
.timeline-time {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-block-end: 10px;
  display: block;
}

/* Timeline card */
.timeline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-bounce), box-shadow .45s, border-color .3s;
}
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,169,106,.2);
}
.timeline-item-highlight .timeline-card {
  border-color: rgba(212,169,106,.3);
  box-shadow: 0 0 0 1px rgba(212,169,106,.15), var(--shadow-md);
}

.timeline-card-media {
  overflow: hidden;
}
.timeline-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(0.19,1,0.22,1);
  will-change: transform;
}
.timeline-card:hover .timeline-card-media img { transform: scale(1.06); }

.timeline-card-body { padding: 20px 22px; }
.timeline-card-body h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-block-end: 10px;
  line-height: 1.2;
}
.timeline-card-body p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}


/* ============================================================
   §4  SAFARI GALLERY
   ============================================================ */

.gallery-safari-section {
  padding-block: var(--space-section);
  background: #07090f;
}

.gallery-safari {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 220px;
  gap: 10px;
  margin-block-start: var(--space-6);
}
.gallery-safari .gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-safari .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(0.19,1,0.22,1);
  will-change: transform;
}
.gallery-safari .gallery-item:hover img { transform: scale(1.08); }
.gallery-safari .gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,6,12,.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
}

/* Stagger slow variant */
.anim-stagger-slow > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}
.anim-stagger-slow.is-visible > * { opacity: 1; transform: none; }
.anim-stagger-slow.is-visible > *:nth-child(1) { transition-delay: .00s; }
.anim-stagger-slow.is-visible > *:nth-child(2) { transition-delay: .12s; }
.anim-stagger-slow.is-visible > *:nth-child(3) { transition-delay: .24s; }
.anim-stagger-slow.is-visible > *:nth-child(4) { transition-delay: .36s; }
.anim-stagger-slow.is-visible > *:nth-child(5) { transition-delay: .48s; }
.anim-stagger-slow.is-visible > *:nth-child(6) { transition-delay: .60s; }


/* ============================================================
   §5  BOOKING CTA SECTION
   ============================================================ */

.cta-safari-section { padding-block: var(--space-section); background: var(--color-bg); }

.cta-safari-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.cta-safari-bg {
  position: absolute;
  inset: -10%;
  will-change: transform;
}
.cta-safari-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-safari-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(4,6,12,.92) 0%,
    rgba(10,20,40,.82) 40%,
    rgba(4,6,12,.7) 100%
  );
  z-index: 1;
}

.cta-safari-content {
  position: relative;
  z-index: 3;
  padding: 64px 72px;
  max-width: 700px;
}
.cta-safari-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-block: 14px 18px;
}
.cta-safari-content h2 em { color: var(--color-secondary); font-style: italic; }
.cta-safari-content .text-lead {
  font-size: var(--text-base);
  color: rgba(255,255,255,.6);
  max-width: 480px;
  line-height: 1.75;
  margin-block-end: 32px;
}

/* CTA Stats */
.cta-safari-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-block-end: 36px;
}
.cta-stat {
  display: flex;
  flex-direction: column;
  padding-inline: 24px;
}
.cta-stat:first-child { padding-inline-start: 0; }
.cta-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
}
.cta-stat-label {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-block-start: 4px;
}
.cta-stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* CTA action row */
.cta-safari-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* ============================================================
   §6  FOOTER — SAFARI VARIANT
   ============================================================ */

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-7);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 320px;
  margin-block-start: var(--space-2);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-block-start: var(--space-4);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: border-color .3s, color .3s, transform .3s var(--ease-bounce), box-shadow .3s;
}
.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(244,98,42,.3);
}

.footer-links { display: flex; gap: var(--space-6); }
.footer-col h6 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-block-end: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .25s, transform .25s;
  display: inline-block;
}
.footer-col ul li a:hover { color: rgba(255,255,255,.85); transform: translateX(4px); }

.footer-bottom {
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,.3); }


/* ============================================================
   §7  TOAST NOTIFICATIONS
   ============================================================ */

.toast-container {
  position: fixed;
  bottom: var(--space-5);
  inset-inline-end: var(--space-5);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  pointer-events: all;
  max-width: 340px;
  transform: translateX(120%);
  opacity: 0;
  animation: toast-in .45s cubic-bezier(0.19,1,0.22,1) forwards;
  backdrop-filter: blur(20px);
}
.toast.is-leaving {
  animation: toast-out .35s cubic-bezier(0.19,1,0.22,1) forwards;
}
.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.toast-text { font-size: var(--text-sm); font-weight: 500; }
.toast-close {
  margin-inline-start: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: color .2s;
}
.toast-close:hover { color: var(--color-text-primary); }
@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toast-out {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(120%); opacity: 0; }
}


/* ============================================================
   §8  RIPPLE + OBSERVE ANIMATIONS
   ============================================================ */

[data-ripple] { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.26);
  transform: scale(0);
  animation: ripple-out .65s cubic-bezier(0.19,1,0.22,1) forwards;
  pointer-events: none;
}
@keyframes ripple-out { to { transform: scale(4.5); opacity: 0; } }

/* Observe-based reveal */
[data-observe] {
  transition-property: opacity, transform, filter;
  transition-duration: .9s;
  transition-timing-function: cubic-bezier(0.19,1,0.22,1);
}
[data-observe]:not(.is-visible) { opacity: 0; }
.anim-fade-up:not(.is-visible)  { transform: translateY(40px); }
[data-observe].is-visible       { opacity: 1; transform: none; filter: none; }

.anim-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(0.19,1,0.22,1), transform .7s cubic-bezier(0.19,1,0.22,1);
}
.anim-stagger.is-visible > * { opacity: 1; transform: none; }
.anim-stagger.is-visible > *:nth-child(1) { transition-delay: .00s; }
.anim-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.anim-stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.anim-stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }
.anim-stagger.is-visible > *:nth-child(5) { transition-delay: .48s; }


/* ============================================================
   §9  UTILITY OVERRIDES
   ============================================================ */

.py-section { padding-block: var(--space-section); }

/* Section header for this page */
.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-block-end: var(--space-7);
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-block: 12px 14px;
}
.section-header p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.section-header h2 em { color: var(--color-accent); font-style: italic; }


/* ============================================================
   §10  RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .timeline-item {
    grid-template-columns: 1fr 36px 1fr;
    gap: 0 16px;
  }
  .cta-safari-content { padding: 48px 48px; }
}

@media (max-width: 900px) {
  .gallery-safari {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-safari .gallery-item.large { grid-column: 1 / -1; grid-row: auto; height: 260px; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: var(--space-4); }
}

@media (max-width: 767px) {
  /* Timeline collapses to single column */
  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 0 14px;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { grid-column: 1; order: unset; }
  .timeline-item:nth-child(odd) .timeline-time { text-align: left; }
  .timeline-line { left: 18px; transform: none; }

  .cta-safari-content { padding: 36px 28px; }
  .cta-safari-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-stat { padding-inline: 0; }
  .cta-stat-divider { display: none; }
  .cta-safari-actions { flex-direction: column; }
  .cta-safari-actions .btn { width: 100%; justify-content: center; }

  .hero-desert-cta { flex-direction: column; }
  .hero-desert-cta .btn { width: 100%; justify-content: center; }

  .experiences-grid { grid-template-columns: 1fr !important; }
  .gallery-safari { grid-template-columns: 1fr; }
  .gallery-safari .gallery-item.large { height: 220px; }
}

@media (max-width: 479px) {
  .hero-desert-meta { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-meta-divider { display: none; }
  .hero-meta-item { padding-inline: 0; }
  .cta-safari-content { padding: 28px 20px; }
}


/* ============================================================
   §11  REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero-title-word-inner { animation: none; opacity: 1; transform: none; }
  .hero-entrance         { animation: none; opacity: 1; transform: none; }
  .text-gradient         { animation: none; }
  .light-ray             { animation: none; }
  .cursor-glow           { display: none; }
  [data-observe]:not(.is-visible)    { opacity: 1; transform: none; }
  .anim-stagger > *                  { opacity: 1; transform: none; }
  .anim-stagger-slow > *             { opacity: 1; transform: none; }
  .timeline-card:hover               { transform: none; }
  .scroll-indicator                  { animation: none; }
}