/* 
    CTA Section Styles
    Max Width: 1400px (Uses .bsb-container)
*/

.bsb-cta-section {
    position: relative;
    padding: 12rem 0;
    background-color: #f2f2f2;
    /* Light grey/off-white background matching snapshot */
    overflow: hidden;
    z-index: 5;
}

.cta-container {
    display: flex;
    justify-content: flex-start;
    /* Left-aligned content consistent with snapshot */
    align-items: center;
}

.bsb-cta-content {
    width: 100%;
    max-width: 1000px;
    /* Slight constraint for readability */
}

/* Heading Styling */
.bsb-cta-heading {
    font-family: var(--bsb-font-display);
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    /* Extremely bold, large typography */
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bsb-color-text);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.bsb-cta-heading .bsb-line {
    display: block;
    overflow: hidden;
    /* For clip-path / reveal animation */
    padding-bottom: 0.1em;
}

/* Subtext Styling */
.bsb-cta-subtext {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    /* Modern, readable size */
    line-height: 1.5;
    color: #333;
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 900px;
    letter-spacing: -0.01em;
}

/* Button Wrapper & Interaction */
.bsb-cta-btn-wrapper {
    display: block;
}

.bsb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2.5rem;
    border: 1.5px solid var(--bsb-color-text);
    border-radius: 60px;
    /* Pill/Capsule shape */
    font-family: var(--bsb-font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bsb-color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.bsb-cta-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Premium Hover Effect */
.bsb-cta-btn:hover {
    background: var(--bsb-color-text);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bsb-cta-btn:hover svg {
    transform: translateX(6px) scale(1.1);
}

/* Reveal Init States (Hidden for GSAP) */
.bsb-cta-heading .bsb-line span {
    display: inline-block;
    transform: translateY(110%);
}

.bsb-cta-subtext,
.bsb-cta-btn-wrapper {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .bsb-cta-section {
        padding: 8rem 0;
    }

    .bsb-cta-heading {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .bsb-cta-section {
        padding: 6rem 0;
    }

    .bsb-cta-heading {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .bsb-cta-subtext {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .bsb-cta-btn {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
}