/* ============================================================
   HOME SERVICES
============================================================ */

.home-services {
    position: relative;
    padding: 75px 0 85px;
    background: #ffffff;
    overflow: hidden;
}


/* ============================================================
   SECTION HEADING
============================================================ */

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;

    margin-bottom: 42px;
}

.section-heading-content {
    max-width: 780px;
}


/* Small heading above main heading */

.section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--rosewood-green);

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* Main heading */

.section-heading-row h2 {
    margin: 0 0 16px;

    color: var(--rosewood-navy);

    font-size: clamp(34px, 3.3vw, 50px);
    font-weight: 700;
    line-height: 1.08;

    letter-spacing: -1px;
}


/* Description */

.section-heading-row .section-intro {
    max-width: 720px;

    margin: 0;

    color: #5f6875;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}


/* ============================================================
   VIEW ALL BUTTON
============================================================ */

.outline-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    min-height: 48px;

    padding: 10px 22px;

    border: 1.5px solid var(--rosewood-green);
    border-radius: 100px;

    color: var(--rosewood-dark-green);
    background: transparent;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.outline-button span {
    font-size: 20px;

    transition: transform .25s ease;
}

.outline-button:hover {
    color: #ffffff;
    background: var(--rosewood-green);

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 128, 94, .15);
}

.outline-button:hover span {
    transform: translateX(4px);
}


/* ============================================================
   SERVICES GRID
============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}


/* ============================================================
   SERVICE CARD
============================================================ */

.service-card {
    position: relative;

    min-height: 190px;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 28px 55px 28px 24px;

    border: 1px solid rgba(0, 0, 0, .025);
    border-radius: 18px;

    color: var(--rosewood-navy);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* subtle decoration */

.service-card::before {
    content: "";

    position: absolute;
    top: -45px;
    right: -45px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .35);

    transition: transform .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(0, 0, 0, .04);

    box-shadow:
        0 18px 35px rgba(18, 46, 41, .09);
}

.service-card:hover::before {
    transform: scale(1.2);
}


/* ============================================================
   CARD BACKGROUNDS
============================================================ */

.service-green {
    background:
        linear-gradient(
            135deg,
            #edf9f1 0%,
            #e4f5ea 100%
        );
}

.service-blue {
    background:
        linear-gradient(
            135deg,
            #eef8ff 0%,
            #e4f3fb 100%
        );
}

.service-pink {
    background:
        linear-gradient(
            135deg,
            #fff2f5 0%,
            #fce8ed 100%
        );
}

.service-orange {
    background:
        linear-gradient(
            135deg,
            #fff8eb 0%,
            #fff0d5 100%
        );
}

.service-purple {
    background:
        linear-gradient(
            135deg,
            #f5f2ff 0%,
            #ebe7fb 100%
        );
}


/* ============================================================
   SERVICE ICON
============================================================ */

.service-icon {
    flex: 0 0 auto;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .75);

    color: var(--rosewood-green);

    font-size: 34px;
    font-weight: 400;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .04);

    transition:
        transform .25s ease,
        background-color .25s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.07);
    background: #ffffff;
}


/* Different icon colours */

.service-blue .service-icon {
    color: #3686aa;
}

.service-pink .service-icon {
    color: #c96d81;
}

.service-orange .service-icon {
    color: #d58a32;
}

.service-purple .service-icon {
    color: #7566b1;
}


/* ============================================================
   SERVICE CONTENT
============================================================ */

.service-content {
    position: relative;
    z-index: 2;
}

.service-content h3 {
    margin: 0 0 9px;

    color: var(--rosewood-navy);

    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.service-content p {
    max-width: 230px;

    margin: 0;

    color: #64706f;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}


/* ============================================================
   CARD ARROW
============================================================ */

.card-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--rosewood-dark-green);
    background: rgba(255, 255, 255, .85);

    font-size: 18px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .04);

    transition:
        transform .25s ease,
        background-color .25s ease,
        color .25s ease;
}

.service-card:hover .card-arrow {
    color: #ffffff;
    background: var(--rosewood-green);

    transform: translateX(3px);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 992px) {

    .home-services {
        padding: 60px 0;
    }

    .section-heading-row {
        align-items: flex-start;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .home-services {
        padding: 45px 0 55px;
    }

    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;

        margin-bottom: 30px;
    }

    .section-heading-row h2 {
        margin-bottom: 12px;

        font-size: 34px;
        line-height: 1.1;
    }

    .section-heading-row .section-intro {
        font-size: 15px;
        line-height: 1.65;
    }

    .outline-button {
        min-height: 44px;

        padding: 9px 19px;

        font-size: 13px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        min-height: 145px;

        gap: 17px;

        padding: 22px 52px 22px 18px;

        border-radius: 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;

        font-size: 29px;
    }

    .service-content h3 {
        font-size: 18px;
    }

    .service-content p {
        font-size: 13px;
    }

    .card-arrow {
        right: 14px;
        bottom: 14px;

        width: 30px;
        height: 30px;

        font-size: 16px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 420px) {

    .section-heading-row h2 {
        font-size: 30px;
    }

    .service-card {
        min-height: 135px;
    }

    .service-icon {
        width: 54px;
        height: 54px;

        font-size: 26px;
    }

    .service-content h3 {
        font-size: 17px;
    }

}

/* ============================================================
   SERVICES PAGE
============================================================ */


/* ============================================================
   SERVICES PAGE HERO
============================================================ */

.services-page-hero {
    position: relative;

    padding: 85px 0 90px;

    background:
        linear-gradient(
            135deg,
            #f0faf5 0%,
            #ffffff 55%,
            #fff8ee 100%
        );

    overflow: hidden;
}

.services-page-hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -240px;
    right: -150px;

    border-radius: 50%;

    background: rgba(0, 128, 94, .05);
}

.services-page-hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    bottom: -170px;
    right: 20%;

    border-radius: 50%;

    background: rgba(213, 138, 50, .05);
}

.services-page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 800px;
}

.services-page-hero h1 {
    margin: 0 0 22px;

    color: var(--rosewood-navy);

    font-size: clamp(48px, 5vw, 72px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -2.5px;
}

.services-page-hero h1 span {
    display: block;

    color: var(--rosewood-dark-orrange);
}

.services-page-hero p {
    max-width: 700px;

    margin: 0 0 30px;

    color: #5f6875;

    font-size: 18px;
    line-height: 1.75;
}


/* ============================================================
   SERVICES PAGE PRIMARY BUTTON
============================================================ */

.services-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 52px;

    padding: 10px 23px;

    border-radius: 100px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #00805e,
            #00674f
        );

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 7px 18px rgba(0, 96, 72, .18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.services-primary-button span {
    font-size: 20px;

    transition: transform .25s ease;
}

.services-primary-button:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 96, 72, .25);
}

.services-primary-button:hover span {
    transform: translateX(4px);
}


/* ============================================================
   SERVICES INTRO
============================================================ */

.services-intro {
    padding: 80px 0 65px;

    background: #ffffff;
}

.services-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1fr);

    gap: 80px;

    align-items: start;
}

.services-intro h2 {
    max-width: 600px;

    margin: 0;

    color: var(--rosewood-navy);

    font-size: clamp(34px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.1;

    letter-spacing: -1px;
}

.services-intro h2 span {
    color: var(--rosewood-dark-orrange);
}

.services-intro-copy {
    padding-top: 20px;
}

.services-intro-copy p {
    margin: 0 0 17px;

    color: #5f6875;

    font-size: 16px;
    line-height: 1.75;
}

.services-intro-copy p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   SERVICE DETAILS SECTION
============================================================ */

.services-detail-section {
    padding: 20px 0 90px;

    background: #ffffff;
}

.services-detail-list {
    display: flex;
    flex-direction: column;

    gap: 25px;
}


/* ============================================================
   INDIVIDUAL SERVICE ROW
============================================================ */

.service-detail-row {
    display: grid;

    grid-template-columns:
        minmax(300px, .72fr)
        minmax(0, 1fr);

    min-height: 390px;

    overflow: hidden;

    border: 1px solid #e5ece9;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(18, 46, 41, .055);
}


/* Alternating layout */

.service-detail-reverse {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .72fr);
}

.service-detail-reverse .service-detail-visual {
    order: 2;
}

.service-detail-reverse .service-detail-content {
    order: 1;
}


/* ============================================================
   SERVICE VISUAL SIDE
============================================================ */

.service-detail-visual {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 100%;

    padding: 40px;

    overflow: hidden;
}

.service-detail-visual::before {
    content: "";

    position: absolute;

    top: -100px;
    right: -100px;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .35);
}

.service-detail-visual::after {
    content: "";

    position: absolute;

    bottom: -80px;
    left: -80px;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .28);
}


/* ============================================================
   SERVICE VISUAL BACKGROUNDS
============================================================ */

.service-visual-green {
    background:
        linear-gradient(
            145deg,
            #edf9f1,
            #dcefe3
        );
}

.service-visual-blue {
    background:
        linear-gradient(
            145deg,
            #eef8ff,
            #dceff9
        );
}

.service-visual-pink {
    background:
        linear-gradient(
            145deg,
            #fff2f5,
            #f8e3e9
        );
}

.service-visual-orange {
    background:
        linear-gradient(
            145deg,
            #fff8eb,
            #fae8cc
        );
}

.service-visual-purple {
    background:
        linear-gradient(
            145deg,
            #f5f2ff,
            #e8e2fa
        );
}


/* ============================================================
   SERVICE NUMBER
============================================================ */

.service-number {
    position: absolute;

    top: 22px;
    left: 25px;

    color: rgba(8, 46, 64, .12);

    font-size: 55px;
    font-weight: 800;
    line-height: 1;
}


/* ============================================================
   LARGE SERVICE ICON
============================================================ */

.service-large-icon {
    position: relative;
    z-index: 2;

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 50%;

    color: var(--rosewood-green);
    background: rgba(255, 255, 255, .82);

    font-size: 48px;

    box-shadow:
        0 8px 22px rgba(18, 46, 41, .07);
}

.service-visual-blue .service-large-icon {
    color: #3686aa;
}

.service-visual-pink .service-large-icon {
    color: #c96d81;
}

.service-visual-orange .service-large-icon {
    color: #d58a32;
}

.service-visual-purple .service-large-icon {
    color: #7566b1;
}


/* ============================================================
   VISUAL LABEL
============================================================ */

.service-visual-label {
    position: relative;
    z-index: 2;

    color: var(--rosewood-navy);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.3px;
    text-transform: uppercase;
}


/* ============================================================
   SERVICE CONTENT
============================================================ */

.service-detail-content {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 45px 50px;
}

.service-detail-label {
    display: block;

    margin-bottom: 8px;

    color: var(--rosewood-green);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.service-detail-content h2 {
    margin: 0 0 15px;

    color: var(--rosewood-navy);

    font-size: clamp(29px, 3vw, 39px);
    font-weight: 700;
    line-height: 1.15;
}

.service-detail-content > p {
    max-width: 650px;

    margin: 0 0 23px;

    color: #5f6875;

    font-size: 15px;
    line-height: 1.7;
}


/* ============================================================
   SERVICE FEATURES
============================================================ */

.service-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px 20px;

    margin-bottom: 26px;
}

.service-feature {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    color: #4e5c59;

    font-size: 13px;
    line-height: 1.45;
}

.service-feature > span {
    flex: 0 0 auto;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    color: #ffffff;
    background: var(--rosewood-green);

    font-size: 9px;
    font-weight: 700;
}


/* ============================================================
   SERVICE DETAIL LINK
============================================================ */

.service-detail-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--rosewood-dark-green);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.service-detail-link span {
    font-size: 19px;

    transition: transform .2s ease;
}

.service-detail-link:hover {
    color: var(--rosewood-green);
}

.service-detail-link:hover span {
    transform: translateX(4px);
}


/* ============================================================
   ADDITIONAL SERVICES
============================================================ */

.additional-services {
    padding: 80px 0;

    background: #f6faf8;
}

.additional-services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.additional-service-card {
    display: flex;
    align-items: flex-start;

    gap: 17px;

    min-height: 155px;

    padding: 25px;

    border: 1px solid #e2ece8;
    border-radius: 17px;

    background: #ffffff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.additional-service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(18, 46, 41, .07);
}

.additional-service-icon {
    flex: 0 0 auto;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--rosewood-green);
    background: #eaf7f0;

    font-size: 23px;
}

.additional-service-card h3 {
    margin: 3px 0 7px;

    color: var(--rosewood-navy);

    font-size: 17px;
    line-height: 1.3;
}

.additional-service-card p {
    margin: 0;

    color: #64706f;

    font-size: 13px;
    line-height: 1.55;
}


/* ============================================================
   SERVICES CTA
============================================================ */

.services-cta {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #007b5b,
            #005e48
        );
}

.services-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.services-cta-inner > div:first-child {
    max-width: 680px;
}

.services-cta-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #c7eadc;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.services-cta h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(32px, 3.5vw, 46px);
    line-height: 1.1;
}

.services-cta p {
    margin: 0;

    color: rgba(255, 255, 255, .82);

    font-size: 16px;
    line-height: 1.6;
}


/* ============================================================
   CTA BUTTONS
============================================================ */

.services-cta-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.services-cta-primary,
.services-cta-secondary {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 10px 20px;

    border-radius: 100px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background-color .2s ease,
        color .2s ease;
}

.services-cta-primary {
    color: var(--rosewood-dark-green);

    background: #ffffff;
}

.services-cta-secondary {
    border: 1px solid rgba(255, 255, 255, .7);

    color: #ffffff;
    background: transparent;
}

.services-cta-primary:hover {
    color: var(--rosewood-dark-green);

    transform: translateY(-2px);
}

.services-cta-secondary:hover {
    color: var(--rosewood-dark-green);

    background: #ffffff;

    transform: translateY(-2px);
}


/* ============================================================
   SERVICES PAGE TABLET
============================================================ */

@media (max-width: 992px) {

    .services-page-hero {
        padding: 70px 0;
    }

    .services-intro-grid {
        gap: 45px;
    }

    .service-detail-content {
        padding: 38px;
    }

    .additional-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .services-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

}


/* ============================================================
   SERVICES PAGE MOBILE
============================================================ */

@media (max-width: 767px) {

    /* HERO */

    .services-page-hero {
        padding: 55px 0 60px;
    }

    .services-page-hero h1 {
        font-size: 44px;

        letter-spacing: -1.5px;
    }

    .services-page-hero p {
        font-size: 16px;
    }


    /* INTRO */

    .services-intro {
        padding: 55px 0;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .services-intro-copy {
        padding-top: 0;
    }


    /* SERVICE ROW */

    .services-detail-section {
        padding: 5px 0 60px;
    }

    .services-detail-list {
        gap: 18px;
    }

    .service-detail-row,
    .service-detail-reverse {
        grid-template-columns: 1fr;

        min-height: 0;

        border-radius: 18px;
    }

    .service-detail-reverse .service-detail-visual,
    .service-detail-reverse .service-detail-content {
        order: initial;
    }


    /* VISUAL */

    .service-detail-visual {
        min-height: 225px;

        padding: 35px;
    }

    .service-number {
        top: 18px;
        left: 20px;

        font-size: 45px;
    }

    .service-large-icon {
        width: 85px;
        height: 85px;

        margin-bottom: 15px;

        font-size: 39px;
    }


    /* CONTENT */

    .service-detail-content {
        padding: 30px 24px;
    }

    .service-detail-content h2 {
        font-size: 29px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }


    /* ADDITIONAL SERVICES */

    .additional-services {
        padding: 55px 0;
    }

    .additional-services-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .services-cta {
        padding: 55px 0;
    }

    .services-cta-actions {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }

    .services-cta-primary,
    .services-cta-secondary {
        width: 100%;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 420px) {

    .services-page-hero h1 {
        font-size: 39px;
    }

    .services-intro h2 {
        font-size: 32px;
    }

    .service-detail-content h2 {
        font-size: 27px;
    }

    .service-detail-content {
        padding: 27px 20px;
    }

}