/* المعمار — أنماط قالب: services (مُنطَّقة تحت body.pg-services) */
body.pg-services{--dark:#20272B;--dark2:#30393E;--gold:#E5A62D;--warm:#F5F3EE;--text:#60686C;--line:#E4E2DC;--fh:'Alexandria','Cairo',sans-serif;--ease:cubic-bezier(.2,.7,.2,1)}
*,*::before,*::after{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.pg-services{font:400 1.05rem/1.95 'Cairo',sans-serif;color:var(--text);background:var(--warm);overflow-x:hidden;overflow-wrap:break-word}
body.pg-services.lock{overflow:hidden}
body.pg-services img{display:block;max-width:100%;height:auto}
body.pg-services a{color:inherit;text-decoration:none}
body.pg-services ul,body.pg-services ol{padding:0;list-style:none}
body.pg-services svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.pg-services :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
body.pg-services .wrap{width:min(1200px,100% - 40px);margin-inline:auto}
body.pg-services h1,body.pg-services h2,body.pg-services h3,body.pg-services h4{font-family:var(--fh);color:var(--dark);line-height:1.4}
body.pg-services .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 28px;font:700 1rem 'Cairo';border:2px solid transparent;cursor:pointer;transition:.25s var(--ease)}
body.pg-services .btn-gold{background:var(--gold);color:var(--dark)}
body.pg-services .btn-gold:hover{background:#f2b94a;transform:translateY(-2px)}
body.pg-services .btn-line{border-color:rgba(255,255,255,.5);color:#fff}
body.pg-services .btn-line:hover{border-color:var(--gold);color:var(--gold)}
body.pg-services header{position:sticky;top:0;z-index:55;background:var(--dark);box-shadow:0 4px 18px rgba(0,0,0,.25)}
body.pg-services .bar{height:66px;display:flex;align-items:center;gap:26px}
body.pg-services .logo{display:flex;align-items:center;gap:10px;font:800 1.5rem var(--fh);color:#fff}
body.pg-services .menu{display:flex;gap:26px;margin-inline-start:auto;color:#fff;font-weight:600}
body.pg-services .menu a{padding:4px 0;border-bottom:2px solid transparent;transition:.25s}
body.pg-services .menu a:hover,body.pg-services .menu a.on{color:var(--gold);border-color:var(--gold)}
body.pg-services .burger{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px;position:relative;z-index:70}
body.pg-services .burger i{width:24px;height:2px;background:#fff;transition:.3s}
body.pg-services .burger[aria-expanded=true] i:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.pg-services .burger[aria-expanded=true] i:nth-child(2){opacity:0}
body.pg-services .burger[aria-expanded=true] i:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
body.pg-services .ph{position:relative;background:var(--dark) linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px) 0 0/60px 60px;color:#fff;padding:52px 0 120px;overflow:hidden}
body.pg-services .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px) 0 0/60px 100%;pointer-events:none}
body.pg-services .ph .wrap{position:relative;z-index:1}
body.pg-services .crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:.9rem;color:#b9bdbf;margin-bottom:20px}
body.pg-services .crumbs a:hover{color:var(--gold)}
body.pg-services .crumbs li+li::before{content:"/";margin-inline-end:8px;color:var(--gold)}
body.pg-services .ph h1{color:#fff;font:800 clamp(2rem,5vw,3.6rem)/1.35 var(--fh);padding-top:26px;position:relative;max-width:18em}
body.pg-services .ph h1::before,body.pg-services .dm::before{content:"";position:absolute;top:0;right:0;width:90px;height:12px;border-inline:2px solid var(--gold);background:linear-gradient(var(--gold),var(--gold)) center/100% 2px no-repeat}
body.pg-services .ph p{max-width:40em;margin-top:14px;color:#d6d9da;font-size:1.1rem}
body.pg-services .sec{padding:clamp(56px,8vw,96px) 0}
body.pg-services .dm{position:relative;padding-top:24px}
body.pg-services .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:-80px;position:relative;z-index:2;padding-bottom:clamp(56px,8vw,90px)}
body.pg-services .card{position:relative;background:#fff;border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(32,39,43,.07);transition:transform .35s var(--ease),border-color .35s}
body.pg-services .card:hover{transform:translateY(-5px);border-color:var(--gold)}
body.pg-services .card .im{position:relative;aspect-ratio:16/10;display:grid;place-items:center;color:var(--gold);background:var(--dark) linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px) 0 0/28px 28px;overflow:hidden}
body.pg-services .card .im::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) 0 0/28px 100%}
body.pg-services .card .im svg{position:relative;z-index:1;width:64px;height:64px;stroke-width:1.4;transition:transform .5s var(--ease)}
body.pg-services .card:hover .im svg{transform:scale(1.12)}
body.pg-services .card .im b{position:absolute;z-index:1;top:12px;right:16px;font:800 .95rem var(--fh);color:rgba(255,255,255,.55)}
body.pg-services .card .tx{padding:20px 20px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
body.pg-services .card h2{font-size:1.1rem}
body.pg-services .card h2 a::after{content:"";position:absolute;inset:0}
body.pg-services .card p{font-size:.94rem;line-height:1.8}
body.pg-services .more{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:8px;font-weight:700;color:var(--dark)}
body.pg-services .more svg{width:18px;height:18px;color:var(--gold);transition:transform .3s var(--ease)}
body.pg-services .card:hover .more svg{transform:translateX(-7px)}
body.pg-services .steps{background:#fff}
body.pg-services .steps ol{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;position:relative;margin-top:36px;counter-reset:s}
body.pg-services .steps ol::before{content:"";position:absolute;top:34px;right:16%;left:16%;border-top:2px dashed var(--gold)}
body.pg-services .steps li{position:relative;text-align:center;padding:0 12px;counter-increment:s}
body.pg-services .steps li::before{content:counter(s,decimal-leading-zero);display:grid;place-items:center;width:70px;height:70px;margin:0 auto 18px;background:var(--dark);color:var(--gold);font:800 1.3rem var(--fh);box-shadow:0 0 0 6px #fff,0 0 0 8px var(--gold);position:relative}
body.pg-services .steps h3{font-size:1.15rem;margin-bottom:6px}
body.pg-services .steps p{font-size:.98rem}
body.pg-services .note{max-width:860px;margin:44px auto 0;padding:20px 24px;border-inline-start:5px solid var(--gold);background:var(--warm)}
body.pg-services .note strong{display:block;font:700 1.05rem var(--fh);color:var(--dark);margin-bottom:4px}
body.pg-services .cta{padding:64px 0;background:var(--dark) repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 2px,transparent 2px 14px);color:#d6d9da;text-align:center}
body.pg-services .cta h2{color:#fff;font-size:clamp(1.6rem,3.4vw,2.5rem)}
body.pg-services .cta p{max-width:34em;margin:10px auto 24px}
body.pg-services .cta .actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
body.pg-services footer{background:#171d20;color:#aeb3b5;padding-top:64px}
body.pg-services .fg{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px}
body.pg-services footer h4{color:#fff;margin-bottom:14px}
body.pg-services footer a:not(.logo){display:block;padding:3px 0;transition:.25s}
body.pg-services footer a:hover{color:var(--gold)}
body.pg-services .copy{margin-top:44px;padding:20px 0;border-top:1px solid rgba(255,255,255,.12);font-size:.9rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px}
body.pg-services footer a.credit{display:inline;padding:0;color:var(--gold);font-weight:700;transition:color .3s}
body.pg-services footer a.credit:hover{color:#fff}
body.pg-services .float{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));z-index:50;display:flex;flex-direction:column;gap:12px}
body.pg-services .fab{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.3);transition:transform .25s}
body.pg-services .fab:hover{transform:scale(1.08)}
body.pg-services .fab svg{width:26px;height:26px}
body.pg-services .wa{background:#25D366}
body.pg-services .call{background:var(--dark2);border:2px solid var(--gold)}
@media(max-width:1100px){
body.pg-services .cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:991px){
body.pg-services .burger{display:flex;margin-inline-start:auto}
body.pg-services .menu{position:fixed;inset:0 0 0 auto;width:min(300px,82vw);height:100vh;height:100dvh;overflow-y:auto;flex-direction:column;justify-content:flex-start;gap:0;padding:90px 26px 30px;background:var(--dark);transform:translateX(100%);visibility:hidden;transition:transform .35s var(--ease),visibility .35s;margin:0;box-shadow:-10px 0 30px rgba(0,0,0,.35)}
body.pg-services .menu.open{transform:none;visibility:visible}
body.pg-services .menu a{padding:15px 0;border-bottom:1px solid rgba(255,255,255,.1)}
body.pg-services .ph{padding:40px 0 100px}
body.pg-services .fg{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
body.pg-services .wrap{width:min(1200px,100% - 32px)}
body.pg-services .bar{height:60px}
body.pg-services .logo{font-size:1.3rem}
body.pg-services .ph{padding:32px 0 90px}
body.pg-services .ph p{font-size:1rem}
body.pg-services .cards{grid-template-columns:1fr;margin-top:-60px}
body.pg-services .card .im{aspect-ratio:16/8}
body.pg-services .steps ol,body.pg-services .fg{grid-template-columns:1fr}
body.pg-services .steps ol::before{display:none}
body.pg-services{font-size:1rem;line-height:1.85}
body.pg-services .note{padding:16px 18px}
body.pg-services .cta{padding:48px 0}
body.pg-services .cta .btn{flex:1 1 100%}
body.pg-services footer{padding-top:44px}
body.pg-services .copy{flex-direction:column;margin-top:32px}
body.pg-services .fab{width:48px;height:48px}
body.pg-services .fab svg{width:22px;height:22px}
body.pg-services .float{gap:10px}
}
@media(max-width:380px){
body.pg-services .btn{padding:0 18px}
body.pg-services .ph h1{font-size:1.7rem}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*{transition-duration:.01ms!important}
}
