/* =========================================================
   ABOUT CTA BLOCK — BEM
   Closing band | optional bg photo + scrim | centered copy + CTAs
   ========================================================= */

.smartfix-about-cta {
    position: relative;
    background-color: var(--sf-bg-dark-1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--sf-padding-section) 80px;
    overflow: hidden;
}

.smartfix-about-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 18, 20, 0.82) 0%,
        rgba(10, 18, 20, 0.92) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* No photo behind it — the flat section colour is enough on its own. */
.smartfix-about-cta:not(.smartfix-about-cta--has-image) .smartfix-about-cta__overlay {
    display: none;
}

.smartfix-about-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.smartfix-about-cta__headline {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.12;
    color: var(--sf-text-white);
    margin: 0;
    max-width: 860px;
}

.smartfix-about-cta__headline .sf-highlight {
    color: var(--sf-color-primary);
}

.smartfix-about-cta__sub {
    font-family: var(--sf-font-body);
    font-size: var(--sf-fs-body);
    line-height: var(--sf-lh-body);
    color: var(--sf-text-white-72);
    margin: 0;
    max-width: 700px;
}

.smartfix-about-cta__sub p {
    margin: 0;
}

.smartfix-about-cta__cta-group {
    justify-content: center;
    margin-top: 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .smartfix-about-cta {
        padding: var(--sf-padding-section) 48px;
    }
}

@media (max-width: 834px) {
    .smartfix-about-cta {
        padding: 48px 20px;
    }
}

@media (max-width: 375px) {
    .smartfix-about-cta {
        padding: 40px 16px;
    }
}
