.home { padding-bottom: 1.5rem; }

/* Search bar (shared between mobile and hero) */
.search-bar {
    display: flex;
    align-items: center;
    background: #F0F0F0;
    border-radius: var(--radius-lg);
    padding: 0 0.875rem;
    gap: 0.5rem;
    height: 2.75rem;
}

.search-bar__icon { color: var(--color-text-secondary); flex-shrink: 0; }
.search-bar__icon--pin { color: var(--color-primary); }

.search-bar__input {
    flex: 1;
    border: none;
    background: none;
    font-size: 0.875rem;
    color: var(--color-text);
    outline: none;
    font-family: inherit;
}

.search-bar__input::placeholder { color: var(--color-text-muted); }

.search-bar__btn {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 1.125rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.search-bar__btn:hover { background: var(--color-primary-dark); }

/* Mobile search strip */
.home__mobile-search {
    padding: 0.75rem var(--page-gutter);
    background: var(--color-surface);
    border-bottom: 0.0625rem solid var(--color-border);
}

/* Section headers */
.home__section-header {
    padding: 1.25rem var(--page-gutter) 0.75rem;
}

.home__section-header h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.125rem;
}

.home__section-sub {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

/* Location nudge banner */
.home__location-nudge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.75rem var(--page-gutter) 0;
    padding: 0.75rem 1rem;
    background: var(--color-primary-light);
    border: 0.0625rem solid #fcd9c4;
    border-radius: var(--radius-md);
    gap: 0.5rem;
}

.home__location-nudge-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.home__location-nudge-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.home__location-nudge-text {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    flex: 1;
    min-width: 0;
}

.home__location-nudge-btn {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.home__location-nudge-btn:hover { background: var(--color-primary-dark); }

.home__location-nudge-dismiss {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--color-text-muted);
    padding: 0.125rem 0.25rem;
    flex-shrink: 0;
}

.home__location-nudge-dismiss:hover { color: var(--color-text-secondary); }

/* Login banner (mobile only) */
.home__login-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.25rem var(--page-gutter) 0;
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 0.0625rem solid var(--color-border);
    gap: 0.75rem;
}

.home__login-banner p {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.home__login-btn {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.home__login-btn:hover { background: var(--color-primary-dark); }

/* Hero (desktop only) */
.home__hero { display: none; }

/* Steps / how-it-works (desktop only) */
.home__steps { display: none; }

/* CTA banner (desktop only) */
.home__cta { display: none; }

/* ── Desktop ── */
@media (min-width: 48rem) {
    .home__mobile-search { display: none; }
    .home__login-banner { display: none; }

    /* Hero */
    .home__hero {
        display: block;
        background: linear-gradient(135deg, #fff9f6 0%, #fff 60%);
        border-bottom: 0.0625rem solid var(--color-border);
        padding: 4rem 0;
    }

    .home__hero-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 var(--page-gutter);
    }

    .home__hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        background: var(--color-primary-light);
        border: 0.0625rem solid #fcd9c4;
        color: var(--color-primary-dark);
        font-size: 0.8125rem;
        font-weight: 600;
        padding: 0.3125rem 0.75rem;
        border-radius: 999px;
        margin-bottom: 1rem;
    }

    .home__hero-badge-dot {
        width: 0.4375rem;
        height: 0.4375rem;
        border-radius: 50%;
        background: #22c55e;
        flex-shrink: 0;
    }

    .home__hero-headline {
        font-size: 2.625rem;
        font-weight: 800;
        line-height: 1.15;
        color: var(--color-text);
        margin-bottom: 1rem;
        letter-spacing: -0.03125rem;
    }

    .home__hero-accent { color: var(--color-primary); }

    .home__hero-sub {
        font-size: 1rem;
        color: var(--color-text-secondary);
        line-height: 1.7;
        margin-bottom: 1.75rem;
        max-width: 27.5rem;
    }

    .search-bar--hero {
        background: #fff;
        border: 0.09375rem solid var(--color-border);
        height: 3.25rem;
        border-radius: var(--radius-lg);
        padding: 0 0.375rem 0 1rem;
        max-width: 31.25rem;
        margin-bottom: 1.75rem;
        box-shadow: var(--shadow-card);
    }

    .home__hero-stats {
        display: flex;
        gap: 2rem;
    }

    .home__stat {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
    }

    .home__stat-value {
        font-size: 1.375rem;
        font-weight: 800;
        color: var(--color-text);
    }

    .home__stat-suffix {
        color: var(--color-primary);
    }

    .home__stat-suffix--star {
        font-size: 1.125rem;
    }

    .home__stat-label {
        font-size: 0.75rem;
        color: var(--color-text-secondary);
    }

    /* How it works */
    .home__steps {
        display: block;
        background: var(--color-surface);
        border-bottom: 0.0625rem solid var(--color-border);
        padding: 3rem 0;
    }

    .home__steps-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 var(--page-gutter);
    }

    .home__steps-eyebrow {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--color-primary);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
    }

    .home__steps-title {
        font-size: 1.625rem;
        font-weight: 700;
        text-align: left;
        margin-bottom: 2.25rem;
        color: var(--color-text);
    }

    .home__steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .step-card {
        text-align: left;
        padding: 0;
    }

    .step-card__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.75rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }

    .step-card__icon--orange { background: rgba(239, 104, 32, 0.1); }
    .step-card__icon--indigo { background: rgba(29, 78, 216, 0.1); }
    .step-card__icon--green { background: rgba(37, 211, 102, 0.1); }

    .step-card h3 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: var(--color-text);
    }

    .step-card p {
        font-size: 0.875rem;
        color: var(--color-text-secondary);
        line-height: 1.6;
    }

    /* Location nudge (constrain to match section content width) */
    .home__location-nudge {
        max-width: calc(var(--max-width) - 2 * var(--page-gutter));
        margin-left: auto;
        margin-right: auto;
    }

    /* Section headers (desktop wider) */
    .home__section-header {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 2rem var(--page-gutter) 1rem;
    }

    .home__section-header h2 { font-size: 1.375rem; }
    .home__section-sub { font-size: 0.875rem; }

    .home__categories,
    .home__providers {
        max-width: var(--max-width);
        margin: 0 auto;
    }

    /* CTA banner */
    .home__cta {
        display: block;
        margin: 2.5rem auto 0;
        max-width: var(--max-width);
        padding: 0 var(--page-gutter);
    }

    .home__cta-inner {
        background: linear-gradient(135deg, var(--color-primary) 0%, #ff8c55 100%);
        border-radius: var(--radius-lg);
        padding: 2.5rem 3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        color: #fff;
    }

    .home__cta-copy h2 {
        font-size: 1.375rem;
        font-weight: 800;
        margin-bottom: 0.375rem;
        color: #fff;
    }

    .home__cta-copy p {
        font-size: 0.875rem;
        opacity: 0.9;
        max-width: 30rem;
    }

    .home__cta-btn {
        background: #fff;
        color: var(--color-primary);
        font-size: 0.875rem;
        font-weight: 700;
        padding: 0.75rem 1.75rem;
        border-radius: var(--radius-md);
        white-space: nowrap;
        flex-shrink: 0;
        transition: opacity 0.15s;
    }

    .home__cta-btn:hover { opacity: 0.9; }
}
