/* =========================================================
   DOOR RECOMMENDATION GUIDE BLOCK — BEM
   Centered header + zigzag rows (image | number+vline | content)
   Odd rows: image LEFT  | center | content RIGHT
   Even rows: content LEFT | center | image RIGHT (via CSS order)
   ========================================================= */

.smartfix-guide {
    background: var(--sf-bg-white);
    padding: var(--sf-padding-section) 0;
}

/* =========================================================
   HEADER — centered
   ========================================================= */

.smartfix-guide__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 72px;
}

.smartfix-guide__tag {
    font-size: 13px;
    letter-spacing: 0.12em;
}

.smartfix-guide__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-guide__headline-line2 {
    display: block;
}

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

.smartfix-guide__sub {
    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;
    max-width: 560px;
}

.smartfix-guide__sub p {
    margin: 0;
}

/* =========================================================
   ZIGZAG ROWS
   ========================================================= */

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

/* Each row: 3 columns — image | center | content */
.smartfix-guide__row {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: stretch;
    column-gap: 32px;
}

/* ── Image column ── */
.smartfix-guide__img-col {
    border-radius: 0;
    overflow: hidden;
    min-height: 420px;
    order: 1;
}

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

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

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

    .smartfix-guide__img-col:hover .smartfix-guide__img,
    .smartfix-guide__img-col:focus-within .smartfix-guide__img {
        transform: none;
    }
}

/* ── Center: number + teal vertical line ── */
.smartfix-guide__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
    order: 2;
}

.smartfix-guide__number {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.18);
    letter-spacing: -2px;
    flex-shrink: 0;
}

.smartfix-guide__vline {
    width: 2px;
    flex: 1;
    background: var(--sf-color-primary);
    margin-top: 16px;
    min-height: 60px;
    border-radius: 2px;
}

/* ── Content column ── */
.smartfix-guide__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 0 32px 56px;
    justify-content: center;
    order: 3;
}

/* ── Even rows: swap image (order: 3) and content (order: 1) ── */
.smartfix-guide__row--even .smartfix-guide__img-col {
    order: 3;
}

.smartfix-guide__row--even .smartfix-guide__center {
    order: 2;
}

.smartfix-guide__row--even .smartfix-guide__content {
    order: 1;
    padding: 32px 56px 32px 0;
}

/* =========================================================
   CONTENT AREA
   ========================================================= */

.smartfix-guide__title {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: clamp(28px, 2.6vw, 38px);
    color: var(--sf-text-dark);
    margin: 0;
    line-height: 1.1;
}

.smartfix-guide__desc {
    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-guide__desc p {
    margin: 0;
}

/* Meta: Best For + Key Advantage */
.smartfix-guide__meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.smartfix-guide__meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smartfix-guide__meta-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.smartfix-guide__meta-icon {
    display: flex;
    align-items: center;
    color: var(--sf-color-primary);
    flex-shrink: 0;
}

.smartfix-guide__meta-icon svg {
    width: 22px;
    height: 22px;
}

.smartfix-guide__meta-label {
    font-family: var(--sf-font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--sf-text-dark);
    line-height: 1.2;
}

.smartfix-guide__meta-text {
    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;
    padding-left: 32px;
}

/* CTA text link */
.smartfix-guide__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sf-font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--sf-color-primary);
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: 8px;
}

.smartfix-guide__cta:hover {
    gap: 14px;
    color: var(--sf-color-primary);
}

.smartfix-guide__cta-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.smartfix-guide__cta:hover .smartfix-guide__cta-arrow {
    transform: translateX(3px);
}

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

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

    .smartfix-guide__content {
        padding-left: 36px;
    }

    .smartfix-guide__row--even .smartfix-guide__content {
        padding-right: 36px;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    .smartfix-guide__row {
        grid-template-columns: 1fr 72px 1fr;
    }

    .smartfix-guide__number {
        font-size: 56px;
    }

    .smartfix-guide__rows {
        gap: 60px;
    }
}

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

    .smartfix-guide__inner {
        padding: 0 20px;
    }

    .smartfix-guide__header {
        margin-bottom: 36px;
    }

    .smartfix-guide__headline {
        font-size: 26px;
    }

    .smartfix-guide__rows {
        gap: 40px;
    }

    /* Stack: image top, center hidden, content below */
    .smartfix-guide__row,
    .smartfix-guide__row--even {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .smartfix-guide__img-col,
    .smartfix-guide__row--even .smartfix-guide__img-col {
        order: 1;
        min-height: 240px;
    }

    .smartfix-guide__center,
    .smartfix-guide__row--even .smartfix-guide__center {
        display: none;
    }

    .smartfix-guide__content,
    .smartfix-guide__row--even .smartfix-guide__content {
        order: 2;
        padding: 24px 0 0;
        padding-left: 0;
        padding-right: 0;
    }
}

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

    .smartfix-guide__meta-text {
        padding-left: 0;
    }
}
