/* ============================================
   SERVICE PAGE — Shared styles for fence type pages
   (wood, vinyl, aluminum, chain-link)
   ============================================ */

/* ========== BENEFITS SECTION ========== */
.benefits {
    padding: 5rem 2rem;
    background: white;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--cream-50);
    border-radius: var(--radius-sm);
    transition: box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .benefit-card:hover {
        box-shadow: var(--shadow-md);
    }
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--green-700);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--green-800);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========== STYLES SECTION ========== */
.styles {
    padding: 5rem 2rem;
    background: var(--cream-100);
}

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

.styles-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.styles-intro p {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.style-card {
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
    .style-card:hover {
        box-shadow: var(--shadow-md);
    }
}

.style-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.style-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.style-card h3 {
    font-size: 1.25rem;
    color: var(--green-800);
    margin-bottom: 0.75rem;
}

.style-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* Style tags handled by global.css */

/* ========== PROCESS SECTION ========== */
.process {
    padding: 5rem 2rem;
    background: white;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps {
    margin-top: 3rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--cream-200);
}

.process-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--green-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========== PRICING SECTION ========== */
.pricing {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
    color: white;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-header .section-title {
    color: white;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.pricing-main h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--green-200);
    margin-bottom: 1rem;
}

.pricing-main p {
    font-size: 1rem;
    color: var(--green-100);
    line-height: 1.7;
}

.pricing-includes h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pricing-includes ul {
    list-style: none;
}

.pricing-includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--green-100);
    margin-bottom: 0.75rem;
}

.pricing-includes li svg {
    width: 18px;
    height: 18px;
    color: var(--green-300);
    flex-shrink: 0;
    margin-top: 2px;
}

/* FAQ styles handled by global.css */

/* ========== RELATED SERVICES ========== */
.related {
    padding: 5rem 2rem;
    background: white;
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.related-card {
    padding: 2rem;
    background: var(--cream-50);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .related-card:hover {
        background: var(--cream-100);
        box-shadow: var(--shadow-md);
    }
}

.related-card h3 {
    font-size: 1.25rem;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-700);
    text-transform: uppercase;
}

.related-link svg {
    width: 16px;
    height: 16px;
}

/* ========== MID-PAGE CTA ========== */
.mid-cta {
    padding: 3rem 2rem;
    background: var(--green-800);
    color: white;
}

.mid-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.mid-cta h2 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    color: white;
    margin-bottom: 0.375rem;
}

.mid-cta p {
    color: var(--green-200);
    font-size: 1rem;
    margin: 0;
}

.mid-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mid-cta .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.mid-cta .btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.mid-cta .btn-outline svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .mid-cta-container {
        flex-direction: column;
        text-align: center;
    }

    .mid-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .mid-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .mid-cta .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ========== SERVICE CTA ========== */
.service-cta {
    padding: 5rem 2rem;
    background: var(--cream-100);
}

.service-cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--green-900);
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

    .pricing-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
}
