/* ══════════════════════════════════════════════════════════════════════════
   Watily — Hajj campaign portal landing (editorial upgrade)
   Loaded only on the hajj route. Structural: black. CTAs: orange. Flat (no shadows).
   ══════════════════════════════════════════════════════════════════════════ */
.wt-hj-hero, .wt-hj-how, .wt-hj-feat, .wt-hj-faq {
    --hj: #1A1714;
    --hj-soft: #F1EFEA;
    --hj-border: #E5E2DC;
    --hj-dark: #1A1714;
    --hj-cream: #FAF8F5;
    --hj-line: #EFEDE8;
    --hj-muted: #6E6963;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.wt-hj-hero {
    position: relative; isolation: isolate; overflow: clip;
    padding-bottom: clamp(28px, 4vw, 44px);
    background:
        radial-gradient(ellipse 70% 60% at 88% 12%, rgba(26, 23, 20, 0.06) 0%, transparent 58%),
        radial-gradient(ellipse 60% 50% at 8% 82%, rgba(240, 108, 20, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, var(--hj-cream) 0%, #ffffff 100%);
}
.wt-hj-hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 56px); align-items: center; padding-top: clamp(8px, 2vw, 16px); }
@media (min-width: 940px) { .wt-hj-hero__grid { grid-template-columns: 1.04fr 0.96fr; } }
.wt-hj-hero__content { text-align: center; }
@media (min-width: 940px) { .wt-hj-hero__content { text-align: start; } }
.wt-hj-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--hj-line); font-size: 0.8rem; font-weight: 700; color: var(--hj-dark); }
.wt-hj-hero__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--wt-brand-orange, #F06C14); }
.wt-hj-hero__content h1 { margin: 22px 0 0; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.16; font-weight: 800; letter-spacing: -0.02em; color: var(--hj-dark); }
.wt-hj-hl { position: relative; display: inline-block; color: var(--hj-dark); }
.wt-hj-hl::after { content: ""; position: absolute; inset-inline: 0; bottom: 0.08em; height: 0.32em; z-index: -1; border-radius: 4px; background: linear-gradient(90deg, #EDE9E1, #FFE4C2); }
.wt-hj-hero__lead { margin: 22px auto 0; font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.8; color: #524E49; max-width: 54ch; }
@media (min-width: 940px) { .wt-hj-hero__lead { margin-inline: 0; } }
.wt-hj-hero__actions { margin-top: 30px; display: flex; gap: 13px; flex-wrap: wrap; align-items: center; justify-content: center; }
@media (min-width: 940px) { .wt-hj-hero__actions { justify-content: flex-start; } }
.wt-hj-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--wt-brand-orange, #F06C14); }
.wt-hj-hero__ghost { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 13px; font-size: 1rem; font-weight: 700; color: var(--hj-dark); transition: background 0.18s ease; }
.wt-hj-hero__ghost:hover { background: #F0EDE8; }
.wt-hj-hero__badges { margin-top: 28px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 940px) { .wt-hj-hero__badges { justify-content: flex-start; } }
.wt-hj-hero__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--hj-muted); }
.wt-hj-hero__badge .wt-icon { color: var(--hj-dark); }

/* ── Group card ────────────────────────────────────────────────────────── */
.wt-hj-hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.wt-hj-card { width: min(400px, 100%); background: #fff; border: 1px solid var(--hj-line); border-radius: 22px; overflow: hidden; animation: wtHjFloat 6s ease-in-out infinite; }
@keyframes wtHjFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.wt-hj-card__head { background: var(--hj-dark); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wt-hj-card__biz { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 0.9rem; font-weight: 700; }
.wt-hj-card__biz-mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--hj-dark); display: inline-flex; align-items: center; justify-content: center; }
.wt-hj-card__count { font-size: 0.72rem; color: #95908A; font-weight: 700; }
.wt-hj-card__body { padding: 22px 20px; }
.wt-hj-card__route { display: flex; align-items: center; }
.wt-hj-card__rstep { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.wt-hj-card__pin { width: 30px; height: 30px; border-radius: 50%; background: var(--hj-soft); color: var(--hj-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; }
.wt-hj-card__rstep.is-done .wt-hj-card__pin { background: #0F8540; color: #fff; }
.wt-hj-card__rlabel { font-size: 0.62rem; font-weight: 700; color: var(--hj-dark); text-align: center; max-width: 11ch; line-height: 1.3; }
.wt-hj-card__rbar { flex: 1; height: 2px; background: var(--hj-line); margin: 0 4px 22px; }
.wt-hj-card__rbar.is-done { background: #0F8540; }
.wt-hj-toast { margin-top: 14px; width: min(400px, 100%); display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--hj-line); border-radius: 16px; padding: 12px 14px; }
.wt-hj-toast__ico { width: 38px; height: 38px; border-radius: 11px; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wt-hj-toast__body b { display: block; font-size: 0.76rem; font-weight: 800; color: var(--hj-dark); }
.wt-hj-toast__body small { display: block; font-size: 0.72rem; color: #524E49; }
.wt-hj-chip { margin-top: 12px; width: min(400px, 100%); display: flex; align-items: center; gap: 12px; background: var(--hj-soft); border: 1px solid var(--hj-border); border-radius: 16px; padding: 12px 14px; }
.wt-hj-chip__ico { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--hj-dark); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wt-hj-chip b { display: block; font-size: 0.76rem; font-weight: 800; color: var(--hj-dark); }
.wt-hj-chip small { display: block; font-size: 0.72rem; color: var(--hj-muted); }

/* ── Info strip ────────────────────────────────────────────────────────── */
.wt-hj-hero__stripwrap { margin-top: clamp(28px, 5vw, 44px); }
.wt-hj-hero__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hj-line); border: 1px solid var(--hj-line); border-radius: 20px; overflow: hidden; }
@media (max-width: 760px) { .wt-hj-hero__strip { grid-template-columns: 1fr 1fr; } }
.wt-hj-hero__stat { background: #fff; text-align: center; padding: 20px 16px; }
.wt-hj-hero__stat-n { display: block; font-size: clamp(1.5rem, 3vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; color: var(--hj-dark); }
.wt-hj-hero__stat-l { display: block; margin-top: 4px; font-size: 0.78rem; font-weight: 600; color: var(--hj-muted); }

/* ── Marquee (black) ───────────────────────────────────────────────────── */
.wt-hj-marquee { margin-top: clamp(28px, 5vw, 48px); background: #0A0A0A; padding: 18px 0; overflow: hidden; }
.wt-hj-marquee__track { display: flex; width: max-content; animation: wtHjMarquee 28s linear infinite; }
@keyframes wtHjMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wt-hj-marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 24px; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; color: #F0EDE8; white-space: nowrap; }
.wt-hj-marquee__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wt-brand-orange, #F06C14); }

/* ── How pipeline ──────────────────────────────────────────────────────── */
.wt-hj-how { padding: clamp(56px, 8vw, 90px) 0 clamp(40px, 6vw, 70px); }
.wt-hj-how .wt-section-heading { max-width: 640px; margin-inline: auto; text-align: center; }
.wt-hj-how .wt-section-heading .wt-badge { justify-content: center; }
.wt-hj-how__steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(14px, 2.5vw, 20px); margin-top: clamp(28px, 5vw, 44px); }
.wt-hj-how__rail { position: absolute; top: 26px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, #D9D5CD 0 8px, transparent 8px 16px); z-index: 0; }
@media (max-width: 767px) { .wt-hj-how__rail { display: none; } }
.wt-hj-how__step { position: relative; text-align: center; padding: 0 clamp(8px, 2vw, 16px); }
.wt-hj-how__dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--hj-cream); }
.wt-hj-how__dot--0 { background: #F1EFEA; color: #1A1714; }
.wt-hj-how__dot--1 { background: #FFF4E6; color: #B85C00; }
.wt-hj-how__dot--2 { background: #E8F7EF; color: #0F8540; }
.wt-hj-how__dot--3 { background: #F1EFEA; color: #1A1714; }
.wt-hj-how__num { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; color: #95908A; margin-bottom: 6px; }
.wt-hj-how__step h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--hj-dark); }
.wt-hj-how__step p { max-width: 24ch; margin: 8px auto 0; font-size: 0.84rem; line-height: 1.7; color: var(--hj-muted); }

/* ── Features (bento-ish, spotlight for Family Dashboard) ──────────────── */
.wt-hj-feat { padding: clamp(56px, 8vw, 88px) 0; background: linear-gradient(180deg, #FBFAF8 0%, #fff 100%); border-top: 1px solid var(--hj-line); }
.wt-hj-feat__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
@media (max-width: 900px) { .wt-hj-feat__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wt-hj-feat__grid { grid-template-columns: 1fr; } }
.wt-hj-feat-card { background: #fff; border: 1px solid var(--hj-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease; }
.wt-hj-feat-card:hover { transform: translateY(-4px); border-color: var(--hj-border); }
.wt-hj-feat-card__icon { width: 50px; height: 50px; border-radius: 15px; background: var(--hj-soft); color: var(--hj-dark); display: inline-flex; align-items: center; justify-content: center; }
.wt-hj-feat-card h3 { margin: 14px 0 0; font-size: 1.05rem; font-weight: 800; color: var(--hj-dark); }
.wt-hj-feat-card p { margin: 8px 0 0; font-size: 0.86rem; color: var(--hj-muted); line-height: 1.75; }
.wt-hj-feat-card--spotlight { grid-column: span 2; grid-row: span 1; background: var(--hj-soft); border-color: var(--hj-border); }
@media (max-width: 900px) { .wt-hj-feat-card--spotlight { grid-column: span 2; } }
@media (max-width: 600px) { .wt-hj-feat-card--spotlight { grid-column: span 1; } }
.wt-hj-feat-card--spotlight .wt-hj-feat-card__icon { width: 58px; height: 58px; background: #fff; }
.wt-hj-feat-card--spotlight h3 { font-size: 1.2rem; }
.wt-hj-feat-card--spotlight p { font-size: 0.92rem; max-width: 46ch; }
.wt-hj-feat__read { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--hj-dark); }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.wt-hj-faq { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 8vw, 88px); }
.wt-hj-faq__list { max-width: 900px; margin: clamp(24px, 4vw, 40px) auto 0; display: flex; flex-direction: column; gap: 10px; }
.wt-hj-faq__item { background: #fff; border: 1px solid var(--hj-line); border-radius: 16px; overflow: hidden; transition: border-color 0.2s ease; }
.wt-hj-faq__item[open] { border-color: var(--hj-border); }
.wt-hj-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; font-size: 0.98rem; font-weight: 700; line-height: 1.55; color: var(--hj-dark); list-style: none; }
.wt-hj-faq__item summary::-webkit-details-marker { display: none; }
.wt-hj-faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #F6F4F0; color: #524E49; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700; line-height: 1; transition: background 0.2s ease, color 0.2s ease; }
.wt-hj-faq__item[open] summary::after { content: "\2212"; background: var(--hj-dark); color: #fff; }
.wt-hj-faq__item p { margin: 0; padding: 2px 24px 21px; font-size: 0.9rem; line-height: 1.9; color: #524E49; }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.wt-hj-cta .wt-hj-cta__card { display: flex; flex-direction: column; align-items: center; text-align: center; grid-template-columns: none; background: var(--wt-dark, #1A1714); border-radius: 28px; padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.wt-hj-cta__card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% -10%, rgba(240, 108, 20, 0.24) 0%, transparent 60%); pointer-events: none; }
.wt-hj-cta__card > * { position: relative; z-index: 1; }
.wt-hj-cta__mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--hj-dark); }
.wt-hj-cta .wt-hj-cta__card h2 { margin: 22px auto 0; max-width: 24ch; color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.wt-hj-cta .wt-hj-cta__card p { margin: 16px auto 0; max-width: 52ch; color: rgba(255, 255, 255, 0.66); font-size: 1.05rem; line-height: 1.8; }
.wt-hj-cta__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wt-hj-cta__ghost { display: inline-flex; align-items: center; padding: 15px 28px; border-radius: 13px; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 700; transition: background 0.18s ease; }
.wt-hj-cta__ghost:hover { background: rgba(255, 255, 255, 0.15); }
@media (max-width: 600px) {
    .wt-hj-cta__actions { width: 100%; flex-direction: column; }
    .wt-hj-cta__actions .wt-btn, .wt-hj-cta__ghost { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .wt-hj-card, .wt-hj-marquee__track { animation: none !important; }
}
