
:root{
    --ks2-navy:#052744;
    --ks2-dark:#031b31;
    --ks2-blue:#1598ee;
    --ks2-blue2:#40b7ff;
    --ks2-text:#14283a;
    --ks2-muted:#647587;
    --ks2-line:#dfe8ef;
    --ks2-soft:#f7fafc;
}

.ks2-wrap{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
}


/* HERO */

.ks2-hero{
    height:430px;
    min-height:430px;
    position:relative;
    overflow:hidden;
    background:var(--ks2-dark);
}

.ks2-hero-bg{
    position:absolute;
    inset:0;
    background-image:url('/assets/services-banner.webp');
    background-size:cover;
    background-position:center;
    filter:brightness(.66) saturate(.80);
}

.ks2-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,24,46,.93),
            rgba(3,24,46,.62) 44%,
            rgba(3,24,46,.16)
        );
}

.ks2-hero-inner{
    height:100%;
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.ks2-label{
    display:block;
    color:var(--ks2-blue);
    font-size:11px;
    font-weight:800;
    letter-spacing:2.4px;
    margin-bottom:10px;
}

.ks2-light{
    color:#64c2ff;
}

.ks2-hero h1{
    max-width:720px;
    margin:0;
    color:#fff !important;
    font-size:58px;
    line-height:1 !important;
    letter-spacing:-.045em !important;
}

.ks2-hero h1 span{
    color:#2faaff;
}

.ks2-hero p{
    max-width:590px;
    margin:20px 0 0;
    color:rgba(255,255,255,.9) !important;
    font-size:16px;
    line-height:1.65 !important;
}


/* COMMON */

.ks2-section{
    padding:80px 0;
    background:#fff;
}

.ks2-soft{
    background:var(--ks2-soft);
}

.ks2-split{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:65px;
    align-items:center;
}

.ks2-reverse{
    grid-template-columns:.95fr 1.05fr;
}

.ks2-split h2,
.ks2-note h2{
    margin:0 0 18px;
    color:var(--ks2-navy) !important;
    font-size:42px;
    line-height:1.08 !important;
    letter-spacing:-.04em !important;
}

.ks2-split h2 span,
.ks2-note h2 span{
    color:var(--ks2-blue);
}

.ks2-split p,
.ks2-note p{
    color:var(--ks2-muted) !important;
    font-size:14px;
    line-height:1.75 !important;
}

.ks2-split h3{
    margin:24px 0 12px;
    color:var(--ks2-navy) !important;
    font-size:17px;
}

.ks2-image{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 18px 48px rgba(4,39,70,.10);
}

.ks2-image img{
    display:block;
    width:100%;
    height:390px;
    object-fit:cover;
    filter:brightness(.84) saturate(.82);
}

.ks2-list{
    padding:0;
    margin:18px 0 26px;
    list-style:none;
    display:grid;
    gap:10px;
}

.ks2-list li{
    position:relative;
    padding-left:24px;
    color:#506477;
    font-size:13px;
}

.ks2-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--ks2-blue);
    font-weight:800;
}


/* BUTTONS */

.ks2-btn{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 24px;
    border-radius:25px;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
}

.ks2-btn-primary{
    color:#fff !important;
    background:
        linear-gradient(
            135deg,
            var(--ks2-blue),
            var(--ks2-blue2)
        );
}

.ks2-btn-secondary{
    color:var(--ks2-navy) !important;
    background:#fff;
    border:1px solid #bed7e8;
}


/* DARK */

.ks2-dark{
    min-height:390px;
    position:relative;
    overflow:hidden;
    background:var(--ks2-dark);
}

.ks2-dark-bg{
    position:absolute;
    inset:0;
    background-image:url('/assets/contact-banner.webp');
    background-size:cover;
    background-position:center;
    filter:brightness(.44) saturate(.70);
}

.ks2-dark-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,25,47,.97),
            rgba(3,25,47,.82) 52%,
            rgba(3,25,47,.40)
        );
}

.ks2-dark-grid{
    min-height:390px;
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:80px;
    align-items:center;
}

.ks2-dark h2{
    margin:0 0 17px;
    color:#fff !important;
    font-size:42px;
}

.ks2-dark h2 span{
    color:#30abff;
}

.ks2-dark p{
    max-width:560px;
    color:rgba(255,255,255,.82) !important;
    font-size:14px;
    line-height:1.75 !important;
}

.ks2-checks{
    display:grid;
    gap:15px;
}

.ks2-checks > div{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    font-size:14px;
    font-weight:600;
}

.ks2-checks b{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--ks2-blue);
}


/* NOTE */

.ks2-note{
    max-width:850px;
    padding:34px;
    background:#f6fbff;
    border:1px solid #d8e9f5;
    border-radius:12px;
}


/* CTA */

.ks2-cta-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.ks2-cta-grid article{
    padding:34px;
    background:#fff;
    border:1px solid var(--ks2-line);
    border-radius:10px;
}

.ks2-cta-grid h3{
    margin:0 0 12px;
    color:var(--ks2-navy) !important;
    font-size:27px;
}

.ks2-cta-grid p{
    color:var(--ks2-muted) !important;
    font-size:13px;
    line-height:1.7 !important;
    margin-bottom:24px;
}


/* MOBILE */

@media(max-width:767px){

    .ks2-wrap{
        width:calc(100% - 30px);
    }

    .ks2-hero{
        height:430px;
    }

    .ks2-hero-bg{
        background-image:url('/assets/services-mobile.webp');
    }

    .ks2-hero-overlay{
        background:
            linear-gradient(
                to bottom,
                rgba(3,24,46,.20),
                rgba(3,24,46,.42) 44%,
                rgba(3,24,46,.95)
            );
    }

    .ks2-hero-inner{
        justify-content:flex-end;
        padding-bottom:34px;
    }

    .ks2-hero h1{
        font-size:40px;
    }

    .ks2-hero p{
        font-size:14px;
    }

    .ks2-section{
        padding:55px 0;
    }

    .ks2-split,
    .ks2-reverse{
        grid-template-columns:1fr;
        gap:30px;
    }

    .ks2-image img{
        height:260px;
    }

    .ks2-split h2,
    .ks2-note h2{
        font-size:33px;
    }

    .ks2-dark-grid{
        grid-template-columns:1fr;
        gap:35px;
        padding-top:50px;
        padding-bottom:50px;
    }

    .ks2-dark h2{
        font-size:34px;
    }

    .ks2-cta-grid{
        grid-template-columns:1fr;
    }

}


/* ==========================================================
   PREMIUM "HOW WE WORK" SECTION
   ========================================================== */

.ks2-services-heading{
    max-width: 920px;
    margin: 0 auto 48px;
    text-align: center;
    position: relative;
}

.ks2-services-heading::after{
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg,#0b3c74,#25a7ff);
    box-shadow: 0 6px 18px rgba(37,167,255,.25);
}

.ks2-services-heading .ks2-label{
    display: inline-block;
    letter-spacing: .18em;
    font-weight: 800;
    color: #1598ee;
    margin-bottom: 12px;
}

.ks2-services-heading h2{
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.06;
    letter-spacing: -.04em;
    color: #082b4c !important;
}

.ks2-services-heading h2 span{
    color: #2e92eb;
}

.ks2-services-heading p{
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #647587 !important;
}

/* process grid */
.ks2-process-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 26px;
    margin-top: 16px;
}

.ks2-process-grid article{
    position: relative;
    padding: 34px 30px 28px;
    border-radius: 24px;
    background: linear-gradient(180deg,#ffffff 0%, #f7fbff 100%);
    border: 1px solid #dbe6f0;
    box-shadow: 0 16px 40px rgba(7,42,74,.08);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    min-height: 240px;
}

.ks2-process-grid article::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg,#0a3768,#27a6ff);
}

.ks2-process-grid article::after{
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,167,255,.14) 0%, rgba(37,167,255,0) 70%);
    pointer-events: none;
}

.ks2-process-grid article:hover{
    transform: translateY(-8px);
    border-color: rgba(37,167,255,.30);
    box-shadow: 0 24px 52px rgba(7,42,74,.14);
}

.ks2-process-grid article > b{
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg,#0c4d8c,#2baeff);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 12px 26px rgba(28,129,220,.28);
}

.ks2-process-grid h3{
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #082b4c !important;
}

.ks2-process-grid p{
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #617487 !important;
}

/* alternate badge tone */
.ks2-process-grid article:nth-child(2) > b,
.ks2-process-grid article:nth-child(4) > b{
    background: linear-gradient(135deg,#0c2d56,#1d8fe6);
}

/* mobile */
@media (max-width: 991px){
    .ks2-services-heading h2{
        font-size: 42px;
    }
}

@media (max-width: 767px){
    .ks2-services-heading{
        margin-bottom: 34px;
        text-align: left;
    }

    .ks2-services-heading::after{
        margin: 18px 0 0;
    }

    .ks2-services-heading h2{
        font-size: 34px;
    }

    .ks2-services-heading p{
        font-size: 16px;
        line-height: 1.75;
        margin: 0;
    }

    .ks2-process-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ks2-process-grid article{
        min-height: auto;
        padding: 26px 22px 22px;
        border-radius: 18px;
    }

    .ks2-process-grid article > b{
        width: 50px;
        height: 50px;
        font-size: 14px;
        border-radius: 14px;
    }

    .ks2-process-grid h3{
        font-size: 24px;
    }

    .ks2-process-grid p{
        font-size: 15px;
        line-height: 1.7;
    }
}

