.service-areas-page {
    color: #2f3438;
    padding-top: 58px;
}

.page-title .custom-heading h1 {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.page-title .custom-heading {
    transform: translateY(-28px);
}

.service-areas-page h2,
.service-areas-page h3 {
    color: #25292d;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0;
}

.service-areas-page p {
    color: #5d666d;
    font-size: 15px;
    line-height: 25px;
}

.service-areas-intro {
    align-items: stretch;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    margin-bottom: 42px;
}

.service-areas-copy {
    align-self: center;
}

.service-kicker,
.section-heading span {
    color: #00847a;
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-areas-copy h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 42px;
    margin: 0 0 18px;
}

.service-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.service-quick-stats span {
    background: #f4f8f7;
    border: 1px solid #d9e8e5;
    border-radius: 6px;
    color: #344047;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 15px;
}

.service-quick-stats strong {
    color: #00847a;
    display: block;
    font-size: 21px;
    line-height: 24px;
}

.service-areas-photo {
    border-radius: 6px;
    min-height: 300px;
    overflow: hidden;
}

.service-areas-photo img,
.service-process-grid img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.service-process-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 48px;
}

.service-process-grid article {
    background: #fff;
    border: 1px solid #dde5e5;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(30, 36, 40, 0.07);
    overflow: hidden;
}

.service-process-grid img {
    aspect-ratio: 4 / 3;
    height: auto;
}

.service-process-grid div {
    padding: 18px 18px 20px;
}

.service-process-grid h3,
.district-card h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 10px;
}

.service-process-grid p {
    font-size: 14px;
    line-height: 23px;
    margin: 0;
}

.section-heading {
    margin: 0 auto 28px;
    max-width: 840px;
    text-align: center;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    margin: 0 0 12px;
}

.section-heading p {
    margin: 0;
}

.district-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 48px;
}

.district-card {
    background: #fff;
    border: 1px solid #dce5e4;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(32, 39, 44, 0.05);
    padding: 22px;
}

.district-card p {
    font-size: 14px;
    line-height: 23px;
    margin: 0 0 15px;
}

.district-card ul,
.neighborhood-service-cloud ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.district-card li,
.neighborhood-service-cloud li {
    background: #eef5f4;
    border: 1px solid #d3e6e3;
    border-radius: 4px;
    color: #334047;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    padding: 6px 8px;
}

.neighborhood-service-cloud {
    background: #f7faf9;
    border: 1px solid #dfe9e7;
    border-radius: 6px;
    margin-bottom: 42px;
    padding: 34px;
}

.neighborhood-service-cloud ul {
    justify-content: center;
}

.service-areas-callout {
    align-items: center;
    background: #1f2427;
    border-radius: 6px;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 30px 34px;
}

.service-areas-callout h2 {
    color: #fff;
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 8px;
}

.service-areas-callout p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.service-callout-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.service-callout-actions a {
    background: #00847a;
    border: 1px solid #00847a;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    padding: 12px 16px;
    text-decoration: none;
}

.service-callout-actions a + a {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 991px) {
    .service-areas-intro,
    .service-process-grid,
    .district-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-areas-copy {
        grid-column: 1 / -1;
    }

    .service-areas-photo {
        grid-column: 1 / -1;
        min-height: 260px;
    }

    .service-areas-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-callout-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .page-title .custom-heading {
        transform: none;
    }

    .page-title .custom-heading h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .service-areas-page {
        padding-top: 40px;
    }

    .service-areas-intro,
    .service-process-grid,
    .district-grid {
        grid-template-columns: 1fr;
    }

    .service-areas-copy h2,
    .section-heading h2 {
        font-size: 25px;
        line-height: 32px;
    }

    .service-areas-photo {
        min-height: 220px;
    }

    .district-card,
    .neighborhood-service-cloud,
    .service-areas-callout {
        padding: 22px;
    }

    .service-callout-actions a {
        text-align: center;
        width: 100%;
    }
}


/* Clickable local SEO cards */
.service-process-links article > a {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.service-process-links article:hover {
    border-color: #00847a;
    box-shadow: 0 14px 26px rgba(0, 132, 122, 0.12);
}

.district-card h3 a {
    color: #25292d;
    text-decoration: none;
}

.district-card h3 a:hover {
    color: #00847a;
}

.district-card li a,
.neighborhood-service-cloud li a {
    color: #334047;
    display: block;
    text-decoration: none;
}

.district-card li:hover,
.neighborhood-service-cloud li:hover {
    background: #e0f1ee;
    border-color: #b7dcd7;
}

.district-card-link {
    color: #00847a;
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-top: 16px;
    text-decoration: none;
}

.district-card-link:hover {
    color: #005f58;
    text-decoration: none;
}

.district-detail-panels {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 42px;
}

.district-detail-panels article {
    background: #fff;
    border: 1px solid #dce5e4;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(32, 39, 44, 0.05);
    padding: 24px;
}

.district-detail-panels i {
    color: #00847a;
    font-size: 24px;
    margin-bottom: 14px;
}

.district-detail-panels h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    margin: 0 0 10px;
}

.district-detail-panels p {
    font-size: 14px;
    line-height: 23px;
    margin: 0;
}

.service-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .district-detail-panels,
    .service-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .district-detail-panels,
    .service-link-grid {
        grid-template-columns: 1fr;
    }
}
