/* ============ قالب لُؤلُؤ: أبيض وذهبي، خط Amiri للعناوين ============ */
body[data-page="lulu"] { padding-top: 0; background: #fbfaf7; }
.lu { --bg: #fbfaf7; --cream: #f3efe6; --ink: #1c1a17; --muted: #6f6a60; --gold: #b08d57; --gold-2: #c9a66b; --line: #e7e1d4; --r: 26px; background: var(--bg); color: var(--ink); }
.lu .lu-wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.lu h1, .lu h2, .lu h3, .lu-h { font-family: "Amiri", "Noto Naskh Arabic", serif; font-weight: 400; color: var(--ink); }
.lu em { font-style: normal; color: var(--gold); }
.lu-kicker { font-size: 13px; color: var(--gold); letter-spacing: .05em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.lu-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.lu-h { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.35; }
.lu-p { color: var(--muted); font-size: 16.5px; line-height: 1.9; max-width: 56ch; }
.lu-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 15px; text-decoration: none; transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.lu-btn.gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(176, 141, 87, .28); }
.lu-btn.gold:hover { transform: translateY(-2px); background: #9e7d4a; }
.lu-btn.line { border: 1px solid var(--ink); color: var(--ink); }
.lu-btn.line:hover { background: var(--ink); color: #fff; }
.lu-btn.sm { padding: 10px 20px; font-size: 14px; }
.lu-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lu-sec { padding-block: clamp(80px, 10vw, 136px); }

/* ---------- شاشة التحميل ---------- */
.lu-loader { position: fixed; inset: 0; z-index: 200; background: var(--bg, #fbfaf7); display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity .7s ease .15s, visibility 0s linear .85s; }
.lu-loader.done { opacity: 0; visibility: hidden; }
.lu-loader-logo { width: 54px; height: 54px; }
.lu-loader-card { width: min(300px, 70vw); aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(28, 26, 23, .18); transform: scale(.94); animation: lu-in 1.2s cubic-bezier(.2, .8, .2, 1) forwards; }
.lu-loader-card img { width: 100%; height: 100%; object-fit: cover; }
.lu-loader.done .lu-loader-card { transform: scale(1.35); transition: transform .8s cubic-bezier(.6, 0, .2, 1); }
.lu-loader-bar { width: 160px; height: 2px; background: #e7e1d4; overflow: hidden; }
.lu-loader-bar i { display: block; height: 100%; width: 0; background: #b08d57; transition: width .3s ease; }
.lu-loader p { font-family: "Amiri", serif; font-size: 18px; color: #6f6a60; }
@keyframes lu-in { to { transform: scale(1); } }

/* ---------- الهيرو: النص + الصورة اللي تكبر ---------- */
.lu-hero { position: relative; height: 420vh; padding: 0 !important; margin: 0; }
.lu-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; --e: 0; --t: 0; }
.lu-copy { position: absolute; top: 50%; inset-inline-start: clamp(20px, 5vw, 80px); width: min(560px, 44vw); transform: translate(calc(var(--e) * 12vw), -50%); opacity: calc(1 - var(--e) * 3.2); z-index: 2; }
.lu-eyebrow { color: var(--gold); font-size: 14px; letter-spacing: .05em; margin-bottom: 18px; }
.lu-copy h1 { font-size: clamp(44px, 5.6vw, 86px); line-height: 1.2; }
.lu-lead { margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.9; max-width: 46ch; }
.lu-mini { display: flex; gap: 36px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.lu-mini dt { font-family: "Amiri", serif; font-size: 34px; color: var(--ink); font-feature-settings: "lnum"; line-height: 1.2; }
.lu-mini dd { margin: 0; font-size: 13px; color: var(--muted); }

/* الصورة: تبدأ لوحة بزوايا دائرية يسار، وتكبر لملء الشاشة */
.lu-media { position: absolute; inset: 0; z-index: 1;
  --l: calc((1 - var(--e)) * 4vw); --rgt: calc((1 - var(--e)) * 50vw); --tp: calc((1 - var(--e)) * 13vh); --rad: calc((1 - var(--e)) * var(--r));
  /* الكلام يمين (بداية السطر بالعربي) والصورة يسار: الهامش الكبير على اليمين */
  clip-path: inset(var(--tp) var(--rgt) var(--tp) var(--l) round var(--rad)); background: #ddd; }
.lu-shot, .lu-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--o, 0); transform: scale(var(--z, 1.08)); transform-origin: 50% 55%; will-change: opacity, transform; }
.lu-shot:first-child { --o: 1; }
.lu-media-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 18, 15, .55) 0%, rgba(20, 18, 15, 0) 40%); opacity: var(--e); pointer-events: none; }
.lu-chip { position: absolute; top: calc(var(--tp) + 22px); left: calc(var(--l) + 22px); padding: 8px 16px; border-radius: 999px; background: rgba(251, 250, 247, .9); backdrop-filter: blur(8px); font-size: 12.5px; color: var(--ink); opacity: calc(1 - var(--e) * 3); }
.lu-caption { position: absolute; bottom: clamp(24px, 6vh, 56px); inset-inline-end: clamp(20px, 4vw, 56px); width: min(380px, calc(100% - 40px)); padding: 24px 26px; border-radius: 22px; background: rgba(251, 250, 247, .94); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); opacity: var(--c, 0); transform: translateY(calc((1 - var(--c, 0)) * 20px)); pointer-events: none; }
.lu-caption.vis { pointer-events: auto; }
.lu-caption h2 { font-size: 34px; line-height: 1.3; }
.lu-cap-k { color: var(--gold); font-size: 12.5px; }
.lu-cap-l { color: var(--muted); font-size: 14px; margin: 4px 0 16px; font-feature-settings: "lnum"; }
.lu-room { position: absolute; top: 18%; inset-inline-start: clamp(20px, 5vw, 80px); padding: 14px 20px; border-radius: 16px; background: rgba(20, 18, 15, .5); backdrop-filter: blur(10px); color: #fff; display: grid; gap: 2px; opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 14px)); }
.lu-room b { font-family: "Amiri", serif; font-size: 24px; font-weight: 400; }
.lu-room span { font-size: 13px; color: #eee7da; }

/* ---------- التبويبات ---------- */
.lu-tabs { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .92); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.lu-tabs .lu-wrap { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); height: 64px; overflow-x: auto; scrollbar-width: none; }
.lu-tabs a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; padding-block: 20px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.lu-tabs a:hover, .lu-tabs a.on { color: var(--ink); border-color: var(--gold); }
.lu-tabs-price { margin-inline-start: auto; font-family: "Amiri", serif; font-size: 24px; color: var(--ink); white-space: nowrap; font-feature-settings: "lnum"; }
.lu-tabs-price small { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 13px; color: var(--muted); }

/* ---------- نظرة عامة ---------- */
.lu-ov { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lu-ov .lu-p { margin-top: 22px; }
.lu-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.lu-specs div { padding: 22px 4px; border-bottom: 1px solid var(--line); }
.lu-specs div:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 20px; }
.lu-specs div:nth-child(even) { padding-inline-start: 20px; }
.lu-specs dt { font-size: 13px; color: var(--muted); }
.lu-specs dd { margin: 4px 0 0; font-family: "Amiri", serif; font-size: 28px; font-feature-settings: "lnum"; }

/* ---------- المعرض ---------- */
.lu-gal-sec { background: var(--cream); }
.lu-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; margin-top: 44px; }
.lu-gallery figure { margin: 0; border-radius: 22px; overflow: hidden; }
.lu-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lu-gallery figure:hover img { transform: scale(1.04); }
.lu-gallery .g1 { grid-column: span 2; grid-row: span 2; }
.lu-gallery .g5 { grid-column: span 2; }

/* ---------- المرافق ---------- */
.lu-amen { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lu-amen li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.lu-amen svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--cream); color: var(--gold); }
.lu-amen b { display: block; font-weight: 600; margin-bottom: 2px; }
.lu-amen span { color: var(--muted); font-size: 14px; }

/* ---------- الموقع والتواصل ---------- */
.lu-loc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lu-dist { list-style: none; padding: 0; margin: 30px 0 34px; }
.lu-dist li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lu-dist b { min-width: 48px; font-family: "Amiri", serif; font-size: 34px; color: var(--gold); font-feature-settings: "lnum"; }
.lu-loc-img { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.lu-loc-img img { width: 100%; height: 100%; object-fit: cover; }
.lu-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--cream); }
.lu-contact .lu-actions { margin-top: 0; }
.lu-agent { display: flex; align-items: center; gap: 22px; }
.lu-agent img { width: 76px; height: 76px; }
.lu-agent h3 { font-size: 32px; }
#contact { padding-top: 0; }

/* ---------- عقارات مختارة: تمرير بالعرض ---------- */
.lu-feat { position: relative; height: 320vh; background: var(--bg); padding: 0 !important; }
.lu-feat-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.lu-feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; }
.lu-track { display: flex; gap: 24px; padding-inline: clamp(20px, 4vw, 56px); transform: translateX(var(--x, 0px)); will-change: transform; }
.lu-card { flex: none; width: min(560px, 78vw); border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s ease, box-shadow .3s ease; }
.lu-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(28, 26, 23, .12); }
.lu-card figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.lu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lu-card:hover img { transform: scale(1.04); }
.lu-badge { position: absolute; top: 16px; inset-inline-start: 16px; padding: 5px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 12.5px; }
.lu-badge.sold { background: #1c1a17; }
.lu-card-b { padding: 20px 24px 24px; display: grid; gap: 10px; }
.lu-card h3 { font-size: 30px; line-height: 1.3; }
.lu-card-l { color: var(--muted); font-size: 14px; }
.lu-card-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.lu-card-f ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; color: var(--muted); font-size: 13.5px; font-feature-settings: "lnum"; }
.lu-card-f b { font-family: "Amiri", serif; font-size: 24px; font-weight: 400; color: var(--ink); white-space: nowrap; font-feature-settings: "lnum"; }
.lu-card-f b small { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 12px; color: var(--muted); }

/* ---------- الجوال ---------- */
@media (max-width: 860px) {
  .lu-hero { height: 360vh; }
  .lu-copy { top: 13vh; width: auto; inset-inline: 20px; transform: translateY(calc(var(--e) * -8vh)); }
  .lu-copy h1 { font-size: 40px; }
  .lu-lead { font-size: 15px; }
  .lu-mini { display: none; }
  .lu-copy .lu-actions { margin-top: 22px; }
  .lu-media { --l: calc((1 - var(--e)) * 20px); --rgt: calc((1 - var(--e)) * 20px); clip-path: inset(calc((1 - var(--e)) * 56vh) var(--l) calc((1 - var(--e)) * 4vh) var(--rgt) round var(--rad)); }
  .lu-chip { top: calc((1 - var(--e)) * 56vh + 14px); left: calc(var(--l) + 14px); }
  .lu-room { top: 14%; }
  .lu-ov, .lu-loc { grid-template-columns: 1fr; }
  .lu-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .lu-gallery .g5 { grid-column: span 2; }
  .lu-amen { grid-template-columns: 1fr; }
  .lu-tabs-price { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lu-hero, .lu-feat { height: auto; }
  .lu-stage, .lu-feat-stage { position: relative; height: auto; min-height: 100svh; }
  .lu-track { overflow-x: auto; transform: none !important; }
}
