/*-- -------------------------- -->
<---         CTA Banner          -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
    #cta-banner {
        position: relative;
        padding: clamp(4rem, 10vw, 7rem) 1rem clamp(6rem, 12vw, 9rem);
        overflow: hidden;
        text-align: center;
        border-top: 3px solid #22C55E;
    }

    /* Background image — swap src to images/cta-banner.webp once image is added */
    #cta-banner::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: -5%;
        width: 110%;
        height: 4rem;
        background: #11150F;
        border-radius: 50% 50% 0 0 / 100% 100% 0 0;
        z-index: 3;
    }

    #cta-banner .cta-bg {
        position: absolute;
        inset: 0;
        background-image: url('../images/commercialsolarbackground.webp');
        background-size: cover;
        background-position: center;
        background-color: #1A1F17;
        z-index: 0;
    }

    /* Dark overlay */
    #cta-banner .cta-overlay {
        position: absolute;
        inset: 0;
        background: rgba(10, 28, 28, 0.75);
        z-index: 1;
    }

    #cta-banner .cta-container {
        position: relative;
        z-index: 2;
        max-width: 52rem;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    #cta-banner .cta-eyebrow {
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        color: rgba(255, 255, 255, 0.75);
        margin: 0;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    #cta-banner .cta-eyebrow::before {
        content: '';
        display: block;
        width: 3px;
        height: 1em;
        background: #22C55E;
        border-radius: 2px;
        flex-shrink: 0;
    }

    #cta-banner .cta-heading {
        font-family: 'Barlow', sans-serif;
        font-size: clamp(1.75rem, 4.5vw, 3rem);
        font-weight: 800;
        line-height: 1.15;
        color: #ffffff;
        margin: 0;
    }

    #cta-banner .cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 0.5rem;
        padding: 1rem 1.25rem 1rem 2.25rem;
        background-color: #22C55E;
        color: #11150F;
        font-family: 'Barlow', sans-serif;
        font-size: 0.9375rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 2rem;
        transition: background-color 0.25s;
    }

    #cta-banner .cta-btn:hover {
        background-color: #16a34a;
    }

    #cta-banner .cta-btn-icon {
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
        background: #11150F;
        border-radius: 50%;
        padding: 0.3rem;
        box-sizing: border-box;
        color: #22C55E;
        stroke: #22C55E;
    }
}
