.service-page {
    background-color: white;
}

.service-hero {
    margin-top: 72px;
    padding: 40px 20px 50px;
    background-color: #f4f7ee;
    border-bottom: 1px solid #e3ead8;
}

.service-hero-inner,
.service-body-inner {
    max-width: 800px;
    margin: 0 auto;
}

.service-back,
.service-back:visited {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #5f8a3a;
    text-decoration: none;
}

.service-back:hover {
    color: #0f350f;
    text-decoration: underline;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 50%;
    background-color: #0f350f;
    color: white;
    font-size: 1.5rem;
}

.service-title {
    margin: 0 0 12px;
    font-size: 2.6rem;
    line-height: 1.1;
    color: #0f350f;
}

.service-lead {
    max-width: 600px;
    margin: 0 0 24px;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #444444;
}

.service-price {
    margin-bottom: 0;
}

.service-price-amount {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background-color: rgba(140, 175, 100, 0.25);
    font-size: 1.4rem;
    font-weight: bold;
    color: #0f350f;
}

.service-price-note {
    margin-left: 10px;
    color: #5c6b4a;
}

.service-body {
    padding: 50px 20px;
}

.service-body-inner h2 {
    margin: 40px 0 12px;
    color: #0f350f;
}

.service-body-inner h2:first-child {
    margin-top: 0;
}

.service-body-inner ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.service-body-inner li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 24px;
    line-height: 1.6;
    color: #444444;
}

.service-body-inner li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #8caf64;
}

.service-body-inner p {
    line-height: 1.7;
    color: #444444;
}

.service-body-inner a,
.service-body-inner a:visited {
    font-weight: bold;
    color: #0f350f;
    text-decoration: underline;
    text-decoration-color: #8caf64;
}

.service-body-inner a:hover {
    color: #5f8a3a;
}

/* Buttons inside the body keep the button look instead of the inline-link look */
.service-body-inner a.hero-button,
.service-body-inner a.hero-button:visited {
    color: white;
    text-decoration: none;
}

.service-body-inner a.hero-button:hover {
    color: white;
}

/* A day's schedule, shown as a simple timeline */
.service-step {
    margin: 0 0 24px;
    padding-left: 20px;
    border-left: 3px solid #8caf64;
}

.service-step h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #0f350f;
}

.service-step p:last-child {
    margin-bottom: 0;
}

/* A customer story shown as its own capsule between the page body and the closing call to action */
/* Page body: story capsule below the text on narrow screens, beside it on wide screens */
.service-layout {
    max-width: 800px;
    margin: 0 auto;
}

.service-story-card {
    margin: 40px 0 0;
    padding: 32px 36px 28px;
    background-color: #f7f9f4;
    border: 1px solid #e3ead8;
    border-top: 4px solid #8caf64;
    border-radius: 8px;
}

.service-story-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-story-photo {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border: 3px solid #8caf64;
    border-radius: 50%;
    object-fit: cover;
}

/* Company logos sit on white inside a soft ring instead of filling it like a headshot */
.service-story-photo.service-story-logo {
    padding: 6px;
    border: 1px solid #e3ead8;
    background-color: white;
    object-fit: contain;
}

/* Quote-style story: company logo, then a customer quote with the person's photo and title */
.service-story-company-logo {
    display: block;
    width: 170px;
    margin: 10px 0 20px;
    /* The logo file has a white background; multiply lets the card color show through */
    mix-blend-mode: multiply;
}

.service-story-card .service-story-quote {
    margin: 0 0 22px;
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444444;
}

.service-story-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #dde5d0;
}

.service-story-person-photo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 2px solid #8caf64;
    border-radius: 50%;
    object-fit: cover;
}

.service-story-person-name {
    display: block;
    font-weight: bold;
    color: #0f350f;
}

.service-story-person-role {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #777777;
}

.service-story-eyebrow {
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5f8a3a;
}

.service-story-title {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #0f350f;
}

.service-story-card p {
    margin: 0 0 14px;
    line-height: 1.7;
    color: #444444;
}

.service-story-card .service-story-result {
    margin: 22px 0 0;
    padding-left: 16px;
    border-left: 3px solid #8caf64;
    font-weight: bold;
    color: #0f350f;
}

.service-cta {
    padding: 50px 20px 60px;
    background-color: #e6eddb;
    text-align: center;
}

.service-cta h2 {
    margin: 0 0 8px;
    color: #0f350f;
}

.service-cta p {
    margin: 0 0 24px;
    color: #444444;
}

/* The footer curve sits directly under the call-to-action band */
.separator-bottom {
    background-color: #e6eddb;
}

@media screen and (min-width: 1000px) {
    .service-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 56px;
        align-items: start;
        max-width: 1000px;
    }

    /* Line the intro up with the wider two-column body below it */
    .service-page-with-aside .service-hero-inner {
        max-width: 1000px;
    }

    .service-story-card {
        position: sticky;
        top: 96px;
        margin-top: 0;
        padding: 24px 24px 20px;
    }

    .service-story-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .service-story-title {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 729px) {
    .service-hero {
        padding: 28px 16px 36px;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-lead {
        font-size: 1.05rem;
    }

    .service-price-note {
        display: block;
        margin: 8px 0 0;
    }

    .service-body,
    .service-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .service-story-card {
        padding: 24px 20px 20px;
    }

    .service-story-header {
        gap: 14px;
    }

    .service-story-photo {
        width: 64px;
        height: 64px;
    }

    .service-story-title {
        font-size: 1.3rem;
    }
}
