/*
* CTA Spotlight Block
* Lavender panel with the line pattern: mark, headline with a purple highlight, text and button.
* Builds on home-blocks-shared.css.
*/

.bhh-cta {
    padding-top: 120px;
    background: #FFFFFF;
}
.bhh-cta__panel {
    position: relative;
    overflow: hidden;
    padding: 88px 64px;
    border-radius: 28px;
    background: var(--bhh-lavender);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}
.bhh-cta .bhh-cta__pattern {
    width: 140%;
    opacity: 0.32;
}
.bhh-cta__panel > :not(.bhh-cta__pattern) {
    position: relative;
}
.bhh-cta .bhh-cta__icon {
    width: 56px;
    height: 56px;
}
.bhh-cta .bhh-cta__title {
    margin-top: 6px;
    font-size: 52px;
    line-height: 1.08;
    text-wrap: balance;
}
.bhh-cta .bhh-cta__desc {
    font-size: 19px;
    line-height: 1.5;
    color: var(--bhh-muted);
}
.bhh-cta .bhh-cta__btn {
    margin-top: 12px;
    padding: 12px 28px;
    min-height: 56px;
    box-shadow: 0 4px 12px rgba(22, 22, 22, 0.08);
}

@media (max-width: 991px) {
    .bhh-cta .bhh-cta__title {
        font-size: 44px;
    }
}
/* Mobile design: 22px radius, full-width button */
@media (max-width: 767px) {
    .bhh-cta {
        padding-top: 56px;
    }
    .bhh-cta__panel {
        padding: 48px 22px;
        border-radius: 22px;
        gap: 14px;
    }
    .bhh-cta .bhh-cta__pattern {
        width: 380%;
        bottom: -80px;
        opacity: 0.3;
    }
    .bhh-cta .bhh-cta__icon {
        width: 48px;
        height: 48px;
    }
    .bhh-cta .bhh-cta__title {
        margin-top: 0;
        font-size: 32px;
        line-height: 1.1;
    }
    .bhh-cta .bhh-cta__desc {
        font-size: 16px;
    }
    .bhh-cta .bhh-cta__btn {
        align-self: stretch;
        margin-top: 8px;
        min-height: 48px;
    }
}

/* Pattern "Waves" (product page): wave lines, faded out behind the text */
.bhh-cta .bhh-cta__waves {
    width: 100%;
    max-width: none;
    bottom: 0;
    opacity: 1;
    color: rgba(78, 43, 205, 0.14);
    -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, transparent 30%, #000 85%);
    mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, transparent 30%, #000 85%);
}
@media (max-width: 767px) {
    .bhh-cta .bhh-cta__waves {
        width: 100%;
        bottom: 0;
        opacity: 1;
    }
}

/*
* Style "Dark gradient" (pricing page): no panel; the section fades from purple (top) to navy, 120px above
* and below, DM Sans headline in white with a teal highlight, purple button. The headline is not balanced
* and its box is 680 wide, so on desktop it breaks before "hiring process" as in the design.
*/
.bhh-cta.bhh-cta--dark,
.faq-block--split + .bhh-cta.bhh-cta--dark {
    padding: 0;
    background: linear-gradient(0deg, #081528 37%, #4E2BCD 100%);
}
.bhh-cta--dark .bhh-container {
    max-width: calc(1200px + 96px);
    padding-left: 48px;
    padding-right: 48px;
}
.bhh-cta--dark .bhh-cta__panel {
    padding: 120px 0;
    border-radius: 0;
    background: none;
    gap: 0;
}
.bhh-cta.bhh-cta--dark .bhh-cta__title {
    max-width: 680px;
    margin: 0 0 32px;
    font-family: var(--bhh-font);
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #F8F9FB;
    text-wrap: wrap;
}
.bhh-cta--dark .bhh-cta__title .bhh-highlight {
    color: #28E7C5;
}
.bhh-cta.bhh-cta--dark .bhh-cta__desc {
    max-width: 600px;
    margin: -16px 0 32px;
    color: #D6D8EA;
}
.bhh-cta.bhh-cta--dark .bhh-cta__btn {
    margin-top: 0;
    min-height: 0;
    padding: 16px 28px;
    background: #4E2BCD;
    box-shadow: none;
    font-size: 17px;
    line-height: normal;
    color: #F8F9FB;
}
.bhh-cta.bhh-cta--dark .bhh-cta__btn:hover,
.bhh-cta.bhh-cta--dark .bhh-cta__btn:focus-visible {
    background: #3D1FB0;
}
.bhh-cta.bhh-cta--dark .bhh-cta__btn:focus-visible {
    outline-color: #28E7C5;
}
@media (max-width: 1279px) {
    .bhh-cta--dark .bhh-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 991px) {
    .bhh-cta.bhh-cta--dark .bhh-cta__title {
        font-size: 44px;
    }
}
/* Mobile design: 72px above and below, headline 32, the button keeps its own width */
@media (max-width: 767px) {
    .bhh-cta--dark .bhh-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .bhh-cta--dark .bhh-cta__panel {
        padding: 72px 0;
    }
    .bhh-cta.bhh-cta--dark .bhh-cta__title {
        font-size: 32px;
        line-height: 1.2;
    }
    .bhh-cta.bhh-cta--dark .bhh-cta__btn {
        align-self: center;
        width: auto;
        margin-top: 0;
    }
}
