/**
 * Ecoscaping Landing Pages - Commercial & HOA
 * All classes prefixed with 'elp-' to avoid conflicts
 */

/* ============================================
   CSS VARIABLES (scoped to landing page)
   ============================================ */
.ecoscaping-landing-content {
    --elp-color-primary: #373737;
    --elp-color-secondary: #54595F;
    --elp-color-accent: #C10000;
    --elp-color-accent-dark: #9a0000;
    --elp-color-text: #000000;
    --elp-color-white: #FFFFFF;
    --elp-color-light-gray: #F5F5F5;
    --elp-color-border-gray: #E0E0E0;
    --elp-color-forest-green: #215324;
    --elp-color-dark-green: #1A4B29;

    --elp-font-heading: 'Oswald', sans-serif;
    --elp-font-body: 'Quicksand', sans-serif;

    --elp-size-h1: 56px;
    --elp-size-h2: 42px;
    --elp-size-h3: 32px;
    --elp-size-h4: 24px;
    --elp-size-body: 18px;
    --elp-size-small: 15px;

    --elp-section-padding: 80px;
    --elp-container-width: 1200px;
}

/* ============================================
   BASE STYLES
   ============================================ */
.ecoscaping-landing-content {
    font-family: var(--elp-font-body);
    font-size: var(--elp-size-body);
    font-weight: 500;
    line-height: 1.6;
    color: var(--elp-color-text);
}

.ecoscaping-landing-content * {
    box-sizing: border-box;
}

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

/* Typography */
.ecoscaping-landing-content h1,
.ecoscaping-landing-content h2,
.ecoscaping-landing-content h3,
.ecoscaping-landing-content h4 {
    font-family: var(--elp-font-heading);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.ecoscaping-landing-content h2 {
    font-size: var(--elp-size-h2);
    margin-bottom: 20px;
}

.ecoscaping-landing-content h3 {
    font-size: var(--elp-size-h3);
    margin-bottom: 16px;
}

.ecoscaping-landing-content h4 {
    font-size: var(--elp-size-h4);
    margin-bottom: 12px;
}

.ecoscaping-landing-content p {
    margin: 0 0 16px;
}

.ecoscaping-landing-content p:last-child {
    margin-bottom: 0;
}

/* Section Header */
.elp-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.elp-section-header p {
    color: var(--elp-color-secondary);
}

/* Buttons */
.elp-btn {
    display: inline-block;
    font-family: var(--elp-font-heading);
    font-weight: 500;
    font-size: 16px;
    padding: 14px 32px;
    border: 3px solid;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.elp-btn-primary {
    color: var(--elp-color-white);
    background: var(--elp-color-accent);
    border-color: var(--elp-color-accent);
}

.elp-btn-primary:hover {
    background: var(--elp-color-accent-dark);
    border-color: var(--elp-color-accent-dark);
    color: var(--elp-color-white);
}

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

.elp-btn-outline:hover {
    color: var(--elp-color-text);
    background: var(--elp-color-white);
}

.elp-btn-white {
    color: var(--elp-color-accent);
    background: var(--elp-color-white);
    border-color: var(--elp-color-white);
}

.elp-btn-white:hover {
    color: var(--elp-color-white);
    background: transparent;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
.elp-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1920') center/cover no-repeat;
    color: var(--elp-color-white);
    padding: 100px 0;
}

.elp-hero-content {
    max-width: 800px;
}

.elp-hero-label {
    display: inline-block;
    background: var(--elp-color-accent);
    color: var(--elp-color-white);
    padding: 8px 16px;
    font-family: var(--elp-font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.elp-hero h1 {
    font-size: var(--elp-size-h1);
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--elp-color-white);
}

.elp-hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 600px;
}

.elp-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   SECTION 2: TRUST BAR
   ============================================ */
.elp-trust-bar {
    background: var(--elp-color-primary);
    padding: 40px 0;
}

.elp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.elp-trust-item {
    color: var(--elp-color-white);
}

.elp-trust-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.elp-trust-icon svg {
    stroke: var(--elp-color-white);
}

.elp-trust-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--elp-color-white);
}

.elp-trust-item p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   SECTION 3: WHO WE SERVE
   ============================================ */
.elp-who-we-serve {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-white);
}

.elp-serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.elp-serve-card {
    background: var(--elp-color-light-gray);
    padding: 40px 32px;
    text-align: center;
    border-bottom: 4px solid var(--elp-color-forest-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elp-serve-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.elp-serve-icon {
    width: 64px;
    height: 64px;
    background: var(--elp-color-forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.elp-serve-icon svg {
    stroke: var(--elp-color-white);
}

.elp-serve-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.elp-serve-card p {
    font-size: var(--elp-size-small);
    color: var(--elp-color-secondary);
    margin: 0;
}

/* ============================================
   SECTION 4: SERVICES
   ============================================ */
.elp-services {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-forest-green);
    color: var(--elp-color-white);
}

.elp-services h2,
.elp-services h3,
.elp-services h4 {
    color: var(--elp-color-white);
}

.elp-services .elp-section-header p {
    color: rgba(255,255,255,0.85);
}

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

.elp-service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255,255,255,0.08);
    border-left: 3px solid var(--elp-color-accent);
}

.elp-service-check {
    width: 28px;
    height: 28px;
    background: var(--elp-color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.elp-service-check svg {
    stroke: var(--elp-color-white);
}

.elp-service-item h4 {
    margin-bottom: 6px;
    font-size: 20px;
}

.elp-service-item p {
    font-size: var(--elp-size-small);
    opacity: 0.85;
    margin: 0;
}

/* ============================================
   SECTION 5: HOW WE WORK
   ============================================ */
.elp-process {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-white);
}

.elp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

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

.elp-process-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--elp-color-border-gray);
}

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

.elp-step-number {
    width: 70px;
    height: 70px;
    background: var(--elp-color-accent);
    color: var(--elp-color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--elp-font-heading);
    font-size: 28px;
    margin: 0 auto 20px;
}

.elp-process-step h4 {
    margin-bottom: 10px;
}

.elp-process-step p {
    font-size: var(--elp-size-small);
    color: var(--elp-color-secondary);
    margin: 0;
}

.elp-communication-box {
    background: var(--elp-color-light-gray);
    padding: 40px;
    border-left: 4px solid var(--elp-color-forest-green);
}

.elp-communication-box h3 {
    margin-bottom: 20px;
}

.elp-comm-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.elp-comm-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--elp-size-small);
}

.elp-comm-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--elp-color-forest-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ============================================
   SECTION 6: VENDOR COMPLIANCE
   ============================================ */
.elp-compliance {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-primary);
    color: var(--elp-color-white);
}

.elp-compliance h2,
.elp-compliance h3,
.elp-compliance h4 {
    color: var(--elp-color-white);
}

.elp-compliance .elp-section-header p {
    color: rgba(255,255,255,0.85);
}

.elp-compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.elp-compliance-card {
    background: rgba(255,255,255,0.05);
    padding: 32px;
    border-top: 3px solid var(--elp-color-accent);
}

.elp-compliance-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.elp-compliance-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elp-compliance-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: var(--elp-size-small);
    display: flex;
    align-items: center;
    gap: 10px;
}

.elp-compliance-card li:last-child {
    border-bottom: none;
}

.elp-compliance-card li::before {
    content: '●';
    color: var(--elp-color-accent);
    font-size: 8px;
}

/* ============================================
   SECTION 7: SERVICE AREA
   ============================================ */
.elp-service-area {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-light-gray);
}

.elp-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.elp-area-text p {
    color: var(--elp-color-secondary);
    margin-bottom: 24px;
}

.elp-cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.elp-cities-grid span {
    font-size: var(--elp-size-small);
    padding: 6px 0;
    border-bottom: 1px solid var(--elp-color-border-gray);
}

.elp-area-map {
    background: var(--elp-color-white);
    border: 1px solid var(--elp-color-border-gray);
    padding: 24px;
    text-align: center;
    border-radius: 8px;
}

.elp-map-embed {
    width: 100%;
    margin-bottom: 16px;
}

.elp-map-embed iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
}

.elp-map-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px dashed var(--elp-color-forest-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--elp-color-forest-green);
    font-family: var(--elp-font-heading);
    text-transform: uppercase;
    margin-bottom: 16px;
    gap: 12px;
}

.elp-map-placeholder svg {
    stroke: var(--elp-color-forest-green);
}

.elp-area-map > p {
    font-size: 14px;
    color: var(--elp-color-secondary);
    margin: 0;
}

/* ============================================
   SECTION 8: TESTIMONIALS
   ============================================ */
.elp-proof {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-white);
}

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

.elp-testimonial-card {
    background: var(--elp-color-light-gray);
    padding: 32px;
    position: relative;
}

.elp-testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 80px;
    color: var(--elp-color-accent);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.elp-testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.elp-testimonial-author {
    font-family: var(--elp-font-heading);
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 4px !important;
}

.elp-testimonial-role {
    font-size: 14px;
    color: var(--elp-color-secondary);
    margin: 0;
}

/* ============================================
   SECTION 9: CTA / QUOTE FORM
   ============================================ */
.elp-cta-section {
    padding: var(--elp-section-padding) 0;
    background: linear-gradient(rgba(26, 75, 41, 0.95), rgba(26, 75, 41, 0.95)),
                url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1920') center/cover no-repeat;
    color: var(--elp-color-white);
}

.elp-cta-section h2 {
    color: var(--elp-color-white);
}

.elp-cta-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.elp-cta-text h2 {
    margin-bottom: 20px;
}

.elp-cta-text > p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.elp-cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elp-cta-benefits li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.elp-cta-benefits li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--elp-color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.elp-quote-form {
    background: var(--elp-color-white);
    padding: 40px;
    color: var(--elp-color-text);
}

.elp-quote-form h3 {
    color: var(--elp-color-text);
    margin-bottom: 24px;
    text-align: center;
}

.elp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.elp-form-group {
    margin-bottom: 16px;
}

.elp-form-group label {
    display: block;
    font-family: var(--elp-font-heading);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--elp-color-text);
}

.elp-form-group input,
.elp-form-group select,
.elp-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--elp-color-border-gray);
    font-family: var(--elp-font-body);
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--elp-color-white);
}

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

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

.elp-form-submit {
    width: 100%;
    margin-top: 8px;
}

/* Gravity Forms override styles */
.elp-quote-form .gform_wrapper {
    margin: 0;
}

.elp-quote-form .gform_wrapper input[type="text"],
.elp-quote-form .gform_wrapper input[type="email"],
.elp-quote-form .gform_wrapper input[type="tel"],
.elp-quote-form .gform_wrapper select,
.elp-quote-form .gform_wrapper textarea {
    padding: 14px 16px;
    border: 2px solid var(--elp-color-border-gray);
    font-family: var(--elp-font-body);
    font-size: 16px;
}

.elp-quote-form .gform_wrapper .gform_button {
    width: 100%;
    padding: 14px 32px;
    background: var(--elp-color-accent);
    border: 3px solid var(--elp-color-accent);
    color: var(--elp-color-white);
    font-family: var(--elp-font-heading);
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.elp-quote-form .gform_wrapper .gform_button:hover {
    background: var(--elp-color-accent-dark);
    border-color: var(--elp-color-accent-dark);
}

/* ============================================
   SECTION 10: FAQ
   ============================================ */
.elp-faq {
    padding: var(--elp-section-padding) 0;
    background: var(--elp-color-white);
}

.elp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.elp-faq-item {
    border: 1px solid var(--elp-color-border-gray);
    padding: 28px;
}

.elp-faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--elp-color-forest-green);
}

.elp-faq-item p {
    font-size: var(--elp-size-small);
    color: var(--elp-color-secondary);
    margin: 0;
}

/* ============================================
   FOOTER CTA BAR
   ============================================ */
.elp-footer-cta {
    background: var(--elp-color-accent);
    padding: 40px 0;
    text-align: center;
}

.elp-footer-cta h3 {
    color: var(--elp-color-white);
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .ecoscaping-landing-content {
        --elp-size-h1: 44px;
        --elp-size-h2: 36px;
        --elp-size-h3: 28px;
        --elp-section-padding: 60px;
    }

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

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

    .elp-serve-grid,
    .elp-compliance-grid,
    .elp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .elp-cta-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .ecoscaping-landing-content {
        --elp-size-h1: 36px;
        --elp-size-h2: 30px;
        --elp-size-h3: 24px;
        --elp-size-body: 16px;
        --elp-section-padding: 50px;
    }

    .elp-hero {
        min-height: auto;
        padding: 80px 0;
    }

    .elp-hero-subtitle {
        font-size: 18px;
    }

    .elp-hero-buttons {
        flex-direction: column;
    }

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

    .elp-trust-grid,
    .elp-serve-grid,
    .elp-services-grid,
    .elp-process-grid,
    .elp-compliance-grid,
    .elp-testimonials-grid,
    .elp-faq-grid {
        grid-template-columns: 1fr;
    }

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

    .elp-comm-list {
        grid-template-columns: 1fr;
    }

    .elp-cities-grid {
        grid-template-columns: 1fr;
    }

    .elp-quote-form {
        padding: 24px;
    }

    .elp-communication-box {
        padding: 24px;
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed header if needed */
.ecoscaping-landing-content section[id] {
    scroll-margin-top: 100px;
}
