/* SMAZOD — قالب صفحة القطاع المميزة (المرحلة 2)
   يعتمد على body.sxp من egsod-sectors.css ويُضاف بعده. الأقسام: hero / pains / features / flow / stats / acts / faq */
.sp-on #sx-old{display:none}
.sp-w{max-width:1080px;margin:0 auto;padding:0 20px}
.sp-sec{padding:44px 0}
.sp-h2{margin:0 0 26px;font-size:clamp(22px,2.8vw,30px);font-weight:700;color:#222830;line-height:1.5;text-align:start}
.sp-k{display:block;margin:0 0 6px;font-size:13px;font-weight:600;color:#0a49c9}

/* 1) Hero */
.sp-hero{padding:34px 0 14px}
.sp-hero .sx-cr{margin-bottom:30px}
.sp-hero-in{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;align-items:center}
.sp-tag{display:inline-flex;align-items:center;gap:10px;margin:0 0 16px;padding:6px 16px 6px 12px;border-radius:999px;background:#fff;color:#0a3fb0;font-size:14px;font-weight:600;box-shadow:0 6px 18px -10px rgba(42,110,198,.4)}
.sp-tag i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e6f0ff;font-style:normal}
.sp-tag svg{width:16px;height:16px}
.sp-hero h1{margin:0 0 14px;font-size:clamp(28px,4.2vw,46px);font-weight:700;color:#222830;line-height:1.4;letter-spacing:0;text-align:start;width:auto}
.sp-lead{margin:0 0 26px;max-width:36em;color:#5b6471;font-size:17px;line-height:1.9}
.sp-act{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.sp-hero .btn.pr{min-width:0}
.sp-ghost{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:12px;background:#fff;color:#0a49c9;font-weight:600;font-size:15px;text-decoration:none;box-shadow:inset 0 0 0 1px #cadcf4}
.sp-ghost svg{width:16px;height:16px;transform:scaleX(-1)}html[dir=ltr] .sp-ghost svg{transform:none}
.sp-note{margin:14px 0 0;font-size:13px;color:#7a8490}
/* لوحة الأرقام السريعة داخل الـ Hero: تعرض أول مشكلة ← الحل، بدل أيقونة فارغة */
.sp-card{background:#fff;border:1px solid #e5e9ee;border-radius:20px;padding:22px 22px 20px;box-shadow:0 18px 40px -26px rgba(35,91,165,.45)}
.sp-card h2{margin:0 0 14px;font-size:14px;font-weight:600;color:#7a8490}
.sp-card ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.sp-card li{display:flex;gap:12px;align-items:center;padding:11px 0;font-size:15px;font-weight:600;color:#262d36;border-top:1px dashed #e5e9ee}
.sp-card li:first-child{border-top:0}
.sp-card li b{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e6f0ff;color:#0a49c9}.sp-card li b svg{width:15px;height:15px;stroke-width:2.6}

/* 2) المشاكل */
.sp-pains{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.sp-pain{background:#fff;border:1px solid #e5e9ee;border-radius:16px;padding:18px 18px 18px 16px;border-inline-start:4px solid #a1c1eb;display:flex;flex-direction:column;gap:12px}
.sp-pain i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e6f0ff;color:#0a49c9}
.sp-pain svg{width:22px;height:22px}
.sp-pain p{margin:0;font-size:15.5px;line-height:1.85;color:#37414c;font-weight:500}

/* 3) المميزات */
.sp-ft{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:44px;align-items:center;padding:28px 0}
.sp-ft+.sp-ft{border-top:1px solid #e9ecf1}
.sp-ft:nth-of-type(even) .sp-ft-tx{order:2}
.sp-ft-tx h3{margin:0 0 12px;font-size:clamp(20px,2.4vw,25px);font-weight:700;color:#222830;line-height:1.5}
.sp-ft-tx p{margin:0;color:#5b6471;font-size:16px;line-height:1.95}
.sp-win{background:#fff;border:1px solid #cedef4;border-radius:14px;overflow:hidden;box-shadow:0 22px 44px -28px rgba(35,91,165,.55)}
.sp-bar{display:flex;gap:6px;align-items:center;height:30px;padding:0 12px;background:#edf3fb;border-bottom:1px solid #dbe7f7}
.sp-bar i{width:9px;height:9px;border-radius:50%;background:#bad1f0}
.sp-scr{position:relative;aspect-ratio:16/10;background:#f8fafd}
.sp-scr img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
/* بديل مؤقت لو صورة الشاشة غير موجودة بعد (المرحلة 3): هيكل شاشة بسيط بدون كلام */
.sp-scr.ph{background:
 linear-gradient(#d5e3f6 0 0) 6% 10%/34% 12px no-repeat,
 linear-gradient(#e6effa 0 0) 6% 22%/88% 9px no-repeat,
 linear-gradient(#e6effa 0 0) 6% 32%/88% 9px no-repeat,
 linear-gradient(#e6effa 0 0) 6% 42%/88% 9px no-repeat,
 linear-gradient(#e6effa 0 0) 6% 52%/88% 9px no-repeat,
 linear-gradient(#c2d7f2 0 0) 6% 68%/26% 30px no-repeat,
 linear-gradient(#e6effa 0 0) 38% 68%/26% 30px no-repeat,
 linear-gradient(#e6effa 0 0) 70% 68%/24% 30px no-repeat,#f8fafd}

/* 4) دورة العمل */
.sp-flow{list-style:none;margin:0;padding:22px;display:flex;flex-wrap:wrap;gap:10px 0;background:#fff;border:1px solid #e5e9ee;border-radius:18px}
.sp-flow li{display:flex;align-items:center;gap:10px;padding:6px 4px;font-weight:600;font-size:15px;color:#262d36}
.sp-flow li b{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#0a49c9;color:#fff;font-size:13px}
.sp-flow li::after{content:"\2190";margin-inline:12px 10px;color:#8bb2e6;font-weight:400}
.sp-flow li:last-child::after{content:none}

/* 5) الأرقام */
.sp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#222830;border-radius:20px;overflow:hidden}
.sp-stat{padding:28px 26px}
.sp-stat+.sp-stat{border-inline-start:1px solid rgba(255,255,255,.12)}
.sp-stat strong{display:block;font-size:clamp(28px,3.6vw,40px);line-height:1.3;font-weight:700;color:#fff}
.sp-stat span{display:block;margin-top:6px;color:#c3ccd8;font-size:14.5px;line-height:1.8}

/* 6) الأنشطة */
.sp-acts{background:#fff;border:1px solid #e5e9ee;border-radius:16px}
.sp-acts summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;font-weight:700;font-size:17px;color:#222830}
.sp-acts summary::-webkit-details-marker{display:none}
.sp-acts summary::after{content:"+";font-size:24px;line-height:1;color:#0a49c9}
.sp-acts[open] summary::after{content:"\2212"}
.sp-acts ul{list-style:none;margin:0;padding:4px 22px 22px;display:flex;flex-wrap:wrap;gap:8px}
.sp-acts li{background:#f2f4f7;color:#5b6471;border-radius:999px;padding:7px 14px;font-size:13.5px;line-height:1.5}

/* 7) الأسئلة */
.sp-faq{display:grid;gap:10px;max-width:820px}
.sp-faq details{background:#fff;border:1px solid #e5e9ee;border-radius:14px}
.sp-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px;padding:16px 20px;font-weight:600;font-size:16px;color:#222830}
.sp-faq summary::-webkit-details-marker{display:none}
.sp-faq summary::after{content:"+";font-size:22px;line-height:1;color:#0a49c9;flex:none}
.sp-faq details[open] summary::after{content:"\2212"}
.sp-faq p{margin:0;padding:0 20px 18px;color:#5b6471;font-size:15.5px;line-height:1.95}
.sp-cta-s{margin:0 auto;max-width:36em}

#sx-oth{padding:20px 0 56px}
.sp-on #sx-oth .sx-h2{text-align:start}

@media(max-width:900px){
 .sp-hero-in{grid-template-columns:1fr;gap:26px}
 .sp-ft{grid-template-columns:1fr;gap:20px}
 .sp-ft:nth-of-type(even) .sp-ft-tx{order:0}
 .sp-ft-tx{order:1}.sp-win{order:2}}
@media(max-width:640px){
 .sp-sec{padding:30px 0}
 .sp-stats{grid-template-columns:1fr}
 .sp-stat+.sp-stat{border-inline-start:0;border-top:1px solid rgba(255,255,255,.12)}
 .sp-flow{flex-direction:column;align-items:flex-start;padding:18px}
 .sp-flow li::after{content:none}
 .sp-flow li{position:relative;padding-bottom:12px}
 .sp-flow li:not(:last-child)::before{content:"";position:absolute;inset-inline-start:14px;top:38px;bottom:-2px;border-inline-start:2px dashed #c2d7f2}
 .sp-act .btn,.sp-ghost{width:100%;justify-content:center}}

/* دورة العمل على الديسكتوب: شبكة 3 أعمدة (6 خطوات = صفّان متساويان بدل سطر يتيم) */
@media (min-width:641px){
  .sp-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 0}
  .sp-flow li{justify-content:flex-start}
  .sp-flow li::after{margin-inline-start:auto;margin-inline-end:14px}
  .sp-flow li:nth-child(3n)::after{content:none}}