﻿
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background-color: #F4F1DC;
    color: #2b2b2b;
    line-height: 1.65;
}

section, footer {
    scroll-margin-top: 72px;
}

/* ---------- Navigation ---------- */
#nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 14px 28px;
    background-color: #38441E;
    border-bottom: 1px solid #4C5B2E;
}

#nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

#nav .nav-brand img {
    height: 52px;
    width: auto;
    display: block;
}

#nav .nav-brand span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #F4F1DC;
}

#nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

#nav .nav-links a {
    color: #cfcbb3;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

#nav .nav-links a:hover {
    color: #F4F1DC;
}

/* Links that leave this page get an outlined pill, so they don't
   look like the in-page anchors sitting next to them. */
#nav .nav-links a.nav-alt {
    margin-left: 10px;
    padding: 5px 14px;
    border: 1px solid rgba(244, 241, 220, 0.45);
    border-radius: 999px;
    color: #F4F1DC;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#nav .nav-links a.nav-alt:hover {
    background-color: rgba(244, 241, 220, 0.14);
    border-color: rgba(244, 241, 220, 0.8);
}

/* ---------- Headings ---------- */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #5B6B32;
    line-height: 1.2;
}

h1 {
    font-size: 3.25rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.1rem;
}

p {
    font-size: 1.05rem;
}

/* Accent underline under each section heading */
section h2 {
    margin-bottom: 24px;
}

section h2::after {
    content: "";
    display: block;
    width: 62px;
    height: 4px;
    border-radius: 2px;
    background-color: #5B6B32;
    margin-top: 14px;
}

#services h2::after,
#faq h2::after {
    background-color: #9aab5f;
}

/* ---------- Section heading banners (badge plate) ---------- */
.section-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 15px;
    background-color: rgba(91, 107, 50, 0.05);
    border: 1px solid rgba(91, 107, 50, 0.3);
    border-radius: 10px;
    padding: 14px 22px;
    margin-bottom: 30px;
}

.section-head .head-star {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
    color: rgba(91, 107, 50, 0.75);
}

.section-head h2 {
    flex: 1 1 auto;
    margin: 0;
    font-size: 1.9rem;
}

.section-head h2::after {
    display: none;
}

.section-head .eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    white-space: nowrap;
    color: rgba(91, 107, 50, 0.72);
}

/* Same plate, lighter ink, on the dark green sections */
#services .section-head,
#faq .section-head {
    background-color: rgba(244, 241, 220, 0.055);
    border-color: rgba(188, 203, 144, 0.38);
}

#services .section-head .head-star,
#faq .section-head .head-star {
    color: rgba(244, 241, 220, 0.75);
}

#services .section-head .eyebrow,
#faq .section-head .eyebrow {
    color: rgba(244, 241, 220, 0.62);
}

/* ---------- Layout ---------- */
section {
    padding: 55px 20px;
}

section > * {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Hero ---------- */
header#top {
    text-align: center;
    padding: 80px 20px 75px;
    background-color: #38441E;
}

header#top .bubble {
    position: relative;
    display: inline-block;
    background-color: #F4F1DC;
    color: #38441E;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 18px;
    margin-bottom: 26px;
}

header#top .bubble::after {
    content: "";
    position: absolute;
    left: 26px;
    bottom: -9px;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #F4F1DC transparent transparent transparent;
}

header#top h1 {
    color: #F4F1DC;
    font-size: 3.9rem;
    margin: 0 0 12px;
}

header#top p {
    color: #cfcbb3;
    font-size: 1.2rem;
    margin-top: 0;
}

/* ---------- Yard Patrol band ---------- */
.patrol-band {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    background-color: #EDE9CF;
    padding: 26px 22px;
    border-bottom: 1px solid #ded9bd;
}

.patrol-badge {
    width: 94px;
    height: 94px;
    flex-shrink: 0;
}

.patrol-band p {
    margin: 0;
    max-width: 430px;
    font-size: 1.02rem;
    color: #4a4a42;
}

.patrol-band strong {
    font-family: 'Poppins', sans-serif;
    color: #5B6B32;
}

/* ---------- Button ---------- */
.btn {
    display: inline-block;
    background-color: #5B6B32;
    color: #F4F1DC;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 22px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #3f4a23;
    transform: translateY(-2px);
}

/* Cream button, for use on the dark green sections */
.btn.btn-cream {
    background-color: #F4F1DC;
    color: #38441E;
}

.btn.btn-cream:hover {
    background-color: #ffffff;
}

/* ---------- Dark sections ---------- */
#services, #faq {
    background-color: #38441E;
    color: #F4F1DC;
}

#services h2, #services h3, #faq h2, #faq h3 {
    color: #F4F1DC;
}

#services .lead {
    color: #cfcbb3;
    margin-bottom: 26px;
}

/* ---------- Services: what's included ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 16px;
}

.service-card {
    background-color: #44532A;
    border: 1px solid #5A6B38;
    border-radius: 12px;
    padding: 20px 22px;
}

.service-icon {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.service-card h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #cfcbb3;
}

/* ---------- Optional add-ons (in Pricing) ---------- */
.addon-title {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.45rem;
}

.addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.addon {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 22px 22px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.addon-icon {
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 10px;
}

.addon h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #5B6B32;
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0 0 8px;
}

.addon p {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: #55554c;
}

.addon-price {
    margin-top: auto;
    align-self: flex-start;
    background-color: #5B6B32;
    color: #F4F1DC;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
}

.addon-price.free {
    background-color: #C9A227;
    color: #2b2b2b;
}

/* ---------- Pricing table ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

th, td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid #e7e3cc;
    vertical-align: top;
}

table tr:first-child th {
    background-color: #5B6B32;
    color: #F4F1DC;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

table tr:last-child td {
    border-bottom: none;
}

td strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

td .desc {
    display: block;
    font-size: 0.9rem;
    color: #6b6b5f;
    margin-top: 3px;
}

td .price {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #5B6B32;
    white-space: nowrap;
}

/* ---------- FAQ cards ---------- */
.faq-item {
    background-color: #44532A;
    border: 1px solid #5A6B38;
    border-radius: 12px;
    padding: 4px 24px;
    margin-bottom: 14px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: #F4F1DC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #9aab5f;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    margin: 0;
    padding: 0 0 20px;
    color: #d8d4c4;
}

/* ---------- Nav phone + quote button ---------- */
#nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

#nav .nav-phone {
    color: #F4F1DC;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn.btn-sm {
    margin-top: 0;
    padding: 9px 18px;
    font-size: 0.9rem;
    box-shadow: none;
}

/* ---------- Hero trust badges ---------- */
header#top .trust {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
}

header#top .trust li {
    margin: 0;
    color: #cfcbb3;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}

header#top .trust li::before {
    content: "\2713\00a0\00a0";
    color: #9aab5f;
}

/* ---------- How It Works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 18px;
}

.steps .step {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.steps .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #5B6B32;
    color: #F4F1DC;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.steps .step h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.steps .step p {
    margin: 0;
    font-size: 0.98rem;
}

/* ---------- About: text + team photo ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: center;
}

.about-text p:first-child {
    margin-top: 0;
}

.about-photo {
    margin: 0;
}

.about-photo img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.about-photo figcaption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6b6b5f;
    text-align: center;
}

/* ---------- Pricing extras ---------- */
.pricing-lead {
    margin-bottom: 18px;
}

.offer {
    background-color: #5B6B32;
    color: #F4F1DC;
    border-radius: 10px;
    padding: 13px 18px;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

.table-wrap {
    overflow-x: auto;
}

table tr.featured td {
    background-color: #f6f4e2;
}

.tag {
    display: inline-block;
    background-color: #5B6B32;
    color: #F4F1DC;
    font-family: 'Poppins', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
}

td .permo {
    display: block;
    font-size: 0.8rem;
    color: #6b6b5f;
    margin-top: 2px;
    white-space: nowrap;
}

.pricing-note {
    font-size: 0.88rem;
    color: #6b6b5f;
    margin-top: 14px;
}

/* ---------- Testimonials ---------- */
#reviews {
    background-color: #EDE9CF;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.review {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.review .stars {
    color: #C9A227;
    letter-spacing: 2px;
}

.review blockquote {
    margin: 10px 0 14px;
    font-size: 1rem;
}

.review cite {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.9rem;
    color: #5B6B32;
}

.review .place {
    display: block;
    font-size: 0.82rem;
    color: #6b6b5f;
    margin-top: 2px;
}

.placeholder-note {
    background-color: #fff4d6;
    border: 1px dashed #c9a227;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: #6b5a1f;
}

/* ---------- Social links ---------- */
footer .socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #44532A;
    border: 1px solid #5A6B38;
    transition: background-color 0.2s ease;
}

footer .socials a:hover {
    background-color: #5B6B32;
}

footer .socials svg {
    width: 20px;
    height: 20px;
    fill: #F4F1DC;
}

footer .social-handle {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #b7b2a0;
}

footer .badge-line {
    margin-top: 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8f9a72;
}

/* ---------- Quote request form ---------- */
#quote {
    background-color: #5B6B32;
}

#quote > * {
    max-width: 940px;
}

.quote-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 34px 40px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 36px 38px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.quote-pitch h2 {
    margin-top: 0;
}

.quote-pitch > p {
    margin-top: 0;
}

.quote-points {
    list-style: none;
    padding-left: 0;
    margin: 18px 0 0;
}

.quote-points li {
    margin-bottom: 9px;
    font-size: 0.97rem;
}

.quote-points li::before {
    content: "\2713\00a0\00a0";
    color: #5B6B32;
    font-weight: 700;
}

.quote-call {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #6b6b5f;
}

.quote-call a {
    display: inline-block;
    margin-top: 2px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #5B6B32;
    text-decoration: none;
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 16px;
    align-content: start;
}

.quote-form .field-wide {
    grid-column: 1 / -1;
}

.quote-form label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a4a42;
    margin-bottom: 5px;
}

.quote-form .optional {
    font-weight: 400;
    color: #8a887c;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #2b2b2b;
    background-color: #ffffff;
    border: 1px solid #d8d3b8;
    border-radius: 8px;
    padding: 11px 13px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #5B6B32;
    box-shadow: 0 0 0 3px rgba(91, 107, 50, 0.18);
}

.quote-form textarea {
    resize: vertical;
}

.quote-form button.btn {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.form-note {
    font-size: 0.85rem;
    color: #6b6b5f;
    margin: 12px 0 0;
}

/* ---------- Service area line ---------- */
footer .service-area {
    max-width: 640px;
    margin: 0 auto 26px;
    color: #b7b2a0;
    font-size: 0.95rem;
}

/* ---------- Footer ---------- */
footer {
    background-color: #38441E;
    color: #F4F1DC;
    text-align: center;
    padding: 46px 20px;
}

footer .footer-title {
    color: #F4F1DC;
    margin: 0 0 22px;
}

footer .footer-cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px 50px;
}

footer .footer-cols .label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #8f8a76;
    margin-bottom: 4px;
}

footer .footer-cols a {
    color: #F4F1DC;
    text-decoration: none;
}


/* ================= COMMERCIAL PAGE ================= */

.page-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    background-color: #EDE9CF;
    border-bottom: 1px solid #ded9bd;
    padding: 16px 22px;
    font-size: 0.98rem;
    color: #4a4a42;
}

.page-switch strong {
    font-family: 'Poppins', sans-serif;
    color: #5B6B32;
}

.page-switch a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #5B6B32;
}

.comm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.comm-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.comm-icon {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 10px;
}

.comm-card h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0 0 8px;
}

.comm-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #55554c;
}

.comm-clients {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.comm-clients li {
    margin: 0;
    background-color: #ffffff;
    border: 1px solid #ded9bd;
    border-radius: 999px;
    padding: 7px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    color: #55554c;
}

#comm-pricing {
    background-color: #EDE9CF;
}

.price-factors {
    list-style: none;
    padding-left: 0;
    margin: 0 0 24px;
}

.price-factors li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.price-factors li::before {
    content: "\2713\00a0\00a0";
    color: #5B6B32;
    font-weight: 700;
}

.range-box {
    background-color: #ffffff;
    border-left: 6px solid #5B6B32;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.range-box .range-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #5B6B32;
    margin-bottom: 4px;
}

.range-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #55554c;
}

/* ================= MOBILE LAYOUT =================
   Everything in here applies ONLY on narrow screens.
   The desktop rules above are left completely alone. */

@media (max-width: 760px) {

    /* ---------- Navigation ----------
       The bar was 273px tall on a 812px phone screen - a third of the
       display, and sticky, so it never gave the space back.
       We hide the in-page anchor links, because on a phone people
       scroll rather than jump. The Commercial pill stays, because
       scrolling cannot reach a different page. */
    #nav {
        gap: 8px 12px;
        padding: 10px 16px;
    }

    #nav .nav-links a:not(.nav-alt) {
        display: none;
    }

    #nav .nav-links a.nav-alt {
        margin-left: 0;
        padding: 5px 12px;
        font-size: 0.85rem;
    }

    #nav .nav-brand img {
        height: 40px;
    }

    #nav .nav-brand span {
        font-size: 1rem;
    }

    #nav .nav-actions {
        gap: 10px;
    }

    #nav .nav-phone {
        font-size: 0.85rem;
    }

    .btn.btn-sm {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* the sticky bar is shorter now, so anchor jumps need less offset */
    section, footer {
        scroll-margin-top: 105px;
    }

    /* ---------- Overall spacing ---------- */
    section {
        padding: 38px 16px;
    }

    header#top {
        padding: 46px 18px 40px;
    }

    .btn {
        padding: 13px 26px;
    }

    /* ---------- Type sizes ---------- */
    header#top h1 {
        font-size: 2.4rem;
    }

    header#top p {
        font-size: 1.05rem;
    }

    header#top .bubble {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1rem;
    }

    .section-head {
        padding: 12px 16px;
        gap: 4px 10px;
        margin-bottom: 22px;
    }

    .section-head h2 {
        font-size: 1.45rem;
    }

    .section-head .eyebrow {
        font-size: 0.62rem;
    }

    .section-head .head-star {
        font-size: 1rem;
    }

    /* ---------- Hero trust badges ---------- */
    header#top .trust {
        gap: 8px 12px;
        margin-top: 22px;
    }

    header#top .trust li {
        font-size: 0.78rem;
    }

    /* ---------- Yard Patrol band ---------- */
    .patrol-band {
        gap: 14px;
        padding: 22px 18px;
        text-align: center;
    }

    .patrol-badge {
        width: 74px;
        height: 74px;
    }

    .patrol-band p {
        font-size: 0.95rem;
    }

    /* ---------- Pricing table ----------
       The table was 478px wide inside a 335px screen, so the
       "3+ dogs" column fell off the right edge entirely.
       Tighter padding and smaller type bring it back on screen. */
    th, td {
        padding: 10px 8px;
    }

    table tr:first-child th {
        font-size: 0.62rem;
        letter-spacing: 0.04em;
    }

    td strong {
        font-size: 0.86rem;
    }

    td .desc {
        font-size: 0.76rem;
    }

    td .price {
        font-size: 1rem;
    }

    td .permo {
        font-size: 0.68rem;
        white-space: normal;
    }

    .offer {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .pricing-note,
    .comm-note {
        font-size: 0.85rem;
    }

    .addon-title {
        font-size: 1.25rem;
        margin-top: 30px;
    }

    /* ---------- Cards ---------- */
    .steps .step,
    .service-card,
    .comm-card,
    .addon,
    .review,
    .comm-clients li {
        padding-left: 18px;
        padding-right: 18px;
    }

    .faq-item {
        padding-left: 18px;
        padding-right: 18px;
    }

    .faq-item summary {
        font-size: 1.05rem;
        padding: 15px 0;
    }

    .steps .step h3,
    .service-card h3,
    .comm-card h3,
    .addon h4 {
        font-size: 1.12rem;
    }

    /* ---------- Quote form ---------- */
    .quote-card {
        padding: 24px 20px;
        gap: 26px;
    }

    .quote-form {
        grid-template-columns: 1fr;
    }

    .quote-call a {
        font-size: 1.15rem;
    }

    /* ---------- Residential / commercial switch band ---------- */
    .page-switch {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 16px 18px;
        font-size: 0.92rem;
    }

    /* ---------- Commercial pricing range box ---------- */
    .range-box {
        padding: 16px 18px;
    }

    .range-box .range-num {
        font-size: 1.2rem;
    }

    /* ---------- Footer ---------- */
    footer {
        padding: 36px 18px;
    }

    footer .footer-cols {
        gap: 20px 30px;
    }

    footer .service-area {
        font-size: 0.9rem;
    }

    footer .footer-title {
        font-size: 1.6rem;
    }
}

/* ---------- Very small phones ---------- */
@media (max-width: 420px) {

    /* the logo on its own still reads as the brand, and dropping the
       wordmark buys back a whole row in the nav bar */
    #nav .nav-brand span {
        display: none;
    }

    header#top h1 {
        font-size: 2.05rem;
    }

    .section-head h2 {
        font-size: 1.3rem;
    }

    th, td {
        padding: 9px 6px;
    }
}

/* ---------- Mobile: touch targets and legibility ----------
   Anything you tap with a finger needs roughly 44px of height.
   Extra padding grows the tappable area without changing how
   the text looks. Small text is bumped to stay readable. */

@media (max-width: 760px) {

    /* phone number in the nav - the single most important tap on a phone */
    #nav .nav-phone {
        display: inline-block;
        padding: 11px 2px;
        font-size: 0.9rem;
    }

    #nav .nav-links a.nav-alt {
        padding: 9px 14px;
    }

    .btn.btn-sm {
        padding: 11px 16px;
    }

    /* footer contact links */
    footer .footer-cols a {
        display: inline-block;
        padding: 9px 4px;
    }

    /* the residential / commercial switch link */
    .page-switch a {
        display: inline-block;
        padding: 9px 4px;
    }

    /* ---------- Legibility ---------- */
    .section-head .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .tag {
        font-size: 0.68rem;
    }

    td .permo {
        font-size: 0.72rem;
    }

    footer .badge-line {
        font-size: 0.7rem;
    }
}

@media (max-width: 760px) {
    /* the phone number inside the quote card */
    .quote-call a {
        padding: 8px 2px;
    }

    /* "Most popular" badge - still a touch under the readable floor */
    .tag {
        font-size: 0.72rem;
    }
}

@media (max-width: 760px) {
    /* "See residential plans" link in the commercial footer */
    footer .service-area a {
        display: inline-block;
        padding: 9px 2px;
    }
}

/* ---------- Booking panel (replaces the old quote form) ---------- */
.book-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.book-panel h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.book-panel > p {
    margin: 0 0 4px;
    color: #55554c;
}

.book-panel .btn {
    margin-top: 18px;
}

.book-panel .form-note {
    margin-top: 14px;
}

.book-panel .form-note a {
    color: #5B6B32;
    font-weight: 600;
}

/* ---------- Google rating: hero badge ---------- */
.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 8px 16px;
    border: 1px solid rgba(244, 241, 220, 0.3);
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.hero-rating:hover {
    background-color: rgba(244, 241, 220, 0.1);
}

.hero-rating-score {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #F4F1DC;
}

.hero-rating-stars {
    color: #E3B341;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.hero-rating-count {
    font-size: 0.85rem;
    color: #cfcbb3;
}

/* ---------- Google rating: reviews section ---------- */
.rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
}

.rating-score {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #5B6B32;
    line-height: 1;
}

.rating-stars {
    color: #C9A227;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.rating-line a {
    font-size: 0.92rem;
    color: #6b6b5f;
}

.review .place {
    color: #8a8a7a;
}

@media (max-width: 760px) {
    .hero-rating {
        margin-top: 18px;
        padding: 7px 13px;
        gap: 7px;
    }
    .hero-rating-count { font-size: 0.78rem; }
    .rating-score { font-size: 1.3rem; }
}

/* ---------- On the Job photo grid ---------- */
#gallery {
    background-color: #EDE9CF;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 16px;
}

.photo {
    margin: 0;
}

.photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.13);
}

.photo figcaption {
    margin-top: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #6b6b5f;
    text-align: center;
}

@media (max-width: 760px) {
    .photo figcaption { font-size: 0.78rem; }
}

/* ================= GRID COLUMN COUNTS =================
   The grids above use "fit as many as you can", which happily
   lands on a count that leaves one item alone on its own row.
   These rules pin each grid to counts that divide evenly, so a
   row is always full - three across or stacked, never 2 + 1. */

/* Three-item groups: 3 across, then straight to stacked. */
.addons,
.reviews-grid,
.steps,
.comm-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 700px) {
    .addons,
    .reviews-grid,
    .steps,
    .comm-grid {
        grid-template-columns: 1fr;
    }
}

/* Four-item group: always a tidy 2 x 2. */
.service-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 520px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Six photos: 3 x 2, then 2 x 3, then stacked - all divide evenly. */
.photo-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 700px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}
