/* ==========================================================================
   TOUCH GRASS™
   Services Page Styles
   Clean professional landscaping layout + controlled comedy
   ========================================================================== */


/* ==========================================================================
   1. SERVICES HERO
   ========================================================================== */

.services-page-hero {
    padding:
        58px
        0
        88px;

    background: var(--off-white);
}

.services-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.24fr);
    align-items: stretch;
    gap: clamp(48px, 7vw, 96px);
}

.services-page-hero__copy {
    display: flex;
    min-height: 590px;
    flex-direction: column;
    justify-content: center;

    padding-block: 35px;
}

.services-page-hero__copy h1 {
    max-width: 560px;

    margin:
        0
        0
        28px;

    font-size: 52px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.services-page-hero__lead {
    max-width: 520px;

    margin:
        0
        0
        18px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.65;
}

.services-page-hero__aside {
    max-width: 420px;

    margin:
        0
        0
        32px;

    color: var(--ochre);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.services-page-hero__image {
    min-height: 590px;

    overflow: hidden;

    background: var(--sage);
}

.services-page-hero__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================================================
   2. SERVICE MENU
   ========================================================================== */

.service-menu {
    padding:
        72px
        0;

    background: var(--white);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-menu__header {
    display: grid;
    grid-template-columns: minmax(200px, 0.55fr) minmax(280px, 0.45fr);
    gap: 60px;

    margin-bottom: 38px;
}

.service-menu__header p {
    max-width: 460px;
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.7;
}

.service-menu__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border-strong);
    border-left: 1px solid var(--border);
}

.service-menu__links a {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 18px;

    padding:
        18px
        20px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 180ms ease,
        background 180ms ease;
}

.service-menu__links a:hover {
    color: var(--white);
    background: var(--green);
}

.service-menu__links a span {
    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

    transition: color 180ms ease;
}

.service-menu__links a:hover span {
    color: rgba(255, 255, 255, 0.58);
}


/* ==========================================================================
   3. SERVICE DETAIL
   ========================================================================== */

.service-detail {
    padding:
        var(--section-space)
        0;

    background: var(--off-white);

    border-bottom: 1px solid var(--border);
}

.service-detail:nth-of-type(even) {
    background: var(--white);
}

.service-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    align-items: center;
    gap: clamp(55px, 8vw, 115px);
}

.service-detail--reverse .service-detail__image {
    grid-column: 2;
}

.service-detail--reverse .service-detail__content {
    grid-column: 1;
    grid-row: 1;
}

.service-detail__image {
    min-height: 610px;

    overflow: hidden;

    background: var(--sage-light);
}

.service-detail__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.service-detail__content {
    position: relative;

    max-width: 560px;
}

.service-detail__number {
    position: absolute;
    top: -4px;
    right: 0;

    color: var(--stone-light);

    font-size: 13px;
    font-weight: 600;
}

.service-detail__content h2 {
    max-width: 520px;

    margin:
        0
        0
        22px;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.service-detail__lead {
    max-width: 510px;

    margin:
        0
        0
        17px;

    color: var(--green-dark);

    font-size: 17px;
    line-height: 1.55;
}

.service-detail__content > p:not(
    .service-detail__lead,
    .service-detail__joke
) {
    max-width: 520px;

    margin:
        0
        0
        30px;

    color: var(--text);

    font-size: 15px;
    line-height: 1.75;
}

.service-includes {
    margin-top: 34px;

    padding-top: 22px;

    border-top: 1px solid var(--border-strong);
}

.service-includes > span {
    display: block;

    margin-bottom: 17px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-includes ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:
        10px
        25px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-includes li {
    position: relative;

    padding-left: 17px;

    color: var(--text);

    font-size: 14px;
    line-height: 1.5;
}

.service-includes li::before {
    position: absolute;
    top: 0.7em;
    left: 0;

    width: 5px;
    height: 5px;

    content: "";

    border-radius: 50%;

    background: var(--ochre);

    transform: translateY(-50%);
}

.service-detail__joke {
    max-width: 500px;

    margin:
        30px
        0
        0;

    padding:
        17px
        0
        0;

    border-top: 1px solid var(--border);

    color: var(--ochre);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}


/* ==========================================================================
   4. PROFESSIONAL BOUNDARIES
   ========================================================================== */

.boundaries {
    padding:
        var(--section-space)
        0;

    color: var(--white);
    background: var(--green-dark);
}

.boundaries .section-kicker {
    color: rgba(255, 255, 255, 0.48);
}

.boundaries__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(70px, 10vw, 145px);
}

.boundaries__grid > div:first-child h2 {
    max-width: 440px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.boundaries__list {
    border-top: 1px solid var(--border-light);
}

.boundaries__list > div {
    display: grid;
    grid-template-columns: minmax(170px, 0.52fr) minmax(0, 1fr);
    gap: 30px;

    padding:
        25px
        0;

    border-bottom: 1px solid var(--border-light);
}

.boundaries__list strong {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.boundaries__list p {
    max-width: 500px;
    margin: 0;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   5. PROJECT FIT
   ========================================================================== */

.project-fit {
    padding:
        var(--section-space)
        0;

    background: var(--sage-light);

    border-bottom: 1px solid var(--border);
}

.project-fit__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border-strong);
}

.project-fit__grid article {
    min-height: 295px;

    padding:
        27px
        clamp(22px, 3vw, 38px)
        20px;

    border-right: 1px solid var(--border);
}

.project-fit__grid article:first-child {
    padding-left: 0;
}

.project-fit__grid article:last-child {
    padding-right: 0;

    border-right: 0;
}

.project-fit__level {
    display: block;

    margin-bottom: 68px;

    color: var(--ochre);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.project-fit__grid h3 {
    max-width: 320px;

    margin:
        0
        0
        14px;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.project-fit__grid p {
    max-width: 340px;
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   6. SERVICES CTA
   ========================================================================== */

.services-cta {
    padding:
        92px
        0;

    background: var(--white);
}

.services-cta__inner {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: clamp(60px, 9vw, 130px);
}

.services-cta__inner h2 {
    max-width: 620px;

    margin: 0;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.services-cta__inner > div:last-child {
    display: grid;
    gap: 24px;
}

.services-cta__inner p {
    max-width: 430px;
    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================================
   7. ANCHOR OFFSET
   ========================================================================== */

#landscape-design,
#planting,
#hardscaping,
#lawn-care,
#irrigation,
#seasonal-cleanup {
    scroll-margin-top: 30px;
}


/* ==========================================================================
   8. RESPONSIVE — 1100PX
   ========================================================================== */

@media (max-width: 1100px) {

    .services-page-hero__grid {
        grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
        gap: 55px;
    }

    .services-page-hero__copy h1 {
        font-size: 46px;
    }

    .service-detail__grid {
        gap: 60px;
    }

    .boundaries__grid {
        gap: 70px;
    }

}


/* ==========================================================================
   9. RESPONSIVE — 900PX
   ========================================================================== */

@media (max-width: 900px) {

    .services-page-hero__grid {
        grid-template-columns: 1fr;
    }

    .services-page-hero__copy {
        min-height: 0;

        padding:
            42px
            0
            10px;
    }

    .services-page-hero__copy h1 {
        max-width: 620px;

        font-size: 46px;
    }

    .services-page-hero__image {
        min-height: 560px;
    }


    .service-menu__header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-menu__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .service-detail__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-detail--reverse .service-detail__image,
    .service-detail--reverse .service-detail__content {
        grid-column: auto;
        grid-row: auto;
    }

    .service-detail__image {
        min-height: 560px;
    }

    .service-detail__content {
        max-width: 680px;
    }


    .boundaries__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .boundaries__grid > div:first-child h2 {
        max-width: 620px;
    }


    .project-fit__grid {
        grid-template-columns: 1fr;
    }

    .project-fit__grid article,
    .project-fit__grid article:first-child,
    .project-fit__grid article:last-child {
        display: grid;
        min-height: 0;
        grid-template-columns: 120px 250px minmax(0, 1fr);
        gap: 24px;

        padding:
            27px
            0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .project-fit__level,
    .project-fit__grid h3 {
        margin: 0;
    }


    .services-cta__inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


/* ==========================================================================
   10. RESPONSIVE — 680PX
   ========================================================================== */

@media (max-width: 680px) {

    .services-page-hero {
        padding:
            30px
            0
            68px;
    }

    .services-page-hero__copy h1 {
        font-size: 40px;
    }

    .services-page-hero__lead {
        font-size: 16px;
    }

    .services-page-hero__image {
        min-height: 430px;
    }


    .service-menu {
        padding:
            58px
            0;
    }

    .service-menu__links {
        grid-template-columns: 1fr;
    }

    .service-menu__links a {
        min-height: 68px;
    }


    .service-detail__image {
        min-height: 430px;
    }

    .service-detail__content h2,
    .boundaries__grid > div:first-child h2,
    .services-cta__inner h2 {
        font-size: 30px;
    }

    .service-detail__lead {
        font-size: 16px;
    }

    .service-includes ul {
        grid-template-columns: 1fr;
    }


    .boundaries__list > div {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .project-fit__grid article,
    .project-fit__grid article:first-child,
    .project-fit__grid article:last-child {
        grid-template-columns: 1fr;
        gap: 10px;

        padding:
            28px
            0;
    }

    .project-fit__level {
        margin-bottom: 23px;
    }


    .services-cta {
        padding:
            72px
            0;
    }

}


/* ==========================================================================
   11. RESPONSIVE — 420PX
   ========================================================================== */

@media (max-width: 420px) {

    .services-page-hero__copy h1 {
        font-size: 36px;
    }

    .services-page-hero__image,
    .service-detail__image {
        min-height: 370px;
    }

    .service-detail__content h2,
    .boundaries__grid > div:first-child h2,
    .services-cta__inner h2 {
        font-size: 28px;
    }

}