/**
 * EZ Dark Sections & CTA - Production-ready
 * Contractor Special, Why Choose, Get Quote
 */

/* ========== Dark Section Base ========== */
.ez-dark-section {
    background: #2d2d2d;
    padding: 4rem 0 5rem;
}

.ez-dark-section__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ez-dark-section__title {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 0.5rem;
}

.ez-dark-section__accent {
    background: #FED03D;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 6px;
}

.ez-dark-section__tagline {
    font-family: 'Figtree', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #FED03D;
    text-align: center;
    margin: 0 0 2rem;
}

/* ========== Contractor Special ========== */
.ez-contractor {
    background: #3a3a3a;
}

.ez-contractor .ez-dark-section__inner {
    max-width: 960px;
}

.ez-contractor__content p {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.25rem;
}

.ez-contractor__content strong {
    color: #fff;
}

.ez-contractor__cta {
    margin-top: 1.5rem !important;
}

/* ========== Why Choose ========== */
.ez-why-choose {
    position: relative;
    z-index: 2;
    background: #2a2a2a;
    border-top: 3px solid rgba(254, 208, 61, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.ez-why-choose .ez-dark-section__inner {
    max-width: 1100px;
}

.ez-why-choose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 992px) {
    .ez-why-choose__grid {
        grid-template-columns: 1fr;
    }
}

.ez-why-choose__card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ez-why-choose__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ez-why-choose__icon {
    width: 52px;
    height: 52px;
    background: #FED03D;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.ez-why-choose__icon svg {
    width: 26px;
    height: 26px;
    color: #1a1a1a;
}

.ez-why-choose__heading {
    font-family: 'Figtree', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.ez-why-choose__text {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* ========== CTA Section (Get Quote) ========== */
.ez-cta-section {
    background: linear-gradient(180deg, #f5f6f7 0%, #fff 100%);
    padding: 4rem 0 5rem;
}

.ez-cta-section__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ez-cta-section__title {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.ez-cta-section__accent {
    background: #FED03D;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 6px;
}

.ez-cta-section__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* CTA buttons - large variant */
.ez-cta-btn--lg {
    padding: 1rem 2rem !important;
    font-size: 0.9375rem !important;
}

.ez-cta-btn--accent {
    background: #FED03D !important;
    color: #1a1a1a !important;
}

.ez-cta-btn--accent:hover {
    background: #e8bc2a !important;
    color: #1a1a1a !important;
}

.ez-cta-btn .ez-cta-btn__icon {
    display: inline-flex;
    align-items: center;
}

.ez-cta-btn .ez-cta-btn__icon svg {
    width: 1em;
    height: 1em;
}

@media (max-width: 640px) {
    .ez-cta-section__inner {
        flex-direction: column;
        text-align: center;
    }

    .ez-cta-section__buttons {
        justify-content: center;
    }
}
