/* =========================================================
   SERVICES HUB PAGE
========================================================= */

.services-hub-page {
    background: #ffffff;
}


/* HERO */

.services-hub-hero {
    padding: 105px 0;
    background:
        linear-gradient(
            135deg,
            #f0fdf4 0%,
            #ffffff 48%,
            #eef6ff 100%
        );
}

.services-hub-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;
    align-items: center;
}

.services-hub-hero-content {
    max-width: 770px;
}

.services-hub-hero h1 {
    margin: 14px 0 22px;
    max-width: 760px;

    color: #173b63;

    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -1.7px;
}

.services-hub-hero-content > p {
    max-width: 680px;
    margin: 0 0 30px;

    color: #64748b;

    font-size: 18px;
    line-height: 1.75;
}


/* HERO BOX */

.services-hero-box {
    padding: 36px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 24px;

    box-shadow: 0 20px 55px rgba(15, 23, 42, .09);
}

.services-hero-box-label {
    display: inline-flex;

    margin-bottom: 14px;
    padding: 6px 11px;

    border-radius: 999px;

    background: #ecfdf3;
    color: #15803d;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.services-hero-box h3 {
    margin: 0 0 24px;

    color: #173b63;

    font-size: 27px;
    line-height: 1.3;
}

.services-hero-feature {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 13px;

    padding: 17px 0;

    border-top: 1px solid #e2e8f0;
}

.services-hero-feature > span {
    color: #16a34a;
    font-size: 20px;
    font-weight: 800;
}

.services-hero-feature strong {
    display: block;

    margin-bottom: 3px;

    color: #173b63;
}

.services-hero-feature p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.55;
}


/* ALL SERVICES */

.all-services-section {
    padding: 105px 0;
}

.services-hub-page .section-heading {
    max-width: 820px;

    margin: 0 auto 55px;

    text-align: center;
}

.services-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* SERVICE CARD */

.service-category-card {
    position: relative;

    display: block;

    padding: 28px;

    min-height: 270px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.service-category-card:hover {
    transform: translateY(-5px);

    border-color: #bbf7d0;

    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.featured-service {
    background:
        linear-gradient(
            145deg,
            #f0fdf4,
            #ffffff
        );

    border-color: #bbf7d0;
}

.service-category-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #f1f5f9;

    font-size: 26px;
}

.featured-service .service-category-icon {
    background: #dcfce7;
}

.service-category-card h3 {
    margin: 0 0 10px;

    color: #173b63;

    font-size: 21px;
}

.service-category-card p {
    margin: 0 0 20px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.65;
}

.service-category-card span {
    color: #15803d;

    font-size: 14px;
    font-weight: 700;
}


/* HOW IT WORKS */

.services-how-it-works {
    padding: 100px 0;

    background: #f8fafc;
}

.services-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.services-step {
    padding: 34px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.services-step-number {
    display: block;

    margin-bottom: 22px;

    color: #16a34a;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.services-step h3 {
    margin: 0 0 12px;

    color: #173b63;

    font-size: 22px;
}

.services-step p {
    margin: 0;

    color: #64748b;

    line-height: 1.7;
}


/* COST RESOURCES */

.services-resource-section {
    padding: 100px 0;
}

.services-resource-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;

    gap: 70px;

    align-items: center;
}

.services-resource-grid h2 {
    margin: 13px 0 18px;

    color: #173b63;

    font-size: 42px;
    line-height: 1.2;
}

.services-resource-grid p {
    color: #64748b;

    line-height: 1.8;
}

.services-resource-card {
    padding: 36px;

    background: #173b63;

    border-radius: 22px;
}

.services-resource-card > span {
    display: inline-flex;

    margin-bottom: 14px;

    color: #4ade80;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.services-resource-card h3 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: 27px;
    line-height: 1.35;
}

.services-resource-card a {
    display: block;

    padding: 14px 0;

    border-top: 1px solid rgba(255,255,255,.14);

    color: #e2e8f0;

    font-weight: 600;
    text-decoration: none;
}

.services-resource-card a:hover {
    color: #4ade80;
}


/* CTA */

.services-hub-cta {
    padding: 90px 0;

    background: #173b63;
}

.services-hub-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;
}

.services-hub-cta h2 {
    margin: 12px 0;

    color: #ffffff;

    font-size: 38px;
}

.services-hub-cta p {
    margin: 0;

    color: #cbd5e1;
}


/* TABLET */

@media (max-width: 1050px) {

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

}


@media (max-width: 900px) {

    .services-hub-hero-grid,
    .services-resource-grid {
        grid-template-columns: 1fr;
    }

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

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

}


/* MOBILE */

@media (max-width: 650px) {

    .services-hub-hero {
        padding: 70px 0;
    }

    .services-hub-hero h1 {
        font-size: 36px;
        letter-spacing: -.8px;
    }

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

    .all-services-section,
    .services-how-it-works,
    .services-resource-section {
        padding: 70px 0;
    }

    .service-category-card {
        min-height: auto;
    }

    .services-resource-grid h2 {
        font-size: 34px;
    }

    .services-hub-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-hub-cta h2 {
        font-size: 31px;
    }

}