/* Elite Homepage Compact / Designs 32 Fix */
:root{
    --elite-home-white:#ffffff;
    --elite-home-soft:#f6f8fc;
    --elite-home-text:#131b32;
    --elite-home-muted:#6c7689;
}

/* ---------- Section rhythm: explicit alternating backgrounds ---------- */
body .elite-why-home.elite-why-home{
    background:var(--elite-home-soft)!important;
    padding:64px 0!important;
}
body .elite-smart-services.elite-smart-services{
    background:var(--elite-home-white)!important;
    padding:64px 0!important;
}
body .ehd-section.ehd-section{
    background:var(--elite-home-soft)!important;
    padding:64px 0!important;
}
body .elite-process-home.elite-process-home{
    background:var(--elite-home-white)!important;
    padding:64px 0!important;
}
body .elite-testimonials-home.elite-testimonials-home{
    background:var(--elite-home-soft)!important;
    padding:64px 0!important;
}
body .elite-home-blog-clean.elite-home-blog-clean{
    background:var(--elite-home-white)!important;
    padding:64px 0!important;
}
body .elite-final-cta.elite-final-cta{
    background:var(--elite-home-soft)!important;
    padding:58px 0 72px!important;
}

/* ---------- Smaller, controlled section typography ---------- */
.ewh-intro h2,
.ess-head h2,
.ehd-head h2,
.eph-head h2,
.eth-head h2,
.ehbc-head h2{
    font-size:clamp(25px,2vw,32px)!important;
    line-height:1.35!important;
    letter-spacing:-.018em!important;
}

.efc-content h2{
    font-size:clamp(26px,2.15vw,34px)!important;
    line-height:1.35!important;
}

.ewh-intro>p,
.ess-head p,
.ehd-head p,
.eph-head p,
.eth-head p,
.ehbc-head p,
.efc-content>p{
    font-size:14.5px!important;
    line-height:1.8!important;
}

.ewh-step-copy h3,
.ess-card h3,
.eph-card h3,
.ehbc-body h3{
    font-size:18px!important;
    line-height:1.45!important;
}

.ewh-step-copy p,
.ess-card p,
.eph-card p,
.ehbc-body p{
    font-size:14px!important;
    line-height:1.75!important;
}

/* ---------- Reduce long copy / visual noise ---------- */
.ewh-step-copy p,
.ess-card p,
.eph-card p{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
}

.eth-message{
    font-size:14px!important;
    line-height:1.8!important;
}

.ehbc-body p{
    -webkit-line-clamp:2!important;
}

.efc-step strong{
    font-size:16px!important;
}
.efc-step small{
    font-size:13px!important;
    line-height:1.65!important;
}

/* One final CTA is enough: remove duplicated mini CTA bars */
.ess-help,
.eph-footer,
.eth-footer{
    display:none!important;
}

/* Keep the Why-Elite dark bar compact instead of noisy */
.ewh-bottom{
    padding:15px 18px!important;
    margin-top:20px!important;
    gap:16px!important;
}
.ewh-bottom-copy span,
.ewh-bottom-points span{
    font-size:13px!important;
}
.ewh-bottom-copy strong{
    font-size:15px!important;
}

/* ---------- Partners: clearer and larger logos ---------- */
body .elite-client-strip.elite-client-strip{
    background:#fff!important;
    padding:32px 0 38px!important;
    border-top:1px solid rgba(15,23,42,.05)!important;
    border-bottom:1px solid rgba(15,23,42,.05)!important;
}

.elite-strip-head{
    margin-bottom:16px!important;
}

.elite-strip-head>span{
    color:#4f5b6e!important;
    font-size:15px!important;
    font-weight:800!important;
}

.elite-strip-head a{
    color:#172033!important;
    font-size:13px!important;
    font-weight:800!important;
}

.elite-client-logos{
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:12px!important;
}

.elite-client-logos>div{
    height:88px!important;
    padding:12px 14px!important;
    border:1px solid #e7eaf0!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 7px 20px rgba(15,23,42,.035)!important;
}

.elite-client-logos img{
    max-width:94%!important;
    max-height:60px!important;
    width:auto!important;
    height:auto!important;
    object-fit:contain!important;
    filter:none!important;
    opacity:1!important;
    mix-blend-mode:normal!important;
}

/* ---------- Ready Designs: keep the section compact ---------- */
.ehd-head{
    margin-bottom:25px!important;
}
.ehd-preview{
    height:360px!important;
}
.ehd-actions{
    padding:10px!important;
}
.ehd-order{
    min-height:41px!important;
    padding:9px 12px!important;
}
.ehd-loader{
    min-height:58px!important;
}

/* ---------- Mobile ---------- */
@media(max-width:991px){
    body .elite-why-home.elite-why-home,
    body .elite-smart-services.elite-smart-services,
    body .ehd-section.ehd-section,
    body .elite-process-home.elite-process-home,
    body .elite-testimonials-home.elite-testimonials-home,
    body .elite-home-blog-clean.elite-home-blog-clean{
        padding:50px 0!important;
    }

    .elite-client-logos{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }

    .elite-client-logos>div{
        height:82px!important;
    }

    .elite-client-logos img{
        max-height:55px!important;
    }
}

@media(max-width:620px){
    .ewh-intro h2,
    .ess-head h2,
    .ehd-head h2,
    .eph-head h2,
    .eth-head h2,
    .ehbc-head h2,
    .efc-content h2{
        font-size:26px!important;
        line-height:1.4!important;
    }

    .elite-client-logos{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    .elite-client-logos>div{
        height:84px!important;
    }

    .ehd-preview{
        height:min(470px,120vw)!important;
    }
}