/* هوية أثر — نفس توكنز الميني اب بالظبط، متكيّفة لموقع عام ريسبونسِف */
:root{
  --beige:#FAF7F0;--white:#FFFFFF;--navy:#071426;--navy2:#0c2036;--gold:#C8A96B;--goldSoft:#E2CFA6;
  --cream:#EFE6D6;--border:#E8EDF2;--red:#D62839;--amber:#9a6b00;--green:#0a7d4d;
  --n70:rgba(7,20,38,.70);--n55:rgba(7,20,38,.55);--n35:rgba(7,20,38,.35);
  --cream70:rgba(239,230,214,.72);--cream45:rgba(239,230,214,.45);
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
/* تحصين ضد الهيدر الـ sticky (79px): أي قفزة لعنصر داخلي تسيب مسافة أمان فوقه */
h2,.sec-k,details.acc,.deadline{scroll-margin-top:92px}
body{font-family:'IBM Plex Sans Arabic',sans-serif;background:var(--beige);color:var(--navy);line-height:1.8}
@media (prefers-reduced-motion: reduce){*{animation-duration:.001ms!important;transition-duration:.001ms!important}}
img{max-width:100%}
a{color:inherit}
.wrap{max-width:820px;margin:0 auto;padding:0 18px}

/* ===== header ===== */
.hdr{background:var(--beige);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}
.hdr .in{max-width:820px;margin:0 auto;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hdr .brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.hdr .brand img{width:46px;height:46px;object-fit:contain}
.hdr .brand .w{font-weight:700;font-size:16px;color:var(--navy);line-height:1.2}
.hdr .brand .s{font-size:10.5px;color:var(--gold);font-weight:600}
.hdr .tg{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:12.5px;color:var(--navy);background:var(--gold);padding:9px 15px;border-radius:999px;text-decoration:none;box-shadow:0 10px 22px -14px rgba(200,169,107,.95);transition:transform .14s}
.hdr .tg:active{transform:scale(.97)}
.hdr-actions{display:flex;align-items:center;gap:8px;flex:none}
/* مبدّل اللغة — كبسولة كريمية بحد ذهبي، متناسقة مع زر التيليجرام (ثانوي متمايز) */
.lang-switch{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:12.5px;color:var(--navy);background:var(--white);border:1.5px solid var(--gold);padding:10px 15px;border-radius:999px;text-decoration:none;box-shadow:0 3px 10px -5px rgba(7,20,38,.18);transition:border-color .16s,color .16s,background .16s,transform .16s,box-shadow .16s}
.lang-switch .glb{width:16px;height:16px;color:var(--gold);display:inline-flex;flex:none}
.lang-switch .glb svg{width:16px;height:16px;display:block}
.lang-switch:hover{background:var(--cream);color:var(--gold);transform:translateY(-1px);box-shadow:0 10px 20px -10px rgba(200,169,107,.85)}
.lang-switch:active{transform:scale(.97)}
/* نسخة الفوتر — نفس الكبسولة، متمركزة */
.lang-switch.foot{margin:16px auto 0}
/* الموبايل: الهيدر فيه براند + مبدّل لغة + تيليجرام — بيزحم تحت 430px.
   الحل: نص زر التيليجرام يختفي وتفضل الأيقونة بس (الزر لسه واضح وقابل للضغط). */
@media(max-width:430px){
  .hdr .brand .s{display:none}
  .hdr .brand img{width:38px;height:38px}
  .lang-switch{padding:9px 11px;font-size:12px}
  /* النص يختفي والأيقونة تفضل — الزر يبقى دايرة لمس مريحة (44px) */
  .hdr .tg .tgtx{display:none}
  .hdr .tg{padding:0;width:44px;height:44px;justify-content:center;gap:0}
  .hdr .tg .ic{font-size:16px;line-height:1}
}

/* ===== breadcrumb ===== */
.crumbs{font-size:12px;color:var(--n55);padding:14px 0 0}
.crumbs a{color:var(--n55);text-decoration:none}
.crumbs a:hover{color:var(--gold)}
.crumbs .sep{margin:0 6px;color:var(--n35)}
.crumbs .cur{color:var(--gold);font-weight:600}

/* ===== hero (نفس هوية hero الميني اب) ===== */
.hero{position:relative;background:var(--navy);color:var(--beige);border-radius:24px;overflow:hidden;margin-top:14px;padding:34px 26px 30px}
/* صورة خلفية + overlay كحلي موحّد (78%) — الهوية اللونية واحدة أيًا كانت الصورة،
   والنص فوقها بيعدّي تباين AA (خلفية فعلية ≈ #3d4856 حتى مع صورة بيضا بالكامل) */
.hero .bgimg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.hero .ov{position:absolute;inset:0;background:rgba(7,20,38,.78);z-index:1}
/* هالة ثابتة (من غير أنيميشن blur — أخف على الأداء/CWV من نسخة الميني اب) */
.hero .glow{position:absolute;top:-12%;right:-12%;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(200,169,107,.26),transparent 66%)}
.hero>*{position:relative;z-index:2}
.hero .eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;color:var(--gold);border:1px solid rgba(200,169,107,.3);padding:6px 13px;border-radius:999px;margin-bottom:16px;background:rgba(255,255,255,.04)}
.hero .eyebrow .p{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 var(--green);animation:dot 2s infinite}
@keyframes dot{0%{box-shadow:0 0 0 0 rgba(10,125,77,.6)}70%,100%{box-shadow:0 0 0 7px rgba(10,125,77,0)}}
.hero h1{font-weight:700;font-size:clamp(26px,5vw,38px);line-height:1.35;margin-bottom:12px}
.hero h1 .g{color:var(--gold);position:relative}
.hero h1 .g::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:9px;background:var(--gold);opacity:.22;border-radius:3px;z-index:-1}
.hero .org{font-size:13px;color:var(--goldSoft);margin-bottom:10px}
.hero p.lead{font-size:14.5px;color:var(--cream70);line-height:1.9;max-width:60ch}
.hero .btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
/* .cta عام (كان محصور جوه .hero بس — صفحات الحساب محتاجاه برّه كمان) */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--gold);color:var(--navy);border:0;border-radius:14px;padding:13px 22px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none;box-shadow:0 14px 32px -16px rgba(200,169,107,.95);transition:transform .14s}
.cta:active{transform:scale(.98)}
/* زر ثانوي (خروج/إجراءات أقل أهمية) — كان مستخدم في الماركب من غير تعريف */
.ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--white);color:var(--navy);border:1.5px solid var(--border);border-radius:14px;padding:12px 20px;font-family:inherit;font-weight:700;font-size:13.5px;cursor:pointer;text-decoration:none;transition:border-color .16s,color .16s,transform .16s}
.ghost:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-1px)}
.ghost:active{transform:scale(.98)}
.hero .ghosty{display:inline-flex;align-items:center;gap:8px;border:1.5px solid rgba(200,169,107,.45);color:var(--goldSoft);border-radius:14px;padding:13px 22px;font-weight:700;font-size:14px;text-decoration:none;transition:transform .14s}
.hero .ghosty:active{transform:scale(.98)}

/* ===== الشريط الأحمر — مواعيد/تحذيرات بس ===== */
.deadline{display:flex;gap:12px;align-items:flex-start;background:#fdf3f4;border:1px solid rgba(214,40,57,.18);border-right:4px solid var(--red);border-radius:16px;padding:15px 16px;margin:16px 0 0}
.deadline .ic{font-size:18px;line-height:1.4;flex:none}
.deadline b{color:#7a1f29;font-size:14px;display:block;margin-bottom:2px}
.deadline p{color:#7a1f29;font-size:12.5px;line-height:1.8}

/* ===== شريط الإحصائيات (نفس .strip بتاعة الميني اب) ===== */
.strip{display:grid;grid-template-columns:repeat(4,1fr);margin:18px 0 0;border-radius:18px;background:var(--white);box-shadow:0 18px 40px -22px rgba(7,20,38,.5);overflow:hidden;border:1px solid var(--border)}
.strip .s{padding:16px 8px;text-align:center;position:relative}
.strip .s+.s::before{content:"";position:absolute;right:0;top:24%;height:52%;width:1px;background:var(--border)}
.strip .s b{font-weight:700;font-size:22px;color:var(--navy);display:block;line-height:1.3}
.strip .s small{font-size:11px;color:var(--n55);margin-top:5px;display:block}
/* الطبقة العليا «at a glance»: رقم Inter كبير أو أيقونة line-art — نفس الارتفاع (40px) للأربعة */
.strip .s .num{font-family:'Inter','IBM Plex Sans Arabic',sans-serif;font-weight:800;font-size:40px;color:var(--navy);display:block;height:40px;line-height:40px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.strip .s .ico{display:flex;align-items:center;justify-content:center;height:40px}
.strip .s .ico svg{width:38px;height:38px;stroke:var(--navy);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
/* الطبقة الوسطى (الكلمة) والسفلى (الليبل) — إيقاع موحّد تحت الرقم أو الأيقونة */
.strip .s .num+b,.strip .s .ico+b{font-size:13.5px;margin-top:3px;color:var(--n70)}
@media(max-width:560px){.strip{grid-template-columns:repeat(2,1fr)}.strip .s:nth-child(3)::before{display:none}.strip .s:nth-child(-n+2){border-bottom:1px solid var(--border)}}

/* ===== أقسام المقال ===== */
main{padding-bottom:30px}
.sec-k{font-weight:700;font-size:14px;color:var(--gold);margin:34px 0 14px;display:flex;align-items:center;gap:10px}
.sec-k::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--gold),transparent)}
h2{font-weight:700;font-size:21px;margin-bottom:10px}
.prose{font-size:14.5px;color:var(--n70);line-height:2}
.prose b{color:var(--navy)}

/* كارت أبيض بنفس روح .opp */
.card{position:relative;border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--white);overflow:hidden;box-shadow:0 16px 36px -32px rgba(7,20,38,.55);margin-bottom:12px}
.card::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.card h3{font-weight:700;font-size:15.5px;margin-bottom:8px}
.card .li{display:flex;gap:9px;margin-bottom:9px;font-size:13.5px;color:var(--n70);line-height:1.9}
.card .li::before{content:"\25C6";color:var(--gold);font-size:8px;margin-top:8px;flex:none}

/* خطوات المراحل */
.steps{display:grid;gap:10px}
.step{display:flex;gap:13px;background:var(--white);border:1px solid var(--border);border-radius:16px;padding:15px;box-shadow:0 14px 32px -30px rgba(7,20,38,.55)}
.step .n{width:34px;height:34px;border-radius:50%;background:var(--navy);color:var(--gold);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;flex:none}
.step b{font-size:14px;display:block;margin-bottom:2px}
.step p{font-size:12.5px;color:var(--n55);line-height:1.8}

/* الرئيسية: شبكة أبرز الفرص + زر كل الفرص */
.opps-home{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:700px){.opps-home{grid-template-columns:1fr}}
.opps-home .opp{display:flex;flex-direction:column}
.opps-home .opp .ft{margin-top:auto}
/* زر «شوف كل الفرص» — كحلي فخم بحدود ذهبية ورقم Inter ذهبي */
.all-opps-wrap{display:flex;justify-content:center;margin-top:18px}
.all-opps{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,#10243d,var(--navy));color:var(--beige);border:1.5px solid rgba(200,169,107,.45);border-radius:14px;padding:13px 22px;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 16px 36px -22px rgba(7,20,38,.8);transition:transform .18s ease,box-shadow .18s,border-color .18s}
.all-opps .ic{width:30px;height:30px;border-radius:50%;background:rgba(200,169,107,.16);color:var(--gold);display:flex;align-items:center;justify-content:center;flex:none}
.all-opps .ic svg{width:15px;height:15px}
.all-opps .n{font-family:'Inter','IBM Plex Sans Arabic',sans-serif;font-weight:800;font-size:19px;color:var(--gold);line-height:1;margin-inline-start:2px}
.all-opps .sub{font-size:11.5px;font-weight:600;color:var(--cream70)}
.all-opps:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 24px 48px -20px rgba(200,169,107,.55)}
.all-opps:active{transform:scale(.98)}

/* ===== كارت فرصة (نفس .opp بتاعة الميني اب — كلينك) ===== */
.opp{position:relative;display:block;border:1px solid var(--border);border-radius:18px;padding:16px;background:var(--white);overflow:hidden;cursor:pointer;text-decoration:none;color:var(--navy);box-shadow:0 16px 36px -32px rgba(7,20,38,.55)}
.opp::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.opp .badge{display:inline-block;font-size:10px;font-weight:700;color:var(--gold);border:1px solid rgba(200,169,107,.35);padding:4px 10px;border-radius:999px;margin-bottom:10px}
.opp h3{font-weight:700;font-size:15.5px;line-height:1.5;margin-bottom:7px}
.opp .meta{font-size:12px;color:var(--n55);margin-bottom:11px}
.opp .ft{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:11px;border-top:1px solid var(--border)}
.opp .ft .fund{font-size:12px;font-weight:700;color:var(--green);display:block}
.opp .ft .st{font-size:11px;color:var(--n55);display:block;margin-top:3px}
.opp .ft .more{font-size:12px;font-weight:700;color:var(--gold);flex:none;border:1.5px solid rgba(200,169,107,.4);border-radius:999px;padding:6px 13px}

/* ===== صفحة الفرص: هيرو أنحف + كروت القوايم ===== */
.hero-slim{padding:26px 24px 24px}
h2 .cnt{font-size:14px;color:var(--n55);font-weight:600}
.ocards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:8px}
@media(max-width:640px){.ocards{grid-template-columns:1fr}}
.ocard{position:relative;display:flex;flex-direction:column;gap:5px;background:var(--white);border:1px solid var(--border);border-radius:14px;padding:13px 15px;overflow:hidden;text-decoration:none;color:var(--navy)}
.ocard::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.ocard b{font-weight:700;font-size:13px;line-height:1.7}
.ocard .en{font-size:10.5px;color:var(--n55);direction:ltr;text-align:right}
[dir="ltr"] .ocard .en{text-align:left}
.ocard .state{font-size:11px;font-weight:700;color:var(--n55);margin-top:auto;padding-top:7px;border-top:1px dashed var(--border)}
.ocard.open .state.ok{color:var(--green)}
.ocard.open{border-color:rgba(200,169,107,.55);box-shadow:0 14px 32px -28px rgba(7,20,38,.55)}
.ocard.soon::before{background:linear-gradient(90deg,var(--n35),transparent)}
.ocard.soon b{color:var(--n70)}

/* طيّ كروت «قريبًا» — الكروت في الـ HTML (SEO)، الإخفاء بصري بس عبر details */
details.more-opps{margin:4px 0 8px}
details.more-opps summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none;background:var(--white);border:1.5px solid var(--border);border-radius:999px;padding:10px 18px;font-weight:700;font-size:13px;color:var(--n70);transition:border-color .15s}
details.more-opps summary::-webkit-details-marker{display:none}
details.more-opps summary:hover{border-color:var(--gold)}
details.more-opps summary .ar{color:var(--gold);font-size:12px;transition:transform .25s}
details.more-opps[open] summary .ar{transform:rotate(180deg)}
details.more-opps[open] summary{margin-bottom:10px}
/* ===== المدربون الأذكياء — كروت بهوية الموقع (equal-height، أيقونة فوق، زر ذهبي تحت) ===== */
.tutors{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.tutors{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.tutors{grid-template-columns:1fr}}
.tutor{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:var(--white);border:1px solid var(--border);border-radius:18px;padding:20px 16px 18px;position:relative;overflow:hidden;box-shadow:0 16px 36px -32px rgba(7,20,38,.55)}
.tutor::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.tutor .tic{width:56px;height:56px;border-radius:16px;background:var(--cream);display:flex;align-items:center;justify-content:center;flex:none}
.tutor .tic svg{width:32px;height:32px;stroke:var(--navy);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tutor b{font-weight:700;font-size:14px;line-height:1.6;color:var(--navy)}
.tutor .ten{font-size:11px;color:var(--n55);line-height:1.5;font-variant-numeric:tabular-nums}
.tutor .d{font-size:12px;color:var(--n55);line-height:1.75}
.tutor .tgo{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-family:inherit;font-weight:700;font-size:13px;color:var(--navy);background:var(--gold);border-radius:12px;padding:10px 20px;text-decoration:none;box-shadow:0 10px 24px -14px rgba(200,169,107,.95);transition:transform .14s}
.tutor .tgo:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){
  .tutor{transition:transform .25s ease,box-shadow .25s ease}
  .tutor:hover{transform:translateY(-4px);box-shadow:0 26px 50px -30px rgba(7,20,38,.5)}
}

/* ===== كروت الأدلة (PDF) ===== */
.guides{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:640px){.guides{grid-template-columns:1fr}}
/* equal-height: الجريد بيمدّد الصف، والـ flex-column بيثبّت زر التحميل تحت في الأربعة */
.guide{display:flex;gap:13px;align-items:stretch;background:var(--white);border:1px solid var(--border);border-radius:16px;padding:15px;text-decoration:none;color:var(--navy);box-shadow:0 14px 32px -30px rgba(7,20,38,.55);position:relative;overflow:hidden}
.guide::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.guide .ic{width:40px;height:40px;border-radius:12px;background:var(--cream);display:flex;align-items:center;justify-content:center;flex:none;font-size:19px}
.guide .tx{display:flex;flex-direction:column;flex:1;min-width:0}
.guide .tx b{font-weight:700;font-size:13.5px;display:block;line-height:1.6;margin-bottom:3px}
.guide .tx .d{font-size:12px;color:var(--n55);display:block;line-height:1.7;margin-bottom:10px}
.guide .tx .dl{font-size:11.5px;font-weight:700;color:var(--gold);display:block;margin-top:auto}

/* checklist في صفحات الأدلة — علامة صح خضرا بدل المعيّن الذهبي */
.card.checklist .li.ok::before{content:"✓";color:var(--green);font-size:13px;font-weight:700;margin-top:2px}

/* صفحات الأدلة الغنية: محتويات + عناوين فرعية + أقسام مطوية */
/* «محتويات الدليل» — شبكة كروت مرقمة بهوية الموقع */
.toc{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:6px}
@media(max-width:900px){.toc{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.toc{grid-template-columns:1fr}}
.toc a{display:flex;align-items:flex-start;gap:10px;font-size:12.5px;font-weight:600;color:var(--navy);text-decoration:none;background:var(--white);border:1px solid var(--border);border-radius:14px;padding:12px 14px;line-height:1.6;position:relative;overflow:hidden;transition:transform .18s ease,border-color .18s,box-shadow .18s}
.toc a::before{content:"";position:absolute;top:0;right:0;width:100%;height:2px;background:linear-gradient(90deg,var(--gold),transparent)}
.toc a .num{font-family:'Inter','IBM Plex Sans Arabic',sans-serif;font-weight:800;font-size:15px;color:var(--gold);flex:none;line-height:1.5}
.toc a:hover{transform:translateY(-2px);border-color:var(--gold);box-shadow:0 14px 28px -22px rgba(7,20,38,.5)}

.g-h3{font-weight:700;font-size:16px;margin:20px 0 8px;color:var(--navy)}
.g-h3::before{content:"\25C6";color:var(--gold);font-size:9px;margin-left:8px;vertical-align:2px}
[dir="ltr"] .g-h3::before{margin-left:0;margin-right:8px}
section[id^="s"]{scroll-margin-top:92px}

/* الطي: كارت كريمي واضح إنه تفاعلي — أيقونة + بتلف لـ ×، ونص اعرض/اخفِ بيتبدل */
details.sec-fold{margin:6px 0 12px}
details.sec-fold summary{display:flex;align-items:center;gap:11px;cursor:pointer;list-style:none;background:var(--cream);border:1.5px solid var(--border);border-radius:14px;padding:13px 16px;font-weight:700;font-size:13.5px;color:var(--navy);transition:border-color .18s,background .18s,box-shadow .18s}
details.sec-fold summary::-webkit-details-marker{display:none}
details.sec-fold summary:hover{border-color:var(--gold);background:#f3ead9;box-shadow:0 12px 26px -22px rgba(200,169,107,.9)}
details.sec-fold summary .pl{width:26px;height:26px;border-radius:50%;background:var(--navy);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex:none;transition:transform .25s ease;line-height:1}
details.sec-fold[open] summary .pl{transform:rotate(45deg)}
details.sec-fold summary .lbl-hide{display:none}
details.sec-fold[open] summary .lbl-show{display:none}
details.sec-fold[open] summary .lbl-hide{display:inline}
details.sec-fold[open] summary{margin-bottom:12px}
/* فتح سلس (transform/opacity بس — reduced-motion بيقتله عبر القاعدة العامة) */
.sec-fold-in{animation:foldIn .3s ease}
@keyframes foldIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* سطر «قريبًا» في الـ CTA */
.season .soon{font-size:11.5px;color:var(--cream45);margin:14px 0 0;border-top:1px solid rgba(200,169,107,.18);padding-top:12px}

/* صورة وسطية اختيارية بتكسر النص (slot — بيظهر لو midImage موجودة في المحتوى) */
.midimg{margin:22px 0 0;border-radius:18px;overflow:hidden;border:1px solid var(--border);box-shadow:0 16px 36px -28px rgba(7,20,38,.55);background:var(--white)}
.midimg img{display:block;width:100%;height:auto}
.midimg figcaption{font-size:11.5px;color:var(--n55);padding:9px 14px;border-top:1px solid var(--border)}

/* chips المسارات (نفس .chip) */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{background:var(--white);border:1.5px solid var(--border);border-radius:12px;padding:9px 14px;font-size:13px;font-weight:500;color:var(--navy)}

/* ملاحظات (نفس .note/.warn بتوع الميني اب) */
.note{background:var(--white);border:1px solid var(--border);border-right:3px solid var(--gold);border-radius:12px;padding:14px 16px;font-size:13.5px;line-height:1.95;color:var(--n70);margin:12px 0}
.note.warn{background:#fdf3f4;border-right-color:var(--red);color:#7a1f29}
.note.tip{background:#f3f7f4;border-right-color:var(--green);color:#1c5238}

/* details (أكورديون native بدون JS) */
details.acc{background:var(--white);border:1px solid var(--border);border-radius:14px;margin-bottom:10px;overflow:hidden}
details.acc summary{display:flex;align-items:center;gap:11px;padding:15px;cursor:pointer;font-weight:700;font-size:14.5px;list-style:none}
details.acc summary::-webkit-details-marker{display:none}
details.acc summary .ic{width:34px;height:34px;border-radius:10px;background:var(--cream);display:flex;align-items:center;justify-content:center;flex:none;font-size:16px}
details.acc summary .ar{margin-right:auto;color:var(--gold);font-size:13px;transition:transform .25s}
details.acc[open] summary .ar{transform:rotate(180deg)}
details.acc .in{padding:0 15px 15px;font-size:13.5px;line-height:1.95;color:var(--n70)}

/* قصة عبدالرحمن — نص كامل + slot صورة اختياري (شغال من غيرها) */
.about{margin-bottom:6px}
.about.has-photo{display:grid;grid-template-columns:340px 1fr;gap:26px;align-items:start}
.about .ph{width:100%;height:auto;aspect-ratio:5/6;object-fit:cover;align-self:start;border-radius:18px;border:1px solid var(--border);outline:1.5px solid rgba(200,169,107,.4);outline-offset:5px;box-shadow:0 24px 48px -28px rgba(7,20,38,.55);margin-top:4px}
@media(max-width:760px){
  .about.has-photo{grid-template-columns:1fr}
  .about .ph{max-width:290px;margin:2px auto 6px;display:block}
}
.about .story .prose{margin-bottom:12px}
.about .story .prose:first-child{font-weight:700;color:var(--navy);font-size:15px}
.about .motto{font-weight:700;font-size:19px;color:var(--gold);margin-top:16px;position:relative;padding-right:16px}
.about .motto::before{content:"\25C6";position:absolute;right:0;top:9px;font-size:8px;color:var(--gold)}
[dir="ltr"] .about .motto{padding-right:0;padding-left:16px}
[dir="ltr"] .about .motto::before{right:auto;left:0}

/* كارت بوت التيليجرام — أداة الطالب */
.botcard{position:relative;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--white);overflow:hidden;text-decoration:none;color:var(--navy);cursor:pointer;box-shadow:0 16px 36px -32px rgba(7,20,38,.55)}
.botcard::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.botcard .bic{width:54px;height:54px;border-radius:50%;background:var(--navy);color:var(--gold);display:flex;align-items:center;justify-content:center;flex:none}
.botcard .bic svg{width:26px;height:26px}
.botcard .btx{flex:1;min-width:230px;display:flex;flex-direction:column;gap:7px}
.botcard .btx b{font-size:15px;font-weight:700}
.botcard .btx .hnd{font-size:12px;font-weight:800;color:var(--gold);margin-inline-start:4px}
.botcard .btx .d{font-size:12.5px;color:var(--n70);line-height:1.9}
.botcard .chips{display:flex;gap:7px;flex-wrap:wrap}
.botcard .chips span{font-size:10.5px;font-weight:700;color:var(--navy);background:var(--cream);border-radius:999px;padding:5px 11px}
.botcard .bgo{flex:none;display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:13px;color:var(--navy);background:var(--gold);padding:11px 17px;border-radius:12px}
@media(max-width:600px){.botcard .bgo{width:100%;justify-content:center}}

/* ===== لوحة البث (إدارة) ===== */
.fld textarea{width:100%;font-family:inherit;font-size:16px;color:var(--navy);background:var(--white);border:1px solid var(--border);border-radius:12px;padding:11px 13px;resize:vertical;line-height:1.8}
.fld textarea:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,169,107,.18)}
@media(min-width:700px){.fld textarea{font-size:14px}}
.targetbox{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.targetbox>span{font-size:12.5px;font-weight:700;color:var(--navy)}
.targetbox b{font-size:26px;font-weight:800;color:var(--gold);line-height:1}
.targetbox .ghost{margin-inline-start:auto;padding:9px 16px;font-size:12.5px}
.prevtabs{display:flex;gap:6px;background:var(--cream);padding:4px;border-radius:999px;margin-bottom:12px;max-width:230px}
.prevtab{flex:1;font-family:inherit;font-weight:700;font-size:12px;color:var(--n55);background:0;border:0;padding:8px 10px;border-radius:999px;cursor:pointer}
.prevtab.on{background:var(--white);color:var(--navy)}
.msgprev{background:var(--navy);color:var(--beige);border-radius:12px;padding:16px;font-family:inherit;font-size:13px;line-height:2;white-space:pre-wrap;word-break:break-word;margin:0;max-height:340px;overflow:auto}
.camp-st{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--cream);color:var(--n70)}
.camp-st.approved{background:rgba(200,169,107,.22);color:#8a6d2f}
.camp-st.sent{background:rgba(10,125,77,.12);color:var(--green)}
.camp-st.canceled{background:rgba(214,40,57,.1);color:var(--red)}
/* أرقام الحملة الأربعة: مستهدَف · وصل · فشل · متبقّي */
.lt.ok{color:var(--green)}
.lt.bad{color:var(--red)}
.lt.warn{color:var(--goldText)}

/* كارت الأداة في الرئيسية */
.toolcard{position:relative;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--white);overflow:hidden;text-decoration:none;color:var(--navy);box-shadow:0 16px 36px -32px rgba(7,20,38,.55);transition:transform .25s ease,box-shadow .25s ease,border-color .16s}
.toolcard::before{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),transparent)}
.toolcard:hover{transform:translateY(-4px);border-color:var(--gold);box-shadow:0 26px 50px -30px rgba(7,20,38,.5)}
.toolcard .tic{width:52px;height:52px;border-radius:14px;background:var(--cream);color:var(--gold);display:flex;align-items:center;justify-content:center;flex:none}
.toolcard .ttx{flex:1;min-width:230px;display:flex;flex-direction:column;gap:6px}
.toolcard .tbadge{align-self:flex-start;font-size:10px;font-weight:700;color:var(--green);background:rgba(10,125,77,.1);border-radius:999px;padding:4px 10px}
.toolcard .ttx b{font-size:15px}
.toolcard .ttx .d{font-size:12.5px;color:var(--n70);line-height:1.9}
.toolcard .tgo{flex:none;display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:var(--navy);background:var(--gold);padding:11px 18px;border-radius:12px}
@media(max-width:600px){.toolcard .tgo{width:100%;justify-content:center}}

/* ===== أداة تحويل الصور إلى PDF ===== */
/* صندوق الطمأنة — أول حاجة تحت الهيرو */
.safebox{display:block;background:linear-gradient(135deg,rgba(10,125,77,.09),rgba(10,125,77,.03));border:1px solid rgba(10,125,77,.28);border-radius:16px;padding:15px 17px;margin-bottom:18px}
.safebox b{display:block;font-size:14px;color:var(--green);margin-bottom:6px}
.safebox span{display:block;font-size:12.5px;color:var(--n70);line-height:1.95}
.iptool{border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--white);box-shadow:0 16px 36px -32px rgba(7,20,38,.55);margin-bottom:26px}
/* منطقة الرفع */
.ip-drop{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border:2px dashed rgba(200,169,107,.55);border-radius:16px;padding:26px 18px;background:var(--beige);cursor:pointer;transition:border-color .16s,background .16s,transform .16s}
.ip-drop:hover,.ip-drop:focus-visible{border-color:var(--gold);background:var(--cream);outline:0}
.ip-drop.over{border-color:var(--gold);background:var(--cream);transform:scale(1.01)}
.ip-drop .ic{color:var(--gold)}
.ip-drop b{font-size:14.5px;color:var(--navy)}
.ip-drop small{font-size:11.5px;color:var(--n55)}
.ip-empty{text-align:center;font-size:12.5px;color:var(--n55);padding:16px 0 4px}
/* شبكة الصور */
.ip-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:14px}
.ip-item{position:relative;border:1px solid var(--border);border-radius:14px;padding:8px;background:var(--white);display:flex;flex-direction:column;gap:6px;cursor:grab}
.ip-item.dragging{opacity:.5}
.ip-num{position:absolute;top:10px;inset-inline-start:10px;width:22px;height:22px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;z-index:1}
.ip-thumb{width:100%;height:110px;object-fit:cover;border-radius:10px;background:var(--cream)}
.ip-name{font-size:10.5px;color:var(--n55);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:center}
.ip-ctrls{display:flex;gap:5px;justify-content:center}
.ip-mini{width:30px;height:30px;font-family:inherit;font-size:13px;font-weight:700;color:var(--navy);background:var(--cream);border:0;border-radius:9px;cursor:pointer;transition:background .14s,color .14s}
.ip-mini:hover{background:var(--gold)}
.ip-mini.del:hover{background:var(--red);color:#fff}
/* الإجراءات */
.ip-actions{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.ip-opt{display:flex;flex-direction:column;gap:5px}
.ip-opt>span{font-size:11.5px;font-weight:700;color:var(--navy)}
.ip-opt select{font-family:inherit;font-size:16px;color:var(--navy);background:var(--white);border:1px solid var(--border);border-radius:10px;padding:9px 11px}
.ip-opt select:focus{outline:0;border-color:var(--gold)}
@media(min-width:700px){.ip-opt select{font-size:13px}}
.ip-count{font-size:12px;font-weight:700;color:var(--gold);margin-inline-start:auto;padding-bottom:10px}
.ip-btns{display:flex;gap:8px;flex-wrap:wrap}
.ip-msg{font-size:12.5px;line-height:1.8;border-radius:12px;padding:10px 13px;margin-top:12px;background:var(--cream);color:var(--navy)}
.ip-msg.ok{background:rgba(10,125,77,.1);color:var(--green)}
.ip-msg.warn{background:rgba(214,40,57,.08);color:var(--red)}
@media(max-width:600px){
  .ip-list{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
  .ip-count{margin-inline-start:0;padding-bottom:0}
  .ip-btns{width:100%}
  .ip-btns .cta,.ip-btns .ghost{flex:1;justify-content:center}
}

/* ===== حسابات الطلاب — نماذج الدخول والحساب ===== */
/* مسرح الدخول: صورة دافئة تحت overlay كحلي موحّد + كارت زجاجي متداخل فوقها */
.authstage{position:relative;overflow:hidden;padding:46px 18px 96px;text-align:center;isolation:isolate}
.authstage .bgimg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:-2}
.authstage .ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,20,38,.80),rgba(7,20,38,.90));z-index:-1}
.authstage .glow{position:absolute;top:-30%;left:50%;width:520px;height:520px;transform:translateX(-50%);background:radial-gradient(circle,rgba(200,169,107,.22),transparent 62%);pointer-events:none;z-index:-1}
.authstage-in{max-width:600px;margin:0 auto}
.authstage h1{font-weight:700;font-size:27px;line-height:1.45;color:var(--beige);margin:12px 0 10px}
.authstage h1 .g{color:var(--gold)}
.authstage .lead{font-size:13.5px;line-height:1.95;color:var(--cream70);max-width:480px;margin:0 auto}
.authstage .eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;color:var(--goldSoft);border:1px solid rgba(200,169,107,.35);padding:6px 13px;border-radius:999px}
.authstage .eyebrow .p{width:6px;height:6px;border-radius:50%;background:var(--gold)}
@media(max-width:600px){.authstage{padding:34px 16px 88px}.authstage h1{font-size:22px}}

/* الكارت الزجاجي — بيطلع فوق المسرح */
.authcard{max-width:430px;margin:-70px auto 0;position:relative;z-index:2;border:1px solid rgba(255,255,255,.6);border-radius:20px;padding:22px;background:rgba(255,255,255,.93);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 30px 60px -28px rgba(7,20,38,.55)}
.authcard::before{content:"";position:absolute;top:0;right:0;left:0;height:3px;border-radius:20px 20px 0 0;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
/* دخول ناعم — هادي لأن الصفحة وظيفية (والحركة بتتوقف مع reduced-motion) */
@keyframes authRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.authcard{animation:authRise .5s cubic-bezier(.22,.9,.3,1) both}
.authstage-in{animation:authRise .45s cubic-bezier(.22,.9,.3,1) both}
/* التوقيع تحت الكارت */
.auth-sig{text-align:center;margin:22px auto 6px}
.auth-sig .dv{width:38px;height:2px;background:var(--gold);margin:0 auto 8px;border-radius:2px}
.auth-sig .mt{font-weight:700;font-size:12.5px;color:var(--gold)}
.auth-tabs{display:flex;gap:6px;background:var(--cream);padding:4px;border-radius:999px;margin-bottom:18px}
.auth-tab{flex:1;font-family:inherit;font-weight:700;font-size:13px;color:var(--n55);background:transparent;border:0;padding:9px 12px;border-radius:999px;cursor:pointer;transition:background .16s,color .16s}
.auth-tab.on{background:var(--white);color:var(--navy);box-shadow:0 2px 6px -3px rgba(7,20,38,.3)}
.fld{display:block;margin-bottom:14px}
.fld>span{display:block;font-weight:700;font-size:12.5px;color:var(--navy);margin-bottom:6px}
/* 16px على الموبايل إلزامي — أقل من كده iOS Safari بيعمل zoom تلقائي على الحقل */
.fld input,.fld select{width:100%;font-family:inherit;font-size:16px;color:var(--navy);background:var(--white);border:1px solid var(--border);border-radius:12px;padding:11px 13px;transition:border-color .16s,box-shadow .16s}
@media(min-width:700px){.fld input,.fld select{font-size:14px}}
.fld input:focus,.fld select:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,169,107,.18)}
.fld small{display:block;font-size:11px;color:var(--n55);margin-top:5px}
.authbtn{width:100%;justify-content:center;margin-top:4px}
.authbtn[data-busy="1"]{opacity:.6;pointer-events:none}
.auth-msg{font-size:12.5px;line-height:1.8;border-radius:12px;padding:10px 13px;margin:12px 0;background:var(--cream);color:var(--navy)}
.auth-msg.ok{background:rgba(10,125,77,.1);color:var(--green)}
.auth-msg.warn{background:rgba(214,40,57,.08);color:var(--red)}
.forgot-wrap{text-align:center;margin-top:10px}
.linkbtn{font-family:inherit;font-size:12px;font-weight:600;color:var(--n55);background:0;border:0;cursor:pointer;text-decoration:underline;padding:4px}
.linkbtn:hover{color:var(--gold)}
.auth-or{display:flex;align-items:center;gap:10px;margin:16px 0;color:var(--n35);font-size:11.5px}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--border)}
.gbtn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:inherit;font-weight:700;font-size:13.5px;color:var(--navy);background:var(--white);border:1.5px solid var(--border);border-radius:12px;padding:11px 16px;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}
.gbtn:hover{border-color:var(--gold);background:var(--beige);transform:translateY(-1px)}
.gbtn .gic{display:inline-flex;flex:none}
.auth-terms{font-size:11px;color:var(--n55);line-height:1.85;margin-top:14px;border-top:1px solid var(--border);padding-top:12px}
/* صفحة الحساب */
.gate{max-width:460px;margin:24px auto;text-align:center}
.accrow{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border)}
.accrow b{font-size:12.5px}
.chk{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--navy);cursor:pointer;padding:7px 0}
.chk.big{font-weight:700;font-size:13.5px}
.chk input{width:17px;height:17px;accent-color:var(--gold);cursor:pointer;flex:none}
.chks{display:flex;flex-wrap:wrap;gap:6px 18px}
.chk-k{font-weight:700;font-size:11.5px;color:var(--gold);margin-bottom:4px}
/* زر حفظ الفرصة (في هيرو صفحة الفرصة) — بيظهر للمسجّلين بس */
.savebtn{display:inline-flex;align-items:center;gap:7px;font-family:inherit;font-weight:700;font-size:13.5px;color:var(--goldSoft);background:rgba(255,255,255,.06);border:1.5px solid rgba(200,169,107,.45);border-radius:14px;padding:12px 18px;cursor:pointer;transition:background .16s,border-color .16s,color .16s,transform .16s}
.savebtn:hover{border-color:var(--gold);background:rgba(200,169,107,.14);transform:translateY(-1px)}
.savebtn.on{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.savebtn.err{border-color:var(--red);color:var(--red)}
.savebtn:disabled{opacity:.6;cursor:default}
.savebtn .ic{display:inline-flex;flex:none}
/* لينك المحفوظات في صفحة الحساب */
.savedlink{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:16px;padding:14px 16px;background:var(--white);text-decoration:none;color:var(--navy);margin-bottom:6px;transition:border-color .16s,transform .16s}
.savedlink:hover{border-color:var(--gold);transform:translateY(-2px)}
.savedlink .ic{width:34px;height:34px;border-radius:50%;background:var(--cream);color:var(--gold);display:flex;align-items:center;justify-content:center;flex:none}
.savedlink b{font-size:13.5px}
/* كارت في صفحة المحفوظات */
.saved-card .ft{display:flex;align-items:center;justify-content:space-between;gap:10px}
.unsavebtn{font-family:inherit;font-size:11.5px;font-weight:700;color:var(--n55);background:0;border:1px solid var(--border);border-radius:999px;padding:6px 12px;cursor:pointer;transition:color .16s,border-color .16s}
.unsavebtn:hover{color:var(--red);border-color:var(--red)}
.unsavebtn:disabled{opacity:.5}

/* دعوة إكمال البيانات — لطيفة مش إلزامية */
.nudge{display:block;background:linear-gradient(135deg,rgba(200,169,107,.13),rgba(200,169,107,.05));border:1px solid rgba(200,169,107,.4);border-radius:14px;padding:13px 15px;margin-bottom:12px}
.nudge b{display:block;font-size:13px;color:var(--navy);margin-bottom:5px}
.nudge span{display:block;font-size:12px;color:var(--n70);line-height:1.9}
.privacy-note{font-size:11.5px;color:var(--n55);line-height:1.85;margin-top:12px;padding-top:11px;border-top:1px solid var(--border)}
.conf-state{font-size:11.5px;font-weight:700;margin-top:8px}
.conf-state.ok{color:var(--green)}
.conf-state.pending{color:var(--amber)}
.acc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.acc-actions .cta,.acc-actions .ghost{flex:1;min-width:150px;justify-content:center;margin:0}

/* ===== المشاركة (صفحة الفرصة) ===== */
.sharebox{display:flex;gap:10px;flex-wrap:wrap}
.shbtn{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:1;min-width:150px;min-height:50px;padding:13px 18px;line-height:1.2;border-radius:14px;border:1.5px solid var(--border);background:var(--white);color:var(--navy);font-family:inherit;font-weight:800;font-size:13.5px;cursor:pointer;text-decoration:none;transition:border-color .16s,color .16s,transform .16s,background .16s}
.shbtn:hover{transform:translateY(-1px)}
.shbtn:active{transform:scale(.985)}
.shbtn .ic{flex:none;display:grid;place-items:center;color:var(--n55);transition:color .16s}
.shbtn:hover .ic{color:inherit}
.shbtn.wa:hover{border-color:#25D366;color:#128C46}
.shbtn.tg:hover{border-color:#2AABEE;color:#1785BC}
.shbtn.copy:hover,.shbtn.native:hover{border-color:var(--gold);color:var(--gold)}
.shbtn.copy.ok{border-color:var(--green);color:var(--green);background:color-mix(in srgb,var(--green) 7%,transparent)}
.shbtn.copy.ok .ic{color:var(--green)}

/* ===== واجهة فيديو يوتيوب — محلية بالكامل قبل التشغيل ===== */
.ytbox{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--border);background:var(--navy);aspect-ratio:16/9}
.ytfacade{position:absolute;inset:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:0;cursor:pointer;font-family:inherit;background:radial-gradient(120% 90% at 50% 0%,#123055 0%,var(--navy) 62%)}
.ytglow{position:absolute;inset:auto 50% -34% auto;transform:translateX(50%);width:min(76%,520px);height:190px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--gold) 30%,transparent),transparent);filter:blur(30px);pointer-events:none}
.ytplay{position:relative;width:66px;height:66px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:var(--navy);padding-inline-start:4px;box-shadow:0 12px 34px rgba(0,0,0,.34);transition:transform .18s}
.ytfacade:hover .ytplay{transform:scale(1.07)}
.ytfacade:active .ytplay{transform:scale(.97)}
.ytfacade:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
.ytlbl{position:relative;color:var(--cream);font-weight:800;font-size:13.5px;letter-spacing:.2px}
.ytbox.on{aspect-ratio:16/9;background:#000}
.ytbox iframe{display:block;width:100%;height:100%;border:0}
@media (prefers-reduced-motion:reduce){.ytfacade:hover .ytplay{transform:none}}

/* ربط تيليجرام (المرحلة ٤) */
.tgstate{font-size:11.5px;font-weight:800;padding:4px 11px;border-radius:999px;border:1px solid var(--border)}
.tgstate.on{color:var(--green);border-color:color-mix(in srgb,var(--green) 34%,transparent);background:color-mix(in srgb,var(--green) 8%,transparent)}
.tgstate.off{color:var(--n55)}
.tgcard .tgbtn{width:100%;justify-content:center;margin-top:14px}
.tgwait{display:flex;align-items:center;gap:11px;margin-top:14px;padding:13px 15px;border:1px dashed var(--gold);border-radius:14px;background:color-mix(in srgb,var(--gold) 6%,transparent);font-size:12.5px;line-height:1.8;color:var(--n70)}
.tgwait .spin{flex:none;width:16px;height:16px;border:2px solid color-mix(in srgb,var(--gold) 30%,transparent);border-top-color:var(--gold);border-radius:50%;animation:tgspin .8s linear infinite}
@keyframes tgspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.tgwait .spin{animation-duration:2.4s}}
.tgok{display:flex;align-items:center;gap:10px;margin-top:14px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--green) 30%,transparent);border-radius:14px;background:color-mix(in srgb,var(--green) 7%,transparent);font-size:13px}
.tgok .ic{flex:none;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:12px;font-weight:800}
.tgacts{display:flex;gap:10px;flex-wrap:wrap}
.tgacts .ghost{flex:1;min-width:140px}
.ghost.danger:hover{border-color:var(--red);color:var(--red)}

/* CTA ختامي (نفس .season) */
.season{background:linear-gradient(135deg,#10243d,var(--navy));border:1px solid rgba(200,169,107,.3);border-radius:18px;padding:22px;margin-top:30px;position:relative;overflow:hidden}
.season .k{font-weight:700;font-size:11.5px;color:var(--gold);margin-bottom:6px}
.season h3{font-weight:700;font-size:18px;color:var(--beige);margin-bottom:6px}
.season p{font-size:13px;color:var(--cream70);line-height:1.8;margin-bottom:14px}
.season .btns{display:flex;gap:10px;flex-wrap:wrap}
.season .go{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:13.5px;color:var(--navy);background:var(--gold);padding:11px 18px;border-radius:12px;text-decoration:none}
.season .alt{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:13.5px;color:var(--goldSoft);border:1.5px solid rgba(200,169,107,.45);padding:11px 18px;border-radius:12px;text-decoration:none}

/* ===== طبقة الحركة (بتشتغل بس مع html.motion — بدون JS مفيش أي أثر) ===== */
/* شريط التقدّم الذهبي */
.scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--goldSoft));transform:scaleX(0);transform-origin:right;z-index:60;pointer-events:none}
[dir="ltr"] .scroll-progress{transform-origin:left}
/* رسم خط عناوين الأقسام (transform بس) */
html.motion .sec-k::after{transform:scaleX(0);transform-origin:right;transition:transform .9s cubic-bezier(.2,.8,.2,1) .15s}
html.motion[dir="ltr"] .sec-k::after{transform-origin:left}
html.motion .sec-k.drawn::after{transform:scaleX(1)}
/* طبقات الضوء والجسيمات في الهيرو (بتتضاف بالـ JS) */
.hero-light{position:absolute;inset:-25%;z-index:1;pointer-events:none;background:radial-gradient(38% 30% at 72% 20%,rgba(200,169,107,.20),transparent 70%),radial-gradient(30% 26% at 18% 78%,rgba(226,207,166,.10),transparent 70%)}
.hero-dust{position:absolute;width:5px;height:5px;border-radius:50%;background:rgba(226,207,166,.85);box-shadow:0 0 9px 2px rgba(200,169,107,.45);z-index:1;pointer-events:none}
/* تلميحات أداء للطبقات المتحركة باستمرار */
html.motion-full .hero .bgimg,html.motion-full .hero-light{will-change:transform}
/* micro-interactions: رفع + ظل + لمعة ذهبية على hover (أجهزة hover بس، من غير JS) */
@media (hover:hover) and (pointer:fine){
  .card,.step,details.acc,.midimg,.opp,.guide,.botcard{transition:transform .25s ease,box-shadow .25s ease}
  .card:hover,.step:hover,details.acc:hover,.midimg:hover,.opp:hover,.guide:hover,.botcard:hover{transform:translateY(-4px);box-shadow:0 26px 50px -30px rgba(7,20,38,.5)}
  .card::after,.step::after,.opp::after,.guide::after,.tutor::after{content:"";position:absolute;top:-30%;bottom:-30%;width:34%;left:-50%;transform:translateX(-160%) skewX(-18deg);background:linear-gradient(100deg,transparent,rgba(200,169,107,.14),transparent);pointer-events:none;transition:transform .8s ease}
  .step{position:relative;overflow:hidden}
  .card:hover::after,.step:hover::after,.opp:hover::after,.guide:hover::after,.tutor:hover::after{transform:translateX(560%) skewX(-18deg)}
  .chip{transition:transform .15s ease,border-color .15s ease}
  .chip:hover{transform:translateY(-2px);border-color:var(--gold)}
}

/* ===== انعكاسات LTR للنسخة الإنجليزية (الخصائص الفيزيائية بس) ===== */
[dir="ltr"] .deadline{border-right:1px solid rgba(214,40,57,.18);border-left:4px solid var(--red)}
[dir="ltr"] .note{border-right:1px solid var(--border);border-left:3px solid var(--gold)}
[dir="ltr"] .note.warn{border-left-color:var(--red)}
[dir="ltr"] .note.tip{border-left-color:var(--green)}
[dir="ltr"] details.acc summary .ar{margin-right:0;margin-left:auto}

/* ===== الفوتر والتوقيع (نفس .sig) ===== */
footer{border-top:1px solid var(--border);margin-top:36px;padding:26px 0 30px;text-align:center}
.sig .nm{font-weight:700;font-size:15px;color:var(--navy)}
.sig .ath{font-weight:700;font-size:11.5px;color:var(--gold);letter-spacing:1px;margin-top:2px}
.sig .dv{width:42px;height:2px;background:var(--gold);margin:8px auto;border-radius:2px;position:relative}
.sig .dv::after{content:"\25C6";position:absolute;top:-8px;left:50%;transform:translateX(-50%);color:var(--gold);font-size:8px}
.sig .mt{font-weight:600;font-size:12.5px;color:var(--gold)}
footer .socials{display:flex;justify-content:center;gap:11px;margin-top:16px}
footer .socials a{width:38px;height:38px;border:1.5px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--navy);transition:color .18s,border-color .18s,transform .18s ease}
footer .socials a svg{width:17px;height:17px}
footer .socials a:hover{color:var(--gold);border-color:var(--gold);transform:translateY(-2px)}
footer .fine{font-size:11px;color:var(--n55);margin-top:12px;line-height:1.9}
footer .fine a{color:var(--n55)}
footer .fine.credits{font-size:10px;color:var(--n35);margin-top:6px}
footer .fine.credits a{color:var(--n35)}

/* ═══════════════════════════════════════════════════════════════
   الرئيسية الجديدة (HOME_V2)
   ═══════════════════════════════════════════════════════════════ */

/* الهيرو: نسختا العنوان — الطويلة للشاشات، القصيرة للموبايل */
.h1-narrow{display:none}
.hero-v2 .hero-note{margin-top:12px;font-size:12.5px;line-height:1.9;color:var(--n55);border-inline-start:2px solid var(--gold);padding-inline-start:11px;max-width:60ch}

/* شارة التخصص على كروت الفرص — هادية بهوية الموقع */
.fchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.fchips span{font-size:10.5px;font-weight:700;letter-spacing:.2px;color:var(--n55);background:color-mix(in srgb,var(--navy) 4%,transparent);border:1px solid var(--border);border-radius:999px;padding:3px 9px;line-height:1.6}

/* «مين أنا» — التعريف المختصر بعد الهيرو */
.whoami{display:grid;gap:22px;align-items:start}
.whoami.has-photo{grid-template-columns:200px 1fr}
.whoami .ph{width:100%;aspect-ratio:1;object-fit:cover;border-radius:20px;border:2px solid var(--gold);box-shadow:0 14px 40px rgba(7,20,38,.14)}
.wintro{font-size:15px;font-weight:800;color:var(--navy);line-height:1.85;margin-bottom:14px}
.wpt{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-top:1px solid var(--border)}
.wpt:first-of-type{border-top:0;padding-top:0}
.wpt .i{flex:none;font-size:17px;line-height:1.5}
.wpt .t{display:flex;flex-direction:column;gap:3px}
.wpt .t b{font-size:13.5px;color:var(--navy)}
.wpt .t span{font-size:12.5px;line-height:1.9;color:var(--n70)}
.wmore{display:inline-flex;align-items:center;gap:7px;margin-top:14px;font-size:12.5px;font-weight:800;color:var(--gold);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .16s}
.wmore::after{content:"↓";font-size:11px}
.wmore:hover{border-bottom-color:var(--gold)}

/* كارت الحساب */
.acctcard{background:var(--white);border:1.5px solid var(--border);border-radius:20px;padding:22px}
.apt{display:flex;gap:13px;align-items:flex-start;padding:13px 0;border-top:1px solid var(--border)}
.apt:first-of-type{border-top:0;padding-top:0}
.apt .i{flex:none;font-size:18px;line-height:1.5}
.apt .t{display:flex;flex-direction:column;gap:3px}
.apt .t b{font-size:13.5px;color:var(--navy)}
.apt .t span{font-size:12.5px;line-height:1.9;color:var(--n70)}
.abtns{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.abtns .cta,.abtns .ghost{flex:1;min-width:150px;justify-content:center;margin:0}

@media (max-width:720px){
  .h1-wide{display:none}
  .h1-narrow{display:inline}
  .whoami.has-photo{grid-template-columns:1fr}
  .whoami .ph{width:150px;margin-inline:auto;display:block}
  .wintro{text-align:center}
}

/* لمعة واحدة على الجزء الذهبي في هيرو الرئيسية الجديدة (دسكتوب بس — motion.js
   بيضيف .go وقت التشغيل، والموبايل ما بيوصلش للكلاس ده أصلًا) */
.hero-v2 h1 .g.shimmer-once{background-image:linear-gradient(100deg,transparent 38%,rgba(255,255,255,.55) 50%,transparent 62%);background-size:220% 100%;background-position:220% 0;-webkit-background-clip:text;background-clip:text}
.hero-v2 h1 .g.shimmer-once.go{transition:background-position 1s ease-out;background-position:-40% 0}

/* ═══════════════════════════════════════════════════════════════
   الرئيسية V3 — الإيقاع والصور والحجم
   المبدأ: الفخامة في المساحات الفاضية، مش في الحشو.
   ═══════════════════════════════════════════════════════════════ */

/* الأقسام العريضة بتتكتب **برّه** .wrap في الماركب — مش بحيلة margin/100vw.
   السبب: 100vw بيحسب عرض السكرول بار، فبيطلع القسم مزحزح وفيه فجوة على
   الجنب. الخروج من الـ wrapper بيدي عرض كامل حقيقي في كل المتصفحات. */
.numsec .inr,.quoteband blockquote{padding-inline:18px}

/* ── ① الهيرو: الشاشة الأولى كاملة ── */
.hero-v2{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:64px 34px 74px;border-radius:24px}
.hero-v2 h1{font-size:clamp(34px,6.2vw,64px);line-height:1.24;letter-spacing:-.5px;margin-bottom:20px;max-width:17ch}
.hero-v2 p.lead{font-size:clamp(14.5px,1.5vw,16.5px);max-width:52ch}
.hero-v2 .btns{margin-top:28px}
/* مؤشر النزول — بيقول «فيه محتوى تحت» */
.scrollcue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);width:1px;height:34px;overflow:hidden;z-index:2}
.scrollcue .ln{display:block;width:1px;height:34px;background:linear-gradient(var(--gold),transparent);animation:cue 2.1s ease-in-out infinite}
@keyframes cue{0%{transform:translateY(-100%)}60%,100%{transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){.scrollcue .ln{animation:none;opacity:.5}}

/* ── ② مين أنا: صورة دائرية صغيرة جوه شريط ── */
.whoami.has-photo{grid-template-columns:96px 1fr;gap:20px;align-items:start}
.whoami .ph{width:96px;height:96px;border-radius:50%;object-fit:cover;border:0;box-shadow:0 0 0 3px var(--beige),0 0 0 4.5px var(--gold),0 10px 26px rgba(7,20,38,.16)}

/* ── ③ الأرقام: تدرّج كحلي خالص، أرقام ضخمة ذهبية ── */
.numsec{background:linear-gradient(160deg,#0b1e35 0%,var(--navy) 52%,#050f1c 100%);color:var(--cream);padding:64px 18px;margin-top:44px}
.numsec .inr{max-width:820px;margin:0 auto;text-align:center}
.numsec .k{font-size:11.5px;font-weight:800;letter-spacing:1.6px;color:var(--gold);text-transform:uppercase;margin-bottom:30px}
.numsec .ns{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.numsec .n1 b{display:block;font-family:Inter,system-ui,sans-serif;font-size:clamp(40px,7vw,72px);font-weight:800;line-height:1;color:var(--gold);letter-spacing:-2px}
.numsec .n1 .l{display:block;margin-top:10px;font-size:14px;font-weight:800;color:var(--cream)}
.numsec .n1 small{display:block;margin-top:5px;font-size:11.5px;line-height:1.8;color:var(--cream45)}
.numsec .nnote{margin-top:32px;padding-top:20px;border-top:1px solid rgba(239,230,214,.14);font-size:12px;line-height:1.9;color:var(--cream45);max-width:56ch;margin-inline:auto}

/* ── ④ كروت الفرص بصور ── */
.opp.has-img{padding:0;overflow:hidden;display:flex;flex-direction:column}
.opp.has-img .thumb{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--navy)}
.opp.has-img .thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.92;transition:transform .5s ease,opacity .3s}
.opp.has-img:hover .thumb img{transform:scale(1.045);opacity:1}
.opp.has-img>.badge{position:absolute;top:12px;inset-inline-start:12px;z-index:2;background:var(--gold);color:var(--navy);box-shadow:0 6px 18px -8px rgba(0,0,0,.6)}
.opp.has-img>h3,.opp.has-img>.meta,.opp.has-img>.fchips,.opp.has-img>.ft{margin-inline:18px}
.opp.has-img>h3{margin-top:16px;font-size:17px}
.opp.has-img>.ft{margin-bottom:16px;margin-top:auto;padding-top:12px}

/* ── ⑤ شريط الاقتباس ── */
.quoteband{position:relative;margin:48px 0;min-height:340px;display:grid;place-items:center;overflow:hidden}
.quoteband img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.quoteband .ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,20,38,.86),rgba(7,20,38,.72))}
.quoteband blockquote{position:relative;z-index:2;max-width:640px;padding:56px 26px;text-align:center}
.quoteband p{font-size:clamp(19px,3vw,28px);line-height:1.7;color:var(--cream);font-weight:700}
.quoteband cite{display:block;margin-top:18px;font-size:12.5px;font-style:normal;color:var(--gold);font-weight:800}

/* ── ⑥ الأدلة: قايمة صفّية (شكل مختلف عن الكروت) ── */
.guidelist{border:1.5px solid var(--border);border-radius:18px;background:var(--white);overflow:hidden}
.guidelist .guide{display:flex;align-items:center;gap:14px;padding:15px 18px;border-top:1px solid var(--border);text-decoration:none;transition:background .16s}
.guidelist .guide:first-child{border-top:0}
.guidelist .guide:hover{background:var(--beige)}
.guidelist .guide .ic{flex:none;font-size:19px}
.guidelist .guide .tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.guidelist .guide b{font-size:13.5px;color:var(--navy)}
.guidelist .guide .d{font-size:11.5px;color:var(--n55);line-height:1.7}
.guidelist .guide .dl{margin-inline-start:auto;flex:none;font-size:11.5px;font-weight:800;color:var(--gold);white-space:nowrap}

/* ── تنفّس: مسافات أكبر بين الأقسام ── */
.hero-v2 ~ .sec-k{margin-top:52px}

@media (max-width:720px){
  /* الهيرو: العنوان + التحذير + زر واحد لازم يبانوا من غير scroll */
  .hero-v2{min-height:88vh;min-height:88svh;padding:40px 22px 56px}
  .hero-v2 h1{font-size:clamp(28px,8.4vw,38px);max-width:none;margin-bottom:14px}
  .hero-v2 .btns{margin-top:20px}
  .numsec{padding:38px 16px}
  .numsec .k{margin-bottom:22px}
  .numsec .ns{grid-template-columns:1fr;gap:18px}
  .numsec .n1 b{font-size:44px}
  .numsec .n1 .l{margin-top:6px;font-size:13px}
  .numsec .nnote{margin-top:22px;padding-top:16px}
  .quoteband{min-height:280px;margin:34px 0}
  .quoteband blockquote{padding:44px 20px}
  .guidelist .guide{flex-wrap:wrap}
  .guidelist .guide .dl{margin-inline-start:0;width:100%;padding-inline-start:33px}
}

/* الهيرو V2 من الحافة للحافة — مش صندوق في النص.
   بيتكتب برّه .wrap في الماركب، فالعرض كامل بدون أي حيلة vw.
   الارتفاع = الشاشة ناقص الهيدر الثابت (79px) عشان يملى المرئي بالظبط. */
.hero-v2{border-radius:0;margin-top:0;min-height:calc(100vh - 79px);min-height:calc(100svh - 79px)}
.hero-v2 .inr{max-width:820px;margin:0 auto;width:100%;position:relative;z-index:2}
.hero-v2 .glow{width:420px;height:420px;top:-16%;right:-8%}
@media (max-width:720px){
  .hero-v2{min-height:calc(88vh - 71px);min-height:calc(88svh - 71px)}
  .hero-v2 .inr{padding-inline:4px}
}

/* ═══════════════════════════════════════════════════════════════
   قائمة التنقّل — زر الهيدر + اللوحة المنزلقة
   ═══════════════════════════════════════════════════════════════ */

/* زر القائمة — ٣ شرطات بأطوال متدرّجة (تفصيلة هوية) */
.menubtn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;background:var(--white);border:1.5px solid var(--border);border-radius:13px;cursor:pointer;transition:border-color .16s,transform .16s,box-shadow .16s}
.menubtn:hover{border-color:var(--gold);transform:translateY(-1px);box-shadow:0 8px 18px -10px rgba(200,169,107,.8)}
.menubtn:active{transform:scale(.96)}
.menubtn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.menubtn .bars{display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.menubtn .bars i{display:block;height:1.8px;border-radius:2px;background:var(--navy);transition:width .22s ease}
.menubtn .bars i:nth-child(1){width:17px}
.menubtn .bars i:nth-child(2){width:12px}
.menubtn .bars i:nth-child(3){width:15px}
.menubtn:hover .bars i{width:17px}
.menubtn[aria-expanded="true"] .bars i:nth-child(2){width:17px}

/* اللوحة */
.navwrap{position:fixed;inset:0;z-index:60}
.navscrim{position:absolute;inset:0;background:rgba(7,20,38,.55);opacity:0;transition:opacity .42s ease;backdrop-filter:blur(2px)}
.navwrap.on .navscrim{opacity:1}
.navpanel{position:absolute;inset-block:0;inset-inline-end:0;width:min(88vw,376px);background:var(--beige);border-inline-start:1px solid var(--border);box-shadow:-24px 0 60px -30px rgba(7,20,38,.5);display:flex;flex-direction:column;padding:18px 20px 22px;overflow-y:auto;
  /* RTL صح: بتنزلق من نفس ناحية الزر في اللغتين */
  transform:translateX(var(--slide,100%));transition:transform .46s cubic-bezier(.22,.9,.24,1)}
[dir="rtl"] .navpanel{--slide:-100%}
.navwrap.on .navpanel{transform:translateX(0)}

.navtop{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--border)}
.navttl{font-size:11.5px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold)}
.navx{width:36px;height:36px;display:grid;place-items:center;background:transparent;border:1.5px solid var(--border);border-radius:11px;color:var(--navy);cursor:pointer;transition:border-color .16s,color .16s}
.navx:hover{border-color:var(--red);color:var(--red)}
.navx:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.navlist{list-style:none;margin:6px 0 0;padding:0;flex:1}
.navlist li{opacity:0;transform:translateY(8px);transition:opacity .34s ease,transform .34s ease;transition-delay:calc(var(--i) * 42ms + 120ms)}
.navwrap.on .navlist li{opacity:1;transform:none}
.navlist a{display:flex;align-items:center;gap:13px;padding:14px 4px;border-bottom:1px solid var(--border);text-decoration:none;transition:padding-inline-start .18s ease}
.navlist a:hover{padding-inline-start:8px}
.navlist a:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;border-radius:8px}
.navlist .nx{flex:none;font-size:11px;font-weight:800;color:var(--n35);width:20px}
.navlist .nt{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.navlist .nt b{font-size:15px;color:var(--navy);font-weight:700}
.navlist .nt span{font-size:11.5px;color:var(--n55)}
.navlist a:hover .nt b{color:var(--gold)}
.navlist .na{flex:none;color:var(--n35);font-size:17px;transition:color .16s}
.navlist a:hover .na{color:var(--gold)}

.navtg{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;padding:13px;background:var(--gold);color:var(--navy);border-radius:14px;font-weight:800;font-size:13.5px;text-decoration:none;transition:transform .14s}
.navtg:active{transform:scale(.98)}

@media (prefers-reduced-motion:reduce){
  .navpanel,.navscrim,.navlist li{transition-duration:.001ms!important}
  .navlist li{opacity:1;transform:none}
}
@media (max-width:430px){.menubtn{width:40px;height:40px}}

/* ═══════════════════════════════════════════════════════════════
   «الخيط» — أربع لمسات بصرية منفصلة
   ⚠️ زخرفة بحتة: aria-hidden + pointer-events:none + مفيش معلومة
      بتتنقل بيها. صفر filter/blur/mask/تدرّجات — الأمان على Safari.
   ═══════════════════════════════════════════════════════════════ */
.thread{position:absolute;pointer-events:none;color:var(--gold);z-index:0;overflow:visible;
  /* الافتراضي = مرسوم بالكامل، فلو JS ما اشتغلش يفضل زخرفة ثابتة سليمة */
  opacity:.9}
.thread.t-static{opacity:.7}

/* ① الهيرو → مين أنا: من **يمين** القسم (ناحية الموتو، بعيد عن الأزرار) */
.whoami{position:relative}
.t-whoami{top:-58px;inset-inline-end:-14px;width:186px;height:186px}

/* ② قسم الأرقام: قوس على **حافة** القسم — مش حوالين رقم */
.numsec{position:relative;overflow:hidden}
.t-nums{top:8%;inset-inline-end:14px;width:56px;height:270px;color:var(--goldSoft);opacity:.62}

/* ③ الفرص: خيط **خلف** الكروت (z-index 0 والكروت فوقه) */
.opps-home{position:relative}
.opps-home>.opp{position:relative;z-index:1}
.t-opps{top:-30px;inset-inline-end:0;width:100%;height:52px;opacity:.9}

/* ④ القصة: الخط التحتي والأثر المجرّد — بينتهي هنا قبل قسم تيليجرام */
.about{position:relative}
.t-story{top:-96px;inset-inline-end:-10px;width:216px;height:108px}

/* الشاشات الضيقة: اللمسات الباقية أصغر ومزحزحة عن النص */
@media (max-width:720px){
  .t-whoami{width:128px;height:128px;top:-40px;inset-inline-end:-8px}
  .t-opps{height:40px;top:-22px}
  .t-story{width:140px;height:70px;top:-62px}
}
/* أصغر من 480px أو تقليل الحركة → ثابت وخافت (thread.js بيضيف t-static) */
@media (max-width:480px){.thread{opacity:.3}}
@media (prefers-reduced-motion:reduce){.thread{opacity:.32}}

/* ═══ الهيرو الحقيقي ملء الشاشة ═══
   المشكلة: الهيرو كان بيملأ المساحة **تحت** الهيدر — فشريط الهيدر البيج
   فوقه كان بيخليه يبان صندوق. الحل: الهيرو يطلع لأعلى الشاشة (y=0)
   والهيدر يبقى شفّاف فوقه، ويرجع بيج أول ما تنزل. */
body.has-fullhero .hdr{background:transparent;border-bottom-color:transparent;transition:background .3s ease,border-color .3s ease}
body.has-fullhero .hdr .brand .w{color:var(--cream)}
body.has-fullhero .hdr .brand .s{color:var(--goldSoft)}
body.has-fullhero .lang-switch{background:rgba(255,255,255,.07);color:var(--cream);border-color:rgba(200,169,107,.5)}
body.has-fullhero .menubtn{background:rgba(255,255,255,.07);border-color:rgba(200,169,107,.35)}
body.has-fullhero .menubtn .bars i{background:var(--cream)}
/* بعد النزول: الهيدر يرجع طبيعي */
body.has-fullhero.scrolled .hdr{background:var(--beige);border-bottom-color:var(--border)}
body.has-fullhero.scrolled .hdr .brand .w{color:var(--navy)}
body.has-fullhero.scrolled .hdr .brand .s{color:var(--gold)}
body.has-fullhero.scrolled .lang-switch{background:var(--white);color:var(--navy);border-color:var(--gold)}
body.has-fullhero.scrolled .menubtn{background:var(--white);border-color:var(--border)}
body.has-fullhero.scrolled .menubtn .bars i{background:var(--navy)}

/* الهيرو نفسه: من y=0 لآخر الشاشة */
.hero-v2{margin-top:-79px;padding-top:calc(79px + 58px);min-height:100vh;min-height:100svh}
@media (max-width:720px){
  .hero-v2{margin-top:-71px;padding-top:calc(71px + 34px);min-height:88vh;min-height:88svh}
}

/* ═══ صورة القصة: النص هو البطل ═══
   كانت 340×408 — واخدة نص القسم. بقت 120px زي «مين أنا». */
.about.has-photo{grid-template-columns:120px 1fr;gap:22px;align-items:start}
.about .ph{width:120px;height:120px;border-radius:20px;object-fit:cover;border:0;
  box-shadow:0 0 0 3px var(--beige),0 0 0 4.5px var(--gold),0 10px 26px rgba(7,20,38,.14)}
@media (max-width:720px){
  .about.has-photo{grid-template-columns:1fr}
  .about .ph{width:96px;height:96px;margin-inline:auto;display:block}
}

/* ═══════════════════════════════════════════════════════════════
   إصلاحات كشفها ماسح وصول الستايل (tools/audit-css.mjs)
   ═══════════════════════════════════════════════════════════════ */

/* .lt — كانت مستخدمة في 49 صفحة **من غير أي قاعدة**.
   الغرض المقصود: الأرقام والنص اللاتيني بخط Inter وبعرض ثابت. */
.lt{font-family:'Inter','IBM Plex Sans Arabic',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0}

/* ═══ سطر التحذير في الهيرو — أهم جملة في الصفحة ═══
   🔴 كان color:var(--n55) — كحلي غامق بشفافية 55% **على خلفية كحلية**،
      فكان بيضيع تمامًا. دلوقتي: كريمي فاتح على خلفية داكنة خفيفة بحد ذهبي.
   التباين: #EFE6D6 على ~#0d1b2e ⇒ أعلى بكتير من 4.5:1 (معيار AA).
   ⚠️ من غير أحمر — الأحمر محجوز للمواعيد والتحذيرات الحرجة. */
.hero-v2 .hero-note{color:var(--cream);background:rgba(7,20,38,.42);
  border:1px solid rgba(200,169,107,.34);border-inline-start:3px solid var(--gold);
  border-radius:0 10px 10px 0;padding:11px 14px;font-size:13px;font-weight:600;
  line-height:1.85;max-width:56ch;margin-top:18px}
[dir="ltr"] .hero-v2 .hero-note{border-radius:10px 0 0 10px}

/* ═══ قسم تيليجرام المدمج — الكلاسات دي اتبنت في الماركب من غير CSS ═══ */
.staysec{background:linear-gradient(165deg,#0b1e35 0%,var(--navy) 58%,#050f1c 100%);
  color:var(--cream);padding:56px 18px;margin-top:48px}
.staysec .inr{max-width:820px;margin:0 auto}
.staysec .k{font-size:11.5px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--gold);margin-bottom:10px}
.staysec h2{color:var(--cream);margin-bottom:10px}
.sintro{font-size:14px;line-height:1.9;color:var(--cream70);max-width:56ch;margin-bottom:24px}

.scards{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.scard{display:flex;flex-direction:column;align-items:flex-start;gap:7px;
  background:rgba(255,255,255,.05);border:1.5px solid rgba(200,169,107,.28);
  border-radius:18px;padding:20px;text-decoration:none;color:var(--cream);
  transition:border-color .18s,background .18s,transform .18s}
.scard:hover{border-color:var(--gold);background:rgba(255,255,255,.08);transform:translateY(-2px)}
.scard .ic{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;
  background:rgba(200,169,107,.14);color:var(--gold);margin-bottom:4px}
.scard .bdg{font-size:10.5px;font-weight:800;letter-spacing:.3px;color:var(--navy);
  background:var(--goldSoft);padding:3px 10px;border-radius:999px}
.scard b{font-size:16px;color:var(--cream);font-weight:700}
.scard .hnd{font-size:11.5px;color:var(--gold)}
.scard .d{font-size:12.5px;line-height:1.9;color:var(--cream70);flex:1}
/* زر حقيقي — مش لينك نصي مسطّر */
.scard .go{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;
  width:100%;padding:11px 16px;background:var(--gold);color:var(--navy);
  border-radius:12px;font-weight:800;font-size:13px;transition:transform .14s}
.scard:hover .go{transform:translateY(-1px)}

.snote{margin-top:22px;padding-top:18px;border-top:1px solid rgba(239,230,214,.14);
  font-size:12.5px;line-height:1.9;color:var(--cream70);max-width:60ch}
.ssoon{margin-top:8px;font-size:11.5px;line-height:1.85;color:var(--cream45);max-width:60ch}

/* حاويات نصية — hooks للتخطيط */
.wtx{display:flex;flex-direction:column;min-width:0}

@media (max-width:720px){
  .staysec{padding:40px 16px;margin-top:36px}
  .scards{grid-template-columns:1fr}
  .hero-v2 .hero-note{font-size:12.5px;padding:10px 12px;margin-top:14px}
}

/* ═══════════════════════════════════════════════════════════════
   إصلاحات تباين (فحص WCAG على الصفحة الحقيقية)
   ⚠️ من غير أحمر — الأحمر محجوز للمواعيد والتحذيرات الحرجة.
   ═══════════════════════════════════════════════════════════════ */
:root{
  /* الذهبي الهوياتي #C8A96B تباينه على الأبيض ≈ 2.2:1 — كويس كحدود
     وأيقونات، بس **مش كفاية للنص**. ده نفس الذهبي مغمّق للنص الصغير
     على الخلفيات الفاتحة (≈ 4.9:1 على الأبيض). */
  --goldText:#8a6a2c;
  /* كريمي بشفافية أعلى للنص الصغير على الكحلي (كان .45 ⇒ 3.4:1) */
  --cream60:rgba(239,230,214,.78);
}
/* نص ذهبي صغير على خلفية فاتحة */
.guidelist .guide .dl,.wmore,.quoteband cite,.credits a,.credits{color:var(--goldText)}
.wmore:hover{border-bottom-color:var(--goldText)}
/* وصف الأدلة كان 4.11:1 — تغميق بسيط يعدّيه */
.guidelist .guide .d{color:var(--n70)}
/* نصوص صغيرة على الأقسام الكحلية */
.numsec .nnote,.ssoon,.numsec .n1 small{color:var(--cream60)}

/* اعتمادات الصور في الفوتر — كانت --n35 (2.25:1). النص صغير جدًا (10px)
   فمحتاج تباين أعلى مش أقل. */
footer .fine.credits,footer .fine.credits a{color:var(--n70)}
/* سطر الهيدر الفرعي — الذهبي على البيج 4.04:1، تحت الحد بشعرة */
.hdr .brand .s,body.has-fullhero.scrolled .hdr .brand .s{color:var(--goldText)}

/* ═══ أداة دمج PDF + صفحة الأدوات ═══ */
.toolcard-m{margin-top:16px}
.mdrop{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 20px;border:2px dashed var(--border);border-radius:16px;background:var(--beige);cursor:pointer;text-align:center;transition:border-color .18s,background .18s}
.mdrop:hover,.mdrop.on{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 7%,transparent)}
.mdrop:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.mdrop .ic{color:var(--gold)}
.mdrop b{font-size:14px;color:var(--navy)}
.mdrop .hint{font-size:11.5px;color:var(--n55)}
.mhead{display:flex;justify-content:space-between;align-items:center;margin:18px 0 8px;font-size:11.5px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--n55)}
.mlist{border:1.5px solid var(--border);border-radius:14px;overflow:hidden}
.mrow{display:flex;align-items:center;gap:11px;padding:11px 13px;border-top:1px solid var(--border);background:var(--white)}
.mrow:first-child{border-top:0}
.mrow .mn{flex:none;width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--cream);color:var(--navy);font-size:11px;font-weight:800}
.mrow .mtx{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.mrow .mtx b{font-size:13px;color:var(--navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrow .ms{font-size:11px;color:var(--n55)}
.macts{display:flex;gap:4px;flex:none}
.mbtn{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--border);background:var(--white);border-radius:8px;cursor:pointer;font-size:11px;color:var(--n70);transition:border-color .14s,color .14s}
.mbtn:hover{border-color:var(--gold);color:var(--gold)}
.mbtn.del:hover{border-color:var(--red);color:var(--red)}
.mbtn:focus-visible{outline:2px solid var(--gold);outline-offset:1px}

/* صندوق الطمأنة */
.safebox{background:var(--white);border:1.5px solid color-mix(in srgb,var(--green) 26%,transparent);border-radius:18px;padding:18px;margin-top:16px}
.safebox .sbh{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.safebox .sbh b{font-size:14.5px;color:var(--navy)}
.safebox .sbh .ic{font-size:17px}
.safebox .sbwhy{margin-top:11px;padding-top:11px;border-top:1px solid var(--border);font-size:12px;line-height:1.9;color:var(--n55)}

/* شبكة كروت الأدوات */
.toolgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.tcard{display:flex;flex-direction:column;gap:7px;background:var(--white);border:1.5px solid var(--border);border-radius:18px;padding:20px;text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s}
.tcard:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 14px 30px -20px rgba(7,20,38,.4)}
.tcard .tic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--cream);color:var(--gold);margin-bottom:4px}
.tcard b{font-size:16px;color:var(--navy)}
.tcard .d{font-size:12.5px;line-height:1.9;color:var(--n70);flex:1}
.tcard .tgo{margin-top:10px;font-size:12.5px;font-weight:800;color:var(--goldText)}
@media (max-width:720px){.toolgrid{grid-template-columns:1fr}}

/* ═══ الاستفسارات — /account/help/ ═══ */
.hd-box{margin-bottom:18px}
.hd-t{font-size:17px;font-weight:800;color:var(--navy);margin-bottom:10px}
.hd-l{list-style:none;padding:0;margin:0 0 10px}
.hd-l li{position:relative;padding-inline-start:20px;margin-bottom:7px;font-size:14.5px;color:var(--n70);line-height:1.75}
.hd-l li::before{content:"";position:absolute;inset-inline-start:2px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--gold)}
.hd-n{font-size:13px;color:var(--n55);margin:0}
.hd-a{color:var(--goldText);font-weight:700;text-decoration:underline}
.hf-box{margin-bottom:26px}
.hl-t{margin:0 0 12px}

/* قايمة المحادثات */
.hl{display:grid;gap:10px}
.hl-i{display:block;width:100%;text-align:start;font-family:inherit;cursor:pointer;
      background:var(--white);border:1px solid var(--border);border-radius:14px;
      padding:14px 16px;transition:border-color .16s,box-shadow .16s}
.hl-i:hover,.hl-i:focus-visible{border-color:var(--gold);box-shadow:0 2px 14px rgba(7,20,38,.06)}
.hl-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.hl-h b{font-size:15px;color:var(--navy);line-height:1.5}
.hl-n{flex:none;font-size:10.5px;font-weight:800;padding:2px 8px;border-radius:999px;
      background:var(--gold);color:var(--navy)}
.hl-m{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.camp-st.open{background:rgba(200,169,107,.22);color:var(--goldText)}
.camp-st.answered{background:rgba(10,125,77,.12);color:var(--green)}
.camp-st.closed{background:var(--cream);color:var(--n55)}

/* المحادثة */
.hb{font-family:inherit;font-size:13.5px;font-weight:700;color:var(--goldText);
    background:none;border:0;padding:0;margin-bottom:14px;cursor:pointer}
.hb:hover{text-decoration:underline}
.ht{display:grid;gap:12px;margin-bottom:20px}
.hm{border-radius:14px;padding:13px 16px;border:1px solid var(--border)}
.hm-s{background:var(--white)}
.hm-a{background:var(--cream);border-color:rgba(200,169,107,.4)}
.hm-w{font-size:11.5px;font-weight:700;color:var(--n55);margin-bottom:6px}
.hm-a .hm-w{color:var(--goldText)}
.hm-b{margin:0;font-size:14.5px;color:var(--navy);line-height:1.85;white-space:pre-wrap}
/* مخفي بصريًا وظاهر لقارئ الشاشة (label بيوصف حقل واضح من الـ placeholder) */
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ═══ لوحة الأدمن: إحصائيات + CRUD (المرحلة ٦) ═══ */
.stg{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.stc{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:14px 12px;text-align:center}
.stn{display:block;font-family:Inter,system-ui,sans-serif;font-size:26px;font-weight:800;color:var(--navy);line-height:1.2}
.stn.bad{color:var(--red)}
.stl{display:block;font-size:11.5px;color:var(--n55);margin-top:4px;line-height:1.5}
.crud{margin:12px 0 4px;background:var(--white);border:1px solid var(--border);border-radius:14px;padding:12px 16px}
.crud>summary{font-size:14px;font-weight:700;color:var(--goldText);cursor:pointer;list-style:none}
.crud>summary::-webkit-details-marker{display:none}
.crud[open]>summary{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--border)}
.crud-r{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:default}
.crud-r:hover{border-color:var(--border);box-shadow:none}
.xbtn{flex:none;font-family:inherit;font-size:12px;font-weight:700;color:var(--red);background:none;
      border:1px solid rgba(214,40,57,.28);border-radius:8px;padding:5px 12px;cursor:pointer}
.xbtn:hover{background:rgba(214,40,57,.07)}
/* ═══ المرحلة ٧: الطلبات + التعديل داخل الصف ═══ */
.rq{cursor:default}
.rq:hover{border-color:var(--border);box-shadow:none}
.rq-f{display:flex;align-items:flex-end;gap:10px;margin-top:10px}
.rq-t{flex:1;font-family:inherit;font-size:14.5px;color:var(--navy);background:var(--white);
      border:1px solid var(--border);border-radius:12px;padding:10px 12px;resize:vertical;line-height:1.7}
.rq-t:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,169,107,.18)}
.crud-a{flex:none;display:flex;gap:6px}
.xbtn.edt{color:var(--goldText);border-color:rgba(200,169,107,.45)}
.xbtn.edt:hover{background:rgba(200,169,107,.1)}
.crud-e{background:var(--white);border:1px solid var(--gold);border-radius:14px;padding:14px 16px}

/* ═══ صفحة 404 ═══ */
.nf{max-width:760px}
.nf-t{font-size:17px;font-weight:800;color:var(--navy);margin:26px 0 14px}
.nf-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-bottom:26px}
.nf-c{display:block;background:var(--white);border:1px solid var(--border);border-radius:14px;
      padding:16px 18px;transition:border-color .16s,box-shadow .16s}
.nf-c:hover{border-color:var(--gold);box-shadow:0 2px 14px rgba(7,20,38,.06)}
.nf-c b{display:block;font-size:15.5px;color:var(--navy);margin-bottom:5px}
.nf-c span{display:block;font-size:13px;color:var(--n55);line-height:1.7}
.nf-n{font-size:13px;color:var(--n55);margin-top:22px;line-height:1.8}

/* ═══ شارات المواعيد على الكروت ═══
   🔴 الأحمر هنا متسق مع .deadline — نفس المعنى (موعد قرب). */
.dt{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;
    margin:10px 0 0;line-height:1.6}
.dt .dot{flex:none;width:7px;height:7px;border-radius:50%;background:currentColor}
.dt-open{color:var(--green)}
.dt-soon{color:var(--red)}
.dt-closed{color:var(--n55);font-weight:600}
.dt-none{color:var(--n55);font-weight:600;font-size:12px}

/* ═══ تبويب الفرص (المرحلة ٩) ═══ */
.opsearch{width:100%;font-family:inherit;font-size:15px;color:var(--navy);background:var(--white);
          border:1px solid var(--border);border-radius:12px;padding:11px 14px;margin-bottom:12px}
.opsearch:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,169,107,.18)}
.opdates{border-color:rgba(214,40,57,.28)}   /* 🔴 الأحمر = المواعيد */
.opdrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0 4px}
.oppub{margin-top:20px;border-color:rgba(200,169,107,.45)}
/* ═══ تبويب المتابعة (المرحلة ١٠) ═══ */
.mn-r{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:default}
.mn-r:hover{border-color:var(--border);box-shadow:none}
.mn-t{display:flex;gap:6px;flex-wrap:wrap;flex:none}
.mn-b{font-size:10.5px;font-weight:800;padding:2px 8px;border-radius:999px;
      background:var(--cream);color:var(--n55);white-space:nowrap}
.mn-b.warn{background:rgba(200,169,107,.22);color:var(--goldText)}
.mn-b.err{background:rgba(214,40,57,.1);color:var(--red)}
.mn-b.ok{background:rgba(10,125,77,.12);color:var(--green)}
/* حالتين جداد: لسه مافتحتش · وموعد بس من غير ادّعاء فتح — الاتنين محايدين */
.dt-soonopen{color:var(--goldText)}
.dt-plain{color:var(--n70)}

/* ═══ الكارت بعد شيل الشيبات: تنفّس أوضح وتدرّج بصري ═══
   الترتيب: صورة · شارة النوع · العنوان · الجهة · الموعد · التمويل · الزرار */
.opp h3{margin:0 0 6px;line-height:1.55}
.opp .meta{margin:0 0 12px;font-size:13px;color:var(--n55);line-height:1.6}
.opp .dt{margin:0 0 14px;padding-top:12px;border-top:1px solid var(--border)}
.opp .ft{margin-top:auto;padding-top:12px}
.opp .fund{font-size:13px;line-height:1.75;color:var(--n70)}
