/* Poison Ivy Removal - Main Stylesheet */
/* Color Scheme: Forest Green Theme */

:root {
    --primary-green: #279f16;
    --secondary-green: #47773d;
    --accent-lime: #01FE00;
    --dark-bg: #202738;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #666666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 159, 22, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

/* Header & Navigation */
@keyframes btn-bounce {
    0%, 45%, 100% { transform: translateY(0); }
    20%           { transform: translateY(-9px); }
    35%           { transform: translateY(-4px); }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--secondary-green);
    padding: 10px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: #2e5e25;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo — circular image */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 72px;
    width: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Hide text logo — image only, like the GHL header */
.logo-text {
    display: none;
}

/* Nav links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.25s ease;
    text-decoration: none;
}

/* Underline on hover / active */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-lime);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-lime);
}

/* FREE ESTIMATE button */
.nav-menu a.nav-cta {
    background-color: var(--primary-green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 22px;
    border-radius: 8px;
    animation: btn-bounce 2s ease-in-out infinite;
    white-space: nowrap;
}

.nav-menu a.nav-cta::after {
    display: none;
}

.nav-menu a.nav-cta:hover {
    background-color: #1d7d0e;
    color: var(--white);
    animation-play-state: paused;
    transform: translateY(-2px);
}

/* Phone link */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-lime);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: 0;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
                url('../images/hero-bg.webp') center center / cover no-repeat fixed;
    color: var(--white);
    padding: 140px 20px 60px;
}

.hero-content {
    max-width: 960px;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.hero-seal {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-seal img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6));
}

.hero-tagline {
    margin-bottom: 36px;
}

.hero-tagline .hero-chemical {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.hero-tagline .hero-guarantee {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    font-style: italic;
}

.hero-body {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 36px;
    align-items: center;
    text-align: left;
    margin-bottom: 36px;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.93);
    margin: 0;
}

.hero-circle-slash img {
    width: 100%;
    border-radius: 14px;
    border: 3px solid var(--primary-green);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    display: block;
}

.hero-cta {
    margin-bottom: 28px;
}

.hero-footnote {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
}

.hero-footnote a {
    color: var(--accent-lime);
    text-decoration: underline;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-header h2 {
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary-green);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(39, 159, 22, 0.2);
    border-color: var(--primary-green);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--dark-bg);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Top, not centre: with the 20px GHL text the copy column is much taller
       than the photo, and centring left a large gap above the photo. */
    align-items: start;
}

.about-content .about-image {
    margin-top: 28px; /* room for the offset frame, level with the heading */
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    border: 4px solid var(--primary-green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-green);
    border-radius: 10px;
    z-index: -1;
}

.about-text h2 {
    color: var(--dark-bg);
}

.about-text h2 span {
    color: var(--primary-green);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-list {
    margin: 2rem 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--dark-bg);
}

.about-list i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--black));
    color: var(--white);
}

.services .section-header h2 {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(39, 159, 22, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card ul {
    margin-top: 1.5rem;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.service-card li i {
    color: var(--accent-lime);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cta-phone i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-green);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 20px;
}

.process-step h4 {
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--black);
    color: var(--white);
}

.testimonials .section-header h2 {
    color: var(--white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.author-info h5 {
    color: var(--white);
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--primary-green);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--dark-bg);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--dark-bg);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--dark-bg);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-bg);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--primary-green);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: var(--primary-green);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-step::after {
        display: none;
    }

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

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-menu {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        background: #2e5e25;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        gap: 18px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu a.nav-cta {
        animation: none;
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        background-attachment: scroll;
        padding: 120px 16px 50px;
    }

    .hero h1 {
        font-size: 2.6rem;
        letter-spacing: 1px;
    }

    .hero-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-body .hero-text {
        order: 2;
    }

    .hero-body .hero-circle-slash {
        order: 1;
    }

    .hero-seal img {
        width: 240px;
    }

    .hero-tagline .hero-chemical,
    .hero-tagline .hero-guarantee {
        font-size: 1.4rem;
    }

    .about-content,
    .services-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .hero-seal img {
        width: 220px;
    }

    .hero-tagline .hero-chemical,
    .hero-tagline .hero-guarantee {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .cta-phone {
        font-size: 1.5rem;
        flex-direction: column;
    }
}

/* ── Guarantee Badge ─────────────────────────────────────── */
.guarantee-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    z-index: 2;
}

.guarantee-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* ── Plants We Remove Section ────────────────────────────── */
.plants-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.plants-section .section-header h2 {
    color: var(--dark-bg);
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.plant-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid var(--primary-green);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(39,159,22,0.25);
}

.plant-img {
    height: 160px;
    overflow: hidden;
    background: #e8f5e9;
}

.plant-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}

.plant-label {
    padding: 10px 12px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-bg);
    text-align: center;
    background: var(--white);
}

.plants-cta {
    text-align: center;
    margin-top: 16px;
}

.plants-cta p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* ── Service Areas Section ───────────────────────────────── */
.service-areas {
    padding: 80px 0;
    background: var(--white);
}

.service-areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-areas-text h2 {
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.service-areas-text h2 span {
    color: var(--primary-green);
}

.service-areas-text > p {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.areas-column h4 {
    color: var(--primary-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 6px;
}

.areas-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.areas-column li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.areas-column li i {
    color: var(--primary-green);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.areas-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.areas-note i {
    color: var(--primary-green);
    margin-right: 6px;
}

.service-areas-map .service-map {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-areas-map img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Form helpers (homepage contact section) ─────────────── */
.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.form-error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    padding: 12px 16px;
    color: #c0392b;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sending-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
}

.sending-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.sending-modal i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.sending-modal h3 {
    color: var(--dark-bg);
    margin-bottom: 8px;
}

.sending-modal p {
    color: #666;
    font-size: 0.9rem;
}

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 1100px) {
    .plants-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .service-areas-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-areas-map {
        order: -1;
    }
}

@media (max-width: 600px) {
    .plants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .guarantee-badge {
        width: 90px;
        height: 90px;
        bottom: -10px;
        right: -10px;
    }
}

/* Inner-page banner (About, Services, Gallery, Contact, Estimate) */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/hero-bg.webp') center center / cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 150px 20px 60px;
}

.page-banner h1 {
    color: var(--white);
    font-size: 3.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.page-banner p {
    max-width: 760px;
    margin: 14px auto 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .page-banner { padding: 130px 16px 44px; }
    .page-banner h1 { font-size: 2.3rem; letter-spacing: 1px; }
}

/* Video blocks (About, Gallery, Home before/after) */
.video-frame {
    border: 4px solid var(--primary-green);
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.video-frame video {
    display: block;
    width: 100%;
    height: auto;
}

/* Real Google reviews on the home page */
.review-source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #666;
}

/* Footer: real social link only */
.footer-brand .footer-logo {
    width: 96px;
    height: auto;
    margin-bottom: 1rem;
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-dark:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Services page: one card per plant */
.plant-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.plant-detail {
    background: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 110px;
}

.plant-detail img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.plant-detail-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plant-detail h3 {
    color: var(--dark-bg);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.plant-detail p {
    font-size: 0.92rem;
    flex: 1;
}

.plant-detail .plant-ref {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--secondary-green);
}

.prose-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.prose-block p + p { margin-top: 1rem; }

/* Home: before/after video beside "Our Promise" */
.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Gallery page grid (static portfolio + admin uploads) */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.photo-grid button {
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-grid button:hover img { transform: scale(1.04); }

.ba-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.ba-videos figcaption {
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 0 0;
    color: var(--dark-bg);
}

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

@media (max-width: 768px) {
    .promise-grid { grid-template-columns: 1fr; gap: 30px; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
    .plant-detail-grid { grid-template-columns: 1fr; }
}

/* Live Google reviews: Comp Edge GBP Reviews Widget (includes/reviews-widget.php).
   The widget reads these custom properties from #ces-reviews. */
.ces-reviews {
    --ces-reviews-accent: #279f16;
    --ces-reviews-card-bg: rgba(255, 255, 255, 0.06);
    --ces-reviews-text: #ffffff;
    --ces-reviews-muted: rgba(255, 255, 255, 0.72);
    --ces-reviews-radius: 10px;
    --ces-reviews-font: inherit;
    --ces-reviews-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.ces-reviews-light {
    --ces-reviews-card-bg: #ffffff;
    --ces-reviews-text: #202738;
    --ces-reviews-muted: #5f6b76;
}

.ces-fallback-links {
    text-align: center;
    margin-top: 28px;
    font-size: 0.95rem;
}

.ces-fallback-links a { color: var(--accent-lime); }
.ces-fallback-links span { margin: 0 10px; opacity: 0.6; }

/* Service-area county map (includes/service-area-map.php) */
.service-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1014 / 784;
    min-height: 320px;
    border: 3px solid var(--primary-green);
    border-radius: 10px;
    overflow: hidden;
    background: #e8f5e9;
}

.service-map > img,
.service-map-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-map-key {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.service-map-key .swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(39, 159, 22, 0.55);
    border: 1px solid #1f7a12;
    flex-shrink: 0;
}

/* Grid children default to min-width:auto, which let Leaflet's panes widen
   the column past a phone screen. */
.service-areas-content > *,
.service-map-wrap {
    min-width: 0;
    max-width: 100%;
}


/* ---------------------------------------------------------------------------
   Type scale matched to the GHL site (measured 2026-11-30): reading text is
   20px Poppins on desktop and 18px on phones, nav links 18px.
   --------------------------------------------------------------------------- */
.hero-text p,
.about-text p,
.service-areas-text p,
.promise-grid p,
.prose-block p,
.section-header p,
.reading {
    font-size: 1.125rem;
    line-height: 1.85;
}

@media (min-width: 1025px) {
    .hero-text p,
    .about-text p,
    .service-areas-text p,
    .promise-grid p,
    .prose-block p,
    .section-header p,
    .reading {
        font-size: 1.25rem;
    }

    .nav-menu a {
        font-size: 1.125rem;
    }
}

/* ---------------------------------------------------------------------------
   Entrance animations, as on the GHL site (animate.css fadeInUp and friends,
   1 second). The seal rises into place on load; [data-animate] elements play
   when they scroll into view (js/main.js adds .animate-in). Hidden start
   states apply only when JavaScript runs (html.js), and nothing moves for
   visitors who ask for reduced motion.
   --------------------------------------------------------------------------- */
@keyframes pir-fade-in-up {
    from { opacity: 0; transform: translate3d(0, 100%, 0); }
    to   { opacity: 1; transform: none; }
}

.hero-seal img {
    animation: pir-fade-in-up 1s ease-out both;
}

html.js [data-animate] {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

html.js [data-animate="fade-up"]    { transform: translate3d(0, 60px, 0); }
html.js [data-animate="fade-down"]  { transform: translate3d(0, -60px, 0); }
html.js [data-animate="fade-left"]  { transform: translate3d(-80px, 0, 0); }
html.js [data-animate="fade-right"] { transform: translate3d(80px, 0, 0); }

/* The sideways start positions must never widen the page (on a phone that
   shifted the whole layout, the pop-up included). clip, unlike hidden, keeps
   position: sticky working. */
html, body {
    overflow-x: clip;
}

@media (max-width: 768px) {
    html.js [data-animate="fade-left"]  { transform: translate3d(-40px, 0, 0); }
    html.js [data-animate="fade-right"] { transform: translate3d(40px, 0, 0); }
}

html.js [data-animate].animate-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-seal img { animation: none; }
    html.js [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
   Pop-up (includes/popup-render.php), styled after the GHL "Get a FREE
   Estimate" pop-up: leaf photo, white title, frosted form card.
   --------------------------------------------------------------------------- */
.pir-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pir-popup[hidden] { display: none; }
.pir-popup.is-open { opacity: 1; }

.pir-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.pir-popup-panel {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: min(720px, calc(100vw - 16px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background-color: #2e5e25;
    background-size: cover;
    background-position: center;
    border: 8px solid #47773d;
    border-radius: 6px;
    padding: 36px 28px 28px;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pir-popup.is-open .pir-popup-panel { transform: none; }

.pir-popup-panel h2 {
    color: var(--white);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.pir-popup-text {
    color: var(--white);
    text-align: center;
    font-size: 1.15rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Sticky, not absolute: the panel scrolls on small screens and the close
   button must stay reachable at the top. */
.pir-popup-close {
    position: sticky;
    top: 0;
    float: right;
    margin: -28px -20px 0 0;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid var(--white);
    background: #111;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.pir-popup-card {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    padding: 24px;
}

.pir-popup-card label {
    display: block;
    font-size: 0.95rem;
    color: #222;
    margin: 10px 0 6px;
}

.pir-popup-card input,
.pir-popup-card textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    font: inherit;
    font-size: 1rem;
}

.pir-popup-card button[type="submit"] { margin-top: 18px; }

.pir-popup-fine {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.8rem;
}

.pir-popup-fine a { color: #1f4d17; text-decoration: underline; }
.pir-popup-cta { text-align: center; margin-top: 10px; }

body.pir-popup-open { overflow: hidden; }

@media (max-width: 600px) {
    .pir-popup { padding: 8px; }
    .pir-popup-panel { padding: 30px 12px 16px; border-width: 5px; }
    .pir-popup-close { margin: -24px -6px 0 0; }
    .pir-popup-panel h2 { font-size: 1.8rem; }
    .pir-popup-card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .pir-popup, .pir-popup-panel { transition: none; }
}

/* ---------------------------------------------------------------------------
   iPhone: Safari zooms into any form field whose text is under 16px when it
   is tapped, and stays zoomed after the keyboard closes, so the page slides
   side to side. 16px on phones stops the zoom without taking pinch-zoom away
   from anyone. (Contact Us and Free Estimate used Tailwind's 14px text-sm.)
   --------------------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 1024px) {
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}
