/* ===== Design tokens ===== */
:root {
  --ink: #15181a;
  --ink-soft: #4a4f4d;
  --ink-faint: #7c827f;
  --paper: #faf6ee;
  --paper-alt: #f0e8d8;
  --surface: #ffffff;
  --teal: #2c4a50;
  --teal-deep: #16282c;
  --teal-tint: #e4ebea;
  --gold: #ab8752;
  --gold-soft: #d8c39c;
  --line: rgba(21, 24, 26, 0.12);
  --line-soft: rgba(21, 24, 26, 0.07);
  --overlay-strong: rgba(13, 18, 18, 0.62);
  --overlay-soft: rgba(13, 18, 18, 0.28);

  --font-display-en: "Fraunces", "Iowan Old Style", serif;
  --font-body-en: "Inter", -apple-system, sans-serif;
  --font-display-ar: "El Messiri", "Tajawal", serif;
  --font-body-ar: "Tajawal", -apple-system, sans-serif;
  --font-display: var(--font-display-en);
  --font-body: var(--font-body-en);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  --container: 1320px;
  --container-narrow: 860px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;

  --nav-h: 92px;
}

html[lang="ar"] {
  --font-display: var(--font-display-ar);
  --font-body: var(--font-body-ar);
}

/* ===== i18n toggle ===== */
html:not([lang="ar"]) .i18n-ar {
  display: none;
}

html[lang="ar"] .i18n-en {
  display: none;
}

html[dir="rtl"] body {
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sr-only:focus {
  position: fixed;
  top: var(--space-sm);
  inset-inline-start: var(--space-sm);
  width: auto;
  height: auto;
  clip: auto;
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 999;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a,
button {
  touch-action: manipulation;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--teal);
  color: var(--paper);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

@media (max-width: 640px) {
  .container {
    padding-inline: var(--space-sm);
  }
}

/* ===== Type ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

html[dir="rtl"] .eyebrow::before {
  order: 2;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head--center {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

html[lang="ar"] .section-title {
  font-weight: 600;
  line-height: 1.3;
}

.section-title em,
.hero-title em {
  font-style: italic;
  color: var(--teal);
}

html[lang="ar"] .section-title em,
html[lang="ar"] .hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-title em {
  color: var(--paper);
}

html[lang="ar"] .hero-title em {
  color: var(--paper);
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
}

.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  color: var(--teal-deep);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  min-height: 44px;
}

html[lang="ar"] .btn {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 8px 24px -8px rgba(171, 135, 82, 0.6);
}

.btn--primary:hover {
  background: var(--teal);
  box-shadow: 0 10px 28px -8px rgba(44, 74, 80, 0.55);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--on-dark {
  color: var(--paper);
}

.btn--on-dark.btn--ghost:hover {
  background: var(--paper);
  color: var(--teal-deep);
}

.btn--light {
  background: var(--paper);
  color: var(--teal-deep);
}

.btn--light:hover {
  background: var(--gold);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.75rem 1.4rem;
  font-size: 0.75rem;
}

.btn--block {
  width: 100%;
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.3s var(--ease-in-out), visibility 1.3s var(--ease-in-out);
}

.preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  transform: translateY(14px);
  animation: preloaderIn 1.8s var(--ease-out) 0.2s forwards;
}

@keyframes preloaderIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preloader-logo {
  color: var(--paper);
  display: flex;
}

.preloader-bar {
  width: 160px;
  height: 1px;
  background: rgba(250, 246, 238, 0.16);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: translateX(-100%);
  animation: preloaderBar 2.4s var(--ease-in-out) 0.2s infinite;
}

@keyframes preloaderBar {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}


/* ===== Nav ===== */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-inline: var(--space-lg);
  transition: background var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  color: var(--paper);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  height: 74px;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .nav {
    padding-inline: var(--space-sm);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark--nav {
  width: 132px;
  color: inherit;
}

@media (max-width: 560px) {
  .brand-mark--nav {
    width: 104px;
  }
}

.brand-mark--preloader {
  width: 300px;
  max-width: 72vw;
}

.brand-mark--footer {
  width: 200px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-block: var(--space-2xs);
}

html[lang="ar"] .nav-links a {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--dur-fast) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  padding: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.9;
}

.lang-switch button {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast), color var(--dur-fast);
  min-height: unset;
}

.lang-switch button.is-active {
  background: currentColor;
}

.nav.is-scrolled .lang-switch button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.nav:not(.is-scrolled) .lang-switch button.is-active {
  color: var(--ink);
  background: var(--paper);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}

@media (max-width: 1080px) {
  .nav-burger {
    display: flex;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    gap: var(--space-2xs);
  }
  .nav-actions > .btn--primary {
    display: none;
  }
  .lang-switch {
    font-size: 0.68rem;
  }
  .lang-switch button {
    padding: 5px 9px;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--teal-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease-in-out);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-sm);
  inset-inline-end: var(--space-sm);
  font-size: 2rem;
  line-height: 1;
  padding: 10px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

html[dir="rtl"] .mobile-menu-foot {
  align-items: flex-end;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 18, 0.35) 0%, rgba(13, 18, 18, 0.15) 40%, rgba(13, 18, 18, 0.78) 100%);
}

.hero-content {
  padding: calc(var(--nav-h) + var(--space-lg)) var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .hero-content {
    padding: calc(var(--nav-h) + var(--space-md)) var(--space-sm) var(--space-lg);
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

html[lang="ar"] .hero-eyebrow {
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

html[lang="ar"] .hero-title {
  font-weight: 700;
  line-height: 1.15;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero-desc {
  max-width: 34ch;
  font-size: 1.05rem;
  color: rgba(250, 246, 238, 0.86);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-md);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}

html[dir="rtl"] .scroll-cue {
  transform: translateX(50%);
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--paper), transparent);
  animation: scrollcue 2.2s var(--ease-in-out) infinite;
}

@keyframes scrollcue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 640px) {
  .scroll-cue {
    display: none;
  }
}

/* ===== Marquee strip ===== */
.marquee {
  background: var(--teal-deep);
  color: var(--gold-soft);
  overflow: hidden;
  padding-block: var(--space-sm);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
  gap: var(--space-lg);
}

.marquee-track .marquee-lang {
  display: contents;
}

@keyframes marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-duration: 35s !important;
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

html[lang="ar"] .marquee-item {
  font-style: normal;
  font-family: var(--font-body-ar);
  font-weight: 600;
}

.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== Intro / story ===== */
.intro {
  padding-block: var(--space-2xl) var(--space-xl);
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

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

.intro-media {
  position: relative;
  isolation: isolate;
}

.intro-media .img-a {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.intro-media .img-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-media .img-b {
  position: absolute;
  bottom: -8%;
  inset-inline-end: -14%;
  width: 55%;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(21, 24, 26, 0.4);
  border: 6px solid var(--paper);
  z-index: 2;
}

.intro-media .img-b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .intro-media .img-b {
    width: 60%;
    bottom: -10%;
    inset-inline-end: -8%;
  }
}

.intro-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-inline-start: var(--space-md);
}

html[dir="rtl"] .intro-body {
  padding-inline-start: 0;
  padding-inline-end: var(--space-md);
}

@media (max-width: 900px) {
  .intro-body {
    padding-inline: 0;
    margin-top: var(--space-lg);
  }
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: var(--space-md);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-md);
  }
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal);
  font-weight: 500;
}

.stat span {
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html[lang="ar"] .stat span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
}

/* ===== Dark break / quote ===== */
.quote-break {
  background: var(--teal-deep);
  color: var(--paper);
  padding-block: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 30%, rgba(171, 135, 82, 0.16), transparent 70%);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.quote-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.3;
  max-width: 18ch;
  margin-inline: auto;
}

html[lang="ar"] .quote-text {
  font-weight: 600;
}

.quote-text em {
  font-style: italic;
  color: var(--gold-soft);
}

html[lang="ar"] .quote-text em {
  font-style: normal;
  color: var(--gold-soft);
}

.qword {
  display: inline-block;
}

.quote-attr {
  margin-top: var(--space-md);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ===== Section shell ===== */
.section {
  padding-block: var(--space-xl);
}

.section--alt {
  background: var(--paper-alt);
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ===== Gallery ===== */
.gallery-filters {
  display: flex;
  gap: var(--space-2xs);
  flex-wrap: wrap;
}

.chip {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: all var(--dur-fast) var(--ease-out);
}

.chip.is-active,
.chip:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);
}

.gallery-dark {
  background: var(--ink);
  color: var(--paper);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.gallery-dark .section-title {
  color: var(--paper);
}

.gallery-dark .section-title em {
  color: var(--paper);
  font-style: italic;
}

html[lang="ar"] .gallery-dark .section-title em {
  color: var(--gold-soft);
}

.gallery-dark .section-sub {
  color: rgba(250, 246, 238, 0.68);
}

.gallery-dark .chip {
  border-color: rgba(250, 246, 238, 0.28);
  color: rgba(250, 246, 238, 0.8);
}

.gallery-dark .chip.is-active,
.gallery-dark .chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.gallery-carousel-wrap {
  position: relative;
  margin-top: var(--space-xl);
}

.gallery-carousel {
  direction: ltr;
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: max(var(--space-md), calc(50vw - 175px));
  padding-block: var(--space-sm) var(--space-2xs);
}

html[dir="rtl"] .g-slide-label {
  direction: rtl;
  text-align: right;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.g-slide {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: center;
  cursor: pointer;
  opacity: 0.4;
  transform: scale(0.86);
  will-change: transform, opacity;
}

.g-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 640px) {
  .g-slide {
    width: 340px;
    aspect-ratio: 4 / 5.2;
  }
  .g-slide.is-active {
    transform: scale(1.06) translateY(-10px);
  }
}

.g-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.g-slide.is-active:hover img {
  transform: scale(1.05);
}

.g-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 11, 0.7));
}

.g-slide-label {
  position: absolute;
  inset-inline: 18px;
  bottom: 16px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 1;
}

.g-slide.is-active .g-slide-label {
  opacity: 1;
  transform: translateY(0);
}

.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.3);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.carousel-arrow--prev {
  left: var(--space-md);
}

.carousel-arrow--next {
  right: var(--space-md);
}

@media (max-width: 640px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: -8px;
    transform: none;
  }
  .carousel-arrow--prev {
    left: var(--space-sm);
  }
  .carousel-arrow--next {
    right: var(--space-sm);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 14, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out);
  padding: var(--space-md);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--paper);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(250, 246, 238, 0.14);
}

.lightbox-close {
  top: var(--space-md);
  inset-inline-end: var(--space-md);
}

.lightbox-prev {
  inset-inline-start: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  inset-inline-end: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: var(--space-md);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  color: rgba(250, 246, 238, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ===== Rooms ===== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 860px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}

.room-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(21, 24, 26, 0.35);
}

.room-card--wide {
  grid-column: span 2;
}

@media (max-width: 860px) {
  .room-card--wide {
    grid-column: span 1;
  }
}

.room-card--wide .room-media {
  aspect-ratio: 21 / 9;
}

.room-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.room-card:hover .room-media img {
  transform: scale(1.05);
}

.room-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.room-index {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
}

html[lang="ar"] .room-index {
  font-style: normal;
  font-weight: 700;
}

.room-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs) var(--space-2xs);
  margin-top: var(--space-2xs);
}

.room-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

html[lang="ar"] .room-tag {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
}

.room-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: var(--space-2xs);
}

/* ===== Facilities ===== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
}

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

.facility {
  background: var(--surface);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: background var(--dur-fast);
}

.facility:hover {
  background: var(--paper-alt);
}

.facility svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
  stroke-width: 1.4;
}

.facility h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
}

.facility p {
  font-size: 0.86rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ===== Pricing ===== */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: stretch;
  margin-top: var(--space-lg);
}

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

.price-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--line-soft);
  gap: var(--space-md);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.is-peak {
  background: var(--teal-tint);
}

@media (max-width: 560px) {
  .price-row {
    padding: var(--space-sm) var(--space-md);
  }
}

.price-days {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-days b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.price-days span {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--teal);
  font-weight: 500;
  white-space: nowrap;
}

.price-amount small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-inline-start: 4px;
}

.price-note {
  padding: var(--space-md) var(--space-lg);
  background: var(--teal-deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
}

.price-note svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold-soft);
}

.price-aside {
  background: var(--teal-deep);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
}

.price-aside .lede {
  color: var(--paper);
}

.price-aside ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
}

.price-aside li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: 0.9rem;
  color: rgba(250, 246, 238, 0.85);
}

.price-aside li svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Location ===== */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
  margin-top: var(--space-lg);
}

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

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  filter: grayscale(0.25) contrast(1.05);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.location-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding-block: var(--space-sm);
  border-top: 1px solid var(--line);
}

.location-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.location-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ===== Reviews ===== */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.rating-badge .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--teal);
}

.rating-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
}

.rating-stars svg {
  width: 16px;
  height: 16px;
}

.rating-meta {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.reviews-carousel-wrap {
  margin-top: var(--space-lg);
}

.reviews-track {
  direction: ltr;
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2xs);
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(86vw, 380px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.reviews-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);
}

.reviews-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--dur-fast), transform var(--dur-fast);
  padding: 0;
}

.reviews-dot.is-active {
  background: var(--teal);
  transform: scale(1.35);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
}

.review-stars svg {
  width: 14px;
  height: 14px;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}

html[lang="ar"] .review-text {
  font-size: 1.1rem;
}

.review-who {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line-soft);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-who b {
  display: block;
  font-size: 0.88rem;
}

.review-who span {
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* ===== Book now ===== */
.book {
  position: relative;
  background: var(--teal-deep);
  color: var(--paper);
  overflow: hidden;
}

.book-media {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.book-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-inner {
  position: relative;
  padding-block: var(--space-2xl);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

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

.book-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
}

html[lang="ar"] .book-title {
  font-weight: 700;
  line-height: 1.3;
}

.book-desc {
  margin-top: var(--space-sm);
  color: rgba(250, 246, 238, 0.82);
  max-width: 42ch;
  font-size: 1.02rem;
}

.book-actions {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.book-card {
  background: rgba(250, 246, 238, 0.06);
  border: 1px solid rgba(250, 246, 238, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(6px);
}

.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.book-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.book-step {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.book-step .n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.book-step p {
  font-size: 0.9rem;
  color: rgba(250, 246, 238, 0.85);
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(250, 246, 238, 0.7);
  padding-block: var(--space-xl) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(250, 246, 238, 0.12);
}

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

.footer-brand {
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

.footer-brand-ar {
  font-family: var(--font-body-ar);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.footer p.footer-desc {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  max-width: 32ch;
}

.footer h5 {
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-social {
  display: flex;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  font-size: 0.78rem;
}

/* ===== WhatsApp FAB ===== */
.wa-fab {
  position: fixed;
  bottom: var(--space-md);
  inset-inline-end: var(--space-md);
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.65);
  transition: transform var(--dur-fast) var(--ease-out);
}

.wa-fab:hover {
  transform: scale(1.08);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
}

/* ===== Reveal utilities (GSAP hooks) ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
}

.reveal-fade {
  opacity: 0;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
}

.js-ready .reveal,
.js-ready .reveal-fade,
.js-ready .reveal-scale {
  will-change: transform, opacity;
}

.no-js .reveal,
.no-js .reveal-fade,
.no-js .reveal-scale {
  opacity: 1;
  transform: none;
}
