/* =========================================================
   MARUTYA TECHNOLOGIES
   SERVICES PAGE
========================================================= */

.services-page {
    width: 100%;
    overflow: hidden;
    background: #f7f9fc;
}

.services-page * {
    box-sizing: border-box;
}

.services-page .wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.services-hero {
    padding: 90px 0 80px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(40,120,255,.10),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f4f8ff 100%
        );
    border-bottom: 1px solid #e1e8f2;
}

.services-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.services-hero .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    background: #102b59;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.services-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -.045em;
    color: #0b1930;
}

.services-hero h1 span {
    color: #1469ff;
}

.services-hero .hero-lede {
    max-width: 680px;
    margin: 22px 0 0;
    color: #5a6b82;
    font-size: 17px;
    line-height: 1.7;
}

.services-hero .hero-actions {
    margin-top: 28px;
}

.services-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    background: #126cff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
}


/* Visual */

.services-hero .visual {
    display: flex;
    justify-content: center;
}

.services-hero .window {
    width: 100%;
    max-width: 480px;
    min-height: 300px;
    padding: 35px;
    border: 1px solid #dce6f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(20,60,120,.12);
}

.services-hero .dots {
    display: flex;
    gap: 7px;
    margin-bottom: 35px;
}

.services-hero .dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd6e6;
}

.services-hero .code-line {
    height: 10px;
    margin: 16px 0;
    border-radius: 5px;
    background: #e5ebf4;
}

.services-hero .code-line.blue {
    background: #8eb8ff;
}

.services-hero .w1 {
    width: 58%;
}

.services-hero .w2 {
    width: 82%;
}

.services-hero .w3 {
    width: 46%;
}

.services-hero .w4 {
    width: 70%;
}


/* =========================================================
   SERVICES
========================================================= */

.services-page > section:not(.services-hero):not(.services-engagement):not(.services-cta) {
    padding: 85px 0;
    background: #f7f9fc;
}

.services-section-head {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 50px;
    margin-bottom: 42px;
}

.services-section-head .kicker {
    color: #126cff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.services-section-head h2 {
    max-width: 720px;
    margin: 0;
    color: #0b1930;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.services-section-head p {
    grid-column: 2;
    max-width: 650px;
    margin: 0;
    color: #5a6b82;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.services-card {
    display: block;
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #dce6f3;
    border-radius: 10px;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.services-card:hover {
    transform: translateY(-4px);
    border-color: #b8cbe5;
    box-shadow: 0 15px 35px rgba(20,60,120,.10);
}

.services-card .icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #edf4ff;
    color: #126cff;
    font-size: 12px;
    font-weight: 700;
}

.services-card .kicker {
    margin-bottom: 7px;
    color: #73839a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.services-card h3 {
    margin: 0 0 9px;
    color: #0b1930;
    font-size: 20px;
}

.services-card p {
    margin: 0;
    color: #5a6b82;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   ENGAGEMENT
========================================================= */

.services-engagement {
    padding: 85px 0;
    background: #061a33;
    color: #fff;
}

.services-engagement .services-section-head h2 {
    color: #fff;
}

.services-engagement .services-section-head p {
    color: #b8c7da;
}

.services-engagement .services-section-head .kicker {
    color: #73b1ff;
}

.services-engagement .services-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-engagement .services-card {
    background: rgba(255,255,255,.04);
    border-color: rgba(143,193,255,.18);
}

.services-engagement .services-card h3 {
    color: #fff;
}

.services-engagement .services-card p {
    color: #b8c7da;
}

.services-engagement .services-card .icon {
    background: rgba(115,177,255,.10);
    color: #73b1ff;
}


/* =========================================================
   CTA
========================================================= */

.services-cta {
    padding: 70px 0;
    background: #f7f9fc;
}

.services-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 46px;
    border-radius: 14px;
    background: #061a33;
    color: #fff;
}

.services-cta-box h2 {
    margin: 0;
    color: #fff;
    font-size: 32px;
}

.services-cta-box p {
    margin: 10px 0 0;
    color: #b8c7da;
}

.services-cta-box .btn {
    flex-shrink: 0;
    padding: 13px 20px;
    background: #fff;
    color: #061a33;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .services-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .services-section-head {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services-section-head p {
        grid-column: auto;
    }

    .services-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 600px) {

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

    .services-hero {
        padding: 60px 0;
    }

    .services-hero h1 {
        font-size: 38px;
    }

    .services-hero .hero-lede {
        font-size: 15px;
    }

    .services-cards,
    .services-engagement .services-cards {
        grid-template-columns: 1fr;
    }

    .services-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }

    .services-cta-box .btn {
        width: 100%;
        text-align: center;
    }
}