/* Al Alfiya services — visual system from Home v25 / About v5 / Contact v2.
   Load typography.css last; only card headings need a specific size exception. */
.services-page,.services-page main{background:#000;}
.services-page main > section{border:0!important;box-shadow:none!important;}
.services-page .services-hero{position:relative;isolation:isolate;height:min(920px,100svh);min-height:670px;display:flex;align-items:flex-end;overflow:hidden;background:#070817;}
.services-hero-image{position:absolute;inset:0;background-image:url('../assets/services.jpg');background-size:cover;background-position:66% 47%;background-repeat:no-repeat;z-index:-2;}
.services-hero-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  linear-gradient(180deg,#000 0%,rgba(0,0,0,.96) 9%,rgba(0,0,0,.73) 20%,rgba(0,0,0,.11) 46%,rgba(0,0,0,.17) 68%,#000 100%),
  linear-gradient(90deg,rgba(3,5,15,.72) 0%,rgba(3,5,15,.37) 42%,rgba(3,5,15,.01) 80%),
  radial-gradient(ellipse at 78% 38%,rgba(46,19,106,.10),transparent 69%);}
.services-hero-inner{display:flex;align-items:flex-end;justify-content:flex-start;position:relative;z-index:2;width:100%;padding-top:210px;padding-bottom:clamp(80px,10svh,135px);}
.services-hero-copy{max-width:min(780px,100%);}
.services-hero h1{margin:0;color:var(--al-purple-text);text-shadow:0 12px 44px rgba(1,2,9,.38);}
.services-hero .type-lead{max-width:700px;margin:clamp(20px,2.8vw,34px) 0 0;color:#e7e2f4;text-shadow:0 2px 20px rgba(0,0,0,.7);}
.services-content{position:relative;isolation:isolate;overflow:hidden;padding:clamp(92px,11vw,165px) 0 clamp(105px,12vw,185px);background:#01030a;}
.services-star-texture{position:absolute;inset:0;z-index:-1;background:url('../assets/Space.webp') center center/cover no-repeat;opacity:.065;pointer-events:none;}
.services-content::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 75% 36%,rgba(95,49,140,.13),transparent 49%),radial-gradient(ellipse at 15% 92%,rgba(34,43,101,.19),transparent 41%);}
.services-content-meta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 clamp(27px,4vw,56px);color:var(--al-purple-text);font-size:10px;font-weight:800;letter-spacing:.21em;}
.services-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.2vw,30px);}
.services-feature{position:relative;isolation:isolate;min-width:0;min-height:clamp(490px,40vw,590px);padding:clamp(31px,4.1vw,63px);background:linear-gradient(149deg,rgba(30,26,52,.68),rgba(9,12,27,.82) 62%,rgba(14,18,38,.70));border:1px solid rgba(187,169,235,.26);overflow:hidden;display:flex;flex-direction:column;transition:border-color .35s,background .35s,transform .45s cubic-bezier(.22,1,.36,1);}
.services-feature:before{content:"";position:absolute;inset:0 auto auto 0;width:90px;height:2px;background:#b9a3ff;opacity:.7;transition:width .5s,opacity .4s;}
.services-feature:after{content:"";position:absolute;right:-190px;bottom:-240px;height:500px;width:500px;border-radius:50%;background:radial-gradient(circle,rgba(130,87,215,.10),transparent 69%);pointer-events:none;transition:transform .6s;}
.services-feature:hover{border-color:rgba(192,175,252,.68);transform:translateY(-6px);}
.services-feature:hover:before{width:100%;opacity:1;}
.services-feature:hover:after{transform:translate(-40px,-20px);}
.services-feature-top{display:flex;align-items:flex-start;justify-content:space-between;gap:35px;min-height:clamp(83px,8vw,112px);}
.services-feature-index{font-size:10px;font-weight:800;letter-spacing:.18em;color:var(--al-purple-text);line-height:1.5;}
.services-feature-icon{height:clamp(58px,5.4vw,74px);width:clamp(58px,5.4vw,74px);flex:none;color:#aea4f1;opacity:.78;transition:transform .45s,opacity .3s;}
.services-feature:hover .services-feature-icon{transform:translateY(-5px);opacity:1;}
.services-page main .services-feature h2{position:relative;max-width:600px;margin:0 0 clamp(25px,3vw,44px);font-size:clamp(28px,2.4vw,40px)!important;line-height:1.13;color:#f1edff;letter-spacing:-.045em;word-spacing:normal;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;}
.services-feature:nth-child(2) h2,.services-feature:nth-child(4) h2{color:var(--al-purple-text);}
.services-feature ul{position:relative;display:grid;gap:15px;list-style:none;margin:auto 0 0;padding:0;}
.services-feature li{position:relative;padding-left:21px;color:rgba(235,230,250,.84);font-size:clamp(15px,1.12vw,18px);line-height:1.62;letter-spacing:-.012em;}
.services-feature li::before{content:"";position:absolute;top:.77em;left:0;width:6px;height:6px;border-radius:50%;background:#afa0ed;}
.services-grid-action{display:flex;justify-content:center;margin-top:clamp(45px,5vw,72px);}
.services-feature :focus-visible,.services-grid-action a:focus-visible{outline:2px solid #ded4ff;outline-offset:6px;}
@media (max-width:1050px){
.services-page .services-hero{min-height:650px;}
.services-hero-image{background-position:61% center;}
.services-feature{padding:clamp(28px,3.4vw,43px);min-height:590px;}
.services-feature-top{min-height:80px;}
.services-feature li{font-size:15px;}
}
@media(max-width:760px){
.services-page .services-hero{height:clamp(680px,94svh,870px);min-height:680px;}
.services-hero-image{background-position:61% 40%;}
.services-hero-shade{background:linear-gradient(180deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.5) 22%,rgba(0,0,0,.05) 40%,rgba(0,0,0,.63) 69%,#000 100%),linear-gradient(90deg,rgba(0,0,0,.46),transparent 87%);}
.services-hero-inner{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding-top:130px;padding-bottom:85px;}
.services-hero-copy{max-width:100%;}
.services-content{padding-block:100px 110px;}
.services-content-meta{margin-bottom:31px;font-size:8px;letter-spacing:.13em;}
.services-feature-grid{grid-template-columns:minmax(0,1fr);gap:18px;}
.services-feature{min-height:0;padding:clamp(26px,7vw,40px);}
.services-feature-top{min-height:70px;}
.services-feature h2{margin-bottom:33px;}
.services-feature ul{margin-top:0;gap:16px;}
.services-feature li{font-size:15px;line-height:1.62;}
.services-grid-action{margin-top:42px;}
}
@media(max-width:380px){.services-feature{padding:24px;}.services-feature-icon{height:55px;width:55px;}.services-feature-top{min-height:65px;}}
@media(prefers-reduced-motion:reduce){.services-feature,.services-feature-icon{transition:none;}}
