/* =========================================================
   SERVICES HERO — BG IMAGE SECTION
   Mirror of home hero grid:
   TOP-LEFT: white body-wrap | BOTTOM: pills(LEFT) + accent(white, RIGHT ~20%)
   ========================================================= */

.smartfix-shero-bg {
    position: relative;
    height: 580px;
    background-size: cover;
    background-position: center 55%;
    overflow: hidden;
}

/* =========================================================
   TOP-LEFT: white content box
   ========================================================= */

.smartfix-shero-bg__body-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 48%;
    max-height: 280px;
    background: var(--sf-bg-white);
    padding: 36px 48px 36px 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
}

.smartfix-shero-bg__headline {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1.12;
    color: var(--sf-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.smartfix-shero-bg__headline .sf-highlight {
    color: var(--sf-color-primary);
}

.smartfix-shero-bg__body {
    font-family: var(--sf-font-body);
    font-size: var(--sf-fs-body);
    line-height: var(--sf-lh-body);
    color: var(--sf-text-muted);
    margin: 0;
}

/* =========================================================
   BOTTOM ROW: pills (LEFT) + white accent (RIGHT)
   ========================================================= */

.smartfix-shero-bg__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 170px;
    display: flex;
}

/* Pills — left side, dark translucent (like home hero but on left) */
.smartfix-shero-bg__pills {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.smartfix-shero-bg__pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 8px;
    text-align: center;
    background: rgba(7, 18, 18, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.smartfix-shero-bg__pill:last-child {
    border-right: none;
}

.smartfix-shero-bg__pill-number {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: var(--sf-text-white);
}

.smartfix-shero-bg__pill-label {
    font-family: var(--sf-font-body);
    font-weight: 700;
    font-size: 11px;
    line-height: 1.4;
    color: var(--sf-text-white-72);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* White accent box — bottom RIGHT (mirror of home hero's bottom-left accent) */
.smartfix-shero-bg__accent {
    width: 20%;
    flex-shrink: 0;
    background: var(--sf-bg-white);
}

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

@media (max-width: 1280px) {
    .smartfix-shero-bg__body-wrap {
        padding: 32px 40px 32px 48px;
    }
}

@media (max-width: 1024px) {
    .smartfix-shero-bg {
        height: 520px;
    }

    .smartfix-shero-bg__body-wrap {
        padding: 28px 32px 28px 40px;
        max-height: 260px;
    }

    .smartfix-shero-bg__bottom {
        height: 160px;
    }
}

@media (max-width: 834px) {
    .smartfix-shero-bg {
        height: auto;
        min-height: 520px;
    }

    .smartfix-shero-bg__body-wrap {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-height: none;
        padding: 32px 20px;
        background: var(--sf-bg-white);
    }

    .smartfix-shero-bg__bottom {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        height: auto;
        min-height: 120px;
    }

    .smartfix-shero-bg__accent {
        display: none;
    }

    .smartfix-shero-bg__pills {
        flex-wrap: wrap;
    }

    .smartfix-shero-bg__pill {
        flex-basis: 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 8px;
        min-height: 80px;
    }

    .smartfix-shero-bg__pill:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .smartfix-shero-bg__pill-number {
        font-size: 20px;
    }

    .smartfix-shero-bg__pill-label {
        font-size: 10px;
    }
}

@media (max-width: 375px) {
    .smartfix-shero-bg__body-wrap {
        padding: 28px 16px;
    }
}
