/* Services hero background — dedicated, cache-safe override. */
.page-services .page-hero--services {
    background-color: #253f37;
    background-image: url("../images/services-hero-background-20260807-v2.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.page-services .page-hero--services::before {
    background:
        linear-gradient(90deg,
            rgba(28, 58, 50, .98) 0%,
            rgba(29, 59, 51, .95) 29%,
            rgba(30, 60, 52, .78) 46%,
            rgba(30, 60, 52, .34) 63%,
            rgba(30, 60, 52, .08) 82%,
            rgba(30, 60, 52, .03) 100%),
        linear-gradient(180deg, rgba(16, 37, 31, .06) 0%, rgba(16, 37, 31, .20) 100%);
}

.page-services .page-hero--services .page-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
}

.page-services .page-hero--services .page-hero__grid > div {
    max-width: 780px;
}

@media (max-width: 840px) {
    .page-services .page-hero--services {
        background-position: 68% center;
    }

    .page-services .page-hero--services::before {
        background:
            linear-gradient(90deg,
                rgba(25, 54, 46, .97) 0%,
                rgba(26, 56, 48, .91) 48%,
                rgba(26, 56, 48, .63) 100%),
            linear-gradient(180deg, rgba(15, 34, 29, .12) 0%, rgba(15, 34, 29, .32) 100%);
    }

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

    .page-services .page-hero--services .page-hero__grid > div {
        max-width: 690px;
    }
}

@media (max-width: 600px) {
    .page-services .page-hero--services {
        background-position: 66% center;
    }

    .page-services .page-hero--services::before {
        background:
            linear-gradient(90deg,
                rgba(23, 51, 43, .95) 0%,
                rgba(24, 52, 44, .90) 58%,
                rgba(24, 52, 44, .72) 100%),
            linear-gradient(180deg, rgba(14, 32, 27, .12) 0%, rgba(14, 32, 27, .36) 100%);
    }
}
