/* ============================================
   CTA COMPONENT - Style 2 (With Image)
   Brochure-like layout (text + image)
   ============================================ */

.modern-cta-section--brochure,
.modern-cta-section--style-2 {
    position: relative;
    padding: 2rem 0;
    /* Full-bleed background even inside constrained wrappers */
    width: 100vw;
    max-width: none;
    left: 50%;
    margin: 2.5rem 0;
    margin-left: -50vw;
    background: var(--cta-style-2-bg, transparent) !important;
    overflow: hidden;
}

.modern-cta-section--brochure::before,
.modern-cta-section--brochure::after,
.modern-cta-section--brochure .cta-decoration,
.modern-cta-section--style-2::before,
.modern-cta-section--style-2::after,
.modern-cta-section--style-2 .cta-decoration {
    display: none !important;
}

.cta-brochure-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-brochure-text {
    flex: 1;
    min-width: 280px;
    max-width: 680px;
}

.cta-brochure-title {
    margin: 0;
    font-size: 2.6rem;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--cta-style-2-text, #1f2937);
}

.cta-brochure-description {
    margin: 1.1rem 0 0;
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--cta-style-2-muted, #6b7280);
}

.cta-brochure-actions {
    margin-top: 2.1rem;
}

.modern-cta-section--brochure .modern-cta-button,
.modern-cta-section--style-2 .modern-cta-button {
    background: var(--secondary, #97b56a) !important;
    color: var(--text-on-secondary, #ffffff) !important;
    border-radius: 8px;
    padding: 1.05rem 2.2rem;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 100%;
}

.modern-cta-section--brochure .modern-cta-button.btn-pdf,
.modern-cta-section--style-2 .modern-cta-button.btn-pdf {
    background: #dc3545 !important;
}

.modern-cta-section--brochure .modern-cta-button:hover,
.modern-cta-section--style-2 .modern-cta-button:hover {
    background: var(--secondary-dark, #7a9348) !important;
    transform: translateY(-2px) !important;
    filter: brightness(0.95);
}

.modern-cta-section--brochure .modern-cta-button.btn-pdf:hover,
.modern-cta-section--style-2 .modern-cta-button.btn-pdf:hover {
    background: #bb2d3b !important;
    filter: none;
}

.modern-cta-section--brochure .modern-cta-button::after,
.modern-cta-section--style-2 .modern-cta-button::after {
    content: '';
}

.cta-brochure-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-brochure-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.modern-cta-section--brochure.image-left .cta-brochure-content,
.modern-cta-section--style-2.image-left .cta-brochure-content {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .modern-cta-section--brochure,
    .modern-cta-section--style-2 {
        width: 100%;
        left: 0;
        margin: 1.5rem 0;
        margin-left: 0;
    }

    .cta-brochure-content {
        flex-direction: column;
        text-align: left;
        gap: 2rem;
    }

    .modern-cta-section--brochure.image-left .cta-brochure-content,
    .modern-cta-section--style-2.image-left .cta-brochure-content {
        flex-direction: column;
    }

    .cta-brochure-actions {
        display: flex;
        justify-content: flex-start;
    }

    .modern-cta-section--brochure .modern-cta-button,
    .modern-cta-section--style-2 .modern-cta-button {
        white-space: normal;
        width: auto;
        max-width: min(100%, 19.5rem);
        justify-content: center;
        padding: 0.74rem 1.05rem;
        font-size: 0.9rem;
        border-radius: 10px;
        min-height: 42px;
    }
}

@media (max-width: 640px) {
    .cta-brochure-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .cta-brochure-title {
        font-size: 2.1rem;
    }

    .cta-brochure-description {
        font-size: 1.1rem;
    }
}
