/* ============================================================
   Location Spoke — How It Works
   File: assets/css/spoke/spoke-how.css
   Scope: .spoke-how__* classes only
   Figma: node 2198:1136 — cream section, eyebrow/H2/intro header,
   3 alternating image + white-card rows, bottom centered CTA.
   ============================================================ */

.spoke-how {
    background: var(--spoke-cream);
    color: var(--spoke-navy);
    overflow: hidden;
    scroll-margin-top: 100px;
}

.spoke-how__header {
    text-align: center;
    max-width: 825px;
    margin: 0 auto 50px;
}

/* Figma header: 14px gaps; H2 48px/-0.04em; intro = Body 16px navy */
.spoke-how__eyebrow {
    margin-bottom: 14px;
}

.spoke-how__heading {
    max-width: 700px;
    margin: 0 auto 14px;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.spoke-how__intro {
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin-bottom: 0;
}

/* ---- Alternating rows ---- */
.spoke-how__steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1220px;
    margin: 0 auto;
}

.spoke-how__step {
    display: flex;
    align-items: stretch;
    gap: 60px;
}

/* Reversed rows flip: image on the right, copy on the left */
.spoke-how__step--reverse {
    flex-direction: row-reverse;
}

.spoke-how__step-media {
    flex: 1 1 50%;
    min-width: 0;
}

.spoke-how__step-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--spoke-radius-card);
}

.spoke-how__step-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: var(--spoke-white);
    border-radius: 30px;
    padding: 50px;
}

.spoke-how__step-label {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--spoke-blue-2);
}

.spoke-how__step-title {
    margin: 0;
    font-family: var(--spoke-font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
}

.spoke-how__step-body {
    margin: 0;
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
}

.spoke-how__step-link {
    align-self: flex-start;
    margin-top: 6px;
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    color: var(--spoke-blue);
}

.spoke-how__step-link:hover {
    opacity: 0.85;
}

/* ---- Bottom CTA ---- */
.spoke-how__cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}


/* ============================
   RESPONSIVE — HOW IT WORKS
   ============================ */

@media (max-width: 1024px) {
    .spoke-how__heading {
        font-size: 40px;
    }

    .spoke-how__step {
        gap: 32px;
    }

    .spoke-how__step-content {
        padding: 36px;
    }

    .spoke-how__step-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .spoke-how__heading {
        font-size: 32px;
    }

    .spoke-how__step,
    .spoke-how__step--reverse {
        flex-direction: column;
        gap: 24px;
    }

    .spoke-how__step-media,
    .spoke-how__step-content {
        flex: 1 1 auto;
        width: 100%;
    }

    .spoke-how__step-img {
        min-height: 220px;
    }

    .spoke-how__step-content {
        padding: 28px;
    }

    .spoke-how__step-title {
        font-size: 28px;
    }
}
