/* =========================================================
   ABOUT STORY BLOCK — BEM
   White bg | copy + stat rows LEFT | image RIGHT
   ========================================================= */

.smartfix-about-story {
    background: var(--sf-bg-white);
    padding: var(--sf-padding-section) 80px;
}

.smartfix-about-story__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ── LEFT: copy ── */
.smartfix-about-story__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.smartfix-about-story__headline {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: var(--sf-fs-h2);
    line-height: 1.12;
    color: var(--sf-text-dark);
    margin: 0;
}

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

.smartfix-about-story__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;
}

.smartfix-about-story__body p {
    margin: 0 0 12px;
}

.smartfix-about-story__body p:last-child {
    margin-bottom: 0;
}

/* ── Stat rows ── */
.smartfix-about-story__stats {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.smartfix-about-story__stat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sf-border-color);
}

.smartfix-about-story__stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.smartfix-about-story__stat-value {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    color: var(--sf-color-primary);
    flex-shrink: 0;
    min-width: 92px;
}

.smartfix-about-story__stat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.smartfix-about-story__stat-label {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: 17px;
    color: var(--sf-text-dark);
}

.smartfix-about-story__stat-desc {
    font-family: var(--sf-font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--sf-text-muted);
}

/* ── RIGHT: image ── */
.smartfix-about-story__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 560px;
}

.smartfix-about-story__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.smartfix-about-story__image-wrap:hover .smartfix-about-story__image {
    transform: scale(1.04);
}

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

@media (max-width: 1280px) {
    .smartfix-about-story__headline {
        font-size: clamp(30px, 4vw, var(--sf-fs-h2));
    }
}

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

    .smartfix-about-story__inner {
        gap: 40px;
    }

    .smartfix-about-story__image-wrap {
        height: 460px;
    }
}

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

    .smartfix-about-story__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Image first once stacked — it sets the scene before the copy. */
    .smartfix-about-story__image-wrap {
        order: -1;
        height: 300px;
    }

    .smartfix-about-story__headline {
        font-size: 26px;
    }

    .smartfix-about-story__stat-value {
        font-size: 28px;
        min-width: 76px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .smartfix-about-story__image {
        transition: none;
    }

    .smartfix-about-story__image-wrap:hover .smartfix-about-story__image {
        transform: none;
    }
}
