/* =====================================================================
   OCCASOR — HOMEPAGE
   Builds on the tokens in modern.css.
   ===================================================================== */

.h-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.h-section { padding: 104px 0; }
.h-section-tint { background: var(--surface-2); }

/* ---------- Scroll reveal (modern.js adds .is-visible) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
/* Above the fold: animate on load rather than on scroll, so it is never hidden */
.h-hero-copy > *,
.h-hero-visual,
.h-stats { animation: h-rise .8s var(--ease) both; }
.h-hero-copy > :nth-child(2) { animation-delay: .06s; }
.h-hero-copy > :nth-child(3) { animation-delay: .12s; }
.h-hero-copy > :nth-child(4) { animation-delay: .18s; }
.h-hero-copy > :nth-child(5) { animation-delay: .24s; }
.h-hero-visual { animation-delay: .1s; }
.h-stats { animation-delay: .3s; }
@keyframes h-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.h-hero {
    position: relative;
    padding: 56px 0 8px;
    overflow: hidden;
    background:
        radial-gradient(50% 60% at 85% 20%, rgba(255, 138, 92, .16) 0%, rgba(255, 138, 92, 0) 70%),
        radial-gradient(40% 50% at 5% 0%, rgba(242, 82, 79, .10) 0%, rgba(242, 82, 79, 0) 70%),
        linear-gradient(180deg, #fffaf8 0%, #fff 100%);
}
.h-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.h-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 24px;
}
.h-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}
.h-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 22px;
}
.h-underline {
    position: relative;
    white-space: nowrap;
    color: var(--brand);
}
.h-underline svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.12em;
    width: 100%;
    height: .32em;
    color: #ffb199;
    z-index: -1;
}
.h-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 540px;
    margin: 0 0 32px;
}

/* Search (Airbnb-style segmented bar) */
.h-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .25), var(--shadow-sm);
    max-width: 620px;
}
.h-search-field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    margin: 0;
    border-radius: 16px;
    cursor: pointer;
    transition: background .2s var(--ease);
}
.h-search-field:hover,
.h-search-field:focus-within { background: var(--surface-2); }
.h-search-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 15px;
}
.h-search-text { display: flex; flex-direction: column; min-width: 0; width: 100%; }
.h-search-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
}
.h-search select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 2px 18px 2px 0;
    font-size: 15px;
    color: var(--muted);
    cursor: pointer;
    text-overflow: ellipsis;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    min-height: 0;
    box-shadow: none;
}
.h-search select:focus { outline: none; color: var(--ink); }
.h-search-divider { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }
.h-search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-brand);
    transition: transform .2s var(--ease), filter .2s var(--ease);
}
.h-search-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.h-search-btn:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }

.h-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13.5px;
    color: var(--muted);
}
.h-popular a {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 500;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.h-popular a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* Hero visual */
.h-hero-visual { position: relative; }
.h-hero-visual img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 30px 40px rgba(15, 23, 42, .18));
}
.h-hero-glow {
    position: absolute;
    inset: 10% 5% 5% 15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 92, .35) 0%, rgba(255, 138, 92, 0) 70%);
    filter: blur(20px);
}
.h-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: var(--shadow-lg);
    animation: h-float 6s ease-in-out infinite;
}
.h-float strong { display: block; font-size: 14px; color: var(--ink); font-family: var(--font-display); }
.h-float small { display: block; font-size: 12px; color: var(--muted); }
.h-float-a { left: -8px; top: 12%; }
.h-float-b { right: -8px; bottom: 10%; animation-delay: -3s; }
.h-float-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.h-float-icon.green { background: #dcfce7; color: #16a34a; }
.h-float-icon.coral { background: var(--brand-50); color: var(--brand); }
@keyframes h-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats strip */
.h-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 56px 0 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.h-stats li {
    list-style: none;
    padding: 22px 24px;
    border-left: 1px solid var(--line-soft);
}
.h-stats li:first-child { border-left: 0; }
.h-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.h-stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- Section heads ---------- */
.h-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.h-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0;
}
.h-head p { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.h-head-center { flex-direction: column; align-items: center; text-align: center; }
.h-head-center p { margin-left: auto; margin-right: auto; }
.h-head-actions { display: flex; align-items: center; gap: 8px; }
.h-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    padding: 10px 4px;
}
.h-link i { transition: transform .2s var(--ease); }
.h-link:hover { color: var(--brand); text-decoration: none; }
.h-link:hover i { transform: translateX(3px); }
.h-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.h-arrow:hover { border-color: var(--ink); }
.section-eyebrow.light { color: #ffb199; }
.section-eyebrow.light::before { background: #ffb199; }

/* ---------- Categories ---------- */
.h-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.h-cat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.h-cat:hover {
    text-decoration: none;
    color: var(--ink);
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.h-cat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: background .25s var(--ease);
}
.h-cat-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.h-cat-icon.no-img::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2524f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.h-cat:hover .h-cat-icon { background: var(--brand-100); }
.h-cat-name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.h-cat-arrow {
    font-size: 12px;
    color: var(--muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.h-cat:hover .h-cat-arrow { opacity: 1; transform: none; color: var(--brand); }
.h-empty {
    text-align: center;
    padding: 48px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    color: var(--muted);
}
.h-empty i { font-size: 28px; color: var(--brand); margin-bottom: 10px; }

/* ---------- Featured vendors rail ---------- */
.h-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 4px 12px;
    margin: -4px -4px 0;
}
.h-rail::-webkit-scrollbar { display: none; }
.h-vendor {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    color: var(--ink);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.h-vendor:hover { text-decoration: none; color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.h-vendor-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fbf6f1;
    overflow: hidden;
}
/* Shown when the vendor has no logo; a logo, when there is one, covers it. */
.h-vendor-mono {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 16px 14px;
    text-align: center;
}
.h-vendor-mono-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    font-family: var(--font-serif, Georgia, serif);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: .02em;
}
.h-vendor-mono-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-serif, Georgia, serif);
    font-size: 15px;
    line-height: 1.3;
    color: var(--ink);
}
.h-vendor-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    transition: transform .6s var(--ease);
}
.h-vendor:hover .h-vendor-media img { transform: scale(1.05); }
.h-vendor-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 14px;
}
.h-vendor-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(21, 18, 28, .08);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}
.h-vendor-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.h-vendor-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.h-vendor-top h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
}
.h-rating { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.h-rating i { color: #f59e0b; font-size: 12px; }
.h-rating em { font-style: normal; color: var(--muted); font-weight: 400; }
.h-rating.is-new {
    padding: 2px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11.5px;
}
.h-vendor-loc { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.h-vendor-loc i { font-size: 11px; margin-right: 4px; }
.h-vendor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.h-vendor-tags span {
    font-size: 11.5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line-soft);
    color: var(--text);
}
.h-vendor-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}
.h-price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.h-price small { font-family: var(--font-sans); font-weight: 400; font-size: 12px; color: var(--muted); }
.h-vendor-cta { font-size: 13.5px; font-weight: 600; color: var(--brand); }
.h-vendor-cta i { font-size: 11px; transition: transform .2s var(--ease); }
.h-vendor:hover .h-vendor-cta i { transform: translateX(3px); }

/* ---------- How it works (tabs + mock) ---------- */
.h-tabs {
    display: inline-flex;
    padding: 5px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    margin-top: 24px;
}
.h-tabs button {
    border: 0;
    background: transparent;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.h-tabs button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.h-steps-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.h-steps { margin: 0; padding: 0; position: relative; }
.h-steps[hidden] { display: none; }
.h-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-100), var(--line));
}
.h-steps li {
    list-style: none;
    position: relative;
    display: flex;
    gap: 20px;
    padding: 18px 20px 18px 0;
}
.h-step-num {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--brand-100);
    color: var(--brand);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
}
.h-steps li:first-child .h-step-num { background: var(--brand-gradient); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.h-steps h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 10px 0 6px;
    color: var(--ink);
}
.h-steps p { margin: 0; color: var(--muted); line-height: 1.7; }

.h-steps-visual {
    position: relative;
    padding: 40px;
    border-radius: 28px;
    background:
        radial-gradient(60% 60% at 80% 10%, rgba(255, 138, 92, .25) 0%, rgba(255, 138, 92, 0) 70%),
        radial-gradient(60% 60% at 0% 100%, rgba(99, 102, 241, .18) 0%, rgba(99, 102, 241, 0) 70%),
        var(--surface-2);
    border: 1px solid var(--line);
}
.h-mock {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}
.h-mock-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}
.h-mock-dots { display: inline-flex; gap: 5px; }
.h-mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.h-mock-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
}
.h-mock-row div { flex: 1; }
.h-mock-row strong { display: block; font-size: 14px; color: var(--ink); }
.h-mock-row small { font-size: 12.5px; color: var(--muted); }
.h-mock-ic {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.h-mock-ic.coral { background: var(--brand-50); color: var(--brand); }
.h-mock-ic.violet { background: #eef2ff; color: #4f46e5; }
.h-mock-ic.amber { background: #fffbeb; color: #d97706; }
.h-chip.ok {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
}
.h-mock-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: #fffbeb;
    font-size: 13px;
    font-weight: 500;
    color: #92400e;
}
.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, .6);
    animation: h-pulse 1.8s infinite;
}
@keyframes h-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .55); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ---------- Bento ---------- */
.h-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(190px, auto);
    gap: 18px;
}
.h-bento-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.h-bento-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.h-bento-lg {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #fff 0%, var(--brand-50) 100%);
}
.h-review-stack { position: relative; margin-top: auto; padding-top: 36px; }
.h-review {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-width: 380px;
}
.h-review.back {
    position: absolute;
    inset: 20px 24px auto auto;
    width: 80%;
    height: 70%;
    box-shadow: var(--shadow);
    transform: rotate(4deg);
    opacity: .7;
}
.h-review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.h-review-stars { color: #f59e0b; font-size: 13px; letter-spacing: 2px; }
.h-review-badge {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
}
.h-skel { display: block; height: 9px; border-radius: 999px; background: var(--line-soft); }
.h-skel.w90 { width: 90%; }
.h-skel.w70 { width: 70%; }
.h-skel.w40 { width: 40%; }
.h-bento-ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
}
.h-bento-lg .h-bento-ic { background: var(--brand-gradient); box-shadow: var(--shadow-brand); }
.h-bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 6px;
}
.h-bento-lg h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.h-bento-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.h-bento-lg p { font-size: 1.02rem; max-width: 380px; }

/* ---------- For vendors ---------- */
.h-biz {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
    align-items: center;
    padding: 64px;
    border-radius: 32px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    color: #fff;
}
.h-biz::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 16, 32, .96) 0%, rgba(11, 16, 32, .88) 45%, rgba(11, 16, 32, .55) 100%);
}
.h-biz h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 14px;
}
.h-biz-copy > p { color: rgba(226, 232, 240, .85); font-size: 1.08rem; max-width: 520px; margin: 0 0 24px; }
.h-checks { margin: 0 0 32px; padding: 0; }
.h-checks li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    color: #fff;
    font-family: var(--font-sans);
}
.h-checks i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 177, 153, .2);
    color: #ffb199;
    font-size: 10px;
}
.h-biz-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-biz .btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    transition: background .2s var(--ease);
}
.h-biz .btn-hero-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.h-biz-card {
    justify-self: end;
    width: 100%;
    max-width: 340px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.h-biz-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.h-biz-card-head strong { display: block; color: #fff; font-family: var(--font-display); }
.h-biz-card-head small { color: #86efac; font-size: 12.5px; }
.h-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--brand-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-display);
}
.h-biz-rows { display: grid; gap: 10px; }
.h-biz-rows div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    color: rgba(255, 255, 255, .92);
}
.h-biz-rows i { color: #ffb199; width: 16px; text-align: center; }

/* ---------- Final CTA ---------- */
.h-final {
    padding: 24px 0 112px;
    text-align: center;
}
.h-final h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 12px;
}
.h-final p { color: var(--muted); font-size: 1.08rem; margin: 0 0 28px; }
.h-final-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.h-final .theme-btn-one { padding: 15px 28px; }
.h-final .btn-ghost { padding: 14px 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .h-rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 991px) {
    .h-section { padding: 80px 0; }
    .h-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .h-hero-visual { max-width: 520px; margin: 0 auto; }
    .h-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .h-rail { grid-auto-columns: calc((100% - 20px) / 2); }
    .h-steps-wrap { grid-template-columns: 1fr; gap: 40px; }
    .h-bento { grid-template-columns: repeat(2, 1fr); }
    .h-biz { grid-template-columns: 1fr; padding: 48px 36px; }
    .h-biz-card { justify-self: start; }
    .h-stats { grid-template-columns: repeat(2, 1fr); }
    .h-stats li:nth-child(3) { border-left: 0; }
    .h-stats li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 767px) {
    .h-container { padding: 0 16px; }
    .h-section { padding: 64px 0; }
    .h-hero { padding: 36px 0 48px; }
    .h-search { flex-direction: column; align-items: stretch; border-radius: 20px; }
    .h-search-divider { width: auto; height: 1px; margin: 0 14px; }
    .h-search-btn { justify-content: center; height: 52px; }
    .h-float { display: none; }
    .h-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .h-cat { padding: 12px; gap: 10px; }
    .h-cat-icon { width: 42px; height: 42px; }
    .h-cat-arrow { display: none; }
    .h-rail { grid-auto-columns: 82%; }
    .h-head-actions .h-arrow { display: none; }
    .h-bento { grid-template-columns: 1fr; }
    .h-bento-lg { grid-column: auto; grid-row: auto; }
    .h-biz { padding: 36px 22px; border-radius: 24px; }
    .h-tabs button { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; }
    .h-hero-copy > *, .h-hero-visual, .h-stats { animation: none; }
    .h-float, .pulse { animation: none; }
}

/* =====================================================================
   v3 — Editorial photography + serif headlines
   ===================================================================== */
.h-hero { padding: 48px 0 8px; }
.h-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
.h-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.04;
    margin-bottom: 24px;
}
.h-hero h1 em { display: inline; }
.h-lead { font-size: 1.12rem; }

/* Photo gallery: one tall frame and two stacked frames */
.h-hero-visual { position: relative; padding: 18px 0 28px; }
.h-hero-glow { display: none; }
.h-gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: clamp(420px, 44vw, 580px);
}
.h-shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
    background: #f1e7e1;
    box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .35);
}
.h-shot img,
.h-hero-visual .h-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    filter: none;
    transition: transform 1.2s var(--ease);
}
.h-shot:hover img { transform: scale(1.04); }
.h-shot-main { grid-row: 1 / span 2; border-radius: 32px; }
.h-shot-main img { object-position: 50% 40%; }
.h-shot-top img { object-position: 50% 60%; }
.h-float-a { left: -28px; top: 54px; }
.h-float-b { right: -18px; bottom: 6px; }

/* Stats in serif numerals */
.h-stats strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.9rem; letter-spacing: -0.02em; }

/* Section headings */
.h-head h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.08; }
.h-head p { font-size: 1.06rem; }

/* Photo category cards */
.h-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 260px;
    gap: 18px;
}
.h-photo-card:nth-child(1) { grid-row: span 2; }
.h-photo-card:nth-child(4) { grid-column: 2 / span 2; }
.h-photo-card:nth-child(6) { grid-column: span 2; }
.h-photo-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: #2a1f24;
    isolation: isolate;
}
.h-photo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 1s var(--ease);
}
.h-photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 10, 12, 0) 40%, rgba(15, 10, 12, .78) 100%);
    transition: background .4s var(--ease);
}
.h-photo-card:hover { color: #fff; text-decoration: none; }
.h-photo-card:hover img { transform: scale(1.06); }
.h-photo-body {
    position: absolute;
    left: 24px;
    right: 72px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.h-photo-body strong {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.h-photo-card:nth-child(1) .h-photo-body strong { font-size: 2rem; }
.h-photo-body small { font-size: 14px; color: rgba(255, 255, 255, .82); }
.h-photo-go {
    position: absolute;
    right: 20px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 13px;
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.h-photo-card:hover .h-photo-go { background: #fff; color: var(--ink); transform: translateX(2px); }

.h-more {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
}
.h-more-label {
    flex-shrink: 0;
    padding-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.h-more-list { display: flex; flex-wrap: wrap; gap: 8px; }
.h-more-list a {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    color: var(--text);
    transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.h-more-list a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.h-more-list a.is-all { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Vendor panel over the ballroom photo */
.h-biz { background-position: center 40%; }
.h-biz::before {
    background: linear-gradient(90deg, rgba(14, 10, 18, .94) 0%, rgba(14, 10, 18, .82) 45%, rgba(14, 10, 18, .35) 100%);
}
.h-biz h2 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }

/* Final CTA */
.h-final h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }

/* Bento headline */
.h-bento-lg h3 { font-size: 1.9rem; line-height: 1.15; }

@media (max-width: 991px) {
    .h-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .h-hero-visual { max-width: none; }
    .h-gallery { height: 440px; }
    .h-float-a { left: 12px; }
    .h-float-b { right: 12px; }
    .h-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
    .h-photo-card:nth-child(1) { grid-row: span 1; grid-column: span 2; }
    .h-photo-card:nth-child(4) { grid-column: auto; }
    .h-photo-card:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 767px) {
    .h-hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
    .h-gallery { height: 340px; gap: 10px; grid-template-columns: 1.4fr 1fr; }
    .h-shot, .h-shot-main { border-radius: 20px; }
    .h-photo-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; gap: 12px; }
    .h-photo-card:nth-child(1), .h-photo-card:nth-child(6) { grid-column: auto; }
    .h-photo-body strong, .h-photo-card:nth-child(1) .h-photo-body strong { font-size: 1.35rem; }
    .h-more { flex-direction: column; gap: 12px; }
}

/* Keep the open panel above later sections (stats strip, floating cards) */
.h-search { position: relative; z-index: 30; }
@media (max-width: 767px) {
    html.cb-sheet-open body::after { z-index: 1001; }
    html.cb-sheet-open .h-search { z-index: 1002; }
}
/* An active transform animation would make the form the containing block
   for the fixed-position mobile sheet, so the search bar fades without it. */
.h-hero-copy > .h-search { animation: h-fade .8s var(--ease) .18s both; }
@keyframes h-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767px) { .h-hero-copy > .h-search { animation: none; } }

/* Let dropdowns hang below the hero; only clip sideways (decorative glows) */
.h-hero { overflow: visible; overflow-x: clip; }

/* Photo captions instead of floating cards */
.h-shot-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 10, 12, .45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .01em;
    color: #fff;
}
.h-shot-main .h-shot-tag { left: 18px; bottom: 18px; font-size: 13px; padding: 7px 14px; }

/* Trust row under the search */
.h-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    max-width: 620px;
}
.h-trust li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.h-trust i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
}
.h-trust li:nth-child(2) i { background: var(--brand-50); color: var(--brand); }
.h-trust li:nth-child(3) i { background: #fef3c7; color: #d97706; }

/* ---------- Hero: popular chips + trust row (aligned, single line) ---------- */
.h-popular { flex-wrap: nowrap; overflow: hidden; gap: 8px; margin-top: 18px; }
.h-popular > span { flex-shrink: 0; font-weight: 500; }
.h-popular a { flex-shrink: 0; padding: 6px 12px; font-size: 13px; white-space: nowrap; }

.h-trust {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0;
    margin: 26px 0 0;
    padding: 0;
    border-top: 0;
    max-width: none;
}
.h-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    border-left: 1px solid var(--line);
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    white-space: nowrap;
}
.h-trust li:first-child { padding-left: 0; border-left: 0; }
.h-trust li strong { font-weight: 600; color: var(--ink); }
.h-trust i,
.h-trust li:nth-child(2) i,
.h-trust li:nth-child(3) i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 12px;
    flex-shrink: 0;
}
@media (max-width: 575px) {
    .h-popular { flex-wrap: wrap; }
    .h-trust { grid-template-columns: 1fr; gap: 12px; }
    .h-trust li { padding: 0; border-left: 0; }
}

/* ---------- Popular cities ---------- */
.h-cities-section { padding-top: 24px; }
.h-city-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.h-city {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px 14px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--ink) !important;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.h-city:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.h-city-thumb {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-50), #fff1e8);
    color: var(--brand);
    font-size: 16px;
}
.h-city-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.h-city-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.h-city-text strong {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h-city-text small { margin-top: 2px; font-size: 13px; color: var(--muted); }
.h-city-go {
    font-size: 12px;
    color: var(--muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.h-city:hover .h-city-go { opacity: 1; transform: none; color: var(--brand); }
@media (max-width: 991px) { .h-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .h-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .h-city { padding: 12px; gap: 10px; }
    .h-city-thumb { width: 40px; height: 40px; border-radius: 12px; }
    .h-city-text strong { font-size: 1.05rem; }
    .h-city-go { display: none; }
}

/* ---------- Popular cities: photo cards (overrides the compact cards above) ---------- */
.h-city-grid { gap: 18px; }
.h-city {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    color: #fff !important;
    background:
        radial-gradient(70% 90% at 15% 10%, rgba(242, 82, 79, .55) 0%, rgba(242, 82, 79, 0) 60%),
        radial-gradient(60% 80% at 100% 100%, rgba(99, 102, 241, .4) 0%, rgba(99, 102, 241, 0) 60%),
        #1e1b2e;
    box-shadow: var(--shadow-sm);
}
.h-city img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.h-city::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 8, 14, 0) 38%, rgba(10, 8, 14, .78) 100%);
}
.h-city:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.h-city:hover img { transform: scale(1.07); }
.h-city-text {
    position: absolute;
    left: 18px;
    right: 60px;
    bottom: 16px;
    line-height: 1.2;
}
.h-city-text strong {
    font-size: 1.45rem;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.h-city-text small { color: rgba(255, 255, 255, .82); font-size: 13px; margin-top: 2px; }
.h-city-go {
    position: absolute;
    right: 16px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 12px;
    opacity: 1;
    transform: none;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.h-city:hover .h-city-go { background: #fff; color: var(--ink); }
@media (max-width: 767px) {
    .h-city-grid { gap: 10px; }
    .h-city { border-radius: 16px; aspect-ratio: 1 / 1; }
    .h-city-text { left: 12px; right: 12px; bottom: 12px; }
    .h-city-text strong { font-size: 1.15rem; }
    .h-city-text small { font-size: 12px; }
    .h-city-go { display: none; }
}

/* =====================================================================
   HOW IT WORKS — interactive stepper with product previews
   ===================================================================== */
.hw { --hw-dur: 6s; }
.hw .h-head { margin-bottom: 40px; }

/* Segmented tabs with a sliding indicator */
.hw-tabs {
    position: relative;
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    margin-top: 28px;
    padding: 5px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.hw-tabs button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: 600 14.5px var(--font-sans);
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color .25s var(--ease);
}
.hw-tabs button i { font-size: 13px; }
.hw-tabs button.is-active { color: var(--ink); }
.hw-tabs button.is-active i { color: var(--brand); }
.hw-tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hw-tabs-slider {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px -4px rgba(15, 23, 42, .12);
    transition: transform .35s var(--ease);
}
.hw-tabs:has(button[data-tab="list"].is-active) .hw-tabs-slider { transform: translateX(100%); }

/* Layout */
.hw-panel[hidden] { display: none; }
.hw-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
}

/* Steps */
.hw-steps { margin: 0; padding: 0; display: grid; gap: 10px; }
.hw-steps > li { list-style: none; }
.hw-step {
    position: relative;
    display: flex;
    gap: 18px;
    width: 100%;
    padding: 20px 22px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hw-step:hover { background: var(--surface-2); }
.hw-step.is-active {
    background: #fff;
    border-color: var(--line);
    box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .28);
}
.hw-step:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hw-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    font: 700 14px var(--font-sans);
    color: var(--muted);
    letter-spacing: .02em;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hw-step.is-active .hw-num {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.hw-step-body { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.hw-step-body strong {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--muted);
    transition: color .3s var(--ease);
}
.hw-step:hover strong,
.hw-step.is-active strong { color: var(--ink); }
.hw-step-desc {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .35s var(--ease);
}
.hw-step.is-active .hw-step-desc { max-height: 120px; opacity: 1; margin-top: 6px; }

/* Auto-advance progress bar */
.hw-progress {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--line-soft);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.hw-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand-gradient); }
.hw-panel.is-auto .hw-step.is-active .hw-progress { opacity: 1; }
.hw-panel.is-auto .hw-step.is-active .hw-progress i { animation: hw-fill var(--hw-dur) linear forwards; animation-play-state: paused; }
.hw-panel.is-auto.is-playing:not(.is-paused) .hw-step.is-active .hw-progress i { animation-play-state: running; }
@keyframes hw-fill { from { width: 0; } to { width: 100%; } }

.hw-cta { padding: 14px 0 0 22px; }
.hw-cta .theme-btn-one { padding: 14px 24px; }

/* Stage */
.hw-stage {
    position: relative;
    display: grid;
    min-height: 470px;
    padding: 44px;
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(60% 60% at 85% 0%, rgba(255, 138, 92, .28) 0%, rgba(255, 138, 92, 0) 70%),
        radial-gradient(60% 70% at 0% 100%, rgba(99, 102, 241, .20) 0%, rgba(99, 102, 241, 0) 70%),
        #fbf7f5;
    border: 1px solid var(--line);
}
.hw-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(15, 23, 42, .09) 1px, transparent 1px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}
.hw-visual {
    grid-area: 1 / 1;
    align-self: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.98);
    transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .45s;
}
.hw-visual.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .45s var(--ease) .08s, transform .55s var(--ease) .08s, visibility 0s;
}

/* Mock window */
.hw-window {
    max-width: 440px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 40px 70px -30px rgba(15, 23, 42, .35), 0 2px 6px rgba(15, 23, 42, .04);
}
.hw-window-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}
.hw-dots { display: inline-flex; gap: 5px; }
.hw-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.hw-dots i:first-child { background: #fda4a4; }
.hw-dots i:nth-child(2) { background: #fcd38d; }
.hw-dots i:nth-child(3) { background: #9fe2b3; }
.hw-count { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 11.5px; }

.hw-searchbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.hw-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}
.hw-chip i { color: var(--brand); font-size: 11px; }
.hw-search-go {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 12px;
}
.hw-filters { display: flex; gap: 6px; padding: 12px 2px 4px; }
.hw-filters span {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
}
.hw-filters span.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.hw-result,
.hw-line,
.hw-inbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: #fff;
}
.hw-result img,
.hw-line img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
}
.hw-line img { width: 46px; height: 46px; border-radius: 11px; }
.hw-result > div,
.hw-line > div,
.hw-inbox > div { flex: 1; min-width: 0; }
.hw-result strong,
.hw-line strong,
.hw-inbox strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-result small,
.hw-line small,
.hw-inbox small { display: block; font-size: 12.5px; color: var(--muted); }
.hw-result small i { color: #f59e0b; font-size: 10px; margin-right: 2px; }
.hw-tags { display: flex; gap: 5px; margin-top: 6px; }
.hw-tags em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.hw-btn {
    padding: 7px 13px;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.hw-result.is-dim { opacity: .55; }
.hw-result.is-you {
    border-color: var(--brand-100);
    background: linear-gradient(90deg, var(--brand-50), #fff);
    box-shadow: 0 10px 24px -14px rgba(242, 82, 79, .5);
}
.hw-result.is-you small i { color: var(--brand); }
.hw-badge {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}
.hw-ok {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
}
.hw-date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px dashed var(--line);
}
.hw-date-ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffbeb;
    color: #d97706;
}
.hw-date small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hw-date strong { font-size: 14px; color: var(--ink); }
.hw-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 12px 6px 4px;
    border-top: 1px solid var(--line-soft);
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
}
.hw-summary i { margin-right: 4px; }
.hw-send {
    padding: 10px 16px;
    border-radius: 11px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 13px;
    box-shadow: var(--shadow-brand);
}
.hw-send i { margin: 0 0 0 6px; font-size: 11px; }

/* Confirmed photo */
.hw-photo {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    aspect-ratio: 4 / 4.2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 70px -30px rgba(15, 23, 42, .45);
}
.hw-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hw-toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .4);
}
.hw-toast strong { display: block; font-size: 14px; color: var(--ink); }
.hw-toast small { display: block; font-size: 12px; color: var(--muted); }
.hw-toast-top { top: 18px; left: 18px; right: 18px; }
.hw-toast-bottom { bottom: 18px; left: 18px; right: 18px; }
.hw-toast-ic,
.hw-inbox-ic {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.green { background: #dcfce7; color: #16a34a; }
.hw-toast-ic.coral,
.hw-inbox-ic.coral { background: var(--brand-50); color: var(--brand); }
.hw-inbox-ic.violet { background: #eef2ff; color: #4f46e5; }
.hw-inbox-ic.amber { background: #fffbeb; color: #d97706; }
.hw-visual.is-active .hw-toast-top { animation: hw-pop .5s var(--ease) .35s both; }
.hw-visual.is-active .hw-toast-bottom { animation: hw-pop .5s var(--ease) .6s both; }
@keyframes hw-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* Vendor profile mock */
.hw-profile { padding: 0; overflow: hidden; }
.hw-cover { height: 120px; background-size: cover; background-position: center; }
.hw-profile-head { display: flex; align-items: flex-end; gap: 12px; margin-top: -26px; padding: 0 18px; }
.hw-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 3px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.hw-profile-head strong { display: block; font-size: 15px; color: var(--ink); }
.hw-profile-head small { font-size: 12.5px; color: var(--muted); }
.hw-profile-head small i { font-size: 10px; }
.hw-meter { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; padding: 18px 18px 6px; font-size: 12.5px; color: var(--muted); }
.hw-meter b { color: #15803d; }
.hw-meter i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.hw-meter em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #16a34a); }
.hw-visual.is-active .hw-meter em { animation: hw-meter 1.2s var(--ease) .2s both; }
@keyframes hw-meter { from { width: 0 !important; } }
.hw-checklist { margin: 0; padding: 8px 18px 18px; display: grid; gap: 8px; }
.hw-checklist li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); }
.hw-checklist i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    font-size: 9px;
}

/* Inbox */
.hw-accept,
.hw-reply {
    padding: 7px 13px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
}
.hw-accept { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-brand); }
.hw-reply { border: 1px solid var(--line); color: var(--ink); }
.hw-inbox.is-done { opacity: .7; }

/* Responsive */
@media (max-width: 991px) {
    .hw-grid { grid-template-columns: 1fr; gap: 28px; }
    .hw-stage { min-height: 420px; padding: 28px; order: -1; }
}
@media (max-width: 575px) {
    .hw-tabs { display: grid; width: 100%; }
    .hw-tabs button { padding: 10px 8px; font-size: 13px; }
    .hw-stage { min-height: 380px; padding: 18px; border-radius: 22px; }
    .hw-step { padding: 16px; gap: 14px; }
    .hw-num { width: 38px; height: 38px; border-radius: 11px; }
    .hw-cta { padding-left: 0; }
    .hw-cta .theme-btn-one { width: 100%; }
    .hw-result img { width: 48px; height: 48px; }
    .hw-tags { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hw-visual, .hw-step-desc, .hw-tabs-slider { transition: none; }
    .hw-progress { display: none; }
}
/* Only the avatar overlaps the cover; the name sits below it */
.hw-profile-head { margin-top: 0; padding: 0 18px; align-items: flex-end; }
.hw-avatar { margin-top: -28px; flex-shrink: 0; }
.hw-profile-head > div { padding-top: 10px; }
.hw-photo { background: #2a1f24; }

/* Android app */
.h-app-section { padding: 48px 0; }
.h-app {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: center;
    padding: 64px;
    border: 1px solid #f1e5de;
    border-radius: 32px;
    background: radial-gradient(ellipse at 92% 40%, #ffe1d2, transparent 56%), #fff9f5;
    overflow: hidden;
}
.h-app-copy h2 {
    margin: 0 0 20px;
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.04em;
}
.h-app-copy h2 em { color: var(--brand); }
.h-app-lead { max-width: 500px; margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.h-app-features { display: grid; gap: 20px; margin: 0 0 30px; padding: 0; }
.h-app-features li { display: flex; align-items: flex-start; gap: 14px; list-style: none; }
.h-app-feature-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #f0dfd6;
    border-radius: 13px;
    background: #fff;
    color: var(--brand);
}
.h-app-features h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.h-app-features p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.h-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.h-app-store {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
}
.h-app-store:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.h-app-store:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.h-app-store > .fa-google-play { font-size: 25px; }
.h-app-store small { display: block; color: #cbd5e1; font-size: 10px; line-height: 1.4; }
.h-app-store strong { display: block; font-size: 19px; line-height: 1.3; }
.h-app-store > .fa-arrow-right { margin-left: 8px; font-size: 12px; }
.h-app-availability { color: var(--muted); font-size: 12px; }
.h-app-vendor-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.h-app-vendor-note i { margin-right: 5px; color: var(--brand); }
.h-app-preview { position: relative; margin: 0; text-align: center; isolation: isolate; }
.h-app-orbit {
    position: absolute;
    top: 14%;
    left: -8%;
    z-index: -1;
    width: 116%;
    aspect-ratio: 1;
    border: 1px solid rgba(242, 82, 79, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .3), 0 0 0 56px rgba(255, 255, 255, .2);
}
.h-app-phone {
    max-width: 252px;
    margin: 0 auto;
    overflow: hidden;
    border: 7px solid #202332;
    border-radius: 33px;
    background: #fff;
    box-shadow: 18px 28px 50px -15px rgba(82, 42, 27, .3);
    transform: rotate(4deg);
}
.h-app-phone img { display: block; width: 100%; height: auto; }
.h-app-preview figcaption { position: relative; margin-top: 30px; color: #8c6151; font-size: 11px; font-weight: 600; }
.h-app-preview figcaption i { margin-right: 5px; }
@media (max-width: 991px) {
    .h-app { gap: 30px; padding: 40px 32px; }
    .h-app-phone { max-width: 215px; }
}
@media (max-width: 700px) {
    .h-app-section { padding: 24px 0; }
    .h-app { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px; border-radius: 24px; }
    .h-app-preview { width: min(300px, 100%); margin: 0 auto; }
    .h-app-phone { max-width: 210px; }
    .h-app-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
}
