/* ============================================================
   KANAAN GENTS SALON & SPA — Premium Design System
   Editorial luxury · masculine · conversion-led
   ============================================================ */

:root {
  /* Colour tokens */
  --c-obsidian: #0E0F11;
  --c-carbon: #1A1C1F;
  --c-alabaster: #F6F3ED;
  --c-pearl: #EDEAE3;
  --c-ink: #15171A;
  --c-stone: #A09D95; /* bumped from #8A8780 to clear WCAG AA 4.5:1 on obsidian */
  --c-gold: #C8A04A;
  --c-gold-dark: #7A5A1F; /* darkened for clear AA 4.5:1+ on alabaster — previous #8E6A2A measured ~4.07:1 */
  --c-smoke: #2A2C30;
  --c-hairline-light: #E2DED5;
  --c-sage: #5C7A5A;
  --c-rust: #8A3A2C;

  /* Semantic */
  --bg: var(--c-obsidian);
  --surface: var(--c-carbon);
  --text: var(--c-pearl);
  --muted: var(--c-stone);
  --accent: var(--c-gold);
  --hairline: var(--c-smoke);

  /* Typography */
  --f-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-arabic: 'Tajawal', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-mid: 400ms;
  --t-slow: 600ms;
}

/* Light section override.
   --c-gold-dark (#8E6A2A) is used in place of --c-gold for body links so
   gold reads at AA contrast on the alabaster background. The brand-accent
   --c-gold stays available for buttons/borders where contrast isn't the
   bottleneck. */
.section--light {
  --bg: var(--c-alabaster);
  --surface: #fff;
  --text: var(--c-ink);
  --muted: #5b5d62;
  --hairline: var(--c-hairline-light);
}
.section--light .text-gold,
.section--light .text-link,
.section--light a.text-link,
.section--light .eyebrow { color: var(--c-gold-dark); }
.section--light .text-link:hover { border-color: var(--c-gold-dark); }

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lang-ar { font-family: var(--f-arabic); line-height: 1.8; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, textarea, select { font: inherit; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-1, .display-2, h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
body.lang-ar .display-1,
body.lang-ar .display-2,
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4 {
  font-family: var(--f-arabic);
  letter-spacing: 0;
  font-weight: 700;
}
.display-1 { font-size: clamp(48px, 7vw, 88px); line-height: 1.02; }
.display-2 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05; }
h1 { font-size: clamp(36px, 4.5vw, 48px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3.5vw, 36px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.4; }

p { margin: 0 0 1em; }
.lede { font-size: 18px; color: var(--muted); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--s-4);
}
body.lang-ar .eyebrow { letter-spacing: 0; }

.divider {
  width: 48px;
  height: 1px;
  background: var(--c-gold);
  margin: var(--s-5) 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--bg);
  color: var(--text);
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3.keep-2-mobile { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--c-gold);
  background: var(--c-gold);
  color: #0E0F11;
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--c-gold); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--c-obsidian); }
.btn--gold-ghost { background: transparent; color: var(--c-gold); }
.btn--gold-ghost:hover { background: var(--c-gold); color: #0E0F11; }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--lg { padding: 18px 36px; font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-gold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color var(--t-fast) var(--ease);
}
.text-link:hover { border-color: var(--c-gold); }

/* ============================================================
   HEADER
   At rest (top of page): transparent gradient over the hero image so the
   bar reads while the image still fills the viewport behind it.
   On scroll (.shrunk): becomes fully opaque obsidian.
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Strong gradient for legibility. No backdrop-filter here — it creates a
     containing block, which traps the descendant .mobile-nav inside the
     header's bounds (only ~96px tall), breaking the slide-out drawer. */
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.15) 100%);
  border-bottom: 1px solid transparent;
  transition: padding var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              transform var(--t-mid) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
/* Once scrolled past the hero, make the bar fully opaque so content
   never reads through it, and lift it with a subtle shadow. */
.site-header.shrunk {
  background: var(--c-obsidian, #0E0F11);
  border-bottom-color: var(--c-smoke);
  box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
/* Smart-hide: while the user scrolls *down* past the hero, slide the bar
   off-screen. The moment they scroll *up*, the JS removes this class so
   the bar drops back in instantly. */
.site-header.hidden-on-scroll {
  transform: translateY(-100%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.site-header.shrunk .site-header__inner { height: 72px; }

.logo {
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--c-pearl);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo span { color: var(--c-gold); }

/* New image logo — replaces the CSS-text wordmark.
   logo.svg is BLACK on transparent; invert it on dark headers via filter so
   the same single SVG works on both dark + light backgrounds. The logo has
   a stacked layout (Saloon / KANAAN / Gents & Spa) so it needs height to
   read properly — ~72px on desktop, scaled down on shrunk + mobile. */
.logo-img {
  display: block;
  height: 76px;
  width: auto;
  max-width: 280px;
  /* Black logo → white on the obsidian header */
  filter: brightness(0) invert(1);
}
.site-header.shrunk .logo-img { height: 56px; }
/* Sections with the light alabaster background keep the original black. */
.section--light .logo-img,
.footer-bottom .logo-img,
.footer-brand .logo-img { filter: none; }
/* Footer renders the logo larger (no shrunk state to worry about). */
.footer-brand .logo-img { height: 88px; max-width: 320px; filter: brightness(0) invert(1); }
@media (max-width: 640px) {
  .logo-img { height: 56px; max-width: 200px; }
  .site-header.shrunk .logo-img { height: 44px; }
  .footer-brand .logo-img { height: 64px; max-width: 240px; }
}

.main-nav { display: flex; align-items: center; gap: var(--s-6); }
.main-nav a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-pearl);
  position: relative;
  padding: 8px 0;
  transition: color var(--t-fast);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width var(--t-fast) var(--ease);
}
.main-nav a:hover { color: var(--c-gold); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.is-active { color: var(--c-gold); }
.main-nav a.is-active::after { width: 100%; }

/* ============================================================
   NAV DROPDOWN — Branches
   Editorial 2-column panel; opens on hover/focus, closes on Esc.
   ============================================================ */
.nav-dd { position: relative; }
.nav-dd__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 0;
  font: inherit; color: var(--c-pearl);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; position: relative;
  transition: color var(--t-fast);
}
.nav-dd__trigger::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width var(--t-fast) var(--ease);
}
.nav-dd__trigger .nav-dd__caret {
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-fast) var(--ease);
}
.nav-dd:hover .nav-dd__trigger,
.nav-dd[data-open="true"] .nav-dd__trigger { color: var(--c-gold); }
.nav-dd:hover .nav-dd__trigger::after,
.nav-dd[data-open="true"] .nav-dd__trigger::after { width: 100%; }
.nav-dd[data-open="true"] .nav-dd__caret { transform: rotate(225deg) translate(-2px, -2px); }

.nav-dd__panel {
  position: absolute;
  top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 520px;
  background: var(--c-obsidian);
  border: 1px solid var(--c-smoke);
  border-top: 1px solid var(--c-gold);
  padding: var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-6);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 200ms var(--ease), transform 250ms var(--ease), visibility 0s linear 250ms;
  z-index: 100;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.5);
}
.nav-dd:hover .nav-dd__panel,
.nav-dd[data-open="true"] .nav-dd__panel,
.nav-dd:focus-within .nav-dd__panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s, 0s, 0s;
}
.nav-dd__col h6 {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-stone);
  margin: 0 0 var(--s-3);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-smoke);
}
.nav-dd__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nav-dd__col a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--c-pearl);
  padding: 8px 0;
  border-bottom: 0;
  position: relative;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.nav-dd__col a::after { display: none; }
.nav-dd__col a:hover { color: var(--c-gold); padding-left: 8px; }
.nav-dd__col a .nav-dd__type {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-stone);
  border: 1px solid var(--c-smoke);
  padding: 2px 6px;
}
.nav-dd__col a:hover .nav-dd__type { color: var(--c-gold); border-color: var(--c-gold); }
.nav-dd__foot {
  grid-column: 1 / -1;
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-smoke);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-dd__foot a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-gold);
}
.nav-dd__foot span { font-size: 12px; color: var(--c-stone); }

/* RTL flip — keep panel right-aligned to trigger so it stays in viewport */
html[dir="rtl"] .nav-dd__col a:hover { padding-left: 0; padding-right: 8px; }

/* Mobile dropdown becomes inline accordion */
.mobile-nav .nav-dd-m { display: block; margin: 0; }
.mobile-nav .nav-dd-m__head {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: 0; padding: 16px 0;
  font: inherit; font-family: var(--f-display); font-size: 32px;
  color: var(--c-pearl); cursor: pointer; text-align: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav .nav-dd-m__head .nav-dd__caret {
  width: 10px; height: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 250ms var(--ease);
}
.mobile-nav .nav-dd-m[data-open="true"] .nav-dd-m__head .nav-dd__caret { transform: rotate(225deg); }
.mobile-nav .nav-dd-m__panel {
  display: grid; gap: 4px;
  max-height: 0; overflow: hidden;
  transition: max-height 350ms var(--ease);
  padding-left: var(--s-4);
}
.mobile-nav .nav-dd-m[data-open="true"] .nav-dd-m__panel {
  max-height: 800px;
  padding-block: var(--s-3);
}
.mobile-nav .nav-dd-m__panel a {
  font-family: var(--f-sans);
  font-size: 18px;
  padding: 10px 0;
  color: var(--c-pearl);
  letter-spacing: normal;
  text-transform: none;
  border: 0;
}
.mobile-nav .nav-dd-m__panel a:hover { color: var(--c-gold); }

@media (max-width: 1024px) {
  .nav-dd__panel { display: none; }
}

.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.lang-switch {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-pearl);
  border: 1px solid var(--c-smoke);
  padding: 6px 12px;
  transition: all var(--t-fast);
}
.lang-switch:hover { border-color: var(--c-gold); color: var(--c-gold); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
}
/* Mobile nav: rendered as an off-canvas right-side drawer. Pre-positioned
   (not display:none) so the transform transition can animate it in/out and
   so screen readers still find it in the DOM. Visually hidden off-screen
   until .is-open flips the translate. */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background-color: #0E0F11;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  visibility: hidden;             /* removes from a11y tree when closed */
  box-shadow: -12px 0 40px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  padding: 80px var(--gutter) var(--s-7);
  gap: 4px;
}
/* RTL: drawer slides from the LEFT instead of the right. */
[dir="rtl"] .mobile-nav {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 12px 0 40px rgba(0,0,0,0.45);
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--c-pearl);
  transition: transform var(--t-fast) var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }

  /* Open state: slide the drawer into view from the right (LTR) or left (RTL).
     The base .mobile-nav rule above defines the drawer; .is-open just toggles
     the transform + visibility so the transition can animate cleanly. */
  .mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  [dir="rtl"] .mobile-nav.is-open { transform: translateX(0); }

  /* Backdrop — dims and blurs the page behind the drawer. Clicking it
     closes the menu (wired in main.js). Sits below the drawer but above
     the header. */
  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  body.is-menu-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  body.is-menu-open { overflow: hidden; }

  .mobile-nav a {
    font-family: var(--f-display);
    font-size: 24px;
    color: var(--c-pearl);
    padding: 14px 0;
    border-bottom: 1px solid var(--c-smoke);
    display: block;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus-visible { color: var(--c-gold); }
  .mobile-nav .btn {
    margin-top: var(--s-5);
    border-bottom: 0;
    font-size: 14px;
    text-align: center;
  }

  /* Close button (×) inside the drawer — pinned top-right (top-left in RTL). */
  .mobile-nav__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--c-smoke);
    color: var(--c-pearl);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  [dir="rtl"] .mobile-nav__close { right: auto; left: 18px; }
  .mobile-nav__close:hover { color: var(--c-gold); border-color: var(--c-gold); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  /* Full-bleed: image fills from the very top of the viewport, BEHIND the
     transparent header. The .utility-bar (36px) + .site-header (96px) overlay
     on top — content sits below them via padding-top. */
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: calc(var(--s-9) + 132px) 0 var(--s-8);
  margin-top: 0;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,15,17,0.95) 0%, rgba(14,15,17,0.55) 50%, rgba(14,15,17,0.35) 100%);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 18s var(--ease) forwards;
  /* CLS guard for hero slides that don't carry width/height attributes —
     reserves layout space at the same aspect ratio as the source WebPs. */
  aspect-ratio: 16 / 9;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Hero slider — image-only fade carousel */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { animation: none; }
.hero__slide.is-active img {
  animation: kenburns 6s ease-out forwards;
}
.hero__dots {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
  padding: 0;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
  padding: 0;
}
.hero__dot:hover { background: rgba(255,255,255,0.4); }
.hero__dot.is-active {
  background: var(--c-accent, #C8A04A);
  border-color: var(--c-accent, #C8A04A);
  transform: scale(1.3);
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide.is-active img { animation: none; }
}
.hero__content { max-width: 720px; }
.hero__title { color: #fff; margin-bottom: var(--s-5); }
.hero__sub { font-size: clamp(16px, 1.5vw, 20px); color: var(--c-pearl); max-width: 56ch; margin-bottom: var(--s-7); }
.hero__cta { display: flex; gap: var(--s-4); flex-wrap: wrap; }

@media (max-width: 700px) {
  .hero { min-height: 80vh; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-strip__item {
  padding: var(--s-7) var(--s-5);
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.trust-strip__item:last-child { border-right: 0; }
.trust-strip__num {
  font-family: var(--f-display);
  font-size: 48px;
  color: var(--c-gold);
  display: block;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.trust-strip__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 700px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__item:nth-child(2) { border-right: 0; }
  .trust-strip__item:nth-child(1),
  .trust-strip__item:nth-child(2) { border-bottom: 1px solid var(--hairline); }
  .trust-strip__num { font-size: 36px; }
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-8);
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head__title { margin-bottom: var(--s-4); }
.section-head__lede { color: var(--muted); font-size: 17px; }

/* ============================================================
   SERVICE CATEGORY GRID
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.service-card {
  background: var(--bg);
  padding: var(--s-7) var(--s-5);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background var(--t-mid) var(--ease);
}
.service-card:hover { background: var(--surface); }
.service-card__num {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-gold);
  margin-bottom: var(--s-5);
}
.service-card__title {
  font-family: var(--f-display);
  font-size: 26px;
  margin-bottom: var(--s-4);
  color: var(--text);
}
body.lang-ar .service-card__title { font-family: var(--f-arabic); }
.service-card__desc { color: var(--muted); font-size: 15px; flex: 1; }
.service-card__price { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; margin-top: var(--s-3); }
.service-card__arrow {
  margin-top: var(--s-5);
  color: var(--c-gold);
  font-size: 24px;
  transition: transform var(--t-mid) var(--ease);
}
.service-card:hover .service-card__arrow { transform: translateX(8px); }
body.lang-ar .service-card:hover .service-card__arrow { transform: translateX(-8px); }

@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ============================================================
   OFFERS
   ============================================================ */
.offer-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid);
}
.offer-card:hover { transform: translateY(-4px); border-color: var(--c-gold); }
.offer-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.offer-card:hover .offer-card__media img { transform: scale(1.04); }
.offer-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-gold);
  color: #0E0F11;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.offer-card__title { font-size: 22px; margin-bottom: var(--s-3); }
.offer-card__list { color: var(--muted); font-size: 14px; margin-bottom: var(--s-4); flex: 1; }
.offer-card__list li { padding-left: 18px; position: relative; padding-bottom: 4px; }
.offer-card__list li::before {
  content: '—';
  position: absolute; left: 0; color: var(--c-gold);
}
body.lang-ar .offer-card__list li { padding-left: 0; padding-right: 18px; }
body.lang-ar .offer-card__list li::before { left: auto; right: 0; }
.offer-card__price-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.offer-card__price { font-family: var(--f-display); font-size: 28px; color: var(--c-gold); }
.offer-card__price small { font-size: 14px; color: var(--muted); }

/* ============================================================
   BRANCH CARD
   ============================================================ */
.branch-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: border-color var(--t-mid);
}
.branch-card:hover { border-color: var(--c-gold); }
.branch-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.branch-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.branch-card:hover .branch-card__media img { transform: scale(1.04); }
.branch-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.branch-card__area { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold); }
.branch-card__title { font-family: var(--f-display); font-size: 26px; }
.branch-card__meta { color: var(--muted); font-size: 14px; }
.branch-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.branch-card__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-gold);
  transition: all var(--t-fast);
}
.branch-card__icon:hover { background: var(--c-gold); color: #0E0F11; border-color: var(--c-gold); }
.branch-card__view { flex: 1; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sage);
}
.status-pill::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-sage);
  box-shadow: 0 0 0 4px rgba(92, 122, 90, 0.18);
}
.status-pill--closed { color: var(--c-rust); }
.status-pill--closed::before { background: var(--c-rust); box-shadow: 0 0 0 4px rgba(138, 58, 44, 0.18); }

/* ============================================================
   EDITORIAL SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
body.lang-ar .split--reverse > * { direction: rtl; }

.split__media img {
  width: 100%; height: auto;
  max-height: 80vh;          /* prevent absurdly tall phone shots from dominating the layout */
  object-fit: contain;        /* show the whole photo — never crop */
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   CTA BAND
   ============================================================ */
/* ============================================================
   CTA BAND — candlelit photo backdrop + centred dark spotlight panel
   The photo stays atmospheric at the edges; a soft dark "spotlight"
   sits behind the text+button stack so the message always reads
   crisply, regardless of where bright spots in the photo land.
   ============================================================ */
.cta-band {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  position: relative;
  overflow: hidden;
  /* Photo + a single uniform dark overlay (no aggressive vignette — the
     spotlight panel handles centre contrast). Atmosphere stays visible. */
  background:
    linear-gradient(180deg, rgba(14,15,17,0.62) 0%, rgba(14,15,17,0.55) 50%, rgba(14,15,17,0.68) 100%),
    url('../img/photos/service-facial-candlelit-1600.webp') center/cover no-repeat;
  background-color: var(--c-obsidian);
  isolation: isolate; /* establishes a stacking context for the ::before spotlight */
}

/* Spotlight panel — sits between the photo and the text stack.
   It's a near-opaque dark card with brand-gold hairlines top + bottom,
   a slight inner glow at the centre, and a soft blur of whatever's behind
   so the photo bleeds through delicately at the panel edges. */
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 92%);
  height: calc(100% - 64px);
  background:
    radial-gradient(ellipse at center, rgba(200,160,74,0.06) 0%, rgba(14,15,17,0) 70%),
    rgba(14, 15, 17, 0.68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(200,160,74,0.35);
  border-bottom: 1px solid rgba(200,160,74,0.35);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}

/* Lift every direct child of the band above the spotlight panel. */
.cta-band > * { position: relative; z-index: 1; }

/* Tighter typography now that the panel handles legibility — drop the
   heavy text-shadows so the headline reads crisp, not muddy. */
.cta-band__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  color: #fff;
  margin-bottom: var(--s-5);
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.cta-band__sub {
  color: var(--c-pearl);
  margin-bottom: var(--s-6);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

@media (max-width: 640px) {
  .cta-band::before {
    width: calc(100% - 32px);
    height: calc(100% - 48px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-obsidian);
  color: var(--c-pearl);
  border-top: 1px solid var(--c-smoke);
  padding: var(--s-9) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
.footer-grid h5 {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 var(--s-4);
}
.footer-grid ul li { padding: 4px 0; }
.footer-grid a { font-size: 14px; color: var(--c-pearl); transition: color var(--t-fast); }
.footer-grid a:hover { color: var(--c-gold); }

.footer-brand p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer-socials { display: flex; gap: 12px; margin-top: var(--s-4); }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--c-smoke);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-pearl);
  transition: all var(--t-fast);
}
.footer-socials a:hover { border-color: var(--c-gold); color: var(--c-gold); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  justify-content: space-between;
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-smoke);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom__links { display: flex; gap: var(--s-5); flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(14,15,17,0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-smoke);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--c-smoke);
  color: var(--c-pearl);
}
.mobile-cta__book {
  flex: 2.4 !important;
  background: var(--c-gold);
  color: #0E0F11 !important;
  border-color: var(--c-gold) !important;
}
.mobile-cta__icon { font-size: 20px; }
/* Real SVG sprite icons (whatsapp, phone) for the mobile CTA buttons —
   replaces the previous text glyphs ✉ ☏ which looked generic. */
.mobile-cta svg.icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}
.mobile-cta a { color: var(--c-pearl); }

@media (max-width: 900px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: var(--s-5); }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 16px;
  border-radius: 0;
  transition: border-color var(--t-fast);
}
.form-group textarea { height: auto; min-height: 120px; padding: 16px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-gold);
  outline: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Booking stepper */
.stepper {
  display: flex;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: var(--s-4);
  overflow-x: auto;
}
.stepper__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.stepper__num {
  width: 28px; height: 28px;
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 14px;
}
.stepper__item.is-active { color: var(--c-gold); }
.stepper__item.is-active .stepper__num { border-color: var(--c-gold); color: var(--c-gold); }
.stepper__item.is-done .stepper__num { background: var(--c-gold); color: #0E0F11; border-color: var(--c-gold); }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
@media (max-width: 700px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  padding: var(--s-4);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: all var(--t-fast);
  background: transparent;
  text-align: left;
  color: var(--text);
}
body.lang-ar .choice { text-align: right; }
.choice:hover, .choice.is-selected {
  border-color: var(--c-gold);
  background: rgba(200, 160, 74, 0.06);
}
.choice__title { font-family: var(--f-display); font-size: 18px; margin-bottom: 4px; }
.choice__meta { font-size: 13px; color: var(--muted); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-gold); }
.breadcrumb span:not(.sep) { color: var(--muted); }
.breadcrumb .sep { color: var(--hairline); }

/* ============================================================
   PAGE HERO (smaller than home hero)
   ============================================================ */
.page-hero {
  margin-top: 96px;
  padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  background: var(--c-carbon);
}
.page-hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,15,17,0.92) 0%, rgba(14,15,17,0.6) 100%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(40px, 5.5vw, 64px); margin-bottom: var(--s-3); color: #fff; }

/* ============================================================
   RTL
   ============================================================ */
body.lang-ar { direction: rtl; }
body.lang-ar .breadcrumb,
body.lang-ar .stepper,
body.lang-ar .footer-bottom__links,
body.lang-ar .header-actions,
body.lang-ar .main-nav {
  direction: rtl;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--c-gold); }
.muted { color: var(--muted); }
.flex { display: flex; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.mt-5 { margin-top: var(--s-5); }
.mt-7 { margin-top: var(--s-7); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-7 { margin-bottom: var(--s-7); }

/* Reveal on scroll — only hides when JS sets `.js-ready` on <html>, so content stays visible if JS fails */
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   UTILITY BAR (desktop-only top strip with central phone/WhatsApp)
   ============================================================ */
.utility-bar {
  /* At rest: transparent strip over the hero image, holds white text.
     Stays fixed at top:0, sliding away with the header on scroll-down. */
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 100%);
  border-bottom: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.06em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  pointer-events: none;
  transition: transform var(--t-mid, 280ms) var(--ease, ease),
              background var(--t-fast, 180ms) var(--ease, ease);
  will-change: transform;
}
.utility-bar .utility-bar__inner { pointer-events: auto; }
/* On scroll past hero → solid background to match the shrunk header. */
.utility-bar.shrunk {
  background: #0A0B0D;
  border-bottom-color: var(--c-smoke);
}
/* On scroll DOWN → slide both off-screen together. Scroll UP → slide back. */
.utility-bar.hidden-on-scroll {
  transform: translateY(-100%);
}
.utility-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-stone);
}
.utility-bar__pitch {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-pearl);   /* white — was inheriting muted stone color */
}
.utility-bar__actions { display: flex; gap: 24px; }
.utility-bar__actions a { color: var(--c-pearl); transition: color 0.2s; }
.utility-bar__actions a:hover { color: var(--c-gold); }
/* Utility bar + header are now both position: fixed at top:0, overlaid.
   The hero is full-bleed (margin-top: 0) and uses padding-top to push
   content below them. .page-hero on other pages keeps the offset since
   they're not full-bleed. */
.site-header { top: 36px; }
.page-hero { margin-top: 132px; }
@media (max-width: 1024px) {
  .utility-bar { display: none; }
  .site-header { top: 0; }
  .page-hero { margin-top: 80px; }
}

/* ============================================================
   FOOTER NEWSLETTER
   ============================================================ */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  padding: var(--s-7) 0;
  border-top: 1px solid var(--c-smoke);
  border-bottom: 1px solid var(--c-smoke);
  margin-bottom: var(--s-5);
  align-items: center;
}
.footer-newsletter h5 {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 8px;
}
.footer-newsletter p { color: var(--muted); margin: 0; font-size: 14px; }
.footer-newsletter form { display: flex; gap: 8px; }
.footer-newsletter input {
  flex: 1; height: 48px; padding: 0 16px;
  background: transparent; border: 1px solid var(--c-smoke);
  color: var(--c-pearl); font: inherit; font-size: 14px;
}
.footer-newsletter input:focus { outline: 0; border-color: var(--c-gold); }
@media (max-width: 768px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   SPLASH SCREEN (first-load brand reveal)
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-obsidian);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.splash.is-leaving {
  opacity: 0;
  visibility: hidden;
}
.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(200,160,74,0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(200,160,74,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.splash__brand {
  font-family: var(--f-display);
  font-size: clamp(48px, 9vw, 96px);
  letter-spacing: 0.06em;
  color: var(--c-pearl);
  font-weight: 500;
  margin: 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: splash-fade-in 900ms var(--ease) 100ms forwards;
}
.splash__brand span {
  color: var(--c-gold);
  display: inline-block;
  opacity: 0;
  animation: splash-dot 600ms var(--ease) 1100ms forwards;
}
.splash__rule {
  width: 0;
  height: 1px;
  background: var(--c-gold);
  margin: 24px 0 20px;
  animation: splash-rule 800ms var(--ease) 1200ms forwards;
}
.splash__tag {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-stone);
  margin: 0;
  opacity: 0;
  animation: splash-fade-in 600ms var(--ease) 1500ms forwards;
}
.splash__tag--ar {
  letter-spacing: 0.06em;
  font-family: var(--f-arabic);
}
.splash__progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--c-smoke);
}
.splash__progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: var(--c-gold);
  animation: splash-progress 1900ms var(--ease) forwards;
}
@keyframes splash-fade-in { to { opacity: 1; transform: none; } }
@keyframes splash-dot { 0% { opacity: 0; transform: translateX(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes splash-rule { to { width: 80px; } }
@keyframes splash-progress { to { width: 100%; } }

/* Block scroll while splash is visible */
body.splash-active { overflow: hidden; height: 100vh; }

/* Honour reduced-motion: skip animation */
@media (prefers-reduced-motion: reduce) {
  .splash, .splash__brand, .splash__brand span, .splash__rule, .splash__tag, .splash__progress::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   14-DAY CALENDAR STRIP (per-branch availability preview)
   ============================================================ */
.calendar-strip {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 6px;
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--text);
  transition: all var(--t-fast);
  min-width: 70px;
}
.cal-day:hover { border-color: var(--c-gold); transform: translateY(-2px); }
.cal-day__dow { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cal-day__num { font-family: var(--f-display); font-size: 26px; color: var(--c-gold); margin: 4px 0; line-height: 1; }
.cal-day__mo { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cal-day__hint { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cal-day--late .cal-day__hint { color: var(--c-gold); }
@media (max-width: 768px) {
  .calendar-strip { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; }
}

/* ============================================================
   NOSCRIPT FALLBACK MESSAGE
   ============================================================ */
.noscript-warning {
  background: var(--c-rust);
  color: var(--c-pearl);
  padding: 14px 20px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ============================================================
   MOBILE FAB (sticky Book button on long pages)
   ============================================================ */
.fab-book {
  position: fixed;
  bottom: 86px; right: 20px;
  z-index: 95;
  background: var(--c-gold);
  color: #0E0F11;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  transform: scale(0);
  transition: transform 300ms var(--ease);
}
.fab-book--visible { transform: scale(1); }
body.lang-ar .fab-book { right: auto; left: 20px; }
@media (min-width: 901px) { .fab-book { display: none !important; } }
@media (max-width: 900px) { .fab-book { display: flex; } }

/* ============================================================
   SKELETON LOADER (for JSON-driven grids)
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--c-carbon) 0%, var(--c-smoke) 50%, var(--c-carbon) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 0;
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   COMPARISON TABLE (high-intent SEO, e.g. Hydra vs Signature)
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-7) 0;
}
.compare-table th, .compare-table td {
  padding: var(--s-4);
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-size: 14px;
  color: var(--text);
}
.compare-table th {
  background: var(--surface);
  color: var(--c-gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.compare-table td:first-child { font-weight: 500; }
body.lang-ar .compare-table th, body.lang-ar .compare-table td { text-align: right; }

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  .site-header, .utility-bar, .mobile-cta, .fab-book, .cta-band, .cookie-consent,
  .footer-newsletter, .footer-socials, .menu-toggle, .lang-switch,
  [data-bind-list], .ig-feed, .share-bar, .quick-book, video, iframe { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .container { max-width: 100% !important; padding: 0 !important; }
  h1, h2, h3 { page-break-after: avoid; color: #000; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  .branch-card, .offer-card { page-break-inside: avoid; }
}

/* ============================================================
   TL;DR BLOG SUMMARY (AIO — extractable summary box)
   ============================================================ */
.tldr {
  background: var(--c-carbon);
  border-left: 3px solid var(--c-gold);
  padding: var(--s-5);
  margin: 0 0 var(--s-6);
}
body.lang-ar .tldr { border-left: 0; border-right: 3px solid var(--c-gold); }
.tldr__label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
  font-weight: 500;
}
.tldr__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-pearl);
}

/* ============================================================
   FAQ ACCORDION (AEO — direct answers, semantic <details>)
   ============================================================ */
.faq { border-top: 1px solid var(--hairline); }
.faq__item {
  border-bottom: 1px solid var(--hairline);
  padding: 0;
}
.faq__q {
  font-family: var(--f-display);
  font-size: 22px;
  padding: var(--s-5) 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text);
  padding-right: 40px;
}
body.lang-ar .faq__q { padding-right: 0; padding-left: 40px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-body);
  font-size: 24px;
  color: var(--c-gold);
  transition: transform var(--t-fast);
}
body.lang-ar .faq__q::after { right: auto; left: 0; }
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  padding: 0 0 var(--s-5);
  margin: 0;
  max-width: 70ch;
}

/* ============================================================
   QUICK BOOK — single-screen mini booking form (NFR-03)
   ============================================================ */
.quick-book {
  background: var(--c-carbon);
  padding: var(--s-7);
  border: 1px solid var(--c-smoke);
}
.quick-book__title {
  font-family: var(--f-display);
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--c-pearl);
}
.quick-book__sub {
  color: var(--c-stone);
  font-size: 13px;
  margin: 0 0 var(--s-5);
}
.quick-book__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 8px;
}
.quick-book__row select,
.quick-book__row input {
  height: 48px; padding: 0 12px; background: transparent;
  border: 1px solid var(--c-smoke); color: var(--c-pearl); font: inherit; font-size: 14px;
}
.quick-book__row select:focus,
.quick-book__row input:focus { outline: 0; border-color: var(--c-gold); }
@media (max-width: 900px) {
  .quick-book__row { grid-template-columns: 1fr; }
}

/* ============================================================
   ICONS — SVG sprite (assets/img/icons.svg) referenced via <use>
   ============================================================ */
.icon {
  width: 18px; height: 18px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  stroke: currentColor;
  flex-shrink: 0;
}
.icon--sm { width: 14px; height: 14px; }
.icon--lg { width: 24px; height: 24px; }

/* Footer socials use slightly bigger icons */
.footer-socials .icon { width: 16px; height: 16px; }
.share-bar .icon { width: 14px; height: 14px; }
.branch-social .icon { width: 14px; height: 14px; margin-right: 6px; }
body.lang-ar .branch-social .icon { margin-right: 0; margin-left: 6px; }

/* ============================================================
   INSTAGRAM FEED + SOCIAL SHARE
   ============================================================ */
.ig-feed {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.ig-post {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
}
.ig-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.ig-post:hover img { transform: scale(1.06); }
.ig-post__overlay {
  position: absolute; inset: 0;
  background: rgba(14,15,17,0.65);
  color: var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.ig-post:hover .ig-post__overlay { opacity: 1; }
@media (max-width: 900px) { .ig-feed { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-feed { grid-template-columns: repeat(2, 1fr); } }

.share-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: var(--s-6) 0;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.share-bar__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 12px;
}
.share-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: all var(--t-fast);
}
.share-bar a:hover { border-color: var(--c-gold); color: var(--c-gold); }
body.lang-ar .share-bar__label { margin-right: 0; margin-left: 12px; }

.branch-social {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-top: var(--s-4);
  font-size: 13px;
  color: var(--muted);
}
.branch-social a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.branch-social a:hover { border-color: var(--c-gold); color: var(--c-gold); }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 24px);
  width: calc(100% - 40px);
  max-width: 720px;
  background: var(--c-obsidian);
  color: var(--c-pearl);
  border: 1px solid var(--c-smoke);
  padding: 18px 20px;
  opacity: 0;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.cookie-consent.is-shown { opacity: 1; transform: translate(-50%, 0); }
.cc__inner { display: flex; gap: 18px; align-items: center; }
.cc__copy { font-size: 13px; line-height: 1.5; }
.cc__copy strong { color: var(--c-gold); display: block; margin-bottom: 2px; font-weight: 500; letter-spacing: 0.04em; }
.cc__copy span { color: var(--muted); }
.cc__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 600px) {
  .cc__inner { flex-direction: column; align-items: stretch; }
  .cc__actions { justify-content: stretch; }
  .cc__actions .btn { flex: 1; }
}
@media (max-width: 900px) {
  body:has(.mobile-cta) .cookie-consent { bottom: 90px; }
}
