/* كادوكس — النسخة 4 «النواة» داخل ووردبريس (المهمة 2.3). المصدر: design-system/final/4/page.css كما اعتمده المالك،
   مع: الخطوط المحلية، الشعار من رمز SVG، قائمة الخدمات المنسدلة، قائمة الجوال، ترقيم الخطوات التلقائي، وأجزاء صفحتَي القسم والخدمة (آخر الملف).
   الخطوط محلية (Fontsource، رخصة SIL OFL): وزنان أو ثلاثة لكل عائلة، والمتصفح ينزّل ما تستعمله الصفحة فقط.
   خط النص (Plex 400) optional لا swap (2.3-هـ): مُحمَّل مسبقاً، فإن تأخر في اتصال بطيء تبقى الزيارة الأولى بخط الجهاز بدل أن يتغير
   التفاف الأسطر بعد الرسم فتتحرك الصورة تحته (CLS 0.18 في صفحة الصوتيات على Lighthouse).
   وخط الأرقام Archivo optional كذلك (2.3-ح): «48» في عنوان الطلب المخصص كان يعيد التفاف H1 بعد وصول الخط فيتحرك الزر تحته (CLS 0.27). */
@font-face{font-family:"Readex Pro";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/readex-pro-arabic-500.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Readex Pro";font-style:normal;font-weight:700;font-display:optional;src:url(../fonts/readex-pro-arabic-700.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Plex Arabic";font-style:normal;font-weight:400;font-display:optional;src:url(../fonts/ibm-plex-sans-arabic-400.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Plex Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-500.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Plex Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/ibm-plex-sans-arabic-700.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Archivo";font-style:normal;font-weight:500;font-display:optional;src:url(../fonts/archivo-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:"Archivo";font-style:normal;font-weight:700;font-display:optional;src:url(../fonts/archivo-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --bg: #131210; --bg-2: #0d0c0b; --surface: #1b1917; --line: #3a342d; --ink: #ede7db; --dim: #b9b0a1; --faint: #8a8173;
  --g1: #faa83e; --g2: #fdcf48; --gm: #fbbb43; --on-gold: #1a1507; --gold: linear-gradient(100deg, #fdcf48, #faa83e);
  --f-display: "Readex Pro", system-ui, sans-serif; --f-body: "Plex Arabic", system-ui, sans-serif; --f-num: "Archivo", "Plex Arabic", system-ui, sans-serif; --f-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(16px, 5vw, 80px); --nav-h: 72px; --r: 26px; --ease: cubic-bezier(.2, .8, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.8; overflow-x: clip; -webkit-font-smoothing: antialiased; background: transparent; }
a { color: inherit; text-decoration: none; } ul, ol { list-style: none; padding: 0; } img, video { display: block; max-width: 100%; } em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
.num { font-family: var(--f-num); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; font-family: var(--f-num); }
:focus-visible { outline: 2px solid var(--g2); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--g1); color: var(--on-gold); }
.brand__mark svg, .hero__svg svg, .final__logo svg { display: block; width: 100%; height: auto; }
.gold, .gold .w { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w { display: inline-block; }
.js [data-split] .w { opacity: 0; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 18px; border-radius: 12px; background: var(--g2); color: var(--on-gold); transform: translateY(-160%); transition: transform .3s; }
.skip:focus { transform: none; }
section[id], [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* الطبقات الثابتة: كانفس الجزيئات خلف كل المحتوى (قرار المالك 2026-10-30؛ لا يلتقط المؤشر)، والحبيبات، والمؤشر.
   z-index سالب بلا سياق تراص جديد على main، فصندوق الصور والنوافذ الثابتة داخل main تبقى فوق الهيدر. لذلك خلفية body شفافة والخلفية على html. */
#core { position: fixed; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body:has(.room) #core, body:has(.pf-jr) #core, body:has(.pf-rs) #core { opacity: .3; } /* صفحات الأعمال: خلفية هادئة، النص والصور هما الأساس */
/* 2.3.60: نسخة من الجزيئات فوق الصور الزخرفية وتحت نصها (core.js: mirror). تُوضع على [data-core-over]، وطبقات ذلك العنصر مرتبة حولها. لا تُستعمل على صور الأعمال. */
.core-over { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; } .core-over canvas { position: absolute; top: 0; left: 0; } .strips > .core-over { z-index: 3; }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor { position: fixed; top: 0; left: 0; z-index: 70; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; }
.cursor.is-live { opacity: 1; }
.cursor span { position: absolute; top: 0; left: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid #fdcf4899; display: grid; place-items: center;
  font: 500 13px/1.4 var(--f-display); color: var(--on-gold); transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .35s, border-color .35s; white-space: nowrap; }
.cursor.is-label span { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: #0000; }
.cursor.is-link span { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: #fdcf4814; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } }

/* الهيدر «الحي» (2.3-ح، اعتمده المالك 2026-10-27): شريط بعرض الصفحة شفاف في أعلاها، ومع التمرير يتقلص إلى كبسولة زجاجية عائمة تبقى ظاهرة،
   فيها خيط تقدّم القراءة، ومؤشر ذهبي «أنبوب ضوء» ينزلق تحت الرابط. «الخدمات» قائمة كبيرة بالأقسام السبعة. الجوال: قائمة كاملة الشاشة.
   المراجع (21st.dev): Tubelight Navbar (Ayushmaan Singh)، Resizable Navbar وNavbar Menu (Manu Arora)، Morphing Scroll Navbar (Kiki)،
   Shifting Dropdown (Hurera Sheikh)، Immersive Full Screen Navigation (Hyperiux Vault). الحركة في nav.js. */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none; transition: padding .55s var(--ease-out); }
.nav__bar { pointer-events: auto; position: relative; width: 100%; max-width: 100vw; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--pad); border: 1px solid #0000; border-radius: 0; background: #13121000;
  transition: max-width .7s var(--ease-out), width .7s var(--ease-out), height .55s var(--ease-out), border-radius .7s var(--ease-out), padding .6s var(--ease-out), background .45s, border-color .45s, box-shadow .6s; }
.nav.is-stuck { padding-block-start: 12px; }
.nav.is-stuck .nav__bar { max-width: 1180px; width: calc(100% - 32px); height: 62px; border-radius: 999px; padding: 0 10px 0 10px; padding-inline-start: 18px;
  background: #151311e3; border-color: #ffffff17; box-shadow: 0 24px 60px -24px #000d, inset 0 1px 0 #ffffff14; -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; } .brand__mark { width: 48px; transition: width .55s var(--ease-out); }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.4; transition: font-size .55s var(--ease-out); }
.nav.is-stuck .brand__mark { width: 40px; } .nav.is-stuck .brand__name { font-size: 18px; }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: #1b1917a6; border: 1px solid #ffffff12; transition: background .45s, border-color .45s; }
.nav.is-stuck .nav__links { background: #0000; border-color: #0000; }
.nav__link { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; line-height: 1.75; color: var(--dim); transition: color .3s; white-space: nowrap; }
.nav__link.is-on, .nav__link.is-lit { color: var(--ink); }
.nav__item { display: flex; align-items: center; }
.nav__item .nav__link { padding-inline-end: 0; }
.nav__chev { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; color: var(--dim); border-radius: 999px; margin-inline-end: 4px; -webkit-tap-highlight-color: transparent; }
.nav__chev svg { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.nav.mega-open .nav__chev svg { transform: rotate(180deg); }
.nav.mega-open .nav__chev, .nav.mega-open .nav__item .nav__link { color: var(--ink); }
.nav__lamp { position: absolute; z-index: 0; inset-block: 5px; left: 0; width: 0; border-radius: 999px; background: #ffffff0e; opacity: 0; transition: transform .5s cubic-bezier(.34, 1.36, .64, 1), width .5s cubic-bezier(.34, 1.36, .64, 1), opacity .3s; }
.nav__lamp::before { content: ""; position: absolute; inset-block-start: -5px; inset-inline: 22%; height: 3px; border-radius: 0 0 6px 6px; background: var(--gold); box-shadow: 0 0 12px #fdcf48, 0 0 26px 4px #faa83e66; }
.nav__lamp::after { content: ""; position: absolute; inset-block-start: -4px; inset-inline: 10%; height: 22px; border-radius: 50%; background: radial-gradient(50% 100% at 50% 0, #fdcf4840, #0000); filter: blur(4px); }
.nav__lamp.is-on { opacity: 1; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__phone { font-size: 15px; color: var(--dim); padding: 10px 4px; }
.nav__wa, .nav__burger { display: none; }
.nav__progress { position: absolute; inset-block-end: -1px; inset-inline: 28px; height: 1.5px; border-radius: 2px; background: var(--gold); transform-origin: right; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.nav.is-stuck .nav__progress { opacity: .85; }
@media (hover: hover) and (pointer: fine) { .nav__link:hover, .nav__chev:hover, .nav__phone:hover { color: var(--ink); } }

/* القائمة الكبيرة: الأقسام برموزها وعدد خدماتها، ومعاينة القسم تحت المؤشر */
.mega { position: absolute; inset-block-start: calc(100% + 10px); left: 50%; translate: -50% 0; width: min(1100px, calc(100vw - 32px)); pointer-events: auto;
  border-radius: 28px; background: radial-gradient(60% 80% at 100% 0, #faa83e14, #0000 60%), #161412; border: 1px solid #ffffff17; box-shadow: 0 40px 90px -30px #000, inset 0 1px 0 #ffffff10;
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: 50% 0; clip-path: inset(0 0 100% 0 round 28px);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), clip-path .55s var(--ease-out), visibility 0s .55s; }
.nav.is-stuck .mega { inset-block-start: calc(100% + 12px); }
.nav.mega-open .mega, html:not(.has-mega-js) .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0 round 28px); transition: opacity .3s var(--ease-out), transform .5s var(--ease-out), clip-path .6s var(--ease-out), visibility 0s; }
@media (hover: hover) and (pointer: fine) { html:not(.has-mega-js) .nav__item:hover .mega { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0 round 28px); } }
.mega::before { content: ""; position: absolute; inset-block-start: -14px; inset-inline: 0; height: 14px; }
.mega__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 10px; padding: 10px; }
.mega__list { position: relative; display: grid; gap: 2px; padding: 4px; }
.mega__list::before { content: ""; position: absolute; inset-inline: 4px; inset-block-start: 0; height: var(--h, 0); transform: translateY(var(--y, 0)); border-radius: 18px; background: linear-gradient(270deg, #fdcf4814, #fdcf4806); border: 1px solid #fdcf4830; transition: transform .45s cubic-bezier(.34, 1.36, .64, 1), height .45s cubic-bezier(.34, 1.36, .64, 1); }
.mtile { position: relative; z-index: 1; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 8px 12px; border-radius: 18px; }
.mtile__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--g2); background: #fdcf480c; border: 1px solid #fdcf4826; transition: background .3s, color .3s, transform .45s cubic-bezier(.34, 1.36, .64, 1); }
.mtile__ico svg { width: 22px; height: 22px; }
.mtile__txt { min-width: 0; }
.mtile__t { display: block; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.5; color: var(--ink); }
.mtile__d { display: block; font-size: 13px; line-height: 1.7; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile__n { font-size: 12.5px; line-height: 1.7; color: var(--faint); padding: 1px 9px; border-radius: 999px; border: 1px solid #ffffff14; }
.mtile.is-lit .mtile__ico { background: var(--gold); color: var(--on-gold); transform: rotate(-6deg) scale(1.04); }
.mtile.is-lit .mtile__n { color: var(--g2); border-color: #fdcf4840; }
.mega__peek { position: relative; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid #ffffff10; display: grid; isolation: isolate; min-height: 420px; }
.peek { grid-area: 1 / 1; display: grid; grid-template-rows: 190px auto 1fr auto; opacity: 0; visibility: hidden; transform: translateX(-14px); transition: opacity .3s, transform .45s var(--ease-out), visibility 0s .3s; }
.peek.is-on { opacity: 1; visibility: inherit; transform: none; transition: opacity .35s .05s, transform .5s .05s var(--ease-out), visibility 0s; }
.peek__img { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 80% 0, #faa83e22, #0000 60%), #201d19; }
.peek__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.74) saturate(1.05); transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.peek.is-on .peek__img img { transform: none; }
.peek__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 2%, #1b191700 60%); }
.peek__head { padding: 0 20px; margin-block-start: -34px; position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.peek__head b { font-family: var(--f-display); font-size: 20px; line-height: 1.45; }
.peek__head a { font-size: 13.5px; line-height: 1.7; color: var(--g2); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-block: 2px; }
.peek__head a .ico { width: 16px; height: 16px; }
.peek__svcs { padding: 6px 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 6px; align-content: start; }
.peek__svcs a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 8px; border-radius: 10px; font-size: 13.5px; line-height: 1.7; color: var(--dim); }
.peek__svcs a::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: #fdcf4888; }
.peek__mgr { margin: 8px 12px 12px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: #ffffff06; font-size: 13px; line-height: 1.7; color: var(--faint); }
.peek__mgr b { color: var(--ink); font-weight: 500; }
.peek__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px #4ade8022; flex: none; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 10px 10px; padding: 12px 18px; border-radius: 18px; background: linear-gradient(270deg, #fdcf480f, #0000 70%), #1b1917; border: 1px solid #ffffff0d; }
.mega__foot p { font-size: 14px; color: var(--dim); line-height: 1.7; } .mega__foot p b { color: var(--ink); font-weight: 500; }
.mega__acts { display: flex; gap: 8px; }
.mega__acts a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; border: 1px solid #ffffff1f; white-space: nowrap; color: var(--ink); }
.mega__acts a.is-gold { background: var(--gold); color: var(--on-gold); font-weight: 700; border-color: #0000; }
.mega__acts a .ico { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .peek__svcs a:hover { background: #ffffff08; color: var(--ink); } .mega__acts a:not(.is-gold):hover { border-color: var(--g2); } }

/* شريط التقدم الجانبي */
.rail { position: fixed; z-index: 30; inset-inline-end: 22px; inset-block-start: 50%; transform: translateY(-50%); display: grid; gap: 0; }
.rail a { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; flex-direction: row-reverse; font-size: 13px; line-height: 1.7; color: var(--faint); }
.rail i { width: 18px; height: 2px; border-radius: 2px; background: #ffffff30; transition: width .4s var(--ease-out), background .4s; }
.rail span { opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.rail a.is-on span { opacity: 1; transform: none; } @media (hover: hover) { .rail:hover span { opacity: 1; transform: none; } }
.rail a.is-on { color: var(--g2); } .rail a.is-on i { width: 34px; background: var(--gold); }

/* الأزرار */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 999px; overflow: hidden; isolation: isolate; max-width: 100%;
  font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.4; text-align: center; transition: box-shadow .35s, border-color .35s, background .35s; will-change: transform; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.btn--xl { min-height: 70px; padding: 0 40px; font-size: 18px; }
.btn--gold { background: var(--gold); color: var(--on-gold); font-weight: 700; box-shadow: 0 14px 44px -14px #faa83ecc, inset 0 1px 0 #fff8; }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, #0000 35%, #fff9 50%, #0000 65%) no-repeat; background-size: 250% 100%; background-position: 160% 0; animation: shimmer 3.6s var(--ease) infinite; }
@media (hover: hover) { .btn--gold:hover { box-shadow: 0 20px 60px -12px #fdcf48dd, inset 0 1px 0 #fff8; } }
@keyframes shimmer { 0%, 55% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
.btn--ghost { border: 1px solid #ffffff2e; background: #ffffff08; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } @media (hover: hover) { .btn--ghost:hover { border-color: var(--g2); background: #fdcf4812; } }
.ico { width: 22px; height: 22px; flex: none; }
.arrow { display: inline-block; transition: transform .3s; } @media (hover: hover) { a:hover > .arrow, .strip:hover .arrow { transform: translateX(-6px); } }

/* عناوين الأقسام */
.sec { position: relative; padding: clamp(84px, 14vh, 160px) var(--pad); }
.sec-head { max-width: 920px; margin-block-end: clamp(28px, 6vh, 60px); position: relative; z-index: 2; }
.sec-head--c { margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.sec-head--row .sub { max-width: 30em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.75; color: var(--g2); padding: 5px 16px; border-radius: 999px; border: 1px solid #fdcf4838; background: #fdcf480f; margin-block-end: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 10px var(--g2); }
h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.38; text-wrap: balance; }
h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.45; }
.sub { margin-block-start: 14px; color: var(--dim); max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.8; }

/* 1. الهيرو */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--nav-h) + 8px) var(--pad) 26px; overflow: clip; isolation: isolate;
  background: radial-gradient(44% 38% at 50% 50%, #7a480c55, #0000 72%), radial-gradient(70% 50% at 50% 115%, #3a2106aa, #0000 70%), conic-gradient(from 200deg at 50% 50%, #0000, #fdcf4808, #0000 30%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: linear-gradient(#ffffff06 1px, #0000 1px) 0 0 / 100% 64px, linear-gradient(90deg, #ffffff06 1px, #0000 1px) 0 0 / 64px 100%;
  -webkit-mask: radial-gradient(60% 55% at 50% 50%, #000, #0000); mask: radial-gradient(60% 55% at 50% 50%, #000, #0000); }
.hud { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 8px 14px; font-size: 12px; line-height: 1.7; color: var(--faint); border-block-end: 1px solid #ffffff0d; }
.hud__live { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); }
.hud__live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 #4ade8080; animation: ping 2s infinite; }
.hud__live.is-off i { background: var(--g1); box-shadow: none; animation: none; }
.hud b { font-weight: 400; color: var(--ink); }
@keyframes ping { 70% { box-shadow: 0 0 0 9px #4ade8000; } 100% { box-shadow: 0 0 0 0 #4ade8000; } }
.kicker { margin-block-start: clamp(14px, 3vh, 30px); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.75; color: var(--dim); padding: 6px 16px; border: 1px solid #fdcf4833; border-radius: 999px; background: #fdcf480a; animation: rise .9s var(--ease-out) both; }
.hero__title { width: 100%; display: flex; flex-direction: column; align-items: center; flex: 1; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 5.3vw, 92px); line-height: 1.35; margin-block: 10px; }
.ln { display: block; max-width: 100%; }
.ln > span { display: inline-block; max-width: 100%; text-wrap: balance; animation: rise 1.1s var(--ease-out) .08s both; }
.ln--2 > span { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; animation-delay: .22s; }
/* بلا شفافية: العنوان يُرسم من أول إطار فيُحسب LCP فوراً، والحركة تنقية من الضباب وارتفاع خفيف */
@keyframes rise { from { transform: translateY(22px); filter: blur(12px); } }
.pill { display: inline-block; vertical-align: middle; width: 1.8em; height: .92em; border-radius: 999px; overflow: hidden; margin-inline: .06em; transform: translateY(-.05em); box-shadow: 0 0 0 2px #fdcf4866, 0 14px 30px -10px #000;
  transition: width .7s var(--ease-out); animation: pill 1.2s var(--ease-out) .7s both; }
.pill img, .pill video { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .pill:hover { width: 2.9em; } }
@keyframes pill { from { width: 0; box-shadow: 0 0 0 0 #fdcf4800; } }
.hero__stage { position: relative; display: block; width: min(620px, 82vw); height: clamp(150px, 27vh, 330px); margin-block: clamp(4px, 1.4vh, 14px); }
.hero__svg { position: absolute; inset: 10% 14%; display: grid; place-items: center; opacity: .95; transition: opacity 1.2s ease, transform 1.6s var(--ease-out), filter 1.2s; filter: drop-shadow(0 0 40px #faa83e55); }
.hero__svg svg { width: 100%; height: 100%; }
.gl-on .hero__svg { opacity: 0; transform: scale(1.08); filter: blur(8px) drop-shadow(0 0 40px #faa83e55); }
.hero__foot { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 48px; padding-block-start: 18px; animation: rise 1s var(--ease-out) .45s both; }
.hero__lead { max-width: 33em; text-align: start; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.8; color: #d3cbbd; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cue { position: absolute; inset-block-end: 14px; inset-inline-start: 50%; translate: 50% 0; width: 1px; height: 42px; background: linear-gradient(#fdcf4800, #fdcf48); overflow: hidden; }
.cue i { position: absolute; inset-inline: 0; height: 40%; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* 2. الشريط المائل */
.film { position: relative; z-index: 2; overflow: clip; padding-block: clamp(24px, 6vh, 60px); }
.film__in { display: grid; gap: 12px; direction: ltr; transform: translateY(var(--ty, 0%)) rotate(var(--rot, -3deg)) scale(1.08) skewX(var(--skew, 0deg)); }
.film__row { display: flex; gap: 12px; width: max-content; }
.js .film__row { animation: film 80s linear infinite; }
.film__row--rev { animation-direction: reverse; }
.film img { width: clamp(220px, 26vw, 420px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; filter: saturate(.85); }
@keyframes film { to { transform: translateX(-50%); } }

/* 3. الأقسام: كروت طولية تتمدد، والرمز المضيء فوق صورة القسم المفتوح */
.depts { position: relative; z-index: 2; padding-inline: var(--pad); }
.depts__pin { min-height: 100svh; display: flex; flex-direction: column; padding-block: calc(var(--nav-h) + 22px) 32px; }
.depts .sec-head { margin-block-end: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 40px; max-width: none; }
.depts .eyebrow { grid-column: 1 / -1; justify-self: start; margin-block-end: 6px; }
.depts h2 { font-size: clamp(28px, 3.6vw, 56px); }
.depts .sub { margin: 0; max-width: 26em; }
.strips { position: relative; isolation: isolate; flex: 1; display: flex; gap: 10px; min-height: 400px; max-height: 660px; }
.strip { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--surface); transition: flex-grow .9s var(--ease-out); }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: saturate(.85) brightness(.68); transform: scale(1.12); transition: filter .9s, transform 1.4s var(--ease-out); }
.strip::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, #131210f0 6%, #13121070 48%, #13121030 100%); transition: background .8s; }
.strip::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a), #0000 0 70%, #faa83e 82%, #fff3c4 88%, #fdcf48 92%, #0000 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 5s linear infinite; opacity: 0; transition: opacity .6s; }
.strip.is-on::before { opacity: 1; }
@keyframes beam { to { --a: 360deg; } }
.strip__stage { position: absolute; z-index: 3; inset-inline: 12%; inset-block-start: 7%; height: 44%; pointer-events: none; }
.strip__in { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 22px; z-index: 5; }
.strip__no { font-size: 14px; color: var(--g2); }
.strip h3 { font-size: clamp(18px, 1.4vw, 22px); writing-mode: vertical-rl; white-space: nowrap; margin-block-start: 8px; transition: font-size .6s var(--ease-out); }
.strip h3 a::after { content: ""; position: absolute; inset: 0; z-index: 5; }
.strip p, .strip .more { opacity: 0; max-height: 0; overflow: hidden; transition: opacity .4s; }
.strip .more { color: var(--g2); font-size: 15px; display: inline-flex; gap: 8px; }
.strip.is-on { flex-grow: 5.2; }
.strip.is-on img { filter: saturate(1.08) brightness(.92); transform: none; }
.strip.is-on::after { background: linear-gradient(0deg, #131210f5 6%, #131210b0 30%, #13121010 62%, #13121000 100%); }
.strip.is-on h3 { writing-mode: horizontal-tb; white-space: normal; font-size: clamp(24px, 2.3vw, 38px); }
.strip.is-on p { opacity: 1; max-height: 12em; margin-block-start: 6px; color: #e4dccd; max-width: 32em; transition-delay: .3s; }
.strip.is-on .more { opacity: 1; max-height: 3em; margin-block-start: 10px; transition-delay: .35s; }
.no-gl .strip.is-on .strip__stage { background: center / contain no-repeat; }
.custom { margin-block-start: 18px; padding: 14px 24px; border: 1px dashed #fdcf4844; border-radius: 20px; color: var(--dim); font-size: 15.5px; line-height: 1.8; align-self: flex-start; max-width: 100%; }
.custom a { color: var(--g2); white-space: nowrap; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }

/* 4. شريط النص الضخم */
.velo { position: relative; z-index: 2; overflow: clip; padding-block: clamp(30px, 8vh, 90px); border-block: 1px solid #ffffff0b; }
.velo__in { transform: skewX(var(--skew, 0deg)); }
.velo__row { display: flex; gap: .5em; width: max-content; font-family: var(--f-display); font-weight: 700; font-size: clamp(46px, 8.6vw, 150px); line-height: 1.35; white-space: nowrap; color: #ede7db14; }
.js .velo__row { animation: velo 60s linear infinite; }
.js .velo__row--rev { animation-direction: reverse; animation-duration: 70s; }
.velo__row .o { background: linear-gradient(100deg, #fdcf4855, #faa83e30); -webkit-background-clip: text; background-clip: text; color: transparent; }
.velo__row span::after { content: "✦"; display: inline-block; font-size: .3em; vertical-align: middle; margin-inline-start: .5em; color: var(--g1); -webkit-text-fill-color: var(--g1); }
@keyframes velo { to { transform: translateX(50%); } }

/* 5. الأعمال */
.work { z-index: 2; }
.works { border-block-start: 1px solid #ffffff17; counter-reset: wk; }
.wk a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 70px; align-items: center; gap: 12px 28px; padding: clamp(18px, 2.6vh, 30px) 6px; border-block-end: 1px solid #ffffff17; overflow: hidden; isolation: isolate; }
.wk a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fdcf4800, #fdcf4814); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out); }
.wk a:focus-visible::before { transform: none; } @media (hover: hover) { .wk a:hover::before { transform: none; } }
.wk__no { font-size: 14px; color: var(--faint); }
.wk__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3.3vw, 52px); line-height: 1.4; transition: transform .6s var(--ease-out), color .4s; }
@media (hover: hover) { .wk a:hover .wk__title { transform: translateX(-14px); color: var(--g2); } }
.wk__tag { font-size: 14px; line-height: 1.7; padding: 5px 14px; border-radius: 999px; border: 1px solid #ffffff22; color: var(--dim); white-space: nowrap; }
.wk__yr { font-size: 15px; color: var(--faint); text-align: end; }
.wk__thumb { display: none; }
.float { position: fixed; top: 0; left: 0; z-index: 9; width: clamp(260px, 26vw, 400px); aspect-ratio: 16 / 10; pointer-events: none; border-radius: 20px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #fdcf4840; transition: opacity .35s; }
.float img { width: 100%; height: 100%; object-fit: contain; background: #0d0c0b; }
.float.is-on { opacity: 1; }

/* 6. الفريق */
.team { z-index: 2; }
.roster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "list stage"; gap: clamp(24px, 5vw, 90px); align-items: start; }
.roster__stage { grid-area: stage; position: sticky; inset-block-start: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 60px); width: 100%; margin-inline-start: auto; border-radius: 30px; overflow: hidden; background: var(--surface); isolation: isolate; box-shadow: 0 0 0 1px #ffffff12, 0 50px 100px -40px #000; }
.face { position: absolute; inset: 0; clip-path: circle(0% at var(--cx, 50%) var(--cy, 40%)); transition: clip-path 1s var(--ease-out); }
.face.is-on { clip-path: circle(142% at var(--cx, 50%) var(--cy, 40%)); }
.face img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.face.is-on img { transform: none; }
.face figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 70px 26px 22px; background: linear-gradient(0deg, #131210f0, #13121000); display: grid; }
.face figcaption b { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.45; }
.face figcaption span { color: var(--g2); font-size: 15px; line-height: 1.7; }
.soon { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; background: radial-gradient(circle at 50% 42%, #fdcf4826 0 1.2px, #0000 1.6px) 0 0 / 14px 14px, radial-gradient(60% 50% at 50% 40%, #6b3f0a66, #131210 72%); }
.soon__ini { font-family: var(--f-display); font-weight: 700; font-size: clamp(120px, 16vw, 240px); line-height: 1.4; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px #faa83e66); }
.soon__note { font-size: 14px; line-height: 1.7; color: var(--dim); padding: 4px 14px; border: 1px dashed #fdcf4855; border-radius: 999px; margin-block-end: 80px; }
.roster__scan { position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; z-index: 3; background: linear-gradient(90deg, #0000, var(--g2), #0000); box-shadow: 0 0 24px 4px #fdcf4866; opacity: 0; }
.roster__scan.is-run { animation: scan 1s var(--ease-out); }
@keyframes scan { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(min(80vh, 760px)); } }
.roster__list { grid-area: list; display: grid; }
.who { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name dept" "role dept" "q q"; align-items: center; gap: 0 16px; padding: 18px 20px; border-block-end: 1px solid #ffffff12; transition: background .4s, padding .5s var(--ease-out); border-radius: 0; }
.who::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 14px; width: 3px; border-radius: 3px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease-out); }
@media (hover: hover) { .who:hover { background: #ffffff06; } }
.who.is-on { background: linear-gradient(90deg, #fdcf4800, #fdcf4812); padding-inline-start: 30px; }
.who.is-on::before { transform: none; }
.who b { grid-area: name; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.7; transition: color .3s; }
.who.is-on b { color: var(--g2); }
.who__role { grid-area: role; color: var(--dim); font-size: 15px; line-height: 1.7; }
.who__dept { grid-area: dept; font-size: 13px; line-height: 1.7; color: var(--faint); padding: 3px 12px; border-radius: 999px; border: 1px solid #ffffff1a; white-space: nowrap; }
.who__q { grid-area: q; font-size: 14px; line-height: 1.7; color: var(--faint); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .4s, margin .4s; }
.who.is-on .who__q:not(:empty) { max-height: 4em; opacity: 1; margin-block-start: 6px; }

/* 7. البطاقات المتراكمة */
.flow { z-index: 2; }
.scard { position: sticky; inset-block-start: calc(var(--nav-h) + 20px + var(--i, 0) * 20px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: min(62svh, 560px); border-radius: 32px; overflow: hidden; background: #1b1917; border: 1px solid #ffffff14; border-block-start-color: #fdcf4833; box-shadow: 0 -16px 40px -26px #0009; margin-block-end: 28px; transform-origin: 50% 0; }
.scard:nth-child(2) { --i: 1; } .scard:nth-child(3) { --i: 2; } .scard:nth-child(4) { --i: 3; } .scard:nth-child(5) { --i: 4; } .scard:nth-child(6) { --i: 5; }
.scard__text { padding: clamp(24px, 4vw, 60px); display: grid; align-content: center; justify-items: start; gap: 12px; }
.scard__no { font-size: clamp(64px, 8vw, 130px); font-weight: 700; line-height: 1.35; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scard h3 { font-size: clamp(24px, 2.6vw, 42px); line-height: 1.4; }
.scard p { color: var(--dim); max-width: 28em; } .scard .btn { margin-block-start: 10px; }
.scard__media { position: relative; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.ui { position: absolute; inset-inline-end: 22px; inset-block-end: 22px; width: min(78%, 340px); padding: 14px; border-radius: 20px; background: #131210cc; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid #ffffff1c; box-shadow: 0 30px 60px -20px #000; font-size: 13.5px; line-height: 1.7; display: grid; gap: 8px; }
.bub { padding: 8px 12px; border-radius: 14px; background: #1e1c19; border: 1px solid #ffffff10; justify-self: end; max-width: 92%; }
.bub--me { background: #1f3a2c; border-color: #0000; justify-self: start; }
.ui--doc { grid-template-columns: auto 1fr; align-items: center; gap: 14px; border-color: #fdcf4855; }
.ui--doc b, .ui--track b { font-family: var(--f-display); font-weight: 500; display: block; font-size: 15px; } .ui--doc span, .ui--track span { color: var(--dim); font-size: 12.5px; }
.ui__file { width: 40px; height: 50px; border-radius: 6px; background: var(--gold); clip-path: polygon(0 0, 68% 0, 100% 24%, 100% 100%, 0 100%); }
.ui__bar { height: 6px; border-radius: 6px; background: #ffffff14; overflow: hidden; } .ui__bar i { display: block; height: 100%; width: 78%; background: var(--gold); border-radius: 6px; }

/* 8. الأرقام حول الخريطة */
.reach { z-index: 2; text-align: center; background: radial-gradient(50% 40% at 50% 58%, #6b3f0a40, #0000 72%); }
.reach__grid { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(150px, 220px); grid-template-areas: "a map b"; align-items: center; min-height: min(62svh, 600px); gap: 20px; }
.reach__stage { grid-area: map; height: min(56svh, 540px); }
.stats { display: flex; flex-direction: column; justify-content: space-around; gap: clamp(18px, 4vh, 44px); align-self: stretch; padding-block: 6%; }
.stats--a { grid-area: a; } .stats--b { grid-area: b; }
.stat { display: grid; justify-items: center; gap: 2px; position: relative; z-index: 9; }
.stat b { font-size: clamp(44px, 5.4vw, 92px); font-weight: 700; line-height: 1.4; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--dim); font-size: 15.5px; line-height: 1.7; }
.stat--since b { white-space: nowrap; font-size: clamp(32px, 3.9vw, 64px); }
.reach--row .stat--since b { font-size: clamp(32px, 3.4vw, 56px); }
.stat--since b span { font: inherit; color: inherit; }
.markets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: 26px; position: relative; z-index: 9; }
.markets li { font-size: 14px; line-height: 1.7; padding: 6px 18px; border: 1px solid #fdcf4830; border-radius: 999px; background: #131210cc; }
.markets li:nth-child(-n+2) { border-color: #fdcf4888; color: var(--g2); }
.cities { position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: 0; transition: opacity .6s; }
.cities.is-on { opacity: 1; }
.cities span { position: absolute; top: 0; left: 0; font: 500 12.5px/1.5 var(--f-display); color: #ede7dbcc; padding: 2px 9px; border-radius: 999px; background: #131210c4; border: 1px solid #ffffff1a; white-space: nowrap; will-change: transform; }
.cities .c--main { color: var(--on-gold); background: var(--gold); border-color: #0000; font-weight: 700; }

/* 9. الأسئلة الشائعة */
.faq { z-index: 2; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; inset-block-start: calc(var(--nav-h) + 30px); }
.qas { border-block-start: 1px solid #ffffff17; }
.qa { border-block-end: 1px solid #ffffff17; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding-block: 18px; font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.55; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .qa summary:hover { color: var(--g2); } }
.qa summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid #ffffff26; transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 50%; width: 12px; height: 1.5px; margin: -.75px -6px 0 0; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease-out); }
.qa[open] summary i { background: var(--gold); border-color: #0000; color: var(--on-gold); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding-block-end: 22px; color: var(--dim); max-width: 40em; }

/* 10. الختام */
.final { z-index: 2; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; background: radial-gradient(50% 42% at 50% 30%, #6b3f0a55, #0000 72%); }
.final__stage { width: min(760px, 90vw); height: clamp(170px, 32vh, 360px); margin-block-end: clamp(10px, 4vh, 40px); }
.final h2 { font-size: clamp(32px, 5vw, 80px); max-width: 15em; }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 30px; }
.final__hours { margin-block-start: 22px; font-size: 14px; line-height: 1.8; color: var(--faint); }

/* التذييل */
.footer { position: relative; z-index: 2; padding: clamp(60px, 10vh, 110px) var(--pad) 28px; border-block-start: 1px solid #ffffff10; background: var(--bg-2); overflow: clip; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .85fr .85fr .85fr 1.25fr; gap: 30px; }
@media (max-width: 1250px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
.footer__brand p { color: var(--dim); margin-block-start: 14px; max-width: 22em; }
.footer__h { font-weight: 500; font-size: 15px; color: var(--g2); margin-block-end: 12px; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--dim); font-size: 15px; line-height: 1.7; } @media (hover: hover) { .footer li a:hover { color: var(--ink); } }
.footer small { display: block; color: var(--faint); font-size: 13px; line-height: 1.7; }
.footer__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 17vw, 300px); line-height: 1.35; text-align: center; margin-block: 40px -0.25em; background: linear-gradient(#fdcf4826, #0000 80%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.7; color: var(--faint); border-block-start: 1px solid #ffffff10; padding-block-start: 18px; position: relative; }

/* زر التواصل العائم: واتساب ظاهر، و«+» يفتح الاتصال والبريد */
.dock { position: fixed; z-index: 50; inset-block-end: 20px; inset-inline-end: 20px; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; transition: transform .5s var(--ease-out), opacity .4s; }
.js .dock.is-away { transform: translateY(140%); opacity: 0; }
.dock__wa { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px #25d366aa; }
.dock__wa svg { width: 30px; height: 30px; }
.dock__more { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff26; background: #1b1917e6; color: var(--ink); display: grid; place-items: center; font-size: 22px; line-height: 1.4; text-align: center; backdrop-filter: blur(10px); transition: transform .3s; }
.dock.is-open .dock__more { transform: rotate(45deg); }
.dock__alt { display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.dock.is-open .dock__alt { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.dock__alt a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1b1917f0; border: 1px solid #ffffff1f; color: var(--g2); }
.dock__alt svg { width: 20px; height: 20px; }

/* الجوال واللوحي */
@media (max-width: 1100px) { .rail { display: none; } }
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .hud > span:first-child, .hud > span:last-child { display: none; }
  .hud { justify-content: center; }
  .hero__title { font-size: clamp(30px, 8.4vw, 46px); line-height: 1.38; }
  .hero__stage { width: 88vw; height: clamp(130px, 22svh, 210px); }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__lead { text-align: center; margin-inline: auto; }
  .hero__cta { justify-content: center; } .hero__cta .btn { width: 100%; }
  .cue { display: none; }
  .depts__pin { min-height: 0; padding-block: clamp(70px, 10vh, 110px) 20px; }
  .depts .sec-head { grid-template-columns: minmax(0, 1fr); }
  .strips { flex-direction: column; max-height: none; min-height: 0; }
  /* الجوال: كل الكروت بارتفاع ثابت ونصها ظاهر، فلا تتحرك الصفحة أثناء التمرير؛ المفتوح يأخذ الرمز والإطار المضيء */
  .strip { flex: none; min-height: 340px; }
  .strip img { filter: saturate(1.05) brightness(.8); transform: none; }
  .strip h3, .strip.is-on h3 { writing-mode: horizontal-tb; white-space: normal; font-size: 22px; }
  .strip p, .strip .more { opacity: 1; max-height: 12em; margin-block-start: 6px; }
  .strip p { color: #e4dccd; font-size: 15px; line-height: 1.75; }
  .strip__stage { inset-block-start: 5%; height: 42%; inset-inline: 18%; }
  .strip__in { padding: 18px; }
  .custom { align-self: stretch; }
  .wk a { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb meta"; gap: 4px 16px; padding-block: 16px; }
  .wk__thumb { display: block; grid-area: thumb; grid-row: 1 / span 3; width: 92px; height: 92px; object-fit: contain; background: #0d0c0b; border-radius: 16px; }
  .wk__no { display: none; }
  .wk__title { grid-area: title; font-size: 20px; }
  .wk__tag { justify-self: start; font-size: 12.5px; padding: 2px 10px; }
  .wk__yr { display: none; }
  .float { display: none; }
  .roster { grid-template-columns: 1fr; grid-template-areas: "stage" "list"; }
  .roster__stage { position: relative; inset-block-start: 0; max-height: none; aspect-ratio: 4 / 4.4; }
  .roster__list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 4px 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .roster__list li { flex: 0 0 auto; scroll-snap-align: start; }
  .who { width: 220px; height: 100%; grid-template-areas: "dept" "name" "role"; grid-template-columns: 1fr; align-content: start; border: 1px solid #ffffff14; border-radius: 20px; padding: 14px 16px; gap: 4px; }
  .who.is-on { padding-inline-start: 16px; border-color: #fdcf4866; }
  .who::before { display: none; }
  .who__dept { justify-self: start; }
  .who b { font-size: 18px; } .who__q { display: none; }
  .scard { grid-template-columns: 1fr; min-height: 0; inset-block-start: calc(var(--nav-h) + 12px + var(--i, 0) * 12px); }
  .scard__media { order: -1; height: 220px; } .scard__media img { min-height: 0; }
  .ui { inset-inline-end: 12px; inset-block-end: 12px; width: min(86%, 300px); font-size: 12.5px; padding: 10px; }
  .scard .btn { width: 100%; }
  .reach__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "map map" "a b"; min-height: 0; gap: 18px 12px; }
  .reach__stage { height: 34svh; min-height: 220px; }
  .stats { padding: 0; gap: 18px; justify-content: flex-start; }
  .stat b { font-size: 44px; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .final { min-height: 0; padding-block: 70px 90px; }
  .final__cta .btn { width: 100%; }
  .btn--xl { min-height: 62px; padding: 0 24px; font-size: 17px; }
  .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; }
  .cities span { font-size: 11px; }
  .cities span:not(.c--main):not([data-city="baghdad"]):not([data-city="casablanca"]):not([data-city="khartoum"]) { display: none; }
}
@media (max-width: 900px) {
  /* الجوال: أول رسم أخف (بلا طبقة حبيبات وبلا ضباب على العنوان) */
  .grain { display: none; }
  .ln > span, .kicker, .hero__foot, .phero__title { animation-name: rise-m; }
}
@keyframes rise-m { from { transform: translateY(16px); } }
/* الجوال: الكبسولات تظهر بالتكبير لا بالعرض، فلا يتغير التفاف العنوان أثناء الحركة (CLS) */
@media (max-width: 900px) { .pill { animation-name: pill-m; } @media (hover: hover) { .pill:hover { width: 1.8em; } } }
@keyframes pill-m { from { transform: translateY(-.05em) scale(.85); opacity: 0; } }
@media (max-width: 420px) { .btn { padding: 0 20px; } .footer__grid { gap: 22px 16px; } .footer__grid > div:last-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-split] .w { opacity: 1; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .ln > span, .pill, .kicker, .hero__foot { animation: none; }
}

/* تحسينات رحلة العميل (2026-10-14): مسؤول القسم ورسالة مخصّصة له، طمأنة تحت أزرار الهيرو، واختيار القسم في الختام */
.hero__note { flex-basis: 100%; text-align: end; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.strip__lead { font-size: 14px; color: var(--dim); }
.strip__lead b { color: var(--ink); font-weight: 600; }
.strip__lead, .strip__acts { opacity: 0; max-height: 0; overflow: hidden; visibility: hidden; transition: opacity .4s; }
.strip.is-on .strip__lead { opacity: 1; max-height: 3em; visibility: visible; margin-block-start: 10px; transition-delay: .32s; }
.strip.is-on .strip__acts { opacity: 1; max-height: 5em; visibility: visible; transition-delay: .35s; }
.strip__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.strip .strip__acts .more { opacity: 1; max-height: none; margin: 0; }
.strip__wa { position: relative; z-index: 6; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-weight: 600; font-size: 14.5px; }
@media (hover: hover) { .strip__wa:hover { filter: brightness(1.08); } }
.pick { margin-block-start: 26px; display: grid; gap: 12px; justify-items: center; }
.pick__q { font-size: 15px; color: var(--dim); }
.pick__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.pick__chips button { min-height: 44px; padding: 4px 16px; border-radius: 999px; border: 1px solid #fdcf4840; background: #131210b3; font-size: 14.5px; color: var(--ink); transition: background .25s, border-color .25s, color .25s; }
@media (hover: hover) { .pick__chips button:hover { border-color: #fdcf48aa; } }
.pick__chips button[aria-pressed="true"] { background: var(--gold); border-color: transparent; color: var(--on-gold); font-weight: 600; }
@media (max-width: 900px) {
  .hero__note { text-align: center; }
  .strip__lead, .strip__acts { opacity: 1; max-height: none; visibility: visible; margin-block-start: 8px; }
  .strip__acts .strip__wa { flex: 1 1 auto; justify-content: center; }
}
.strip h3, .strip__no { text-shadow: 0 2px 14px #000c; }

/* ===== إضافات القالب في ووردبريس ===== */
body.admin-bar .nav { inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
.stack { counter-reset: step; }
.scard { counter-increment: step; }
.scard__no::before { content: counter(step, decimal-leading-zero); }
.scard--text { grid-template-columns: 1fr; min-height: 0; }
.scard--text .scard__text { padding-block: clamp(26px, 4vw, 48px); }
.scard--text .scard__no { font-size: clamp(48px, 5vw, 80px); }
@media (min-width: 901px) {
  .scard--text .scard__text { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); align-items: center; row-gap: 6px; }
  .scard--text .scard__no { grid-row: 1 / span 3; }
  .scard--text h3, .scard--text p, .scard--text .btn { grid-column: 2; }
}

/* قائمة الجوال كاملة الشاشة (2.3-ح): بلا JavaScript تفتح بالرابط #mnav (:target)؛ مع nav.js دائرةٌ تنفتح من الزر وروابط تصعد متتابعة */
.mnav { position: fixed; inset: 0; z-index: -1; display: none; overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; background: #0f0e0d;
  padding: calc(var(--nav-h) + 8px) 16px calc(24px + env(safe-area-inset-bottom)); }
.mnav::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 50% at 85% 0, #faa83e24, #0000 70%), radial-gradient(70% 40% at 0 100%, #fdcf4812, #0000 70%); }
.mnav:target { display: block; }
.has-mnav-js .mnav { display: none; clip-path: circle(0 at var(--ox, 90%) var(--oy, 36px)); transition: clip-path .75s cubic-bezier(.76, 0, .24, 1); }
.has-mnav-js .mnav.is-shown { display: block; }
.has-mnav-js .mnav.is-open { clip-path: circle(150vmax at var(--ox, 90%) var(--oy, 36px)); transition: clip-path .8s cubic-bezier(.76, 0, .24, 1); }
.mnav__eyebrow { font-size: 13px; line-height: 1.7; color: var(--g2); margin: 0 4px 8px; display: flex; align-items: center; gap: 8px; }
.mnav__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 10px var(--g2); }
.mnav__secs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav__sec { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border-radius: 16px; background: #ffffff07; border: 1px solid #ffffff10; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.mnav__sec .mtile__ico { width: 38px; height: 38px; border-radius: 11px; flex: none; } .mnav__sec .mtile__ico svg { width: 19px; height: 19px; }
.mnav__sec--wide { grid-column: 1 / -1; }
.mnav__links { display: block; margin-block-start: 18px; border-block-start: 1px solid #ffffff12; }
.mnav__links a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-block-end: 1px solid #ffffff12; font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.4; padding: 0 4px; color: var(--ink); }
.mnav__links a .num { font-size: 13px; color: var(--faint); }
.mnav__contact { margin-block-start: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav__contact .btn--gold { grid-column: 1 / -1; } .mnav__contact .btn { min-height: 54px; }
.mnav__hours { margin-block-start: 12px; text-align: center; font-size: 13px; line-height: 1.7; color: var(--faint); }
.mnav__close { display: none; }
.has-mnav-js .mnav [data-i] { opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .3s var(--ease-out); transition-delay: calc((17 - var(--i, 0)) * 16ms); }
.has-mnav-js .mnav.is-open [data-i] { opacity: 1; transform: none; transition: opacity .55s, transform .7s var(--ease-out); transition-delay: calc(220ms + var(--i, 0) * 42ms); }
html.is-locked { overflow: hidden; }
@media (max-width: 1023px) {
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__links, .nav__phone, .nav__cta { display: none; }
  .brand__mark { width: 42px; } .brand__name { font-size: 18px; }
  .nav.is-stuck { padding-block-start: 10px; }
  .nav.is-stuck .nav__bar { width: calc(100% - 20px); height: 58px; padding-inline: 14px 7px; }
  .nav.is-stuck .brand__mark { width: 36px; }
  .nav__wa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px -10px #faa83ecc; -webkit-tap-highlight-color: transparent; }
  .nav__wa .ico { width: 21px; height: 21px; }
  .nav__end { gap: 8px; }
  .nav__burger { position: relative; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff26; background: #1b1917b3; -webkit-tap-highlight-color: transparent; }
  .nav__burger i { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
  .nav__burger i:last-child { width: 12px; justify-self: end; }
  .menu-open .nav__burger i:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-open .nav__burger i:last-child { width: 18px; transform: translateY(-3.8px) rotate(-45deg); }
  .nav.menu-open .nav__bar { background: #0f0e0d00; border-color: #0000; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html:not(.has-mnav-js) .mnav:target .mnav__close { display: block; position: fixed; inset-block-start: 14px; inset-inline-end: 16px; width: 44px; height: 44px; }
}
@media (min-width: 1024px) { .mnav, .mnav:target { display: none !important; } }
@media (max-width: 380px) { .brand__name { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav__bar, .brand__mark, .brand__name, .nav__lamp, .mega, .mega__list::before, .peek, .peek__img img { transition-duration: 0s !important; }
  .has-mnav-js .mnav, .has-mnav-js .mnav.is-open { transition: none; clip-path: none; }
  .has-mnav-js .mnav [data-i], .has-mnav-js .mnav.is-open [data-i] { transition: none; opacity: 1; transform: none; }
}

/* ===== صفحة القسم وصفحة الخدمة (2.3-أ) ===== */
/* الهيرو: النص ومسار التنقل يميناً، وصورة القسم يتشكّل فوقها رمزه من الجزيئات يساراً */
.phero { position: relative; z-index: 2; min-height: min(100svh, 920px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: calc(var(--nav-h) + 30px) var(--pad) clamp(40px, 8vh, 90px); overflow: clip; isolation: isolate;
  background: radial-gradient(40% 50% at 18% 50%, #7a480c40, #0000 72%), radial-gradient(60% 50% at 50% 120%, #3a2106aa, #0000 70%); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background: linear-gradient(#ffffff06 1px, #0000 1px) 0 0 / 100% 64px, linear-gradient(90deg, #ffffff06 1px, #0000 1px) 0 0 / 64px 100%; -webkit-mask: radial-gradient(60% 60% at 30% 50%, #000, #0000); mask: radial-gradient(60% 60% at 30% 50%, #000, #0000); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; line-height: 1.7; color: var(--faint); margin-block-end: 18px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "‹"; color: #fdcf4866; }
.crumbs a { color: var(--dim); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; } @media (hover: hover) { .crumbs a:hover { color: var(--g2); } }
.crumbs [aria-current] { color: var(--ink); }
.phero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 68px); line-height: 1.35; text-wrap: balance; animation: rise 1.1s var(--ease-out) .05s both; }
.phero__answer { margin-block-start: 18px; max-width: 36em; font-size: clamp(16.5px, 1.3vw, 19.5px); line-height: 1.85; color: #d3cbbd; padding-inline-start: 18px; border-inline-start: 2px solid #fdcf4866; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.phero__note { margin-block-start: 12px; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.phero__visual { position: relative; aspect-ratio: 4 / 4.6; max-height: 76svh; width: 100%; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--surface); box-shadow: 0 0 0 1px #ffffff12, 0 50px 100px -40px #000; }
.phero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.02) brightness(.78); }
.phero__visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #131210e6 4%, #13121040 50%, #13121020 100%); }
.phero__visual::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a), #0000 0 70%, #faa83e 82%, #fff3c4 88%, #fdcf48 92%, #0000 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: beam 5s linear infinite; }
.phero__stage { position: absolute; inset-inline: 14%; inset-block-start: 10%; height: 52%; pointer-events: none; }
.phero__chip { position: absolute; z-index: 3; inset-inline: 18px; inset-block-end: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #131210cc; border: 1px solid #ffffff1c; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14.5px; line-height: 1.6; color: var(--dim); width: fit-content; max-width: calc(100% - 36px); }
.phero__chip b { color: var(--ink); font-weight: 600; }
.phero__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 #4ade8080; animation: ping 2s infinite; }
.phero--service .phero__visual { aspect-ratio: 4 / 3.6; }

/* مسؤول القسم */
.lead { padding-block: clamp(30px, 6vh, 70px); }
.lead__card { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 34px); border-radius: 32px; background: linear-gradient(120deg, #1b1917, #161412); border: 1px solid #ffffff12; position: relative; overflow: hidden; }
.lead__card::after { content: ""; position: absolute; inset-inline-end: -10%; inset-block-start: -40%; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, #fdcf4818, #0000 70%); pointer-events: none; }
.lead__face { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--bg); }
.lead__face img { width: 100%; height: 100%; object-fit: cover; }
.lead__face .soon__ini { font-size: clamp(90px, 9vw, 150px); }
.lead__face .soon__note { margin-block-end: 0; font-size: 12.5px; text-align: center; }
.lead__text { display: grid; justify-items: start; gap: 8px; position: relative; z-index: 1; }
.lead__text .eyebrow { margin: 0; }
.lead__name { font-size: clamp(26px, 3vw, 44px); }
.lead__role { color: var(--g2); font-size: 15.5px; line-height: 1.7; }
.lead__copy { color: var(--dim); max-width: 36em; margin-block-end: 10px; }

/* كروت الخدمات */
.svcs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: 14px; counter-reset: svc; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: 26px; background: #1b1917; border: 1px solid #ffffff12; overflow: hidden; isolation: isolate; counter-increment: svc; transition: border-color .4s, transform .6s var(--ease-out), background .4s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, #fdcf4816, #0000 70%); opacity: 0; transition: opacity .5s; }
.svc:focus-within { border-color: #fdcf4866; transform: translateY(-4px); } @media (hover: hover) { .svc:hover { border-color: #fdcf4866; transform: translateY(-4px); } }
.svc:focus-within::before { opacity: 1; } @media (hover: hover) { .svc:hover::before { opacity: 1; } }
.svc__img { margin: -26px -24px 6px; aspect-ratio: 16 / 8; overflow: hidden; } .svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__no { font-size: 14px; color: var(--g2); } .svc__no::before { content: counter(svc, decimal-leading-zero); }
.svc__title { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.45; }
.svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) { .svc__title a:hover { color: var(--g2); } }
.svc__benefit { color: var(--dim); font-size: 15.5px; line-height: 1.8; flex: 1; }
.svc__meta { display: grid; gap: 4px; margin-block: 6px 4px; padding-block-start: 12px; border-block-start: 1px solid #ffffff12; }
.svc__meta div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.svc__meta dt, .obox__facts dt, .pkg__meta dt { font-size: 12.5px; line-height: 1.7; color: var(--faint); }
.svc__meta dd, .obox__facts dd, .pkg__meta dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.svc__acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-block-start: 8px; }
.svc__wa { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-weight: 600; font-size: 14.5px; line-height: 1.7; }
@media (hover: hover) { .svc__wa:hover { filter: brightness(1.08); } }
.svc .more { color: var(--g2); font-size: 15px; display: inline-flex; gap: 8px; }
@media (hover: hover) { .svc:hover .arrow { transform: translateX(-6px); } }

/* شريط الخدمة المخصصة (ويُستعمل بديلاً للباقات في قسم الأبحاث) */
.custom-band { padding-block: clamp(30px, 6vh, 70px); }
.custom-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(24px, 4vw, 50px); border-radius: 32px; border: 1px dashed #fdcf4855; background: radial-gradient(60% 120% at 0% 50%, #6b3f0a40, #0000 70%), #161412; }
.custom-band h2 { font-size: clamp(24px, 2.8vw, 42px); }
.custom-band .sub { max-width: 34em; }

/* الأرقام: صف لصفحة القسم */
.reach--row .reach__grid { display: block; min-height: 0; }
.reach--row .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; padding: 0; }
.reach--row .stat { padding: 24px 16px; border-radius: 24px; background: #1b1917b3; border: 1px solid #ffffff10; }
.reach--row .stat b { font-size: clamp(40px, 4.4vw, 72px); }

/* المقالات */
.posts__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--g2); }
.posts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; }
.post { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 18px; border-radius: 24px; background: #1b1917; border: 1px solid #ffffff10; transition: border-color .4s; }
.post:focus-within { border-color: #fdcf4855; } @media (hover: hover) { .post:hover { border-color: #fdcf4855; } }
.post__img { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; } .post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (hover: hover) { .post:hover .post__img img { transform: scale(1.05); } }
.post__title { font-size: 18px; line-height: 1.55; padding-inline: 6px; } .post__title a::after { content: ""; position: absolute; inset: 0; } @media (hover: hover) { .post__title a:hover { color: var(--g2); } }
.post__ex { color: var(--dim); font-size: 14.5px; line-height: 1.75; padding-inline: 6px; flex: 1; }
.post__date { font-size: 13px; color: var(--faint); padding-inline: 6px; }

/* صندوق الطلب: شريط بعد الهيرو، وشريط ثابت أسفل الشاشة على الجوال */
.obox { position: relative; z-index: 3; margin: calc(clamp(40px, 8vh, 90px) * -1 + 10px) var(--pad) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 20px clamp(18px, 3vw, 34px); border-radius: 28px;
  background: #1b1917f2; border: 1px solid #fdcf4844; box-shadow: 0 40px 80px -40px #000; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.obox__facts { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 46px); }
.obox__facts div { display: grid; }
.obox__facts dd { font-size: 16px; font-family: var(--f-display); font-weight: 500; }
.obox__cta { display: grid; justify-items: end; gap: 6px; }
.obox__note { font-size: 13px; line-height: 1.7; color: var(--faint); }
.obar { display: none; }
.caducs--service .dock { display: none; }

/* الباقات */
.pkgs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 28px; background: #1b1917; border: 1px solid #ffffff12; }
.pkg.is-featured { background: linear-gradient(180deg, #2a2116, #1b1917 40%); border-color: #fdcf4877; box-shadow: 0 40px 80px -40px #faa83e55; }
.pkg__badge { position: absolute; inset-block-start: -13px; inset-inline-start: 22px; padding: 2px 14px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 13px; line-height: 1.7; font-weight: 600; }
.pkg__name { font-size: clamp(22px, 2vw, 30px); }
.pkg__for { color: var(--dim); font-size: 15px; line-height: 1.7; }
.pkg__price { font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.7; color: var(--g2); padding-block: 10px; border-block: 1px solid #ffffff10; }
.pkg__h { font-size: 13px; line-height: 1.7; color: var(--faint); margin-block-start: 4px; }
.pkg__list { display: grid; gap: 6px; }
.pkg__list li { position: relative; padding-inline-start: 22px; font-size: 15px; line-height: 1.75; }
.pkg__list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; width: 10px; height: 6px; border-inline-start: 2px solid var(--g2); border-block-end: 2px solid var(--g2); transform: rotate(-45deg); }
.pkg__ex { font-size: 14px; line-height: 1.75; color: var(--dim); }
.pkg__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block: auto 6px; padding-block-start: 14px; }
.pkg .btn { width: 100%; }

@media (max-width: 900px) {
  .phero { grid-template-columns: 1fr; min-height: 0; padding-block-start: calc(var(--nav-h) + 14px); gap: 22px; }
  .phero__visual { aspect-ratio: 16 / 10; max-height: none; }
  .phero--service .phero__visual { aspect-ratio: 16 / 9; }
  .phero__stage { inset-inline: 22%; inset-block-start: 6%; height: 56%; }
  .phero__cta .btn { width: 100%; }
  .phero__answer { padding-inline-start: 14px; }
  .lead__card { grid-template-columns: 1fr; text-align: start; }
  .lead__face { aspect-ratio: 1; max-width: 220px; }
  .lead .btn, .custom-band .btn { width: 100%; }
  .obox { margin: 0 var(--pad); flex-direction: column; align-items: stretch; }
  .obox__cta { justify-items: stretch; } .obox__cta .btn { width: 100%; }
  .obox__note { text-align: center; }
  .obar { position: fixed; z-index: 45; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; padding-inline-start: 16px; border-radius: 999px;
    background: #1b1917f2; border: 1px solid #fdcf4844; box-shadow: 0 20px 40px -14px #000; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(160%); transition: transform .5s var(--ease-out); }
  .obar.is-on { transform: none; }
  .no-js .obar, .obar:not(.is-on):focus-within { transform: none; }
  .obar__facts { display: grid; min-width: 0; }
  .obar__facts b { font-family: var(--f-display); font-weight: 500; font-size: 13.5px; line-height: 1.5; color: var(--g2); }
  .obar__k { font-size: 11.5px; line-height: 1.5; color: var(--faint); }
  .obar .btn { flex: none; }
  .caducs--service .footer { padding-block-end: 100px; }
  .svc { padding: 22px 18px 18px; } .svc__img { margin: -22px -18px 4px; }
  .svc__acts .svc__wa { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .phero__title { animation: none; } }

/* خدمات القسم بعرض النقاط (صفحة الأبحاث) */
.svcs__points { display: grid; gap: 12px; max-width: 760px; }
.svc-pt { position: relative; display: flex; align-items: center; min-height: 64px; padding: 14px 64px 14px 22px; border-radius: 20px; background: #1b1917; border: 1px solid #ffffff12; font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; }
.svc-pt::before { content: ""; position: absolute; inset-inline-start: 20px; inset-block-start: 50%; width: 28px; height: 28px; margin-block-start: -14px; border-radius: 50%; background: var(--gold); }
.svc-pt::after { content: ""; position: absolute; inset-inline-start: 29px; inset-block-start: 50%; width: 10px; height: 6px; margin-block-start: -5px; border-inline-start: 2px solid var(--on-gold); border-block-end: 2px solid var(--on-gold); transform: rotate(-45deg); }
.svcs__cta { margin-block-start: 22px; }
@media (max-width: 900px) { .svcs__cta { width: 100%; } }

/* ===== 2.3-ب: الباقة، المنتج، المتجر، الطلب المخصص، أعمالنا ودراسة الحالة، المقال، أرشيف التصنيف ===== */
/* هيرو صفحات الشركة: بلا صورة يصير عموداً واحداً */
.phero--page { min-height: min(86svh, 820px); }
.phero--plain { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block-end: clamp(30px, 6vh, 70px); }
.phero--plain .phero__text { max-width: 980px; }

/* نص القسم: عنوان وفقرات، وبنود بعناوين فرعية */
.story__head { max-width: 980px; }
.story__p { margin-block-start: 14px; color: #d3cbbd; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.9; max-width: 46em; }
.story__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.story--list .story__items { grid-template-columns: 1fr; max-width: 900px; }
.story__item { padding: clamp(22px, 2.6vw, 34px); border-radius: 28px; background: #1b1917; border: 1px solid #ffffff12; position: relative; overflow: hidden; }
.story__item::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: clamp(22px, 2.6vw, 34px); width: 46px; height: 3px; border-radius: 3px; background: var(--gold); }
.story__item h3 { font-size: clamp(20px, 1.8vw, 27px); margin-block-end: 10px; }
.story__item p { color: var(--dim); font-size: 16px; line-height: 1.85; }
.story__item p + p { margin-block-start: 10px; }

/* الضمانات */
.guar__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; counter-reset: g; }
.guar__list li { counter-increment: g; position: relative; padding: 22px 22px 22px 22px; padding-block-start: 58px; border-radius: 24px; background: #1b1917; border: 1px solid #ffffff12; font-size: 16px; line-height: 1.8; }
.guar__list li::before { content: counter(g, decimal-leading-zero); position: absolute; inset-block-start: 18px; inset-inline-start: 22px; font-family: var(--f-num); font-size: 15px; line-height: 1.6; color: var(--g2); }
.guar__note { margin-block-start: 16px; color: var(--faint); font-size: 14px; line-height: 1.75; }

/* معاينة وصور */
.gal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.gal__item { border-radius: 24px; overflow: hidden; border: 1px solid #ffffff14; background: var(--surface); }
.gal__item img { width: 100%; height: auto; }

/* رأي العميل (بالموافقة فقط) */
.quote__in { max-width: 900px; margin-inline: auto; padding: clamp(26px, 4vw, 54px); border-radius: 32px; background: #1b1917; border: 1px solid #fdcf4833; }
.quote blockquote p { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.7; }
.quote figcaption { margin-block-start: 16px; display: grid; color: var(--dim); font-size: 15px; line-height: 1.7; } .quote figcaption b { color: var(--ink); }

/* هيرو المنتج والباقة */
.prod { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(24px, 5vw, 80px); align-items: start; padding: calc(var(--nav-h) + 30px) var(--pad) clamp(40px, 8vh, 90px);
  background: radial-gradient(40% 50% at 18% 30%, #7a480c40, #0000 72%); }
.prod__title { font-size: clamp(30px, 3.8vw, 58px); }
.prod__h { font-size: 15px; line-height: 1.7; color: var(--faint); font-family: var(--f-body); font-weight: 500; margin-block: 24px 10px; }
.prod__list { max-width: 40em; }
.prod__svc { margin-block-start: 22px; color: var(--dim); font-size: 15px; } .prod__svc a { color: var(--g2); display: inline-flex; align-items: center; min-height: 44px; }
.prod__side { display: grid; gap: 14px; position: sticky; inset-block-start: calc(var(--nav-h) + 20px); }
.prod__img { border-radius: 28px; overflow: hidden; border: 1px solid #ffffff14; aspect-ratio: 16 / 10; background: var(--surface); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__box { display: grid; gap: 10px; padding: clamp(20px, 2.4vw, 30px); border-radius: 28px; background: #1b1917f2; border: 1px solid #fdcf4844; box-shadow: 0 40px 80px -40px #000; }
.prod__box .btn { width: 100%; }
.prod__lead { color: var(--dim); font-size: 15.5px; line-height: 1.8; }
.prod__fmt { color: var(--dim); font-size: 14.5px; line-height: 1.7; }
.lvl__k { font-size: 13px; line-height: 1.7; color: var(--faint); }
.lvl__price { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.4; color: var(--g2); }
.price small { font-family: var(--f-body); font-size: 14px; color: var(--dim); }
.price--missing { color: var(--g1); }
.lvl__wa { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--g2); font-size: 15px; line-height: 1.6; text-align: center; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #fdcf4855; }
.lvl__note { font-size: 13px; line-height: 1.75; color: var(--faint); }

/* تفصيل الباقة: ألسنة المستويات (radio + CSS) ولوحة مستوى واحد */
.lvl__r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lvl__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.lvl__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid #ffffff26; background: #ffffff08; cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.5; transition: background .25s, border-color .25s, color .25s; }
@media (hover: hover) { .lvl__tab:hover { border-color: var(--g2); } }
.lvl__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
.lvl__p { display: none; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 14px; }
.lvl__main, .lvl__buy { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: #1b1917; border: 1px solid #ffffff12; display: grid; align-content: start; gap: 10px; }
.lvl__p.is-featured .lvl__main { background: linear-gradient(180deg, #2a2116, #1b1917 50%); border-color: #fdcf4866; }
.lvl__main .pkg__badge { position: static; justify-self: start; }
.lvl__name { font-size: clamp(24px, 2.4vw, 36px); }
.lvl__body { color: #d3cbbd; font-size: 16px; line-height: 1.85; }
.lvl__buy { border-color: #fdcf4844; align-self: start; position: sticky; inset-block-start: calc(var(--nav-h) + 20px); }
.lvl__buy .btn { width: 100%; }
.lvl__buy .pkg__meta { margin: 4px 0 6px; }
.pkgs__store { margin-block-start: 18px; }

/* المتجر: الفلاتر والبطاقات */
.filters { display: grid; gap: 10px; margin-block-end: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #ffffff22; background: #ffffff06; font-size: 14.5px; line-height: 1.6; color: var(--dim); transition: background .25s, border-color .25s, color .25s; }
.chip .num { font-size: 12.5px; color: var(--faint); }
@media (hover: hover) { a.chip:hover, button.chip:not(:disabled):hover { border-color: var(--g2); color: var(--ink); } }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--gold); border-color: #0000; color: var(--on-gold); font-weight: 600; }
.chip[aria-current="page"] .num, .chip[aria-pressed="true"] .num { color: var(--on-gold); }
.chip.is-off, .chip:disabled { opacity: .45; cursor: not-allowed; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.pc, .wcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 20px; border-radius: 26px; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .4s, transform .6s var(--ease-out); }
.pc:focus-within, .wcard:focus-within { border-color: #fdcf4866; transform: translateY(-3px); } @media (hover: hover) { .pc:hover, .wcard:hover { border-color: #fdcf4866; transform: translateY(-3px); } }
.pc[hidden], .wcard[hidden] { display: none; }
.pc__img, .wcard__img { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--bg); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; }
.wcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pc__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-inline: 6px; margin-block-start: 4px; }
.pc__tags span { font-size: 12.5px; line-height: 1.7; padding: 2px 10px; border-radius: 999px; border: 1px solid #ffffff1c; color: var(--dim); }
.pc__title { font-size: 19px; line-height: 1.55; padding-inline: 6px; } .pc__title a::after { content: ""; position: absolute; inset: 0; } @media (hover: hover) { .pc__title a:hover { color: var(--g2); } }
.pc__sum { color: var(--dim); font-size: 14.5px; line-height: 1.75; padding-inline: 6px; flex: 1; }
.pc__price { padding-inline: 6px; font-family: var(--f-display); font-size: 20px; line-height: 1.5; color: var(--g2); }
.pc__price small { font-family: var(--f-body); font-size: 13px; color: var(--dim); }
.store__empty { display: grid; justify-items: start; gap: 14px; margin-block-start: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; border: 1px dashed #fdcf4855; }
.store__empty[hidden] { display: none; }
.store__empty p { color: var(--dim); max-width: 40em; }

/* الطلب المخصص */
.creq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.creq__need, .creq__wa, .creq__after { padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: #1b1917; border: 1px solid #ffffff12; }
.creq__wa { border-color: #fdcf4855; background: radial-gradient(60% 80% at 100% 0%, #6b3f0a40, #0000 70%), #1b1917; display: grid; align-content: center; justify-items: center; gap: 16px; text-align: center; }
.creq__wa .pick { margin: 0; }
.creq__btn { width: 100%; }
.creq__alt { font-size: 14px; line-height: 1.7; color: var(--faint); } .creq__alt a { color: var(--dim); display: inline-flex; align-items: center; min-height: 44px; }
.creq h3 { font-size: clamp(20px, 1.8vw, 26px); margin-block-end: 14px; }
.creq__qs { counter-reset: q; display: grid; gap: 10px; }
.creq__qs li { counter-increment: q; position: relative; padding-inline-start: 44px; font-size: 16px; line-height: 1.8; }
.creq__qs li::before { content: counter(q); position: absolute; inset-inline-start: 0; inset-block-start: 1px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fdcf4818; border: 1px solid #fdcf4855; color: var(--g2); font-family: var(--f-num); font-size: 14px; line-height: 1.4; }
.creq__after { margin-block-start: 14px; }
.tl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; counter-reset: t; }
.tl li { counter-increment: t; position: relative; padding-block-start: 16px; border-block-start: 2px solid #fdcf4855; }
.tl b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.5; color: var(--g2); }
.tl p { color: var(--dim); font-size: 15px; line-height: 1.8; margin-block-start: 6px; }
.cform { padding-block-start: 0; }
.cform__in { max-width: 900px; margin-inline: auto; padding: clamp(22px, 3vw, 40px); border-radius: 30px; border: 1px solid #ffffff14; background: #161412; }
.cform__title { font-size: clamp(22px, 2.2vw, 32px); }
.cform .sub a { color: var(--g2); text-decoration: underline; text-underline-offset: 4px; }
.cform__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-block-start: 20px; }
.cform__f { display: grid; gap: 6px; }
.cform__f--wide, .cform__act { grid-column: 1 / -1; }
.cform label { font-size: 15px; line-height: 1.7; color: var(--ink); }
.cform small { font-size: 13px; line-height: 1.7; color: var(--faint); }
.cform .req { color: var(--g2); }
.cform input, .cform select, .cform textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid #ffffff26; background: #131210; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--g2); outline-offset: 1px; border-color: #0000; }
.cform__hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__msg { margin-block-start: 16px; padding: 14px 18px; border-radius: 16px; font-size: 15.5px; line-height: 1.8; }
.cform__msg.is-ok { background: #4ade8014; border: 1px solid #4ade8055; } .cform__msg.is-err { background: #faa83e14; border: 1px solid #faa83e66; }

/* أعمالنا ودراسة الحالة */
.wix .chips { margin-block-end: 22px; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.case { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: calc(var(--nav-h) + 30px) var(--pad) clamp(40px, 8vh, 90px); background: radial-gradient(40% 50% at 18% 40%, #7a480c40, #0000 72%); }
.case__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-block-start: 24px; }
.case__facts div { padding: 14px 16px; border-radius: 18px; background: #1b1917; border: 1px solid #ffffff12; }
.case__facts dt { font-size: 12.5px; line-height: 1.7; color: var(--faint); }
.case__facts dd { margin: 0; font-size: 15.5px; line-height: 1.7; } .case__facts a { color: var(--g2); display: inline-flex; min-height: 44px; align-items: center; }
.case__anon { color: var(--dim); font-size: 14px; }
.case__logo { display: inline-block; width: 48px; vertical-align: middle; margin-inline-end: 8px; }
.case__cover { border-radius: 30px; overflow: hidden; border: 1px solid #ffffff14; aspect-ratio: 16 / 11; background: var(--surface); }
.case__cover img { width: 100%; height: 100%; object-fit: contain; }

/* أرشيف التصنيف وشبكة المحاور */
.ahero { position: relative; z-index: 2; padding: calc(var(--nav-h) + 30px) var(--pad) clamp(20px, 4vh, 40px); background: radial-gradient(40% 60% at 20% 30%, #7a480c38, #0000 72%); }
.ahero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 66px); line-height: 1.35; text-wrap: balance; max-width: 22em; }
.ahero__page { font-size: .45em; color: var(--dim); font-weight: 500; }
.ahero__answer { margin-block-start: 18px; max-width: 46em; font-size: clamp(16.5px, 1.3vw, 19.5px); line-height: 1.85; color: #d3cbbd; padding-inline-start: 18px; border-inline-start: 2px solid #fdcf4866; }
.hubs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.hub a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n a" "t a"; align-items: center; gap: 2px 14px; min-height: 100%; padding: 18px 20px; border-radius: 22px; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .3s; }
@media (hover: hover) { .hub a:hover { border-color: #fdcf4866; } }
.hub__niche { grid-area: n; font-size: 13px; line-height: 1.7; color: var(--g2); }
.hub__title { grid-area: t; font-family: var(--f-display); font-weight: 500; font-size: 16.5px; line-height: 1.6; }
.hub .arrow { grid-area: a; color: var(--g2); }
.posts--archive { padding-block-start: clamp(40px, 8vh, 90px); }
.pager ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-block-start: 30px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #ffffff22; font-family: var(--f-num); font-size: 15px; line-height: 1.5; }
@media (hover: hover) { .pager a:hover { border-color: var(--g2); } } .pager .current { background: var(--gold); color: var(--on-gold); border-color: #0000; }

/* المقال */
.art { position: relative; z-index: 2; padding: calc(var(--nav-h) + 26px) var(--pad) 0; }
.art__head { max-width: 1100px; margin-inline: auto; }
.art__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.4; text-wrap: balance; }
.art__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-block: 18px 22px; padding-block: 14px; border-block: 1px solid #ffffff12; }
.art__meta div { display: grid; }
.art__meta dt { font-size: 12.5px; line-height: 1.7; color: var(--faint); }
.art__meta dd { margin: 0; font-size: 15px; line-height: 1.7; display: grid; }
.art__meta dd a { color: var(--g2); } .art__meta dd small { font-size: 12.5px; color: var(--faint); }
.art__cover { border-radius: 26px; overflow: hidden; border: 1px solid #ffffff12; background: var(--surface); }
.art__cover img { width: 100%; height: auto; }
.art__grid { max-width: 1100px; margin: clamp(26px, 5vh, 50px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "body side"; gap: clamp(24px, 4vw, 60px); align-items: start; }
.art__body { grid-area: body; min-width: 0; }
.art__side { grid-area: side; position: sticky; inset-block-start: calc(var(--nav-h) + 20px); }
.toc { padding: 18px 18px 10px; border-radius: 22px; background: #1b1917; border: 1px solid #ffffff12; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.6; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { display: grid; gap: 0; margin-block-start: 6px; max-height: calc(100svh - var(--nav-h) - 160px); overflow: auto; }
.toc a { display: flex; align-items: center; min-height: 40px; padding: 6px 0; font-size: 14.5px; line-height: 1.6; color: var(--dim); border-block-start: 1px solid #ffffff0d; }
@media (hover: hover) { .toc a:hover { color: var(--g2); } }
.toc__l3 a { padding-inline-start: 14px; font-size: 13.5px; }
.answer { margin-block-end: 26px; padding: 22px 24px; border-radius: 22px; background: linear-gradient(120deg, #2a2116, #1b1917); border: 1px solid #fdcf4855; }
.answer__k { font-size: 13px; line-height: 1.7; color: var(--g2); margin-block-end: 6px; }
.answer__t { font-size: 17.5px; line-height: 1.9; }
.hubref { margin-block: 0 22px; padding: 12px 18px; border-radius: 16px; border: 1px dashed #fdcf4855; color: var(--dim); font-size: 15px; line-height: 1.8; }
.hubref a { color: var(--g2); text-decoration: underline; text-underline-offset: 4px; }
.hubref--end { margin-block: 26px 0; }
.prose { font-size: 18px; line-height: 1.95; color: #e4dccd; overflow-wrap: anywhere; }
.prose > * + * { margin-block-start: 1.05em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.45; margin-block-start: 1.8em; color: var(--ink); }
.prose h3 { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.5; margin-block-start: 1.5em; color: var(--ink); }
.prose h4 { font-family: var(--f-display); font-size: 19px; line-height: 1.55; margin-block-start: 1.4em; }
.prose a { color: var(--g2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #fdcf4866; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-block-start: .4em; }
.prose li::marker { color: var(--g2); }
.prose img { max-width: 100%; height: auto; border-radius: 18px; }
/* [caption] في المقالات القديمة يكتب عرض الصورة بالبكسل على figure (style="width: 730px") فيعرّض الصفحة على الجوال (2.3-ج) */
.prose .wp-caption { width: auto !important; max-width: 100%; }
.prose figure { margin-inline: 0; } .prose figcaption { font-size: 14px; color: var(--faint); margin-block-start: 8px; text-align: center; }
.prose blockquote { padding: 6px 20px; border-inline-start: 3px solid var(--g2); color: var(--dim); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.7; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid #ffffff1c; text-align: start; vertical-align: top; }
.prose th { background: #1b1917; color: var(--ink); }
.prose hr { border: 0; border-block-start: 1px solid #ffffff1c; }
.prose .aligncenter { margin-inline: auto; } .prose iframe { max-width: 100%; }
.art__faq { margin-block-start: 40px; }
.art__faq h2 { font-size: clamp(24px, 2.4vw, 34px); margin-block-end: 10px; }
.abox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-block: 30px; padding: clamp(20px, 2.6vw, 30px); border-radius: 26px; }
.abox--wa { background: radial-gradient(60% 120% at 0% 50%, #6b3f0a40, #0000 70%), #1b1917; border: 1px solid #fdcf4866; }
.abox--soft { background: #161412; border: 1px dashed #ffffff2a; }
.abox > div { flex: 1 1 320px; }
.abox__k { font-size: 13px; line-height: 1.7; color: var(--g2); }
.abox__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; margin-block: 2px 6px; }
.abox__s { color: var(--dim); font-size: 15.5px; line-height: 1.8; }
.abox__acts { display: grid; justify-items: center; gap: 4px; }
.abox__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--g2); font-size: 15.5px; line-height: 1.6; }
.prose .abox p { margin: 0; } .prose .abox a.btn { text-decoration: none; color: var(--on-gold); }
.posts--related { padding-block-start: clamp(60px, 10vh, 110px); }
/* الزر العائم: لا يظهر في مقالات الأقسام الستة (site-architecture.md §7.5)؛ يظهر في مقالات الأبحاث */
body.caducs--article:not([data-intent="research"]) .dock { display: none; }

@media (max-width: 900px) {
  .prod, .case { grid-template-columns: 1fr; padding-block-start: calc(var(--nav-h) + 14px); }
  .prod__side, .lvl__buy { position: static; }
  .lvl__p { grid-template-columns: 1fr; }
  .lvl__tab { flex: 1 1 auto; justify-content: center; padding: 0 14px; }
  .creq__grid { grid-template-columns: 1fr; }
  .cform__form { grid-template-columns: 1fr; }
  .art { padding-block-start: calc(var(--nav-h) + 14px); }
  .art__grid { grid-template-columns: 1fr; grid-template-areas: "side" "body"; }
  .art__side { position: static; }
  .toc:not([open]) { padding-block-end: 8px; }
  .toc ol { max-height: none; }
  .prose { font-size: 17px; }
  .abox { flex-direction: column; align-items: stretch; } .abox .btn { width: 100%; } .abox__acts { justify-items: stretch; }
  .phero--page .phero__visual { aspect-ratio: 16 / 9; }
}
.gal__missing { display: grid; place-items: center; min-height: 220px; padding: 24px; border-radius: 24px; border: 1px dashed #fdcf4855; color: var(--dim); text-align: center; font-size: 15.5px; line-height: 1.8;
  background: repeating-linear-gradient(135deg, #ffffff05 0 12px, #0000 12px 24px); }
.art__meta dd { display: block; } .art__meta dd small { display: block; }
.toc__h { display: flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.6; }
.toc--m { display: none; }
@media (max-width: 900px) { .toc--side { display: none; } .toc--m { display: block; } }
/* المقال بلا مكتبة الحركة: الهيدر زجاجي ثابت من البداية (لا يعتمد على التمرير) */
.caducs--article .nav:not(.is-stuck) .nav__bar { background: #131210d6; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-block-end-color: #ffffff10; }
/* ارتفاع السطر ≥ 1.7 لكل نص داخل فقرة أو بند (CLAUDE.md §3، design_audit) */
.lvl__price, .pc__price, .tl b, .hub__title, .toc a, .pager a, .pager span, .abox__t { line-height: 1.7; }
.toc a { min-height: 44px; }
.case__facts a { min-width: 44px; justify-content: center; }

/* ---------- 2.3-د: صفحات الشركة المنقولة (نص طويل، أشرطة، فيديو، أشخاص، روابط، التواصل، فهرس المدونة) ---------- */
.prose-sec .sec-head { margin-block-end: 18px; }
.prose-sec__body { max-width: 860px; }
.prose-sec + .prose-sec { padding-block-start: 0; }
.meters__list { display: grid; gap: 22px; max-width: 860px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.meter__label { color: var(--ink); font-size: 17px; line-height: 1.7; }
.meter__val { color: var(--g2); font-size: 17px; }
.meter__bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #ffffff12; overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.meters__cta { margin-block-start: 30px; }
.vid { padding-block-end: 0; }
.vid__frame { position: relative; max-width: 1080px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; border: 1px solid #ffffff14; background: #000; }
.vid__frame img, .vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid__frame img { opacity: .72; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--ink); }
.vid__btn { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); box-shadow: 0 20px 50px -14px #faa83e99; transition: transform .3s var(--ease); }
.vid__btn svg { width: 34px; height: 34px; margin-inline-start: 4px; }
.vid__play:focus-visible .vid__btn { transform: scale(1.08); } @media (hover: hover) { .vid__play:hover .vid__btn { transform: scale(1.08); } }
.vid__label { font-size: 15px; line-height: 1.7; padding: 4px 14px; border-radius: 99px; background: #131210b3; }
.people__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.person { padding: 12px 12px 20px; border-radius: 26px; background: #1b1917; border: 1px solid #ffffff12; text-align: center; }
.person__img { aspect-ratio: 27 / 33; border-radius: 18px; overflow: hidden; background: #24211e; display: grid; place-items: center; margin-block-end: 14px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__initial { font-family: var(--f-display); font-size: 64px; line-height: 1.4; color: var(--g2); }
.person__name { font-size: 19px; line-height: 1.5; }
.person__name a { text-decoration: underline; text-decoration-color: #fdcf4866; text-underline-offset: 5px; }
.person__role { color: var(--dim); font-size: 15px; line-height: 1.7; margin-block-start: 4px; }
.links__grid, .blogcats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.links__item { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; border-radius: 22px; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .25s, background .25s; }
a.links__item:focus-visible { border-color: #fdcf4855; background: #201d1a; } @media (hover: hover) { a.links__item:hover { border-color: #fdcf4855; background: #201d1a; } }
.links__no { color: var(--g2); font-size: 14px; }
.links__t { flex: 1; font-size: 17px; line-height: 1.7; color: var(--ink); }
.links__item .arrow { color: var(--g2); }
.blogcats__n { color: var(--faint); font-size: 14px; white-space: nowrap; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.contact__box { padding: clamp(22px, 2.6vw, 32px); border-radius: 26px; background: #1b1917; border: 1px solid #ffffff12; }
.contact__box h3 { font-size: 19px; line-height: 1.5; margin-block-end: 8px; }
.contact__box p { color: var(--dim); line-height: 1.85; }
.contact__box a { display: inline-flex; align-items: center; min-height: 44px; color: var(--g2); text-decoration: underline; text-underline-offset: 4px; }
.contact + .cform { padding-block-start: 0; }
@media (max-width: 600px) { .people__grid { grid-template-columns: 1fr 1fr; gap: 10px; } .person__name { font-size: 16px; } .person__role { font-size: 14px; } .vid__btn { width: 64px; height: 64px; } }
.story__item h3 a { text-decoration: underline; text-decoration-color: #fdcf4866; text-underline-offset: 6px; }
.story__list { list-style: disc; padding-inline-start: 1.2em; color: var(--dim); font-size: 16px; line-height: 1.85; }
.story__list li::marker { color: var(--g2); }
.story__list li + li { margin-block-start: 4px; }

/* ---------- 2.3-هـ: صفحات الشركة بمستوى النسخة 4 («من نحن» أولاً). البلوكات: core-hero، manifesto، chapters، orbit، pledges ---------- */
/* الهيرو: الشريط العلوي بعرض الصفحة، ثم النص يميناً ومشهد الجزيئات يساراً */
.chero { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 6px) var(--pad) 28px; overflow: clip; isolation: isolate;
  background: radial-gradient(42% 52% at 24% 52%, #7a480c4d, #0000 72%), radial-gradient(70% 50% at 50% 118%, #3a2106aa, #0000 70%), conic-gradient(from 210deg at 24% 50%, #0000, #fdcf4808, #0000 30%); }
.chero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: linear-gradient(#ffffff06 1px, #0000 1px) 0 0 / 100% 64px, linear-gradient(90deg, #ffffff06 1px, #0000 1px) 0 0 / 64px 100%;
  -webkit-mask: radial-gradient(55% 60% at 26% 50%, #000, #0000); mask: radial-gradient(55% 60% at 26% 50%, #000, #0000); }
.chero__hud .ltr { font-size: 12px; }
.chero__clocks b { margin-inline-start: 4px; }
.chero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(20px, 4vw, 70px); padding-block: clamp(10px, 3vh, 34px); }
.chero__text { display: grid; justify-items: start; }
.chero__text .crumbs ol { margin-block-end: 10px; }
.chero__text .eyebrow { margin-block-end: 14px; }
.chero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 4.9vw, 88px); line-height: 1.35; display: grid; }
.chero__answer { margin-block-start: clamp(16px, 2.6vh, 26px); max-width: 35em; font-size: clamp(16.5px, 1.3vw, 19.5px); line-height: 1.85; color: #d3cbbd; padding-inline-start: 18px; border-inline-start: 2px solid #fdcf4866; animation: rise 1s var(--ease-out) .3s both; }
.chero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; animation: rise 1s var(--ease-out) .42s both; }
.chero__note { margin-block-start: 12px; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.chero__visual { position: relative; width: 100%; aspect-ratio: 1 / .94; max-height: 72svh; justify-self: center; }
.chero__stage { position: absolute; inset: 0; }
.chero__svg { position: absolute; inset: 37% 33%; display: grid; place-items: center; filter: drop-shadow(0 0 34px #faa83e66); transition: opacity 1.2s ease, transform 1.6s var(--ease-out), filter 1.2s; }
.chero__svg svg { width: 100%; height: auto; }
.chero__orbits { position: absolute; inset: 0; display: block; animation: orbit-spin 60s linear infinite; transition: opacity 1.2s ease; }
.chero__orbits i { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 88%; height: 30%; margin: -15% -44% 0 0; border-radius: 50%; border: 1px solid #fdcf4830; box-shadow: 0 0 22px -6px #fdcf4840 inset; }
.chero__orbits i:nth-child(2) { transform: rotate(45deg); } .chero__orbits i:nth-child(3) { transform: rotate(90deg); } .chero__orbits i:nth-child(4) { transform: rotate(135deg); }
.chero__orbits i::before { content: ""; position: absolute; inset-block-start: -4px; inset-inline-start: 22%; width: 7px; height: 7px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 14px 3px #fdcf48aa; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.gl-on .chero__svg { opacity: 0; transform: scale(1.1); filter: blur(8px); }
.gl-on .chero__orbits { opacity: 0; }
.chero__cap { position: absolute; inset-block-end: 2%; inset-inline: 0; text-align: center; font-size: 13px; line-height: 1.7; color: var(--faint); }

/* البيان: فقرة كبيرة تضيء كلماتها مع التمرير، والمغلّظ ذهبي */
.mani { z-index: 2; padding-block: clamp(90px, 18vh, 200px); }
.mani__in { max-width: 1240px; }
.mani__h { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; font-weight: 500; color: var(--dim); margin-block-end: 18px; font-family: var(--f-body); }
.mani__text { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 3.4vw, 54px); line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.mani__text strong, .mani__text b { font-weight: 700; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mani__text .lw { display: inline; }
/* 2.3-ح: الخافتة #8A8173 (تباين 4.9:1 على الخلفية) والمضيئة النص الكامل (15:1)؛ الذهبي خافتاً #A07A3A (4.8:1) ثم تدرّج الشعار. */
.mani__text.is-lit .lw { color: #8a8173; transition: color .45s ease, text-shadow .7s ease; }
.mani__text.is-lit .lw.is-on { color: var(--ink); }
.mani__text.is-lit .lw.is-edge { color: #fff3c4; text-shadow: 0 0 18px #fdcf4870; }
.mani__text.is-lit :is(strong, b) .lw { color: #a07a3a; text-shadow: none; }
.mani__text.is-lit :is(strong, b) .lw.is-on { color: transparent; }
.mani__text.is-lit :is(strong, b) { filter: drop-shadow(0 0 0 #0000); transition: filter .8s; }
@media (prefers-reduced-motion: reduce) { .mani__text.is-lit .lw { transition: none; } }
.mani__sign { display: flex; align-items: center; gap: 12px; margin-block-start: clamp(22px, 4vh, 40px); color: var(--dim); font-size: 15px; line-height: 1.7; }
.mani__mark { width: 40px; flex: none; } .mani__mark svg { display: block; width: 100%; height: auto; }

/* فصول القصة: تحت بعض افتراضياً، وأفقية مثبّتة على سطح المكتب حين يفعّلها page.js (.is-h) */
.chap { z-index: 2; }
.chap__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; max-width: none; }
.chap__head > div:first-child { max-width: 900px; }
.chap__meter { display: none; align-items: center; gap: 14px; color: var(--faint); font-size: 14px; }
.chap__meter b { color: var(--g2); font-weight: 500; }
.chap__bar { position: relative; width: 160px; height: 2px; border-radius: 2px; background: #ffffff1a; overflow: hidden; }
.chap__bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; }
.chap__track { display: grid; gap: 14px; }
.chap__card { position: relative; display: grid; border-radius: 32px; background: #1b1917; border: 1px solid #ffffff12; overflow: hidden; isolation: isolate; transition: border-color .5s, background .5s; }
.chap__card--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.chap__card--type { background: radial-gradient(70% 60% at 100% 0%, #6b3f0a40, #0000 70%), #1b1917; }
.chap__body { display: grid; align-content: end; justify-items: start; gap: 10px; padding: clamp(24px, 3vw, 44px); }
.chap__label { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.7; color: var(--g2); }
.chap__label::before { content: ""; width: 26px; height: 1px; background: var(--g2); }
.chap__mark { font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 7.4vw, 136px); line-height: 1.35; background: linear-gradient(180deg, #fdcf48, #faa83e 60%, #faa83e55); -webkit-background-clip: text; background-clip: text; color: transparent; margin-block: auto 2px; }
.chap__mark .num, .chap__mark .ltr { font-weight: 700; }
.chap__title { font-size: clamp(22px, 2.1vw, 34px); line-height: 1.45; }
.chap__p { color: var(--dim); font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.85; max-width: 32em; }
.chap__media { position: relative; margin: 0; min-height: 260px; overflow: hidden; background: #000; }
.chap__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.82); transition: transform 1.4s var(--ease-out); }
.chap__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #13121000 40%, #1b1917cc); pointer-events: none; }
.chap__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.chap__media .vid__play { z-index: 2; }
.chap__card.is-on { border-color: #fdcf4855; }
.chap__card.is-on .chap__media img { transform: scale(1.04); }
@media (min-width: 901px) {
  .chap.is-h { padding-block: 0; }
  .chap.is-h .chap__pin { min-height: 100svh; display: flex; flex-direction: column; padding-block: calc(var(--nav-h) + 24px) 36px; }
  .chap.is-h .chap__meter { display: inline-flex; }
  .chap.is-h .chap__head { margin-block-end: clamp(18px, 3vh, 30px); }
  .chap.is-h .chap__head > div:first-child { max-width: none; }
  .chap.is-h .chap__head h2 { font-size: clamp(28px, 3.3vw, 50px); }
  .chap.is-h .chap__head .sub { margin-block-start: 6px; }
  .chap.is-h .chap__body { align-content: center; }
  .chap.is-h .chap__view { flex: 1; display: flex; min-height: 0; overflow: clip; margin-inline: calc(var(--pad) * -1); }
  .chap.is-h .chap__track { display: flex; gap: 16px; width: max-content; padding-inline: var(--pad); height: 100%; max-height: 640px; align-self: center; will-change: transform; }
  .chap.is-h .chap__card { flex: 0 0 auto; width: clamp(340px, 30vw, 500px); }
  .chap.is-h .chap__card--img { width: clamp(620px, 56vw, 980px); }
}

/* الأقسام ومسؤولوها: القائمة يميناً والمشهد الثابت يساراً */
.orb { z-index: 2; }
.orb__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.orb__list { border-block-start: 1px solid #ffffff17; }
.orb__item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 4px 20px; align-items: start; padding: clamp(18px, 3vh, 28px) 10px; border-block-end: 1px solid #ffffff17; transition: background .45s, padding .5s var(--ease-out); }
.orb__item::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 16px; width: 3px; border-radius: 3px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease-out); }
.orb__item.is-on { background: linear-gradient(90deg, #fdcf4800, #fdcf4810); padding-inline-start: 22px; }
.orb__item.is-on::before { transform: none; }
.orb__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #ffffff22; color: var(--g2); transition: background .4s, color .4s, border-color .4s; }
.orb__ico svg { width: 24px; height: 24px; }
.orb__item.is-on .orb__ico { background: var(--gold); color: var(--on-gold); border-color: #0000; }
.orb__title { font-size: clamp(21px, 2vw, 31px); line-height: 1.45; }
.orb__title a::after { content: ""; position: absolute; inset: 0; }
.orb__title a { transition: color .3s; } .orb__item.is-on .orb__title a { color: var(--g2); } @media (hover: hover) { .orb__item:hover .orb__title a { color: var(--g2); } }
.orb__lead { margin-block-start: 4px; font-size: 15px; line-height: 1.7; color: var(--faint); }
.orb__lead b { color: var(--ink); font-weight: 600; }
.orb__lead small { display: block; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.orb__svcs { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 12px; }
.orb__svcs li { font-size: 13.5px; line-height: 1.7; padding: 3px 12px; border-radius: 999px; border: 1px solid #ffffff1a; color: var(--dim); transition: border-color .4s, color .4s; }
.orb__item.is-on .orb__svcs li { border-color: #fdcf4840; color: var(--ink); }
.orb__go { align-self: center; color: var(--g2); font-size: 20px; line-height: 1.4; opacity: .4; transition: opacity .3s, transform .3s; }
.orb__item.is-on .orb__go { opacity: 1; transform: translateX(-4px); } @media (hover: hover) { .orb__item:hover .orb__go { opacity: 1; transform: translateX(-4px); } }
.orb__stage { position: sticky; inset-block-start: calc(var(--nav-h) + 26px); aspect-ratio: 4 / 4.7; max-height: calc(100svh - var(--nav-h) - 60px); width: 100%; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--surface); box-shadow: 0 0 0 1px #ffffff12, 0 50px 100px -40px #000; }
.orb__stage::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a), #0000 0 70%, #faa83e 82%, #fff3c4 88%, #fdcf48 92%, #0000 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: beam 5s linear infinite; }
.orb__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(46% 34% at 50% 34%, #131210c4, #13121000 72%), linear-gradient(0deg, #131210f2 4%, #13121066 46%, #13121040 100%); }
.orb__img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.orb__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: saturate(.85) brightness(.6); transition: transform 1.6s var(--ease-out); }
.orb__img.is-on { opacity: 1; } .orb__img.is-on img { transform: none; }
.orb__sym { position: absolute; z-index: 2; inset-inline: 16%; inset-block-start: 9%; height: 50%; }
.orb__no { position: absolute; z-index: 3; inset-inline-start: 26px; inset-block-end: 14px; font-size: clamp(72px, 8vw, 140px); font-weight: 700; line-height: 1.35; color: #0000; -webkit-text-stroke: 1px #fdcf4899; }
.orb__ring { position: absolute; z-index: 2; inset-inline-start: 26px; inset-block-end: 30px; width: 54px; height: 54px; border-radius: 50%; border: 1px dashed #fdcf4866; animation: orbit-spin 14s linear infinite; }
.orb__mgmt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-block-start: clamp(26px, 5vh, 48px); padding: 18px 24px; border-radius: 24px; border: 1px solid #ffffff12; background: #161412; }
.orb__mgmt-k { font-size: 13px; line-height: 1.7; color: var(--g2); padding: 3px 12px; border: 1px solid #fdcf4838; border-radius: 999px; }
.orb__mgmt ul { display: flex; flex-wrap: wrap; gap: 6px 26px; flex: 1; }
.orb__mgmt li { display: grid; font-size: 15px; line-height: 1.7; }
.orb__mgmt li b { font-family: var(--f-display); font-weight: 500; } .orb__mgmt li span { color: var(--faint); font-size: 13.5px; }
.orb__team { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--g2); font-size: 15.5px; line-height: 1.6; }

/* الالتزامات: صفوف برقم ذهبي ضخم */
.pls { z-index: 2; }
.pls__list { border-block-start: 1px solid #ffffff17; }
.pl { position: relative; display: grid; grid-template-columns: minmax(240px, 420px) minmax(0, 1fr); align-items: center; gap: 12px clamp(24px, 5vw, 90px); padding-block: clamp(24px, 4.5vh, 50px); border-block-end: 1px solid #ffffff12; }
.pl::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; height: 1px; background: linear-gradient(270deg, var(--g2), #fdcf4800); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 1.4s var(--ease-out); }
.pl.is-in::after { transform: none; }
.pl__fig { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.pl__v { font-size: clamp(84px, 11vw, 196px); font-weight: 700; line-height: 1.4; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 1.1s var(--ease-out), opacity .8s; }
.pl__u { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.5; color: var(--dim); }
.js .pl:not(.is-in) .pl__v { opacity: 0; transform: translateY(30%); }
.pl__t { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.45; margin-block-end: 8px; }
.pl__txt p { color: var(--dim); max-width: 34em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.85; }

@media (max-width: 900px) {
  .chero { min-height: 0; padding-block-end: 40px; }
  .chero__grid { grid-template-columns: 1fr; gap: 6px; padding-block: 0; }
  .chero__visual { order: -1; width: min(100%, 420px); aspect-ratio: 1.45; max-height: 30svh; }
  .chero__svg { inset: 30% 36%; }
  .chero__orbits i { width: 70%; height: 34%; margin: -17% -35% 0 0; }
  .chero__title { font-size: clamp(36px, 10.4vw, 58px); }
  .chero__cta { width: 100%; } .chero__cta .btn { width: 100%; }
  .chero .cue { display: none; }
  .chero__hud > span:first-child, .chero__hud > span:last-child { display: none; }
  .mani { padding-block: 70px; }
  .mani__text { font-size: clamp(23px, 6.4vw, 32px); line-height: 1.7; }
  .chap__card--img { grid-template-columns: 1fr; }
  .chap__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .chap__media::after { background: linear-gradient(0deg, #1b1917cc, #13121000 50%); }
  .chap__mark { font-size: clamp(56px, 17vw, 92px); }
  .orb__grid { grid-template-columns: 1fr; }
  .orb__stage { display: none; }
  .orb__item { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding-inline: 4px; }
  .orb__item.is-on { padding-inline-start: 14px; }
  .orb__ico { width: 44px; height: 44px; } .orb__ico svg { width: 21px; height: 21px; }
  .orb__go { display: none; }
  /* سطر الإدارة: عمود واحد، كل شخص في صف كامل (كان ثلاثة أعمدة تكسر الأسماء كلمة كلمة) */
  .orb__mgmt { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; padding: 16px; }
  .orb__mgmt-k, .orb__team { align-self: flex-start; }
  .orb__mgmt ul { flex: none; flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .pl { grid-template-columns: 1fr; gap: 2px; }
  .pl__v { font-size: clamp(72px, 22vw, 110px); }
}
/* أثناء مرور الفصول أفقياً يختفي الشريط الجانبي فلا يغطي الكروت */
.is-hscroll .rail { opacity: 0; pointer-events: none; }
.rail { transition: opacity .4s; }
@media (prefers-reduced-motion: reduce) { .chero__orbits, .orb__ring { animation: none; } .chero__answer, .chero__cta { animation: none; } }

/* ---------- 2.3-هـ (تكملة): الفريق، المدير التنفيذي، التواصل، الأسئلة، المدونة، الخدمات، القانونية ---------- */
/* الهيرو: مشاهد إضافية، وصورة شخص حقيقية مكان المشهد */
.chero--map .chero__visual { aspect-ratio: 1.45; }
.chero--cycle .chero__cap { font-family: var(--f-display); font-weight: 500; font-size: clamp(15px, 1.2vw, 18px); color: var(--g2); }
.chero__visual--photo { margin: 0; position: relative; width: min(100%, 500px); aspect-ratio: 4 / 5; max-height: 74svh; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--surface); box-shadow: 0 0 0 1px #ffffff14, 0 60px 120px -50px #000; }
.chero__visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; z-index: -2; filter: saturate(.82) sepia(.12) contrast(1.04) brightness(.9); }
.chero__visual--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #131210f0 4%, #13121033 44%, #13121000 70%), radial-gradient(80% 60% at 50% 0%, #6b3f0a33, #0000 70%); }
.chero__visual--photo::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a), #0000 0 70%, #faa83e 82%, #fff3c4 88%, #fdcf48 92%, #0000 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: beam 5s linear infinite; }
.chero__visual--photo .chero__cap { z-index: 4; inset-block-end: 18px; inset-inline: 22px; text-align: start; color: var(--ink); font-size: 14px; }
.chero--photo .chero__visual--photo { justify-self: center; }

/* فهرس الفريق: أسماء كبيرة، والصورة أو الحرف الأول يطفو بجانب المؤشر */
.pidx { z-index: 2; }
.pidx__group + .pidx__group { margin-block-start: clamp(36px, 7vh, 70px); }
.pidx__k { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.7; color: var(--g2); margin-block-end: 8px; }
.pidx__k .num { color: var(--faint); }
.pidx__list { border-block-start: 1px solid #ffffff17; }
.pidx__row { position: relative; display: grid; grid-template-columns: 64px 36px minmax(0, 1.25fr) minmax(0, 1fr) auto; grid-template-areas: "av no who q dept"; align-items: center; gap: 10px 22px; padding: clamp(16px, 2.6vh, 28px) 6px; border-block-end: 1px solid #ffffff17; isolation: isolate; }
.pidx__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fdcf4800, #fdcf4812); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out); }
@media (hover: hover) { .pidx__row:hover::before { transform: none; } }
.pidx__av { grid-area: av; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #6b3f0a66, #131210 72%); border: 1px solid #fdcf4833; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.4; color: var(--g2); }
.pidx__av img { width: 100%; height: 100%; object-fit: cover; }
.pidx__no { grid-area: no; font-size: 14px; color: var(--faint); }
.pidx__who { grid-area: who; min-width: 0; }
.pidx__name { font-size: clamp(24px, 3.1vw, 48px); line-height: 1.4; transition: transform .6s var(--ease-out), color .4s; }
@media (hover: hover) { .pidx__row:hover .pidx__name { color: var(--g2); transform: translateX(-12px); } }
.pidx__name a { text-decoration: underline; text-decoration-color: #fdcf4855; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.pidx__role { color: var(--dim); font-size: 15px; line-height: 1.7; }
.pidx__q { grid-area: q; color: var(--faint); font-size: 14.5px; line-height: 1.7; }
.pidx__dept { grid-area: dept; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #ffffff22; color: var(--dim); font-size: 13.5px; line-height: 1.7; white-space: nowrap; transition: border-color .3s, color .3s; }
a.pidx__dept:focus-visible { border-color: var(--g2); color: var(--ink); } @media (hover: hover) { a.pidx__dept:hover { border-color: var(--g2); color: var(--ink); } }
.pidx__float { position: fixed; top: 0; left: 0; z-index: 9; width: clamp(220px, 19vw, 290px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .3s; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, #fdcf4826 0 1.2px, #0000 1.6px) 0 0 / 14px 14px, radial-gradient(60% 50% at 50% 40%, #6b3f0a66, #131210 72%); box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #fdcf4840; }
.pidx__float.is-on { opacity: 1; }
.pidx__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.pidx__float.has-img img { opacity: 1; }
.pidx__ini { font-family: var(--f-display); font-weight: 700; font-size: clamp(110px, 9vw, 150px); line-height: 1.35; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px #faa83e66); }
.pidx__fname { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 44px 16px 14px; background: linear-gradient(0deg, #131210f0, #13121000); font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.5; }
.pidx__soon { position: absolute; inset-block-start: 14px; inset-inline: 14px; padding: 2px 10px; border-radius: 999px; border: 1px dashed #fdcf4855; background: #131210b8; color: var(--dim); font-size: 12px; line-height: 1.6; text-align: center; }
.pidx__float.has-img .pidx__ini, .pidx__float.has-img .pidx__soon { display: none; }
@media (hover: none), (pointer: coarse) { .pidx__float { display: none; } }

/* في سطور */
.facts { z-index: 2; }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.fact { padding: 22px 24px; border-radius: 24px; background: #1b1917; border: 1px solid #ffffff12; }
.fact dt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.7; color: var(--g2); }
.fact dt .num { color: var(--faint); }
.fact dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.7; }
.facts__chips { margin-block-start: 28px; }
.facts__h { font-size: clamp(18px, 1.5vw, 22px); margin-block-end: 12px; }
.facts__chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.facts__chips li { padding: 8px 18px; border-radius: 999px; border: 1px solid #fdcf4840; background: #fdcf480d; font-size: 15px; line-height: 1.7; }
.facts__links { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-block-start: 22px; }
.facts__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--g2); font-size: 15.5px; line-height: 1.7; }

/* قنوات التواصل */
.chn { z-index: 2; }
.chn__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ch { position: relative; display: grid; align-content: start; gap: 8px; padding: clamp(22px, 2.8vw, 36px); border-radius: 30px; background: #1b1917; border: 1px solid #ffffff12; overflow: hidden; isolation: isolate; }
.ch--wa { grid-row: span 3; background: radial-gradient(70% 60% at 100% 0%, #6b3f0a55, #0000 70%), #1b1917; border-color: #fdcf4855; }
.ch--wa::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a), #0000 0 70%, #faa83e 82%, #fff3c4 88%, #fdcf48 92%, #0000 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: beam 6s linear infinite; }
.ch__k { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.7; color: var(--dim); }
.ch__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fdcf4814; color: var(--g2); }
.ch__ico svg { width: 20px; height: 20px; }
.ch--wa .ch__ico { background: #25d366; color: #fff; }
.ch__tag { margin-inline-start: auto; padding: 2px 12px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 12.5px; line-height: 1.7; font-weight: 600; }
.ch__v { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; font-family: var(--f-num); font-weight: 700; font-size: clamp(22px, 2.3vw, 36px); line-height: 1.4; color: var(--ink); transition: color .3s; }
a.ch__v:focus-visible { color: var(--g2); } @media (hover: hover) { a.ch__v:hover { color: var(--g2); } }
.ch--wa .ch__v { font-size: clamp(28px, 3.2vw, 52px); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch__t { color: var(--dim); font-size: 15.5px; line-height: 1.8; }
.ch .pick { justify-items: start; margin-block-start: 14px; }
.ch .pick__q { text-align: start; }
.ch .pick__chips { justify-content: flex-start; }
.ch__btn { justify-self: start; margin-block-start: 12px; }
.ch__addr { font-style: normal; color: var(--ink); font-size: 16px; line-height: 1.9; }
.chn__after { margin-block-start: clamp(30px, 6vh, 56px); }
.chn__after-h { font-size: clamp(20px, 1.8vw, 26px); margin-block-end: 16px; }
.chn + .cform { padding-block-start: 0; }

/* الأسئلة الشائعة: بحث وتصنيفات ثابتة بجانب الأسئلة */
.faq--tools { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.qtools { position: sticky; inset-block-start: calc(var(--nav-h) + 26px); display: grid; gap: 14px; }
.qtools__search { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 20px; border-radius: 999px; border: 1px solid #ffffff26; background: #131210; transition: border-color .3s; }
.qtools__search:focus-within { border-color: var(--g2); }
.qtools__ico { display: grid; place-items: center; color: var(--faint); } .qtools__ico svg { width: 20px; height: 20px; }
.qtools__search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; outline: none; }
.qtools__chips { display: grid; gap: 6px; }
.qtools__chips .chip { justify-content: space-between; width: 100%; }
.qas--num { counter-reset: q; }
.qas--num .qa { counter-increment: q; }
.qas--num .qa summary::before { content: counter(q, decimal-leading-zero); flex: none; min-width: 30px; font-family: var(--f-num); font-weight: 500; font-size: 14px; color: var(--g2); }
.qas--num .qa summary { justify-content: flex-start; } .qas--num .qa summary i { margin-inline-start: auto; }
.qa[hidden] { display: none; }
.qtools__empty { grid-column: 2; margin-block-start: 14px; padding: 20px 22px; border-radius: 20px; border: 1px dashed #fdcf4855; color: var(--dim); line-height: 1.8; }
.qtools__empty[hidden] { display: none; }

/* فهرس الخدمات */
.cat { z-index: 2; }
.cat__chips { margin-block-end: 22px; }
.cat__grid { columns: 3 300px; column-gap: 14px; }
.catd { display: grid; gap: 10px; break-inside: avoid; margin-block-end: 14px; padding: 24px; border-radius: 28px; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .4s; }
.catd[hidden] { display: none; }
.catd:focus-within { border-color: #fdcf4855; } @media (hover: hover) { .catd:hover { border-color: #fdcf4855; } }
.catd__head { display: flex; align-items: center; gap: 12px; }
.catd__ico { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); }
.catd__ico svg { width: 22px; height: 22px; }
.catd__title { flex: 1; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; }
.catd__title a { transition: color .3s; } @media (hover: hover) { .catd__title a:hover { color: var(--g2); } }
.catd__n { font-size: 14px; color: var(--faint); }
.catd__lead { font-size: 14px; line-height: 1.7; color: var(--faint); } .catd__lead b { color: var(--ink); font-weight: 600; }
.catd__list { border-block-start: 1px solid #ffffff10; }
.catd__list li { min-height: 48px; padding-block: 10px; border-block-end: 1px solid #ffffff0d; font-size: 16px; line-height: 1.7; }
.catd__list a { color: var(--g2); text-decoration: underline; text-decoration-color: #fdcf4855; text-underline-offset: 5px; } /* روابط تضيفها Internal Link Juicer داخل النص تبقى في السطر */
.catd__list .catd__go { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-block: -10px; text-decoration: none; }
.catd__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--g2); font-size: 15px; line-height: 1.7; }
.cat.is-one .cat__grid { columns: 1; max-width: 760px; }

/* القانونية: فهرس جانبي ثابت، وسطر قراءة مريح، وشريط تقدم القراءة */
.readbar { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 45; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; pointer-events: none; }
@supports (animation-timeline: scroll()) { .readbar { animation: readbar linear both; animation-timeline: scroll(root); } }
@supports not (animation-timeline: scroll()) { .readbar { display: none; } }
@keyframes readbar { to { transform: scaleX(1); } }
.legal { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.legal__toc { position: sticky; inset-block-start: calc(var(--nav-h) + 24px); max-height: calc(100svh - var(--nav-h) - 60px); overflow: auto; padding: 18px 20px; border-radius: 24px; background: #1b1917; border: 1px solid #ffffff12; }
.legal__toc-h { font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.7; margin-block-end: 6px; }
.legal__toc a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 6px; border-block-start: 1px solid #ffffff0d; color: var(--dim); font-size: 14.5px; line-height: 1.7; transition: color .3s; }
@media (hover: hover) { .legal__toc a:hover { color: var(--g2); } }
.legal__toc .num { flex: none; font-size: 13px; color: var(--g2); }
.legal__body { max-width: 72ch; font-size: 18px; line-height: 2; }
.legal__body h2 { display: flex; align-items: baseline; gap: 14px; padding-block-start: 18px; border-block-start: 1px solid #ffffff12; }
.legal__n { flex: none; font-size: .62em; color: var(--g2); }
@media print { .nav, .rail, .dock, .footer, .readbar, #core, .core-over, .grain, .cursor, .legal__toc { display: none !important; } html, body { background: #fff; color: #111; } .prose { color: #111; } }

/* المدونة: هيرو بأرقامها الحقيقية وأقسامها، وأحدث مقال بطاقة كبيرة */
.bhero { padding-block-end: clamp(26px, 5vh, 54px); }
.bhero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; gap: 24px 60px; }
.bhero__title { font-size: clamp(40px, 6vw, 104px); }
.bhero__stats { display: flex; gap: 12px; }
.bhero__stat { display: grid; min-width: 150px; padding: 18px 22px; border-radius: 24px; background: #1b1917b3; border: 1px solid #ffffff12; }
.bhero__stat span { font-size: 13.5px; line-height: 1.7; color: var(--faint); }
.bhero__stat b { font-size: clamp(34px, 3.4vw, 58px); font-weight: 700; line-height: 1.4; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bhero__secs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 28px; }
.bhero__secs .chip { gap: 8px; }
.bhero__ico { display: grid; place-items: center; color: var(--g2); } .bhero__ico svg { width: 18px; height: 18px; }
.bfeat { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); margin-block-end: 14px; border-radius: 32px; overflow: hidden; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .4s; }
.bfeat:focus-within { border-color: #fdcf4866; } @media (hover: hover) { .bfeat:hover { border-color: #fdcf4866; } }
.bfeat__img { display: block; min-height: 340px; overflow: hidden; }
.bfeat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .bfeat:hover .bfeat__img img { transform: scale(1.04); } }
.bfeat__txt { display: grid; align-content: center; justify-items: start; gap: 12px; padding: clamp(24px, 3vw, 48px); }
.bfeat__k { font-size: 14px; line-height: 1.7; color: var(--faint); }
.bfeat__k a { position: relative; z-index: 2; color: var(--g2); text-decoration: underline; text-decoration-color: #fdcf4877; text-underline-offset: 4px; }
.bfeat__t { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.45; }
.bfeat__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) { .bfeat__t a:hover { color: var(--g2); } }
.bfeat__ex { color: var(--dim); font-size: 16px; line-height: 1.85; }
.bfeat__more { display: inline-flex; align-items: center; gap: 8px; color: var(--g2); font-size: 15px; }
@media (hover: hover) { .bfeat:hover .arrow { transform: translateX(-6px); } }
.bposts .posts__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bsecs { z-index: 2; }
.bsecs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.bsec { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "ico t arr" "ico n arr"; align-items: center; gap: 2px 16px; min-height: 96px; padding: 20px; border-radius: 24px; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .3s, background .3s; }
.bsec:focus-visible { border-color: #fdcf4866; background: #201d1a; } @media (hover: hover) { .bsec:hover { border-color: #fdcf4866; background: #201d1a; } }
.bsec__ico { grid-area: ico; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #fdcf4844; color: var(--g2); }
.bsec__ico svg { width: 24px; height: 24px; }
.bsec__no { position: absolute; inset-block-start: 12px; inset-inline-end: 16px; font-size: 12.5px; color: var(--faint); }
.bsec__t { grid-area: t; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.7; }
.bsec__n { grid-area: n; font-size: 14px; line-height: 1.7; color: var(--faint); }
.bsec .arrow { grid-area: arr; color: var(--g2); }
@media (hover: hover) { .bsec:hover .arrow { transform: translateX(-6px); } }

@media (max-width: 900px) {
  .chero__visual--photo { order: -1; width: min(78vw, 340px); aspect-ratio: 4 / 4.6; max-height: 46svh; }
  .chero--map .chero__visual { aspect-ratio: 1.5; max-height: 30svh; }
  .pidx__row { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "av who" "av q" "av dept"; gap: 2px 14px; align-items: start; }
  .pidx__av { width: 56px; height: 56px; font-size: 22px; }
  .pidx__no { display: none; }
  .pidx__name { font-size: clamp(22px, 6.4vw, 30px); }
  @media (hover: hover) { .pidx__row:hover .pidx__name { transform: none; } }
  .pidx__dept { justify-self: start; margin-block-start: 6px; }
  .chn__grid { grid-template-columns: 1fr; }
  .ch--wa { grid-row: auto; }
  .ch__btn { justify-self: stretch; }
  .faq--tools { grid-template-columns: 1fr; }
  .qtools { position: static; }
  .qtools__chips { display: flex; flex-wrap: wrap; }
  .qtools__chips .chip { width: auto; justify-content: center; }
  .qtools__empty { grid-column: auto; }
  .cat__grid { columns: 1; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; max-height: none; }
  .legal__body { font-size: 17px; line-height: 1.95; }
  .bhero__grid { grid-template-columns: 1fr; }
  .bhero__stat { min-width: 0; flex: 1; }
  .bfeat { grid-template-columns: 1fr; }
  .bfeat__img { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ===== هيرو الأقسام «المسرح» (2.3-ح، اعتمده المالك 2026-10-27) =====
   نظام واحد للأقسام السبعة: مسار التنقل، سطر القسم، H1 (جزء منه ذهبي)، الإجابة المباشرة، الأزرار، سطر الطمأنة؛ وعلى اليسار «المسرح»:
   إطار واحد (شريط، مشهد، تذييل فيه مسؤول القسم وعدد خدماته) ومشهد مختلف لكل قسم (inc/stage.php). HTML وCSS بلا صور ولا WebGL،
   فلا ينافس H1 على LCP. الحركة: assets/js/stage.js (تتوقف خارج الشاشة وعند إخفاء التبويب؛ تقليل الحركة = المشهد مكتمل ساكن).
   المصدر: design-system/concepts/2.3h/hero.css؛ كل قواعد المشهد داخل .stage. */
.sh { position: relative; z-index: 2; min-height: min(100svh, 940px); display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(28px, 4.6vw, 84px);
  padding: calc(var(--nav-h) + 34px) var(--pad) clamp(40px, 7vh, 84px); overflow: clip; isolation: isolate; }
.sh::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5; background: linear-gradient(#ffffff06 1px, #0000 1px) 0 0 / 100% 64px, linear-gradient(90deg, #ffffff06 1px, #0000 1px) 0 0 / 64px 100%;
  -webkit-mask: radial-gradient(55% 60% at 26% 52%, #000, #0000); mask: radial-gradient(55% 60% at 26% 52%, #000, #0000); }
.sh::after { content: ""; position: absolute; z-index: -1; inset-inline-end: -10%; inset-block-start: 8%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #faa83e1f, #0000); filter: blur(10px); pointer-events: none; }
.sh__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; line-height: 1.7; color: var(--faint); margin-block-end: 22px; }
.sh__crumbs li { display: flex; align-items: center; gap: 8px; }
.sh__crumbs li + li::before { content: "›"; color: #5d564c; }
.sh__crumbs a { color: var(--dim); display: inline-flex; min-height: 32px; align-items: center; }
.sh__crumbs [aria-current] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
.sh__crumbs a:hover { color: var(--g2); }
}
.sh__kicker { display: flex; align-items: center; gap: 14px; margin-block-end: 18px; }
.sh__ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--on-gold); background: var(--gold); box-shadow: 0 10px 30px -10px #faa83ecc, inset 0 1px 0 #fff8; }
.sh__ico svg { width: 22px; height: 22px; }
.sh__kicker b { font-family: var(--f-display); font-weight: 500; font-size: 15px; line-height: 1.7; color: var(--g2); display: block; }
.sh__kicker small { display: block; font-size: 12.5px; line-height: 1.7; color: var(--faint); }
.sh__kicker small .num { color: var(--dim); }
.sh__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.25vw, 66px); line-height: 1.35; text-wrap: balance; }
.sh__answer { margin-block-start: 20px; max-width: 36em; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.85; color: #d3cbbd; padding-inline-start: 18px; border-inline-start: 2px solid #fdcf4866; }
.sh__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.sh__note { margin-block-start: 12px; font-size: 13.5px; line-height: 1.7; color: var(--faint); }
/* ===== المسرح (واحد لكل الأقسام) ===== */
.stage { position: relative; width: 100%; max-width: 800px; justify-self: center; container-type: size; aspect-ratio: 1 / 1.04; max-height: calc(100svh - var(--nav-h) - 70px); min-height: 520px; border-radius: 30px; isolation: isolate;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: linear-gradient(165deg, #201d19, #141210 60%); box-shadow: 0 0 0 1px #ffffff12, 0 60px 120px -50px #000, inset 0 1px 0 #ffffff0f; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a), #0000 0 70%, #faa83e 82%, #fff3c4 88%, #fdcf48 92%, #0000 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-a 7s linear infinite; }
@keyframes spin-a { to { --a: 360deg; } }
.stage__bar { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-block-end: 1px solid #ffffff0d; font-size: 13px; color: var(--faint); }
.stage__bar svg { width: 17px; height: 17px; flex: none; color: var(--g2); }
.stage__file { font-family: var(--f-mono); font-size: 12.5px; color: var(--dim); direction: ltr; }
.stage__cap { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; color: var(--dim); }
.stage__cap i { width: 7px; height: 7px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 0 0 #fdcf4880; animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px #fdcf4800; } 100% { box-shadow: 0 0 0 0 #fdcf4800; } }
.stage__body { position: relative; overflow: hidden; container-type: size; font-size: clamp(9.5px, min(2.47cqw, 2.37cqh), 20px); line-height: 1.6; transition: opacity .5s var(--ease); }
.stage.out .stage__body { opacity: 0; }
.stage__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 12px; border-block-start: 1px solid #ffffff0d; }
.stage .mgr { display: flex; align-items: center; gap: 12px; min-width: 0; }
.stage .mgr__av { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; padding: 2px; background: var(--gold); }
.stage .mgr__av img, .stage .mgr__av span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface); font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--g2); }
.stage .mgr__av::after { content: ""; position: absolute; inset-block-end: 1px; inset-inline-end: 1px; width: 11px; height: 11px; border-radius: 50%; background: #4ade80; border: 2px solid #171513; }
.stage .mgr small { display: block; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.stage .mgr b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 15.5px; line-height: 1.5; }
.stage__svcs { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #ffffff1c; font-size: 14px; white-space: nowrap; color: var(--ink); }
.stage__svcs .ico { width: 16px; height: 16px; color: var(--g2); }
@media (hover: hover) and (pointer: fine) {
.stage__svcs:hover { border-color: var(--g2); background: #fdcf480f; }
}
/* أدوات الخط الزمني: الحالة الساكنة = المشهد مكتملاً؛ .play تشغّل الدخول بالتأخيرات، .is-paused توقف كل شيء */
@keyframes sc-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes sc-pop { from { opacity: 0; transform: scale(.6); } 65% { opacity: 1; transform: scale(1.05); } }
@keyframes sc-fade { from { opacity: 0; } }
@keyframes sc-gx { from { transform: scaleX(0); } }
@keyframes sc-gy { from { transform: scaleY(0); } }
@keyframes sc-draw { from { stroke-dashoffset: 1; } }
@keyframes sc-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes sc-slide { from { opacity: 0; transform: translateX(var(--sx, -18px)); } }
@keyframes blink { 50% { opacity: 0; } }
.stage.play [data-a] { animation: var(--an, sc-rise) var(--du, .7s) var(--ez, cubic-bezier(.16, 1, .3, 1)) var(--d, 0s) both; }
.stage.is-paused *, .stage.is-paused *::before, .stage.is-paused *::after, .stage.is-paused::before { animation-play-state: paused !important; }
.stage .sc { position: absolute; inset: 0; }
.stage .card { position: absolute; border-radius: 1.2em; background: #12110fe6; border: 1px solid #ffffff14; box-shadow: 0 1.8em 3.6em -1.6em #000; }
.stage .chk { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: .8em; font-weight: 700; flex: none; }
.stage .chk::before { content: "✓"; }
/* ---- البرمجة: سطر كود يصير متجراً ---- */
.stage .code { position: absolute; left: 5%; top: 6%; width: 66%; padding: .8em 0 1em; border-radius: 1.2em; background: #0e0d0c; border: 1px solid #ffffff12; box-shadow: 0 2em 4em -1.6em #000; direction: ltr; text-align: left; }
.stage .code__tabs { display: flex; gap: 1.4em; padding: 0 1.2em .7em; border-block-end: 1px solid #ffffff0d; font-family: var(--f-mono); font-size: .82em; color: var(--faint); }
.stage .code__tabs .is-on { color: var(--ink); box-shadow: 0 .8em 0 -.62em var(--g2); }
.stage .code__lines { counter-reset: ln; padding: .7em 1em 0 0; font-family: var(--f-mono); font-size: .9em; line-height: 1.95; white-space: pre; }
.stage .code__lines li { counter-increment: ln; display: flex; }
.stage .code__lines li::before { content: counter(ln); width: 2.6em; flex: none; padding-inline-end: 1em; text-align: right; color: #5d564c; }
.stage .code__lines li > span.l { display: inline-block; }
.stage.play .code__lines li > span.l { animation: sc-type var(--du) steps(var(--c), end) var(--d) both; }
.stage .code__lines li:last-child > span.l::after { content: ""; display: inline-block; width: .55em; height: 1.15em; margin-inline-start: .15em; vertical-align: -.2em; background: var(--g2); animation: blink 1s steps(1) infinite; }
.stage .code .k { color: #fdcf48; }
.stage .code .s { color: #d8c7a3; }
.stage .code .t { color: #ede7db; }
.stage .code .a { color: #a39a8b; }
.stage .code .f { color: #faa83e; }
.stage .code .n { color: #fdcf48; }
.stage .code .p { color: #6f675b; }
.stage .dev { position: absolute; right: 4%; top: 37%; bottom: 5%; width: 50%; border-radius: 1.2em; background: #23201c; border: 1px solid #ffffff1a; box-shadow: 0 2.4em 5em -1.6em #000, 0 0 0 .5em #ffffff05; overflow: hidden; display: flex; flex-direction: column; gap: .65em; padding: 0 0 1em; }
.stage .dev__bar { display: flex; align-items: center; gap: .4em; height: 2.4em; padding: 0 .9em; background: #1a1815; border-block-end: 1px solid #ffffff0d; }
.stage .dev__bar i { width: .55em; height: .55em; border-radius: 50%; background: #ffffff1f; }
.stage .dev__url { margin-inline: auto; font-family: var(--f-mono); font-size: .72em; color: var(--faint); background: #ffffff0a; padding: .1em 1.2em; border-radius: 999px; direction: ltr; }
.stage .dev__nav, .stage .dev__hero, .stage .dev__grid, .stage .dev__pay { margin-inline: 1em; }
.stage .dev__nav { display: flex; align-items: center; gap: .6em; }
.stage .dev__nav b { width: 1.6em; height: 1.6em; border-radius: .5em; background: var(--gold); }
.stage .dev__nav i { height: .45em; width: 2.6em; border-radius: 1em; background: #ffffff26; }
.stage .dev__nav i:first-of-type { margin-inline-start: auto; }
.stage .dev__hero { padding: 1em; border-radius: .9em; background: radial-gradient(80% 120% at 0 0, #faa83e2e, #0000 60%), #2b2723; }
.stage .dev__hero i { display: block; height: .7em; border-radius: 1em; background: #ede7dbcc; width: 70%; }
.stage .dev__hero i + i { width: 46%; margin-block-start: .5em; background: #ede7db55; height: .5em; }
.stage .dev__hero b { display: inline-block; margin-block-start: .9em; height: 1.7em; width: 6em; border-radius: 999px; background: var(--gold); }
.stage .dev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.stage .dev__grid span { border-radius: .7em; background: #2b2723; padding: .4em .4em .6em; }
.stage .dev__grid span::before { content: ""; display: block; aspect-ratio: 4 / 3; border-radius: .5em; background: linear-gradient(160deg, #3a342d, #2b2723); margin-block-end: .5em; }
.stage .dev__grid span::after { content: ""; display: block; height: .4em; width: 70%; border-radius: 1em; background: #ffffff33; }
.stage .dev__grid span:nth-child(2)::before { background: linear-gradient(160deg, #fdcf4855, #2b2723); }
.stage .dev__pay { margin-block-start: auto; height: 2.2em; border-radius: 999px; background: var(--gold); display: grid; place-items: center; color: var(--on-gold); font-weight: 700; font-size: .8em; position: relative; }
.stage .dev__pay::after { content: ""; position: absolute; inset: -.3em; border-radius: inherit; border: 2px solid #fdcf48; opacity: 0; }
.stage.play .dev__pay::after { animation: ripple .9s 6.1s var(--ease-out) both; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.18); } }
.stage .ptr { position: absolute; right: 27%; bottom: 7.5%; width: 1.9em; filter: drop-shadow(0 .3em .6em #000); opacity: 0; }
.stage.play .ptr { animation: ptr 1.6s 4.9s var(--ease-out) both; }
@keyframes ptr { 0% { opacity: 0; transform: translate(-6em, -9em); } 25% { opacity: 1; } 80% { transform: none; } 88% { transform: scale(.86); } 100% { opacity: 1; transform: none; } }
.stage .toast { left: 5%; bottom: 8%; display: flex; align-items: center; gap: .7em; padding: .75em 1.1em; font-size: .92em; color: var(--ink); border-color: #fdcf4840; }
/* ---- الأبحاث: صفحات ومراجع وملاحظات ---- */
.stage .paper { position: absolute; right: 6%; top: 8%; width: 50%; height: 80%; border-radius: .9em; background: #ebe4d6; box-shadow: 0 2.4em 4.6em -1.6em #000; }
.stage .paper--3 { transform: rotate(-6deg) translate(-4%, 3%); background: #c9c1b2; }
.stage .paper--2 { transform: rotate(3.5deg) translate(3%, 1%); background: #d9d1c2; }
.stage .paper--1 { padding: 1.5em 1.5em 1em; color: #2a2520; overflow: hidden; }
.stage .paper__run { display: flex; justify-content: space-between; font-size: .72em; color: #8a7f6e; padding-block-end: .5em; border-block-end: 1px solid #cfc5b4; }
.stage .paper__h { font-family: var(--f-display); font-weight: 700; font-size: 1.05em; line-height: 1.5; color: #1d1914; margin: .8em 0 .5em; }
.stage .pp-ln { position: relative; display: flex; align-items: center; gap: .5em; margin: .72em 0; }
.stage .pp-ln i { display: block; height: .5em; border-radius: 3px; background: #2a252033; width: var(--w, 90%); }
.stage .pp-ln.hl i { background: #2a25204d; }
.stage .pp-ln.hl::before { content: ""; position: absolute; inset-inline-start: -.3em; inset-block: -.3em; width: calc(var(--w, 90%) + .6em); border-radius: .3em; background: #fdcf4870; transform-origin: right; z-index: -0; mix-blend-mode: multiply; }
.stage.play .pp-ln.hl::before { animation: sc-gx .8s 1.4s var(--ease-out) both; }
.stage .cite { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .3em; border-radius: .5em; background: #faa83e; color: #1a1507; font-size: .7em; font-weight: 700; font-family: var(--f-display); }
.stage .tbl { margin-block-start: 1em; display: grid; grid-template-columns: 1.4fr 1fr 1fr; border: 1px solid #cfc5b4; border-radius: .4em; overflow: hidden; }
.stage .tbl i { height: 1.5em; border-block-end: 1px solid #ddd4c5; border-inline-end: 1px solid #ddd4c5; background: linear-gradient(#2a252026, #2a252026) center / 60% .38em no-repeat; }
.stage .tbl i:nth-child(-n+3) { background-color: #2a25200f; }
.stage .steps { position: absolute; left: 4%; top: 5%; width: 38%; display: grid; gap: .45em; }
.stage .steps li { display: flex; align-items: center; gap: .6em; padding: .45em .8em; border-radius: 999px; background: #ffffff08; border: 1px solid #ffffff10; font-size: .86em; color: var(--dim); }
.stage .steps li.is-done { color: var(--ink); }
.stage .steps li .spin { width: 1.45em; height: 1.45em; border-radius: 50%; border: 2px solid #fdcf4833; border-top-color: var(--g2); animation: spin 1s linear infinite; flex: none; }
.stage .steps li .dot { width: 1.45em; height: 1.45em; border-radius: 50%; border: 1.5px dashed #ffffff30; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage .note { left: 4%; top: 40.5%; width: 40%; padding: .9em 1em; display: flex; gap: .7em; border-color: #fdcf4840; }
.stage .note__av { width: 2.2em; height: 2.2em; flex: none; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; }
.stage .note b { display: block; font-size: .82em; color: var(--g2); font-weight: 500; }
.stage .note p { font-size: .86em; line-height: 1.65; color: var(--ink); }
.stage .link { position: absolute; left: 43%; top: 44%; width: 16%; height: 10%; overflow: visible; }
.stage .link.is-wired { left: 0; top: 0; width: 100%; height: 100%; }
.stage .link path { fill: none; stroke: #fdcf48; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.stage.play .link path { animation: sc-draw .7s 3.6s var(--ease-out) both; }
.stage .refs { left: 4%; bottom: 7%; width: 40%; padding: .9em 1em; }
.stage .refs b { display: block; font-family: var(--f-display); font-size: .9em; margin-block-end: .4em; }
.stage .refs li { display: grid; grid-template-columns: 1.4em 1fr; gap: .2em .4em; margin: .45em 0; font-size: .78em; color: var(--faint); }
.stage .refs li i { grid-column: 2; display: block; height: .42em; border-radius: 3px; background: #ffffff1f; width: var(--w, 90%); }
.stage .refs li i + i { width: calc(var(--w, 90%) - 25%); background: #ffffff12; }
/* ---- التسويق: القنوات ← حملتك ← رسائل عملائك على واتساب، بخيوط ضوء تسري بينها (21st.dev: Animated Beam Integration، Syed) ----
   صندوق بنسبة ثابتة يملأ المسرح (cqw/cqh)، فتنطبق إحداثيات الخيوط (viewBox 400×340) على مواضع العقد دون تشوّه. */
.stage .mk { position: absolute; left: 50%; top: 50%; width: min(100cqw, 117.6cqh); aspect-ratio: 400 / 340; translate: -50% -50%; }
.stage .mk svg.beams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage .beams .mk-rail { fill: none; stroke: #fdcf482e; stroke-width: 1.6; }
.stage .beams .mk-flow { fill: none; stroke: url(#mk-b); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 16 84; stroke-dashoffset: 100; opacity: 0; }
.stage.play .beams .mk-rail { stroke-dasharray: 1; animation: sc-draw .9s var(--d) var(--ease-out) both; }
.stage.play .beams .mk-flow { animation: beam 2.2s var(--bd, 0s) linear infinite, sc-fade .5s 1.9s both; opacity: 1; }
@keyframes beam { to { stroke-dashoffset: 0; } }
.stage .mk .mk-ch { position: absolute; width: 3.4em; aspect-ratio: 1; translate: 50% -50%; font-size: .78em; color: var(--dim); }
.stage .mk .mk-ch small { position: absolute; inset-block-start: calc(100% + .4em); left: 50%; translate: -50% 0; font-size: 1em; line-height: 1.4; white-space: nowrap; }
.stage .mk .mk-ch > span { position: absolute; inset: 0; border-radius: 1em; display: grid; place-items: center; background: #12110f; border: 1px solid #ffffff1c; color: var(--g2); box-shadow: 0 1em 2em -1em #000; }
.stage .mk .mk-ch > span svg { width: 46%; height: 46%; }
.stage .mk .mk-hub { position: absolute; left: 56.25%; top: 45.6%; width: 21%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: .1em;
  background: radial-gradient(circle at 50% 35%, #2b2419, #12110f 70%); border: 1px solid #fdcf4866; box-shadow: 0 0 0 .5em #fdcf480a, 0 0 3em -.5em #faa83e66; font-size: .78em; color: var(--ink); }
.stage .mk .mk-hub svg { width: 2.6em; height: 2.6em; color: var(--g2); }
.stage .mk .mk-hub::before, .stage .mk .mk-hub::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid #fdcf4840; animation: ring 3s var(--ease-out) infinite; }
.stage .mk .mk-hub::after { animation-delay: 1.5s; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.stage .inbox { left: 3%; top: 45.6%; translate: 0 -50%; width: 37%; padding: .8em .8em .6em; }
.stage .inbox header { display: flex; align-items: center; gap: .5em; font-size: .84em; padding-block-end: .55em; margin-block-end: .3em; border-block-end: 1px solid #ffffff10; }
.stage .inbox header svg { width: 1.5em; height: 1.5em; color: #4ade80; }
.stage .inbox header i { margin-inline-start: auto; width: .55em; height: .55em; border-radius: 50%; background: #4ade80; box-shadow: 0 0 .6em #4ade80; }
.stage .inbox ul { display: grid; gap: .4em; }
.stage .msg { display: grid; grid-template-columns: 2.1em 1fr auto; align-items: center; gap: .55em; padding: .45em .5em; border-radius: .8em; background: #ffffff07; font-size: .8em; line-height: 1.45; }
.stage .msg:last-child { background: #fdcf4812; box-shadow: inset 0 0 0 1px #fdcf4833; }
.stage .msg b { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; background: #2b2723; color: var(--dim); }
.stage .msg b svg { width: 58%; height: 58%; }
.stage .msg span { min-width: 0; }
.stage .msg span small { display: block; color: var(--faint); font-size: .88em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage .msg time { font-size: .82em; color: var(--faint); align-self: start; }
.stage .rep { position: absolute; left: 3%; right: 3%; bottom: 3%; display: flex; align-items: center; gap: .6em; padding: .6em .9em; border-radius: 999px; background: #12110fe6; border: 1px solid #ffffff14; font-size: .8em; color: var(--dim); }
.stage .rep > b { color: var(--ink); font-weight: 500; margin-inline-end: auto; }
.stage .rep span { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
/* ---- التصميم: خطوط وأشكال تتشكل علامةً ---- */
.stage .dz-art { position: absolute; right: 15%; left: 5%; top: 6%; bottom: 27%; border-radius: 1.2em; overflow: hidden; background: radial-gradient(#ffffff14 1px, #0000 1.4px) 0 0 / 1.6em 1.6em, #0e0d0c; border: 1px solid #ffffff12; }
.stage .dz-art::before, .stage .dz-art::after { content: ""; position: absolute; background: #161412; z-index: 1; }
.stage .dz-art::before { inset-inline: 0; inset-block-start: 0; height: 1.3em; border-block-end: 1px solid #ffffff10; background: repeating-linear-gradient(90deg, #ffffff26 0 1px, #0000 1px 1.6em) bottom / 100% 40% no-repeat, #161412; }
.stage .dz-art::after { inset-block: 0; inset-inline-end: 0; width: 1.3em; border-inline-start: 1px solid #ffffff10; background: repeating-linear-gradient(#ffffff26 0 1px, #0000 1px 1.6em) left / 40% 100% no-repeat, #161412; }
.stage .mark { position: absolute; left: 50%; top: 50%; width: 76%; aspect-ratio: 490 / 285; transform: translate(-50%, -50%); overflow: visible; }
.stage .mark .cons { fill: none; stroke: #ffffff30; stroke-width: 1.3; stroke-dasharray: 1; }
.stage .mark .guide { stroke: #fdcf4840; stroke-width: 1.3; stroke-dasharray: 7 7; }
.stage .mark .body { stroke: #fdcf48; stroke-width: 2.4; stroke-dasharray: 2268; stroke-linejoin: round; }
.stage .mark .anc { fill: #0e0d0c; stroke: #fdcf48; stroke-width: 1.8; }
.stage .mark .hdl { stroke: #fdcf4899; stroke-width: 1.3; }
.stage .mark .hdl-dot { fill: #fdcf48; }
.stage .mark .selg rect.box { fill: none; stroke: #fdcf48aa; stroke-width: 1.3; }
.stage .mark .selg rect.h { fill: #0e0d0c; stroke: #fdcf48; stroke-width: 1.6; }
.stage .mark .selg text { font: 600 15px var(--f-mono); fill: var(--on-gold); direction: ltr; unicode-bidi: plaintext; }
.stage .mark .selg .tag { fill: var(--g2); }
.stage .mark .selg { transform-box: view-box; transform-origin: 50% 50%; }
.stage.play .mark .cons { animation: sc-draw 1.3s var(--d) var(--ease-out) both; }
.stage.play .mark .guide { animation: sc-fade .8s var(--d) both; }
.stage.play .mark .body { animation: dz-path 3.8s 1.2s var(--ease-out) both; }
@keyframes dz-path { 0% { stroke-dashoffset: 2268; fill-opacity: 0; } 62% { stroke-dashoffset: 0; fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
.stage.play .mark .edit { animation: dz-edit 4.4s 1.3s both; }
@keyframes dz-edit { 0% { opacity: 0; } 10%, 72% { opacity: 1; } 100% { opacity: 0; } }
.stage .mark .edit { opacity: 0; }
.stage .tools { position: absolute; right: 4%; top: 6%; width: 8.5%; display: grid; gap: .5em; padding: .5em; border-radius: 1em; background: #12110f; border: 1px solid #ffffff12; }
.stage .tools span { aspect-ratio: 1; border-radius: .7em; display: grid; place-items: center; color: var(--faint); }
.stage .tools span svg { width: 58%; height: 58%; }
.stage .tools span.is-on { background: #fdcf4818; color: var(--g2); box-shadow: inset 0 0 0 1px #fdcf4855; }
.stage .sw { position: absolute; right: 15%; bottom: 6%; width: 46%; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; }
.stage .sw span { display: grid; gap: .3em; text-align: center; font: .62em/1.5 var(--f-mono); color: var(--faint); direction: ltr; }
.stage .sw span::before { content: ""; aspect-ratio: 1; border-radius: .9em; background: var(--c); box-shadow: inset 0 0 0 1px #ffffff1a; }
.stage .type { left: 5%; bottom: 6%; width: 30%; padding: .7em 1em; text-align: center; }
.stage .type b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.3em; line-height: 1.35; }
.stage .type small { display: block; font: .68em/1.6 var(--f-mono); color: var(--faint); direction: ltr; }
/* ---- تنفيذ المشاريع: خريطة طريق ---- */
.stage .road { position: absolute; inset: 6% 5% 27%; padding: 1.1em 1.2em; display: flex; flex-direction: column; }
.stage .road header { display: flex; align-items: center; justify-content: space-between; margin-block-end: .8em; }
.stage .road header b { font-family: var(--f-display); font-weight: 500; }
.stage .road header span { font-size: .8em; color: var(--g2); padding: .2em .9em; border-radius: 999px; border: 1px solid #fdcf4840; background: #fdcf480c; }
.stage .rows { position: relative; flex: 1; display: grid; align-content: space-evenly; gap: .5em; }
.stage .rows::before { content: ""; position: absolute; inset-block: -.3em; inset-inline-start: 31%; inset-inline-end: 0; background: repeating-linear-gradient(270deg, #ffffff0b 0 1px, #0000 1px 12.5%); pointer-events: none; }
.stage .row { display: grid; grid-template-columns: 31% 1fr; align-items: center; }
.stage .row > span { display: flex; align-items: center; gap: .5em; font-size: .82em; color: var(--dim); padding-inline-end: .6em; white-space: nowrap; overflow: hidden; }
.stage .row.is-done > span { color: var(--ink); }
.stage .row > span .chk { font-size: .72em; }
.stage .row > span .dot { width: 1.05em; height: 1.05em; border-radius: 50%; border: 1.5px dashed #ffffff33; flex: none; }
.stage .trk { position: relative; height: 2em; }
.stage .bar { position: absolute; inset-block: .25em; inset-inline-start: var(--s); width: var(--w); border-radius: .5em; background: #ffffff10; border: 1px solid #ffffff1c; transform-origin: right; }
.stage .row.is-done .bar { background: linear-gradient(270deg, #fdcf48, #faa83e); border-color: #0000; }
.stage .row.is-now .bar { background: linear-gradient(270deg, #fdcf48 0 55%, #fdcf4826 55%); border-color: #fdcf4866; }
.stage.play .bar { animation: sc-gx .9s var(--d) var(--ease-out) both; }
.stage .ms { position: absolute; inset-block-start: 50%; inset-inline-start: calc(var(--s) + var(--w)); width: .85em; height: .85em; margin-inline-start: -.42em; margin-block-start: -.42em; transform: rotate(45deg); background: #131210; border: 1.5px solid var(--g2); }
.stage .row.is-done .ms { background: var(--g2); }
.stage .today { position: absolute; inset-block: -1.6em -.4em; inset-inline-start: calc(31% + 69% * .52); width: 0; border-inline-start: 1.5px solid var(--g2); }
.stage .today b { position: absolute; inset-block-start: -.2em; inset-inline-start: 0; transform: translateX(50%); padding: 0 .6em; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .7em; line-height: 1.7; white-space: nowrap; }
.stage.play .today { animation: today 3.2s .6s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes today { from { inset-inline-start: 31%; opacity: 0; } 15% { opacity: 1; } }
.stage .next { left: 5%; bottom: 6%; width: 52%; padding: .9em 1em; display: flex; gap: .8em; align-items: center; border-color: #fdcf4840; }
.stage .next .ico { width: 2.3em; height: 2.3em; padding: .5em; border-radius: .7em; background: #fdcf4816; color: var(--g2); flex: none; }
.stage .next small { display: block; font-size: .78em; color: var(--faint); }
.stage .next b { display: block; font-size: .9em; font-weight: 500; line-height: 1.55; }
.stage .rd-team { right: 5%; bottom: 6%; width: 36%; padding: .8em 1em; display: flex; align-items: center; gap: .6em; }
.stage .rd-team i { width: 2.2em; height: 2.2em; border-radius: 50%; border: 2px solid #12110f; margin-inline-start: -.9em; background: linear-gradient(160deg, #3a342d, #2b2723); display: grid; place-items: center; font-style: normal; font-size: .8em; color: var(--dim); }
.stage .rd-team i:first-child { margin: 0; background: var(--gold); color: var(--on-gold); font-weight: 700; }
.stage .rd-team small { font-size: .78em; color: var(--faint); line-height: 1.45; }
/* ---- الصوتيات: موجة صوت حيّة ---- */
.stage .studio { position: absolute; inset: 6% 5% 27%; padding: 1em 1.1em; display: flex; flex-direction: column; }
.stage .studio header { display: flex; align-items: center; justify-content: space-between; font-size: .86em; color: var(--dim); }
.stage .rec { display: inline-flex; align-items: center; gap: .5em; padding: .15em .8em; border-radius: 999px; background: #ffffff0a; color: var(--ink); }
.stage .rec i { width: .65em; height: .65em; border-radius: 50%; background: #ff5a4e; box-shadow: 0 0 .7em #ff5a4e; animation: blink 1.2s steps(1) infinite; }
.stage .studio header .num { color: var(--ink); font-size: 1.05em; }
.stage .wave { flex: 1; display: flex; align-items: center; gap: 1.1%; padding: 0 2%; direction: ltr; -webkit-mask: linear-gradient(90deg, #0000, #000 14%, #000 86%, #0000); mask: linear-gradient(90deg, #0000, #000 14%, #000 86%, #0000); }
.stage .wave i { flex: 1; height: calc(var(--h) * 78%); border-radius: 1em; background: linear-gradient(#fdcf48, #faa83e); transform: scaleY(.55); animation: wv var(--t, 1.2s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes wv { 0% { transform: scaleY(.18); } 100% { transform: scaleY(1); } }
.stage .clip { position: relative; height: 3.2em; border-radius: .7em; background: #ffffff07; border: 1px solid #ffffff10; display: flex; align-items: center; gap: 2px; padding: 0 .6em; direction: ltr; overflow: hidden; }
.stage .clip i { flex: 1; height: calc(var(--h) * 70%); border-radius: 1em; background: #ffffff2e; }
.stage .clip .played { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; padding: 0 .6em; clip-path: inset(0 22% 0 0); }
.stage .clip .played i { background: var(--g2); }
.stage .clip .head { position: absolute; inset-block: 0; left: 78%; width: 2px; background: #fff3c4; box-shadow: 0 0 .8em #fdcf48; }
.stage.play .clip .played { animation: played 7s .3s linear both; }
.stage.play .clip .head { animation: head 7s .3s linear both; }
@keyframes played { from { clip-path: inset(0 100% 0 0); } }
@keyframes head { from { left: .6em; } }
.stage .tcs { display: flex; justify-content: space-between; margin-block-start: .35em; font: .7em/1.6 var(--f-num); color: var(--faint); direction: ltr; }
.stage .voices { position: absolute; right: 5%; left: 5%; bottom: 6%; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.stage .voices li { position: relative; display: flex; align-items: center; gap: .6em; padding: .7em .8em; border-radius: 1em; background: #12110fe6; border: 1px solid #ffffff14; font-size: .82em; line-height: 1.5; }
.stage .voices li .vw { display: flex; align-items: center; gap: 2px; height: 1.6em; width: 2.2em; flex: none; direction: ltr; }
.stage .voices li .vw i { flex: 1; height: calc(var(--h) * 100%); border-radius: 1em; background: #ffffff40; }
.stage .voices li small { display: block; color: var(--faint); font-size: .9em; }
.stage .voices li.is-pick { border-color: #fdcf48; background: linear-gradient(160deg, #fdcf4822, #12110fe6); box-shadow: 0 0 0 .25em #fdcf4814; }
.stage .voices li.is-pick .vw i { background: var(--g2); }
.stage .voices li .chk { position: absolute; inset-block-start: -.55em; inset-inline-end: -.4em; }
.stage.play .voices li.is-pick { animation: pick .6s 3.4s var(--ease-out) both; }
.stage.play .voices li.is-pick .chk { animation: sc-pop .5s 3.6s var(--ease-out) both; }
@keyframes pick { from { border-color: #ffffff14; background: #12110fe6; box-shadow: none; } }
/* ---- الكتابة والتحرير: حروف تُكتب ثم تُحرَّر ---- */
.stage .glyph { position: absolute; left: 6%; top: 34%; font-family: var(--f-display); font-weight: 700; font-size: 15em; line-height: 1.35; color: #ffffff0a; pointer-events: none; }
.stage .doc { right: 5%; top: 6%; width: 60%; bottom: 6%; display: flex; flex-direction: column; padding: 1.3em 1.4em; background: linear-gradient(#1d1a17, #171513); }
.stage .doc__meta { display: flex; justify-content: space-between; font-size: .76em; color: var(--faint); padding-block-end: .6em; border-block-end: 1px solid #ffffff10; }
.stage .doc__meta .num { color: var(--g2); }
.stage .doc__h { font-family: var(--f-display); font-weight: 700; font-size: 1.55em; line-height: 1.5; margin: .7em 0 .5em; min-height: 3em; }
.stage .caret { display: inline-block; width: 2px; height: 1.1em; margin-inline-start: 2px; vertical-align: -.15em; background: var(--g2); animation: blink 1s steps(1) infinite; }
.stage .doc__p { font-size: .95em; line-height: 2; color: var(--dim); }
.stage .doc__p del { position: relative; text-decoration: none; color: var(--faint); }
.stage .doc__p del::after { content: ""; position: absolute; inset-inline: 0; top: 55%; height: 1.5px; background: #e9776b; transform-origin: right; }
.stage.play .doc__p del::after { animation: sc-gx .5s 3.6s var(--ease-out) both; }
.stage .doc__p ins { text-decoration: none; color: var(--ink); background: linear-gradient(#fdcf4830, #fdcf4830) bottom / 100% 40% no-repeat; padding: 0 .15em; border-radius: .2em; }
.stage .doc .bars { margin-block-start: .9em; }
.stage .doc .bars i { display: block; height: .5em; border-radius: 3px; margin: .8em 0; background: #ffffff14; width: var(--w); }
.stage .cmt { left: 4%; top: 24%; width: 32%; padding: .8em .9em; border-color: #fdcf4840; }
.stage .cmt b { display: flex; align-items: center; gap: .5em; font-size: .8em; color: var(--g2); font-weight: 500; }
.stage .cmt p { font-size: .86em; line-height: 1.65; margin-block-start: .2em; }
.stage .cmt::after { content: ""; position: absolute; inset-block-start: 1.4em; inset-inline-start: -.45em; width: .8em; height: .8em; transform: rotate(45deg); background: #12110f; border-block-start: 1px solid #fdcf4840; border-inline-start: 1px solid #fdcf4840; }
.stage .checks { position: absolute; left: 4%; bottom: 8%; width: 32%; display: grid; gap: .45em; }
.stage .checks li { display: flex; align-items: center; gap: .6em; padding: .5em .8em; border-radius: 999px; background: #12110fe6; border: 1px solid #ffffff14; font-size: .82em; }
/* ===== الجوال والأحجام الوسطى ===== */
@media (max-width: 1100px) and (min-width: 901px) {
.sh { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.stage { min-height: 460px; }
}
@media (max-width: 900px) {
.sh { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 26px; padding-block-start: calc(var(--nav-h) + 18px); }
.sh__crumbs ol { margin-block-end: 16px; font-size: 13px; }
.sh__kicker { margin-block-end: 14px; }
.sh__ico { width: 40px; height: 40px; border-radius: 12px; }
.sh__title { font-size: clamp(29px, 7.6vw, 44px); }
.sh__answer { padding-inline-start: 14px; font-size: 16.5px; }
.sh__cta .btn { width: 100%; }
.stage { aspect-ratio: auto; height: min(108vw, 520px); min-height: 0; max-height: none; border-radius: 24px; }
.stage__bar { height: 44px; padding: 0 14px; }
.stage__cap { font-size: 12px; }
.stage__svcs { padding: 0 12px; font-size: 13px; }
.stage .mgr__av { width: 42px; height: 42px; }
.stage .mgr b { font-size: 14.5px; }
}
@media (max-width: 420px) {
.stage__file { display: none; }
.stage .tbl, .stage .rd-team { display: none; }
.stage .next { width: 90%; }
.stage .rep > span:last-child { display: none; }
.stage .refs li:nth-child(3) { display: none; }
.stage .checks, .stage .doc__sub, .stage .doc__sub + .bars { display: none; }
.stage .cmt { top: auto; bottom: 7%; width: 46%; }
.stage .doc { width: 76%; }
.stage .glyph { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.stage::before, .stage__cap i, .stage .wave i, .stage .mk .mk-hub::before, .stage .mk .mk-hub::after, .stage .rec i, .stage .caret, .stage .steps li .spin, .stage .code__lines li:last-child > span.l::after { animation: none !important; }
.stage .wave i { transform: none; }
}
.stage .doc__sub { font-family: var(--f-display); font-weight: 500; font-size: .95em; margin-block-start: 1.1em; color: var(--ink); }
.stage .doc__foot { margin-block-start: auto; display: flex; justify-content: space-between; padding-block-start: .7em; border-block-start: 1px solid #ffffff10; font-size: .74em; color: var(--faint); }
.stage .doc__foot b { color: #4ade80; font-weight: 500; }

/* ---- الطلب المخصص: الطلب يُكتب على واتساب، فيرد الفريق، ثم يصل عرض السعر المكتوب (21st.dev: Notification Stack، flohoeller + Typing Animation، Dillion Verma) ---- */
.stage .cr { position: absolute; inset: 5% 5% 5%; display: flex; flex-direction: column; }
.stage .cr__head { display: flex; align-items: center; gap: .7em; padding-block-end: .8em; border-block-end: 1px solid #ffffff10; }
.stage .cr__av { width: 2.8em; height: 2.8em; flex: none; border-radius: 50%; display: grid; place-items: center; background: #12110f; border: 1px solid #fdcf4840; }
.stage .cr__av svg { width: 64%; height: auto; }
.stage .cr__head b { display: block; font-family: var(--f-display); font-weight: 500; font-size: .95em; line-height: 1.5; }
.stage .cr__head small { display: flex; align-items: center; gap: .4em; font-size: .78em; color: #4ade80; }
.stage .cr__head small i { width: .5em; height: .5em; border-radius: 50%; background: #4ade80; }
.stage .cr__head > svg { margin-inline-start: auto; width: 1.6em; height: 1.6em; color: #4ade80; }
.stage .cr__chat { flex: 1; display: flex; flex-direction: column; gap: .65em; padding-block-start: .9em; }
.stage .bub { position: relative; max-width: 80%; padding: .7em .95em .55em; border-radius: 1.1em; font-size: .9em; line-height: 1.75; }
.stage .bub time { display: block; text-align: end; font-size: .78em; color: var(--faint); margin-block-start: .15em; }
.stage .bub--me { align-self: flex-end; background: #fdcf481c; border: 1px solid #fdcf483d; border-end-end-radius: .35em; color: var(--ink); }
.stage .bub--us { align-self: flex-start; background: #12110fe6; border: 1px solid #ffffff14; border-end-start-radius: .35em; color: var(--ink); }
.stage .bub .tk { font-style: normal; color: #6fc3ff; }
.stage .cr__slot { position: relative; display: flex; flex-direction: column; }
.stage .cr__slot > .bub--us:last-child { align-self: flex-start; }
.stage .cr__dots { position: absolute; inset-block-start: 0; inset-inline-start: 0; display: flex; gap: .3em; padding: .9em 1em; opacity: 0; }
.stage .ty-rest { visibility: hidden; }
.stage .cr__dots i { width: .5em; height: .5em; border-radius: 50%; background: var(--dim); animation: crdot 1s ease-in-out infinite; }
.stage .cr__dots i:nth-child(2) { animation-delay: .15s; } .stage .cr__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes crdot { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-.3em); opacity: 1; } }
.stage.play .cr__dots { animation: crshow 5.7s both; }
@keyframes crshow { 0%, 76% { opacity: 0; transform: scale(.8); } 80%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stage .cr__doc { width: 72%; padding: .75em .85em; }
.stage .cr__file { display: flex; align-items: center; gap: .7em; padding: .6em .7em; border-radius: .8em; background: #ffffff08; border: 1px solid #ffffff10; }
.stage .cr__file .ico { width: 2.2em; height: 2.2em; padding: .45em; border-radius: .6em; background: var(--gold); color: var(--on-gold); flex: none; }
.stage .cr__file b { display: block; font-size: .95em; font-weight: 500; } .stage .cr__file small { display: block; font: .75em/1.5 var(--f-num); color: var(--faint); }
.stage .cr__doc ul { display: grid; gap: .3em; margin-block-start: .55em; }
.stage .cr__doc li { display: flex; align-items: center; gap: .55em; font-size: .86em; color: var(--dim); }
.phero--stage { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
/* 2.3-ح: نص التذييل والشريط لا يفرض عرض العمود (كان سطر ساعات العمل بلا التفاف يوسّع العمود على الجوال فيتحرك الهيرو حين يصل الخط: CLS 0.27) */
.stage__bar, .stage__foot, .stage .mgr, .stage .mgr > span:last-child { min-width: 0; }
.stage__cap { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stage__file { flex: none; }
.phero--stage .stage { min-height: 500px; }
@media (max-width: 900px) { .phero--stage { grid-template-columns: minmax(0, 1fr); } .phero--stage .stage { min-height: 0; height: min(112vw, 520px); } }
@media (prefers-reduced-motion: reduce) { .stage .cr__dots i { animation: none; } }

/* ===== «خدمات القسم» مستكشفاً (2.3-ح): قائمة مرقّمة بعناوين الخدمات، ولوحة الخدمة المختارة بجانبها على الكمبيوتر، وأكورديون على الجوال.
   كل اللوحات في HTML؛ بلا JavaScript تظهر كلها تحت عناوينها (tools.js يضيف .is-js). المرجع: 21st.dev — Vertical Tabs. */
.svx { position: relative; counter-reset: svx; }
.svx__list { display: grid; gap: 8px; }
.svx__item { border-radius: 22px; background: #1b1917; border: 1px solid #ffffff12; transition: border-color .35s, background .35s; }
.svx__t { font-size: inherit; line-height: inherit; }
.svx__btn { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 68px; padding: 12px 20px; text-align: start; border-radius: 22px; -webkit-tap-highlight-color: transparent; }
.svx__no { font-size: 14px; color: var(--g2); min-width: 2.2em; }
.svx__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.svx__chev { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #ffffff1f; position: relative; transition: transform .45s var(--ease-out), background .3s, border-color .3s; }
.svx__chev::before { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-inline-start: 1.6px solid currentColor; border-block-end: 1.6px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.svx__item.is-on { border-color: #fdcf4866; background: linear-gradient(270deg, #fdcf480f, #1b1917 60%); }
.svx__item.is-on .svx__chev { background: var(--gold); color: var(--on-gold); border-color: #0000; transform: rotate(180deg); }
.svx__p { display: grid; gap: 14px; padding: 4px 20px 22px; }
.svx__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8; } .svx__img img { width: 100%; height: 100%; object-fit: cover; }
.svx__big { display: none; }
.svx__benefit { color: #d3cbbd; font-size: 16.5px; line-height: 1.85; max-width: 40em; }
.svx__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.svx__meta div { display: grid; gap: 0; padding: 10px 16px; border-radius: 16px; background: #ffffff07; border: 1px solid #ffffff10; }
.svx__meta dt { font-size: 12.5px; line-height: 1.7; color: var(--faint); } .svx__meta dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.svx__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 4px; }
.is-js .svx__item:not(.is-on) .svx__p { display: none; }
@media (hover: hover) and (pointer: fine) { .svx__item:not(.is-on):hover { border-color: #fdcf4833; } .svx__item:not(.is-on):hover .svx__chev { border-color: var(--g2); } }
@media (min-width: 901px) {
  .is-js .svx { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; align-items: start; }
  .is-js .svx__list { gap: 6px; }
  .is-js .svx__item { background: #0000; border-color: #0000; }
  .is-js .svx__item.is-on { background: #1b1917; border-color: #fdcf4855; }
  .is-js .svx__item.is-on .svx__chev { transform: rotate(90deg); }
  .is-js .svx__p { position: absolute; inset-block-start: 0; inset-inline-start: calc(46% + 18px); inset-inline-end: 0; display: grid; align-content: start; gap: 16px; padding: 34px 34px 30px; min-height: 100%;
    border-radius: 30px; background: radial-gradient(70% 60% at 100% 0, #faa83e1f, #0000 70%), #1b1917; border: 1px solid #ffffff14; box-shadow: 0 40px 90px -50px #000;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .5s var(--ease-out), visibility 0s .35s; }
  .is-js .svx__item.is-on .svx__p { display: grid; opacity: 1; visibility: visible; transform: none; transition: opacity .4s .05s, transform .55s .05s var(--ease-out), visibility 0s; }
  .is-js .svx__item:not(.is-on) .svx__p { display: grid; }
  .is-js .svx__big { display: grid; gap: 4px; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.4; }
  .is-js .svx__big .num { font-size: clamp(44px, 4.4vw, 72px); line-height: 1.35; color: #0000; -webkit-text-stroke: 1.2px #fdcf48aa; }
}
@media (max-width: 900px) { .svx__btn { padding: 10px 14px; gap: 12px; min-height: 64px; } .svx__p { padding: 2px 14px 18px; } .svx__acts .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .svx__p, .svx__chev { transition: none !important; } }

/* ===== فهرس الخدمات /services/ (2.3-ح): شريط بحث وتصفية ثابت تحت الهيدر، وعدّاد حي، والأقسام مجموعاتٍ ببطاقة لكل خدمة.
   البحث بعد توحيد الهمزات والتاء المربوطة والألف المقصورة (tools.js)، و«/» يركّز خانة البحث. المرجع: 21st.dev — Search Bar with Category Filter (Cnippet). */
.catx__bar { position: sticky; inset-block-start: calc(var(--nav-h) + 16px); z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "q n" "c c"; align-items: center; gap: 12px 16px; margin-block-end: 26px; padding: 12px; border-radius: 26px;
  background: #151311e6; border: 1px solid #ffffff14; box-shadow: 0 30px 60px -30px #000; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.catx__search { grid-area: q; position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 999px; background: #0f0e0d; border: 1px solid #ffffff1c; transition: border-color .3s, box-shadow .3s; }
.catx__search:focus-within { border-color: var(--g2); box-shadow: 0 0 0 4px #fdcf481a; }
.catx__search .ico { width: 20px; height: 20px; color: var(--g2); flex: none; }
.catx__search input { flex: 1; min-width: 0; height: 50px; border: 0; background: none; color: var(--ink); font: 16px/1.7 var(--f-body); outline: none; }
.catx__search input::placeholder { color: var(--faint); }
.catx__search input::-webkit-search-cancel-button { filter: invert(.7); }
.catx__search kbd { font-size: 12px; color: var(--faint); border: 1px solid #ffffff24; border-radius: 6px; padding: 0 7px; line-height: 1.7; }
.catx__bar .cat__chips { grid-area: c; min-width: 0; margin: 0; display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block-end: 2px; }
.catx__bar .cat__chips::-webkit-scrollbar { display: none; }
.catx__bar .chip { flex: none; }
.catx__count { grid-area: n; font-size: 14px; line-height: 1.7; color: var(--dim); white-space: nowrap; padding-inline-end: 6px; }
.catx__count .num { font-size: 22px; color: var(--g2); }
.catx .cat__grid.catx__groups { columns: auto; display: grid; gap: 18px; }
.catx .catd { margin: 0; padding: 22px; gap: 16px; border-radius: 30px; }
.catx .catd__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.catx .catd__hd { display: grid; gap: 0; }
.catx .catd__lead { font-size: 13.5px; line-height: 1.7; color: var(--faint); } .catx .catd__lead b { color: var(--dim); font-weight: 500; }
.catx .catd__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #ffffff1f; font-size: 14px; color: var(--ink); white-space: nowrap; }
.catx .catd__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.catx .sv[hidden] { display: none; }
.sv__a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 12px; align-items: center; min-height: 92px; height: 100%; padding: 16px; border-radius: 20px; background: #131210; border: 1px solid #ffffff10; overflow: hidden; isolation: isolate; transition: border-color .35s, transform .5s var(--ease-out), background .35s; }
.sv__a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 90% at 100% 0, #fdcf481c, #0000 65%); opacity: 0; transition: opacity .4s; }
.sv__ico { grid-row: 1 / 3; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--g2); background: #fdcf480d; border: 1px solid #fdcf4824; transition: background .35s, color .35s; }
.sv__ico svg { width: 20px; height: 20px; }
.sv__t { font-family: var(--f-display); font-weight: 500; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.sv__t mark { background: #fdcf4840; color: var(--ink); border-radius: 4px; padding: 0 2px; }
.sv__to { font-size: 13px; line-height: 1.7; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
a.sv__a:focus-visible { border-color: var(--g2); }
@media (hover: hover) and (pointer: fine) {
  a.sv__a:hover { border-color: #fdcf4866; transform: translateY(-3px); background: #181614; }
  a.sv__a:hover::before { opacity: 1; }
  a.sv__a:hover .sv__ico { background: var(--gold); color: var(--on-gold); }
  a.sv__a:hover .sv__to { color: var(--g2); }
  a.sv__a:hover .arrow { transform: translateX(-5px); }
  .catx .catd__more:hover { border-color: var(--g2); }
}
a.sv__a:active { transform: scale(.98); }
.catx__empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 40px 20px; border-radius: 30px; background: #1b1917; border: 1px dashed #fdcf4844; }
.catx__empty[hidden] { display: none; }
.catx__empty p { max-width: 34em; color: var(--dim); line-height: 1.85; } .catx__empty b { color: var(--ink); display: block; font-family: var(--f-display); font-size: 19px; }
@media (max-width: 900px) {
  .catx__bar { grid-template-columns: minmax(0, 1fr) auto; padding: 10px; border-radius: 22px; inset-block-start: calc(var(--nav-h) + 8px); }
  .catx__search { min-height: 48px; } .catx__search input { height: 46px; } .catx__search kbd { display: none; }
  .catx .catd { padding: 16px; border-radius: 24px; }
  .catx .catd__head { grid-template-columns: auto minmax(0, 1fr); } .catx .catd__more { grid-column: 1 / -1; justify-content: center; }
  .sv__a { min-height: 78px; padding: 12px 14px; }
}

/* ===== الجزيئات من أول لقطة (2.3-ح): الشعار نقاطاً في SVG من الخادم بحجم شعار WebGL نفسه، ويذوب حين يعمل WebGL (inc/stage.php caducs_pdots) ===== */
.hero__stage, .chero__stage { container-type: size; }
.pdots { position: absolute; left: 50%; top: 50%; width: calc(2 * var(--s, 1) * min(100cqw / var(--fw, 2.2), 100cqh / var(--fh, 1.3))); aspect-ratio: 450 / 245; translate: -50% -50%; pointer-events: none;
  filter: drop-shadow(0 0 6px #faa83e99) drop-shadow(0 0 22px #faa83e40); transition: opacity 1.2s ease, filter 1.2s ease; }
.pdots svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pdots svg.pd-tw { position: absolute; inset: 0; will-change: opacity; }
.pdots--dust { inset: 0; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; translate: none; opacity: .5; -webkit-mask: radial-gradient(closest-side, #000, #0000); mask: radial-gradient(closest-side, #000, #0000); }
.pd-tw { animation: pd-tw 2.6s ease-in-out infinite alternate; }
@media (max-width: 900px) { .pd-tw { animation: none; opacity: .7; } .pdots { filter: drop-shadow(0 0 6px #faa83e88); } } /* الجوال: نقاط ساكنة حتى يتسلم WebGL (أخف على المعالج) */
@keyframes pd-tw { from { opacity: .25; } to { opacity: 1; } }
.gl-on .pdots { opacity: 0; filter: blur(3px); }
.gl-on .pd-tw { animation: none; }
@media (prefers-reduced-motion: reduce) { .pd-tw { animation: none; } }

/* ===== جدار العملاء (2.3-ح، الاتجاه D): من design-system/concepts/brands/wall-d.html. الشعار قناع (mask) فاتح يضيء ذهبياً عند المرور.
   مناسب للجوال: بلاطات أصغر، بلا تمرير أفقي للصفحة (الصف overflow: hidden)، وhover داخل (hover: hover). ===== */
.brands { z-index: 2; padding-block: clamp(50px, 9vh, 100px); padding-inline: 0; }
.brands__head { text-align: center; padding: 0 var(--pad); margin-block-end: clamp(22px, 4vh, 40px); }
.brands__head .eyebrow { margin-inline: auto; }
.brands__head h2 { font-size: clamp(24px, 3vw, 40px); line-height: 1.4; }
.brands__head .sub { color: var(--dim); font-size: 15.5px; line-height: 1.8; margin: 6px auto 0; }
.tw { --size: clamp(8.5rem, 1rem + 20vmin, 14rem); --gap: calc(var(--size) / 12); display: grid; gap: var(--gap); }
.tw__mq { display: flex; gap: var(--gap); overflow: hidden; user-select: none; direction: ltr;
  -webkit-mask-image: linear-gradient(to right, #0000, #000 14%, #000 86%, #0000); mask-image: linear-gradient(to right, #0000, #000 14%, #000 86%, #0000); }
.tw__g { flex-shrink: 0; display: flex; align-items: center; justify-content: space-around; gap: var(--gap); min-width: 100%; animation: twx 70s linear infinite; }
.tw__mq--rev .tw__g { animation-direction: reverse; animation-duration: 84s; }
.tw.is-off .tw__g { animation-play-state: paused; }
@keyframes twx { to { transform: translateX(calc(-100% - var(--gap))); } }
.tile { position: relative; display: grid; place-items: center; width: var(--size); aspect-ratio: 16 / 9; border-radius: calc(var(--size) / 10); background: linear-gradient(160deg, #1f1c18, #151311); border: 1px solid #ffffff0c; overflow: hidden; isolation: isolate; transition: border-color .35s; }
.tile > a { position: absolute; inset: 0; display: grid; place-items: center; }
.tile__mark { width: 66%; height: 52%; background: #ede7dbb3; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; transition: background .35s var(--ease), transform .45s var(--ease); }
.tile__name, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .tile__mark { display: none; } .no-js .tile__name { position: static; width: auto; height: auto; clip: auto; font-size: 14px; color: var(--dim); padding: 0 10px; text-align: center; white-space: normal; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 120%, #faa83e33, #0000 70%); opacity: 0; transition: opacity .35s; }
@media (hover: hover) and (pointer: fine) {
  .tw__mq:hover .tw__g { animation-play-state: paused; }
  .tile:hover { border-color: #fdcf4840; } .tile:hover::after { opacity: 1; }
  .tile:hover .tile__mark { background: linear-gradient(100deg, #fdcf48, #faa83e); transform: scale(1.06); }
}
.tile a:focus-visible { outline-offset: -3px; border-radius: inherit; }
.tile:focus-within .tile__mark { background: linear-gradient(100deg, #fdcf48, #faa83e); }
@media (max-width: 600px) { .tw { --size: 8.25rem; } .tile__mark { width: 70%; height: 56%; } }
@media (prefers-reduced-motion: reduce) { .tw__g { animation: none; } .tw__mq { overflow-x: auto; scrollbar-width: none; } .tw__g[aria-hidden] { display: none; } }

/* ===== أدوات نعمل بها (2.3-ح): طريقة عرض لكل قسم (اختيار المالك 2026-10-27). القائمة واحدة (نص)، والعرض بالـ CSS وtools.js ===== */
.tlz { z-index: 2; }
.tlz__card { position: relative; padding: clamp(20px, 3.4vw, 44px); border-radius: 34px; background: radial-gradient(60% 80% at 100% 0, #faa83e14, #0000 60%), #1b1917; border: 1px solid #ffffff12; overflow: hidden; isolation: isolate; }
.tlz__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; margin-block-end: 26px; }
.tlz__head h2 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.4; }
.tlz__head .sub { max-width: 34em; color: var(--dim); line-height: 1.8; }
.tlz__body { position: relative; }
.tlz__g { min-width: 0; }
.tlz__gh { display: flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 500; font-size: 13.5px; line-height: 1.7; color: var(--g2); margin-block-end: 8px; }
.tlz__gh .num { font-size: 12px; color: var(--faint); padding: 0 8px; border-radius: 999px; border: 1px solid #ffffff14; }
.tlz__t { position: relative; }
.tlz__ic { display: grid; place-items: center; flex: none; width: var(--icw, 40px); height: var(--icw, 40px); color: #ede7dbd0; }
.tlz__ic svg, .tcloud svg, .torb svg, .tdock svg, .tidx__big svg { width: 60%; height: 60%; }
.tlz__mono { font: 700 calc(var(--icw, 40px) * .36)/1.35 var(--f-num); color: inherit; }
.tlz__mask { display: block; width: 62%; height: 62%; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.tlz__name { font: 500 13.5px/1.7 var(--f-num); color: var(--dim); }
.tlz__use { font-size: 12px; line-height: 1.7; color: var(--faint); }
.tlz__ai { display: inline-grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: 700 10px/1.7 var(--f-num); }
.tlz__ai[hidden] { display: none; }
.tlz__t.is-ai .tlz__ic, .tcloud .is-ai, .torb .is-ai, .tdock .is-ai { color: var(--g2); box-shadow: 0 0 0 1px #fdcf4866, 0 0 22px -6px #faa83e99; }
.tlz__trust { display: flex; align-items: center; gap: 14px; margin: -8px 0 26px; padding: 14px 18px; border-radius: 20px; background: linear-gradient(270deg, #fdcf4814, #fdcf4803 70%); border: 1px solid #fdcf4833; }
.tlz__trust-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 24px -12px #faa83ecc; }
.tlz__trust-ic svg { width: 24px; height: 24px; }
.tlz__trust p { font-size: 15.5px; line-height: 1.8; color: var(--ink); }
.tlz__trust p .tlz__ai { margin-inline-end: 4px; vertical-align: 2px; }
@media (max-width: 600px) { .tlz__trust { align-items: flex-start; padding: 12px 14px; gap: 12px; } .tlz__trust-ic { width: 38px; height: 38px; border-radius: 12px; } .tlz__trust p { font-size: 14.5px; } }
.tlz.is-off *, .tlz.is-off *::before, .tlz.is-off *::after { animation-play-state: paused !important; }

/* البرمجة: كرة أيقونات (tools.js يضعها على كرة ويديرها؛ بلا JavaScript شبكة داخل الدائرة) */
.tlz--cloud .tlz__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.tcloud { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; padding: 12%;
  background: radial-gradient(closest-side, #faa83e1c, #faa83e08 60%, #0000), radial-gradient(closest-side, #0000 97%, #fdcf4826 98%, #0000 100%); }
.tcloud > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #131210; border: 1px solid #ffffff16; color: #ede7dbd0; }
.tcloud.is-3d { display: block; padding: 0; }
.tcloud.is-3d > span { position: absolute; left: 50%; top: 50%; margin: -23px 0 0 -23px; will-change: transform, opacity; transition: border-color .3s, color .3s; }
.tcloud > span.is-hot { border-color: var(--g2); color: var(--g2); }
.tcloud__core { position: absolute; left: 50%; top: 50%; width: 22%; translate: -50% -50%; display: none; filter: drop-shadow(0 0 18px #faa83e88); }
.tcloud.is-3d .tcloud__core { display: block; } .tcloud__core svg { width: 100%; height: auto; display: block; }
.tlz--cloud .tlz__groups { display: grid; gap: 16px; }
.tlz--cloud .tlz__ul, .tlz--orbit .tlz__ul, .tlz--dock .tlz__ul { display: flex; flex-wrap: wrap; gap: 6px; }
.tlz--cloud .tlz__t, .tlz--orbit .tlz__t, .tlz--dock .tlz__t { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 6px; border-radius: 999px; background: #131210; border: 1px solid #ffffff10; transition: border-color .3s; }
.tlz--cloud .tlz__ic, .tlz--orbit .tlz__ic, .tlz--dock .tlz__ic { --icw: 28px; border-radius: 50%; }
.tlz--cloud .tlz__t.is-hot { border-color: #fdcf4866; } .tlz--cloud .tlz__t.is-hot .tlz__name { color: var(--ink); }

/* الأبحاث: فهرس مراجع بترقيم [١] ومعاينة للأداة تحت المؤشر */
.tlz--index .tlz__body { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.tidx__peek { position: sticky; inset-block-start: calc(var(--nav-h) + 24px); aspect-ratio: 1 / 1; border-radius: 28px; display: grid; justify-items: center; align-content: center; gap: 12px; text-align: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(#ffffff06 1px, #0000 1px) 0 0 / 100% 2.2em, radial-gradient(70% 60% at 50% 30%, #faa83e1f, #0000 70%), #131210; border: 1px solid #ffffff12; }
.tidx__peek::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 18%; width: 1px; background: #e9776b44; }
.tidx__big { --icw: 118px; width: 118px; height: 118px; border-radius: 32px; display: grid; place-items: center; color: var(--g2); background: #fdcf480d; border: 1px solid #fdcf4833; box-shadow: 0 30px 60px -30px #000; transition: transform .45s var(--ease-out); }
.tidx__big.is-swap { animation: tidx-in .45s var(--ease-out); }
@keyframes tidx-in { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.tidx__peek b { font: 700 clamp(20px, 2vw, 26px)/1.5 var(--f-num); color: var(--ink); }
.tidx__peek small { font-size: 13px; line-height: 1.7; color: var(--faint); }
.tlz--index .tlz__groups { counter-reset: ref; display: grid; gap: 18px; }
.tlz--index .tlz__ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.tlz--index .tlz__t { counter-increment: ref; display: grid; grid-template-columns: 2.6em 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-block-end: 1px dashed #ffffff14; border-radius: 10px; transition: background .25s; }
.tlz--index .tlz__t::before { content: "[" counter(ref) "]"; font: 500 12.5px/1.7 var(--f-num); color: var(--faint); direction: ltr; }
.tlz--index .tlz__ic { --icw: 32px; border-radius: 9px; background: #ffffff07; }
.tlz--index .tlz__name { color: var(--ink); font-size: 14.5px; }
.tlz--index .tlz__t.is-on { background: #fdcf480f; } .tlz--index .tlz__t.is-on::before { color: var(--g2); }

/* التسويق: مدارات حول «حملتك»، مجموعة في كل مدار، وكل مدار يدور بسرعته واتجاهه */
.tlz--orbit .tlz__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.torb { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.torb__hub { position: absolute; left: 50%; top: 50%; width: 24cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px; z-index: 2;
  background: radial-gradient(circle at 50% 35%, #2b2419, #12110f 70%); border: 1px solid #fdcf4866; box-shadow: 0 0 0 1.2cqw #fdcf480a, 0 0 7cqw -1cqw #faa83e66; color: var(--g2); }
.torb__hub svg { width: 7cqw; height: 7cqw; } .torb__hub b { font: 500 max(12px, 2.6cqw)/1.6 var(--f-display); color: var(--ink); }
.torb__ring { --r: 22cqw; --sp: 46s; position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); aspect-ratio: 1; margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%; border: 1px dashed #fdcf482e; animation: torb var(--sp) linear infinite; }
.torb__ring--1 { --r: 33cqw; --sp: 70s; animation-direction: reverse; border-style: solid; border-color: #ffffff12; }
.torb__ring--2 { --r: 45cqw; --sp: 96s; border-color: #ffffff0e; }
.torb__ring > span { position: absolute; left: 50%; top: 50%; width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; transform: rotate(calc(360deg * var(--i) / var(--n))) translateX(var(--r)) rotate(calc(-360deg * var(--i) / var(--n))); }
.torb__ring > span > b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #131210; border: 1px solid #ffffff1c; color: #ede7dbd0; animation: torb var(--sp) linear infinite reverse; }
.torb__ring--1 > span > b { animation-direction: normal; }
.torb__ring > span > b .tlz__mono { font-size: max(10px, 2.8cqw); }
@keyframes torb { to { transform: rotate(360deg); } }
.tlz--orbit .tlz__groups { display: grid; gap: 16px; }
.tlz--orbit .tlz__gh::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px dashed #fdcf4866; }
.tlz--orbit .tlz__g:nth-child(2) .tlz__gh::before { border-style: solid; border-color: #ffffff2a; } .tlz--orbit .tlz__g:nth-child(3) .tlz__gh::before { border-style: solid; border-color: #ffffff1a; }

/* التصميم: شريط تطبيقات على لوح رسم، يكبر تحت المؤشر */
.tdock { position: relative; container-type: inline-size; display: grid; justify-items: center; gap: 14px; padding: clamp(60px, 7vw, 90px) 16px 18px; margin-block-end: 22px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(#ffffff12 1px, #0000 1.4px) 0 0 / 22px 22px, radial-gradient(60% 70% at 50% 100%, #faa83e1c, #0000 70%), #0e0d0c; border: 1px solid #ffffff12; }
.tdock__label { min-height: 1.6em; font: 700 clamp(20px, 2.4vw, 30px)/1.5 var(--f-num); color: var(--ink); text-align: center; transition: opacity .2s; }
.tdock__bar { display: flex; align-items: flex-end; gap: 8px; height: calc(clamp(34px, calc((100cqw - 150px) / var(--count, 12) - 8px), 54px) * 1.7 + 20px); padding: 10px 12px; border-radius: 26px; background: #161412d9; border: 1px solid #ffffff1a; box-shadow: 0 30px 60px -24px #000, inset 0 1px 0 #ffffff12; }
.tdock__bar > span { --s: 1; --t: clamp(34px, calc((100cqw - 150px) / var(--count, 12) - 8px), 54px); flex: none; display: grid; place-items: center; width: calc(var(--t) * var(--s)); height: calc(var(--t) * var(--s)); border-radius: calc(var(--t) * .27 * var(--s)); color: #ede7dbd8; transition: width .18s var(--ease-out), height .18s var(--ease-out), border-radius .18s;
  background: linear-gradient(160deg, #2e2a25, #191714); border: 1px solid #ffffff16; box-shadow: 0 8px 16px -10px #000; }
.tdock__bar > span .tlz__mono { font-size: calc(var(--t) * .33 * var(--s)); }
.tdock__bar > span.is-hot { color: var(--g2); border-color: #fdcf4866; }
.tdock__sep { flex: none; width: 1px; height: 40px; align-self: center; background: #ffffff1f; margin-inline: 4px; }
.tlz--dock .tlz__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }

/* تنفيذ المشاريع: لوحة مهام بأعمدة، والأدوات كروت مهام */
.tlz--board .tlz__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.tlz--board .tlz__g { padding: 12px; border-radius: 22px; background: #131210; border: 1px solid #ffffff10; }
.tlz--board .tlz__gh { justify-content: space-between; color: var(--ink); padding: 2px 4px 10px; margin-block-end: 10px; border-block-end: 1px solid #ffffff10; }
.tlz--board .tlz__gh span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.tlz--board .tlz__gh span:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: hsl(calc(38 + var(--gi) * 9) 95% 60%); box-shadow: 0 0 10px hsl(calc(38 + var(--gi) * 9) 95% 60% / .6); }
.tlz--board .tlz__ul { display: grid; gap: 7px; }
.tlz--board .tlz__t { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 50px; padding: 8px 10px; border-radius: 14px; background: #1d1a17; border: 1px solid #ffffff0f; box-shadow: 0 8px 16px -12px #000; overflow: hidden; }
.tlz--board .tlz__t::after { content: ""; position: absolute; inset-inline: 10px; inset-block-end: 5px; height: 2px; border-radius: 2px; background: linear-gradient(270deg, #fdcf4888 calc(30% + var(--i) * 9%), #ffffff0d 0); }
.tlz--board .tlz__ic { --icw: 32px; border-radius: 10px; background: #ffffff07; }
.tlz--board .tlz__name { color: var(--ink); }
.tlz--board.is-in .tlz__t { animation: tboard .6s var(--ease-out) both; animation-delay: calc(var(--gi) * 90ms + var(--i) * 50ms); }
@keyframes tboard { from { opacity: 0; transform: translateY(14px); } }

/* الصوتيات: طاولة مكساج: لكل أداة قناة بمؤشر مستوى حي ومنزلقة */
.tlz--mixer .tlz__groups { display: flex; flex-wrap: wrap; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; padding-block-end: 8px; scrollbar-width: thin; scrollbar-color: #3a342d #0000; }
.tlz--mixer .tlz__g { flex: none; display: flex; flex-direction: column; padding: 10px 10px 8px; border-radius: 22px; background: #131210; border: 1px solid #ffffff10; }
.tlz--mixer .tlz__gh { order: 2; justify-content: center; margin: 8px 0 0; padding-block-start: 6px; border-block-start: 1px solid #ffffff10; }
.tlz--mixer .tlz__ul { display: flex; gap: 5px; }
.tlz--mixer .tlz__t { width: 57px; display: grid; grid-template-rows: auto 150px auto auto; justify-items: center; gap: 8px; padding: 10px 4px 8px; border-radius: 16px; background: linear-gradient(#211e1a, #161412); border: 1px solid #ffffff0e; }
.tlz--mixer .tlz__ic { --icw: 34px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a342d, #1b1917); border: 1px solid #ffffff18; }
.tlz--mixer .tlz__name { font-size: 10px; line-height: 1.7; text-align: center; max-width: 100%; }
.tlz--mixer .tlz__t > .tlz__ai { grid-row: 4; }
.tmx { position: relative; display: flex; justify-content: center; gap: 8px; height: 150px; grid-row: 2; }
.tmx__meter { position: relative; width: 8px; height: 100%; border-radius: 3px; background: repeating-linear-gradient(0deg, #ffffff10 0 4px, #0000 4px 6px); overflow: hidden; }
.tmx__meter::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: var(--lv); background: repeating-linear-gradient(0deg, #0000 0 4px, #131210 4px 6px), linear-gradient(0deg, #4ade80, #fdcf48 70%, #faa83e); transform-origin: bottom; animation: tmx 1.1s ease-in-out var(--dl) infinite alternate; }
@keyframes tmx { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
.tmx__fader { position: relative; width: 4px; height: 100%; border-radius: 4px; background: #0d0c0b; box-shadow: inset 0 0 0 1px #ffffff10; }
.tmx__fader::after { content: ""; position: absolute; left: 50%; bottom: var(--f); width: 18px; height: 10px; translate: -50% 50%; border-radius: 3px; background: linear-gradient(#ede7db, #b9b0a1); box-shadow: 0 3px 8px #000; }
.tlz--mixer .tlz__t.is-ai .tmx__fader::after { background: var(--gold); }

/* الكتابة: لوحة مفاتيح، والشاشة فوقها تكتب اسم الأداة */
.tkeys__screen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 76px; padding: 16px 22px; margin-block-end: 20px; border-radius: 20px; background: linear-gradient(#0e0d0c, #131210); border: 1px solid #ffffff12; box-shadow: inset 0 2px 20px #000a; }
.tkeys__pre { font: 500 clamp(17px, 1.6vw, 22px)/1.7 var(--f-display); color: var(--dim); }
.tkeys__screen b { font: 700 clamp(22px, 2.4vw, 32px)/1.5 var(--f-num); color: var(--ink); min-width: 1ch; }
.tkeys__caret { display: inline-block; width: 2px; height: 1.3em; background: var(--g2); align-self: center; animation: blink 1s steps(1) infinite; }
.tkeys__screen small { margin-inline-start: auto; font-size: 13px; line-height: 1.7; color: var(--faint); }
.tlz--keys .tlz__groups { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.tlz--keys .tlz__ul { display: flex; flex-wrap: wrap; gap: 9px; }
.tlz--keys .tlz__t { width: 104px; height: 96px; display: grid; place-items: center; align-content: center; gap: 6px; padding: 8px 6px 10px; border-radius: 16px; text-align: center; cursor: default;
  background: linear-gradient(#2c2824, #1b1917); border: 1px solid #ffffff16; box-shadow: 0 6px 0 #0b0a09, 0 12px 22px -10px #000, inset 0 1px 0 #ffffff14; transition: transform .12s var(--ease-out), box-shadow .12s, border-color .2s; }
.tlz--keys .tlz__ic { --icw: 34px; }
.tlz--keys .tlz__name { font-size: 12px; line-height: 1.7; color: var(--dim); }
.tlz--keys .tlz__t > .tlz__ai { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; }
.tlz--keys .tlz__t.is-press { transform: translateY(5px); box-shadow: 0 1px 0 #0b0a09, 0 4px 10px -6px #000, inset 0 1px 0 #ffffff14; border-color: #fdcf4866; }
.tlz--keys .tlz__t.is-press .tlz__ic { color: var(--g2); }

@media (hover: hover) and (pointer: fine) {
  .tlz--cloud .tlz__t:hover, .tlz--orbit .tlz__t:hover, .tlz--dock .tlz__t:hover { border-color: #fdcf4855; }
  .tlz--index .tlz__t:hover { background: #fdcf480a; }
  .tlz--board .tlz__t:hover { border-color: #fdcf4855; transform: translateY(-2px); transition: transform .3s var(--ease-out), border-color .3s; }
  .tlz--keys .tlz__t:hover { border-color: #fdcf4855; }
  .tlz--mixer .tlz__t:hover { border-color: #fdcf4844; }
}
@media (max-width: 900px) {
  .tlz--cloud .tlz__body, .tlz--orbit .tlz__body, .tlz--index .tlz__body { grid-template-columns: minmax(0, 1fr); }
  .tcloud { width: min(100%, 330px); } .tcloud.is-3d > span { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 11px; }
  .tidx__peek { display: none; } .tlz--index .tlz__ul { grid-template-columns: minmax(0, 1fr); }
  .tdock__bar { flex-wrap: wrap; justify-content: center; height: auto; gap: 8px; } .tdock__sep { display: none; } .tdock__label { display: none; } .tdock { padding-block-start: 18px; }
  .tdock__bar > span { --t: 46px; }
  .tlz--mixer .tlz__groups { flex-wrap: nowrap; }
  .tlz--board .tlz__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .tlz--board .tlz__g { padding: 8px; } .tlz--board .tlz__t { grid-template-columns: 26px minmax(0, 1fr); padding: 7px 8px; gap: 7px; } .tlz--board .tlz__ic { --icw: 26px; } .tlz--board .tlz__t > .tlz__ai { grid-column: 1 / -1; justify-self: start; } .tlz--board .tlz__name { font-size: 12.5px; overflow-wrap: break-word; }
  .tlz--keys .tlz__t { width: calc((100% - 18px) / 3); height: 88px; }
  .tlz--keys .tlz__ul { width: 100%; }
  .tkeys__screen { min-height: 64px; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .torb__ring, .torb__ring > span > b, .tmx__meter::after, .tkeys__caret, .tlz--board.is-in .tlz__t, .tidx__big.is-swap { animation: none !important; }
}

/* 2.3-ح: الشريط الجانبي (rail) في الهامش الأيسر على الكمبيوتر: المسرح لا يلمسه */
@media (min-width: 1101px) { .sh, .phero--stage { padding-inline-end: max(var(--pad), 120px); } }

/* ============ أعمال القسم في صفحة القسم (2.3.34، قرار المالك 2026-10-28): كل الأعمال، والصورة كاملة بلا قص ============ */
.dwk__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-block-end: clamp(20px, 3vh, 32px); }
.dwk__count { color: var(--dim); font-size: 15px; line-height: 1.7; }
.dwk__count b { font-size: clamp(30px, 2.8vw, 42px); font-weight: 700; line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; margin-inline-end: 6px; vertical-align: -5px; }
.dwk__chips { flex: 1 1 auto; justify-content: flex-end; }
.dwk__chips[hidden] { display: none; }
.dwk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(22px, 2.4vw, 34px) clamp(14px, 2vw, 26px); align-items: start; }
.dwk__it[hidden], .dwk.is-collapsed .dwk__it[data-more] { display: none; }
.dwk__it a { display: grid; gap: 4px; border-radius: 18px; }
.dwk__img { position: relative; display: block; aspect-ratio: var(--ar, 1.78); border-radius: 16px; overflow: hidden; background: #1b1917; border: 1px solid #ffffff14; margin-block-end: 8px; transition: border-color .4s, transform .6s var(--ease-out), box-shadow .6s; }
.dwk__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dwk__img--mat { background: radial-gradient(120% 120% at 50% 40%, #24201b, #171512); }
.dwk__img--mat img { inset: 6%; width: 88%; height: 88%; }
.dwk__live { display: inline-block; margin-inline-start: 6px; padding: 0 10px; border-radius: 999px; border: 1px solid #fdcf4855; color: var(--g2); font-size: 12px; line-height: 1.7; white-space: nowrap; }
.dwk__t { font: 500 17px/1.55 var(--f-display); transition: color .3s; }
.dwk__m { color: var(--faint); font-size: 13.5px; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) { .dwk__it a:hover .dwk__img { border-color: #fdcf4866; transform: translateY(-4px); box-shadow: 0 24px 50px -28px #000; } .dwk__it a:hover .dwk__t { color: var(--g2); } }
.dwk__it a:focus-visible .dwk__img { border-color: var(--g2); }
.dwk__morebox { display: flex; justify-content: center; margin-block-start: clamp(26px, 4vh, 40px); }
.dwk__morebox[hidden] { display: none; }
@media (max-width: 600px) {
  .dwk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .dwk__img { border-radius: 12px; margin-block-end: 6px; }
  .dwk__t { font-size: 14.5px; line-height: 1.6; }
  .dwk__m { font-size: 12.5px; }
  .dwk__live { margin-inline-start: 0; padding: 0 8px; font-size: 11px; }
  .dwk__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); justify-content: flex-start; }
  .dwk__chips .chip { flex: none; }
}


/* 2.3.40: شريط الإثبات من غرفة النتائج في صفحة قسم التسويق (inc/portfolio.php › caducs_pf_proof_strip) */
.pfp { padding-inline: var(--pad); }
.pfp__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.pfp__list a { display: grid; gap: 4px; min-height: 100%; padding: 20px 20px 18px; border-radius: 22px; border: 1px solid #ffffff14; background: linear-gradient(165deg, #1d1a17, #151311); transition: border-color .3s, transform .4s var(--ease-out); }
.pfp__p { font-size: 12.5px; line-height: 1.6; color: var(--g2); }
.pfp__v { font: 700 clamp(30px, 3vw, 44px)/1.3 var(--f-num); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.pfp__l { font: 500 15px/1.6 var(--f-display); }
.pfp__s { font-size: 13px; line-height: 1.7; color: var(--faint); }
.pfp__go { margin-block-start: 22px; }
@media (hover: hover) { .pfp__list a:hover { border-color: #fdcf4866; transform: translateY(-3px); } }

/* 2.3.46: روابط أقسام المدونة في المقال والفوتر، المقال السابق والتالي، سطر العلامات في الرحلة، النص المخفي لقارئ الشاشة */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main:focus { outline: none; }
.cform input[dir="ltr"] { text-align: end; unicode-bidi: plaintext; }
.artnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block-start: 34px; }
.artnav__a { display: grid; gap: 4px; align-content: start; min-height: 44px; padding: 14px 18px; border-radius: 16px; border: 1px solid #ffffff14; background: #ffffff05; color: var(--ink); font-size: 15px; line-height: 1.7; transition: border-color .25s; }
.artnav__a small { font-size: 12.5px; color: var(--faint); }
.artnav__a--next { grid-column: 2; text-align: end; }
@media (hover: hover) { .artnav__a:hover { border-color: #fdcf4866; } }
.arthubs { margin-block-start: 30px; }
.arthubs__h { font-size: 15px; line-height: 1.7; color: var(--g2); margin-block-end: 10px; }
.arthubs .chips { list-style: none; padding: 0; margin: 0; }
.chip.is-on { border-color: #fdcf4866; color: var(--ink); }
.footer__blog { margin-block-start: 30px; padding-block-start: 22px; border-block-start: 1px solid #ffffff10; }
.footer__blog ul { display: flex; flex-wrap: wrap; gap: 0 26px; list-style: none; padding: 0; margin: 0; }
.pf-jr .intro__brandnote { margin-block-start: 14px; color: var(--dim); font-size: 14.5px; line-height: 1.8; }
.pf-jr .intro__brandnote a { display: inline-block; min-height: 44px; padding-block: 10px; color: var(--g2); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .artnav { grid-template-columns: 1fr; } .artnav__a--next { grid-column: auto; text-align: start; } }
