/* ثبات لإدارة المشاريع — الأنماط */

:root {
  --teal: #017185;
  --teal-deep: #015566;
  --aqua-1: #CFE4E6;
  --aqua-2: #9CCDD5;
  --aqua-3: #A9D8DE;
  --ink: #1F3A40;
  --ink-2: #47626A;
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --line: rgba(1, 113, 133, .14);
  --leaf-a: #86C241;

  --f-display: "Alexandria", "Cairo", system-ui, sans-serif;
  --f-body: "Cairo", "Alexandria", system-ui, sans-serif;

  --r: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 1px 2px rgba(31, 58, 64, .05), 0 12px 40px -12px rgba(1, 113, 133, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0; }
em { font-style: normal; color: var(--teal); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* خلفية ثابتة: خامة ماء */
.env {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(156, 205, 213, .35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(207, 228, 230, .6), transparent 60%),
    var(--bg);
}
.env-leaf {
  position: absolute; top: 8vh; left: 50%; width: 220px; height: auto; transform: translateX(-50%);
  opacity: .03;
}

/* ===== أزرار ===== */
.btn {
  --b: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: #fff; font: 600 1rem var(--f-body); text-decoration: none;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  box-shadow: 0 8px 24px -10px rgba(1, 113, 133, .6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(1, 113, 133, .7); }
.btn:focus-visible, .size:focus-visible, summary:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--aqua-2); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: none; }
.btn-ghost:hover { background: rgba(1, 113, 133, .07); box-shadow: none; }
.btn-sm { padding: .55em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn svg { width: 1.3em; height: 1.3em; }

/* ===== التنقل ===== */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(16px, (100% - 1160px) / 2);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.is-solid {
  background: rgba(250, 247, 242, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 54px; width: auto; transition: height .4s var(--ease); }
.nav.is-solid .brand-logo { height: 44px; }
.foot .brand-logo { height: 58px; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink-2); position: relative; padding-block: 4px; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ===== المشهد ===== */
.story { position: relative; height: 620vh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: var(--stage-h, 100svh); overflow: hidden;
  background:
    radial-gradient(70% 60% at 35% 62%, rgba(169, 216, 222, .55), transparent 70%),
    radial-gradient(45% 40% at 88% 18%, rgba(134, 194, 65, .14), transparent 70%),
    radial-gradient(50% 45% at 8% 10%, rgba(1, 113, 133, .10), transparent 70%),
    linear-gradient(170deg, #FBFAF6 0%, #F1F7F6 45%, #E2EFEE 100%);
}
/* الفيلم خلفيته بيضا، و multiply بيخلّي الأبيض يختفي فبيبان البئر واقف بالمشهد */
.film { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.film-poster {
  position: absolute; left: -6.5%; top: 50%; width: 84%; transform: translateY(-50%);
  mix-blend-mode: multiply; pointer-events: none;
}
.stage.is-ready .film-poster { display: none; }

/* ===== الخلفية الفخمة ===== */
.lux { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lux-glow {
  position: absolute; left: 6%; top: 30%; width: 60%; height: 60%;
  background: radial-gradient(closest-side, rgba(1, 113, 133, .16), transparent);
  filter: blur(10px); animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }
/* ضو الماء: بقع ناعمة بتتحرك ببطء متل انعكاس الماء */
.lux-caustics {
  position: absolute; inset: -20%; opacity: .55; filter: blur(14px);
  background:
    radial-gradient(12% 8% at 20% 30%, rgba(255, 255, 255, .9), transparent),
    radial-gradient(10% 7% at 60% 20%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(14% 9% at 75% 70%, rgba(255, 255, 255, .85), transparent),
    radial-gradient(9% 6% at 35% 80%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(11% 7% at 90% 45%, rgba(207, 228, 230, .9), transparent),
    radial-gradient(13% 8% at 50% 55%, rgba(207, 228, 230, .7), transparent);
  animation: caustics 22s ease-in-out infinite alternate;
}
@keyframes caustics {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(3%, -2%) rotate(4deg) scale(1.05); }
  100% { transform: translate(-3%, 2%) rotate(-3deg) scale(1.02); }
}
.lux-word {
  position: absolute; left: 50%; top: 52%; translate: -62% -50%;
  font: 800 clamp(14rem, 34vw, 34rem) / 1 var(--f-display); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(1, 113, 133, .07);
  background: linear-gradient(180deg, rgba(1, 113, 133, .05), rgba(1, 113, 133, 0) 70%);
  -webkit-background-clip: text; background-clip: text;
  will-change: transform; user-select: none;
}
.lux-rings { position: absolute; left: 33%; top: 66%; }
.lux-rings i {
  position: absolute; left: 0; top: 0; width: 46vw; height: 11vw; border-radius: 50%;
  border: 1px solid rgba(1, 113, 133, .16); translate: -50% -50%;
  animation: ring 9s linear infinite; opacity: 0;
}
.lux-rings i:nth-child(2) { animation-delay: -3s; }
.lux-rings i:nth-child(3) { animation-delay: -6s; }
@keyframes ring { 0% { scale: .35; opacity: 0; } 15% { opacity: 1; } 100% { scale: 1.35; opacity: 0; } }
.lux-drops i {
  position: absolute; left: var(--x); bottom: -24px; width: 7px; height: 10px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 35%, #fff, rgba(156, 205, 213, .9) 45%, rgba(1, 113, 133, .5));
  opacity: 0; animation: rise var(--t) linear var(--d) infinite;
}
@keyframes rise {
  0% { transform: translateY(0) scale(.7); opacity: 0; }
  10% { opacity: .7; }
  90% { opacity: .5; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}
.story::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30vh; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.loader {
  --p: 0;
  position: absolute; left: max(16px, (100% - 1160px) / 2); bottom: 22px; width: 120px; height: 3px;
  border-radius: 3px; background: rgba(1, 113, 133, .12); overflow: hidden; transition: opacity .6s;
}
.loader i { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(var(--p)); }
.loader.is-done { opacity: 0; }

.gauge {
  position: absolute; left: max(16px, 2.5vw); top: 50%; transform: translateY(-50%);
  display: grid; justify-items: center; gap: 6px; font-family: var(--f-display);
  color: var(--ink); opacity: 0; transition: opacity .5s, color .5s;
}
.gauge.is-on { opacity: 1; }
.gauge.is-deep { color: #fff; }
.gauge-label { font-size: .75rem; letter-spacing: 1px; opacity: .7; }
.gauge-num { font-size: .95rem; white-space: nowrap; }
.gauge-num b { font-size: 2.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.gauge-track { width: 3px; height: 34vh; background: rgba(31, 58, 64, .15); border-radius: 3px; position: relative; overflow: hidden; }
.gauge-track i { position: absolute; inset-inline: 0; top: 0; height: 100%; background: var(--teal); transform-origin: top; transform: scaleY(0); }
.gauge.is-deep .gauge-track { background: rgba(255, 255, 255, .25); }
.gauge.is-deep .gauge-track i { background: #fff; }

.caps { position: absolute; inset: 0; pointer-events: none; }
.cap {
  position: absolute; right: max(24px, 4vw); top: 50%;
  width: min(400px, 30vw);
  --y: 30px;
  opacity: 0; transform: translateY(calc(-50% + var(--y)));
  will-change: opacity, transform;
}
.cap.is-live { pointer-events: auto; }
.cap-k { font: 600 1rem var(--f-display); color: var(--teal); margin-bottom: 4px; }
.cap-v { font: 800 clamp(1.8rem, 3.4vw, 3.1rem) var(--f-display); line-height: 1.2; }
.cap-s { margin-top: 10px; font-size: 1.12rem; color: var(--ink-2); }
.cap-light .cap-k { color: var(--aqua-1); }
.cap-light .cap-v { color: #fff; text-shadow: 0 2px 24px rgba(1, 60, 70, .4); }
.cap-light .cap-s { color: rgba(255, 255, 255, .88); }

.cap-hero { width: min(420px, 31vw); }
.cap-hero h1 { font-size: clamp(2.1rem, 4.3vw, 4.1rem); font-weight: 800; }
.cap-hero .lede, .cap-final .lede { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 30ch; }
.eyebrow { font: 600 .9rem var(--f-display); color: var(--teal); letter-spacing: .5px; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.scroll-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: .9rem; color: var(--ink-2);
}
.scroll-hint::after {
  content: ""; width: 18px; height: 28px; border: 2px solid var(--ink-2); border-radius: 10px;
  background: radial-gradient(circle at 50% 30%, var(--ink-2) 2.5px, transparent 3px);
  animation: nudge 1.8s var(--ease) infinite;
}
@keyframes nudge { 50% { background-position: 0 8px; } }

.cap-final { width: min(420px, 31vw); }
.cap-final h2 { font-size: clamp(2rem, 3.9vw, 3.6rem); font-weight: 800; }
.cap-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.progress { position: absolute; bottom: 0; inset-inline: 0; height: 3px; background: rgba(1, 113, 133, .08); }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf-a), var(--teal)); transform-origin: right; transform: scaleX(0); }

/* ===== أرقام ===== */
.stats { padding: 72px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font: 800 clamp(2.3rem, 4.2vw, 3.4rem) var(--f-display); direction: ltr; color: var(--teal); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--ink-2); font-size: .98rem; }

/* ===== اللحظة: صور الأطفال ===== */
.moment { padding: 110px 0 30px; position: relative; z-index: 3; }
.moment-grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr; gap: 18px; height: min(560px, 70vh); }
.m-card { margin: 0; position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(31, 58, 64, .45); }
.m-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.m-card.is-in img { transform: scale(1); }
.m-card:hover img { transform: scale(1.04); }
.m-card.reveal { clip-path: inset(12% 0 0 0 round 26px); opacity: 1; transform: none; transition: clip-path 1.2s var(--ease); }
.m-card.reveal.is-in { clip-path: inset(0 0 0 0 round 26px); }
.m-tall:nth-of-type(3) { margin-top: 48px; }
.m-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 35%, rgba(1, 40, 48, .78)); }
.m-wide figcaption { position: absolute; inset: auto 32px 30px; z-index: 1; color: #fff; max-width: 420px; }
.m-wide .eyebrow { color: var(--aqua-1); }
.m-wide h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; }
.m-wide em { color: var(--aqua-3); }
.m-wide figcaption p:last-child { margin-top: 8px; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }

/* ===== من أرض الواقع ===== */
.real { padding: 40px 0 100px; position: relative; z-index: 3; }
.real-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.real-head .sec-head { margin-bottom: 34px; }
.reel-nav { display: flex; gap: 10px; margin-bottom: 40px; }
.reel-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: all .35s var(--ease); box-shadow: var(--shadow);
}
.reel-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reel-btn:hover { background: var(--teal); }
.reel-btn:hover svg { stroke: #fff; }
.reel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px max(16px, (100% - 1160px) / 2) 24px; scrollbar-width: none; cursor: grab;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.reel-item {
  flex: none; margin: 0; height: min(460px, 62vh); aspect-ratio: 3 / 4; position: relative; overflow: hidden;
  border-radius: 22px; scroll-snap-align: start; background: var(--aqua-1);
  box-shadow: 0 24px 50px -28px rgba(31, 58, 64, .5);
}
.reel-item.is-wide { aspect-ratio: 16 / 10.5; }
.reel-item img, .reel-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); pointer-events: none; }
.reel-item:hover img, .reel-item:hover video { transform: scale(1.04); }
.reel-item figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(1, 40, 48, .75));
}
.reel-item.is-wide::before {
  content: ""; position: absolute; top: 14px; right: 14px; z-index: 1; width: 10px; height: 10px; border-radius: 50%;
  background: #E8524A; box-shadow: 0 0 0 4px rgba(232, 82, 74, .25); animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: .35; } }

/* ===== أقسام ===== */
.section { padding: 120px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--aqua-1), #E3F0F1); }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
.sec-lede { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); }

/* الآبار */
.wells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.well-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.well-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(31, 58, 64, .05), 0 24px 50px -16px rgba(1, 113, 133, .35); }
.well-featured { background: linear-gradient(170deg, #fff 40%, #EAF5F6); border-color: rgba(1, 113, 133, .35); }
.badge {
  position: absolute; top: -13px; right: 24px; background: var(--teal); color: #fff;
  font: 600 .8rem var(--f-display); padding: 5px 14px; border-radius: 999px;
}
.wc-img {
  width: 100%; height: 190px; object-fit: contain; margin: -6px 0 14px;
  mix-blend-mode: multiply; transition: transform .7s var(--ease);
}
.well-card:hover .wc-img { transform: scale(1.04) translateY(-4px); }
.wc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wc-top h3 { font-size: 1.35rem; }
.depth-bar { width: 10px; height: 64px; border-radius: 6px; background: var(--aqua-1); position: relative; overflow: hidden; flex: none; }
.depth-bar i {
  position: absolute; inset-inline: 0; top: 0; height: calc(var(--d) * 100%);
  background: linear-gradient(180deg, var(--aqua-2), var(--teal)); border-radius: 6px;
  transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease) .3s;
}
.well-card.is-in .depth-bar i { transform: scaleY(1); }
.price { font: 800 2.8rem var(--f-display); color: var(--ink); margin: 14px 0 18px; direction: ltr; text-align: right; }
.price span { font-size: 1.4rem; vertical-align: super; margin-left: 2px; color: var(--teal); }
.specs { list-style: none; padding: 0; margin: 0 0 18px; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.specs li span { color: var(--ink-2); }
.includes { font-size: .93rem; color: var(--ink-2); margin-bottom: 14px; }
.note {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 600 .92rem var(--f-display); color: var(--teal-deep);
  background: rgba(1, 113, 133, .08); padding: 6px 12px; border-radius: 10px;
}
.note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* فاصل الموجة */
.wave-sep { height: 60px; overflow: hidden; margin-bottom: -1px; }
.wave-sep svg { width: 200%; height: 100%; fill: var(--aqua-1); animation: wave 14s linear infinite; }
.wave-flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }
.wave-flip svg { fill: #E3F0F1; animation-duration: 18s; }
@keyframes wave { to { transform: translateX(50%); } }

/* المساجد */
.mosque-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.sizes { display: grid; gap: 10px; }
.size {
  font: 700 1.2rem var(--f-display); color: var(--ink-2); background: rgba(255, 255, 255, .6);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; text-align: right; cursor: pointer;
  transition: all .35s var(--ease);
}
.size:hover { border-color: var(--aqua-2); }
.size.is-on { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 10px 24px -12px rgba(1, 113, 133, .7); }
.mosque-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px 36px; align-items: center;
  background: var(--card); border-radius: var(--r); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.mosque-art { grid-row: span 2; width: 100%; max-width: 380px; }
.mosque-art .draw { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease); }
.mosque-card.is-in .mosque-art .draw { stroke-dashoffset: 0; }
.mp-size { font: 600 1rem var(--f-display); color: var(--teal); }
.mp-size b { font-size: 1.6rem; }
.mosque-price .price { margin: 4px 0 2px; }
.mp-aed { color: var(--ink-2); }
.mp-aed b { font-family: var(--f-display); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: .97rem; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--aqua-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23017185' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.mosque-card .btn { grid-column: 2; }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px); opacity: .4; } }

/* كيف نعمل */
.steps { list-style: none; padding: 0; margin: 0; position: relative; max-width: 760px; }
.steps-line { position: absolute; right: 27px; top: 28px; bottom: 28px; width: 4px; height: calc(100% - 56px); overflow: visible; }
.steps-line line { stroke: var(--aqua-2); stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 18px 0; position: relative; }
.step-n {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.3rem var(--f-display); color: var(--teal); background: var(--bg);
  border: 2px solid var(--aqua-2); position: relative; z-index: 1;
  transition: background .5s, color .5s, border-color .5s;
}
.step.is-in .step-n { background: var(--teal); color: #fff; border-color: var(--teal); }
.step h3 { font-size: 1.3rem; margin-top: 12px; }
.step p { color: var(--ink-2); margin-top: 4px; }

/* أين ننفّذ */
.section-dark { background: linear-gradient(160deg, #0B4E5A, var(--teal-deep) 50%, #013B46); color: #fff; overflow: hidden; }
.section-dark .eyebrow { color: var(--aqua-2); }
.section-dark em { color: var(--aqua-3); }
.section-dark .sec-lede { color: rgba(255, 255, 255, .78); }
.dark-leaf { position: absolute; left: 4%; top: 50%; width: 240px; height: auto; transform: translateY(-50%); filter: brightness(0) invert(1); opacity: .07; }
/* خريطة الطرق */
.routes { position: relative; margin-top: 8px; }
.routes svg { width: 100%; height: auto; overflow: visible; display: block; }
.route { fill: none; stroke: url(#routeGrad); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--off, 1); filter: drop-shadow(0 0 6px rgba(156, 205, 213, .6)); }
.route-soft { stroke: rgba(255, 255, 255, .28); stroke-width: 1.4; stroke-dasharray: 4 6; filter: none; opacity: var(--soft, 0); }
.travelers circle { fill: #E8F6F7; filter: drop-shadow(0 0 6px #9CCDD5); opacity: var(--trav, 0); }
.node { opacity: var(--node, 0); transition: opacity .6s; }
.node circle:not(.halo) { stroke: rgba(255, 255, 255, .85); stroke-width: 2; }
.office circle:not(.halo) { fill: #86C241; }
.site circle:not(.halo) { fill: #9CCDD5; }
.halo { fill: url(#nodeGlow); transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.site .halo { animation-delay: -1.3s; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.node text { fill: #fff; font: 600 15px var(--f-body); text-anchor: middle; paint-order: stroke; stroke: rgba(1, 59, 70, .6); stroke-width: 4px; }
.routes-key { display: flex; gap: 22px; justify-content: center; margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.routes-key span { display: inline-flex; align-items: center; gap: 8px; }
.routes-key i { width: 10px; height: 10px; border-radius: 50%; }
.k-office { background: #86C241; }
.k-site { background: #9CCDD5; }

/* زينة السكرول: خط ماء وقطرة */
.trail { --tp: 0; position: fixed; left: 14px; top: 96px; bottom: 32px; width: 2px; border-radius: 2px; background: rgba(1, 113, 133, .1); z-index: 40; pointer-events: none; }
.trail-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(#86C241, #017185); transform-origin: top; transform: scaleY(var(--tp)); }
.trail-drop {
  position: absolute; left: 50%; top: calc(var(--tp) * 100%); width: 11px; height: 15px; translate: -50% -60%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 35%, #fff, #9CCDD5 45%, #017185);
  box-shadow: 0 0 12px rgba(1, 113, 133, .45);
}
main { position: relative; }
.floaters { position: absolute; inset: 620vh 0 0 0; pointer-events: none; z-index: 2; overflow: hidden; }
.floater { position: absolute; top: var(--top); left: var(--x); width: var(--w); height: auto; opacity: .14; rotate: var(--rot); will-change: transform; }

/* الحديث */
.quote { padding: 120px 0; text-align: center; }
.quote .drop {
  display: block; width: 22px; height: 30px; margin: 0 auto 26px; background: var(--teal);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(50% 0, 100% 62%, 92% 85%, 72% 100%, 28% 100%, 8% 85%, 0 62%);
  animation: fall 2.6s var(--ease) infinite;
}
@keyframes fall { 0% { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(8px); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.quote blockquote { margin: 0; font: 800 clamp(2rem, 5vw, 3.8rem) var(--f-display); color: var(--ink); text-shadow: 0 0 40px rgba(169, 216, 222, .9); }
.quote-src { margin-top: 14px; color: var(--teal); font-weight: 600; }

/* أسئلة */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .4s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font: 600 1.08rem var(--f-display);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* التواصل */
.cta { padding: 120px 0; background: linear-gradient(180deg, transparent, var(--aqua-1)); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; }
.contact-list span { width: 80px; color: var(--ink-2); font-size: .95rem; }
.contact-list a { font: 600 1.08rem var(--f-display); text-decoration: none; color: var(--teal); }
.contact-list a:hover { text-decoration: underline; }
.order { background: var(--card); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: .95rem; }
.field input, .field select {
  font: 400 1rem var(--f-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(1, 113, 133, .12); }
.btn-wa { margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--ink-2); text-align: center; }

/* التذييل */
.foot { padding: 40px 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-2); font-size: .95rem; }
.foot-small { text-align: center; color: var(--ink-2); font-size: .82rem; margin-top: 24px; opacity: .8; }

/* ===== ظهور العناصر ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.wells .reveal:nth-child(2), .stats-grid .reveal:nth-child(2), .places .reveal:nth-child(2) { transition-delay: .12s; }
.wells .reveal:nth-child(3), .stats-grid .reveal:nth-child(3), .places .reveal:nth-child(3) { transition-delay: .24s; }
.stats-grid .reveal:nth-child(4), .places .reveal:nth-child(4) { transition-delay: .36s; }

/* ===== الجوال ===== */
@media (max-width: 960px) {
  .moment-grid { grid-template-columns: 1fr 1fr; height: auto; gap: 12px; }
  .m-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
  .m-tall { aspect-ratio: 4 / 5; }
  .m-tall:nth-of-type(3) { margin-top: 0; }
  .m-wide figcaption { inset: auto 20px 20px; }
  .trail { left: 6px; }
  .floater { opacity: .1; }
  .wells { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .mosque-grid { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: repeat(4, 1fr); }
  .size { text-align: center; padding: 12px 6px; font-size: 1rem; }
  .mosque-card { grid-template-columns: 1fr; padding: 26px; }
  .mosque-art { grid-row: auto; max-width: 280px; margin-inline: auto; }
  .mosque-card .btn { grid-column: auto; }
  .where-grid, .cta-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 4px;
    padding: 84px 24px 28px; background: rgba(250, 247, 242, .97); backdrop-filter: blur(14px);
    transform: translateY(-105%); transition: transform .5s var(--ease); box-shadow: 0 20px 40px -20px rgba(1, 60, 70, .3);
  }
  .nav-links.is-open { transform: none; }
  .nav-links a { font-size: 1.2rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; margin-inline-start: auto; background: none; border: 0; padding: 10px; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .story { height: 500vh; }
  .floaters { top: 500vh; }
  .node text { font-size: 30px; stroke-width: 7px; }
  .node circle:not(.halo) { r: 9; }
  .route { stroke-width: 4; }
  .real-head { display: block; }
  .reel-nav { display: none; }
  .reel-item { height: 360px; }
  .film-poster { width: 145%; left: -21%; top: 35.5%; }
  .lux-word { top: 34%; translate: -50% -50%; font-size: 13rem; }
  .lux-rings { left: 50%; top: 46%; }
  .lux-rings i { width: 120vw; height: 26vw; }
  .lux-glow { left: -10%; top: 15%; width: 120%; height: 45%; }
  .cap, .cap-hero, .cap-final { right: 16px; left: 16px; width: auto; top: auto; bottom: 12vh; transform: translateY(var(--y)); }
  .cap-hero { bottom: 6vh; }
  .cap-final { bottom: 4vh; }
  .cap-final h2 { font-size: 1.9rem; }
  .cap-final .lede { margin-top: 10px; }
  .cap-actions { margin-top: 16px; gap: 10px; }
  .cap-actions .btn { padding: .7em 1.2em; font-size: .95rem; }
  .cap-hero h1 { font-size: 2.3rem; }
  .cap-hero .scroll-hint { margin-top: 14px; }
  .cap-v { font-size: 2.2rem; }
  .cap:not(.cap-hero):not(.cap-light) {
    background: rgba(250, 247, 242, .82); backdrop-filter: blur(8px); padding: 16px 18px; border-radius: 16px;
  }
  .cap-light { background: rgba(1, 85, 102, .55); backdrop-filter: blur(8px); padding: 16px 18px; border-radius: 16px; }
  .gauge { left: 12px; top: 22vh; transform: none; }
  .gauge-track { height: 18vh; }
  .gauge-num b { font-size: 1.6rem; }
  .section, .quote, .cta { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .order { padding: 22px; }
  .checks { grid-template-columns: 1fr; }
}

/* حركة مخفّفة */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.wave-sep { display: none; }

/* ===== البئر الـ 3D ===== */
.well3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.is-3d-ready .well3d { opacity: 1; }
.stage[data-mode="3d"] .film, .stage[data-mode="3d"] .film-poster, .stage[data-mode="3d"] .loader { display: none; }
.stage[data-mode="film"] .well3d { display: none; }

/* ===== Lenis ===== */
html.has-lenis, html.lenis, html.lenis body { height: auto; }
html.has-lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.stage[data-mode="3d"] .gauge { display: none; }

/* ===== وضع الرندر الأصلي: البئر السطحي + ماء متحرك ===== */
.hw {
  --zoom: 1; --turn: 0; --rx: 0; --ry: 0;
  position: absolute; left: 1%; top: 52%; width: min(62vw, 120vh); aspect-ratio: 1;
  translate: 0 -50%; transform-origin: 48% 55%; perspective: 1400px;
  transform: scale(var(--zoom)) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg + var(--turn) * 1deg));
  will-change: transform; pointer-events: none;
}
.hw svg { width: 100%; height: 100%; overflow: visible; }
.hw image { mix-blend-mode: multiply; }
.stage[data-mode="render"] .film, .stage[data-mode="render"] .film-poster, .stage[data-mode="render"] .loader,
.stage[data-mode="render"] .gauge, .stage[data-mode="render"] .well3d { display: none; }
.stage:not([data-mode="render"]) .hw { display: none; }
.hw-stream { stroke: url(#wGrad); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 5 3; opacity: 0; animation: hwflow .35s linear infinite; }
.hw-drip { fill: none; stroke: #9ae6ee; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 7 9; opacity: 0; animation: hwflow .7s linear infinite; }
@keyframes hwflow { to { stroke-dashoffset: -16; } }
.hw-ripples ellipse { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: hwring 2.2s ease-out infinite; opacity: 0; }
.hw-ripples ellipse:nth-child(2) { animation-delay: -.73s; }
.hw-ripples ellipse:nth-child(3) { animation-delay: -1.46s; }
.hw-ripples-sm ellipse { stroke-width: 1; animation-duration: 1.2s; }
@keyframes hwring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.hw-ripples { opacity: 0; }
.hw-drops circle { fill: #c8f4f8; animation: hwdrop .6s ease-out infinite; transform-box: fill-box; }
.hw-drops circle:nth-child(2) { animation-delay: -.2s; }
.hw-drops circle:nth-child(3) { animation-delay: -.35s; }
.hw-drops circle:nth-child(4) { animation-delay: -.5s; }
@keyframes hwdrop { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(0, -9px); opacity: 0; } }
.hw-drops { opacity: 0; }
@media (max-width: 760px) {
  .hw { left: 50%; top: 34%; width: 135vw; translate: -50% -50%; }
}

/* فيلم البئر السطحي: ما في حفر، فمنخفي عدّاد العمق */
.stage[data-dir="assets/frames-s"] .gauge { display: none; }

/* ===== افتتاحية سينمائية غامقة (data-bg="dark") ===== */
.stage[data-bg="dark"] {
  background:
    linear-gradient(180deg, rgba(8, 12, 10, .55) 0%, rgba(8, 12, 10, 0) 30%, rgba(8, 12, 10, 0) 70%, rgba(8, 12, 10, .65) 100%),
    radial-gradient(70% 60% at 70% 50%, rgba(8, 12, 10, 0), rgba(8, 12, 10, .45)),
    #1d1712 url("../img/hero-bg.webp") center / cover no-repeat;
}
.stage[data-bg="dark"] .film, .stage[data-bg="dark"] .film-poster { mix-blend-mode: normal; }
.stage[data-bg="dark"] .lux-glow, .stage[data-bg="dark"] .lux-caustics, .stage[data-bg="dark"] .lux-word, .stage[data-bg="dark"] .lux-rings { display: none; }
/* القطرات بتصير غبار ذهبي طاير بالضو */
.stage[data-bg="dark"] .lux-drops i {
  width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 150, .95), rgba(255, 180, 90, 0) 70%);
}
.stage[data-bg="dark"] .cap { color: #fff; }
.stage[data-bg="dark"] .cap h1, .stage[data-bg="dark"] .cap h2, .stage[data-bg="dark"] .cap-v { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.stage[data-bg="dark"] .cap em { color: #F3C27A; }
.stage[data-bg="dark"] .eyebrow, .stage[data-bg="dark"] .cap-k { color: #F3C27A; }
.stage[data-bg="dark"] .lede, .stage[data-bg="dark"] .cap-s, .stage[data-bg="dark"] .scroll-hint { color: rgba(255, 255, 255, .82); }
.stage[data-bg="dark"] .scroll-hint::after { border-color: rgba(255, 255, 255, .8); background-image: radial-gradient(circle at 50% 30%, #fff 2.5px, transparent 3px); }
.stage[data-bg="dark"] .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.stage[data-bg="dark"] .progress { background: rgba(255, 255, 255, .1); }
/* شريط التنقل فوق الافتتاحية الغامقة */
body.hero-dark .nav:not(.is-solid) .nav-links a { color: rgba(255, 255, 255, .88); }
body.hero-dark .nav:not(.is-solid) .brand-logo { filter: brightness(0) invert(1); }
body.hero-dark .nav:not(.is-solid) .nav-toggle span { background: #fff; }
@media (max-width: 760px) {
  .stage[data-bg="dark"] .cap:not(.cap-hero):not(.cap-final) { background: rgba(20, 16, 12, .55); backdrop-filter: blur(8px); }
}

@media (max-width: 760px) { body.hero-dark .nav:not(.is-solid) .nav-links a { color: var(--ink-2); } }

.stage[data-dir="assets/frames-sc"] .gauge { display: none; }

/* البئر يندمج بضو الغروب: دفا خفيف، ظل عميق، وهالة ذهبية تحته */
.stage[data-bg="dark"] .film { filter: brightness(.9) sepia(.16) saturate(.95) contrast(1.04) drop-shadow(0 28px 36px rgba(0, 0, 0, .55)); }
.stage[data-bg="dark"] .lux-glow {
  display: block; left: 2%; top: 38%; width: 66%; height: 58%;
  background: radial-gradient(closest-side, rgba(255, 186, 104, .32), rgba(255, 186, 104, 0));
  filter: blur(18px); mix-blend-mode: screen;
}

/* =====================================================================
   Ø·Ø¨Ù‚Ø© Ø§Ù„Ù„Ù…Ø³Ø© Ø§Ù„Ù†Ù‡Ø§Ø¦ÙŠØ©: Ù„ÙˆÙ† ÙˆØ§Ø­Ø¯ Ù…ØªÙ†Ø§Ø³Ù‚ØŒ Ø°Ù‡Ø¨ÙŠ Ù‡Ø§Ø¯ÙŠ Ù…Ù† Ø§Ù„Ø§ÙØªØªØ§Ø­ÙŠØ©ØŒ
   Ø­Ø¨ÙŠØ¨Ø§Øª ÙÙŠÙ„Ù… Ø®ÙÙŠÙØ©ØŒ ÙˆØ§Ù†ØªÙ‚Ø§Ù„Ø§Øª Ø³ÙŠÙ†Ù…Ø§Ø¦ÙŠØ©
   ===================================================================== */
:root {
  --gold: #C99A55;
  --gold-2: #EBC68A;
  --gold-soft: rgba(201, 154, 85, .16);
  --night: #15110D;
  --shadow-soft: 0 1px 1px rgba(31, 58, 64, .04), 0 8px 24px -12px rgba(31, 58, 64, .18), 0 30px 60px -30px rgba(1, 113, 133, .25);
}

/* Ø­Ø¨ÙŠØ¨Ø§Øª ÙÙŠÙ„Ù… Ø®ÙÙŠÙØ© ÙÙˆÙ‚ ÙƒÙ„ Ø§Ù„Ù…ÙˆÙ‚Ø¹ */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Ø£Ø²Ø±Ø§Ø± ===== */
.btn {
  background: linear-gradient(180deg, #0a8196, var(--teal) 55%, #01687a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -12px rgba(1, 113, 133, .75);
  letter-spacing: .2px;
}
.btn-ghost { background: transparent; box-shadow: none; }

/* ===== Ø§Ù„Ø§ÙØªØªØ§Ø­ÙŠØ© Ø§Ù„ØºØ§Ù…Ù‚Ø©: Ø°Ù‡Ø¨ÙŠ Ù…ØªÙ†Ø§Ø³Ù‚ ===== */
.stage[data-bg="dark"] .eyebrow::before { background: linear-gradient(90deg, var(--gold-2), var(--gold)); height: 1.5px; width: 34px; }
.stage[data-bg="dark"] .eyebrow, .stage[data-bg="dark"] .cap-k { color: var(--gold-2); letter-spacing: 1px; }
.stage[data-bg="dark"] .cap em {
  color: transparent;
  background: linear-gradient(180deg, #F6DCAA 0%, var(--gold-2) 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.stage[data-bg="dark"] .cap h1, .stage[data-bg="dark"] .cap h2 { letter-spacing: -.5px; }
.stage[data-bg="dark"] .btn {
  color: #1E150B; border-color: transparent;
  background: linear-gradient(180deg, #F3D49E, var(--gold-2) 40%, var(--gold));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 34px -14px rgba(235, 198, 138, .7);
}
.stage[data-bg="dark"] .btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -14px rgba(235, 198, 138, .85); }
.stage[data-bg="dark"] .btn-ghost {
  color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45);
  box-shadow: none; backdrop-filter: blur(6px);
}
.stage[data-bg="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.stage[data-bg="dark"] .progress i { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.stage[data-bg="dark"] .trail-fill { background: linear-gradient(var(--gold-2), var(--teal)); }

/* Ø§Ù†ØªÙ‚Ø§Ù„ Ø³ÙŠÙ†Ù…Ø§Ø¦ÙŠ Ù…Ù† Ø§Ù„Ø§ÙØªØªØ§Ø­ÙŠØ© Ø§Ù„ØºØ§Ù…Ù‚Ø© Ù„Ù„ØµÙØ­Ø© Ø§Ù„ÙØ§ØªØ­Ø© */
.story::after {
  height: 45vh; z-index: 2;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0) 0%, rgba(250, 247, 242, .35) 35%, rgba(250, 247, 242, .85) 72%, var(--bg) 100%);
}

/* ===== Ø±Ø¤ÙˆØ³ Ø§Ù„Ø£Ù‚Ø³Ø§Ù… ===== */
.eyebrow::before { background: linear-gradient(90deg, var(--gold), var(--teal)); height: 1.5px; width: 30px; }
.sec-head h2 { letter-spacing: -.4px; line-height: 1.2; }
.sec-lede { line-height: 1.85; }

/* ===== Ø§Ù„Ø£Ø±Ù‚Ø§Ù…: Ø´Ø±ÙŠØ· Ø£Ù†ÙŠÙ‚ Ø¨ÙÙˆØ§ØµÙ„ Ø±ÙÙŠØ¹Ø© ===== */
.stats { background: linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .7) 30%, rgba(255, 255, 255, .7) 70%, rgba(255, 255, 255, 0)); border: 0; padding: 90px 0; }
.stat { position: relative; padding: 6px 10px; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: -12px; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.stat b { letter-spacing: -1px; background: linear-gradient(180deg, #0b8aa0, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 6px; }

/* ===== ÙƒØ±ÙˆØª Ø§Ù„Ø¢Ø¨Ø§Ø± ===== */
.well-card {
  border: 1px solid rgba(1, 113, 133, .08); border-radius: 26px; padding: 26px 26px 28px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%); box-shadow: var(--shadow-soft);
}
.well-card .wc-img {
  height: 200px; margin: -8px -8px 18px; width: calc(100% + 16px); border-radius: 18px;
  background: radial-gradient(70% 70% at 50% 60%, #eef7f8, #ffffff 75%);
}
.well-featured { border-color: rgba(201, 154, 85, .45); background: linear-gradient(180deg, #fff 0%, #fdfaf4 100%); }
.badge { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #24190c; box-shadow: 0 8px 18px -10px rgba(201, 154, 85, .9); }
.price { letter-spacing: -1px; }
.price span { color: var(--gold); }
.specs li { border-bottom-color: rgba(1, 113, 133, .08); }
.note { background: var(--gold-soft); color: #7a5622; }
.note::before { background: var(--gold); }

/* ===== ØµÙˆØ± Ø§Ù„Ø£Ø·ÙØ§Ù„: Ù„Ù…Ø³Ø© Ø³ÙŠÙ†Ù…Ø§Ø¦ÙŠØ© Ø¯Ø§ÙÙŠØ© ===== */
.m-card { border-radius: 28px; }
.m-card img { filter: saturate(.96) contrast(1.04); }
.m-wide::after { background: linear-gradient(195deg, rgba(20, 14, 8, 0) 35%, rgba(20, 14, 8, .82)); }
.m-wide .eyebrow { color: var(--gold-2); }
.m-wide em { color: transparent; background: linear-gradient(180deg, #F6DCAA, var(--gold-2) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; }
.m-wide .eyebrow::before { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

/* ===== Ù…Ø¹Ø±Ø¶ Ø£Ø±Ø¶ Ø§Ù„ÙˆØ§Ù‚Ø¹ ===== */
.reel-item { border-radius: 24px; }
.reel-item img, .reel-item video { filter: saturate(.94) contrast(1.05) sepia(.06); }
.reel-item figcaption { background: linear-gradient(transparent, rgba(16, 12, 8, .78)); font-family: var(--f-display); font-weight: 600; }
.reel-btn:hover { background: var(--teal); }

/* ===== Ø§Ù„Ù…Ø³Ø§Ø¬Ø¯ ===== */
.section-tint { background: linear-gradient(180deg, rgba(207, 228, 230, 0), #E6F1F2 18%, #E6F1F2 82%, rgba(207, 228, 230, 0)); }
.mosque-card { border-radius: 28px; border: 1px solid rgba(1, 113, 133, .08); box-shadow: var(--shadow-soft); }
.size { border-radius: 16px; }
.size.is-on { background: linear-gradient(180deg, #0a8196, var(--teal)); }

/* ===== ÙƒÙŠÙ Ù†Ø¹Ù…Ù„ ===== */
.steps-line line { stroke: var(--gold); opacity: .55; }
.step.is-in .step-n { background: linear-gradient(180deg, #0a8196, var(--teal)); box-shadow: 0 10px 22px -12px rgba(1, 113, 133, .8); }
.step-n { border-color: rgba(201, 154, 85, .55); }

/* ===== Ø§Ù„Ø­Ø¯ÙŠØ« ===== */
.quote blockquote { text-shadow: none; letter-spacing: -.5px; }
.quote .drop { background: linear-gradient(180deg, var(--gold-2), var(--teal)); }
.quote-src { color: var(--gold); letter-spacing: 1px; }

/* ===== Ø§Ù„Ø£Ø³Ø¦Ù„Ø© ===== */
.faq details { border-radius: 18px; border-color: rgba(1, 113, 133, .08); transition: box-shadow .4s, border-color .4s; }
.faq details[open] { border-color: rgba(201, 154, 85, .4); box-shadow: var(--shadow-soft); }
.faq summary::after { color: var(--gold); font-weight: 300; }

/* ===== Ø§Ù„ØªÙˆØ§ØµÙ„ ===== */
.cta { background: radial-gradient(60% 60% at 85% 20%, rgba(235, 198, 138, .16), transparent 70%), linear-gradient(180deg, transparent, #DCEDEE); }
.order { border-radius: 28px; box-shadow: var(--shadow-soft); border-color: rgba(1, 113, 133, .08); }
.field input, .field select { border-radius: 14px; background: #f7fafa; }
.contact-list a { color: var(--teal); }

/* ===== Ø§Ù„ØªÙ†Ù‚Ù„ ÙˆØ§Ù„ØªØ°ÙŠÙŠÙ„ ===== */
.nav.is-solid { background: rgba(247, 250, 250, .78); box-shadow: 0 1px 0 rgba(1, 113, 133, .08), 0 10px 30px -20px rgba(31, 58, 64, .35); }
.foot { background: linear-gradient(180deg, transparent, rgba(207, 228, 230, .5)); border-top: 1px solid rgba(1, 113, 133, .08); }


.stage[data-dir="assets/frames-sc2"] .gauge { display: none; }

/* التدرّج الذهبي لازم يغطي النقاط تحت الحروف (ي، ب…) فما تنقصّ */
.stage[data-bg="dark"] .cap em, .m-wide em { padding: .08em 0 .32em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ===== إيقاع المسافات: أقسام أقرب لبعض وأرتب ===== */
.section { padding: 96px 0; }
.moment { padding: 72px 0 24px; }
.real { padding: 24px 0 72px; }
.quote { padding: 88px 0; }
.cta { padding: 96px 0; }
.stats { padding: 72px 0; }
.sec-head { margin-bottom: 44px; }
.real-head .sec-head { margin-bottom: 26px; }
.reel-nav { margin-bottom: 30px; }
/* الورقة الكبيرة الثابتة كانت تبيّن لطخة بالنص، بتكفي الأوراق الصغيرة الطايرة */
.env-leaf { display: none; }
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .moment { padding: 56px 0 16px; }
  .real { padding: 16px 0 56px; }
  .quote, .cta { padding: 64px 0; }
}

/* الانتقال للصفحة الفاتحة بيبلّش بس بآخر السكرول، فما بيغطي آخر نص */
.story::after { display: none; }
.stage::after {
  content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0), rgba(250, 247, 242, .7) 55%, var(--bg));
  opacity: var(--fade, 0);
}

@media (max-width: 760px) { .stage[data-bg="dark"] .cap:not(.cap-hero) { background: rgba(20, 16, 12, .58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(235, 198, 138, .18); } }

/* عدّاد العمق على الخلفية الغامقة (فيلم الارتوازي) */
.stage[data-bg="dark"] .gauge { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.stage[data-bg="dark"] .gauge-track { background: rgba(255,255,255,.18); }
.stage[data-bg="dark"] .gauge-track i { background: linear-gradient(180deg, var(--gold-2), var(--gold)); }

.stage[data-dir="assets/frames-surf"] .gauge { display: none; }
.stage[data-dir="assets/frames-surf2"] .gauge { display: none; }

/* ===== خلفية الموقع: ضوء الغروب =====
   أبيض دافئ مع توهّج ذهبي خفيف بأطراف الأقسام، كأن ضو صورة الافتتاحية لسا واصل.
   ألوان الهوية (التركواز والذهبي والأخضر) ما بتتغيّر، بس الخلفيات والأسطح. */
body { --bg: #FAF7F2; --line: rgba(150, 110, 60, .13); background: #FAF7F2; }
.section, .stats, .cta, .quote, .moment, .real {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(235, 198, 138, .22), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(201, 154, 85, .12), transparent 70%),
    #FAF7F2;
}
.section-dark { background: linear-gradient(160deg, #0B4E5A, var(--teal-deep) 50%, #013B46); }
.nav { background: rgba(250, 247, 242, .85); }

/* الفوتر والفورم بنفس الدفء */
.foot { background: linear-gradient(180deg, transparent, rgba(235, 198, 138, .16)); border-top: 1px solid rgba(201, 154, 85, .22); }
.order { background: #FFFDF9; border-color: rgba(201, 154, 85, .2); }
.field input, .field select { background: #FAF6EF; border-color: rgba(150, 110, 60, .16); }
.size { background: rgba(255, 253, 249, .7); }

/* نعومة الافتتاحية: التلوين والظل صاروا جوّا صور الفيلم نفسها، فما في فلتر بيتعاد حسابه على كامل الشاشة مع كل فريم */
.stage[data-bg="dark"] .film { filter: none; mix-blend-mode: normal; }
@media (max-width: 760px) {
  /* ضباب الخلفية تحت العناوين بيتعاد مع كل فريم عالتلفون: خلفية أعتم بدل الضباب */
  .stage[data-bg="dark"] .cap:not(.cap-hero) { background: rgba(20, 16, 12, .74); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.hero-dark .nav:not(.is-solid) { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* بيانات المكاتب بالفوتر: صغيرة وهادية */
.foot-offices {
  list-style: none; margin: 22px auto 0; padding: 16px 0 0; border-top: 1px solid rgba(201, 154, 85, .18);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .8rem; color: var(--ink-2);
}
.foot-offices li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.foot-offices b { color: var(--ink); font-weight: 700; }
.foot-offices a { color: var(--ink-2); text-decoration: none; }
.foot-offices a:hover { color: var(--teal); }
@media (max-width: 760px) { .foot-offices { flex-direction: column; } }
