/* ===================================================
   MORRIS ENVIRONMENTAL & SANITATION — Styles
   Brand Style Guide: style/style_guide.md
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary Palette */
    --morris-green: #76B82A;
    --dark-green: #4A7A1A;
    --dark-charcoal: #2D2D2D;
    --white: #FFFFFF;

    /* Secondary Palette */
    --silver: #B0B0B0;
    --light-gray: #F4F4F4;
    --alert-yellow: #F5C518;

    /* Text */
    --text-dark: #2D2D2D;
    --text-muted: #666666;
    --text-light: rgba(255, 255, 255, 0.8);

    /* Layout */
    --nav-height: 72px;
    --container-max: 1200px;
    --section-padding: 80px;
    --card-radius: 8px;
    --transition: 0.2s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-charcoal);
}

h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.2; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 600; line-height: 1.4; }

.section-title {
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--morris-green);
    margin-top: 12px;
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background-color: var(--morris-green);
    color: var(--white);
    border-color: var(--morris-green);
}
.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-charcoal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-dark {
    background-color: var(--dark-charcoal);
    color: var(--white);
    border-color: var(--dark-charcoal);
}
.btn-dark:hover {
    background-color: #444444;
    border-color: #444444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--morris-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-full { width: 100%; }

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: var(--dark-charcoal);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo-icon {
    height: 52px;
    width: auto;
    max-height: calc(var(--nav-height) - 16px);
    flex-shrink: 0;
    display: block;
    background: #fff;
    border-radius: 6px;
    padding: 4px 8px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-name {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 1.5px;
}

.nav-logo-sub {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--morris-green);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--morris-green);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-link:hover {
    color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link--cta {
    background-color: var(--morris-green);
    color: var(--white) !important;
    border-radius: 6px;
    margin-left: 8px;
    padding: 10px 20px;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
    background-color: var(--dark-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger { position: relative; }
.hamburger::before,
.hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-open .hamburger { background: transparent; }
.nav-open .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.03);
    transition: transform 8s ease-out;
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 860px;
    margin-top: calc(var(--nav-height) / 2);
}

.hero-eyebrow {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--morris-green);
    margin-bottom: 16px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--morris-green);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 40px;
    margin-bottom: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.hero-phone svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-phone a { color: var(--white); }

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-indicator span {
    display: block;
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-padding) 0; }
.services { background-color: var(--white); }

/* ---------- Service Cards ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 5th card spans — center it on the last row (legacy 5-card layout) */
.services-grid:not(.services-grid--4) .card:nth-child(4) { grid-column: 1; }
.services-grid:not(.services-grid--4) .card:nth-child(5) { grid-column: 2; }

/* 4-card layout: 2 rows of 2 on wide screens, tighter */
.services-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) {
    .services-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--morris-green);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card--accent {
    border-top-color: var(--alert-yellow);
}
.card--accent .card-icon { color: var(--alert-yellow); }
.card--accent .card-title { color: var(--dark-charcoal); }

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--morris-green);
}
.card-icon svg { width: 100%; height: 100%; }

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- Why Choose Us ---------- */
.why-us { background-color: var(--light-gray); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-item {
    text-align: center;
    padding: 24px 16px;
}

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--morris-green);
    background: rgba(118, 184, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.why-icon svg { width: 100%; height: 100%; }

.why-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- Testimonials ---------- */
.testimonials { background-color: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--light-gray);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.8;
    color: var(--morris-green);
    opacity: 0.4;
    margin-bottom: 12px;
    display: block;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    font-size: 0.975rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-stars {
    color: var(--morris-green);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.testimonial-author strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-charcoal);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Service Area ---------- */
.service-area { background-color: var(--light-gray); }

.area-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}

.map-embed {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.map-embed iframe { display: block; width: 100%; height: 100%; }

.area-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.area-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark-charcoal);
}
.area-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.area-list {
    margin-bottom: 16px;
}
.area-list li {
    padding: 7px 0 7px 26px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.area-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--morris-green);
    font-weight: 700;
}

.area-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px !important;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: var(--morris-green);
    padding: 56px 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 8px;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact { background-color: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--light-gray);
    border-radius: var(--card-radius);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}
.form-group:not(.form-row .form-group) {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark-charcoal);
    margin-bottom: 6px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.required { color: #c0392b; }
.optional { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }

/* ---------- Checkbox Group (Services Needed) ---------- */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.checkbox-group.error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: background-color var(--transition);
}
.checkbox-option:hover { background: var(--light-gray); }
.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--morris-green);
    cursor: pointer;
    flex-shrink: 0;
}
.checkbox-option input[type="checkbox"]:checked + span {
    color: var(--dark-green);
    font-weight: 600;
}
@media (max-width: 480px) {
    .checkbox-group { grid-template-columns: 1fr; }
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--morris-green);
    box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}
.form-status.success { color: var(--dark-green); }
.form-status.error { color: #c0392b; }

.contact-info { padding: 8px 0; }

.info-block { margin-bottom: 28px; }
.info-block h3 {
    color: var(--dark-charcoal);
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.info-block p { color: var(--text-muted); }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 6px;
}
.info-item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--morris-green);
    margin-top: 1px;
}
.info-item strong {
    display: block;
    color: var(--dark-charcoal);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 3px;
}
.info-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.info-item a {
    color: var(--morris-green);
    font-weight: 600;
}
.info-item a:hover { color: var(--dark-green); }

.info-emergency {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff8e1;
    border: 2px solid var(--alert-yellow);
    border-radius: 6px;
    margin-top: 8px;
}
.info-emergency svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #e6a000;
    margin-top: 1px;
}
.info-emergency strong {
    display: block;
    color: var(--dark-charcoal);
    font-weight: 700;
    margin-bottom: 4px;
}
.info-emergency p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 8px;
}
.emergency-link {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark-charcoal);
    letter-spacing: 0.5px;
}
.emergency-link:hover { color: var(--dark-green); }

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-charcoal);
    color: rgba(255, 255, 255, 0.65);
    padding: 56px 0 28px;
}

.footer-accent-line {
    height: 4px;
    background: var(--morris-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo-icon {
    height: 96px;
    width: auto;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    display: block;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.footer-logo-name {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: 1.5px;
}
.footer-logo-sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--morris-green);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 16px;
}

.footer-phone {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--morris-green);
    letter-spacing: 0.5px;
}
.footer-phone:hover { color: #8fd13a; }

.footer h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.footer-links ul li,
.footer-services ul li {
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer-links a {
    display: block;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--morris-green); }

.footer-services li { color: rgba(255, 255, 255, 0.6); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
}

.footer-tagline {
    color: var(--morris-green);
    font-style: italic;
}

.footer-credit { color: rgba(255, 255, 255, 0.35); font-size: 0.78rem; }
.footer-credit a { color: rgba(255, 255, 255, 0.45); transition: color var(--transition); }
.footer-credit a:hover { color: var(--morris-green); }

/* ---------- Animations ---------- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.services-grid .card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .card:nth-child(5) { transition-delay: 0.32s; }

.why-grid .why-item:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-item:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-item:nth-child(4) { transition-delay: 0.3s; }

.testimonials-grid .testimonial:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .testimonial:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    :root { --section-padding: 64px; }

    h1 { font-size: 40px; }
    h2 { font-size: 30px; }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid .card:nth-child(4) { grid-column: auto; }
    .services-grid .card:nth-child(5) { grid-column: auto; }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid .testimonial:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .area-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 48px;
        --nav-height: 64px;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }

    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-charcoal);
        flex-direction: column;
        align-items: flex-start;
        padding: 88px 28px 32px;
        gap: 4px;
        transition: right 0.3s ease-in-out;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    }
    .nav-open .nav-menu { right: 0; }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav-link--cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
    .hero-phone { font-size: 1.1rem; }

    .services-grid { grid-template-columns: 1fr; }
    .services-grid .card:nth-child(4),
    .services-grid .card:nth-child(5) { grid-column: auto; }

    .why-grid { grid-template-columns: 1fr 1fr; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .map-embed { height: 300px; }

    .cta-banner { padding: 40px 0; }
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .cta-banner-actions { justify-content: center; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .card { padding: 28px 20px; }
    .area-card { padding: 28px 20px; }
}
