@charset "UTF-8";
/* ============================================================
   شركة دار للتطوير العقاري — نظام التصميم الفاتح
   أبيض كريمي · ذهبي · طابع معماري كلاسيكي (أقواس) · أنيق ومضيء
   منقول حرفياً عن التصميم الحيّ (darredc.com) ثم مصقول:
   إيقاع رأسي أنظف · تباين يجتاز WCAG AA · تركيز واضح · إتقان جوال.
   قواعد ملزمة: لا letter-spacing موجب على العربية · لا خط مائل · لا CDN.
   ============================================================ */

:root {
  /* الأسطح الفاتحة */
  --white:    #FFFFFF;
  --cream:    #FCFAF4;   /* أساس الصفحة */
  --cream-2:  #F7F0E2;   /* كريمي ناعم */
  --sand:     #F0E7D4;   /* رملي دافئ */
  --sand-2:   #E8DBC1;

  /* الذهبي */
  --gold:      #C0A065;
  --gold-2:    #D7BE8A;
  --gold-deep: #997A39;
  --gold-ink:  #876A30;   /* على الكريمي 4.86:1 → AA للنص الصغير */
  /* سطح ذهبي مملوء يحمل نصاً أبيض (زر أساسي) — 4.9:1 → AA.
     من نفس سُلّم الذهبي المعتمد؛ لا لون جديد خارج الهوية. */
  --gold-fill: #8E7134;
  --gold-fill-2: #765B27;
  --gold-soft: rgba(192, 160, 101, 0.10);
  --gold-soft2:rgba(192, 160, 101, 0.18);
  --gold-line: rgba(192, 160, 101, 0.30);
  --gold-line-2: rgba(192, 160, 101, 0.48);

  /* النصوص */
  --ink:      #2A2117;
  --ink-2:    #574B3A;
  --ink-soft: #6F6553;   /* معدّل لتباين AA */
  --line:     rgba(42, 33, 23, 0.09);
  --line-2:   rgba(42, 33, 23, 0.05);

  /* الحالات */
  --ok:   #3D7A44;  --ok-bg:   rgba(61, 122, 68, .11);  --ok-line:   rgba(61, 122, 68, .30);
  --warn: #8A5E10;  --warn-bg: rgba(138, 94, 16, .10);  --warn-line: rgba(138, 94, 16, .28);
  --err:  #A93226;  --err-bg:  rgba(169, 50, 38, .09);  --err-line:  rgba(169, 50, 38, .26);

  --shadow-xs: 0 1px 3px rgba(58, 45, 26, 0.05);
  --shadow-sm: 0 6px 24px -10px rgba(58, 45, 26, 0.16);
  --shadow:    0 24px 60px -24px rgba(58, 45, 26, 0.26);
  --shadow-lg: 0 44px 90px -34px rgba(58, 45, 26, 0.34);
  --shadow-gold: 0 22px 50px -20px rgba(192, 160, 101, 0.5);

  --container: 1260px;
  --container-narrow: 860px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius:    22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --arch: 50% 50% 14px 14px / 38% 38% 14px 14px; /* قوس علوي */

  --font-serif: "Thmanyah Serif", "Times New Roman", serif;
  --font-sans:  "Thmanyah Sans", system-ui, "Segoe UI", Tahoma, sans-serif;

  --accent: var(--gold);
  --accent-soft: var(--gold-soft);
  --accent-deep: var(--gold-deep);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* إيقاع رأسي موحّد */
  --section-y:       clamp(72px, 9vw, 140px);
  --section-y-tight: clamp(48px, 6vw, 92px);
  --head-gap:        clamp(44px, 6vw, 78px);
}

/* ---------- إعادة ضبط ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  font-family: var(--font-sans);
  background: var(--cream); color: var(--ink);
  line-height: 1.8; font-size: 17px; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; }
i, em, address, cite, dfn { font-style: normal; }   /* ممنوع المائل */
::selection { background: var(--gold-fill); color: #fff; }

/* تركيز واضح على كل الأسطح (AA) */
:focus-visible {
  outline: 2px solid var(--gold-fill);
  outline-offset: 3px;
  border-radius: 4px;
}
.ctx-dark :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-2); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif); font-weight: 700; line-height: 1.14;
  color: var(--ink); letter-spacing: -0.01em;
}

/* الأرقام اللاتينية داخل نص عربي */
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

/* تخطّي إلى المحتوى */
.skip-link {
  position: fixed; inset-block-start: 10px; inset-inline-start: 50%; transform: translate(50%, -160%);
  z-index: 300; background: var(--white); color: var(--ink); font-weight: 700;
  padding: 12px 22px; border-radius: 100px; box-shadow: var(--shadow); border: 1px solid var(--gold-line);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: translate(50%, 0); }

/* ---------- مساعدات ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-tight); }
.section--cream { background: var(--cream); }
.section--white, .section--paper { background: var(--white); }
.section--sand  { background: linear-gradient(180deg, var(--cream-2), var(--sand)); }
.section--soft  { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: clamp(16px, 2vw, 26px); }

/* شبكات عامة */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* نص طويل (عن الشركة، سياسات) */
.prose { max-width: 68ch; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18.5px); line-height: 2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.6em; }
.prose strong { color: var(--ink); font-weight: 700; }
.t-h3 { font-family: var(--font-serif); font-size: clamp(23px, 2.4vw, 32px); font-weight: 700; line-height: 1.24; }
.t-h4 { font-family: var(--font-serif); font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.4; }

/* زخارف ناعمة */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(192,160,101,.5), transparent 70%); }
.dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(var(--gold-line) 1.2px, transparent 1.2px); background-size: 30px 30px; opacity: .5; }

/* ---------- عناوين الأقسام ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  color: var(--gold-ink); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.section-title, .section-head__title {
  font-size: clamp(32px, 5vw, 60px); font-weight: 700; margin-bottom: 22px;
  line-height: 1.06; letter-spacing: -0.02em; color: var(--ink);
}
.section-title .accent, .section-head__title .accent,
.section-title .is-accent, .section-head__title .is-accent { color: var(--gold); }
.section-lead, .section-head__lead {
  max-width: 680px; color: var(--ink-2);
  font-size: clamp(16px, 2vw, 19px); line-height: 1.95;
}
.section-head { margin-bottom: var(--head-gap); }
.section-head--center, .section-head.center { text-align: center; }
.section-head--center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.section-head--center .section-lead, .section-head--center .section-head__lead,
.section-head.center .section-lead { margin-inline: auto; }
.section-head--split, .section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.section-head--split .section-head__text { flex: 1 1 460px; }
.section-head--split .section-head__title, .section-head--split .section-title { margin-bottom: 0; }
.section-head__aside { padding-bottom: 6px; }
.section-head__index {
  display: block; font-family: var(--font-serif); font-weight: 700;
  font-size: 15px; color: var(--gold-line-2); margin-bottom: 10px;
}

/* eyebrow متمركز بخطين جانبيين */
.hero .eyebrow, .section-head--center .eyebrow, .section-head.center .eyebrow,
.eyebrow--center, .eyebrow.center { gap: 16px; }
.hero .eyebrow::before, .hero .eyebrow::after,
.section-head--center .eyebrow::before, .section-head--center .eyebrow::after,
.section-head.center .eyebrow::before, .section-head.center .eyebrow::after,
.eyebrow--center::before, .eyebrow--center::after,
.eyebrow.center::before, .eyebrow.center::after {
  content: ""; width: clamp(24px, 4.5vw, 48px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero .eyebrow::after, .section-head--center .eyebrow::after,
.section-head.center .eyebrow::after, .eyebrow--center::after, .eyebrow.center::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* فاصل زخرفي بزخرفة ماسية */
.ornament-divider { display: flex; align-items: center; justify-content: center; margin: 28px 0; }
.ornament-divider::before, .ornament-divider::after {
  content: ""; height: 1px; width: clamp(54px, 11vw, 104px);
  background: linear-gradient(90deg, transparent, var(--gold-line));
}
.ornament-divider::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.ornament-icon { color: var(--gold); margin: 0 18px; display: flex; }
.ornament-divider--sm::before, .ornament-divider--sm::after { width: clamp(32px, 6vw, 60px); }

/* ---------- الأزرار ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15.5px;
  padding: 16px 34px; min-height: 52px; border-radius: 100px;
  border: 1.5px solid transparent; cursor: pointer; overflow: hidden; white-space: nowrap; z-index: 1;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease),
              transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn .ic { width: 18px; height: 18px; position: relative; z-index: 1; transition: transform .4s var(--ease); }
.btn span { position: relative; z-index: 1; }
/* درس محفوظ: التعبئة خلف النص دائماً وإلا اختفى نص الأزرار بلا <span> */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.btn:hover .ic { transform: translateX(-5px); }
.btn-lg, .btn--lg { padding: 19px 42px; font-size: 16.5px; min-height: 60px; }
.btn-sm, .btn--sm { padding: 11px 22px; font-size: 14.5px; min-height: 44px; }
.btn-block, .btn--block { width: 100%; }

.btn-primary, .btn--primary {
  /* درجة الذهبي كما في الموقع الحيّ: #C0A065 → #D7BE8A. النص بنيّ داكن لتباين 6.4:1 (الأبيض عليه 1.9:1) */
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink); box-shadow: var(--shadow-gold);
}
.btn-primary::after, .btn--primary::after { background: linear-gradient(120deg, var(--gold-2), var(--gold)); }
.btn-primary:hover, .btn--primary:hover { transform: translateY(-3px); box-shadow: 0 30px 64px -22px rgba(192, 160, 101, .7); }
.btn-primary:hover::after, .btn--primary:hover::after { transform: scaleX(1); }

.btn-outline, .btn--outline { background: transparent; color: var(--ink); border-color: var(--gold-line-2); }
.btn-outline::after, .btn--outline::after { background: var(--gold-fill); }
.btn-outline:hover, .btn--outline:hover { color: #fff; border-color: var(--gold-fill); transform: translateY(-3px); }
.btn-outline:hover::after, .btn--outline:hover::after { transform: scaleX(1); }

.btn-ghost, .btn--ghost { background: var(--gold-soft); color: var(--gold-ink); }
.btn-ghost::after, .btn--ghost::after { background: var(--gold-fill); }
.btn-ghost:hover, .btn--ghost:hover { color: #fff; }
.btn-ghost:hover::after, .btn--ghost:hover::after { transform: scaleX(1); }

.btn-light, .btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light::after, .btn--light::after { background: var(--gold-fill); }
.btn-light:hover, .btn--light:hover { color: #fff; transform: translateY(-3px); }
.btn-light:hover::after, .btn--light:hover::after { transform: scaleX(1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700;
  color: var(--gold-ink); min-height: 44px;
}
.link-arrow .ic { width: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--gold-fill-2); }
.link-arrow:hover .ic { transform: translateX(-6px); }

/* ---------- الترويسة (كبسولة زجاجية عائمة) ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding: 18px var(--gutter); transition: padding .45s var(--ease);
}
.site-header.scrolled, .site-header.is-scrolled { padding-block: 11px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: var(--container); margin-inline: auto;
  padding-block: 9px; padding-inline-start: 24px; padding-inline-end: 11px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px) saturate(1.25); -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 14px 44px -28px rgba(58, 45, 26, 0.45);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled .header-inner, .site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.94); border-color: var(--gold-line);
  box-shadow: 0 18px 52px -26px rgba(58, 45, 26, 0.5);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 74px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img, .site-header.is-scrolled .brand img { height: 62px; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { font-weight: 500; font-size: 15.5px; color: var(--ink-2); padding: 12px 17px; border-radius: 100px; position: relative; }
.nav a::after {
  content: ""; position: absolute; inset-block-end: 6px; inset-inline-start: 50%;
  width: 0; height: 2px; background: var(--accent); transform: translateX(50%);
  transition: width .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after, .nav a.is-active::after { width: 20px; }
.nav a.active, .nav a.is-active { color: var(--gold-ink); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-primary, .header-actions .btn--primary { box-shadow: 0 8px 22px -12px rgba(192, 160, 101, .85); }
.header-actions .btn-primary:hover, .header-actions .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 13px 30px -12px rgba(192, 160, 101, .85); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; color: var(--ink);
  align-items: center; justify-content: center; border: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav-toggle:hover { background: var(--gold-soft); border-color: var(--gold-line); }
.nav-toggle .ic { width: 24px; height: 24px; }

/* قائمة الجوال */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mobile-nav__overlay { position: absolute; inset: 0; background: rgba(42,33,23,.35); opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(2px); }
.mobile-nav__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 88vw);
  background: var(--cream); padding: 28px 26px calc(28px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg); transform: translateX(-100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-nav.open, .mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav.open .mobile-nav__overlay, .mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.open .mobile-nav__panel, .mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mobile-nav__head img { height: 52px; width: auto; }
.mobile-nav__head .nav-toggle { display: inline-flex; }
.mobile-nav a.m-link, .mobile-nav__link {
  display: flex; align-items: center; min-height: 52px; padding: 12px 14px;
  border-radius: 14px; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  transition: background .3s var(--ease), color .3s var(--ease), padding-inline-start .3s var(--ease);
}
.mobile-nav a.m-link:hover, .mobile-nav__link:hover,
.mobile-nav__link.is-active { background: var(--gold-soft); color: var(--gold-ink); padding-inline-start: 22px; }
.mobile-nav__cta, .mobile-nav .btn-primary { margin-top: 18px; }
.mobile-nav .btn-primary:hover, .mobile-nav .btn--primary:hover { transform: none; }

/* ---------- شريط التواصل العمودي (يسار الشاشة في RTL) ---------- */
.social-rail {
  position: fixed; inset-block-start: 50%; inset-inline-end: 0; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 16px 0 0 16px; box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--line-2); border-inline-end: 0;
}
.social-rail a { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: background .3s var(--ease), color .3s var(--ease); }
.social-rail a:hover { background: var(--gold-fill); color: #fff; }
.social-rail .social-ic { width: 19px; height: 19px; }

/* ---------- الهيرو (فاتح، مركزي، قوس معماري) ---------- */
.hero {
  position: relative; min-height: 94svh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-block: clamp(150px, 17vw, 220px) clamp(80px, 9vw, 130px);
  overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 50%, var(--cream-2) 100%);
}
.hero__orb { inset-block-start: -180px; inset-inline-start: 50%; transform: translateX(-50%); width: 720px; height: 560px; opacity: .4; }
.hero__arch {
  position: absolute; inset-block-start: clamp(118px, 15vw, 170px); left: 50%; transform: translateX(-50%);
  width: min(640px, 86vw); height: min(560px, 64vh);
  border: 1.5px solid var(--gold-line); border-bottom: 0;
  border-radius: 50% 50% 0 0 / 62% 62% 0 0; opacity: .6; z-index: 0;
}
.hero__arch::before { content: ""; position: absolute; inset: 26px 26px 0; border: 1px solid var(--gold-line); border-bottom: 0; border-radius: inherit; opacity: .65; }
.hero .dots { mask-image: radial-gradient(circle at 50% 32%, #000, transparent 62%); opacity: .4; }
.hero__inner { position: relative; z-index: 2; max-width: 940px; margin-inline: auto; }
.hero h1, .hero__title {
  font-size: clamp(44px, 7.6vw, 108px); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 28px; padding-bottom: 2px;
}
.hero h1 .line, .hero__title .line { display: block; }
.hero h1 .gold, .hero__title .gold, .hero h1 .accent, .hero__title .accent { color: var(--gold); }
.hero__sub, .hero__lead {
  font-size: clamp(17px, 2.1vw, 22px); color: var(--ink-2); max-width: 600px;
  margin: 0 auto 42px; line-height: 1.85; font-weight: 300;
}
.hero__cta, .hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero__stats { display: flex; justify-content: center; gap: clamp(26px, 5vw, 70px); margin-top: clamp(46px, 6vw, 70px); flex-wrap: wrap; }
.hero__stat { position: relative; text-align: center; }
.hero__stat::after { content: ""; position: absolute; inset-block: 10%; inset-inline-start: calc(-1 * clamp(13px, 2.5vw, 35px)); width: 1px; background: var(--gold-line); }
.hero__stat:first-child::after { display: none; }
.hero__stat b { font-family: var(--font-serif); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); color: var(--gold); display: block; line-height: 1; direction: ltr; unicode-bidi: isolate; }
.hero__stat .plus { font-size: .58em; font-weight: 700; color: var(--gold); margin-inline-start: 2px; }
.hero__stat span { font-size: 14px; color: var(--ink-soft); }
.hero__scroll {
  position: absolute; inset-block-end: 28px; inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 11px;
  color: var(--ink-soft); font-size: 12.5px; font-weight: 600;
}
.hero__scroll .l { width: 1.5px; height: 46px; background: var(--gold-line); position: relative; overflow: hidden; }
.hero__scroll .l::after { content: ""; position: absolute; inset-inline: 0; height: 15px; background: var(--gold); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { top: -15px; } 100% { top: 46px; } }

/* إطار الهيرو الزخرفي بزواياه وزخرفتيه الماسيتين */
.hero__frame { position: absolute; inset: clamp(18px, 3.4vw, 52px); pointer-events: none; z-index: 1; border: 1px solid var(--gold-line); }
.hero__frame-corner { position: absolute; width: 44px; height: 44px; border: 1.5px solid var(--gold); }
.hero__frame-corner.tl { inset-block-start: -1px; inset-inline-start: -1px; border-inline-end: 0; border-block-end: 0; }
.hero__frame-corner.tr { inset-block-start: -1px; inset-inline-end: -1px; border-inline-start: 0; border-block-end: 0; }
.hero__frame-corner.bl { inset-block-end: -1px; inset-inline-start: -1px; border-inline-end: 0; border-block-start: 0; }
.hero__frame-corner.br { inset-block-end: -1px; inset-inline-end: -1px; border-inline-start: 0; border-block-start: 0; }
.hero__frame-orn { position: absolute; inset-inline-start: 50%; transform: translateX(50%); color: var(--gold); display: flex; padding: 0 8px; }
.hero__frame-orn.top { inset-block-start: -11px; background: var(--white); }
.hero__frame-orn.bottom { inset-block-end: -11px; background: var(--cream-2); }

/* دخول الهيرو المتدرّج (يعمل فقط مع جافاسكربت) */
.js .hero .eyebrow,
.js .hero h1 .line, .js .hero__title .line,
.js .hero__sub, .js .hero__lead,
.js .hero .ornament-divider,
.js .hero__cta, .js .hero__actions,
.js .hero__stats,
.js .hero__frame { opacity: 0; }
.js .hero .eyebrow { transform: translateY(16px); transition: opacity .8s var(--ease) .1s, transform .8s var(--ease) .1s; }
.js .hero h1 .line, .js .hero__title .line { transform: translateY(34px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.js .hero h1 .line:nth-child(1), .js .hero__title .line:nth-child(1) { transition-delay: .14s; }
.js .hero h1 .line:nth-child(2), .js .hero__title .line:nth-child(2) { transition-delay: .26s; }
.js .hero__sub, .js .hero__lead { transform: translateY(22px); transition: opacity .95s var(--ease) .42s, transform .95s var(--ease) .42s; }
.js .hero .ornament-divider { transform: translateY(14px); transition: opacity .9s var(--ease) .5s, transform .9s var(--ease) .5s; }
.js .hero__cta, .js .hero__actions { transform: translateY(22px); transition: opacity .95s var(--ease) .54s, transform .95s var(--ease) .54s; }
.js .hero__stats { transform: translateY(22px); transition: opacity .95s var(--ease) .66s, transform .95s var(--ease) .66s; }
.js .hero__frame { transition: opacity 1.1s var(--ease) .2s; }
.hero.in .eyebrow, .hero.is-in .eyebrow,
.hero.in h1 .line, .hero.is-in h1 .line, .hero.in .hero__title .line, .hero.is-in .hero__title .line,
.hero.in .hero__sub, .hero.is-in .hero__sub, .hero.in .hero__lead, .hero.is-in .hero__lead,
.hero.in .ornament-divider, .hero.is-in .ornament-divider,
.hero.in .hero__cta, .hero.is-in .hero__cta, .hero.in .hero__actions, .hero.is-in .hero__actions,
.hero.in .hero__stats, .hero.is-in .hero__stats,
.hero.in .hero__frame, .hero.is-in .hero__frame { opacity: 1; transform: none; }

/* ---------- شريط المزايا السفلي ---------- */
.trustbar { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--cream)); }
.trustbar__row { display: flex; align-items: stretch; justify-content: space-between; gap: 0; padding-block: 34px; flex-wrap: wrap; }
.trustbar__item { display: flex; align-items: center; justify-content: center; gap: 13px; color: var(--ink-2); font-weight: 600; padding-inline: clamp(16px, 3vw, 40px); transition: color .3s var(--ease); }
.trustbar__item .ic { width: 22px; color: var(--gold-deep); transition: transform .3s var(--ease); }
.trustbar__item:hover { color: var(--gold-ink); }
.trustbar__item:hover .ic { transform: scale(1.12); }
@media (min-width: 768px) {
  .trustbar__item { flex: 1; }
  .trustbar__item + .trustbar__item { border-inline-start: 1px solid var(--line); }
}

/* ---------- بطاقات المشاريع ---------- */
.projects-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 2.2vw, 30px); }
.projects-grid > * { flex: 0 1 calc(33.333% - clamp(14px, 1.48vw, 20px)); min-width: 0; }
.projects-grid--row {
  flex-wrap: nowrap; justify-content: safe center; overflow-x: auto;
  scroll-snap-type: x proximity; padding-block-end: 14px;
  scrollbar-width: thin; scrollbar-color: var(--gold-line) transparent;
}
.projects-grid--row::-webkit-scrollbar { height: 6px; }
.projects-grid--row::-webkit-scrollbar-thumb { background: var(--gold-line); border-radius: 100px; }
.projects-grid--row::-webkit-scrollbar-track { background: transparent; }
.projects-grid--row > * { flex: 0 0 clamp(268px, calc(25% - 22px), 348px); scroll-snap-align: start; }

.project-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
  transition: transform .6s cubic-bezier(.19,1,.22,1), box-shadow .6s var(--ease), border-color .5s var(--ease);
}
.project-card:hover { transform: translateY(-12px); box-shadow: 0 44px 78px -34px rgba(58,45,26,.55); border-color: var(--gold-line); }
.project-card__img, .project-card__media {
  position: relative; aspect-ratio: 4/3.2; overflow: hidden;
  background: linear-gradient(150deg, var(--cream-2), var(--sand));
}
.project-card__img img, .project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-card__img img, .project-card:hover .project-card__media img { transform: scale(1.08); }
/* فيلم ذهبي دافئ + لمعة قطرية تمرّ عند المرور */
.project-card__img::after, .project-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(118, 91, 39, .52), transparent 52%);
  opacity: 0; transition: opacity .55s var(--ease);
}
.project-card:hover .project-card__img::after, .project-card:hover .project-card__media::after { opacity: 1; }
.project-card__img::before, .project-card__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.26) 50%, transparent 60%);
  transform: translateX(-130%); transition: transform 1s var(--ease);
}
.project-card:hover .project-card__img::before, .project-card:hover .project-card__media::before { transform: translateX(130%); }
.project-card__img.is-empty, .project-card__media.is-empty { display: flex; align-items: center; justify-content: center; }
.project-card__img.is-empty .ic, .project-card__media.is-empty .ic { width: 60px; height: 60px; color: var(--sand-2); }
.project-card__status { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; z-index: 2; }
.project-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card__city { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--gold-ink); margin-bottom: 8px; }
.project-card__city .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.project-card:hover .project-card__city .ic { transform: translateY(-2px); }
.project-card__name { position: relative; display: inline-block; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.15; transition: color .4s var(--ease); }
.project-card__name::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: -7px; height: 2px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.project-card:hover .project-card__name { color: var(--gold-ink); }
.project-card:hover .project-card__name::after { width: 44px; }
.project-card__desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.85; margin-top: 14px; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.project-card__meta b { color: var(--ink); font-weight: 700; }
.project-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: color .3s var(--ease); }
.project-card__cta .ic { width: 16px; transition: transform .35s var(--ease); }
.project-card:hover .project-card__cta { color: var(--gold-ink); }
.project-card:hover .project-card__cta .ic { transform: translateX(-6px); }

/* شارات الحالة */
.badge {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,.94);
  color: var(--gold-ink); box-shadow: var(--shadow-xs);
}
.badge--available { background: rgba(61,122,68,.14); color: #33682F; }
.badge--upcoming  { background: var(--gold-fill); color: #fff; }
.badge--sold      { background: var(--ink); color: #fff; }
.badge--completed { background: rgba(42,33,23,.09); color: var(--ink-2); }

/* الصف التحريري للمشروع */
.project-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.project-row + .project-row { margin-top: clamp(52px, 7vw, 104px); }
.project-row:nth-child(even) .project-row__media { order: 2; }
.project-row__media {
  position: relative; aspect-ratio: 4/3.1; overflow: hidden; border-radius: var(--arch);
  background: linear-gradient(150deg, var(--cream-2), var(--sand));
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.project-row__media img { width: 100%; height: 100%; object-fit: cover; }
.project-row__media.is-empty { display: flex; align-items: center; justify-content: center; }
.project-row__media.is-empty .ic { width: 68px; height: 68px; color: var(--sand-2); }
.project-row__badge { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; z-index: 2; }
.project-row__index { font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--gold-line-2); display: block; margin-bottom: 10px; }
.project-row__city { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--gold-ink); margin-bottom: 12px; }
.project-row__city .ic { width: 17px; }
.project-row__name { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 14px; letter-spacing: -0.02em; }
.project-row__desc { color: var(--ink-2); line-height: 1.95; margin-top: 12px; }
.project-row__facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 24px 0; }
.project-row__fact dt { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.project-row__fact dd { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--ink); }

/* ---------- البطاقة العامة (خدمات · قيم · مزايا) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.card, .service-card, .vm-card, .value-item, .pillar, .step {
  background: var(--white); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line-2); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover, .service-card:hover, .vm-card:hover, .value-item:hover, .pillar:hover, .step:hover {
  transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-line);
}
.card__index, .service-card__num, .step__num {
  font-family: var(--font-serif); font-weight: 700; font-size: 17px;
  color: var(--gold); opacity: .55; display: block;
}
.card__icon, .service-card__icon, .vm-card__icon, .value-item__icon, .pillar__icon, .nearby-item__icon, .contact-card__icon {
  width: 58px; height: 58px; border-radius: 50% 50% 16px 16px;   /* قمّة مقوّسة — طابع دار */
  background: var(--gold-soft); color: var(--gold-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; flex-shrink: 0;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.service-card__icon, .card__icon { margin-top: 16px; }
.card:hover .card__icon, .service-card:hover .service-card__icon,
.value-item:hover .value-item__icon, .pillar:hover .pillar__icon {
  background: var(--gold-fill); color: #fff;
}
.card__icon .ic, .service-card__icon .ic, .vm-card__icon .ic,
.value-item__icon .ic, .pillar__icon .ic { width: 28px; height: 28px; }
.card__title, .service-card__title, .value-item__title, .pillar__title, .step__title, .vm-card h3, .service-card h3 {
  font-family: var(--font-serif); font-size: clamp(20px, 1.9vw, 24px); font-weight: 700;
  line-height: 1.25; margin-bottom: 13px; color: var(--ink);
}
.card__text, .service-card__text, .value-item__text, .pillar__text, .step__text, .vm-card p, .service-card p {
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.9;
}
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--gold-ink); }
.card__link .ic { width: 16px; transition: transform .35s var(--ease); }
.card:hover .card__link .ic { transform: translateX(-6px); }
/* شريط ذهبي علوي ينساب عند المرور */
.vm-card::after, .card--ruled::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.vm-card:hover::after, .card--ruled:hover::after { transform: scaleX(1); }
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); }

/* صف الخدمة التحريري */
.service-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2.4vw, 30px); align-items: start; padding-block: clamp(24px, 3vw, 38px); border-bottom: 1px solid var(--line-2); }
.service-row__icon { width: 60px; height: 60px; border-radius: 50% 50% 16px 16px; background: var(--gold-soft); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; }
.service-row__icon .ic { width: 28px; height: 28px; }
.service-row__index { font-family: var(--font-serif); font-size: 14px; color: var(--gold-line-2); display: block; margin-bottom: 6px; }
.service-row__title { font-family: var(--font-serif); font-size: clamp(21px, 2.1vw, 27px); font-weight: 700; margin-bottom: 10px; }
.service-row__text { color: var(--ink-soft); line-height: 1.95; max-width: 62ch; }

/* المحطات الزمنية */
.timeline { position: relative; padding-inline-start: 34px; }
.timeline::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 7px; width: 1.5px; background: linear-gradient(180deg, var(--gold-line), transparent); }
.milestone { position: relative; padding-bottom: clamp(28px, 3.4vw, 46px); }
.milestone::before {
  content: ""; position: absolute; inset-inline-start: -34px; inset-block-start: 12px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--gold-soft);
}
.milestone__year { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--gold-ink); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.milestone__title { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 26px); font-weight: 700; margin: 6px 0 8px; }
.milestone__text { color: var(--ink-soft); line-height: 1.9; max-width: 60ch; }

/* ---------- الإحصاءات ---------- */
.stats, .stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 4vw, 48px); }
.stat { text-align: center; position: relative; }
.stat::after { content: ""; position: absolute; inset-block: 16%; inset-inline-start: calc(-1 * clamp(10px, 2vw, 24px)); width: 1px; background: var(--line); }
.stat:first-child::after { display: none; }
.stat__icon { display: inline-flex; color: var(--gold-deep); margin-bottom: 12px; }
.stat__icon .ic { width: 26px; height: 26px; }
.stat__num, .stat__value {
  display: block; font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(38px, 5.2vw, 68px); color: var(--gold);
  line-height: 1; letter-spacing: -0.02em; direction: ltr; unicode-bidi: isolate;
}
.stat__num .suffix, .stat__suffix { font-size: .5em; vertical-align: super; color: var(--gold-ink); margin-inline-start: 2px; }
.stat__label, .stat__title { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 12px; font-weight: 500; }

/* ---------- واجهات الصفحات الداخلية ---------- */
.page-hero {
  position: relative; padding-block: clamp(150px,17vw,205px) clamp(56px,7vw,92px);
  overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--white), var(--cream) 55%, var(--cream-2));
}
.page-hero__orb { inset-block-start: -180px; inset-inline-end: -140px; width: 560px; height: 560px; opacity: .35; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 860px; }
.page-hero--center .page-hero__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.page-hero--center .page-hero__eyebrow, .page-hero--center .eyebrow { justify-content: center; }
.page-hero__eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--gold-ink); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.page-hero__eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.page-hero__eyebrow.no-line::before { display: none; }
.page-hero__eyebrow .ic { width: 18px; height: 18px; }
.page-hero__title { font-size: clamp(36px, 6vw, 76px); font-weight: 700; line-height: 1.06; margin-bottom: 22px; letter-spacing: -0.025em; }
.page-hero__title .accent, .page-hero__title .is-accent { color: var(--gold); }
.page-hero__lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-2); line-height: 1.85; max-width: 640px; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero__arch, .hero__arch--page {
  position: absolute; inset-block-start: 12%; left: 50%; transform: translateX(-50%);
  width: min(560px, 84vw); height: min(420px, 52vh);
  border: 1.5px solid var(--gold-line); border-bottom: 0;
  border-radius: 50% 50% 0 0 / 62% 62% 0 0; opacity: .45; z-index: 0; pointer-events: none;
}

/* فتات الخبز */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; flex-wrap: wrap; }
.page-hero--center .breadcrumb { justify-content: center; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--gold-ink); }
.breadcrumb__sep, .breadcrumb .sep { opacity: .45; }
.breadcrumb [aria-current="page"] { color: var(--gold-ink); font-weight: 600; }

/* هيرو المشروع — الشعار هو المحور */
.project-hero { position: relative; overflow: hidden; padding-block: clamp(150px,16vw,200px) clamp(44px,6vw,78px); background: linear-gradient(160deg, var(--white), var(--cream) 58%, var(--cream-2)); isolation: isolate; }
.project-hero__bg { position: absolute; inset: 0; z-index: 0; }
.project-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.project-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(252,250,244,.72), rgba(252,250,244,.94)); }
.project-hero__arch { position: absolute; inset-block-start: 14%; left: 50%; transform: translateX(-50%); width: min(600px, 88vw); height: min(460px, 56vh); border: 1.5px solid var(--gold-line); border-bottom: 0; border-radius: 50% 50% 0 0 / 62% 62% 0 0; opacity: .5; z-index: 1; }
.project-hero .container { position: relative; z-index: 2; }
.project-hero__inner { max-width: 820px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.project-hero__logo { margin: 0 0 18px; }
.project-hero__logo img { max-height: clamp(120px, 15vw, 190px); max-width: min(520px, 88%); width: auto; object-fit: contain; filter: drop-shadow(0 14px 34px rgba(42,33,23,.16)); }
.project-hero__meta { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.project-hero__place { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-ink); font-weight: 600; font-size: 15px; }
.project-hero__place .ic { width: 17px; }
.project-hero__title { font-size: clamp(36px, 5.6vw, 72px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.project-hero__lead { margin: 20px auto 0; max-width: 58ch; font-size: clamp(16px, 2vw, 20px); line-height: 2; color: var(--ink-2); }
.project-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: clamp(28px, 4vw, 40px); }

/* بصرية مقوّسة عامة */
.arch-media { position: relative; overflow: hidden; border-radius: var(--arch); background: linear-gradient(150deg, var(--cream-2), var(--sand)); box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4/4.4; }
.arch-media img { width: 100%; height: 100%; object-fit: cover; }
.arch-media--framed { outline: 1px solid var(--gold-line); outline-offset: 12px; }
.arch-media--empty { display: flex; align-items: center; justify-content: center; }
.arch-media--empty .ic { width: 72px; height: 72px; color: var(--sand-2); }
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.split-media--reverse .split-media__visual { order: 2; }

/* ---------- معرض الصور ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.5vw, 20px); }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--cream-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2); width: 100%; padding: 0;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__zoom {
  position: absolute; inset-block-end: 14px; inset-inline-end: 14px;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.94);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 2; box-shadow: var(--shadow-xs);
}
.gallery__zoom .ic { width: 18px; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: scale(1); }

/* ---------- الفيديو ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: clamp(18px,2vw,26px); }
.video-card {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--cream-2), var(--sand));
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.video-card iframe, .video-card video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; z-index: 4; }
.video-card__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.video-card:hover .video-card__poster { transform: scale(1.06); }
.video-card__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(22,16,8,.62), rgba(22,16,8,.04) 46%, rgba(22,16,8,.22)); transition: opacity .4s var(--ease); }
.video-card__play {
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,.94); border: 1.5px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center; color: var(--gold-ink);
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
  z-index: 3; box-shadow: 0 10px 34px rgba(0,0,0,.3);
}
.video-card__play::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); opacity: 0; transition: opacity .55s var(--ease), inset .55s var(--ease); }
.video-card:hover .video-card__play, .video-card:focus-visible .video-card__play { background: var(--gold-fill); color: #fff; transform: scale(1.08); border-color: var(--gold-fill); }
.video-card:hover .video-card__play::after { opacity: 1; inset: -7px; }
.video-card__play .ic { width: 28px; margin-inline-start: 3px; }
.video-card__label { position: absolute; inset-inline: 18px; inset-block-end: 15px; z-index: 3; color: #fff; font-size: 15px; font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,.6); text-align: start; }
.video-card.is-placeholder { box-shadow: none; cursor: default; }
.video-card.is-placeholder::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--gold-line) 1.1px, transparent 1.1px); background-size: 22px 22px; opacity: .55; }
.video-card.is-placeholder .video-card__play { background: rgba(255,255,255,.85); box-shadow: var(--shadow-sm); }
.video-card.is-placeholder .video-card__label { position: static; color: var(--ink-2); text-shadow: none; }
.video-card.is-playing .video-card__poster,
.video-card.is-playing .video-card__scrim,
.video-card.is-playing .video-card__play,
.video-card.is-playing .video-card__label { opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }

.video-slider { position: relative; }
.video-slider__track {
  display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-block: 4px 12px; scrollbar-width: none; justify-content: safe center;
}
.video-slider__track::-webkit-scrollbar { display: none; }
.video-slider__track > .video-card { scroll-snap-align: center; flex: 0 0 clamp(280px, 31.6%, 440px); }
.video-slider[data-vcount="1"] .video-card { flex-basis: min(780px, 100%); }
.video-slider[data-vcount="2"] .video-card { flex-basis: clamp(300px, 48%, 560px); }
.video-slider__nav[hidden] { display: none; }
.video-slider__nav {
  position: absolute; inset-block-start: calc(50% - 6px); transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--ink); z-index: 5; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.video-slider__nav:hover { background: var(--gold-fill); color: #fff; border-color: var(--gold-fill); transform: translateY(-50%) scale(1.06); }
.video-slider__nav .ic { width: 22px; }
.video-slider__nav.prev { inset-inline-start: 6px; }
.video-slider__nav.next { inset-inline-end: 6px; }

/* ---------- تفاصيل المشروع ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.fact { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 28px 22px; text-align: center; transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.fact:hover { border-color: var(--gold-line); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.fact__icon { color: var(--gold-deep); margin-bottom: 14px; display: inline-flex; transition: transform .4s var(--ease); }
.fact:hover .fact__icon { transform: scale(1.12) rotate(-4deg); }
.fact__icon .ic { width: 30px; }
.fact__value { font-family: var(--font-serif); font-weight: 700; font-size: 24px; }
.fact__label { color: var(--ink-soft); font-size: 14px; margin-top: 5px; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.feature-item { display: flex; align-items: center; gap: 15px; background: var(--white); border: 1px solid var(--line-2); border-radius: 100px; padding: 15px 24px; transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease); }
.feature-item:hover { border-color: var(--gold-line); background: var(--gold-soft); transform: translateX(-5px); }
.feature-item .ic { width: 21px; color: var(--gold-deep); flex-shrink: 0; }
.feature-item span { font-weight: 500; }

.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table, .units-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 620px; }
.table th, .table td, .units-table th, .units-table td { padding: 17px 22px; text-align: start; border-bottom: 1px solid var(--line-2); }
.table thead th, .units-table thead th { background: var(--cream-2); font-family: var(--font-sans); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.table tbody tr, .units-table tbody tr { transition: background .25s; }
.table tbody tr:hover, .units-table tbody tr:hover { background: var(--gold-soft); }
.table__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.table__name .ic { width: 18px; color: var(--gold-deep); flex-shrink: 0; }
.cell-ic { display: inline-flex; align-items: center; gap: 7px; }
.cell-ic .ic { width: 16px; color: var(--gold-ink); opacity: .85; flex-shrink: 0; }

.nearby-grid, .loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.nearby-item { display: flex; align-items: center; gap: 16px; padding: 19px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .35s var(--ease), transform .35s var(--ease); }
.nearby-item:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.nearby-item__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 0; }
.nearby-item__icon .ic { width: 23px; height: 23px; }
.nearby-item h4 { font-family: var(--font-sans); font-size: 16px; font-weight: 700; }
.nearby-item span { color: var(--ink-soft); font-size: 14px; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); height: 440px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { height: 340px; border-radius: var(--radius); border: 1.5px dashed var(--gold-line); background: var(--cream-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--ink-soft); text-align: center; padding: 20px; }
.map-placeholder .ic { width: 50px; color: var(--gold-deep); }

/* بطاقات التواصل */
.contact-cards, .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.contact-card { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px); transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact-card:hover { border-color: var(--gold-line); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.contact-card__icon { width: 52px; height: 52px; margin-bottom: 16px; }
.contact-card__icon .ic { width: 24px; height: 24px; }
.contact-card__label { font-size: 14px; color: var(--ink-soft); }
.contact-card__value { font-weight: 700; font-size: 17px; color: var(--ink); word-break: break-word; }

/* ---------- النماذج ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 52px); box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 22px; }
.field { margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { display: block; font-weight: 600; margin-bottom: 9px; font-size: 15.5px; }
.field__req, .field label .req { color: var(--err); margin-inline-start: 3px; }
.field .hint, .field__hint { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; }
.input, .textarea, .select {
  width: 100%; padding: 15px 18px; min-height: 52px; border-radius: 15px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  font-size: 16px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-soft); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--gold-line); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold-fill); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft2); }
.textarea { resize: vertical; min-height: 124px; line-height: 1.8; }
.select { appearance: none; padding-inline-end: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: left 20px top 55%, left 14px top 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--err); }
.field .err, .field__error { display: block; color: var(--err); font-size: 13.5px; margin-top: 7px; font-weight: 600; }
.field__error[hidden] { display: none; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* الفلاتر */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(30px, 4vw, 46px); }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-row__label { font-size: 14px; color: var(--ink-soft); font-weight: 600; margin-inline-end: 4px; }
.filter-row a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 20px;
  border-radius: 100px; border: 1px solid var(--line); background: var(--white);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.filter-row a:hover { border-color: var(--gold-line); color: var(--gold-ink); }
.filter-row a.is-active { background: var(--gold-fill); border-color: var(--gold-fill); color: #fff; }

/* ---------- التنبيهات ---------- */
.alert { padding: 16px 20px; border-radius: 15px; margin-bottom: 22px; font-weight: 500; display: flex; align-items: flex-start; gap: 13px; line-height: 1.7; }
.alert .ic { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.alert ul { margin-top: 6px; }
.alert ul li { position: relative; padding-inline-start: 16px; font-size: 15px; }
.alert ul li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 12px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.alert--ok, .alert-success { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); }
.alert--err, .alert-error { background: var(--err-bg); color: var(--err); border: 1px solid var(--err-line); }
.alert--warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); }
.alert--info, .alert-info { background: var(--gold-soft); color: var(--gold-ink); border: 1px solid var(--gold-line); }
.flash-region { position: relative; z-index: 4; }
.flash-region .container { padding-top: clamp(110px, 14vw, 140px); }

/* ---------- الحالة الفارغة ---------- */
.empty-state {
  text-align: center; padding: clamp(44px, 6vw, 76px) 28px;
  border: 1.5px dashed var(--gold-line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white), var(--cream));
}
.empty-state__icon { display: inline-flex; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 50% 50% 20px 20px; background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 20px; }
.empty-state__icon .ic { width: 34px; height: 34px; }
.empty-state__title { font-family: var(--font-serif); font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; color: var(--ink); }
.empty-state__text { color: var(--ink-soft); margin-top: 10px; max-width: 46ch; margin-inline: auto; }
.empty-state .btn { margin-top: 22px; }

/* ---------- الأسئلة الشائعة ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.faq-item[open] { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 16.5px;
  list-style: none; min-height: 64px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--gold-ink); }
.faq-item__icon { display: flex; color: var(--gold-deep); flex-shrink: 0; transition: transform .35s var(--ease); }
.faq-item__icon .ic { width: 20px; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__a { padding: 0 24px 22px; color: var(--ink-soft); line-height: 1.95; }

/* ---------- ترقيم الصفحات ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(34px, 4vw, 56px); flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 46px; padding: 0 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.pagination a:hover { border-color: var(--gold-line); color: var(--gold-ink); }
.pagination .is-current { background: var(--gold-fill); border-color: var(--gold-fill); color: #fff; }
.pagination .ic { width: 18px; }

/* ---------- تسجيل الاهتمام ---------- */
.pick-grid, .interest-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pick-card, .interest-project {
  position: relative; aspect-ratio: 4/3.5; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; border: 2.5px solid transparent; background: var(--cream-2);
  box-shadow: var(--shadow-xs); width: 100%; padding: 0; text-align: start;
  transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pick-card:hover, .interest-project:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.pick-card.is-selected, .interest-project.selected { border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft), var(--shadow-sm); }
.pick-card__img { position: absolute; inset: 0; }
.pick-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pick-card:hover .pick-card__img img { transform: scale(1.06); }
.pick-card__img.is-empty { display: flex; align-items: center; justify-content: center; }
.pick-card__img.is-empty .ic { width: 50px; color: var(--sand-2); }
.pick-card__body { position: absolute; inset-block-end: 0; inset-inline: 0; padding: 20px; color: #fff; z-index: 2; background: linear-gradient(0deg, rgba(42,33,23,.86) 6%, transparent 92%); }
.pick-card__city { display: block; font-size: 13px; color: var(--gold-2); font-weight: 600; }
.pick-card__name { font-family: var(--font-serif); font-size: 21px; font-weight: 700; }
.pick-card__check { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-fill); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: opacity .35s var(--ease), transform .35s var(--ease); z-index: 3; }
.pick-card__check .ic { width: 19px; }
.pick-card.is-selected .pick-card__check { opacity: 1; transform: scale(1); }

/* التقييم */
.rating-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rating-opt { position: relative; }
.rating-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rating-opt label { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); cursor: pointer; transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease); text-align: center; font-weight: 700; min-height: 44px; }
.rating-stars { display: flex; gap: 2px; }
.rating-stars .ic { width: 15px; height: 15px; }
.rating-stars .on { fill: var(--gold-deep); color: var(--gold-deep); }
.rating-stars .off { fill: none; color: var(--gold-line); }
.rating-label { font-size: 14.5px; font-weight: 700; }
.rating-opt input:checked + label { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-ink); box-shadow: 0 0 0 3px var(--gold-soft); transform: translateY(-3px); }
.rating-opt input:checked + label .rating-stars .on { fill: var(--gold-ink); color: var(--gold-ink); }
.rating-opt input:focus-visible + label { outline: 2px solid var(--gold-fill); outline-offset: 2px; }
.rating-opt label:hover { border-color: var(--gold-line); }

/* ---------- شريط الدعوة ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--cream-2), var(--sand));
  color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(42px, 7vw, 88px); text-align: center; border: 1px solid var(--gold-line);
}
.cta-band .orb { inset-block-start: -120px; inset-inline-end: -80px; width: 380px; height: 380px; opacity: .5; }
.cta-band .dots { mask-image: radial-gradient(circle at 50% 120%, #000, transparent 70%); }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2, .cta-band__title { color: var(--ink); font-size: clamp(28px, 4.2vw, 50px); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-band h2 .accent, .cta-band__title .is-accent { color: var(--gold-deep); }
.cta-band p, .cta-band__text { color: var(--ink-2); max-width: 580px; margin: 0 auto 30px; font-size: 18px; line-height: 1.85; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- الفوتر ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--cream-2), var(--sand));
  color: var(--ink-2); padding-block: clamp(56px,8vw,88px) 0;
  position: relative; overflow: hidden; border-top: 1px solid var(--gold-line);
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 46px; }
.footer-brand img { height: 78px; width: auto; margin-bottom: 20px; }
.footer-brand p { line-height: 1.9; font-size: 15px; max-width: 340px; color: var(--ink-soft); }
.footer-col h2, .footer-col h4 { color: var(--ink); font-family: var(--font-sans); font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a, .footer-col ul span { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; color: var(--ink-2); transition: color .25s var(--ease), padding-inline-start .25s var(--ease); }
.footer-col ul a:hover { color: var(--gold-fill-2); padding-inline-start: 6px; }
.footer-col .ic { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; color: var(--ink-2); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); box-shadow: var(--shadow-xs); }
.footer-social a:hover { background: var(--gold-fill); color: #fff; transform: translateY(-5px); }
.footer-social .social-ic { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--gold-line); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--gold-fill-2); }

/* ---------- الظهور التدريجي ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
  will-change: opacity, transform;
}
.js [data-reveal].in, .js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .09s; }
.js [data-reveal][data-delay="2"] { transition-delay: .18s; }
.js [data-reveal][data-delay="3"] { transition-delay: .27s; }
.js [data-reveal][data-delay="4"] { transition-delay: .36s; }
.js [data-reveal][data-delay="5"] { transition-delay: .45s; }

/* ---------- شريط تقدّم التمرير ---------- */
.scroll-progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 110; pointer-events: none; background: transparent; }
.scroll-progress__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

/* ---------- لايت بوكس ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(42,33,23,.93); display: flex; align-items: center; justify-content: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; inset-block-start: 26px; inset-inline-end: 26px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease); }
.lightbox__close:hover { background: var(--gold-fill); }

/* ---------- صفحات الأخطاء ---------- */
.error-page { min-height: 74vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-block: 150px 90px; background: linear-gradient(160deg, var(--white), var(--cream-2)); }
.error-page__code { font-family: var(--font-serif); font-weight: 700; font-size: clamp(96px, 19vw, 210px); line-height: 1; color: var(--gold); direction: ltr; }
.error-page h1, .error-page__title { font-size: clamp(26px, 4vw, 42px); margin-bottom: 16px; }
.error-page p, .error-page__text { color: var(--ink-soft); margin-bottom: 30px; }

/* ============================================================
   الاستجابة
   ============================================================ */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .projects-grid > * { flex-basis: calc(50% - clamp(10px, 1.1vw, 15px)); }
  .projects-grid--row > * { flex-basis: clamp(280px, 44%, 360px); }
  .services-grid, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .social-rail { display: none; }
  .project-row { grid-template-columns: 1fr; }
  .project-row:nth-child(even) .project-row__media { order: 0; }
  .split-media { grid-template-columns: 1fr; }
  .split-media--reverse .split-media__visual { order: 0; }
  .arch-media { max-width: 520px; margin-inline: auto; aspect-ratio: 5/4.6; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 62px; }
  .site-header.scrolled .brand img, .site-header.is-scrolled .brand img { height: 54px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 96px; }
  .stats, .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat:nth-child(odd)::after { display: none; }
  .projects-grid > * { flex-basis: 100%; }
  .projects-grid--row > * { flex-basis: 82%; scroll-snap-align: center; }
  .services-grid, .grid--2, .grid--3, .grid--4, .vm-grid, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .rating-options { grid-template-columns: 1fr; }
  .rating-opt label { flex-direction: row; justify-content: center; gap: 14px; padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  /* أهداف لمس ≥ ٤٤px لروابط الفوتر على الجوال */
  .footer-col ul li { margin-bottom: 2px; }
  .footer-col ul a, .footer-col ul span { min-height: 44px; min-width: 44px; }
  .breadcrumb a, .breadcrumb > span { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
  .breadcrumb__sep { min-width: 0 !important; }
  .footer-bottom { justify-content: center; text-align: center; }
  .trustbar__row { justify-content: center; gap: 20px 26px; }
  .section-head--split, .section-head.split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head--split .section-head__title, .section-head--split .section-title { margin-bottom: 0; }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .video-slider__track > .video-card { flex-basis: 86%; }
  .video-slider__nav { display: none; }
  .hero { min-height: 0; padding-block: clamp(118px, 26vw, 168px) 56px; }
  .hero__frame { inset: 14px; }
  .hero__frame-corner { width: 32px; height: 32px; }
  .hero__stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; column-gap: clamp(36px, 13vw, 62px); row-gap: 28px; margin-top: 42px; }
  .hero__stat { padding: 0 4px; }
  .hero__stat::after { display: none; }
  .hero__stat b { font-size: 34px; }
  .hero__stat span { font-size: 13.5px; line-height: 1.5; }
  .hero__scroll { display: none; }
  .btn { width: auto; }
  .hero__cta .btn, .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .hero__cta, .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .hero__actions .btn { width: 100%; }
  .breadcrumb { font-size: 13px; }
}

/* ---------- احترام تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js .hero .eyebrow, .js .hero h1 .line, .js .hero__title .line,
  .js .hero__sub, .js .hero__lead, .js .hero .ornament-divider,
  .js .hero__cta, .js .hero__actions, .js .hero__stats, .js .hero__frame {
    opacity: 1 !important; transform: none !important;
  }
  .hero__scroll .l::after { animation: none; top: 0; }
}

/* ============================================================
   شريط عرض المشاريع المتحرك (vstrip)
   مقاطع قصيرة تنساب أفقياً بلا توقف · تُدار من «وسائط الموقع» في اللوحة.
   يعتمد رموز الهوية القائمة: --accent · --ink · --line · --radius · --ease
   ============================================================ */
.vstrip {
  position: relative;
  padding-block: clamp(46px, 5.5vw, 84px);
  overflow: hidden;
}
.vstrip__head { text-align: center; margin-bottom: clamp(26px, 3vw, 44px); }
.vstrip__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.2;
  color: var(--ink);
}

/* نافذة الشريط: تلاشٍ ناعم على الطرفين ليبدو الانسياب بلا حدّ */
.vstrip__viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.vstrip__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  width: max-content;
  will-change: transform;
  animation: vstrip-run var(--vstrip-dur, 46s) linear infinite;
}
/* الاتجاه: يسير المسار نحو اليسار البصري في الحالتين (النسخة المكرّرة تسدّ الفراغ) */
@keyframes vstrip-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.vstrip__viewport:hover .vstrip__track,
.vstrip__viewport:focus-within .vstrip__track { animation-play-state: paused; }

.vstrip__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 23vw, 330px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.vstrip__media {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease, ease);
}
.vstrip__item:hover .vstrip__media { transform: scale(1.05); }
.vstrip__media--blank {
  display: grid; place-items: center;
  color: var(--accent);
  opacity: .5;
}
.vstrip__media--blank svg { width: 34px; height: 34px; }

/* زر التشغيل يغطي البطاقة كاملةً (هدف لمس كبير) */
.vstrip__open {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .42));
  border: 0; padding: 0; cursor: pointer;
  transition: background .35s var(--ease, ease);
}
.vstrip__item:hover .vstrip__open { background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .55)); }
.vstrip__play {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease, ease);
}
.vstrip__item:hover .vstrip__play { transform: scale(1.08); }
.vstrip__play svg { width: 22px; height: 22px; margin-inline-start: 2px; }
.vstrip__open:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }

.vstrip__label {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 26px 16px 12px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  pointer-events: none;
}

/* ---------- عارض الفيديو (يُبنى من app.js عند النقر) ---------- */
.vstrip-modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 12, .90);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease, ease), visibility .3s;
}
.vstrip-modal.open { opacity: 1; visibility: visible; }
.vstrip-modal__box {
  position: relative;
  width: min(1080px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vstrip-modal__box > video,
.vstrip-modal__box > iframe { width: 100%; height: 100%; border: 0; display: block; }
.vstrip-modal__close {
  position: absolute; inset-block-start: -52px; inset-inline-end: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background .3s var(--ease, ease);
}
.vstrip-modal__close:hover { background: rgba(255, 255, 255, .24); }
.vstrip-modal__close svg { width: 20px; height: 20px; }

/* ---------- الاستجابة وتقليل الحركة ---------- */
@media (max-width: 640px) {
  .vstrip__item { width: clamp(180px, 62vw, 260px); }
  .vstrip__play { width: 46px; height: 46px; }
  .vstrip-modal__close { inset-block-start: auto; inset-block-end: -52px; }
}
@media (prefers-reduced-motion: reduce) {
  /* بلا انسياب: يصير الشريط قابلاً للتمرير يدوياً */
  .vstrip__track { animation: none; }
  .vstrip__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .vstrip__item { scroll-snap-align: center; }
  .vstrip__media, .vstrip__play, .vstrip__open { transition: none; }
  .vstrip__item:hover .vstrip__media { transform: none; }
}

/* ============================================================
   جدول وحدات المشروع — الصفّ ينقل إلى صفحة الوحدة
   ============================================================ */
.table tr.is-linked { cursor: pointer; transition: background var(--dur-2, .3s) var(--ease-out, ease); }
.table tr.is-linked:hover { background: var(--gold-soft); }
.table tr.is-linked:hover .unit-go { color: var(--gold-ink); gap: 10px; }
.unit-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: inherit; }
.unit-link:hover { color: var(--gold-ink); }
.unit-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.cell-go { text-align: end; white-space: nowrap; }
.unit-go {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  transition: color var(--dur-2, .3s) var(--ease-out, ease), gap var(--dur-2, .3s) var(--ease-out, ease);
}
.unit-go svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .cell-go, .table thead th:last-child { display: none; } }

/* ============================================================
   صفحة الوحدة السكنية
   ============================================================ */
.unit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: start;
}
.unit-hero-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-arch, 22px); margin-bottom: clamp(22px, 3vw, 34px);
}

.unit-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 1.6vw, 20px); list-style: none; padding: 0; margin: 0 0 clamp(26px, 3vw, 38px);
}
.unit-spec {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(16px, 2vw, 22px);
  background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--radius-sm, 12px);
}
.unit-spec__ic { display: inline-flex; color: var(--gold-ink); }
.unit-spec__ic svg { width: 20px; height: 20px; }
.unit-spec__label { font-size: 13px; color: var(--ink-soft); }
.unit-spec__value { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: var(--ink); }

.unit-desc { margin-bottom: clamp(24px, 3vw, 34px); }
.unit-desc h3 { margin-bottom: 12px; }
.unit-desc p { color: var(--ink-2); line-height: 2; }
.unit-back { margin-top: clamp(20px, 2.5vw, 30px); }

/* بطاقة الحجز */
.unit-aside { position: sticky; top: calc(var(--header-h, 92px) + 20px); }
.unit-book {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg, 24px); padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm);
}
.unit-book__title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); color: var(--ink); margin-bottom: 8px; }
.unit-book__note { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 20px; }
.unit-book .field { margin-bottom: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* بطاقات الوحدات الأخرى */
.unit-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.unit-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius, 18px); color: inherit;
  transition: transform var(--dur-2, .3s) var(--ease-out, ease),
              border-color var(--dur-2, .3s) var(--ease-out, ease),
              box-shadow var(--dur-2, .3s) var(--ease-out, ease);
}
.unit-card:hover { transform: translateY(-4px); border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.unit-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.unit-card__name { font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: var(--ink); }
.unit-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.unit-card__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.unit-card__meta svg { width: 15px; height: 15px; color: var(--gold-ink); }
.unit-card__price { font-weight: 700; color: var(--ink); }
.unit-card__go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 2px;
  font-size: 14px; font-weight: 700; color: var(--gold-ink);
  transition: gap var(--dur-2, .3s) var(--ease-out, ease);
}
.unit-card:hover .unit-card__go { gap: 12px; }
.unit-card__go svg { width: 16px; height: 16px; }

.link-gold {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--gold-ink); font-weight: 700;
}
.link-gold:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .unit-layout { grid-template-columns: minmax(0, 1fr); }
  .unit-aside { position: static; }
}
