/* =========================================================
   Raffles Spa — رافلز سبا
   ========================================================= */

:root {
  --ink: #13100D;
  --ink-2: #1B1612;
  --ink-3: #2A221C;
  --ivory: #F7F1E8;
  --sand: #EEE4D4;
  --stone: #DCCDB6;
  --gold: #C9A36A;
  --gold-2: #E8CF9E;
  --gold-deep: #94723F;
  --text: #2B231C;
  --text-soft: #6C6054;
  --cream: #F1E9DC;
  --cream-soft: rgba(241, 233, 220, .72);
  --line-dark: rgba(201, 163, 106, .24);
  --line-light: rgba(43, 35, 28, .12);
  --wa: #25D366;

  --f-display: "El Messiri", "Cormorant Garamond", serif;
  --f-body: "IBM Plex Sans Arabic", "Jost", system-ui, sans-serif;
  --f-num: "Cormorant Garamond", "El Messiri", serif;

  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 80px;
  --gold-grad: linear-gradient(120deg, #F3DFB4 0%, var(--gold-2) 25%, var(--gold) 55%, var(--gold-deep) 100%);
}

html[lang="en"] {
  --f-display: "Cormorant Garamond", "El Messiri", serif;
  --f-body: "Jost", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
body.menu-open { overflow: hidden; }

img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; }

.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }

.ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

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

.skip {
  position: fixed; top: -80px; inset-inline-start: 16px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

::selection { background: var(--gold); color: var(--ink); }

/* Cormorant uses old-style figures by default; keep numbers upright */
.stat__num, .card__num, .step__n, .score__num, .loc__steps li::before, .king__title, .brand__en, .loader__en {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: radial-gradient(50% 50% at 50% 50%, #221a14 0%, var(--ink) 70%);
  transition: opacity .9s var(--ease), visibility .9s;
}
.js .loader.is-done, .ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.loader__mark { width: 70px; height: 70px; color: var(--gold); animation: breathe 1.8s ease-in-out infinite; }
.loader__name { font-family: "El Messiri", serif; font-size: 30px; font-weight: 600; color: var(--cream); margin-top: 10px; }
.loader__en { font-family: "Cormorant Garamond", serif; letter-spacing: .5em; font-size: 12px; color: var(--gold); padding-inline-start: .5em; }
@keyframes breathe { 50% { transform: translateY(-6px) scale(1.04); opacity: .8; } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right;
}
html[dir="ltr"] .progress { transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 500; white-space: nowrap; letter-spacing: .01em;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .ico { width: 21px; height: 21px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }

.btn--gold {
  color: #1D150D;
  background: var(--gold-grad);
  background-size: 160% 100%;
  box-shadow: 0 12px 32px -12px rgba(201, 163, 106, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(201, 163, 106, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--cream);
  border: 1px solid rgba(232, 207, 158, .4);
  background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold-2); background: rgba(232, 207, 158, .1); transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(19, 16, 13, .7); }
.btn--line { border: 1px solid var(--line-light); color: var(--text); background: #fff; }
.btn--line:hover { border-color: var(--gold-deep); transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--gold-deep); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow .ico { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(-5px); }
html[dir="ltr"] .link-arrow .ico, html[dir="ltr"] .card__cta .ico { transform: scaleX(-1); }
html[dir="ltr"] .link-arrow:hover .ico, html[dir="ltr"] .card__cta:hover .ico { transform: scaleX(-1) translateX(-5px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: height .45s var(--ease), background-color .45s, border-color .45s;
}
.nav.is-scrolled {
  height: 68px;
  background: rgba(19, 16, 13, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; color: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__ar { font-family: "El Messiri", serif; font-size: 23px; font-weight: 600; color: var(--cream); }
.brand__en { font-family: "Cormorant Garamond", serif; font-size: 11px; font-weight: 600; letter-spacing: .42em; color: var(--gold); margin-top: 4px; }

.nav__links { display: flex; gap: 34px; font-size: 15.5px; }
.nav__links a { position: relative; padding: 6px 0; color: var(--cream-soft); transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-dark); font-size: 14px; font-weight: 500; letter-spacing: .04em;
  transition: border-color .3s, color .3s, background-color .3s;
}
.lang:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 163, 106, .08); }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--cream); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__links { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .nav__book { display: none; }
  .brand__ar { font-size: 21px; }
  .brand__mark { width: 38px; height: 38px; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 49;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  padding: 100px 24px 40px;
  background: radial-gradient(70% 50% at 50% 30%, rgba(201, 163, 106, .14), transparent 70%), var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mmenu__links a, .mmenu__foot {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
.mmenu__links a { font-family: var(--f-display); font-size: 30px; font-weight: 600; padding: 6px 18px; color: var(--cream); }
.mmenu__links a:hover { color: var(--gold-2); }
.mmenu.is-open .mmenu__links a, .mmenu.is-open .mmenu__foot { opacity: 1; transform: none; }
.mmenu__foot { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mmenu__tel { color: var(--gold-2); letter-spacing: .06em; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) rotateX(12deg);
  transform-origin: 50% 100%;
  transition: opacity 1s var(--ease), transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  --glow-x: 28%;
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(42% 52% at var(--glow-x) 56%, rgba(201, 163, 106, .2), transparent 70%),
    radial-gradient(80% 60% at 85% -10%, rgba(110, 72, 40, .35), transparent 70%),
    linear-gradient(180deg, #110E0B 0%, #18130F 62%, var(--ink) 100%);
  perspective: 1200px;
}
html[dir="ltr"] .hero { --glow-x: 72%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__fallback { display: none; }
.no-webgl .hero__fallback {
  display: block; position: absolute; top: 50%; inset-inline-end: 8%; width: min(36vw, 420px);
  transform: translateY(-50%); color: rgba(201, 163, 106, .3);
}
.no-webgl .hero__fallback svg { width: 100%; height: auto; }

.hero__inner { position: relative; z-index: 2; padding-top: var(--nav-h); padding-bottom: 60px; }
.hero__content { max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; color: var(--gold-2); margin: 0;
}
html[lang="en"] .eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 163, 106, .2); animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 7px rgba(201, 163, 106, .05); } }

.hero__title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(46px, 6.6vw, 92px); line-height: 1.12;
  margin: 26px 0 20px; color: var(--cream); letter-spacing: -.005em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
html[lang="en"] .hero__title { font-weight: 500; line-height: 1; letter-spacing: -.02em; font-size: clamp(50px, 7.2vw, 104px); }
.hero__title em, .king__title, .score__num {
  font-style: normal;
  background: var(--gold-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
html[lang="en"] .hero__title em { font-style: italic; padding-inline-end: .06em; }
@keyframes shimmer { to { background-position: 200% center; } }

.hero__sub { font-size: clamp(16.5px, 1.35vw, 19px); color: var(--cream-soft); max-width: 31em; margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.rating-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--cream-soft); transition: color .3s; }
.rating-pill strong { color: var(--cream); font-size: 16px; font-weight: 600; }
.rating-pill:hover { color: var(--cream); }

.stars-bar { --rating: 5; display: inline-block; font-size: 17px; line-height: 1; letter-spacing: 3px; }
.stars-bar::before {
  content: "★★★★★";
  background: linear-gradient(to left, var(--gold) calc(var(--rating) / 5 * 100%), rgba(201, 163, 106, .28) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[dir="ltr"] .stars-bar::before { background: linear-gradient(to right, var(--gold) calc(var(--rating) / 5 * 100%), rgba(201, 163, 106, .28) 0); -webkit-background-clip: text; background-clip: text; }
.stars-bar--lg { font-size: 24px; letter-spacing: 5px; }

.hero__scroll {
  position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .2em; color: var(--cream-soft);
}
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(19, 16, 13, .82) 40%, var(--ink) 100%);
  }
  .hero__inner { padding-bottom: 46px; }
  .hero__content { max-width: none; text-align: center; margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__ctas { gap: 10px; margin-bottom: 26px; }
  .hero__ctas .btn { flex: 1 1 200px; height: 52px; }
  .hero__title { margin: 18px 0 12px; font-size: clamp(36px, 10.4vw, 58px); }
  html[lang="en"] .hero__title { font-size: clamp(42px, 12vw, 64px); }
  .hero__sub { font-size: 16px; }
  .hero__sub { margin-inline: auto; margin-bottom: 28px; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  padding: 24px 0; background: var(--ink-2);
  border-block: 1px solid var(--line-dark);
}
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink-2), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
html[dir="rtl"] .marquee__track { animation-name: marqueeRtl; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 30px; padding-inline: 15px;
  font-family: var(--f-display); font-size: clamp(21px, 2.3vw, 30px); font-weight: 500; white-space: nowrap; color: var(--cream);
}
.marquee__item::after { content: "✦"; font-size: .55em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section--ivory { background: var(--ivory); color: var(--text); }
.section--sand { background: var(--sand); color: var(--text); }
.section--dark { background: var(--ink); color: var(--cream); }

.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 16px;
  font-size: 15px; font-weight: 500; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.section--dark .kicker { color: var(--gold); }
html[lang="en"] .kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }

.h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(34px, 4.5vw, 60px); line-height: 1.25; margin-bottom: 20px;
}
html[lang="en"] .h2 { font-weight: 500; line-height: 1.06; letter-spacing: -.01em; font-size: clamp(38px, 5vw, 66px); }

.lead { font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--text-soft); margin: 0 0 30px; }
.section--dark .lead, .cta .lead { color: var(--cream-soft); }

.sec-head { text-align: center; max-width: 740px; margin: 0 auto clamp(44px, 6vw, 72px); }
.sec-head .kicker::after { content: ""; width: 30px; height: 1px; background: currentColor; }
.sec-head .lead { margin-bottom: 0; }

/* ---------- Intro ---------- */
.intro { overflow: hidden; }
.intro__ornament {
  position: absolute; top: 50%; inset-inline-end: -60px; width: 380px; height: auto;
  transform: translateY(-50%); color: rgba(148, 114, 63, .14); stroke-width: 1;
  pointer-events: none;
}
.intro__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; perspective: 1000px; }
.stat {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line-light);
  box-shadow: 0 30px 50px -36px rgba(70, 48, 24, .4);
  transform-style: preserve-3d;
}
.stat__num { font-family: var(--f-num); font-size: clamp(46px, 5vw, 68px); font-weight: 600; line-height: 1; color: var(--text); transform: translateZ(30px); }
.stat__num small { font-size: .55em; color: var(--gold-deep); margin-inline-start: 2px; }
.stat__label { color: var(--text-soft); font-size: 15px; transform: translateZ(18px); }
.stat--dark { background: radial-gradient(90% 90% at 80% 0%, rgba(201, 163, 106, .25), transparent 60%), var(--ink); border-color: var(--ink); }
.stat--dark .stat__num { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .04em; }
.stat--dark .stat__label { color: var(--cream-soft); }

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__ornament { opacity: .6; }
}
@media (max-width: 420px) { .stat { padding: 24px 18px; } }

/* ---------- 3D tilt (shared) ---------- */
.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.tilt.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 207, 158, .26), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tilt:hover::before { opacity: 1; }
.js .tilt.reveal { transform: perspective(1000px) translate3d(0, 42px, 0) rotateX(12deg); }
.js .tilt.reveal.in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (prefers-reduced-motion: reduce) { .js .tilt.reveal { transform: none; } }

/* ---------- Services ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-light); background: rgba(255, 255, 255, .5);
  font-size: 15.5px; font-weight: 500; color: var(--text-soft);
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.tab .ico { width: 20px; height: 20px; }
.tab:hover { color: var(--text); border-color: var(--gold-deep); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tab[aria-selected="true"] .ico { color: var(--gold); }
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 4px 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

.panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.panel[hidden] { display: none; }
.panel .card { animation: cardIn .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes cardIn { from { opacity: 0; transform: perspective(1000px) translate3d(0, 40px, -60px) rotateX(14deg); } }

.card {
  position: relative; display: flex; flex-direction: column;
  min-height: 310px; padding: 34px 30px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #FCF9F4);
  border: 1px solid var(--line-light);
  box-shadow: 0 34px 60px -44px rgba(70, 48, 24, .5);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: 0 44px 80px -44px rgba(70, 48, 24, .65); }
.card__icon {
  width: 64px; height: 64px; margin-bottom: 26px; border-radius: 20px;
  display: grid; place-items: center; color: var(--gold-deep);
  background: linear-gradient(145deg, var(--sand), #fff);
  border: 1px solid var(--line-light);
  transform: translateZ(46px);
  box-shadow: 0 14px 24px -16px rgba(70, 48, 24, .5);
}
.card__icon .ico { width: 32px; height: 32px; stroke-width: 1.5; }
.card__num {
  position: absolute; top: 22px; inset-inline-end: 28px;
  font-family: var(--f-num); font-size: 60px; font-weight: 600; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(148, 114, 63, .38);
  transform: translateZ(22px);
}
.card h3 { font-family: var(--f-display); font-size: 25px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; color: var(--text); transform: translateZ(34px); }
html[lang="en"] .card h3 { font-size: 28px; font-weight: 600; }
.card p { margin: 0 0 26px; flex: 1; font-size: 15.5px; color: var(--text-soft); transform: translateZ(20px); }
.card__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--gold-deep); transform: translateZ(30px); padding: 6px 0; }
.card__cta .ico { width: 19px; height: 19px; transition: transform .4s var(--ease); }
.card__cta:hover { color: var(--text); }
.card__cta:hover .ico { transform: translateX(-5px); }

/* ---------- Gallery ---------- */
.gallery { background: radial-gradient(60% 50% at 50% 0%, rgba(201, 163, 106, .12), transparent 70%), var(--ink); }
.gallery[hidden] { display: none; }
.gallery__grid { columns: 3 260px; column-gap: 16px; }
.gallery__item {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; break-inside: avoid;
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-dark);
  cursor: zoom-in; animation: galIn 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms);
}
.gallery__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 16, 13, .55));
  opacity: 0; transition: opacity .5s;
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery__item:hover::after { opacity: 1; }
@media (max-width: 600px) {
  .gallery__grid { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: 14px; }
}
@keyframes galIn { from { opacity: 0; transform: perspective(900px) translateY(40px) rotateX(10deg); } }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
  background: rgba(10, 8, 6, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadeIn .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 40px 90px -30px #000; }
.lightbox__close {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--cream); font-size: 28px; line-height: 1;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold-2); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- King Room ---------- */
.king {
  overflow: hidden;
  background:
    radial-gradient(48% 60% at 72% 50%, rgba(201, 163, 106, .16), transparent 70%),
    radial-gradient(60% 50% at 10% 100%, rgba(120, 20, 35, .18), transparent 70%),
    linear-gradient(180deg, #100D0A, #17110D);
}
html[dir="ltr"] .king { background: radial-gradient(48% 60% at 28% 50%, rgba(201, 163, 106, .16), transparent 70%), radial-gradient(60% 50% at 90% 100%, rgba(120, 20, 35, .18), transparent 70%), linear-gradient(180deg, #100D0A, #17110D); }
.king__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.king__visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; justify-self: center; }
.king__frame {
  position: absolute; inset: 7% 10%;
  border: 1px solid var(--line-dark);
  border-radius: 999px 999px 28px 28px;
  background: radial-gradient(60% 50% at 50% 60%, rgba(201, 163, 106, .1), transparent 70%);
}
.king__frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 163, 106, .1); border-radius: inherit; }
#crownCanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#crownCanvas:active { cursor: grabbing; }
.king__fallback { display: none; }
.no-webgl .king__fallback { display: grid; place-items: center; position: absolute; inset: 0; color: var(--gold); }
.no-webgl .king__fallback svg { width: 45%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.2; }
.no-webgl .king__hint { display: none; }
.king__hint {
  position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%);
  font-size: 12.5px; color: var(--cream-soft); white-space: nowrap; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(19, 16, 13, .6);
}
.king__title {
  display: block; margin-bottom: 22px;
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(60px, 8.4vw, 118px); line-height: .92; letter-spacing: .03em;
  direction: ltr; text-align: start;
}
html[dir="rtl"] .king__title { text-align: right; }
.king__list { list-style: none; margin: 0 0 38px; padding: 0; display: grid; gap: 14px; }
.king__list li { display: flex; align-items: center; gap: 14px; font-size: 17.5px; }
.king__list li::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px);
}
@media (max-width: 900px) {
  .king__grid { grid-template-columns: 1fr; }
  .king__visual { max-width: 460px; }
  .king__content { text-align: center; }
  .king__title, html[dir="rtl"] .king__title { text-align: center; }
  .king__list { justify-content: center; }
  .king .kicker { justify-content: center; }
}

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item {
  position: relative; text-align: center;
  padding: 38px 26px 34px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55));
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 50px -40px rgba(70, 48, 24, .45);
  transform-style: preserve-3d;
}
.why__icon {
  position: relative; width: 78px; height: 78px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-deep); background: var(--sand);
  transform: translateZ(40px);
}
.why__icon::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(148, 114, 63, .4); animation: spin 22s linear infinite; }
.why__icon .ico { width: 34px; height: 34px; stroke-width: 1.5; }
.why__item h3 { font-family: var(--f-display); font-size: 22px; font-weight: 600; margin-bottom: 8px; transform: translateZ(26px); }
html[lang="en"] .why__item h3 { font-size: 25px; }
.why__item p { margin: 0; font-size: 15px; color: var(--text-soft); transform: translateZ(16px); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1020px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps__grid::before {
  content: ""; position: absolute; top: 62px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(148, 114, 63, .45) 0 6px, transparent 6px 12px);
}
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line-light); }
.step__n {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%;
  font-family: var(--f-num); font-size: 26px; font-weight: 600; color: var(--gold-2);
  background: var(--ink); box-shadow: 0 0 0 8px var(--ivory), 0 0 0 9px rgba(148, 114, 63, .25);
}
.step h3 { font-family: var(--f-display); font-size: 23px; font-weight: 600; margin-bottom: 8px; }
html[lang="en"] .step h3 { font-size: 26px; }
.step p { margin: 0; color: var(--text-soft); font-size: 15.5px; }
@media (max-width: 860px) {
  .steps__grid { grid-template-columns: 1fr; }
  .steps__grid::before { display: none; }
}

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; background: radial-gradient(50% 70% at 20% 50%, rgba(201, 163, 106, .12), transparent 70%), var(--ink); }
html[dir="rtl"] .reviews { background: radial-gradient(50% 70% at 80% 50%, rgba(201, 163, 106, .12), transparent 70%), var(--ink); }
.reviews__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(44px, 8vw, 120px); align-items: center; }
.score {
  position: relative; width: clamp(240px, 26vw, 320px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: radial-gradient(circle at 30% 25%, rgba(232, 207, 158, .16), transparent 60%), var(--ink-2);
  border: 1px solid var(--line-dark);
  box-shadow: inset 0 0 70px rgba(201, 163, 106, .08), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.score::before, .score::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(201, 163, 106, .16); }
.score::before { inset: -16px; }
.score::after { inset: -34px; border-style: dashed; border-color: rgba(201, 163, 106, .12); animation: spin 40s linear infinite; }
.score__num { font-family: var(--f-num); font-size: clamp(88px, 9vw, 124px); font-weight: 600; line-height: .85; }
.score__of { font-size: 14.5px; color: var(--cream-soft); }
@media (max-width: 860px) {
  .reviews__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .reviews .kicker { justify-content: center; }
}

/* ---------- Location ---------- */
.loc__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 76px); align-items: stretch; }
.location address { font-style: normal; font-size: 17px; line-height: 1.9; color: var(--text); margin-bottom: 26px; }
.loc__steps { list-style: none; counter-reset: s; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.loc__steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; color: var(--text-soft); font-size: 16px; }
.loc__steps li::before {
  content: counter(s); flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--f-num); font-size: 16px; font-weight: 600; color: var(--gold-2); background: var(--ink);
}
.hours { padding: 18px 22px; margin-bottom: 26px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line-light); }
.hours__status { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 500; color: var(--text); min-height: 1.8em; }
.hours__status i { width: 9px; height: 9px; border-radius: 50%; background: #2E9E63; animation: livePulse 2s infinite; }
.hours__status.is-closed i { background: #C0563F; animation: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 99, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(46, 158, 99, 0); } }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px dashed var(--line-light); font-size: 15.5px; color: var(--text-soft); }
.hours__row span:last-child { color: var(--text); font-weight: 500; }
.loc__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.loc__map {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-light); background: var(--stone);
  box-shadow: 0 40px 70px -46px rgba(70, 48, 24, .6);
}
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.2) contrast(1.02); }
@media (max-width: 900px) {
  .loc__grid { grid-template-columns: 1fr; }
  .loc__map { min-height: 340px; }
}

/* ---------- FAQ ---------- */
.faq__list { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm); background: var(--ivory); border: 1px solid var(--line-light);
  padding: 0 26px; transition: background-color .3s, box-shadow .3s;
}
.faq details[open] { background: #fff; box-shadow: 0 24px 40px -32px rgba(70, 48, 24, .45); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--text);
}
html[lang="en"] .faq summary { font-size: 23px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-light);
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.6px 12px no-repeat;
  transition: transform .45s var(--ease), background-color .3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg); border-color: var(--ink);
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) center / 1.6px 12px no-repeat,
    var(--ink);
}
.faq details p { margin: 0 0 24px; color: var(--text-soft); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(100px, 13vw, 170px) 0;
  background: radial-gradient(60% 110% at 50% 110%, rgba(201, 163, 106, .32), transparent 60%), var(--ink);
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 64px; height: 64px; color: var(--gold); margin-bottom: 26px; }
.cta .h2 { font-size: clamp(42px, 6.4vw, 86px); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__rings span {
  position: absolute; left: 50%; top: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(201, 163, 106, .3);
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
  width: 120vmax; animation: ripple 9s linear infinite;
}
.cta__rings span:nth-child(2) { animation-delay: 2.25s; }
.cta__rings span:nth-child(3) { animation-delay: 4.5s; }
.cta__rings span:nth-child(4) { animation-delay: 6.75s; }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(.1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cta__rings span { animation: none; } }

/* ---------- Footer ---------- */
.footer { background: #0D0A08; color: var(--cream-soft); padding: 76px 0 32px; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer__brand p { margin: 18px 0 0; max-width: 24em; }
.footer h4 { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--cream); margin-bottom: 18px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer__list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.footer__list .ico { width: 19px; height: 19px; color: var(--gold); margin-top: 3px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; }
.footer__top .ico { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .6);
  transition: transform .4s var(--ease);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: fabRing 2.6s var(--ease) infinite; }
.fab .ico { width: 32px; height: 32px; stroke-width: 2; }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes fabRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }
@media (max-width: 700px) {
  .fab { display: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(19, 16, 13, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .55s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar a { height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 500; font-size: 16px; }
  .mbar .ico { width: 22px; height: 22px; }
  .mbar__wa { background: var(--wa); color: #fff; }
  .mbar__wa .ico { stroke-width: 2; }
  .mbar__call { border: 1px solid rgba(232, 207, 158, .4); color: var(--cream); }
}
