@import url('fonts.css');

/* =============================================================
   جمال الشمال · Jamaal Al Shamal
   Design system — hand-written, no framework.
   Layout uses CSS logical properties, so the same stylesheet
   serves both the Arabic (RTL) and English (LTR) versions.
   ============================================================= */

/* ------------------------------ 1. TOKENS ------------------- */
:root {
  /* Fjord blues — the brand's foundation */
  --fjord-950: #041823;
  --fjord-900: #06202E;
  --fjord-800: #0A2C3E;
  --fjord-700: #0F3B52;
  --fjord-600: #16506C;
  --fjord-500: #1E6889;

  /* Glacier / aurora teal — the cool accent */
  --teal-600: #16736F;
  --teal-500: #1E8F88;
  --teal-400: #34ADA4;
  --teal-200: #A8DDD8;

  /* Midnight-sun gold — the warm accent */
  --gold-700: #8A6019;   /* darkened from the mid-tone gold so small
                            eyebrow/label text clears WCAG AA on sand */
  --gold-600: #B98A2C;
  --gold-500: #CFA23C;
  --gold-400: #E3BC63;
  --gold-200: #F2DEB0;

  /* Neutrals — warm sand rather than grey */
  --sand-50:  #FBF8F3;
  --sand-100: #F4EFE6;
  --sand-200: #E7DFD1;
  --sand-300: #D3C8B5;

  --ink-900: #0C1A22;
  --ink-700: #26404D;
  --ink-500: #4E6875;
  --ink-400: #6E8794;

  /* Semantic roles */
  --bg:            var(--sand-50);
  --bg-alt:        #FFFFFF;
  --bg-deep:       var(--fjord-900);
  --text:          var(--ink-900);
  --text-muted:    var(--ink-500);
  --text-on-deep:  #EAF2F5;
  --text-on-deep-muted: #A9C2CD;
  --line:          var(--sand-200);
  --line-deep:     rgba(255, 255, 255, .14);
  --accent:        var(--gold-600);
  --accent-soft:   var(--gold-200);

  /* WhatsApp brand green darkened enough for white text to reach
     WCAG AA (4.5:1); the brand value #25D366 only reaches 2.2:1 */
  --whatsapp: #0F8043;
  --whatsapp-dark: #0B6634;

  /* Type */
  --font-ar: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display-en: 'Cormorant Garamond', 'Times New Roman', serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.4rem, 1.2rem + 5.2vw, 5.1rem);
  --fs-h1:    clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  --fs-h2:    clamp(1.65rem, 1.1rem + 2.3vw, 2.75rem);
  --fs-h3:    clamp(1.2rem, 1rem + 0.9vw, 1.6rem);
  --fs-h4:    clamp(1.05rem, .96rem + .45vw, 1.25rem);
  --fs-lead:  clamp(1.03rem, .96rem + .5vw, 1.28rem);
  --fs-body:  clamp(.98rem, .94rem + .2vw, 1.06rem);
  --fs-small: .875rem;
  --fs-tiny:  .78rem;

  /* Space & shape */
  --gap:       clamp(1rem, .6rem + 1.6vw, 2rem);
  --section-y: clamp(3.75rem, 2rem + 7vw, 8rem);
  --shell:     min(100% - 2.2rem, 1240px);
  --shell-narrow: min(100% - 2.2rem, 880px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(6, 32, 46, .06), 0 3px 10px rgba(6, 32, 46, .05);
  --shadow-md: 0 10px 30px -12px rgba(6, 32, 46, .22), 0 2px 8px rgba(6, 32, 46, .06);
  --shadow-lg: 0 30px 70px -28px rgba(6, 32, 46, .38), 0 4px 14px rgba(6, 32, 46, .07);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ------------------------------ 2. RESET -------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.95; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------ 3. TYPE --------------------- */
h1, h2, h3, h4 { line-height: 1.18; font-weight: 600; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] .display {
  font-family: var(--font-display-en);
  font-weight: 500;
  letter-spacing: -.01em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .display {
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0;
}
html[lang="ar"] h4 { font-weight: 700; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-en);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 1rem;
}
html[lang="ar"] .eyebrow {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
  font-size: .85rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  inline-size: 28px;
  block-size: 1px;
  background: currentColor;
  opacity: .6;
}
.on-deep .eyebrow { color: var(--gold-400); }

.lead { font-size: var(--fs-lead); color: var(--text-muted); }
.on-deep .lead { color: var(--text-on-deep-muted); }
.muted { color: var(--text-muted); }

/* ------------------------------ 4. LAYOUT ------------------- */
.shell { inline-size: var(--shell); margin-inline: auto; }
.shell-narrow { inline-size: var(--shell-narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-head { max-inline-size: 62ch; margin-block-end: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); margin-block-end: .8rem; }

.on-deep { background: var(--bg-deep); color: var(--text-on-deep); }
.on-deep h2, .on-deep h3 { color: #fff; }
.bg-alt { background: var(--bg-alt); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 200;
  background: var(--fjord-900);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: var(--r-sm);
  transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 1rem; }

/* ------------------------------ 5. BUTTONS ------------------ */
.btn {
  --btn-bg: var(--gold-600);
  --btn-fg: #14212B;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92rem 1.7rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-en);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .2s, color .2s, border-color .2s;
  will-change: transform;
}
html[lang="ar"] .btn { font-family: var(--font-ar); font-weight: 700; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { inline-size: 1.15em; block-size: 1.15em; flex: none; }

.btn-primary { --btn-bg: var(--gold-600); --btn-fg: #17242E; }
.btn-primary:hover { --btn-bg: var(--gold-500); }
.btn-dark { --btn-bg: var(--fjord-800); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--fjord-700); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line); }
.btn-ghost:hover { --btn-bg: var(--sand-100); }
.on-deep .btn-ghost, .btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
.on-deep .btn-ghost:hover, .btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); }
.btn-wa { --btn-bg: var(--whatsapp); --btn-fg: #fff; }
.btn-wa:hover { --btn-bg: var(--whatsapp-dark); }
.btn-block { inline-size: 100%; }
.btn-sm { padding: .62rem 1.15rem; font-size: .87rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--fjord-600);
  border-block-end: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s;
}
.on-deep .link-arrow { color: var(--gold-400); }
.link-arrow:hover { gap: .85rem; border-block-end-color: currentColor; }
.link-arrow svg { inline-size: .85em; block-size: .85em; }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ------------------------------ 6. HEADER ------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 20, 30, .62), rgba(4, 20, 30, 0));
  opacity: 1;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(6, 32, 46, .5);
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner {
  position: relative;
  inline-size: var(--shell);
  margin-inline: auto;
  block-size: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
}

/* Wordmark */
.wordmark { display: flex; align-items: center; gap: .7rem; flex: none; }
.wordmark-mark {
  inline-size: 38px;
  block-size: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-700) 62%, var(--teal-600));
  box-shadow: 0 0 0 1px rgba(255,255,255,.28) inset;
}
.wordmark-mark svg { inline-size: 21px; block-size: 21px; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.06; }
.wordmark-ar {
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: 0;
  color: #fff;
  transition: color .35s;
}
.wordmark-en {
  font-family: var(--font-en);
  font-size: .59rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  transition: color .35s;
}
html[lang="en"] .wordmark-ar { font-family: var(--font-display-en); font-weight: 600; font-size: 1.3rem; letter-spacing: .01em; }
html[lang="en"] .wordmark-en { font-family: var(--font-ar); font-size: .74rem; letter-spacing: .14em; text-transform: none; }
.is-stuck .wordmark-ar { color: var(--fjord-900); }
.is-stuck .wordmark-en { color: var(--ink-400); }

/* Desktop nav */
.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(.2rem, 1.3vw, 1.1rem); }
.nav a {
  position: relative;
  display: block;
  padding: .55rem .68rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border-radius: var(--r-sm);
  transition: color .3s;
  white-space: nowrap;
}
html[lang="ar"] .nav a { font-weight: 500; font-size: .98rem; }
.nav a::after {
  content: "";
  position: absolute;
  inset-block-end: .22rem;
  inset-inline: .68rem;
  block-size: 1.5px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform .3s var(--ease);
}
html[dir="rtl"] .nav a::after { --origin: right; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.is-stuck .nav a { color: var(--ink-700); }
.is-stuck .nav a[aria-current="page"] { color: var(--fjord-900); font-weight: 600; }

/* Header utilities */
.header-tools { display: flex; align-items: center; gap: .45rem; margin-inline-start: auto; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .48rem .85rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background-color .25s, border-color .25s, color .25s;
}
.lang-toggle svg { inline-size: 1em; block-size: 1em; opacity: .8; }
.lang-code { display: none; }
.lang-toggle:hover { background: rgba(255,255,255,.2); }
.is-stuck .lang-toggle { border-color: var(--line); background: #fff; color: var(--fjord-800); }
.is-stuck .lang-toggle:hover { background: var(--sand-100); }

.burger {
  display: inline-grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.is-stuck .burger { border-color: var(--line); background: #fff; }
.burger span {
  position: relative;
  inline-size: 17px;
  block-size: 1.6px;
  background: #fff;
  border-radius: 2px;
  transition: background-color .3s, transform .3s var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inline-size: 17px;
  block-size: 1.6px;
  background: inherit;
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.burger span::before { inset-block-start: -5.5px; }
.burger span::after  { inset-block-start: 5.5px; }
.is-stuck .burger span, .is-stuck .burger span::before, .is-stuck .burger span::after { background: var(--fjord-800); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}
.drawer[data-open="true"] { visibility: visible; pointer-events: auto; }
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 30, .55);
  opacity: 0;
  transition: opacity .35s var(--ease);
  backdrop-filter: blur(2px);
}
.drawer[data-open="true"] .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  inline-size: min(90vw, 360px);
  background: var(--fjord-900);
  color: #fff;
  padding: 1.4rem 1.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transform: translateX(var(--slide, 102%));
  transition: transform .42s var(--ease);
  overflow-y: auto;
}
html[dir="rtl"] .drawer-panel { --slide: -102%; }
.drawer[data-open="true"] .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close {
  inline-size: 40px; block-size: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-deep);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.drawer-close svg { inline-size: 15px; block-size: 15px; }
.drawer nav ul { display: flex; flex-direction: column; }
.drawer nav a {
  display: block;
  padding: .95rem .2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-block-end: 1px solid var(--line-deep);
  transition: color .2s, padding-inline-start .25s var(--ease);
}
.drawer nav a:hover { color: var(--gold-400); padding-inline-start: .55rem; }
.drawer nav a[aria-current="page"] { color: var(--gold-400); }
.drawer-foot { margin-block-start: auto; display: grid; gap: .7rem; }
.drawer-foot .btn { inline-size: 100%; }

@media (min-width: 1060px) {
  .nav { display: block; }
  .burger { display: none; }
  /* the nav already ate the free space, so the tools sit next to it */
  .nav + .header-tools { margin-inline-start: 0; }
}

/* ------------------------------ 7. HERO --------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-block-size: clamp(520px, 88svh, 900px);
  padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 7vw, 6rem);
  color: #fff;
  overflow: hidden;
  background: var(--fjord-900);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.11); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(4, 20, 30, .94) 0%, rgba(4, 20, 30, .78) 24%, rgba(4, 20, 30, .48) 50%, rgba(4, 20, 30, .24) 76%, rgba(4, 20, 30, .62) 100%);
}
.hero-inner > * { text-shadow: 0 1px 26px rgba(4, 20, 30, .45); }
.hero-badge, .hero .btn { text-shadow: none; }
.hero-inner { inline-size: var(--shell); margin-inline: auto; max-inline-size: 900px; }
.hero h1 { font-size: var(--fs-hero); margin-block-end: 1.1rem; color: #fff; }
html[lang="en"] .hero h1 { font-weight: 500; letter-spacing: -.02em; }
.hero .lead { color: rgba(255,255,255,.9); max-inline-size: 56ch; margin-block-end: 2rem; }
.hero .eyebrow { color: var(--gold-400); }

@media (max-width: 560px) {
  .hero { min-block-size: clamp(460px, 74svh, 700px); padding-block: calc(var(--header-h) + 2rem) 2.5rem; }
  .hero-badges { gap: .4rem; margin-block-start: 1.6rem; }
  .hero-badge { font-size: .72rem; padding: .42rem .72rem; gap: .35rem; }
  .hero .lead { margin-block-end: 1.5rem; }
  .hero .btn { flex: 1 1 auto; }
}

/* Page hero (inner pages) — shorter */
.hero.hero-page { min-block-size: clamp(380px, 56svh, 560px); }
.hero.hero-page h1 { font-size: var(--fs-h1); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-block-start: 2.2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .5rem .95rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 500;
}
.hero-badge svg { inline-size: 1em; block-size: 1em; color: var(--gold-400); flex: none; }

.scroll-hint {
  position: absolute;
  inset-block-end: 1.4rem;
  inset-inline-end: max(1.1rem, calc((100vw - 1240px) / 2));
  display: none;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-tiny);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
html[lang="ar"] .scroll-hint { letter-spacing: 0; text-transform: none; }
.scroll-hint::after {
  content: "";
  inline-size: 1px;
  block-size: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: hintPulse 2.4s var(--ease) infinite;
}
@keyframes hintPulse { 0%,100% { transform: scaleY(.45); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
@media (min-width: 900px) { .scroll-hint { display: flex; } }

/* ------------------------------ 8. CARDS -------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sand-300); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.card-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: .85rem; padding: 1.4rem 1.5rem 1.6rem; }
.card-title { font-size: var(--fs-h3); }
html[lang="en"] .card-title { font-family: var(--font-display-en); font-weight: 600; }
.card-text { color: var(--text-muted); font-size: .96rem; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
  margin-block-start: auto;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .34rem .72rem;
  border-radius: var(--r-pill);
  background: var(--sand-100);
  border: 1px solid var(--line);
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
}
.chip svg { inline-size: .9em; block-size: .9em; flex: none; }
.chip-halal { background: #E7F3EC; border-color: #C3E0CE; color: #1B6A3F; }
.chip-prayer { background: #E9F0F7; border-color: #C9DAEA; color: #235279; }
.chip-private { background: #F6EEE1; border-color: #E4D3B6; color: #7C5A1B; }
.chip-gold { background: linear-gradient(120deg, var(--gold-500), var(--gold-700)); border-color: transparent; color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }

.card-tag {
  position: absolute;
  inset-block-start: .9rem;
  inset-inline-start: .9rem;
  z-index: 2;
  padding: .38rem .82rem;
  border-radius: var(--r-pill);
  background: rgba(6, 32, 46, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--fs-tiny);
  font-weight: 600;
}
.card-tag.vip { background: linear-gradient(120deg, var(--gold-500), var(--gold-700)); color: #221604; }

.price { display: flex; flex-direction: column; line-height: 1.3; }
.price-label { font-size: var(--fs-tiny); color: var(--text-muted); }
.price-value { font-size: 1.16rem; font-weight: 700; color: var(--fjord-800); }
html[lang="en"] .price-value { font-family: var(--font-en); }
.price-unit { font-size: var(--fs-tiny); color: var(--text-muted); font-weight: 500; }

/* ------------------------------ 9. FEATURES ----------------- */
.feature {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.7rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.on-deep .feature { background: rgba(255,255,255,.045); border-color: var(--line-deep); }
.on-deep .feature:hover { background: rgba(255,255,255,.075); }
.feature-icon {
  inline-size: 46px;
  block-size: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--gold-200), var(--sand-100));
  color: var(--gold-700);
  border: 1px solid var(--sand-200);
}
.on-deep .feature-icon {
  background: linear-gradient(145deg, rgba(227,188,99,.22), rgba(52,173,164,.14));
  border-color: rgba(255,255,255,.16);
  color: var(--gold-400);
}
.feature-icon svg { inline-size: 22px; block-size: 22px; }
.feature h3 { font-size: var(--fs-h4); }
.feature p { color: var(--text-muted); font-size: .95rem; }
.on-deep .feature p { color: var(--text-on-deep-muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line-deep); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--fjord-900); padding: 1.8rem 1.2rem; text-align: center; }
.stat-value {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
}
html[lang="en"] .stat-value { font-family: var(--font-display-en); font-weight: 600; }
.stat-label { font-size: var(--fs-small); color: var(--text-on-deep-muted); margin-block-start: .45rem; }

/* Split (image + text) */
.split { display: grid; gap: clamp(1.6rem, 1rem + 3.5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-text { grid-template-columns: 1.1fr .9fr; } }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { inline-size: 100%; block-size: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-media.tall img { aspect-ratio: 3 / 4; }
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  border-radius: inherit;
  pointer-events: none;
}
.split-stack { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.split-stack .split-media:first-child { grid-column: span 2; }

/* ------------------------------ 10. CTA BAND ---------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
}
.cta-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(4,20,30,.9), rgba(6,32,46,.7) 55%, rgba(22,115,111,.6));
}
.cta-band h2 { font-size: var(--fs-h2); color: #fff; margin-block-end: .9rem; }
.cta-band p { color: rgba(255,255,255,.88); max-inline-size: 56ch; margin-inline: auto; margin-block-end: 2rem; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------ 11. TESTIMONIALS ------------ */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.9rem 1.8rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  block-size: 100%;
}
.on-deep .quote-card { background: rgba(255,255,255,.05); border-color: var(--line-deep); }
.stars { display: flex; gap: .18rem; color: var(--gold-500); }
.stars svg { inline-size: 16px; block-size: 16px; }
.quote-text { font-size: 1.02rem; line-height: 1.9; }
html[lang="en"] .quote-text { font-family: var(--font-display-en); font-size: 1.24rem; line-height: 1.62; }
.on-deep .quote-text { color: #E8F1F4; }
.quote-meta { display: flex; align-items: center; gap: .85rem; margin-block-start: auto; padding-block-start: 1.1rem; border-block-start: 1px solid var(--line); }
.on-deep .quote-meta { border-block-start-color: var(--line-deep); }
.quote-avatar {
  inline-size: 44px; block-size: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--fjord-600), var(--teal-600));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.quote-name { font-weight: 700; font-size: .96rem; }
.quote-city { font-size: var(--fs-tiny); color: var(--text-muted); }
.on-deep .quote-city { color: var(--text-on-deep-muted); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: #FFF8E8;
  border: 1px solid #EBD8A8;
  color: #6D5312;
  font-size: var(--fs-small);
  line-height: 1.7;
}
.notice svg { inline-size: 1.15em; block-size: 1.15em; flex: none; margin-block-start: .28em; }
.notice-deep { background: rgba(227,188,99,.1); border-color: rgba(227,188,99,.32); color: var(--gold-200); }

/* ------------------------------ 12. TOURS PAGE -------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  padding: 1.2rem 1.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  margin-block-end: 2.4rem;
}
.filter-group { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.filter-label { font-size: var(--fs-tiny); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
html[lang="ar"] .filter-label { letter-spacing: 0; text-transform: none; font-size: .84rem; }
.filter-btn {
  padding: .46rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color .22s, color .22s, border-color .22s;
}
.filter-btn:hover { background: var(--sand-100); }
.filter-btn[aria-pressed="true"] { background: var(--fjord-800); border-color: var(--fjord-800); color: #fff; }
.filter-count { margin-inline-start: auto; font-size: var(--fs-small); color: var(--text-muted); }
.empty-state { padding: 4rem 1rem; text-align: center; color: var(--text-muted); }

.tour-card-hidden { display: none !important; }

/* ------------------------------ 13. TOUR DETAIL ------------- */
.tour-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .tour-layout { grid-template-columns: minmax(0, 1fr) 350px; } }

.tour-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-block-end: 2.5rem;
}
.tour-fact { background: var(--bg-alt); padding: 1.1rem 1.2rem; }
.tour-fact dt { font-size: var(--fs-tiny); color: var(--text-muted); margin-block-end: .28rem; }
.tour-fact dd { font-weight: 700; font-size: .98rem; }

.prose > * + * { margin-block-start: 1.15rem; }
.prose h2 { font-size: var(--fs-h2); margin-block-start: 2.6rem; }
.prose h3 { font-size: var(--fs-h3); margin-block-start: 2rem; }
.prose p { color: var(--ink-700); }
.prose strong { color: var(--text); font-weight: 700; }

.check-list { display: grid; gap: .75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .97rem; }
.check-list svg { inline-size: 1.1em; block-size: 1.1em; flex: none; margin-block-start: .4em; }
.check-list.yes svg { color: var(--teal-500); }
.check-list.no svg { color: var(--ink-400); }
.check-list.no li { color: var(--text-muted); }

/* Itinerary timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  inset-block: 14px 14px;
  inset-inline-start: 19px;
  inline-size: 2px;
  background: linear-gradient(to bottom, var(--gold-400), var(--teal-400));
  opacity: .45;
}
.timeline-item { position: relative; padding-inline-start: 3.5rem; padding-block-end: 2rem; }
.timeline-item:last-child { padding-block-end: 0; }
.timeline-dot {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 2px;
  inline-size: 40px;
  block-size: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--gold-400);
  color: var(--gold-700);
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 0 0 5px var(--bg);
}
.timeline-day { font-size: var(--fs-tiny); color: var(--text-muted); font-weight: 600; }
.timeline-item h3 { font-size: var(--fs-h4); margin-block: .1rem .45rem; }
.timeline-item p { color: var(--text-muted); font-size: .97rem; }

/* Sticky booking panel */
.booking-panel { position: sticky; inset-block-start: calc(var(--header-h) + 18px); display: grid; gap: 1rem; }
.panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.panel-deep { background: var(--fjord-900); color: var(--text-on-deep); border-color: transparent; }
.panel-deep .price-label, .panel-deep .price-unit { color: var(--text-on-deep-muted); }
.panel-deep .price-value { color: var(--gold-400); font-size: 1.5rem; }
.panel h3 { font-size: var(--fs-h4); margin-block-end: .9rem; }
.panel-note { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.7; }
.panel-deep .panel-note { color: var(--text-on-deep-muted); }
.panel .btn + .btn { margin-block-start: .6rem; }

/* Info callouts (halal / prayer / private) */
.callout {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.45rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.callout + .callout { margin-block-start: 1rem; }
.callout-icon {
  inline-size: 40px; block-size: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--sand-100);
  color: var(--gold-700);
}
.callout-icon svg { inline-size: 20px; block-size: 20px; }
.callout h4 { font-size: var(--fs-h4); margin-block-end: .35rem; }
.callout p { font-size: .95rem; color: var(--text-muted); }
.callout-halal { background: #F2F9F5; border-color: #CFE6D9; }
.callout-halal .callout-icon { background: #DCEFE4; color: #1B6A3F; }
.callout-prayer { background: #F2F7FB; border-color: #CFDEEB; }
.callout-prayer .callout-icon { background: #DEEAF4; color: #235279; }
.callout-private { background: #FBF6EE; border-color: #E7D8BC; }
.callout-private .callout-icon { background: #F2E5CC; color: #7C5A1B; }

/* ------------------------------ 14. GALLERY ----------------- */
.gallery-grid {
  columns: 1;
  column-gap: 14px;
}
@media (min-width: 620px) { .gallery-grid { columns: 2; } }
@media (min-width: 980px) { .gallery-grid { columns: 3; } }
@media (min-width: 1400px) { .gallery-grid { columns: 4; } }
.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-block-end: 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand-200);
  cursor: zoom-in;
  display: block;
  inline-size: 100%;
  border: 0;
  padding: 0;
}
.gallery-item img { inline-size: 100%; transition: transform .7s var(--ease), filter .4s; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,20,30,.5), transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 16, 24, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox img {
  max-inline-size: 100%;
  max-block-size: 82svh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.lightbox-caption {
  margin-block-start: 1rem;
  color: rgba(255,255,255,.82);
  font-size: var(--fs-small);
  text-align: center;
  max-inline-size: 62ch;
}
.lightbox-btn {
  position: absolute;
  inline-size: 46px;
  block-size: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color .2s;
}
.lightbox-btn:hover { background: rgba(255,255,255,.24); }
.lightbox-btn svg { inline-size: 16px; block-size: 16px; }
.lightbox-close { inset-block-start: 1.1rem; inset-inline-end: 1.1rem; }
.lightbox-prev { inset-inline-start: 1.1rem; inset-block-start: 50%; transform: translateY(-50%); }
.lightbox-next { inset-inline-end: 1.1rem; inset-block-start: 50%; transform: translateY(-50%); }
html[dir="rtl"] .lightbox-prev svg, html[dir="rtl"] .lightbox-next svg { transform: scaleX(-1); }

.tour-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .8rem; }
.tour-gallery .gallery-item { margin: 0; aspect-ratio: 3 / 2; }
.tour-gallery .gallery-item img { block-size: 100%; object-fit: cover; }

/* ------------------------------ 15. FAQ --------------------- */
.faq-group + .faq-group { margin-block-start: 3rem; }
.faq-group > h2 { font-size: var(--fs-h3); margin-block-end: 1.2rem; padding-block-end: .7rem; border-block-end: 1px solid var(--line); }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq-item + .faq-item { margin-block-start: .7rem; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--sand-300); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--sand-50); }
.faq-icon {
  inline-size: 26px;
  block-size: 26px;
  flex: none;
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--gold-700);
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold-500); color: #fff; }
.faq-icon svg { inline-size: 12px; block-size: 12px; }
.faq-answer { padding: 0 1.35rem 1.35rem; color: var(--text-muted); font-size: .98rem; }
.faq-answer p + p { margin-block-start: .9rem; }

/* ------------------------------ 16. FORMS ------------------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .42rem; }
.field label { font-size: var(--fs-small); font-weight: 700; color: var(--ink-700); }
.field .hint { font-size: var(--fs-tiny); color: var(--text-muted); font-weight: 400; }
.field .req { color: #B4472F; }
.field input, .field select, .field textarea {
  inline-size: 100%;
  padding: .82rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-block-size: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(30,143,136,.16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #C0563C; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%234E6875' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 12px;
  padding-inline-start: 2.4rem;
}
html[dir="ltr"] .field select { background-position: right 1rem center; padding-inline-start: 1rem; padding-inline-end: 2.4rem; }
.form-status {
  padding: .95rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  display: none;
}
.form-status[data-state="ok"] { display: block; background: #E7F3EC; border: 1px solid #B9DFC9; color: #16603A; }
.form-status[data-state="error"] { display: block; background: #FBEDE9; border: 1px solid #EEC7BA; color: #8B3A22; }

/* Contact channel cards */
.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand-300); }
.channel-icon {
  inline-size: 46px; block-size: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--sand-100);
  color: var(--fjord-700);
}
.channel-icon svg { inline-size: 21px; block-size: 21px; }
.channel-icon.wa { background: #E2F4E9; color: var(--whatsapp-dark); }
.channel-title { font-weight: 700; font-size: .98rem; }
.channel-value { font-size: .93rem; color: var(--text-muted); word-break: break-word; }
.channel-value[dir="ltr"] { display: inline-block; }

/* ------------------------------ 17. FOOTER ------------------ */
.site-footer { background: var(--fjord-950); color: var(--text-on-deep-muted); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-block-end: 1.1rem; letter-spacing: .02em; }
html[lang="en"] .site-footer h3 { font-family: var(--font-en); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--gold-400); }
.footer-links li + li { margin-block-start: .62rem; }
.footer-about p { font-size: .95rem; max-inline-size: 42ch; margin-block-start: 1rem; }
.footer-social { display: flex; gap: .6rem; margin-block-start: 1.4rem; }
.footer-social a {
  inline-size: 42px; block-size: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-deep);
  border-radius: var(--r-pill);
  color: #fff;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.footer-social svg { inline-size: 18px; block-size: 18px; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.footer-contact li + li { margin-block-start: .8rem; }
.footer-contact svg { inline-size: 1.05em; block-size: 1.05em; flex: none; margin-block-start: .45em; color: var(--gold-500); }
.footer-bottom {
  margin-block-start: 3rem;
  padding-block: 1.5rem;
  border-block-start: 1px solid var(--line-deep);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-tiny);
}
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Footer wordmark colours (always on dark) */
.site-footer .wordmark-ar { color: #fff; }
.site-footer .wordmark-en { color: var(--text-on-deep-muted); }

/* ------------------------------ 18. FLOATING WHATSAPP ------- */
.wa-float {
  position: fixed;
  inset-block-end: clamp(1rem, 3vw, 1.6rem);
  inset-inline-end: clamp(1rem, 3vw, 1.6rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 12px 30px -8px rgba(15,128,67,.55), 0 3px 10px rgba(0,0,0,.16);
  transition: transform .3s var(--ease), background-color .25s, box-shadow .3s;
}
.wa-float:hover { background: var(--whatsapp-dark); transform: translateY(-3px) scale(1.02); }
.wa-float svg { inline-size: 24px; block-size: 24px; flex: none; }
.wa-float .wa-label { display: none; }
@media (min-width: 560px) { .wa-float .wa-label { display: inline; } }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--whatsapp);
  animation: waPulse 2.8s var(--ease) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* ------------------------------ 19. CURRENCY SWITCH --------- */
.cur-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--sand-100);
  gap: 2px;
}
.cur-switch button {
  padding: .34rem .78rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color .22s, color .22s;
}
.cur-switch button[aria-pressed="true"] { background: var(--fjord-800); color: #fff; }
.cur-switch button:hover:not([aria-pressed="true"]) { color: var(--text); }
.panel-deep .cur-switch { background: rgba(255,255,255,.08); border-color: var(--line-deep); }
.panel-deep .cur-switch button { color: var(--text-on-deep-muted); }
.panel-deep .cur-switch button[aria-pressed="true"] { background: var(--gold-500); color: #17242E; }
.cur-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------ 20. BREADCRUMB & MISC ------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-tiny); color: var(--text-muted); margin-block-end: 1rem; }
.breadcrumb a:hover { color: var(--fjord-600); text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-inline-start: .5rem; opacity: .5; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero .breadcrumb { color: rgba(255,255,255,.75); }

.credit-table { inline-size: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.credit-table th, .credit-table td { text-align: start; padding: .7rem .8rem; border-block-end: 1px solid var(--line); vertical-align: top; }
.credit-table th { font-weight: 700; color: var(--ink-700); background: var(--sand-100); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-alt); }

/* ------------------------------ 21. ANIMATION --------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Utilities */
.sr-only {
  position: absolute;
  inline-size: 1px; block-size: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.text-center { text-align: center; }
.mt-1 { margin-block-start: .5rem; }
.mt-2 { margin-block-start: 1rem; }
.mt-3 { margin-block-start: 1.75rem; }
.mt-4 { margin-block-start: 2.5rem; }
.mb-2 { margin-block-end: 1rem; }
.mb-3 { margin-block-end: 1.75rem; }
.flow > * + * { margin-block-start: 1.15rem; }
[dir="ltr"] .num, .num { font-family: var(--font-en); font-variant-numeric: tabular-nums; }

/* =============================================================
   22. GLASS SURFACES
   Frosted panels used by the header, the mobile dock, the drawer
   and anything floating over a photograph. Every glass surface
   carries a solid fallback colour first, so browsers without
   backdrop-filter still get a readable, opaque panel.
   ============================================================= */
:root {
  --glass-dark:        rgba(6, 26, 38, .84);
  --glass-dark-solid:  #0A2231;
  --glass-light:       rgba(251, 248, 243, .78);
  --glass-light-solid: #FBF8F3;
  --glass-line:        rgba(255, 255, 255, .16);
  --glass-line-dark:   rgba(9, 40, 56, .1);
  --glass-blur: saturate(180%) blur(20px);
}

.glass {
  background: var(--glass-dark-solid);
  border: 1px solid var(--glass-line);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--glass-dark);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
}

/* =============================================================
   23. MOBILE DOCK
   Bottom-anchored glass bar: three destinations plus the primary
   WhatsApp call to action, always within thumb reach.
   ============================================================= */
.dock {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 95;
  display: none;
  padding: 0 clamp(.6rem, 3vw, 1rem);
  padding-block-end: max(.6rem, env(safe-area-inset-bottom));
  pointer-events: none;
}
.dock-inner {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  gap: .25rem;
  padding: .34rem;
  border-radius: var(--r-pill);
  background: var(--glass-dark-solid);
  border: 1px solid var(--glass-line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .1) inset,
    0 -12px 24px -18px rgba(255, 255, 255, .35) inset,
    0 18px 40px -14px rgba(4, 16, 24, .7),
    0 4px 14px rgba(4, 16, 24, .3);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dock-inner {
    background: var(--glass-dark);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
}

.dock-item {
  flex: 1 1 0;
  min-inline-size: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .2rem;
  padding: .5rem .15rem .42rem;
  border-radius: calc(var(--r-pill) - 4px);
  color: rgba(233, 243, 247, .8);
  font-size: .66rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
html[lang="ar"] .dock-item { font-size: .7rem; font-weight: 500; }
.dock-item svg { inline-size: 21px; block-size: 21px; }
.dock-item span {
  inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock-item:hover { color: #fff; }
.dock-item[aria-current="page"] {
  color: var(--gold-400);
  background: rgba(255, 255, 255, .1);
}

.dock-cta {
  flex: 1.35 1 0;
  min-inline-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding: .5rem .55rem;
  border-radius: calc(var(--r-pill) - 4px);
  background: linear-gradient(140deg, #16A059, var(--whatsapp) 55%, var(--whatsapp-dark));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(15, 128, 67, .8);
  transition: transform .25s var(--ease), filter .25s;
}
.dock-cta:active { transform: scale(.97); }
.dock-cta svg { inline-size: 19px; block-size: 19px; flex: none; }

/* the dock steps aside while the slide-out menu is open */
.drawer[data-open="true"] ~ .dock {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.dock { transition: opacity .3s var(--ease), transform .3s var(--ease); }


/* =============================================================
   23b. HEADER CONTROLS BELOW THE DESKTOP NAV BREAKPOINT
   Shown whenever the burger is (i.e. under 1060px), so the
   grouping never disagrees with the menu button.
   ============================================================= */
@media (max-width: 1059px) {
/* ---- header controls: one glass capsule, two equal targets ----
   A wide "🌐 English" pill beside a round burger read as two unrelated
   objects and ate 126px of a 340px header. Grouping them into a single
   capsule with a short language code halves that, keeps both taps at
   40px, and matches the dock's glass. */
.header-tools {
  gap: 0;
  padding: 3px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-tools {
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
  }
}
.site-header.is-stuck .header-tools {
  border-color: var(--glass-line-dark);
  background: rgba(255, 255, 255, .6);
}

.header-tools .lang-toggle,
.header-tools .burger {
  inline-size: 40px;
  block-size: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: var(--r-pill);
  justify-content: center;
}
.header-tools .lang-toggle:hover,
.header-tools .burger:hover { background: rgba(255, 255, 255, .18); }
.site-header.is-stuck .header-tools .lang-toggle:hover,
.site-header.is-stuck .header-tools .burger:hover { background: rgba(9, 40, 56, .07); }

/* the globe and the full word give way to a two-character code */
.header-tools .lang-toggle svg,
.header-tools .lang-label { display: none; }
.header-tools .lang-code {
  display: inline;
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
html[lang="en"] .header-tools .lang-code {
  font-family: var(--font-ar);
  font-size: 1.05rem;
  line-height: 1;
}

/* hairline between the two halves of the capsule */
.header-tools .lang-toggle { position: relative; }
.header-tools .lang-toggle::after {
  content: "";
  position: absolute;
  inset-inline-end: -1px;
  inset-block: 9px;
  inline-size: 1px;
  background: rgba(255, 255, 255, .28);
}
.site-header.is-stuck .header-tools .lang-toggle::after { background: var(--sand-200); }
}

/* =============================================================
   24. PHONE LAYOUT  (≤ 900px)
   Everything below is a mobile refinement of a rule set earlier
   in this file — tighter rhythm, fewer wrapped lines, larger
   tap targets, and the dock taking over from the floating pill.
   ============================================================= */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --section-y: clamp(3rem, 1.4rem + 7vw, 4.5rem);
    --gap: 1rem;
  }

  /* the dock replaces the floating WhatsApp pill */
  .dock { display: block; }
  .wa-float { display: none; }
  body { padding-block-end: calc(80px + max(.6rem, env(safe-area-inset-bottom))); }
  /* keep landscape content clear of a notch */
  body { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }

  /* ---- header: frosted rather than solid once it sticks ---- */
  .site-header.is-stuck {
    background: var(--glass-light-solid);
    box-shadow: 0 1px 0 var(--glass-line-dark), 0 10px 26px -20px rgba(6, 32, 46, .5);
  }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-stuck { background: var(--glass-light); }
  }
  .wordmark-mark { inline-size: 34px; block-size: 34px; }
  .wordmark-mark svg { inline-size: 19px; block-size: 19px; }
  .wordmark-ar { font-size: 1.08rem; }
  .wordmark-en { font-size: .52rem; letter-spacing: .24em; }
  html[lang="en"] .wordmark-ar { font-size: 1.14rem; }
  html[lang="en"] .wordmark-en { font-size: .66rem; }

  /* ---- drawer: glass over the page ---- */
  .drawer-panel {
    inline-size: min(88vw, 340px);
    padding-block-end: calc(1.6rem + env(safe-area-inset-bottom));
  }
  .drawer nav a { padding-block: .85rem; font-size: 1.05rem; }

  /* ---- section headings ---- */
  .section-head { margin-block-end: 1.9rem; }

  /* ---- cards: one tidy chip line instead of three wrapped ones ---- */
  .card-body { padding: 1.15rem 1.2rem 1.3rem; gap: .7rem; }
  .card-media { aspect-ratio: 3 / 2; }
  .card .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: -1.2rem;
    padding-inline: 1.2rem;
    scroll-padding-inline: 1.2rem;
  }
  .card .chip-row::-webkit-scrollbar { display: none; }
  .card .chip { font-size: .7rem; padding: .3rem .6rem; }
  /* soften the edge the chips scroll off, so the rail reads as scrollable */
  html[dir="rtl"] .card .chip-row {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
  }
  html[dir="ltr"] .card .chip-row {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  /* price above a full-width button beats a cramped side-by-side row */
  .card-foot {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    padding-block-start: .9rem;
  }
  .card-foot .btn { inline-size: 100%; }
  .card-foot .btn-ghost {
    border-color: var(--sand-300);
    color: var(--fjord-700);
    font-weight: 700;
  }
  .card-text {
    font-size: .93rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---- features & stats ---- */
  .feature { padding: 1.35rem 1.25rem; gap: .6rem; }
  .feature-icon { inline-size: 42px; block-size: 42px; }
  .stat { padding: 1.35rem .8rem; }

  /* ---- the split blocks stack, so drop the fussy image mosaic ---- */
  .split-stack { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .split-media.tall img { aspect-ratio: 4 / 3; }

  /* ---- testimonials ---- */
  .quote-card { padding: 1.4rem 1.3rem; }
  html[lang="en"] .quote-text { font-size: 1.12rem; }

  /* ---- gallery: two columns reads far better than one ---- */
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-item { margin-block-end: 10px; border-radius: 10px; }
  .tour-gallery { grid-template-columns: 1fr 1fr; gap: .55rem; }

  /* ---- lightbox ---- */
  .lightbox { padding: 1rem .75rem calc(2.5rem + env(safe-area-inset-bottom)); }
  .lightbox img { max-block-size: 66svh; }
  .lightbox-prev { inset-inline-start: .6rem; }
  .lightbox-next { inset-inline-end: .6rem; }
  .lightbox-btn { inline-size: 42px; block-size: 42px; }

  /* ---- forms: full-width fields, comfortable targets ---- */
  .form-grid { gap: .9rem; }
  .field input, .field select, .field textarea { padding: .85rem .95rem; font-size: 16px; }
  .field textarea { min-block-size: 110px; }
  .btn { padding: .88rem 1.4rem; }
  .btn-row .btn { flex: 1 1 auto; }

  /* ---- footer ---- */
  .footer-grid { gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-social a { inline-size: 44px; block-size: 44px; }
}

/* =============================================================
   25. TOURS PAGE ON A PHONE
   The filter turns into two swipeable chip rails, which is far
   easier to use one-handed than a wrapping block of buttons.
   ============================================================= */
@media (max-width: 900px) {
  .filter-bar {
    display: block;
    padding: 1rem 0 .9rem;
    border-inline: 0;
    border-radius: var(--r-md);
    margin-block-end: 1.6rem;
  }
  .filter-group {
    display: block;
    padding-inline: 1.1rem;
  }
  .filter-group + .filter-group { margin-block-start: .85rem; }
  .filter-label { display: block; margin-block-end: .45rem; }
  .filter-group [role="group"] {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -1.1rem;
    padding-inline: 1.1rem;
    padding-block-end: .2rem;
  }
  .filter-group [role="group"]::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; padding: .5rem 1rem; }
  /* count and reset share one line under a hairline rule */
  .filter-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: .9rem 1.1rem 0;
    padding-block-start: .85rem;
    border-block-start: 1px solid var(--line);
  }
  .filter-bar [data-filter-reset] {
    order: 2;
    margin-inline-start: auto;
    padding: .4rem .9rem;
    font-size: .82rem;
  }
  .cur-row { flex-direction: column; align-items: stretch; gap: .8rem; }
  .cur-switch { align-self: center; }
  .cur-switch button { padding: .45rem 1.1rem; font-size: .84rem; }
}

/* =============================================================
   26. TOUR DETAIL ON A PHONE
   Price and booking buttons move above the itinerary — nobody
   should have to scroll past ten days to find out what it costs.
   ============================================================= */
@media (max-width: 999px) {
  .tour-layout { display: flex; flex-direction: column; }
  /* dissolve the sidebar so its two panels can sit in different
     places: price first, supporting info after the itinerary */
  .booking-panel { display: contents; }
  .booking-panel .panel { position: static; }
  .panel-deep { order: -1; margin-block-end: 1.6rem; }
  .panel-side { order: 5; margin-block-start: 1.6rem; }
  .panel-side .chip-row { gap: .4rem; }
  .tour-facts { grid-template-columns: 1fr 1fr; margin-block-end: 1.8rem; }
  .tour-fact { padding: .9rem 1rem; }
  .timeline-item { padding-inline-start: 2.9rem; padding-block-end: 1.6rem; }
  .timeline::before { inset-inline-start: 16px; }
  .timeline-dot { inline-size: 34px; block-size: 34px; font-size: .82rem; }
  .callout { padding: 1.15rem 1.15rem; gap: .8rem; }
  .callout-icon { inline-size: 36px; block-size: 36px; }
  .callout-icon svg { inline-size: 18px; block-size: 18px; }
  .panel { padding: 1.25rem; }
  .panel-deep .price-value { font-size: 1.65rem; }
}

/* =============================================================
   27. SMALL PHONES  (≤ 420px)
   ============================================================= */
@media (max-width: 420px) {
  .dock-item span { font-size: .62rem; }
  .dock-cta span { font-size: .74rem; }
  .tour-fact { padding: .8rem .85rem; }
  .tour-fact dd { font-size: .92rem; }
  .hero-badge { font-size: .69rem; }
  .wordmark-en { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}
