/* AliClick Home Premium v1.0.28 — scoped to the actual front page only.
   The page markup, dynamic bilingual content and dashboard fields remain unchanged. */
body.ac-home-page{--ac-home-shadow:0 22px 58px rgba(32,45,110,.09);--ac-home-soft:#f4f5ff;background:#fff}
body.ac-home-page main{overflow:clip}
body.ac-home-page main > .ac-container{width:min(1260px,calc(100% - 64px))}

/* Hero: editorial hierarchy, subtle surface layers, original portrait placement */
body.ac-home-page .ac-hero-home{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center;gap:clamp(22px,4vw,70px);min-height:520px;margin-block:32px 31px;padding:clamp(30px,4vw,64px);border:1px solid #e3e8ff;border-radius:36px;background:radial-gradient(circle at 7% 87%,rgba(153,119,255,.13),transparent 37%),linear-gradient(116deg,#fff 9%,#f7f8ff 62%,#eef1ff 100%);box-shadow:0 20px 70px rgba(40,49,130,.075)}
body.ac-home-page .ac-hero-home::before{content:"";position:absolute;inset-block-start:0;inset-inline-start:clamp(30px,4vw,64px);width:90px;height:5px;border-radius:0 0 9px 9px;background:linear-gradient(90deg,#454efa,#8e54e9)}
body.ac-home-page .ac-hero-home::after{content:"";position:absolute;width:170px;height:170px;inset-inline-end:-72px;bottom:-80px;border-radius:50%;background:radial-gradient(circle,rgba(108,96,255,.14),rgba(108,96,255,0) 68%);pointer-events:none;z-index:-1}
body.ac-home-page .ac-hero-home .ac-hero-copy{z-index:2}
body.ac-home-page .ac-hero-home .ac-hero-copy h1{font-size:clamp(2.2rem,3.7vw,4.1rem);line-height:1.32;font-weight:850;max-width:640px;margin:0 0 24px;color:#142359;text-wrap:balance}
body.ac-home-page .ac-hero-home .ac-hero-copy p{max-width:550px;color:#586788;font-size:clamp(.99rem,1.2vw,1.13rem);line-height:2;margin-bottom:30px}
body.ac-home-page .ac-hero-home .ac-actions{gap:12px;align-items:center}
body.ac-home-page .ac-hero-home .ac-button{min-height:52px;padding:14px 23px;border-radius:14px;box-shadow:0 13px 26px rgba(69,78,250,.17)}
body.ac-home-page .ac-hero-home .ac-button:not(.ac-button-outline){background:linear-gradient(112deg,#454efa,#5941df);border-color:transparent}
body.ac-home-page .ac-hero-home .ac-button-outline{background:rgba(255,255,255,.88);border-color:#c8d0fb;color:#242d75;box-shadow:0 7px 22px rgba(32,45,110,.04)}
body.ac-home-page .ac-hero-home .ac-hero-visual{align-self:stretch;min-height:365px;align-items:flex-end;justify-content:center;overflow:hidden}
body.ac-home-page .ac-hero-home .ac-hero-blob{inset:45px 6% 0;border-radius:47% 52% 24% 29%;transform:rotate(-7deg);background:linear-gradient(143deg,#e5e8ff 5%,#eae7ff 66%,#f2edff 100%);border:1px solid rgba(255,255,255,.6)}
body.ac-home-page .ac-hero-home .ac-hero-visual::after{content:"";position:absolute;inset:auto 11% 0;height:30px;border-radius:50%;background:#2b2f84;filter:blur(34px);opacity:.08;z-index:0}
body.ac-home-page .ac-hero-home .ac-hero-image{width:auto;height:clamp(335px,32vw,455px);max-width:98%;object-fit:contain;object-position:bottom center}

/* Paired story + service cards: airy rhythm and clear links */
body.ac-home-page .ac-home-intro,body.ac-home-page .ac-service-panel{position:relative;overflow:hidden;border-radius:29px;min-height:252px;margin-top:22px;padding:clamp(25px,3.1vw,44px);gap:clamp(20px,4vw,56px);box-shadow:var(--ac-home-shadow);border:1px solid #e1e7ff}
body.ac-home-page .ac-home-intro{background:linear-gradient(117deg,#eef1ff 0%,#f6f4ff 60%,#edf2ff 100%);grid-template-columns:32% minmax(0,1fr)}
body.ac-home-page .ac-home-intro::after{content:"";position:absolute;inset-inline-start:-65px;inset-block-end:-106px;width:220px;height:220px;border-radius:50%;border:32px solid rgba(145,150,255,.10);pointer-events:none}
body.ac-home-page .ac-home-intro .ac-panel-art{position:relative;z-index:1;min-height:172px}
body.ac-home-page .ac-home-intro .ac-panel-art img{width:min(100%,275px);max-height:185px;filter:drop-shadow(0 18px 18px rgba(53,67,150,.11))}
body.ac-home-page .ac-home-intro .ac-panel-copy{position:relative;z-index:1}
body.ac-home-page .ac-home-intro .ac-panel-copy h2,body.ac-home-page .ac-service-panel h2{font-size:clamp(1.52rem,2.1vw,2.2rem);line-height:1.4;margin-bottom:14px}
body.ac-home-page .ac-home-intro .ac-panel-copy p,body.ac-home-page .ac-service-panel p{color:#5e6a89;line-height:1.92;font-size:clamp(.92rem,1.02vw,1.03rem);margin-bottom:19px}
body.ac-home-page .ac-home-intro .ac-text-link,body.ac-home-page .ac-service-panel .ac-text-link{border-radius:12px;padding:10px 0;font-weight:800;gap:10px}
body.ac-home-page .ac-service-panel{grid-template-columns:minmax(0,1fr) 39%;min-height:250px;background:linear-gradient(117deg,#fff 32%,#fcfcff 73%,#f5f4ff 100%);border-color:#e4e9fb;margin-top:22px}
body.ac-home-page .ac-service-panel > div:last-child{background:radial-gradient(ellipse at center,rgba(212,207,255,.60),rgba(236,238,255,.17) 67%,transparent 68%);border-radius:25px;min-height:175px;display:flex;align-items:center;justify-content:center}
body.ac-home-page .ac-service-panel img{width:min(100%,340px);height:210px;object-fit:contain;filter:drop-shadow(0 16px 21px rgba(40,47,120,.12))}

/* Value proposition becomes three independent premium cards */
body.ac-home-page .ac-home-values{position:relative;gap:18px;margin-block:36px 20px;padding:28px;border:1px solid #e7e8fb;border-radius:30px;background:linear-gradient(110deg,#f8f9ff 0%,#f2f2ff 58%,#f7faff 100%)}
body.ac-home-page .ac-home-values .ac-feature{border:1px solid #e5e9ff;border-radius:21px;background:#fff;padding:26px 19px;box-shadow:0 9px 25px rgba(40,50,115,.042);min-height:194px;transition:transform .2s,box-shadow .2s}
body.ac-home-page .ac-home-values .ac-feature:last-child{border-inline-end:1px solid #e5e9ff}
body.ac-home-page .ac-home-values .ac-feature:hover{transform:translateY(-4px);box-shadow:0 17px 34px rgba(40,50,115,.095)}
body.ac-home-page .ac-home-values .ac-feature-icon{background:linear-gradient(145deg,#eef0ff,#ede5ff);border:1px solid #e7e5ff;width:55px;height:55px;border-radius:17px;color:#4c4df4}
body.ac-home-page .ac-home-values .ac-feature h3{font-size:1.08rem;line-height:1.5}
body.ac-home-page .ac-home-values .ac-feature p{font-size:.91rem;line-height:1.72;color:#697492}

/* Work process: generous band, modern numbered cards */
body.ac-home-page #work-process{margin-block:24px 26px;padding:48px 34px 45px;position:relative;border-radius:31px;border:1px solid #e2e6ff;background:radial-gradient(circle at 50% -30%,rgba(145,125,255,.17),transparent 60%),linear-gradient(115deg,#f4f5ff,#ebeefe 55%,#f5f4ff)}
body.ac-home-page #work-process .ac-section-heading h2{font-size:clamp(1.75rem,2.4vw,2.5rem);margin-bottom:10px}
body.ac-home-page #work-process .ac-process-grid{background:transparent;padding:21px 0 0;gap:19px}
body.ac-home-page #work-process .ac-process-step{border-radius:22px;min-height:215px;padding:30px 19px 24px;border:1px solid #e3e6ff;box-shadow:0 14px 31px rgba(42,57,124,.06);transition:transform .2s}
body.ac-home-page #work-process .ac-process-step:hover{transform:translateY(-3px)}
body.ac-home-page #work-process .ac-step-index{width:34px;height:34px;margin:-47px auto 12px;box-shadow:0 7px 17px rgba(69,78,250,.24);background:linear-gradient(130deg,#454efa,#8e54e9);font-size:.89rem}
body.ac-home-page #work-process .ac-step-icon{width:57px;height:57px;background:linear-gradient(135deg,#eef0ff,#f1eaff);border-radius:17px;margin-bottom:13px}
body.ac-home-page #work-process .ac-process-step h3{font-size:1.08rem}
body.ac-home-page #work-process .ac-process-step p{font-size:.91rem;color:#66738f;line-height:1.75}

/* Blog — gracefully showcase one post rather than leave an empty two-column void */
body.ac-home-page .ac-latest{margin-block:15px 25px;padding:39px;border:1px solid #e7eaff;border-radius:30px;background:linear-gradient(160deg,#fff 0%,#fafbff 100%);box-shadow:0 13px 44px rgba(37,46,111,.045)}
body.ac-home-page .ac-latest .ac-section-top{margin-bottom:25px;gap:18px}
body.ac-home-page .ac-latest .ac-section-top h2{font-size:clamp(1.6rem,2.4vw,2.3rem);line-height:1.35}
body.ac-home-page .ac-latest .ac-article-grid{gap:22px}
body.ac-home-page .ac-latest .ac-article-card{border-radius:21px;overflow:hidden;border-color:#e3e7fb;box-shadow:0 12px 30px rgba(28,39,96,.06)}
body.ac-home-page .ac-latest .ac-article-image{background:#eeefff}
body.ac-home-page .ac-latest .ac-article-content{padding:22px 23px}
body.ac-home-page .ac-latest .ac-article-content h3{font-size:1.18rem}
body.ac-home-page .ac-latest .ac-article-grid:has(> .ac-article-card:only-child){grid-template-columns:minmax(0,830px);justify-content:center}
body.ac-home-page .ac-latest .ac-article-grid > .ac-article-card:only-child{display:grid;grid-template-columns:41% minmax(0,1fr);min-height:245px}
body.ac-home-page .ac-latest .ac-article-grid > .ac-article-card:only-child .ac-article-image{height:100%;width:100%;aspect-ratio:auto;min-height:215px}
body.ac-home-page .ac-latest .ac-article-grid > .ac-article-card:only-child .ac-article-content{justify-content:center}
body.ac-home-page .ac-latest .ac-empty{width:100%;min-height:220px;border-radius:20px}

/* Home CTA now owns the gradient visual language previously used by the footer CTA.
   Its dynamic text, image, button and WordPress settings stay exactly as before. */
body.ac-home-page main > .ac-banner{
 position:relative;display:grid;grid-template-columns:minmax(150px,.9fr) minmax(260px,1.7fr) auto;
 align-items:center;direction:ltr;isolation:isolate;overflow:hidden;gap:clamp(18px,3vw,46px);
 min-height:193px;margin-block:33px 42px;padding:24px clamp(22px,3.7vw,57px);
 border:0;border-radius:28px;background:linear-gradient(112deg,#2261f8 0%,#454efa 49%,#9133e8 100%);
 color:#fff;box-shadow:0 20px 48px rgba(54,60,179,.15)
}
body.ac-home-page main > .ac-banner::before{
 content:"";position:absolute;inset:0;border:0;border-radius:inherit;
 background:radial-gradient(circle at 19% 90%,rgba(255,255,255,.17),transparent 38%);
 pointer-events:none;z-index:-1
}
body.ac-home-page main > .ac-banner .ac-banner-illustration{
 display:flex;align-items:center;justify-content:center;width:100%;min-width:0
}
body.ac-home-page main > .ac-banner .ac-banner-illustration img{
 display:block;width:min(100%,225px);height:160px;max-height:none;object-fit:contain;
 filter:drop-shadow(0 12px 12px rgba(18,20,99,.15))
}
body.ac-home-page main > .ac-banner .ac-banner-copy{min-width:0;direction:ltr;text-align:left}
body.ac-home-page.ac-lang-ar main > .ac-banner .ac-banner-copy{direction:rtl;text-align:right}
body.ac-home-page main > .ac-banner .ac-banner-copy h2{
 color:#fff;font-size:clamp(1.5rem,2.5vw,2.45rem);font-weight:850;line-height:1.35;margin:0 0 9px
}
body.ac-home-page main > .ac-banner .ac-banner-copy p{
 color:#fff;opacity:.96;font-size:clamp(.89rem,1.22vw,1.02rem);line-height:1.8;margin:0
}
body.ac-home-page main > .ac-banner > .ac-button{
 display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;
 width:auto;min-height:57px;padding:12px 22px;border:0;border-radius:16px;
 background:#fff;color:#272b87;font-weight:800;white-space:nowrap;
 box-shadow:0 8px 22px rgba(17,22,93,.12);transition:transform .18s ease,box-shadow .18s ease
}
body.ac-home-page main > .ac-banner > .ac-button:hover{
 color:#454efa;transform:translateY(-2px);box-shadow:0 13px 26px rgba(17,22,93,.2)
}
body.ac-home-page main > .ac-banner > .ac-button:focus-visible{outline:3px solid #fff;outline-offset:4px}
/* Without the duplicate footer CTA, reduce its former empty top padding on home only. */
body.ac-home-page .ac-footer.ac-footer-premium{margin-top:0;padding-top:14px}
body.ac-home-page .ac-footer-premium .ac-footer-top{padding-top:36px}

@media(min-width:761px) and (max-width:1150px){
 body.ac-home-page main > .ac-banner{grid-template-columns:minmax(115px,.7fr) minmax(210px,1.5fr) auto;gap:18px;padding:23px 26px}
 body.ac-home-page main > .ac-banner .ac-banner-illustration img{height:130px}
 body.ac-home-page main > .ac-banner > .ac-button{font-size:.87rem;padding:11px 15px}
}
@media(max-width:1020px){
 body.ac-home-page .ac-hero-home{min-height:430px;padding:35px;gap:20px}
 body.ac-home-page .ac-hero-home .ac-hero-copy h1{font-size:clamp(1.85rem,4.1vw,3rem)}
 body.ac-home-page .ac-hero-home .ac-hero-image{height:350px}
 body.ac-home-page .ac-home-intro,body.ac-home-page .ac-service-panel{min-height:215px}
 body.ac-home-page .ac-home-values .ac-feature{min-height:192px;padding:21px 12px}
}
@media(max-width:760px){
 body.ac-home-page main > .ac-container{width:calc(100% - 36px)}
 body.ac-home-page .ac-hero-home{margin-block:19px 20px;padding:27px 23px;min-height:345px;border-radius:26px;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:14px}
 body.ac-home-page .ac-hero-home::before{inset-inline-start:22px}
 body.ac-home-page .ac-hero-home .ac-hero-copy h1{font-size:clamp(1.5rem,4.2vw,2.15rem);margin-bottom:12px}
 body.ac-home-page .ac-hero-home .ac-hero-copy p{font-size:.88rem;line-height:1.8;margin-bottom:17px}
 body.ac-home-page .ac-hero-home .ac-hero-image{height:295px}
 body.ac-home-page .ac-hero-home .ac-hero-visual{min-height:245px}
 body.ac-home-page .ac-hero-home .ac-button{min-height:42px;padding:9px 12px;font-size:.77rem}
 body.ac-home-page .ac-home-intro,body.ac-home-page .ac-service-panel{padding:24px;border-radius:22px;min-height:180px;gap:16px}
 body.ac-home-page .ac-home-intro .ac-panel-art img{max-height:145px}
 body.ac-home-page .ac-service-panel img{height:160px}
 body.ac-home-page .ac-home-values{padding:17px;gap:10px;border-radius:24px;margin-top:23px}
 body.ac-home-page .ac-home-values .ac-feature{padding:17px 9px;min-height:160px;gap:8px}
 body.ac-home-page .ac-home-values .ac-feature-icon{width:46px;height:46px;border-radius:14px}
 body.ac-home-page .ac-home-values .ac-feature h3{font-size:.9rem}
 body.ac-home-page .ac-home-values .ac-feature p{font-size:.79rem}
 body.ac-home-page #work-process{padding:30px 21px 28px;margin-block:20px;border-radius:24px}
 body.ac-home-page #work-process .ac-process-grid{gap:12px}
 body.ac-home-page #work-process .ac-process-step{min-height:170px;padding:24px 10px 16px}
 body.ac-home-page #work-process .ac-step-index{margin:-39px auto 10px}
 body.ac-home-page .ac-latest{padding:25px;border-radius:24px}
 body.ac-home-page main > .ac-banner{grid-template-columns:100px minmax(0,1fr);gap:12px 18px;min-height:0;padding:22px;border-radius:22px;margin-block:23px 36px}
 body.ac-home-page main > .ac-banner .ac-banner-illustration{grid-row:1/3}
 body.ac-home-page main > .ac-banner .ac-banner-illustration img{height:113px;width:100%}
 body.ac-home-page main > .ac-banner > .ac-button{grid-column:2;justify-self:start;min-height:47px;padding:9px 15px;white-space:normal;font-size:.85rem}
}
@media(max-width:580px){
 body.ac-home-page main > .ac-container{width:calc(100% - 28px)}
 body.ac-home-page .ac-hero-home{grid-template-columns:minmax(0,1fr);gap:10px;padding:28px 21px 0;min-height:0;border-radius:26px;text-align:center}
 body.ac-home-page .ac-hero-home .ac-hero-copy{text-align:center}
 body.ac-home-page .ac-hero-home .ac-hero-copy h1{font-size:clamp(1.8rem,7.2vw,2.65rem);line-height:1.36;margin-inline:auto;text-align:center}
 body.ac-home-page .ac-hero-home .ac-hero-copy p{font-size:.89rem;margin:0 auto 18px;text-align:center}
 body.ac-home-page .ac-hero-home .ac-hero-copy .ac-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;justify-content:center;width:100%}
 body.ac-home-page .ac-hero-home .ac-hero-copy .ac-actions .ac-button{min-height:46px;line-height:1.35;width:100%;padding:9px 6px;font-size:.76rem;white-space:normal}
 body.ac-home-page .ac-hero-home .ac-hero-visual{order:0;margin:0;min-height:240px;max-height:280px}
 body.ac-home-page .ac-hero-home .ac-hero-image{height:273px;max-width:95%}
 body.ac-home-page .ac-hero-home .ac-hero-blob{inset:28px 17% 0}
 body.ac-home-page .ac-home-intro,body.ac-home-page .ac-service-panel{grid-template-columns:1fr;gap:9px;padding:26px 23px;border-radius:23px;text-align:center}
 body.ac-home-page .ac-home-intro .ac-panel-art,body.ac-home-page .ac-service-panel > div:last-child{min-height:140px;order:-1}
 body.ac-home-page .ac-lang-ar .ac-home-intro .ac-panel-art{grid-row:auto;grid-column:auto}
 body.ac-home-page .ac-lang-ar .ac-home-intro .ac-panel-copy{grid-row:auto;grid-column:auto}
 body.ac-home-page .ac-home-intro .ac-panel-art,body.ac-home-page .ac-home-intro .ac-panel-copy{grid-row:auto!important;grid-column:auto!important}
 body.ac-home-page .ac-service-panel>div:first-child,body.ac-home-page .ac-service-panel>div:last-child{grid-row:auto!important;grid-column:auto!important}
 body.ac-home-page .ac-home-intro .ac-panel-art img{max-height:135px}
 body.ac-home-page .ac-service-panel img{height:145px}
 body.ac-home-page .ac-home-intro .ac-panel-copy h2,body.ac-home-page .ac-service-panel h2{font-size:1.48rem}
 body.ac-home-page .ac-home-intro .ac-panel-copy p,body.ac-home-page .ac-service-panel p{font-size:.87rem;margin-bottom:9px}
 body.ac-home-page .ac-home-values{grid-template-columns:1fr;gap:12px;padding:14px;border-radius:23px}
 body.ac-home-page .ac-home-values .ac-feature{min-height:0;padding:20px 16px;border-radius:17px}
 body.ac-home-page .ac-home-values .ac-feature h3{font-size:1.02rem}
 body.ac-home-page .ac-home-values .ac-feature p{font-size:.85rem}
 body.ac-home-page #work-process .ac-section-heading h2{font-size:1.62rem}
 body.ac-home-page #work-process .ac-process-grid{grid-template-columns:1fr;gap:12px;padding:13px 0 0}
 body.ac-home-page #work-process .ac-process-step{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;gap:0 13px;min-height:91px;padding:14px 13px;text-align:start;align-items:center}
 body.ac-home-page #work-process .ac-step-index{top:9px;inset-inline-end:10px;position:absolute;margin:0;width:26px;height:26px;font-size:.72rem}
 body.ac-home-page #work-process .ac-process-step .ac-step-icon{grid-column:1;grid-row:1/3;width:46px;height:46px;margin:0}
 body.ac-home-page #work-process .ac-process-step h3{grid-column:2;grid-row:1;margin:0 0 3px;padding-inline-end:21px;font-size:.98rem}
 body.ac-home-page #work-process .ac-process-step p{grid-column:2;grid-row:2;font-size:.82rem}
 body.ac-home-page .ac-latest{padding:22px 16px;margin-block:18px}
 body.ac-home-page .ac-latest .ac-section-top{align-items:start;flex-wrap:wrap;gap:10px}
 body.ac-home-page .ac-latest .ac-section-top h2{font-size:1.5rem}
 body.ac-home-page .ac-latest .ac-article-grid > .ac-article-card:only-child{grid-template-columns:1fr;min-height:0}
 body.ac-home-page .ac-latest .ac-article-grid > .ac-article-card:only-child .ac-article-image{aspect-ratio:1.95/1;min-height:0}
 body.ac-home-page .ac-latest .ac-article-content{padding:18px}
 body.ac-home-page main > .ac-banner{grid-template-columns:minmax(0,1fr);justify-items:center;gap:13px;padding:24px 18px;text-align:center}
 body.ac-home-page main > .ac-banner .ac-banner-illustration{grid-row:auto;width:145px}
 body.ac-home-page main > .ac-banner .ac-banner-illustration img{height:105px;width:145px}
 body.ac-home-page main > .ac-banner .ac-banner-copy,body.ac-home-page.ac-lang-ar main > .ac-banner .ac-banner-copy{text-align:center}
 body.ac-home-page main > .ac-banner .ac-banner-copy h2{font-size:1.5rem}
 body.ac-home-page main > .ac-banner > .ac-button{grid-column:1;justify-self:stretch;width:100%;min-height:47px}
}
@media(max-width:370px){body.ac-home-page .ac-hero-home{padding-inline:15px}body.ac-home-page .ac-hero-home .ac-hero-copy h1{font-size:1.75rem}body.ac-home-page .ac-hero-home .ac-hero-copy .ac-actions .ac-button{font-size:.70rem}}
@media(prefers-reduced-motion:reduce){body.ac-home-page .ac-home-values .ac-feature,body.ac-home-page #work-process .ac-process-step{transition:none}body.ac-home-page .ac-home-values .ac-feature:hover,body.ac-home-page #work-process .ac-process-step:hover{transform:none}}

@media(prefers-reduced-motion:reduce){
 body.ac-home-page main > .ac-banner > .ac-button{transition:none}
 body.ac-home-page main > .ac-banner > .ac-button:hover{transform:none}
}
