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

.services-section {
    width: 100%;
    max-width: none;

    margin: 0;

    padding: 80px 16px;

    background: #ffffff;
}


/* =========================================================
   HEADING
========================================================= */

.services-heading {
    max-width: 1152px;

    margin: 0 auto;
}

.services-heading span {
    display: block;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.services-heading h2 {
    margin-top: 8px;
    margin-bottom: 0;

    color: #020617;

    /* Important: neutralize old global h2 styling */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;

    font-size: 36px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.025em;
}


/* =========================================================
   GRID
========================================================= */

.services-grid {
    max-width: 1152px;

    margin: 40px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   CARD
========================================================= */

.service-card {
    min-height: 304px;

    padding: 24px;

    display: flex;
    flex-direction: column;

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

    background: #ffffff;
}


/* =========================================================
   ICON
========================================================= */

.service-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: #eff6ff;
    color: #2563eb;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}


/* =========================================================
   CARD TEXT
========================================================= */

.service-card h3 {
    margin-top: 16px;
    margin-bottom: 0;

    color: #020617;

    font-size: 18px;
    line-height: 1.4;

    font-weight: 700;
}

.service-card p {
    margin-top: 8px;
    margin-bottom: 0;

    color: #475569;

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


/* =========================================================
   CARD LINK
========================================================= */

.service-card a {
    margin-top: auto;
    padding-top: 16px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #0f172a;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.service-card a span {
    font-size: 18px;
    line-height: 1;
}

.service-card a:hover {
    text-decoration: none;
}


/* =========================================================
   FEATURED CARD
========================================================= */

.service-card-featured {
    border-color: #bfdbfe;

    background: #eff6ff;
}

.service-icon-featured {
    background: #2563eb;
    color: #ffffff;
}

.service-featured-link {
    color: #2563eb !important;
}


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

@media (max-width: 768px) {

    .services-section {
        padding: 64px 16px;
    }

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

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

}