/* Safe visual polish layer. Layout mechanics remain in styles.css. */
:root {
    --orange: #72d33a;
    --orange2: #398b18;
    --green: #0b3c25;
    --green2: #145434;
    --cream: #f6f5ef;
    --pale: #edf4eb;
    --line: #dbe5dc;
    --shadow: 0 14px 40px rgba(9, 55, 33, .09)
}

body {
    color: #18231c;
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3 {
    letter-spacing: -.025em
}

.container {
    width: min(var(--max), calc(100% - 48px))
}

.section {
    padding: 86px 0
}

.btn {
    min-height: 50px;
    border-radius: 9px;
    background: var(--green);
    border-color: var(--green);
    color: #fff
}

.btn:hover {
    background: var(--green2);
    border-color: var(--green2);
    color: #fff
}

.btn-header,
.mobile-quote {
    background: var(--orange);
    border-color: var(--orange);
    color: #092f1c
}

.btn-header:hover {
    background: #5ebf2c;
    border-color: #5ebf2c;
    color: #092f1c
}

.btn-white {
    background: #fff;
    border-color: #fff;
    color: var(--green)
}

.topbar {
    background: #062c1a
}

.topbar .container {
    min-height: 38px
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 5px 18px rgba(8, 49, 29, .04)
}

.header-inner {
    height: 82px
}

.brand-slot,
.brand-slot img {
    width: 220px;
    height: 54px
}

.brand-slot img {
    object-fit: contain;
    object-position: left center
}

.nav a {
    border: 0;
    position: relative
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
    transition: right .2s
}

.nav a:hover:after,
.nav a.active:after {
    right: 0
}

.home-hero {
    background: linear-gradient(135deg, #f7f6f0, #edf5e9)
}

.hero-photo>img,
.photo-stack img {
    border-radius: 17px
}

.review-badge,
.quote-finder {
    border: 1px solid var(--line);
    border-radius: 12px
}

.service-cards>a,
.work-grid a,
.category-service-grid>a,
.service-list article {
    border-radius: 14px
}

.service-cards>a:hover,
.work-grid a:hover,
.category-service-grid>a:hover {
    border-color: #a8c0ad;
    box-shadow: var(--shadow)
}

.service-cards .icon,
.category-icon {
    border-radius: 10px
}

.cta {
    background: var(--orange)
}

.page-banner {
    border-bottom: 0;
    background: var(--green)
}

.page-banner .narrow {
    padding-left: 0;
    border-left: 0
}

.page-banner h1 {
    color: #fff
}

.page-banner .kicker {
    color: #aee68f
}

.contact-hero {
    background: var(--green)
}

.contact-hero h1 {
    color: #fff
}

.contact-hero p {
    color: #d5e3da
}

.quote-promises {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px
}

.quote-promises span {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800
}

.modern-services-page .service-route,
.modern-services-page .waste-type-card,
.modern-services-page .secondary-service-grid a {
    border-radius: 14px
}

.service-detail-hero {
    background: var(--green)
}

.service-summary {
    border-radius: 14px
}

.service-note {
    border-radius: 11px
}

/* Portfolio card comparison: preserve interactive range control. */
.card-comparison {
    --position: 50%;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #dfe5df;
    user-select: none
}

.card-comparison img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.card-comparison-before {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--position)) 0 0)
}

.card-comparison-after {
    z-index: 1
}

.card-comparison .comparison-label {
    z-index: 4
}

.card-comparison .comparison-line {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none
}

.card-comparison .comparison-line span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--orange);
    color: var(--green);
    font-weight: 900;
    transform: translate(-50%, -50%)
}

.card-comparison input {
    position: absolute;
    z-index: 5;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize
}

.project-card {
    border-radius: 14px
}

.comparison {
    border-radius: 14px
}

.comparison-line span {
    background: var(--orange)
}

.quote-form {
    border-radius: 15px
}

.quote-form input:not([type=checkbox]),
.quote-form select,
.quote-form textarea {
    border-radius: 8px
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline-color: rgba(77, 166, 34, .18);
    border-color: #4b9827
}

.upload-box {
    border-radius: 11px
}

.quote-submit {
    min-height: 56px;
    font-size: 16px
}

.submit-note {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin: 9px 0 0
}

.quote-sidebar>div {
    border-radius: 13px
}

.quote-sidebar .quote-guide {
    background: var(--green)
}

.quote-guide ol {
    counter-reset: quote-step
}

.quote-guide li {
    display: grid;
    grid-template-columns: 31px 1fr;
    column-gap: 11px;
    align-items: start
}

.quote-guide li:before {
    counter-increment: quote-step;
    content: counter(quote-step);
    grid-row: 1/3;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--green);
    font-size: 12px;
    font-weight: 900
}

.quote-guide li>b {
    color: #fff
}

.quote-guide li>span {
    color: #cbdcd1;
    font-size: 12px
}

.estimate-note {
    background: #e6f2e0 !important;
    color: var(--green) !important
}

.estimate-note p {
    color: #52675a !important
}

.capacity-grid article,
.compliance-list article {
    border-radius: 13px
}

.pricing-callout {
    border-radius: 15px
}

.scope-section {
    background: var(--orange)
}

.scope-section h2,
.scope-section h3,
.scope-section p {
    color: var(--green)
}

.facebook-testimonial,
.carousel-frame,
.contact-options>a {
    border-radius: 14px
}

.footer {
    background: #fff;
    color: #35443b;
    border-top: 1px solid var(--line)
}

.footer-main {
    display: grid;
    grid-template-columns: 1.45fr .8fr .8fr 1fr;
    gap: 52px
}

.footer-company,
.footer-main nav,
.footer-assurance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
}

.footer-brand {
    width: 220px;
    margin-bottom: 14px
}

.footer-company p,
.footer-assurance p {
    color: var(--muted);
    font-size: 14px
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px
}

.footer-contact a {
    padding: 8px 11px;
    border-radius: 8px;
    background: var(--pale);
    font-weight: 800
}

.footer h2 {
    font-size: 15px;
    margin: 3px 0 12px
}

.footer a {
    font-size: 14px
}

.footer-assurance {
    padding: 22px;
    border-radius: 13px;
    background: var(--pale)
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.footer-legal,
.footer-legal a,
.footer-legal span {
    font-size: 12px;
    color: #6f7d74
}

.footer-legal>div {
    display: flex;
    flex-wrap: wrap;
    gap: 17px
}

@media(max-width:1000px) {
    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr
    }

    .footer-assurance {
        grid-column: 1/-1
    }
}

@media(max-width:720px) {
    .container {
        width: calc(100% - 30px)
    }

    .section {
        padding: 64px 0
    }

    .header-inner {
        height: 70px
    }

    .brand-slot,
    .brand-slot img {
        width: 170px;
        height: 44px
    }

    .nav a:after {
        display: none
    }

    .contact-hero {
        padding: 58px 0
    }

    .quote-promises {
        gap: 7px
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px
    }

    .footer-company,
    .footer-assurance {
        grid-column: 1/-1
    }

    .footer-legal {
        align-items: flex-start;
        flex-direction: column
    }

    .mobile-quote {
        background: var(--orange)
    }
}

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

    .footer-main>* {
        grid-column: 1 !important
    }
}