/* =========================================================
   EARNING STREET - SERVICES PAGE STYLES
   Load after style.css and mobile-enhance.css
========================================================= */


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

.services-page-hero {
    background: linear-gradient(135deg, #f3f9ff, #ffffff 52%, #f2fff6);
    padding: 46px 0;
    overflow: hidden;
}

.services-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.services-eyebrow {
    display: inline-block;
    color: #16843a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

    .services-eyebrow.light {
        color: #f5c21a;
    }

.services-hero-content h1 {
    color: #07194c;
    font-size: clamp(30px, 4.5vw, 50px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0 0 16px;
}

    .services-hero-content h1 span {
        color: #16843a;
    }

.services-hero-content p {
    max-width: 520px;
    color: #536078;
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 22px;
}


/* PRIMARY BUTTON */

.services-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 30px;
    background: #07194c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(7, 25, 76, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .services-primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(7, 25, 76, .24);
    }

    .services-primary-btn span {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f5b400;
        color: #07194c;
        font-size: 12px;
    }


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

.services-hero-visual {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-orbit {
    position: absolute;
    border: 1px dashed #b7c7dd;
    border-radius: 50%;
}

.orbit-one {
    width: 280px;
    height: 280px;
}

.orbit-two {
    width: 190px;
    height: 190px;
}

.services-hero-icon {
    position: absolute;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    box-shadow: 0 7px 18px rgba(7, 25, 76, .1);
    padding: 9px;
}

    .services-hero-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.icon-product {
    top: 20px;
    left: 24%;
}

.icon-marketing {
    top: 55px;
    right: 12%;
}

.icon-tech {
    bottom: 18px;
    left: 16%;
}

.icon-support {
    bottom: 34px;
    right: 20%;
}


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

.our-services-section {
    background: #ffffff;
    padding: 46px 0;
}

.services-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 30px;
}

    .services-heading > span {
        color: #16843a;
        font-size: 24px;
    }

    .services-heading h2 {
        color: #07194c;
        font-size: 26px;
        font-weight: 900;
        margin: 0 0 5px;
    }

    .services-heading p {
        color: #66738a;
        font-size: 13px;
        margin: 0;
    }


/* SERVICE GRID */

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

.service-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(7, 25, 76, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 26px rgba(7, 25, 76, .12);
    }

.service-image {
    height: 168px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f8ff, #ffffff);
    border-bottom: 1px solid #edf1f6;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.service-content {
    position: relative;
    padding: 20px;
}

.service-number {
    position: absolute;
    right: 16px;
    top: 14px;
    color: #d8e0eb;
    font-size: 26px;
    font-weight: 900;
}

.service-content h3 {
    color: #07194c;
    font-size: 16px;
    font-weight: 900;
    margin: 0 0 9px;
    padding-right: 34px;
}

.service-content p {
    color: #59657a;
    font-size: 13.5px;
    line-height: 1.6;
    min-height: 66px;
    margin-bottom: 14px;
}

.service-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #16843a;
    font-size: 13px;
    font-weight: 900;
}

    .service-content a span {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f5b400;
        color: #07194c;
        font-size: 10px;
    }


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

.why-services {
    padding: 46px 0;
    background: linear-gradient(110deg, #061542, #0a2d72);
    color: #ffffff;
}

.why-services-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
}

.why-services h2 {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 12px;
}

    .why-services h2 span {
        color: #f5c21a;
    }

.why-services p {
    max-width: 560px;
    color: #dce5f4;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.services-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

    .services-benefits div {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
    }

    .services-benefits span {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f5b400;
        color: #07194c;
        font-size: 12px;
    }


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

.services-page-cta {
    background: #16843a;
    color: #ffffff;
    padding: 34px 0;
}

.services-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

    .services-cta-inner h2 {
        font-size: 24px;
        font-weight: 900;
        margin: 0 0 5px;
    }

    .services-cta-inner p {
        color: rgba(255, 255, 255, .92);
        font-size: 14px;
        margin: 0;
    }


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

@media (max-width: 900px) {

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

    .services-hero-inner,
    .why-services-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .services-hero-content {
        text-align: center;
    }

        .services-hero-content p {
            margin-left: auto;
            margin-right: auto;
        }

    .services-hero-visual {
        min-height: 300px;
    }
}


@media (max-width: 768px) {

    .services-page-hero,
    .our-services-section,
    .why-services {
        padding: 34px 0;
    }

    .services-primary-btn {
        min-height: 48px;
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    .service-content p {
        min-height: 0;
    }
}


@media (max-width: 560px) {

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

    .services-benefits {
        grid-template-columns: 1fr;
    }

    .services-hero-visual {
        min-height: 250px;
    }

    .services-hero-icon {
        width: 70px;
        height: 70px;
    }

    .orbit-one {
        width: 210px;
        height: 210px;
    }

    .orbit-two {
        width: 140px;
        height: 140px;
    }

    .services-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}
