/* واجهة: تنسيق صفحات الخدمات والأسئلة (نفس ألوان وخطوط الرئيسية) */
:root{--bg:#1D1633;--bg2:#231B3D;--card:#2A2047;--chip:#382B5C;--line:#3A2F5E;--line2:#54477F;--muted:#D8D0EC;--muted2:#AEA3CC;--accent:#EB7DB6}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:#fff;font-family:'IBM Plex Sans Arabic',sans-serif;font-size:17px;line-height:1.85}
img{max-width:100%;height:auto}
a{color:#fff;text-decoration:none}a:hover{color:var(--accent)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* الهيدر */
.site-head{border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding-top:18px;padding-bottom:14px}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-family:'Amiri',serif;font-size:32px;line-height:1.2;font-weight:700;color:#fff}
.brand i{width:11px;height:11px;background:var(--accent);transform:rotate(45deg);display:inline-block}
.nav{display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{flex:0 0 auto;padding:10px 12px;min-height:44px;display:inline-flex;align-items:center;color:var(--muted);font-size:16px;white-space:nowrap}
.nav a[aria-current="page"]{color:var(--accent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 26px;border-radius:12px;background:var(--accent);color:var(--bg);font-weight:700;font-size:17px}
.btn:hover{color:var(--bg);filter:brightness(1.06)}
.btn.ghost{background:transparent;color:#fff;border:1px solid var(--line2)}
.btn.small{min-height:46px;padding:10px 20px;font-size:16px}
@media (max-width:760px){.site-head .nav{order:3;width:100%;margin:0 -12px}.brand{font-size:28px}}

/* المسار */
.crumbs{margin:22px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px;color:var(--muted2);font-size:15px}
.crumbs li+li::before{content:"‹";margin-inline-end:6px;color:var(--line2)}
.crumbs a{color:var(--muted2)}.crumbs a:hover{color:var(--accent)}

/* البداية */
.hero{padding:28px 0 48px;display:flex;flex-direction:column;gap:18px}
.eyebrow{align-self:flex-start;padding:6px 14px;border-radius:999px;background:var(--chip);color:var(--accent);font-size:15px;font-weight:500}
h1{margin:0;font-family:'Readex Pro',sans-serif;font-weight:700;font-size:clamp(34px,5vw,58px);line-height:1.3}
h1 em{font-style:normal;color:var(--accent)}
.lead{margin:0;max-width:720px;color:var(--muted);font-size:19px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.facts{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 0;padding:0;list-style:none}
.facts li{padding:10px 16px;border-radius:12px;background:var(--card);border:1px solid var(--line);color:var(--muted);font-size:15px}
.facts strong{color:#fff}

/* المحتوى */
main section{padding:44px 0;border-top:1px solid var(--line)}
h2{margin:0 0 14px;font-family:'Readex Pro',sans-serif;font-weight:700;font-size:clamp(26px,3.4vw,38px);line-height:1.4}
h3{margin:0 0 6px;font-family:'Readex Pro',sans-serif;font-weight:600;font-size:21px;line-height:1.5}
p{margin:0 0 14px;color:var(--muted)}
.prose{max-width:820px}
.prose ul,.prose ol{margin:0 0 14px;padding-inline-start:22px;color:var(--muted);display:flex;flex-direction:column;gap:8px}
.prose li::marker{color:var(--accent)}
.prose strong{color:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin-top:8px}
.card{padding:24px 22px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
.card p{margin:0}
.card.hl{border:2px solid var(--accent)}
.price{font-family:'Readex Pro',sans-serif;font-size:30px;font-weight:700;color:#fff;line-height:1.4;margin:4px 0 8px}
.price small{font-size:15px;font-weight:500;color:var(--muted2)}
.note{padding:16px 18px;border-radius:14px;background:var(--bg2);border:1px dashed var(--line2);color:var(--muted);font-size:16px}
.steps{counter-reset:s;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;max-width:820px}
.steps li{counter-increment:s;display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:14px;background:var(--card);border:1px solid var(--line);color:var(--muted)}
.steps li::before{content:counter(s);flex:0 0 34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--bg);font-weight:700}
.steps strong{color:#fff}

/* الأسئلة */
.faq{display:flex;flex-direction:column;gap:12px;max-width:860px}
.faq details{border-radius:16px;background:var(--card);border:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;min-height:56px;font-family:'Readex Pro',sans-serif;font-weight:600;font-size:18px;color:#fff}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--chip);color:var(--accent);font-size:20px}
.faq details[open] summary::after{content:"−"}
.faq .ans{padding:0 20px 18px}
.faq .ans p:last-child,.faq .ans ul:last-child{margin-bottom:0}

/* روابط الخدمات الثانية + الطلب */
.more{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.more a{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-radius:16px;background:var(--card);border:1px solid var(--line)}
.more a span{color:var(--muted2);font-size:15px}
.more a:hover{border-color:var(--accent)}
.cta{margin:20px 0 64px;padding:clamp(32px,6vw,64px) clamp(22px,5vw,56px);border-radius:28px;border:1px solid var(--line2);background:var(--card) radial-gradient(ellipse at 15% 0%,rgba(235,125,182,.2),transparent 55%);display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.cta h2{margin:0}
.cta p{margin:0;max-width:620px}

/* الفوتر */
.site-foot{border-top:1px solid var(--line);padding:36px 0 96px;color:var(--muted2);font-size:15px}
.site-foot .cols{display:flex;flex-wrap:wrap;gap:28px 56px;justify-content:space-between}
.site-foot h2{font-size:17px;margin:0 0 8px;color:#fff}
.site-foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.site-foot a{color:var(--muted);display:inline-flex;min-height:36px;align-items:center}
.site-foot a:hover{color:var(--accent)}

/* زر الواتساب العائم + نموذج الطلب (مثل الرئيسية) */
.wa-float{position:fixed;left:20px;bottom:20px;z-index:40;width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25D366;color:#fff;box-shadow:0 12px 28px -8px rgba(0,0,0,.55)}
.wa-float:hover{color:#fff}
#order-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border-radius:20px;border:1px solid var(--line);background:var(--card);color:#fff;font-family:'IBM Plex Sans Arabic',sans-serif;line-height:1.6}
#order-dialog::backdrop{background:rgba(29,22,51,.75);backdrop-filter:blur(6px)}
#order-dialog form{display:flex;flex-direction:column;gap:16px}
#order-dialog .row{display:flex;flex-wrap:wrap;gap:16px}
#order-dialog .row label{flex:1 1 200px}
#order-dialog label{display:flex;flex-direction:column;gap:6px;font-size:15px;color:var(--muted)}
#order-dialog input,#order-dialog select,#order-dialog textarea{width:100%;min-height:48px;padding:10px 14px;border-radius:10px;border:1px solid var(--line2);background:var(--bg);color:#fff;font-size:16px;font-family:inherit}
#order-dialog textarea{resize:vertical;line-height:1.7}
#order-dialog select option{background:var(--card);color:#fff}
#order-dialog input::placeholder,#order-dialog textarea::placeholder{color:var(--muted2)}
#order-dialog .x{flex:0 0 auto;width:44px;height:44px;border-radius:10px;border:1px solid var(--line2);background:transparent;color:#fff;font-size:20px;cursor:pointer}
#order-dialog button[type=submit]{min-height:56px;border:0;border-radius:12px;background:var(--accent);color:var(--bg);font-weight:700;font-size:18px;font-family:inherit;cursor:pointer}
@media (max-width:760px){#order-dialog{padding:20px 18px}}

/* روابط داخل النص لازم تكون واضحة بدون الاعتماد على اللون */
.prose a,.ans a,.note a{text-decoration:underline;text-underline-offset:3px}

.site-foot .btn,.site-foot .btn:hover{color:var(--bg)}
