/**
 * Hajj 2027 journey page (/hajj/) — mobile-first.
 * Prefix: hj- (avoids collisions with hajj-interest.css).
 */

:root {
    --hj-green: #0b5d3b;
    --hj-green-dark: #07422a;
    --hj-green-soft: #f0f7f3;
    --hj-gold: #c8a24a;
    --hj-gold-soft: #fff8e6;
    --hj-ink: #21302a;
    --hj-muted: #5a6b63;
    --hj-line: #dfeae4;
    --hj-radius: 14px;
    --hj-shadow: 0 6px 24px rgba(11, 93, 59, .10);
    /* set by hajj-journey.js only when the site header is actually sticky */
    --hj-header-h: 0px;
}

/* ---------- shared ---------- */

.hj-ic {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.hj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    padding: .9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.hj-btn:active { transform: scale(.97); }

.hj-btn-gold {
    background: var(--hj-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 14px rgba(200, 162, 74, .4);
}

.hj-btn-gold:hover { color: #1a1a1a; box-shadow: 0 6px 20px rgba(200, 162, 74, .55); transform: translateY(-1px); }

.hj-btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(3px);
}

.hj-btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.hj-section-title {
    font-size: 1.6rem;
    line-height: 1.25;
    color: var(--hj-green);
    margin: 0 0 .5rem;
    text-align: center;
}

.hj-section-sub {
    color: var(--hj-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

/* anchor targets clear the sticky header + phase nav */
.hj-phase, .hj-timeline, .hj-packages, .hj-register, .hj-why, .hj-faqs, .hj-step {
    scroll-margin-top: calc(var(--hj-header-h) + 66px);
}

/* ---------- S1: hero ---------- */

.hj-hero {
    position: relative;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
    background:
        linear-gradient(170deg, rgba(4, 40, 26, .88) 0%, rgba(11, 93, 59, .78) 55%, rgba(4, 40, 26, .92) 100%),
        url(../images/makkah-background-800.webp) center 30% / cover no-repeat;
    color: #fff;
    padding: 2.75rem 1.25rem 3rem;
    text-align: center;
}

@media (min-width: 800px) {
    .hj-hero {
        background-image:
            linear-gradient(170deg, rgba(4, 40, 26, .88) 0%, rgba(11, 93, 59, .74) 55%, rgba(4, 40, 26, .92) 100%),
            url(../images/makkah-background-1200.webp);
        padding: 4.5rem 1.5rem 5rem;
    }
}

.hj-hero-inner { max-width: 820px; margin: 0 auto; }

.hj-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--hj-gold);
    color: #1a1a1a;
    font-weight: 700;
    font-size: .9rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    margin: 0 0 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    text-align: left;
    line-height: 1.3;
}

.hj-hero-title { margin: 0 0 1rem; color: #fff; }

.hj-hero-kicker {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #e9d9ae;
    margin-bottom: .5rem;
}

.hj-hero-main {
    display: block;
    font-size: clamp(1.7rem, 5.5vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.hj-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .92);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.hj-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hj-hero-ctas .hj-btn { width: min(100%, 320px); }

@media (min-width: 600px) {
    .hj-hero-ctas { flex-direction: row; justify-content: center; }
    .hj-hero-ctas .hj-btn { width: auto; }
}

.hj-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hj-hero-trust li {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: .3rem .8rem;
}

/* ---------- S2: self-locator ---------- */

.hj-locator {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.25rem 1rem 1.5rem;
    text-align: center;
}

.hj-locator-title { font-size: 1.35rem; color: var(--hj-green); margin: 0 0 .25rem; }

.hj-locator-sub { color: var(--hj-muted); margin: 0 0 1.25rem; font-size: .95rem; }

.hj-locator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
}

.hj-locator-grid .hj-locator-card:last-child { grid-column: 1 / -1; }

@media (min-width: 760px) {
    .hj-locator-grid { grid-template-columns: repeat(5, 1fr); }
    .hj-locator-grid .hj-locator-card:last-child { grid-column: auto; }
}

.hj-locator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    background: var(--hj-green-soft);
    border: 1.5px solid var(--hj-line);
    border-radius: var(--hj-radius);
    padding: .9rem .5rem;
    text-decoration: none;
    color: var(--hj-ink);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.hj-locator-card:hover, .hj-locator-card.is-you {
    border-color: var(--hj-green);
    transform: translateY(-2px);
    box-shadow: var(--hj-shadow);
    color: var(--hj-ink);
}

.hj-locator-card.is-you { background: #fff; }

.hj-locator-num {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--hj-green);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hj-locator-card .hj-ic { color: var(--hj-green); width: 1.5em; height: 1.5em; }

.hj-locator-label { font-weight: 700; font-size: .85rem; line-height: 1.2; }

.hj-locator-window { font-size: .72rem; color: var(--hj-muted); }

/* ---------- S3: sticky phase nav ---------- */

.hj-phasenav {
    position: sticky;
    top: var(--hj-header-h);
    z-index: 900;
    /* solid background — backdrop blur on a sticky bar janks mobile scroll */
    background: #fff;
    border-top: 1px solid var(--hj-line);
    border-bottom: 1px solid var(--hj-line);
    /* full-bleed so no page content scrolls past its edges while stuck */
    width: 100vw;
    margin: .5rem 0 0 calc(50% - 50vw);
}

.hj-phasenav-track {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .55rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hj-phasenav-track::-webkit-scrollbar { display: none; }

.hj-phasenav-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 600;
    color: var(--hj-ink);
    background: var(--hj-green-soft);
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: .4rem .9rem .4rem .45rem;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.hj-phasenav-num {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--hj-line);
    color: var(--hj-green);
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hj-phasenav-chip:hover { color: var(--hj-green); }

.hj-phasenav-chip.is-active {
    background: var(--hj-green);
    color: #fff;
}

.hj-phasenav-chip.is-active .hj-phasenav-num { background: var(--hj-gold); border-color: var(--hj-gold); color: #1a1a1a; }

/* ---------- S4: journey ---------- */

.hj-journey { max-width: 860px; margin: 0 auto; padding: 1rem 1rem 2rem; }

.hj-phase { padding-top: 2.25rem; }

.hj-phase-head { text-align: center; margin-bottom: 1.75rem; }

.hj-phase-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hj-gold);
    margin-bottom: .4rem;
}

.hj-phase-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.hj-phase-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: var(--hj-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.hj-phase-icon .hj-ic { width: 1.35em; height: 1.35em; }

.hj-phase-title { font-size: 1.55rem; color: var(--hj-green); margin: 0; line-height: 1.2; }

.hj-phase-window {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .6rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--hj-green);
    background: var(--hj-green-soft);
    border: 1px solid var(--hj-line);
    border-radius: 999px;
    padding: .3rem .9rem;
}

.hj-phase-intro { color: var(--hj-muted); max-width: 560px; margin: .75rem auto 0; }

/* "you are here" marker set by the self-locator */
.hj-phase.is-you .hj-phase-eyebrow::after {
    content: " · You are here";
    color: var(--hj-green);
}

/* rail + steps */

.hj-steps { position: relative; padding-left: 3rem; }

.hj-rail {
    position: absolute;
    top: .25rem;
    bottom: .25rem;
    left: 1.25rem;
    width: 3px;
    border-radius: 3px;
    background: var(--hj-line);
    overflow: hidden;
}

.hj-rail-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--hj-green), var(--hj-gold));
    transform: scaleY(0);
    transform-origin: top;
    will-change: transform;
}

.hj-step { position: relative; margin-bottom: 1.4rem; }

.hj-step-marker {
    position: absolute;
    left: -3rem;
    top: .35rem;
    width: 2.5rem;
    display: flex;
    justify-content: center;
}

.hj-step-num {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--hj-line);
    color: var(--hj-muted);
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.hj-step.is-done .hj-step-num {
    background: var(--hj-green);
    border-color: var(--hj-green);
    color: #fff;
}

.hj-step-card {
    background: #fff;
    border: 1px solid var(--hj-line);
    border-radius: var(--hj-radius);
    padding: 1.1rem 1.15rem 1.15rem;
    box-shadow: 0 2px 10px rgba(11, 93, 59, .05);
    color: var(--hj-ink);
    line-height: 1.65;
}

.hj-step-card p { margin: 0 0 .8rem; }
.hj-step-card p:last-child { margin-bottom: 0; }
.hj-step-card a { color: var(--hj-green); font-weight: 600; text-decoration: underline; }

.hj-step-head {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: .65rem;
}

.hj-step-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 10px;
    background: var(--hj-green-soft);
    color: var(--hj-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.hj-step-title { font-size: 1.12rem; color: var(--hj-ink); margin: .15rem 0 0; line-height: 1.3; }

.hj-step-title-num {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hj-gold);
}

.hj-step-facts {
    list-style: none;
    margin: .9rem 0 0;
    padding: .8rem .95rem;
    background: var(--hj-green-soft);
    border-radius: 10px;
    font-size: .88rem;
}

.hj-step-facts li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: .35rem;
}

.hj-step-facts li:last-child { margin-bottom: 0; }

.hj-step-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .32em;
    width: .8em;
    height: .45em;
    border-left: 2.5px solid var(--hj-green);
    border-bottom: 2.5px solid var(--hj-green);
    transform: rotate(-45deg);
}

/* step reveal — only when JS adds hj-anim to <body> */
body.hj-anim .hj-step { opacity: 0; transform: translateY(18px); }
body.hj-anim .hj-step.is-visible { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* the five days of Hajj mini-timeline */

.hj-hajjdays { margin-top: 1rem; }

.hj-hajjdays-track {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem;
    scroll-snap-type: x mandatory;
}

.hj-hajjday {
    flex: 0 0 10.5rem;
    scroll-snap-align: start;
    background: var(--hj-green-soft);
    border: 1.5px solid var(--hj-line);
    border-radius: 12px;
    padding: .75rem .85rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.hj-hajjday.is-key { background: var(--hj-gold-soft); border-color: var(--hj-gold); }

.hj-hajjday-date { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hj-gold); }
.hj-hajjday.is-key .hj-hajjday-date { color: #9c7a26; }
.hj-hajjday-name { font-weight: 800; color: var(--hj-green); font-size: 1rem; }
.hj-hajjday-what { font-size: .8rem; color: var(--hj-muted); line-height: 1.4; }

/* ---------- S5: timeline table ---------- */

.hj-timeline { padding-top: 2.5rem; }

.hj-timeline-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--hj-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(11, 93, 59, .06);
}

.hj-timeline-table thead { display: none; }

.hj-timeline-table tr {
    display: block;
    border: 1px solid var(--hj-line);
    border-radius: 12px;
    margin-bottom: .6rem;
    padding: .8rem .95rem;
    background: #fff;
}

.hj-timeline-table tr.is-now { border-color: var(--hj-gold); background: var(--hj-gold-soft); }

.hj-timeline-table td { display: block; border: 0; padding: 0; }

.hj-timeline-table td[data-label="When"] {
    font-weight: 800;
    color: var(--hj-green);
    margin-bottom: .25rem;
}

.hj-timeline-table td[data-label="What happens"] { color: var(--hj-ink); font-size: .92rem; line-height: 1.55; }

.hj-now-badge {
    display: inline-block;
    background: var(--hj-gold);
    color: #1a1a1a;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .15rem .6rem;
    margin-left: .4rem;
    vertical-align: middle;
}

@media (min-width: 700px) {
    .hj-timeline-table { border: 1px solid var(--hj-line); }
    .hj-timeline-table thead { display: table-header-group; }
    .hj-timeline-table thead th {
        background: var(--hj-green);
        color: #fff;
        text-align: left;
        padding: .7rem 1rem;
        font-size: .85rem;
        letter-spacing: .05em;
        text-transform: uppercase;
    }
    .hj-timeline-table tr { display: table-row; border: 0; padding: 0; margin: 0; }
    .hj-timeline-table td { display: table-cell; padding: .8rem 1rem; border-top: 1px solid var(--hj-line); vertical-align: top; }
    .hj-timeline-table td[data-label="When"] { white-space: nowrap; margin: 0; }
}

/* ---------- S6: packages ---------- */

.hj-packages { max-width: 1000px; margin: 0 auto; padding: 2.5rem 1rem 1rem; }

.hj-tiers {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 760px) { .hj-tiers { grid-template-columns: repeat(3, 1fr); } }

.hj-tier {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--hj-line);
    border-radius: var(--hj-radius);
    padding: 1.4rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.hj-tier.is-featured { border-color: var(--hj-gold); box-shadow: var(--hj-shadow); }

.hj-tier-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hj-gold);
    color: #1a1a1a;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .2rem .75rem;
    white-space: nowrap;
}

.hj-tier-name { font-weight: 800; color: var(--hj-green); font-size: 1.05rem; }

.hj-tier-price { font-size: 1.35rem; font-weight: 800; color: var(--hj-ink); }
.hj-tier-price small { font-size: .8rem; font-weight: 600; color: var(--hj-muted); margin-left: .15rem; }

.hj-tier ul { list-style: none; margin: .6rem 0 0; padding: 0; font-size: .88rem; color: var(--hj-muted); }
.hj-tier li { padding-left: 1.2rem; position: relative; margin-bottom: .35rem; }
.hj-tier li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .34em;
    width: .75em;
    height: .4em;
    border-left: 2.5px solid var(--hj-gold);
    border-bottom: 2.5px solid var(--hj-gold);
    transform: rotate(-45deg);
}

.hj-packages-cta { text-align: center; }

/* ---------- S7: register (layout shell; form styled by hajj-interest.css) ---------- */

.hj-register { max-width: 1000px; margin: 0 auto; padding: 2rem 1rem 0; }

.hj-register .form-header h2 { color: var(--hj-green); }

/* ---------- S8: why ---------- */

.hj-why { max-width: 1000px; margin: 0 auto; padding: 2.75rem 1rem 0; }

.hj-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) { .hj-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .hj-why-grid { grid-template-columns: repeat(4, 1fr); } }

.hj-why-item {
    background: var(--hj-green-soft);
    border: 1px solid var(--hj-line);
    border-radius: var(--hj-radius);
    padding: 1.25rem 1.15rem;
    text-align: center;
}

.hj-why-item .hj-ic { width: 2em; height: 2em; color: var(--hj-green); margin-bottom: .5rem; }

.hj-why-item h3 { font-size: 1.02rem; color: var(--hj-green); margin: 0 0 .35rem; }

.hj-why-item p { font-size: .88rem; color: var(--hj-muted); margin: 0; line-height: 1.55; }

.hj-why-cta {
    text-align: center;
    margin: 1.5rem auto 0;
    background: var(--hj-gold-soft);
    border: 1px solid #f0dfa8;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    max-width: 640px;
    font-weight: 600;
}

.hj-why-cta a { color: var(--hj-green); font-weight: 800; }

/* ---------- S9: FAQ ---------- */

.hj-faqs { max-width: 860px; margin: 0 auto; padding: 2.75rem 1rem 0; }

.hj-faq-list details {
    border: 1px solid var(--hj-line);
    border-radius: 12px;
    padding: .85rem 1.05rem;
    margin-bottom: .6rem;
    background: #fff;
}

.hj-faq-list summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--hj-green);
    font-size: 1rem;
    line-height: 1.4;
}

.hj-faq-list details[open] summary { margin-bottom: .55rem; }

.hj-faq-list details p { margin: 0 0 .6rem; color: var(--hj-ink); line-height: 1.6; }
.hj-faq-list details p:last-child { margin-bottom: 0; }

/* ---------- S10: internal links ---------- */

.hj-links { max-width: 1000px; margin: 0 auto; padding: 2.75rem 1rem 3rem; }

.hj-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin-top: 1rem;
}

@media (min-width: 640px) { .hj-links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .hj-links-grid { grid-template-columns: repeat(4, 1fr); } }

.hj-link-card {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    background: #fff;
    border: 1.5px solid var(--hj-line);
    border-radius: var(--hj-radius);
    padding: 1.05rem 1.15rem;
    color: var(--hj-ink);
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hj-link-card:hover { border-color: var(--hj-green); box-shadow: var(--hj-shadow); color: var(--hj-ink); }

.hj-link-card span { font-size: .85rem; font-weight: 600; color: var(--hj-green); }

/* ---------- S11: sticky mobile CTA bar ---------- */

.hj-ctabar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: flex;
    gap: .6rem;
    align-items: center;
    padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--hj-line);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .3s ease;
}

.hj-ctabar.is-shown { transform: translateY(0); }

.hj-ctabar .hj-btn { flex: 1; padding: .8rem 1rem; font-size: .95rem; }

.hj-ctabar-tel {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--hj-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex: none;
    text-decoration: none;
}

.hj-ctabar-tel:hover { color: #fff; background: var(--hj-green-dark); }

.hj-ctabar-wa { background: #25d366; font-size: 1.45rem; }
.hj-ctabar-wa:hover { background: #1eb958; }

@media (min-width: 768px) { .hj-ctabar { display: none; } }

/* ---------- desktop journey: alternating cards ---------- */

@media (min-width: 900px) {
    .hj-journey { max-width: 940px; }

    .hj-steps { padding-left: 0; }

    .hj-rail { left: 50%; margin-left: -1.5px; }

    .hj-step { display: flex; margin-bottom: 1.75rem; }

    .hj-step-marker {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: .5rem;
        width: auto;
    }

    .hj-step-card { width: calc(50% - 2.6rem); }

    .hj-step:nth-child(odd of .hj-step) { justify-content: flex-start; }
    .hj-step:nth-child(even of .hj-step) { justify-content: flex-end; }
}

/* ---------- small screens: reclaim width ---------- */
/* .container already pads 20px each side — drop section padding and slim
   the rail gutter so cards get the full remaining width. */

@media (max-width: 699px) {
    .hj-journey,
    .hj-locator,
    .hj-packages,
    .hj-register,
    .hj-why,
    .hj-faqs,
    .hj-links {
        padding-left: 0;
        padding-right: 0;
    }

    .hj-steps { padding-left: 2.4rem; }

    .hj-rail { left: .95rem; }

    .hj-step-marker { left: -2.4rem; width: 2rem; }

    .hj-step-num {
        width: 1.85rem;
        height: 1.85rem;
        font-size: .8rem;
        border-width: 2px;
    }

    .hj-step-card { padding: 1rem .9rem 1rem; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    body.hj-anim .hj-step { opacity: 1; transform: none; }
    .hj-rail-fill { transform: scaleY(1) !important; }
    .hj-ctabar { transition: none; }
    .hj-btn, .hj-locator-card, .hj-link-card { transition: none; }
}
