/* ============================================================
   OLY BEACH — design system
   Dusk-luxury palette drawn from the renders:
   ink night sky, sand ivory, Olympia flame, club gold.
   ============================================================ */

/* ---------- fonts (vendored, offline-safe) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; src: url('../vendor/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; src: url('../vendor/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; src: url('../vendor/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; src: url('../vendor/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; src: url('../vendor/fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; src: url('../vendor/fonts/manrope-latin-300-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; src: url('../vendor/fonts/manrope-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; src: url('../vendor/fonts/manrope-latin-500-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; src: url('../vendor/fonts/manrope-latin-600-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; src: url('../vendor/fonts/manrope-latin-700-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; src: url('../vendor/fonts/manrope-latin-800-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400; src: url('../vendor/fonts/tajawal-arabic-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 500; src: url('../vendor/fonts/tajawal-arabic-500-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 700; src: url('../vendor/fonts/tajawal-arabic-700-normal.woff2') format('woff2'); font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ink: #0a0d13;
  --ink-2: #0f131c;
  --panel: #141926;
  --line: rgba(238, 227, 203, 0.12);
  --sand: #f1e9d7;
  --sand-dim: #cfc6b2;
  --mute: #8f97a8;
  --flame: #e8482b;
  --flame-2: #f2a93b;
  --gold: #c9a45c;
  --gold-soft: rgba(201, 164, 92, 0.35);
  --serif: 'Cormorant Garamond', 'Tajawal', serif;
  --sans: 'Manrope', 'Tajawal', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 40px 80px -20px rgba(0, 0, 0, 0.65);
  --radius: 14px;
}
[dir='rtl'] body { --serif: 'Tajawal', 'Cormorant Garamond', serif; --sans: 'Tajawal', 'Manrope', sans-serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  background: var(--ink);
  color: var(--sand);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--flame); color: #fff; }

/* subtle grain over everything */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 3;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }
[dir='rtl'] .eyebrow { letter-spacing: 0.08em; }
.h-display {
  font-family: var(--serif); font-weight: 500; line-height: 1.06;
  font-size: clamp(38px, 5.2vw, 74px); color: var(--sand);
}
.h-display em { font-style: italic; color: var(--gold); }
.lead { color: var(--sand-dim); font-size: clamp(15px, 1.15vw, 18px); font-weight: 300; }

/* ---------- layout ---------- */
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
section { position: relative; padding: clamp(90px, 10vw, 150px) 0; }

/* ---------- reveal system (driven by main.js) ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.rv-img.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-img img { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#loader img { width: 84px; filter: drop-shadow(0 0 30px rgba(232, 72, 43, 0.35)); }
#loader .bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
#loader .bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--flame), var(--flame-2)); }
#loader .pct { font-size: 11px; letter-spacing: 0.4em; color: var(--mute); }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
#nav.solid { background: rgba(10, 13, 19, 0.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
#nav .inner { display: flex; align-items: center; gap: 30px; padding: 18px 0; }
#nav .brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; letter-spacing: 0.06em; font-weight: 600; }
#nav .brand img { width: 38px; height: 38px; }
#nav .links { display: flex; gap: 26px; margin-inline-start: auto; }
#nav .links a { font-size: 13px; font-weight: 500; color: var(--sand-dim); letter-spacing: 0.04em; position: relative; padding: 6px 0; transition: color 0.3s; }
#nav .links a:hover { color: var(--sand); }
#nav .links a::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.35s var(--ease-out); }
#nav .links a:hover::after { width: 100%; }
.btn-lang { font-size: 12.5px; font-weight: 600; color: var(--gold); border: 1px solid var(--gold-soft); padding: 7px 14px; border-radius: 99px; transition: 0.3s; }
.btn-lang:hover { background: var(--gold); color: var(--ink); }
.btn-tour-sm {
  font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 99px;
  background: linear-gradient(100deg, var(--flame), var(--flame-2)); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(232, 72, 43, 0.55); transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  white-space: nowrap;
}
.btn-tour-sm:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(232, 72, 43, 0.7); }
@media (max-width: 960px) { #nav .links { display: none; } }
@media (max-width: 700px) {
  #nav .brand span { display: none; }
  .btn-tour-sm { font-size: 12px; padding: 9px 14px; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero { min-height: 100svh; display: grid; place-items: center; padding: 0; overflow: hidden; }
#hero .media { position: absolute; inset: 0; }
#hero video, #hero .media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.12) translateY(-12px); } }
#hero .shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,13,19,0.62) 0%, rgba(10,13,19,0.18) 38%, rgba(10,13,19,0.34) 62%, var(--ink) 100%),
  radial-gradient(120% 70% at 50% 108%, rgba(10,13,19,0.9), transparent 60%);
}
#hero .content { position: relative; z-index: 2; text-align: center; padding: 140px 24px 110px; }
#hero .eyebrow { justify-content: center; }
#hero .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }
.hero-title {
  font-family: var(--serif); font-weight: 600; line-height: 0.95;
  font-size: clamp(64px, 13vw, 190px); letter-spacing: 0.02em; margin: 18px 0 8px;
  display: flex; justify-content: center; gap: 0.22em; flex-wrap: wrap;
}
.hero-title .word { display: inline-flex; }
.hero-title .ch { display: inline-block; will-change: transform, opacity; }
.hero-title .w-beach { color: transparent; -webkit-text-stroke: 1.5px var(--sand); }
[dir='rtl'] .hero-title { letter-spacing: 0; line-height: 1.15; }
[dir='rtl'] .hero-title .w-beach { -webkit-text-stroke: 0; color: var(--gold); }
.hero-tag { font-size: clamp(13px, 1.4vw, 17px); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
[dir='rtl'] .hero-tag { letter-spacing: 0.06em; }
.hero-sub { max-width: 560px; margin: 22px auto 38px; }
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px; border-radius: 99px; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(100deg, var(--flame), var(--flame-2));
  box-shadow: 0 16px 40px -10px rgba(232, 72, 43, 0.6);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s; position: relative; overflow: hidden;
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s ease; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -12px rgba(232, 72, 43, 0.75); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 34px; border-radius: 99px; font-weight: 600; font-size: 15px;
  color: var(--sand); border: 1px solid var(--line); backdrop-filter: blur(6px);
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease-out);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 164, 92, 0.08); transform: translateY(-3px); }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mute);
}
[dir='rtl'] .scroll-cue { letter-spacing: 0.1em; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); animation: cueDrop 2.2s var(--ease-out) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- stat strip ---------- */
#stats { padding: 0; margin-top: -1px; }
#stats .row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
}
#stats .cell { padding: 34px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
#stats .cell:first-child { border-inline-start: 0; }
#stats .num { font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); font-weight: 600; color: var(--sand); line-height: 1; }
#stats .num small { font-size: 0.5em; color: var(--gold); font-family: var(--sans); font-weight: 700; letter-spacing: 0.08em; }
#stats .lbl { margin-top: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
[dir='rtl'] #stats .lbl { letter-spacing: 0.02em; }
@media (max-width: 900px) {
  #stats .row { grid-template-columns: repeat(2, 1fr); }
  #stats .cell { border-top: 1px solid var(--line); }
  #stats .cell:nth-child(-n+2) { border-top: 0; }
  #stats .cell:last-child { grid-column: span 2; }
}

/* ============================================================
   PROJECT (split)
   ============================================================ */
#project .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
#project .copy p { margin-top: 18px; }
#project .copy .decree { margin-top: 26px; font-size: 13px; color: var(--gold); letter-spacing: 0.06em; border: 1px dashed var(--gold-soft); display: inline-block; padding: 10px 18px; border-radius: 8px; }
#project figure { position: relative; }
#project figure .frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
#project figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
#project figcaption { margin-top: 14px; font-size: 12.5px; color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
#project figcaption::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
#project figure::after {
  content: ''; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
}
[dir='rtl'] #project figure::after { inset: 24px 24px -24px -24px; }
@media (max-width: 900px) { #project .grid { grid-template-columns: 1fr; } }

/* ============================================================
   LOCATION
   ============================================================ */
#location { background: var(--ink-2); }
#location .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
#location .map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
#location .map img { width: 100%; }
#location .map .ping {
  position: absolute; top: 21%; left: 30%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--flame); box-shadow: 0 0 0 4px rgba(232, 72, 43, 0.3);
}
#location .map .ping::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--flame); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.feat-list { display: flex; flex-direction: column; gap: 0; margin-top: 34px; }
.feat { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat .n { font-family: var(--serif); font-size: 22px; color: var(--gold); font-style: italic; min-width: 40px; }
.feat h4 { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.feat p { font-size: 14px; color: var(--mute); margin-top: 4px; }
@media (max-width: 900px) { #location .grid { grid-template-columns: 1fr; } }

/* ============================================================
   MASTER PLAN EXPLORER
   ============================================================ */
#masterplan .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
#masterplan .hint { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 12px; }
[dir='rtl'] #masterplan .hint { letter-spacing: 0.04em; }
#masterplan .hint svg { animation: dragNudge 2.4s ease-in-out infinite; }
@keyframes dragNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
.plan-viewport {
  position: relative; overflow-x: auto; overflow-y: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
}
.plan-viewport::-webkit-scrollbar { display: none; }
.plan-viewport.grabbing { cursor: grabbing; }
.plan-inner { position: relative; width: max(1700px, 160%); }
.plan-inner img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.pin button {
  width: 34px; height: 34px; border-radius: 50%; position: relative;
  background: rgba(10, 13, 19, 0.75); border: 1px solid var(--gold);
  color: var(--gold); font-weight: 700; font-size: 13px; font-family: var(--serif);
  transition: 0.3s; backdrop-filter: blur(4px);
}
.pin button::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0.5; animation: ping 2.6s ease-out infinite; }
.pin button:hover, .pin.active button { background: var(--gold); color: var(--ink); transform: scale(1.12); }
.plan-card {
  margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 8px 26px; align-items: baseline;
  border-inline-start: 2px solid var(--gold); padding: 18px 26px; background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0;
  min-height: 96px;
}
[dir='rtl'] .plan-card { border-radius: var(--radius) 0 0 var(--radius); }
.plan-card .idx { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold); line-height: 1; }
.plan-card h4 { font-size: 19px; font-weight: 700; }
.plan-card p { grid-column: 2; font-size: 14.5px; color: var(--mute); }

/* ============================================================
   WALKTHROUGH TEASER
   ============================================================ */
#walkthrough { padding: 0; }
#walkthrough .stage { position: relative; min-height: 92vh; display: grid; place-items: center; overflow: hidden; }
#walkthrough .bg { position: absolute; inset: -8% 0; background-position: center; background-size: cover; will-change: transform; }
#walkthrough .shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,13,19,0.45) 30%, rgba(10,13,19,0.55) 70%, var(--ink) 100%); }
#walkthrough .content { position: relative; z-index: 2; text-align: center; max-width: 760px; padding: 120px 24px; }
#walkthrough .lead { margin: 22px auto 30px; }
#walkthrough ul { list-style: none; display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
#walkthrough li { font-size: 13.5px; color: var(--sand-dim); display: flex; align-items: center; gap: 9px; }
#walkthrough li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--flame-2); box-shadow: 0 0 10px var(--flame-2); }
.btn-xl { font-size: 17px; padding: 21px 46px; }

/* ============================================================
   GALLERY MARQUEE + LIGHTBOX
   ============================================================ */
#gallery { overflow: hidden; background: var(--ink-2); }
#gallery .head { text-align: center; margin-bottom: 54px; }
.marquee { display: flex; gap: 22px; width: max-content; padding-block: 11px; }
.marquee-row { overflow: visible; }
.marquee-row + .marquee-row { margin-top: 0; }
.m-item {
  position: relative; width: clamp(300px, 30vw, 460px); aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in; flex: none; border: 1px solid var(--line);
}
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out), filter 0.8s; }
.m-item:hover img { transform: scale(1.07); }
.m-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 14px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(10,13,19,0.85)); color: var(--sand-dim);
  opacity: 0; transform: translateY(8px); transition: 0.45s var(--ease-out);
}
[dir='rtl'] .m-item figcaption { letter-spacing: 0.02em; }
.m-item:hover figcaption { opacity: 1; transform: none; }
#lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(6, 8, 12, 0.94); backdrop-filter: blur(10px);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: 0.4s;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
#lightbox .cap { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-dim); }
#lightbox .x { position: absolute; top: 22px; inset-inline-end: 26px; font-size: 30px; color: var(--sand); opacity: 0.7; transition: 0.3s; }
#lightbox .x:hover { opacity: 1; transform: rotate(90deg); }
#lightbox .arr { position: absolute; top: 50%; transform: translateY(-50%); font-size: 26px; padding: 18px; color: var(--sand); opacity: 0.6; transition: 0.25s; }
#lightbox .arr:hover { opacity: 1; }
#lightbox .arr.prev { left: 14px; } #lightbox .arr.next { right: 14px; }

/* ============================================================
   HOTEL — floors & rooms
   ============================================================ */
#hotel .head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
  padding: 11px 26px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--sand-dim);
  border: 1px solid var(--line); transition: 0.3s; letter-spacing: 0.04em;
}
.tab:hover { border-color: var(--gold-soft); color: var(--sand); }
.tab.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.floor-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #f4f1ea; border: 1px solid var(--line); }
.floor-stage img { width: 100%; display: block; }
.floor-note { margin-top: 18px; text-align: center; color: var(--mute); font-size: 14.5px; min-height: 24px; }
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 74px; }
.room-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; transition: transform 0.5s var(--ease-out), border-color 0.4s; }
.room-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); }
.room-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.room-card p { padding: 14px 16px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand-dim); }
[dir='rtl'] .room-card p { letter-spacing: 0.02em; }
@media (max-width: 900px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   AMENITIES
   ============================================================ */
#amenities { background: var(--ink-2); }
#amenities .head { text-align: center; margin-bottom: 54px; }
.amen-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.amen {
  padding: 26px 18px; border: 1px solid var(--line); margin: -1px 0 0 -1px;
  display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
  font-size: 13.5px; color: var(--sand-dim); font-weight: 500;
  transition: background 0.4s, color 0.4s;
}
.amen:hover { background: rgba(201, 164, 92, 0.06); color: var(--sand); }
.amen svg { width: 26px; height: 26px; stroke: var(--gold); }
@media (max-width: 1000px) { .amen-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .amen-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CONTACT
   ============================================================ */
#contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
#contact form { display: flex; flex-direction: column; gap: 16px; }
#contact input, #contact textarea {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; color: var(--sand); font: inherit; font-size: 15px; resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#contact input:focus, #contact textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.15); }
#contact input::placeholder, #contact textarea::placeholder { color: var(--mute); }
#contact .alt { margin-top: 22px; font-size: 14px; color: var(--mute); }
#contact .alt a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); transition: 0.3s; }
#contact .alt a:hover { border-color: var(--gold); }
#toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 20px); z-index: 95;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 14px 26px; border-radius: 99px; opacity: 0; transition: 0.45s var(--ease-out); pointer-events: none;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { #contact .grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); padding: 44px 0 110px; }
footer .inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
footer img { width: 44px; }
footer .meta { font-size: 13px; color: var(--mute); line-height: 1.9; }
footer .meta b { color: var(--sand-dim); font-weight: 600; }
footer .fine { margin-inline-start: auto; font-size: 12px; color: var(--mute); opacity: 0.75; max-width: 300px; text-align: end; }

/* mobile sticky tour CTA */
#mobile-cta {
  position: fixed; bottom: 18px; inset-inline: 18px; z-index: 60; display: none;
}
#mobile-cta a { width: 100%; justify-content: center; }
@media (max-width: 700px) {
  #mobile-cta { display: flex; }
  footer { padding-bottom: 130px; }
}
