/* =========================================================
   KUANTUM SERVIS v0.11.0 — FINAL SPACING + FULL-BLEED FOOTER
========================================================= */

/* Home: remove the oversized vertical hole between finder and projects. */
body.home .ks-finder--home,
body.ks-v2-page .ks-finder--home{
    padding-bottom:26px!important;
}
body.home .ks-finder--home + .ks-home-project-showcase,
body.ks-v2-page .ks-finder--home + .ks-home-project-showcase,
.ks-home-project-showcase{
    padding-top:18px!important;
}
.ks-home-project-showcase{
    padding-bottom:24px!important;
}

/* Old proof/stat strip is intentionally retired in v0.11. */
.ks-home-proof-strip{display:none!important}

/* Footer CTA remains a contained component. */
.ks-footer-v2{
    padding:38px 0 0!important;
    background:#fff!important;
    overflow:visible!important;
}
.ks-footer-v2__cta-wrap{
    margin-bottom:24px!important;
}

/* The actual footer is now a real full-width site footer. */
.ks-footer-v2__body{
    position:relative;
    left:50%;
    width:100vw;
    margin-left:-50vw;
    background:#061f3d;
    color:#fff;
}
.ks-footer-v2__body > .ks-container{
    width:min(1240px,calc(100% - 64px));
    margin:0 auto;
}
.ks-footer-v2__main{
    grid-template-columns:1.35fr .82fr .82fr 1fr!important;
    gap:46px!important;
    margin-top:0!important;
    padding:54px 0 46px!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.ks-footer-v2__brand{
    padding-right:28px;
}
.ks-footer-v2__wordmark{
    font-size:30px!important;
    letter-spacing:4.5px!important;
}
.ks-footer-v2__brand p{
    max-width:390px!important;
    margin:22px 0 20px!important;
}
.ks-footer-v2__col{
    padding-top:7px;
}
.ks-footer-v2__col>strong{
    margin-bottom:9px!important;
    color:#73c9ff!important;
}
.ks-footer-v2__col a{
    font-size:12px!important;
    line-height:1.55!important;
}
.ks-footer-v2__bottom{
    padding:0!important;
    border-top:1px solid rgba(255,255,255,.09)!important;
    background:#051a33!important;
}
.ks-footer-v2__bottom-inner{
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    color:#7893ab;
    font-size:10px;
}

/* Footer page itself should not create extra white margins around the full-bleed footer. */
body.page-footer .entry-content-wrapper,
body.page-footer .container_wrap,
body.page-footer #main,
body.page-footer .main_color,
body.page-footer .template-page,
body.page-footer .content,
body.page-id-footer .entry-content-wrapper,
body.page-id-footer .container_wrap,
body.page-id-footer #main,
body.page-id-footer .main_color,
body.page-id-footer .template-page,
body.page-id-footer .content{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    max-width:none!important;
    width:100%!important;
}

@media(max-width:1100px){
    .ks-footer-v2__main{
        grid-template-columns:1.2fr 1fr 1fr!important;
        gap:34px!important;
    }
    .ks-footer-v2__contact{grid-column:2/4!important}
}

@media(max-width:767px){
    body.home .ks-finder--home,
    body.ks-v2-page .ks-finder--home{padding-bottom:16px!important}
    .ks-home-project-showcase{padding-top:10px!important;padding-bottom:18px!important}
    .ks-footer-v2{padding-top:24px!important}
    .ks-footer-v2__cta-wrap{margin-bottom:18px!important}
    .ks-footer-v2__body > .ks-container{width:100%;padding-left:20px;padding-right:20px}
    .ks-footer-v2__main{
        grid-template-columns:1fr!important;
        gap:28px!important;
        padding:38px 0 32px!important;
    }
    .ks-footer-v2__brand{padding-right:0}
    .ks-footer-v2__contact{grid-column:auto!important}
    .ks-footer-v2__bottom-inner{
        min-height:76px;
        flex-direction:column;
        align-items:flex-start;
        justify-content:center;
        gap:5px;
        padding-top:14px!important;
        padding-bottom:14px!important;
    }
}
