/* المعمار — أنماط قالب: home (مُنطَّقة تحت body.pg-home) */
body.pg-home{--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:80px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.pg-home{font:400 1.05rem/1.9 'Cairo',sans-serif;color:var(--text);background:var(--warm);overflow-x:hidden;overflow-wrap:break-word}
body.pg-home.lock{overflow:hidden}
body.pg-home img{display:block;max-width:100%;object-fit:cover}
body.pg-home a{color:inherit;text-decoration:none}
body.pg-home ul,body.pg-home ol{list-style:none;padding:0}
body.pg-home svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.pg-home :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
body.pg-home .wrap{width:min(1200px,100% - 40px);margin-inline:auto}
body.pg-home h1,body.pg-home h2,body.pg-home h3,body.pg-home h4{font-family:var(--fh);color:var(--dark);line-height:1.35}
body.pg-home .blue{background:var(--dark2) repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 2px,transparent 2px 14px)}
body.pg-home .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 30px;font:700 1rem 'Cairo';border:2px solid transparent;cursor:pointer;transition:.25s var(--ease)}
body.pg-home .btn-gold{background:var(--gold);color:var(--dark)}
body.pg-home .btn-gold:hover{background:#f2b94a;transform:translateY(-2px)}
body.pg-home .btn-line{border-color:rgba(255,255,255,.5);color:#fff}
body.pg-home .btn-line:hover{border-color:var(--gold);color:var(--gold)}
body.pg-home .topbar{background:#171d20;color:#cfcdc6;font-size:.84rem;text-align:center;padding:3px 0;position:relative;z-index:60}
body.pg-home header{position:sticky;top:0;z-index:55;height:0}
body.pg-home .bar{height:74px;display:flex;align-items:center;gap:26px;transition:.35s}
body.pg-home header.solid .bar{background:var(--dark);box-shadow:0 4px 18px rgba(0,0,0,.3);height:64px}
body.pg-home .bar-in{width:min(1200px,100% - 40px);margin:auto;display:flex;align-items:center;gap:26px;width:100%;max-width:1200px;padding-inline:20px}
body.pg-home .logo{display:flex;align-items:center;gap:10px;font:800 1.55rem var(--fh);color:#fff}
body.pg-home .menu{display:flex;gap:28px;margin-inline-start:auto;color:#fff;font-weight:600}
body.pg-home .menu a{padding:4px 0;border-bottom:2px solid transparent;transition:.25s}
body.pg-home .menu a:hover,body.pg-home .menu a.on{color:var(--gold);border-color:var(--gold)}
body.pg-home .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-home .burger i{width:24px;height:2px;background:#fff;transition:.3s}
body.pg-home .burger[aria-expanded=true] i:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.pg-home .burger[aria-expanded=true] i:nth-child(2){opacity:0}
body.pg-home .burger[aria-expanded=true] i:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
body.pg-home .hero{position:relative;min-height:min(94vh,860px);display:flex;align-items:flex-end;color:#fff;background:var(--dark);overflow:hidden;padding:150px 0 90px}
body.pg-home .hero>img{position:absolute;inset:0;width:100%;height:100%;object-position:center 40%;transform:scale(1.06);animation:zoom 14s var(--ease) forwards}
@keyframes zoom{to{transform:scale(1)}}
body.pg-home .hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(270deg,rgba(23,29,32,.96) 8%,rgba(23,29,32,.7) 55%,rgba(23,29,32,.35)),linear-gradient(0deg,rgba(23,29,32,.8),transparent 50%)}
body.pg-home .grid-ov{position:absolute;inset:0;z-index:1;background:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px) 0 0/80px 80px,linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) 0 0/80px 80px}
body.pg-home .ruler{position:absolute;z-index:2;left:18px;top:140px;bottom:90px;width:14px;background:repeating-linear-gradient(180deg,rgba(229,166,45,.8) 0 1px,transparent 1px 12px);border-left:1px solid var(--gold);opacity:.7}
body.pg-home .hero-in{position:relative;z-index:3}
body.pg-home .badge{display:inline-flex;align-items:center;gap:12px;font-weight:600;color:var(--gold);margin-bottom:22px}
body.pg-home .badge::before{content:"";width:46px;height:2px;background:var(--gold)}
body.pg-home .hero h1{color:#fff;font:800 clamp(2.1rem,5.6vw,4.5rem)/1.28 var(--fh);max-width:14em}
body.pg-home .hero h1 span{display:block;overflow:hidden}
body.pg-home .hero h1 span b{display:block;font-weight:inherit;transform:translateY(105%);animation:up .9s var(--ease) .15s forwards}
body.pg-home .hero h1 span:nth-child(2) b{animation-delay:.35s;color:var(--gold)}
@keyframes up{to{transform:none}}
body.pg-home .hero p{max-width:35em;margin:22px 0 32px;color:#e7e4dd;font-size:clamp(1rem,1.5vw,1.2rem)}
body.pg-home .actions{display:flex;flex-wrap:wrap;gap:14px}
body.pg-home .title-block{position:absolute;z-index:3;left:max(34px,4vw);bottom:90px;padding:16px 24px;border:1px solid rgba(255,255,255,.35);background:rgba(23,29,32,.7);font:700 1rem var(--fh)}
body.pg-home .title-block::before,body.pg-home .title-block::after{content:"";position:absolute;width:14px;height:14px;border:3px solid var(--gold)}
body.pg-home .title-block::before{top:-3px;right:-3px;border-left:0;border-bottom:0}
body.pg-home .title-block::after{bottom:-3px;left:-3px;border-right:0;border-top:0}
body.pg-home .quick{background:var(--dark);border-bottom:3px solid var(--gold)}
body.pg-home .quick .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
body.pg-home .quick a{display:flex;align-items:center;gap:14px;padding:26px 22px;color:#fff;font:600 1rem var(--fh);border-inline-start:1px solid rgba(255,255,255,.1);transition:.25s}
body.pg-home .quick a:hover{background:var(--dark2)}
body.pg-home .quick svg{width:38px;height:38px;flex:none;color:var(--gold)}
body.pg-home .sec{padding:clamp(64px,9vw,116px) 0}
body.pg-home .head{max-width:44em;margin-bottom:46px}
body.pg-home .head h2{font-size:clamp(1.75rem,3.7vw,2.8rem);font-weight:800;padding-top:26px;position:relative}
body.pg-home .head h2::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-home .head p{margin-top:12px}
body.pg-home .note{font-size:.9rem;color:#7b8286}
body.pg-home .dk{background:var(--dark);color:#c4c8ca}
body.pg-home .dk h2,body.pg-home .dk h3{color:#fff}
body.pg-home .svc-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(250px,auto);gap:16px}
body.pg-home .svc{position:relative;overflow:hidden;background:var(--dark2);color:#fff;min-height:270px}
body.pg-home .svc:nth-child(1){grid-column:span 2;grid-row:span 2}
body.pg-home .svc:nth-child(4),body.pg-home .svc:nth-child(7){grid-column:span 2}
body.pg-home .svc:nth-child(8){grid-column:1/-1;min-height:230px}
body.pg-home .svc a{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:24px}
body.pg-home .svc img{position:absolute;inset:0;width:100%;height:100%;transition:transform .7s var(--ease)}
body.pg-home .svc a::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(23,29,32,.95) 18%,rgba(23,29,32,.15) 75%);transition:.4s}
body.pg-home .svc a>*{position:relative}
body.pg-home .svc h3{color:#fff;font-size:1.12rem}
body.pg-home .svc:nth-child(1) h3{font-size:1.7rem}
body.pg-home .svc p{font-size:.93rem;line-height:1.75;color:#d6d4ce;max-height:0;opacity:0;overflow:hidden;transition:.45s var(--ease)}
body.pg-home .svc:hover p,body.pg-home .svc:focus-within p,body.pg-home .svc:nth-child(1) p{max-height:90px;opacity:1;margin-top:6px}
@media(hover:none){
body.pg-home .svc p{max-height:90px;opacity:1;margin-top:6px}
}
body.pg-home .more{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-weight:700;color:var(--gold)}
body.pg-home .more svg{width:18px;height:18px;transition:transform .3s var(--ease)}
body.pg-home .svc a:hover .more svg{transform:translateX(-7px)}
body.pg-home .svc:hover img{transform:scale(1.07)}
body.pg-home .svc::after{content:"";position:absolute;top:0;right:0;width:0;height:4px;background:var(--gold);transition:width .5s var(--ease)}
body.pg-home .svc:hover::after{width:100%}
body.pg-home .about{background:#fff}
body.pg-home .about .wrap{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(34px,6vw,90px);align-items:center}
body.pg-home .media{position:relative;padding:0 0 26px 26px}
body.pg-home .media img{width:100%;aspect-ratio:4/5;max-height:650px;position:relative;z-index:1}
body.pg-home .media::before{content:"";position:absolute;left:0;bottom:0;width:70%;height:70%;border:3px solid var(--gold)}
body.pg-home .media figcaption{position:absolute;z-index:2;bottom:0;right:-14px;background:var(--dark);color:#fff;padding:12px 20px;font:600 .95rem var(--fh)}
body.pg-home .about h2{font-size:clamp(1.8rem,3.7vw,2.9rem);font-weight:800;margin-bottom:16px}
body.pg-home .about ul{margin-top:26px;display:grid;gap:12px}
body.pg-home .about li{display:flex;gap:14px;align-items:center;padding:14px 18px;background:var(--warm);font-weight:700;color:var(--dark)}
body.pg-home .about li svg{width:22px;height:22px;color:var(--gold);flex:none;stroke-width:3}
body.pg-home .why .wrap{position:relative}
body.pg-home .why{background:var(--dark) linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px) 0 0/60px 60px;position:relative}
body.pg-home .why::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-home .why .wrap{z-index:1}
body.pg-home .why-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.16)}
body.pg-home .why-grid>div{padding:34px 26px;position:relative;border-inline-start:1px solid rgba(255,255,255,.16);background:rgba(32,39,43,.7);transition:background .3s}
body.pg-home .why-grid>div:hover{background:rgba(229,166,45,.09)}
body.pg-home .why-grid>div:first-child{border-inline-start:0}
body.pg-home .why-grid>div::before{content:"+";position:absolute;top:-13px;right:-8px;color:var(--gold);font:700 1.3rem sans-serif;line-height:1}
body.pg-home .why svg{width:44px;height:44px;color:var(--gold);margin-bottom:18px;stroke-width:1.4}
body.pg-home .why h3{font-size:1.15rem;margin-bottom:6px}
body.pg-home .filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}
body.pg-home .filters button{min-height:44px;padding:0 22px;border:1px solid var(--line);background:#fff;font:600 .95rem 'Cairo';color:var(--dark);cursor:pointer;transition:.25s}
body.pg-home .filters button.on,body.pg-home .filters button:hover{background:var(--dark);color:#fff;border-color:var(--dark)}
body.pg-home .gal{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-flow:dense;gap:14px}
body.pg-home .gal a{position:relative;overflow:hidden;aspect-ratio:4/3;cursor:zoom-in}
body.pg-home .gal a:nth-child(1){grid-column:span 2;aspect-ratio:auto}
body.pg-home .gal a:nth-child(6){grid-column:span 3;aspect-ratio:21/9}
body.pg-home .gal.flt a:nth-child(n){grid-column:auto;aspect-ratio:4/3}
body.pg-home .gal a[hidden]{display:none}
body.pg-home .gal img{width:100%;height:100%;transition:transform .7s var(--ease)}
body.pg-home .gal a:hover img{transform:scale(1.06)}
body.pg-home .gal span{position:absolute;inset:auto 0 0;padding:34px 18px 14px;color:#fff;font:600 1rem var(--fh);background:linear-gradient(transparent,rgba(23,29,32,.9))}
body.pg-home .steps{background:#fff}
body.pg-home .steps ol{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;position:relative;counter-reset:s}
body.pg-home .steps ol::before{content:"";position:absolute;top:34px;right:16%;left:16%;border-top:2px dashed var(--gold)}
body.pg-home .steps li{position:relative;text-align:center;padding:0 12px}
body.pg-home .steps b{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 20px;background:var(--dark);color:var(--gold);font:800 1.35rem var(--fh);box-shadow:0 0 0 6px #fff,0 0 0 8px var(--gold);position:relative}
body.pg-home .steps h3{font-size:1.2rem}
body.pg-home .news{background:var(--warm)}
body.pg-home .news-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
body.pg-home .news-top .head{margin-bottom:46px}
body.pg-home .news-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}
body.pg-home .post{background:#fff;border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column;transition:transform .35s var(--ease),border-color .35s}
body.pg-home .post:hover{transform:translateY(-4px);border-color:var(--gold)}
body.pg-home .post .ph{background:var(--dark2);overflow:hidden}
body.pg-home .post img{width:100%;height:100%;transition:transform .7s var(--ease)}
body.pg-home .post:hover img{transform:scale(1.05)}
body.pg-home .post .tx{padding:22px 24px 26px}
body.pg-home .tag{display:inline-block;font-weight:700;font-size:.85rem;color:var(--dark);background:var(--gold);padding:1px 12px;margin-bottom:10px}
body.pg-home .post h3{font-size:1.1rem;margin-bottom:6px}
body.pg-home .post.lead{grid-row:span 2}
body.pg-home .post.lead .ph{flex:1;min-height:300px}
body.pg-home .post.lead h3{font-size:1.6rem}
body.pg-home .post:not(.lead){flex-direction:row}
body.pg-home .post:not(.lead) .ph{width:38%;min-height:170px}
body.pg-home .post:not(.lead) .tx{flex:1;padding:18px 20px}
body.pg-home .cta{position:relative;padding:clamp(70px,10vw,110px) 0;color:#fff;text-align:center;background:var(--dark);overflow:hidden}
body.pg-home .cta img{position:absolute;inset:0;width:100%;height:100%}
body.pg-home .cta::before{content:"";position:absolute;inset:0;background:rgba(23,29,32,.87);z-index:1}
body.pg-home .cta .wrap{position:relative;z-index:2}
body.pg-home .cta h2{color:#fff;font-size:clamp(1.8rem,3.8vw,2.9rem)}
body.pg-home .cta p{max-width:34em;margin:12px auto 28px;color:#e2e0da}
body.pg-home .cta .actions{justify-content:center}
body.pg-home .contact .wrap{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(28px,5vw,70px);align-items:start}
body.pg-home form{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#fff;padding:clamp(22px,4vw,40px);border-top:5px solid var(--gold);box-shadow:0 10px 30px rgba(32,39,43,.08)}
body.pg-home .f{display:grid;gap:6px}
body.pg-home .f.full,body.pg-home form .btn,body.pg-home #st{grid-column:1/-1}
body.pg-home label{font-weight:700;color:var(--dark)}
body.pg-home input,body.pg-home select,body.pg-home textarea{width:100%;font:inherit;padding:13px 14px;border:1px solid var(--line);background:var(--warm);color:var(--dark);transition:border-color .2s}
body.pg-home input:focus,body.pg-home select:focus,body.pg-home textarea:focus{border-color:var(--gold);outline:0}
body.pg-home [aria-invalid=true]{border-color:#b3261e}
body.pg-home .err{color:#b3261e;font-weight:600;min-height:1.2em;font-size:.9rem}
body.pg-home #st{font-weight:600;color:var(--dark)}
body.pg-home footer{background:#171d20;color:#aeb3b5;padding-top:64px}
body.pg-home .fg{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px}
body.pg-home footer h4{color:#fff;margin-bottom:14px}
body.pg-home footer a:not(.logo){display:block;padding:3px 0;transition:.25s}
body.pg-home footer a:hover{color:var(--gold)}
body.pg-home .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-home footer a.credit{display:inline;padding:0;color:var(--gold);text-decoration:none;font-weight:700;transition:color .3s}
body.pg-home footer a.credit:hover{color:#fff}
body.pg-home .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;align-items:center}
body.pg-home .fab,body.pg-home .up{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.3);transition:transform .25s var(--ease)}
body.pg-home .fab:hover,body.pg-home .up:hover{transform:scale(1.08)}
body.pg-home .fab svg,body.pg-home .up svg{width:26px;height:26px}
body.pg-home .wa{background:#25D366}
body.pg-home .call{background:var(--dark2);border:2px solid var(--gold)}
body.pg-home .up{background:var(--gold);color:var(--dark);border:0;cursor:pointer;width:44px;height:44px;opacity:0;pointer-events:none;transition:opacity .3s}
body.pg-home .up.show{opacity:1;pointer-events:auto}
body.pg-home .lb{position:fixed;inset:0;z-index:150;background:rgba(15,19,21,.95);display:grid;place-items:center;padding:24px}
body.pg-home .lb[hidden]{display:none}
body.pg-home .lb img{max-height:88vh;object-fit:contain}
body.pg-home .lb button{position:absolute;top:14px;left:18px;font-size:2.4rem;color:#fff;background:none;border:0;cursor:pointer;width:48px;height:48px}
body.pg-home .rv{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
body.pg-home .rv.in{opacity:1;transform:none}
@media(max-width:991px){
body.pg-home .burger{display:flex;margin-inline-start:auto}
body.pg-home .bar>.btn,body.pg-home .bar-in>.btn{display:none}
body.pg-home .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-home .menu.open{transform:none;visibility:visible}
body.pg-home .menu a{padding:15px 0;border-bottom:1px solid rgba(255,255,255,.1)}
body.pg-home .quick .wrap{grid-template-columns:1fr 1fr}
body.pg-home .svc-grid{grid-template-columns:1fr 1fr}
body.pg-home .svc:nth-child(1){grid-column:span 2;grid-row:span 1}
body.pg-home .svc:nth-child(8){grid-column:span 2}
body.pg-home .about .wrap,body.pg-home .contact .wrap{grid-template-columns:1fr}
body.pg-home .why-grid{grid-template-columns:1fr 1fr}
body.pg-home .why-grid>div:nth-child(3){border-inline-start:0}
body.pg-home .why-grid>div:nth-child(n+3){border-top:1px solid rgba(255,255,255,.16)}
body.pg-home .fg{grid-template-columns:1fr 1fr}
body.pg-home .ruler{display:none}
body.pg-home .news-grid{grid-template-columns:1fr}
body.pg-home .post.lead{grid-row:auto}
body.pg-home .post.lead .ph{min-height:240px}
}
@media(max-width:640px){
body.pg-home .hero{min-height:auto;padding:130px 0 80px}
body.pg-home .title-block{display:none}
body.pg-home .quick .wrap{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
body.pg-home .quick a{flex:0 0 78%;scroll-snap-align:start}
body.pg-home .svc-grid,body.pg-home .gal,body.pg-home .why-grid,body.pg-home .steps ol,body.pg-home .fg,body.pg-home form{grid-template-columns:1fr}
body.pg-home .svc,body.pg-home .svc:nth-child(n){grid-column:auto;min-height:300px}
body.pg-home .svc p{max-height:90px;opacity:1;margin-top:6px}
body.pg-home .gal a:nth-child(n){grid-column:auto;aspect-ratio:4/3}
body.pg-home .why-grid>div{border-inline-start:0;border-top:1px solid rgba(255,255,255,.16)}
body.pg-home .steps ol::before{display:none}
body.pg-home .post:not(.lead){flex-direction:column}
body.pg-home .post:not(.lead) .ph{width:100%;min-height:190px}
body.pg-home .actions .btn{flex:1 1 100%}
body.pg-home .media figcaption{right:0}
body.pg-home .sec{padding:56px 0}
body.pg-home .head{margin-bottom:32px}
body.pg-home .hero h1{font-size:clamp(1.9rem,8.4vw,2.6rem)}
body.pg-home .quick a{padding:20px 18px}
}
@media(max-width:380px){
body.pg-home .btn{padding:0 20px}
body.pg-home .wrap{width:min(1200px,100% - 32px)}
body.pg-home .bar-in{padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
body.pg-home .hero h1 span b{transform:none}
body.pg-home .rv{opacity:1;transform:none}
}
