/* ==========================================
   BLENTREE TRUSTED CTA WIDGET
   ========================================== */

/* Force Elementor widget wrapper full width */
.elementor-widget-blentree-trusted-cta,
.elementor-widget-blentree-trusted-cta > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    flex: 1 1 100% !important;
    overflow: visible !important;
}

.bln-cta-section {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    background-color: #E63946;
    overflow: visible;
    display: block;
}
.bln-cta-section * { box-sizing: border-box; }

/* Full viewport width */
.bln-cta-section.bln-cta-fullwidth {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Wave layers */
.bln-cta-wave-top,
.bln-cta-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;
}
.bln-cta-wave-top { z-index: 2; }
.bln-cta-wave-bottom { z-index: 3; }   /* above person, below content */
/* Top wave overhangs ABOVE (same as products grid) */
.bln-cta-wave-top {
    top: 0;
    transform: translateY(-99%);
}
/* Bottom wave sits at bottom edge, inside (same as products grid) */
.bln-cta-wave-bottom {
    bottom: 0;
}

/* Inner — no stacking cap so person/content layer around the wave */
.bln-cta-inner {
    position: relative;
    z-index: auto;
    width: 100%;
    padding: 60px 10% 0;
}

/* Grid: content left, person right */
.bln-cta-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: stretch;
    gap: 40px;
}

/* Content — vertically centered, above the bottom wave */
.bln-cta-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.bln-cta-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 40px;
    max-width: 480px;
}

/* Features 2x2 */
.bln-cta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    max-width: 520px;
}

.bln-cta-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.bln-cta-feature-icon {
    width: 70px;
    height: 70px;
    background: #FFFFFF;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bln-cta-feature-icon i {
    font-size: 28px;
    color: #E63946;
}
.bln-cta-feature-icon svg {
    width: auto;
    height: auto;
    max-width: 32px;
    max-height: 32px;
}
/* Fill icons → fill; outline icons (fill="none") → stroke (red icon on white box) */
.bln-cta-feature-icon svg:not([fill="none"]),
.bln-cta-feature-icon svg:not([fill="none"]) path {
    fill: #E63946;
}
.bln-cta-feature-icon svg[fill="none"] {
    fill: none;
}
.bln-cta-feature-icon svg[fill="none"] path {
    stroke: #E63946;
}

.bln-cta-feature-label {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.3;
}

/* Person image — bottom aligned, BEHIND the bottom wave */
.bln-cta-person {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    align-self: stretch;
}
.bln-cta-person img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 991px) {
    .bln-cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .bln-cta-person {
        order: -1;
        justify-content: center !important;
    }
    .bln-cta-content {
        padding-bottom: 40px;
        text-align: center;
    }
    .bln-cta-heading {
        max-width: 100%;
    }
    .bln-cta-features {
        max-width: 100%;
        margin: 0 auto;
    }
    .bln-cta-feature {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .bln-cta-inner {
        padding: 50px 24px 0;
    }
    .bln-cta-features {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }
    .bln-cta-feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
    .bln-cta-feature-icon i {
        font-size: 22px;
    }
    .bln-cta-feature-icon svg {
        max-width: 26px;
        max-height: 26px;
    }
}
