/* =========================================================
   ABOUT BLOCK — BEM
   TOP ROW:  image (border frame + overlay + pills) | copy (tag/h2/body/cta)
   BTM ROW:  features (icon+title+desc) | image2 + accent box
   ========================================================= */

.smartfix-about {
    background-color: var(--sf-bg-dark-2);
    padding: var(--sf-padding-section) 0;
}

.smartfix-about__inner {
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* =========================================================
   TOP ROW
   ========================================================= */

.smartfix-about__top {
    display: flex;
    gap: 48px;
    align-items: center;
}

/* ── LEFT: image ── */
.smartfix-about__left {
    width: 44%;
    flex-shrink: 0;
}

.smartfix-about__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

/* Inset border frame */
.smartfix-about__image-wrap::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
}

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

.smartfix-about__image-wrap:hover .smartfix-about__image,
.smartfix-about__image-wrap:focus-within .smartfix-about__image {
    transform: scale(1.05);
}

.smartfix-about__image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(7, 18, 18, 0.85) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Overlay: headline + body + pills */
.smartfix-about__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smartfix-about__overlay-headline {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
    color: var(--sf-text-white);
    margin: 0;
}

.smartfix-about__overlay-body {
    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;
}

/* Horizontal pills: ● Installation ● Maintenance … */
.smartfix-about__overlay-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.smartfix-about__overlay-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sf-font-body);
    font-size: var(--sf-fs-body);
    font-weight: 500;
    color: var(--sf-text-white);
}

.smartfix-about__overlay-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sf-text-white);
    flex-shrink: 0;
}

/* ── RIGHT: copy ── */
.smartfix-about__right {
    flex: 1;
    min-width: 0;
}

.smartfix-about__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}

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

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

.smartfix-about__body {
    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;
}

/* =========================================================
   BOTTOM ROW
   ========================================================= */

.smartfix-about__btm {
    display: flex;
    gap: 48px;
    /* stretch, not flex-start — the image column fills the row's full
       height rather than sitting at a fixed 300px next to taller text. */
    align-items: stretch;
}

/* ── LEFT: features ── */
.smartfix-about__features-col {
    width: 44%;
    flex-shrink: 0;
}

.smartfix-about__features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.smartfix-about__feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.smartfix-about__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--sf-color-primary-12);
    color: var(--sf-color-primary);
    flex-shrink: 0;
    border: 1px solid rgba(12, 174, 157, 0.25);
}

.smartfix-about__feature-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.smartfix-about__feature-title {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: var(--sf-fs-h4);
    color: var(--sf-text-white);
    margin: 0;
}

.smartfix-about__feature-desc {
    font-family: var(--sf-font-body);
    font-size: var(--sf-fs-body);
    line-height: var(--sf-lh-body);
    color: var(--sf-text-white);
    margin: 0;
}

.smartfix-about__feature-desc p {
    margin: 0;
}

/* ── RIGHT: image2 + accent box ── */
.smartfix-about__image2-col {
    flex: 1;
    display: flex;
    gap: 0;
    min-width: 0;
}

.smartfix-about__image2-wrap {
    position: relative;
    width: 76%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0;
}

.smartfix-about__image2 {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.smartfix-about__image2-wrap:hover .smartfix-about__image2,
.smartfix-about__image2-wrap:focus-within .smartfix-about__image2 {
    transform: scale(1.05);
}

.smartfix-about__image2-accent {
    flex: 1;
    background-color: var(--sf-color-primary);
    border-radius: 0;
}

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

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

@media (max-width: 1024px) {
    .smartfix-about__top,
    .smartfix-about__btm {
        gap: 32px;
    }

    .smartfix-about__left,
    .smartfix-about__features-col {
        width: 46%;
    }
}

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

    .smartfix-about__inner {
        padding: 0 20px;
        gap: 40px;
    }

    .smartfix-about__top,
    .smartfix-about__btm {
        flex-direction: column;
        gap: 28px;
        padding-left: 0;
        padding-right: 0;
    }

    .smartfix-about__left,
    .smartfix-about__features-col {
        width: 100%;
    }

    .smartfix-about__image {
        height: 320px;
    }

    .smartfix-about__headline {
        font-size: 28px;
        line-height: 1.15;
    }

    .smartfix-about__image2-col {
        width: 100%;
    }

    .smartfix-about__image2-wrap {
        width: 100%;
    }

    .smartfix-about__image2 {
        height: 220px;
        min-height: 0;
    }

    .smartfix-about__image2-accent {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .smartfix-about__image,
    .smartfix-about__image2 {
        transition: none;
    }

    .smartfix-about__image-wrap:hover .smartfix-about__image,
    .smartfix-about__image-wrap:focus-within .smartfix-about__image,
    .smartfix-about__image2-wrap:hover .smartfix-about__image2,
    .smartfix-about__image2-wrap:focus-within .smartfix-about__image2 {
        transform: none;
    }
}

@media (max-width: 375px) {
    .smartfix-about__inner {
        padding: 0 16px;
    }

    .smartfix-about__image {
        height: 260px;
    }

    .smartfix-about__overlay-headline {
        font-size: 20px;
    }

    .smartfix-about__overlay-pills {
        gap: 10px;
    }

    .smartfix-about__overlay-pill {
        font-size: 13px;
    }
}
