/* =========================================
   SERVICES PAGE - EM-ME CLEANS
   Shared by services.php and the town pages
   (e.g. cleaners-bedford.php)
========================================= */

.services-page {
    background: var(--white);
    color: var(--black);
    overflow: hidden;
}


/* =========================================
   HERO
========================================= */

.services-hero {
    position: relative;

    max-width: 1000px;
    margin: 0 auto;

    padding: 120px 24px 100px;

    text-align: center;
}

.services-hero::before {
    content: "";

    position: absolute;

    top: 65px;
    left: 50%;

    width: 1px;
    height: 35px;

    background: #c8c5be;
}

.services-eyebrow {
    margin: 0 0 18px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #77736c;
}

.services-hero h1 {
    margin: 0 0 25px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(54px, 8vw, 90px);
    font-weight: 600;

    line-height: .98;
    letter-spacing: -1.5px;
}

.services-hero p:last-child {
    max-width: 650px;

    margin: 0 auto;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;

    color: #65625d;
}


/* =========================================
   HOW PRICING WORKS
========================================= */

.services-pricing {
    padding: 105px 24px;

    background: #f4f2ee;
}

.services-pricing-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.services-pricing-heading {
    max-width: 650px;

    margin-bottom: 55px;
}

.services-pricing-heading h2 {
    margin: 0 0 20px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;

    line-height: 1.05;
}

.services-pricing-heading p:not(.services-eyebrow) {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;

    color: #65625d;
}


/* Pricing cards */

.pricing-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.pricing-card {
    padding: 35px;

    background: var(--white);

    border: 1px solid #dedbd5;
}

.pricing-card-label {
    display: block;

    margin-bottom: 18px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #88847d;
}

.pricing-card h3 {
    margin: 0 0 12px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
}

.pricing-card p {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;

    color: #65625d;
}

.pricing-rate {
    margin-top: 28px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
}

.pricing-rate span {
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;

    color: #77736c;
}


/* =========================================
   MAIN SERVICES
========================================= */

.services-list-section {
    max-width: 1200px;
    margin: 0 auto;

    padding: 120px 24px;
}

.services-section-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    margin-bottom: 45px;
    padding-bottom: 22px;

    border-bottom: 1px solid #d8d5cf;
}

.services-section-heading h2 {
    margin: 0;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 600;

    line-height: 1;
}

.services-section-intro {
    max-width: 600px;

    margin: 0 0 50px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;

    color: #65625d;
}


/* Service rows */

.service-list {
    border-top: 1px solid #d8d5cf;
}

.service-row {
    display: grid;

    grid-template-columns: 70px 1.1fr 1.4fr 150px;

    gap: 30px;

    align-items: center;

    padding: 35px 0;

    border-bottom: 1px solid #d8d5cf;
}

.service-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;

    color: #aaa69e;
}

.service-row h3 {
    margin: 0;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 27px;
    font-weight: 600;

    line-height: 1.15;
}

.service-row p {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;

    color: #65625d;
}

.service-price {
    text-align: right;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 25px;
    font-weight: 600;
}

.service-price span {
    display: block;

    margin-top: 3px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1.3px;
    text-transform: uppercase;

    color: #88847d;
}


/* What's included checklist under each service */

.service-includes {
    list-style: none;

    display: flex;
    flex-wrap: wrap;

    gap: 6px 18px;

    margin: 14px 0 0;
    padding: 0;
}

.service-includes li {
    position: relative;

    padding-left: 18px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.5;

    color: #4d4a45;
}

.service-includes li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #77736c;
}

.service-note {
    margin: 10px 0 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 12.5px;
    font-style: italic;

    color: #918d85;
}


/* =========================================
   HOW IT WORKS
========================================= */

.services-how {
    padding: 110px 24px;

    background: #f4f2ee;
}

.services-how-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.services-how-heading {
    max-width: 650px;

    margin-bottom: 55px;
}

.services-how-heading h2 {
    margin: 0 0 18px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;

    line-height: 1.05;
}

.services-how-heading p:not(.services-eyebrow) {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;

    color: #65625d;
}


/* Steps */

.steps-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.step {
    padding: 35px;

    background: var(--white);

    border: 1px solid #dedbd5;
}

.step-number {
    display: block;

    margin-bottom: 55px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;

    color: #aaa69e;
}

.step h3 {
    margin: 0 0 12px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 27px;
    font-weight: 600;
}

.step p {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;

    color: #65625d;
}


/* =========================================
   FIRST 20 MINUTES RULE
========================================= */

.services-rule {
    padding: 110px 24px;

    background: var(--black);

    color: var(--white);
}

.services-rule-inner {
    max-width: 950px;
    margin: 0 auto;
}

.services-rule-content {
    display: grid;

    grid-template-columns: .7fr 1.3fr;

    gap: 75px;

    align-items: center;
}

.services-rule-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(80px, 10vw, 130px);
    line-height: .8;

    color: #34332f;
}

.services-rule-copy .services-eyebrow {
    color: #aaa79e;
}

.services-rule-copy h2 {
    margin: 0 0 22px;

    color: var(--white);

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 600;

    line-height: 1.05;
}

.services-rule-copy p {
    margin: 0 0 18px;

    color: #c2bfb8;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.85;
}

.services-rule-note {
    margin-top: 30px !important;

    padding: 20px;

    border-left: 2px solid #77736c;

    color: var(--white) !important;
}


/* =========================================
   ADD-ONS
========================================= */

.services-addons {
    max-width: 1100px;
    margin: 0 auto;

    padding: 120px 24px;
}

.services-addons-heading {
    max-width: 650px;

    margin-bottom: 50px;
}

.services-addons-heading h2 {
    margin: 0 0 18px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;

    line-height: 1.05;
}

.services-addons-heading p:not(.services-eyebrow) {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;

    color: #65625d;
}


/* Add-on list */

.addon-list {
    border-top: 1px solid #d8d5cf;
}

.addon {
    display: grid;

    grid-template-columns: 1fr 1fr 130px;

    gap: 30px;

    align-items: center;

    padding: 27px 0;

    border-bottom: 1px solid #d8d5cf;
}

.addon h3 {
    margin: 0;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
    font-weight: 600;
}

.addon p {
    margin: 0;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;

    color: #65625d;
}

.addon-price {
    text-align: right;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
}


/* =========================================
   CTA
========================================= */

.services-cta {
    padding: 110px 24px;

    background: #f4f2ee;

    text-align: center;
}

.services-cta-inner {
    max-width: 650px;
    margin: 0 auto;
}

.services-cta h2 {
    margin: 0 0 20px;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;

    line-height: 1.05;
}

.services-cta p {
    max-width: 520px;

    margin: 0 auto 35px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;

    color: #65625d;
}

.services-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    min-width: 190px;

    padding: 15px 18px;

    background: var(--black);
    color: var(--white);

    border: 1px solid var(--black);

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.services-cta-button span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 900px) {

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .service-row {
        grid-template-columns: 55px 1fr 120px;
    }

    .service-row p {
        grid-column: 2;
    }

    .service-row .service-copy {
        grid-column: 2;
    }

    .service-price {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .services-rule-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .services-rule-number {
        font-size: 70px;
    }

}


@media (max-width: 600px) {

    .services-hero {
        padding: 85px 20px 70px;
    }

    .services-hero::before {
        top: 45px;
    }

    .services-hero h1 {
        font-size: 52px;
        letter-spacing: -1px;
    }

    .services-hero p:last-child {
        font-size: 14px;
    }


    .services-pricing {
        padding: 80px 20px;
    }

    .services-pricing-heading h2 {
        font-size: 40px;
    }

    .pricing-card {
        padding: 30px;
    }


    .services-list-section {
        padding: 80px 20px;
    }

    .services-section-heading {
        display: block;
    }

    .services-section-heading .services-eyebrow {
        margin-bottom: 12px;
    }

    .services-section-heading h2 {
        font-size: 40px;
    }

    .service-row {
        grid-template-columns: 40px 1fr;
        gap: 12px;

        padding: 25px 0;
    }

    .service-row h3 {
        font-size: 23px;
    }

    .service-row p {
        grid-column: 2;
        font-size: 13px;
    }

    .service-row .service-copy {
        grid-column: 2;
    }

    .service-price {
        grid-column: 2;
        grid-row: auto;

        margin-top: 5px;

        text-align: left;

        font-size: 22px;
    }


    .services-how {
        padding: 80px 20px;
    }

    .services-how-heading h2 {
        font-size: 40px;
    }

    .step {
        padding: 30px;
    }


    .services-rule {
        padding: 80px 20px;
    }

    .services-rule-copy h2 {
        font-size: 40px;
    }

    .services-rule-copy p {
        font-size: 14px;
    }


    .services-addons {
        padding: 80px 20px;
    }

    .services-addons-heading h2 {
        font-size: 40px;
    }

    .addon {
        grid-template-columns: 1fr 80px;

        gap: 15px;

        padding: 25px 0;
    }

    .addon p {
        grid-column: 1;
    }

    .addon-price {
        grid-column: 2;
        grid-row: 1;

        text-align: right;

        font-size: 20px;
    }


    .services-cta {
        padding: 80px 20px;
    }

    .services-cta h2 {
        font-size: 42px;
    }

}