/* ════════════════════════════════════════════════════════════════════
   SAFARI WAY — Editorial luxury desert
   Custom CSS, no framework. RTL-aware via CSS logical properties.
   ════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  /* Warm sand palette in OKLCH */
  --sand-50:  oklch(0.985 0.012 82);
  --sand-100: oklch(0.965 0.022 80);
  --sand-200: oklch(0.93 0.035 75);
  --sand-300: oklch(0.86 0.05 70);
  --sand-400: oklch(0.74 0.06 65);
  --sand-500: oklch(0.58 0.06 55);
  --sand-700: oklch(0.36 0.04 45);
  --sand-800: oklch(0.24 0.03 40);
  --sand-900: oklch(0.16 0.025 38);
  --sand-950: oklch(0.10 0.02 35);

  --gold-400: oklch(0.79 0.115 70);
  --gold-500: oklch(0.72 0.13 65);
  --gold-600: oklch(0.62 0.14 55);
  --gold-700: oklch(0.52 0.13 50);

  --orange-500: oklch(0.65 0.18 45);

  --bg:        var(--sand-50);
  --bg-alt:    var(--sand-100);
  --bg-deep:   var(--sand-950);
  --surface:   #ffffff;
  --ink:       var(--sand-900);
  --ink-soft:  var(--sand-700);
  --ink-mute:  var(--sand-500);
  --line:      oklch(0.88 0.02 70);
  --line-soft: oklch(0.93 0.015 75);
  --accent:    var(--gold-500);
  --accent-deep: var(--gold-700);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --font-body: 'Outfit', 'Cairo', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Sizing */
  --container: 1440px;
  --container-narrow: 800px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadows — soft, warm */
  --shadow-sm: 0 1px 2px rgb(60 40 20 / 0.06), 0 1px 3px rgb(60 40 20 / 0.04);
  --shadow-md: 0 6px 20px -8px rgb(60 40 20 / 0.16), 0 2px 6px rgb(60 40 20 / 0.06);
  --shadow-lg: 0 20px 40px -16px rgb(60 40 20 / 0.18), 0 6px 14px rgb(60 40 20 / 0.08);
  --shadow-xl: 0 32px 60px -20px rgb(60 40 20 / 0.22), 0 10px 20px rgb(60 40 20 / 0.10);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Header height */
  --header-h: 76px;
}

[dir="rtl"] {
  --font-display: 'Amiri', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Cairo', 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* ── 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-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-block-end: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow-light { color: oklch(0.92 0.04 80); }
.eyebrow-light::before { background: oklch(0.92 0.04 80); }

[dir="rtl"] .eyebrow { letter-spacing: 0.04em; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
  display: block;
}

[dir="rtl"] .section-title { line-height: 1.4; }
[dir="rtl"] .section-title em { font-style: normal; font-weight: 700; display: block; margin-block-start: 0.25em; }

.section-head {
  margin-block-end: clamp(2rem, 4vw, 3.5rem);
  max-width: 720px;
}
.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.section-head-center .eyebrow { justify-content: center; }

/* ── CONTAINER ──────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow {
  max-width: var(--container-narrow);
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--sand-50);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--sand-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--sand-50);
  border: 1px solid oklch(1 0 0 / 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: oklch(1 0 0 / 0.12);
  border-color: oklch(1 0 0 / 0.7);
}
.btn-sm  { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-lg  { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-block: 0.25rem;
  transition: gap 0.3s var(--ease-out), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow:hover {
  color: var(--accent-deep);
  gap: 0.7rem;
  border-color: var(--accent);
}

/* ── HEADER ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  padding-block: 1rem;
  transition: background-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: oklch(0.99 0.012 82 / 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: oklch(0.98 0.02 80);
  transition: color 0.3s var(--ease);
}
.is-scrolled .brand { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-name em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.brand-large .brand-name { font-size: 1.7rem; }

.nav-desktop {
  display: flex;
  gap: 2rem;
  font-size: 0.92rem;
  color: oklch(0.95 0.02 80);
  transition: color 0.3s var(--ease);
}
.is-scrolled .nav-desktop { color: var(--ink-soft); }
.nav-desktop a {
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: var(--logical-start, left);
  transition: transform 0.3s var(--ease-out);
}
[dir="rtl"] .nav-desktop a::after { transform-origin: right; }
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.lang-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid oklch(1 0 0 / 0.35);
  color: oklch(0.98 0.02 80);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.is-scrolled .lang-toggle {
  border-color: var(--line);
  color: var(--ink);
}
.lang-toggle:hover { background: var(--accent); border-color: var(--accent); color: var(--sand-900); }

.header-cta { /* visible on desktop */ }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
  border: 1px solid oklch(1 0 0 / 0.35);
  border-radius: 50%;
  transition: border-color 0.25s var(--ease);
}
.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: oklch(0.98 0.02 80);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease);
}
.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  z-index: 49;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-mobile.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a:not(.btn) { padding-block: 0.5rem; }
.nav-mobile .btn { font-size: 0.95rem; max-width: 280px; }

@media (max-width: 900px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-block: calc(var(--header-h) + 2rem) clamp(4rem, 10vh, 7rem);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: oklch(0.10 0.02 35); }
/* <picture> is inline by default — that prevented the inner <img>'s height:100%
   from resolving on mobile, leaving the hero photo at its natural aspect ratio
   (~246px) instead of filling the 844px viewport. Force block-fill on every
   <picture> wrapping a fill image. */
.hero-bg picture,
.story-image picture,
.tour-card-image picture,
.experience-image picture,
.final-cta-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor near the top of the image so the camp/tents sit just below the navbar */
  object-position: center 22%;
  /* Slightly dim the photo so the eyebrow + headline + CTAs read clearly on top */
  opacity: 0.78;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
.hero-grad {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, oklch(0.18 0.03 38 / 0.40) 0%, transparent 25%, transparent 50%, oklch(0.10 0.02 35 / 0.85) 100%),
    linear-gradient(90deg, oklch(0.10 0.02 35 / 0.40) 0%, transparent 50%);
}
[dir="rtl"] .hero-grad {
  background:
    linear-gradient(180deg, oklch(0.18 0.03 38 / 0.40) 0%, transparent 25%, transparent 50%, oklch(0.10 0.02 35 / 0.85) 100%),
    linear-gradient(270deg, oklch(0.10 0.02 35 / 0.40) 0%, transparent 50%);
}

.hero-content {
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  color: var(--sand-50);
  max-inline-size: 800px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-block-end: 1.25rem;
  text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-400);
}
[dir="rtl"] .hero-title {
  line-height: 1.35;
  letter-spacing: 0;
  font-size: clamp(2.25rem, 6.5vw, 5rem);
  margin-block-end: 1.75rem;
}
[dir="rtl"] .hero-title em {
  font-style: normal;
  font-weight: 700;
  margin-block-start: 0.4em;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 560px;
  color: oklch(0.92 0.025 78);
  margin-block-end: 2rem;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  inset-block-end: 1.75rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  /* Was 0.7rem — too small to notice. Now ~13px / 0.82rem on all sizes. */
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: oklch(0.92 0.02 80);
  animation: scrollNudge 2.4s ease-in-out infinite;
  /* Don't let RTL text styling shrink the eyebrow letterspacing */
  font-weight: 500;
}
[dir="rtl"] .hero-scroll {
  transform: translateX(50%);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hero-scroll svg {
  /* Was 14×14 — bumped to 22×22 so the arrow is unmistakable */
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}
@keyframes scrollNudge {
  0%, 100% { transform: translate(var(--scroll-x, -50%), 0); }
  50%      { transform: translate(var(--scroll-x, -50%), 8px); }
}
[dir="rtl"] .hero-scroll { --scroll-x: 50%; }

/* ── REVIEWS MARQUEE ────────────────────────────────────────────── */
.reviews-strip {
  background: var(--bg-alt);
  padding-block: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 4rem);
  border-block-end: 1px solid var(--line);
  overflow: hidden;
}
.marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.marquee-row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  /* Force LTR on the row so its child track (width:max-content) anchors to the
     LEFT edge. In RTL mode the track would otherwise anchor to the RIGHT edge
     and translateX(-50%) would push it entirely off-screen, leaving row 1 blank
     for the first 40+ seconds of the AR animation. */
  direction: ltr;
}
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marqueeScroll 80s linear infinite;
  will-change: transform;
  direction: ltr;
}
.marquee-row-2 .marquee-track {
  animation-direction: reverse;
  animation-duration: 95s;
}
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* In RTL, flip scroll direction so visually the cards still drift the way an
   Arabic reader expects, but the underlying layout stays LTR. */
[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .marquee-row-2 .marquee-track { animation-direction: normal; }
/* Restore RTL for the card content so Arabic text inside still reads right-to-left */
[dir="rtl"] .marquee-track .review-card { direction: rtl; }

.review-card {
  flex: 0 0 auto;
  inline-size: clamp(260px, 22vw, 340px);
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.review-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 0.95rem;
}
.review-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  flex: 1;
}
[dir="rtl"] .review-quote { font-style: normal; }
.review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  border-block-start: 1px solid var(--line-soft);
  padding-block-start: 0.85rem;
  margin-block-start: 0.25rem;
}
.review-avatar {
  /* Larger, more present avatar — was 40px, now 44px with prominent letter */
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  /* Use a system stack first so single-letter glyph (Arabic or Latin) renders
     with a guaranteed-available font instead of waiting for a webfont that
     might not include the glyph. */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Cairo", "Outfit", sans-serif;
  letter-spacing: 0;
  flex-shrink: 0;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0;
  /* Flex centering, with !important so an upstream `.review-author span`
     rule (which has higher specificity) cannot silently re-flatten this
     to display:block and kill the centering. */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px oklch(0.10 0.02 35 / 0.22);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
/* Optical centering: capital Latin letters (Y, A, S, M, L) and most Arabic
   glyphs sit slightly above the line-box geometric centre because the box
   reserves descender space the glyph never uses. We wrap the letter in a
   block child and translate it down ~5% of font-size (~1px) so it lands
   in the optical centre of the circle. */
.review-avatar > * {
  display: block;
  line-height: 1;
  transform: translateY(0.05em);
}
.review-author strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}
/* Source-label span (e.g. "Google", "Tripadvisor") lives inside the inner div.
   Scoping with `> div span` makes sure this rule does NOT also match the
   `<span class="review-avatar">` that is a DIRECT child of .review-author —
   that override was silently turning the avatar into display:block and
   killing the flex centering of the letter inside. */
.review-author > div span { display: block; }

/* ── STORY ──────────────────────────────────────────────────────── */
.story {
  padding-block: clamp(5rem, 10vw, 8rem);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.story:hover .story-image img { transform: scale(1.04); }

.story-text { max-width: 620px; }
.story-p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-block-start: 1rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-block-start: 2.5rem;
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--line);
}
.story-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.story-stats strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.story-stats span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
[dir="rtl"] .story-stats span { letter-spacing: 0; text-transform: none; }

@media (max-width: 800px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-image { aspect-ratio: 3/4; max-height: 500px; }
}

/* ── TOURS ──────────────────────────────────────────────────────── */
.tours {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.tours-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.tour-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s var(--ease);
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-300);
}
/* Featured cards span 3 columns each (2 per row), then 2 columns each (3 per row) */
.tour-card-featured:nth-of-type(1),
.tour-card-featured:nth-of-type(2) { grid-column: span 3; }
.tour-card-featured:nth-of-type(3),
.tour-card-featured:nth-of-type(4),
.tour-card-featured:nth-of-type(5) { grid-column: span 2; }
.tour-card-compact { grid-column: span 2; }

.tour-card-trigger {
  display: block;
  width: 100%;
  text-align: start;
  flex: 1;
}
.tour-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--sand-200);
}
.tour-card-featured:nth-of-type(1) .tour-card-image,
.tour-card-featured:nth-of-type(2) .tour-card-image { aspect-ratio: 16/9; }
.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 0.7s var(--ease-out);
}
.tour-card:hover .tour-card-image img { transform: scale(1.06); }

/* Per-tour image positioning so the subject isn't cropped awkwardly */
.tour-card[data-tour-id="evening-safari"]      .tour-card-image img { object-position: center 60%; }
.tour-card[data-tour-id="morning-safari"]      .tour-card-image img { object-position: center 60%; }
.tour-card[data-tour-id="overnight-safari"]    .tour-card-image img { object-position: center 55%; }
.tour-card[data-tour-id="private-dune-dinner"] .tour-card-image img { object-position: center 45%; }
.tour-card[data-tour-id="makkah-safari"]       .tour-card-image img { object-position: center 50%; }

/* Standalone activities — per-experience image cropping */
.experience-card[data-id="camel-trek"] .experience-image img    { object-position: 15% 60%; }
.experience-card[data-id="quad-bike"]  .experience-image img    { object-position: center 60%; }
.experience-card[data-id="dune-buggy"] .experience-image img    { object-position: center 60%; }
.experience-card[data-id="horse-riding"] .experience-image img  { object-position: center 60%; }
.experience-card[data-id="quad-makkah"] .experience-image img   { object-position: center 65%; }
.experience-card[data-id="moon-valley"] .experience-image img   { object-position: center 55%; }

.tour-tag {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  padding: 0.4rem 0.85rem;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
[dir="rtl"] .tour-tag { letter-spacing: 0; text-transform: none; font-weight: 700; }
.tour-tag-signature { background: var(--ink); color: var(--sand-50); }
.tour-tag-popular   { background: var(--accent); color: var(--sand-900); }
.tour-tag-premium   { background: oklch(0.32 0.04 45); color: var(--gold-400); }
.tour-tag-new       { background: var(--orange-500); color: var(--sand-50); }
.tour-tag-makkah    { background: var(--sand-100); color: var(--sand-800); border: 1px solid var(--sand-300); }
.tour-tag-standalone{ background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }

.tour-card-body {
  padding: 1.25rem 1.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tour-card-featured:nth-of-type(1) .tour-card-body,
.tour-card-featured:nth-of-type(2) .tour-card-body {
  padding: 1.5rem 1.75rem 1rem;
}
.tour-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
.tour-card-featured:nth-of-type(1) .tour-name,
.tour-card-featured:nth-of-type(2) .tour-name {
  font-size: 1.7rem;
}
.tour-card-compact .tour-name { font-size: 1.2rem; }

.tour-tagline {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-block-end: 0.5rem;
}
.tour-card-compact .tour-tagline { font-size: 0.86rem; }

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: auto;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid var(--line-soft);
}
.tour-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-deep);
}
.tour-dur {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

.tour-card-actions {
  padding: 0 1.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.tour-card-featured:nth-of-type(1) .tour-card-actions,
.tour-card-featured:nth-of-type(2) .tour-card-actions {
  padding: 0 1.75rem 1.5rem;
}

@media (max-width: 1100px) {
  .tours-grid { grid-template-columns: repeat(4, 1fr); }
  .tour-card-featured:nth-of-type(1),
  .tour-card-featured:nth-of-type(2) { grid-column: span 2; }
  .tour-card-featured:nth-of-type(3),
  .tour-card-featured:nth-of-type(4),
  .tour-card-featured:nth-of-type(5) { grid-column: span 2; }
  .tour-card-compact { grid-column: span 2; }
}
@media (max-width: 700px) {
  .tours-grid { grid-template-columns: 1fr; }
  .tour-card-featured:nth-of-type(n),
  .tour-card-compact { grid-column: span 1; }
}

/* ── MODAL ──────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.10 0.02 35 / 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-xl);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out);
}
.modal.is-open .modal-panel { transform: translateY(0); }
.modal-close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal-close:hover { background: var(--ink); color: var(--sand-50); transform: rotate(90deg); }

.modal-content { overflow-y: auto; }

.modal-hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sand-200);
}
.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, oklch(0.10 0.02 35 / 0.6) 100%);
}
.modal-hero-meta {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  padding: 1.5rem 2rem;
  color: var(--sand-50);
  width: 100%;
}
.modal-hero-meta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-block-end: 0.4rem;
  text-wrap: balance;
}
.modal-hero-meta .modal-tagline {
  font-size: 0.95rem;
  color: oklch(0.92 0.025 78);
  max-width: 520px;
}

.modal-body {
  padding: 2rem;
  display: grid;
  gap: 1.75rem;
}
.modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding-block-end: 1.5rem;
  border-block-end: 1px solid var(--line);
}
.modal-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.modal-stat dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
[dir="rtl"] .modal-stat dt { letter-spacing: 0; text-transform: none; }
.modal-stat dd {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.modal-stat-price dd {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.modal-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-block-end: 0.65rem;
  color: var(--ink);
}
.modal-section p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); }
.modal-section ul {
  display: grid;
  gap: 0.5rem;
  padding-inline-start: 0;
}
.modal-section ul li {
  position: relative;
  padding-inline-start: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.modal-section ul li::before {
  content: '';
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-start: 0.25rem;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.modal-section.modal-excludes ul li::before { background: var(--ink-mute); }

/* Modal — itinerary steps */
.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-inline-start: 0;
  list-style: none;
  margin: 0;
}
.modal-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-inline-start: 0 !important;
}
.modal-step::before { display: none !important; }
.modal-step-t {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-deep);
  width: 64px;
  padding-block-start: 2px;
}
[dir="rtl"] .modal-step-t { font-family: var(--font-display-rtl); font-style: normal; }
.modal-step-d {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex-grow: 1;
}

/* Modal — variant lists with check / cross */
.modal-section ul.modal-list-check li::before,
.modal-section ul.modal-list-cross li::before {
  background: none;
  width: auto;
  height: auto;
  top: 0.55em;
  border-radius: 0;
  font-size: 0.9em;
  line-height: 1;
  color: var(--accent-deep);
  content: "✓";
}
.modal-section ul.modal-list-cross li::before {
  color: var(--ink-mute);
  content: "×";
  font-size: 1.05em;
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
.modal-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--line);
}

@media (max-width: 700px) {
  .modal-body { padding: 1.5rem; }
  .modal-grid-2 { grid-template-columns: 1fr; }
  .modal-hero-meta { padding: 1.25rem 1.5rem; }
  .modal-step-t { width: 52px; }
}

/* ── ACTIVITIES ─────────────────────────────────────────────────── */
.activities {
  padding-block: clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(circle at 15% 20%, oklch(0.94 0.035 70 / 0.45), transparent 45%),
    radial-gradient(circle at 85% 80%, oklch(0.92 0.05 60 / 0.4), transparent 50%),
    var(--bg);
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.activity-cell {
  position: relative;
  background: var(--surface);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.activity-cell::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
[dir="rtl"] .activity-cell::before { transform-origin: right; }
.activity-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}
.activity-cell:hover::before { transform: scaleX(1); }
.activity-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  background: linear-gradient(135deg, oklch(0.96 0.03 75), oklch(0.92 0.06 70));
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-out);
}
.activity-cell:hover .activity-icon { transform: rotate(-8deg) scale(1.06); }
.activity-icon svg { width: 24px; height: 24px; }
.activity-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
[dir="rtl"] .activity-name { font-family: var(--font-display-rtl); letter-spacing: 0; line-height: 1.4; }
.activity-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-mute);
}

@media (max-width: 1000px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .activities-grid { grid-template-columns: 1fr; }
  .activity-cell { padding: 1.5rem 1.25rem; gap: 0.85rem; }
}

/* ── PROCESS ────────────────────────────────────────────────────── */
.process {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding-block-start: 1.5rem;
}
.process-step::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 80px;
  height: 1px;
  background: var(--accent);
}
.process-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
}
.process-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
.process-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 320px;
}

@media (max-width: 800px) {
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── WHY ────────────────────────────────────────────────────────── */
.why {
  padding-block: clamp(5rem, 10vw, 8rem);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-head {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--header-h, 76px) + 1.5rem);
}
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}
.why-item {
  display: flex;
  gap: 1rem;
}
.why-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent-deep);
  flex-shrink: 0;
  line-height: 1;
  padding-block-start: 0.2rem;
}
.why-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-block-end: 0.4rem;
  line-height: 1.2;
}
.why-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-head { position: static; }
}

/* ── GALLERY ────────────────────────────────────────────────────── */
.gallery {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.gallery .container {
  /* Wider gallery — less gutter */
  max-width: 1480px;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand-200);
  cursor: zoom-in;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.3s var(--ease);
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(0.10 0.02 35 / 0);
  transition: background-color 0.3s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after { background: oklch(0.10 0.02 35 / 0.15); }
/* Drop the per-item aspect-ratio overrides — uniform grid for predictable layout */
.gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4,
.gallery-item-5, .gallery-item-6, .gallery-item-7, .gallery-item-8,
.gallery-item-9, .gallery-item-10, .gallery-item-11, .gallery-item-12 { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
}

/* ── LIGHTBOX ───────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: oklch(0.05 0.01 35 / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-figure {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.5);
}
.lightbox-figure figcaption {
  color: oklch(0.85 0.02 80);
  font-size: 0.88rem;
  text-align: center;
  max-width: 600px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: oklch(1 0 0 / 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  color: var(--sand-50);
  transition: background-color 0.25s var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: oklch(1 0 0 / 0.25); }
.lightbox-close { inset-block-start: 1.5rem; inset-inline-end: 1.5rem; }
.lightbox-prev  { inset-block-start: 50%; inset-inline-start: 1.5rem; transform: translateY(-50%); }
.lightbox-next  { inset-block-start: 50%; inset-inline-end: 1.5rem; transform: translateY(-50%); }

[dir="rtl"] .lightbox-prev svg { transform: scaleX(-1); }
[dir="rtl"] .lightbox-next svg { transform: scaleX(-1); }

/* ── REEL CARDS (real video, autoplay loop, mixed into gallery) ─── */
.gallery-item-reel {
  border: 0;
  padding: 0;
  cursor: default;
  isolation: isolate;
  background: oklch(0.18 0.02 35);
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .reel-video { /* still play; muted videos are usually fine, but a paused poster is also OK */ }
}

/* ── LOCATION + MAP ─────────────────────────────────────────────── */
.location {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.location-text {
  display: flex;
  flex-direction: column;
}
.location-info {
  display: grid;
  gap: 1.5rem;
  margin-block: 2rem;
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--line);
}
.location-info > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.location-info dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
[dir="rtl"] .location-info dt { letter-spacing: 0; text-transform: none; }
.location-info dd {
  font-size: 1rem;
  color: var(--ink);
}
.location-info dd a:hover { color: var(--accent-deep); }

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 480px;
  background: var(--sand-200);
}
.location-map iframe { border: 0; display: block; }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 360px; }
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq {
  padding-block: clamp(5rem, 10vw, 8rem);
}
.faq-container {
  max-width: 1100px;
  margin-inline: auto;
}
.faq-list {
  display: grid;
  gap: 0.5rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--sand-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-icon {
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform 0.3s var(--ease-out), color 0.25s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--accent-deep); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── FINAL CTA ──────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding-block: clamp(6rem, 12vw, 9rem);
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.final-cta-bg { position: absolute; inset: 0; z-index: -2; }
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-grad {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, oklch(0.10 0.02 35 / 0.45) 0%, oklch(0.08 0.015 35 / 0.85) 70%),
    linear-gradient(180deg, oklch(0.10 0.02 35 / 0.55) 0%, oklch(0.06 0.015 35 / 0.92) 100%);
}
.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.15);
}
.final-cta-content {
  color: var(--sand-50);
  max-width: 720px;
  margin-inline: auto;
  text-shadow: 0 2px 16px oklch(0.06 0.015 35 / 0.5);
}
.final-cta .eyebrow { justify-content: center; }
.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1;
  margin-block-end: 1.25rem;
  letter-spacing: -0.02em;
  color: oklch(0.99 0 0);
}
.final-cta-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
  margin-block-start: 0.15em;
}
[dir="rtl"] .final-cta-title { line-height: 1.4; letter-spacing: 0; }
[dir="rtl"] .final-cta-title em { font-style: normal; font-weight: 700; margin-block-start: 0.3em; }
.final-cta-sub {
  font-size: 1.15rem;
  color: oklch(0.96 0.01 80);
  margin-block-end: 2.5rem;
  text-shadow: 0 1px 8px oklch(0.06 0.015 35 / 0.7);
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 720px) {
  .final-cta-actions {
    flex-direction: row;
    gap: 2rem;
  }
}
.phone-link {
  font-size: 0.95rem;
  color: oklch(0.92 0.01 80);
  border-bottom: 1px solid oklch(0.92 0.01 80 / 0.4);
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-shadow: 0 1px 6px oklch(0.06 0.015 35 / 0.7);
  letter-spacing: 0.01em;
}
.phone-link:hover { color: var(--gold-400); border-color: var(--gold-400); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  color: oklch(0.82 0.02 80);
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
}
.site-footer .brand,
.site-footer .brand-name { color: var(--sand-50); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block-end: 3rem;
  border-block-end: 1px solid oklch(0.30 0.02 38);
}
.footer-brand { max-width: 320px; }
.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-block-start: 1.25rem;
  color: oklch(0.78 0.02 80);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--sand-50);
  margin-block-end: 1.25rem;
  letter-spacing: 0.01em;
}
.footer-col-h4-2 { margin-block-start: 2rem; }
.footer-col ul {
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
}
.footer-col ul a {
  color: oklch(0.82 0.02 80);
  transition: color 0.25s var(--ease);
}
.footer-col ul a:hover { color: var(--gold-400); }

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: oklch(0.82 0.02 80);
  transition: color 0.25s var(--ease);
}
.footer-socials a:hover { color: var(--gold-400); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block-start: 2rem;
  font-size: 0.85rem;
  color: oklch(0.65 0.02 80);
}
.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-lang-label { color: oklch(0.6 0.02 80); }
.footer-lang a {
  color: oklch(0.82 0.02 80);
  transition: color 0.25s var(--ease);
}
.footer-lang a:hover,
.footer-lang a.is-active { color: var(--gold-400); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ── WHATSAPP FAB ───────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgb(37 211 102 / 0.4);
  z-index: 40;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
@media (min-width: 1024px) {
  .whatsapp-fab {
    inset-block-end: 2rem;
    inset-inline-end: 2rem;
    width: 76px;
    height: 76px;
  }
  .whatsapp-fab svg { width: 36px; height: 36px; }
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgb(37 211 102 / 0.5);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgb(37 211 102 / 0.5);
  z-index: -1;
  animation: fabPulse 2.5s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── REDUCED MOTION ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg img { animation: none; }
  .marquee-track { animation: none; }
  .whatsapp-fab::before { animation: none; }
}

/* ── PRINT ──────────────────────────────────────────────────────── */
@media print {
  .site-header, .whatsapp-fab, .hero-scroll, .marquee, .reels { display: none !important; }
  body { background: white; color: black; }
}

/* ── RTL FINE-TUNING ────────────────────────────────────────────── */
[dir="rtl"] body { font-size: 17px; }
[dir="rtl"] .brand-name em { font-style: normal; }
[dir="rtl"] .review-quote { font-style: normal; }
[dir="rtl"] .modal-section ul li::before {
  inset-inline-start: 0.25rem;
}

/* ── STANDALONE EXPERIENCES (added) ─────────────────────────────── */
.experiences {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: var(--bg);
}
.experiences .section-sub {
  margin-block-start: 1rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  max-width: 60ch;
}
.experiences-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 900px) { .experiences-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .experiences-grid { grid-template-columns: 1fr; } }
.experience-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
  text-decoration: none;
  color: inherit;
}
.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.experience-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-200);
}
.experience-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.experience-card:hover .experience-image img { transform: scale(1.04); }
.experience-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.experience-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.experience-price {
  color: var(--accent-deep);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}
.experience-dur {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
[dir="rtl"] .experience-dur { letter-spacing: 0.02em; }
.experience-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
[dir="rtl"] .experience-name { letter-spacing: 0; }
.experience-desc {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
  flex: 1;
}
.experience-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-block-start: 0.5rem;
  transition: color .2s var(--ease);
}
.experience-cta svg { transition: transform .35s var(--ease-out); }
.experience-card:hover .experience-cta { color: var(--accent-deep); }
.experience-card:hover .experience-cta svg { transform: translateX(3px); }
[dir="rtl"] .experience-card:hover .experience-cta svg { transform: translateX(-3px); }

/* ── REVEAL ON SCROLL ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .section-title,
  .tour-card,
  .activity-cell,
  .why-item,
  .process-step,
  .gallery-item,
  .experience-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  }
  .is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  /* Gallery items reveal sequentially */
  .gallery-item:nth-child(2)  { transition-delay: 0.05s; }
  .gallery-item:nth-child(3)  { transition-delay: 0.1s; }
  .gallery-item:nth-child(4)  { transition-delay: 0.15s; }
  .gallery-item:nth-child(5)  { transition-delay: 0.2s; }
  .gallery-item:nth-child(6)  { transition-delay: 0.25s; }
  .activity-cell:nth-child(2) { transition-delay: 0.05s; }
  .activity-cell:nth-child(3) { transition-delay: 0.1s; }
  .activity-cell:nth-child(4) { transition-delay: 0.15s; }
  .activity-cell:nth-child(5) { transition-delay: 0.2s; }
}

/* ── MOBILE OPTIMIZATION (≤640px / phones) ─────────────────────────
   Consolidated phone-only adjustments. Everything above this block targets
   tablet+ — anything that needed to be tightened, shrunk, or restacked for
   small screens lives here.
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {

  /* HEADER — was cramped: brand + lang toggle + hamburger jostling. Smaller
     brand mark, slightly smaller lang toggle, tighter gap. */
  :root { --header-h: 64px; }
  .site-header { padding-block: 0.7rem; }
  .header-inner { gap: 0.5rem; padding-inline: 1rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 1.15rem; }
  .header-actions { gap: 0.5rem; }
  .lang-toggle, .nav-toggle { width: 36px; height: 36px; }
  .lang-toggle { font-size: 0.72rem; }

  /* HERO — full viewport but contents pulled up so the camp is still visible
     above the headline. The picture-fill bug is fixed globally; here we only
     adjust the content layout for small screens. */
  .hero {
    /* Slightly reduce min-height on phones so 100svh doesn't get awkward when
       the URL bar collapses. */
    min-height: 88svh;
    align-items: end;
    padding-block: calc(var(--header-h) + 1.5rem) 5.5rem;
  }
  .hero-content { gap: 0.85rem; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1; }
  .hero-sub { font-size: 1rem; }
  .hero-cta { gap: 0.6rem; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-scroll { inset-block-end: 1.25rem; }

  /* STORY — image was getting cropped to a 3/4 portrait, hiding most of the
     landscape photo. Restore landscape aspect, full-width on mobile. */
  .story { padding-block: 4rem; }
  .story-grid { gap: 1.75rem; }
  .story-image { aspect-ratio: 4 / 3; max-height: none; }
  .story-text { max-width: none; }
  .story-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-block-start: 1.75rem;
    padding-block-start: 1.5rem;
  }
  .story-stats > div:first-child { grid-column: 1 / -1; }
  .story-stats strong { font-size: 1.55rem; }

  /* REVIEWS MARQUEE — cards were 260px wide on a 390px viewport, only ~1.5
     visible at once. Tighten card to 220px and reduce gap so 1.7 cards show
     and the marquee feels alive. */
  .review-card {
    inline-size: 230px;
    padding: 1.15rem 1.2rem;
    gap: 0.7rem;
  }
  .review-quote { font-size: 0.98rem; }
  .marquee { gap: 0.75rem; }
  .marquee-track { gap: 0.75rem; }

  /* TOURS / ACTIVITIES / GALLERY — generic tightening so cards have room. */
  .tours, .experiences, .activities, .gallery, .faq, .reviews-strip, .final-cta {
    padding-block: 4rem;
  }
  .section-head { margin-block-end: 2rem; }
  .section-title { font-size: clamp(1.85rem, 8vw, 2.4rem); }

  /* TOURS — was already 1-column at ≤700px, just keep image aspect tighter */
  .tour-card-image { aspect-ratio: 16/10; }
  .tour-card-featured:nth-of-type(1) .tour-card-image,
  .tour-card-featured:nth-of-type(2) .tour-card-image { aspect-ratio: 16/10; }

  /* GALLERY — 2-col was already there at ≤600, just tighter gaps. */
  .gallery-grid { gap: 0.35rem; }

  /* FAQ — full-width, tighter padding */
  .faq .container { padding-inline: 1rem; }

  /* FINAL CTA — smaller padding, taller min-height not needed */
  .final-cta { min-height: auto; padding-block: 5rem 4rem; }

  /* WhatsApp FAB — keep visible but slightly smaller so it doesn't block content */
  .whatsapp-fab {
    width: 56px;
    height: 56px;
    inset-block-end: 1rem;
    inset-inline-end: 1rem;
  }
  .whatsapp-fab svg { width: 24px; height: 24px; }

  /* MODAL — full-bleed-ish on phone, easier reading */
  .modal { padding: 0.5rem; }
  .modal-panel { max-height: 96vh; border-radius: var(--radius-lg); }
}

/* Even smaller phones (iPhone SE, narrow Android) */
@media (max-width: 380px) {
  .brand-name { font-size: 1.05rem; }
  .review-card { inline-size: 210px; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 2.8rem); }
}

/* ── PRINT ──────────────────────────────────────────────────────── */
@media print {
  .site-header, .nav-mobile, .whatsapp-fab, .reels, .modal, .lightbox { display: none !important; }
  body { background: white; color: black; }
  .hero { min-height: auto; padding-block: 2rem; }
  .hero-grad { display: none; }
}
