/* Home page — built from the "Namaste PanditJi — Website Redesign" Figma file (frames 5:2 desktop, 5:86 mobile).
   Values (sizes, colours, radii, spacing) are the ones Figma reports for those frames. Scoped under .fh so
   nothing here leaks into other pages. */
.fh {
    --npj-burgundy: #8b1a10; --npj-surface: #fff; --npj-cream: #fffcf8; --npj-soft: #fcebdd;
    --npj-accent: #c4530a; --npj-saffron: #e8650a; --npj-secondary: #574434; --npj-ink: #1c140d;
    --npj-border: #e4d6c4; --npj-success: #217548;
    font-family: 'Poppins', sans-serif; color: var(--npj-ink);
}
.fh *, .fh *::before, .fh *::after { box-sizing: border-box; }
.fh a { text-decoration: none; }
.fh .fh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1000px) { .fh .fh-wrap { padding: 0 40px; max-width: 1280px; } }
@media (min-width: 1440px) { .fh .fh-wrap { padding: 0; max-width: 1200px; } }

/* ── Buttons (Figma Button/Primary · Secondary · Quiet) ── */
.fh .fh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border-radius: 10px;
    font: 600 14.4px/20px 'Poppins', sans-serif; text-align: center; cursor: pointer; border: 1.5px solid transparent; transition: filter .15s, background .15s; }
.fh .fh-btn:focus-visible, .fh a:focus-visible, .fh button:focus-visible { outline: 2px solid var(--npj-saffron); outline-offset: 2px; }
.fh .fh-btn-primary { background: var(--npj-burgundy); color: #fff; }
.fh .fh-btn-primary:hover { filter: brightness(1.12); color: #fff; }
.fh .fh-btn-secondary { background: #fff; color: var(--npj-accent); border-color: var(--npj-saffron); }
.fh .fh-btn-secondary:hover { background: #fff7eb; color: var(--npj-accent); }
.fh .fh-btn-quiet { background: var(--npj-soft); color: var(--npj-accent); }
.fh .fh-btn-quiet:hover { filter: brightness(.97); color: var(--npj-accent); }
.fh .fh-btn[disabled], .fh .fh-btn.is-unavailable { opacity: .45; pointer-events: none; }

.fh .fh-eyebrow { font: 600 12px/20px 'Poppins', sans-serif; color: var(--npj-accent); text-transform: uppercase; }
.fh .fh-h1 { font: 700 40px/52px 'Poppins', sans-serif; color: var(--npj-burgundy); margin: 0; }
.fh .fh-body { font: 400 16px/26px 'Poppins', sans-serif; color: var(--npj-secondary); margin: 0; }
.fh .fh-ident { display: flex; align-items: center; gap: 10px; }
.fh .fh-ident img { width: 32px; height: 32px; flex: none; }

/* ── Hero ── */
.fh .fh-hero { position: relative; overflow: hidden; background: #fff7eb; min-height: 560px; }
.fh .fh-hero-media { position: absolute; top: 0; right: 0; width: 58.33%; height: 100%; border-radius: 200px 0 0 88px; overflow: hidden; background: #3d0906; }
.fh .fh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.fh .fh-slide.is-on { opacity: 1; }
.fh .fh-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh .fh-hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #fff7eb 0%, rgba(255,247,235,.96) 38%, rgba(255,247,235,.08) 72%, rgba(255,247,235,0) 100%); }
.fh .fh-hero-inner { position: relative; min-height: 560px; }
.fh .fh-hero-copy { position: relative; width: 440px; max-width: 100%; padding-top: 48px; display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.fh .fh-hero-copy .k { font: 600 11px/18px 'Poppins', sans-serif; color: var(--npj-accent); text-transform: uppercase; }
.fh .fh-hero-copy h1 { font: 700 34px/42px 'Poppins', sans-serif; color: var(--npj-burgundy); margin: 0; }
.fh .fh-hero-copy p { font: 400 14px/22px 'Poppins', sans-serif; color: var(--npj-secondary); margin: 0; }
.fh .fh-actions { display: flex; gap: 12px; }
.fh .fh-actions .fh-btn { flex: 1; }
.fh .fh-search { display: flex; gap: 10px; align-items: center; height: 52px; padding: 4px 10px; background: #fff; border: 1px solid var(--npj-border); border-radius: 999px; }
.fh .fh-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 400 14px/22px 'Poppins', sans-serif; color: var(--npj-ink); outline: none; }
.fh .fh-search input::placeholder { color: var(--npj-secondary); opacity: 1; }
.fh .fh-search button { width: 96px; min-height: 44px; border: 0; border-radius: 10px; background: var(--npj-soft); color: var(--npj-accent); font: 600 14.4px/20px 'Poppins', sans-serif; cursor: pointer; }
.fh .fh-slide-ctl { position: absolute; left: 41.67%; bottom: 12px; transform: none; display: flex; align-items: center; height: 46px; padding: 0 4px; background: rgba(255,255,255,.96); border-radius: 23px; z-index: 3; }
.fh .fh-slide-ctl button { width: 48px; height: 46px; border: 0; background: none; color: var(--npj-burgundy); font: 600 22px/20px 'Poppins', sans-serif; cursor: pointer; opacity: .4; padding: 0; }
.fh .fh-slide-ctl button.is-on { opacity: 1; }
.fh .fh-slide-ctl .pause { width: 76px; opacity: 1; display: flex; align-items: center; justify-content: center; }
.fh .fh-slide-ctl .pause img { width: 20px; height: 20px; }
.fh .fh-arrow { position: absolute; bottom: 12px; width: 44px; height: 44px; border: 0; background: none; color: var(--npj-burgundy); font: 600 28px/38px 'Poppins', sans-serif; cursor: pointer; z-index: 3; }
.fh .fh-arrow.prev { left: 24px; } .fh .fh-arrow.next { right: 24px; }

/* ── Assurances ── */
.fh .fh-assure { background: var(--npj-cream); padding: 20px 0; }
.fh .fh-assure-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fh .fh-assure a, .fh .fh-assure div.card { width: 220px; height: 114px; background: #fff; border: 1px solid var(--npj-border); border-radius: 16px; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fh .fh-assure .ico { width: 32px; height: 32px; border-radius: 12px; background: var(--npj-soft); display: grid; place-items: center; }
.fh .fh-assure .ico img { width: 28px; height: 28px; }
.fh .fh-assure b { font: 700 14px/20px 'Poppins', sans-serif; color: var(--npj-burgundy); }
.fh .fh-assure span.s { font: 400 11px/16px 'Poppins', sans-serif; color: var(--npj-secondary); }

/* ── Sections ── */
.fh .fh-sec { padding: 48px 0; }
.fh .fh-sec-poojas { background: #fff1de; }
.fh .fh-sec-cream { background: var(--npj-cream); }
.fh .fh-stack { display: flex; flex-direction: column; gap: 24px; }
.fh .fh-tools { display: flex; flex-wrap: wrap; gap: 12px; }
.fh .fh-swipe-hint { display: none; font: 400 12px/17px 'Poppins', sans-serif; color: var(--npj-secondary); }

/* Pooja cards */
.fh .fh-pooja-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fh .fh-pooja { background: #fff; border: 1px solid var(--npj-border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.fh .fh-pooja .ph { height: 244px; background: #3d0906; position: relative; overflow: hidden; }
.fh .fh-pooja .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh .fh-pooja .ph.is-banner { background: #fff7eb; }
.fh .fh-pooja .ph.is-banner img { object-fit: contain; }
.fh .fh-pooja .bd { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fh .fh-chip { display: block; padding: 8px; border-radius: 16px; background: var(--npj-soft); font: 600 10px/20px 'Poppins', sans-serif; color: var(--npj-secondary); text-transform: uppercase; }
.fh .fh-chip.c1 { background: #fcebdd; } .fh .fh-chip.c2 { background: #f6e8ed; } .fh .fh-chip.c3 { background: #eeeaf8; } .fh .fh-chip.c4 { background: #e6f0e8; } .fh .fh-chip.c5 { background: #f5ecd9; }
.fh .fh-pooja h3 { font: 600 20px/30px 'Poppins', sans-serif; color: var(--npj-ink); margin: 0; }
.fh .fh-pooja .meta { font: 400 14px/22px 'Poppins', sans-serif; color: var(--npj-secondary); margin: 0; }
.fh .fh-pooja .price { font: 600 28px/38px 'Poppins', sans-serif; color: var(--npj-burgundy); margin: 0; }
.fh .fh-pooja .acts { display: flex; gap: 8px; margin-top: auto; }
.fh .fh-pooja .acts .fh-btn { flex: 1; min-height: 48px; padding: 12px 8px; }

/* Help + stats */
.fh .fh-help { padding: 48px 0; background: var(--npj-cream); }
.fh .fh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 40px; margin-bottom: 16px; }
.fh .fh-stats b { display: block; font: 600 26px/38px 'Poppins', sans-serif; color: #8e1b12; }
.fh .fh-stats span { display: block; font: 400 12px/17px 'Poppins', sans-serif; color: #665446; }
.fh .fh-stack.tight { gap: 20px; }
.fh .fh-help-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.fh .fh-help-btns .fh-btn { width: 164px; padding: 12px 16px; }

/* Daily companion */
.fh .fh-daily { display: flex; gap: 32px; align-items: flex-start; }
.fh .fh-daily .guide { width: 560px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fh .fh-daily .guide h2 { font: 600 28px/38px 'Poppins', sans-serif; color: var(--npj-ink); margin: 0; }
.fh .fh-daily .times { display: flex; gap: 16px; width: 608px; max-width: 100%; }
.fh .fh-time { flex: 1; background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.fh .fh-time small { font: 600 12px/20px 'Poppins', sans-serif; color: var(--npj-secondary); text-transform: uppercase; }
.fh .fh-time b { font: 600 20px/30px 'Poppins', sans-serif; color: var(--npj-ink); }

/* Panditji cards */
.fh .fh-pandits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fh .fh-pandit { background: #fff; border: 1px solid var(--npj-border); border-radius: 20px; height: 326px; padding: 11px 19px 16px; display: flex; flex-direction: column; position: relative; }
.fh .fh-pandit .st { font: 600 12px/18px 'Poppins', sans-serif; color: var(--npj-success); }
.fh .fh-pandit .st.is-busy { color: #b26a00; } .fh .fh-pandit .st.is-offline { color: #8a7a6a; }
.fh .fh-pandit .id { display: flex; gap: 10px; margin-top: 6px; height: 64px; }
.fh .fh-pandit .av { width: 64px; height: 64px; border-radius: 14px; background: var(--npj-soft); overflow: hidden; flex: none; display: grid; place-items: center; }
.fh .fh-pandit .av img.p { width: 100%; height: 100%; object-fit: cover; }
.fh .fh-pandit .av img.n { width: 36px; height: 36px; }
.fh .fh-pandit .nm { font: 600 15px/22px 'Poppins', sans-serif; color: var(--npj-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh .fh-pandit .ex { font: 400 11px/16px 'Poppins', sans-serif; color: var(--npj-secondary); }
.fh .fh-kyc { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; margin-top: 10px; border-radius: 7px; background: #e9f4ec; color: #217548; font: 500 11px/16px 'Poppins', sans-serif; align-self: flex-start; }
.fh .fh-kyc img { width: 16px; height: 16px; }
.fh .fh-qual { display: flex; gap: 6px; margin-top: 8px; min-height: 32px; font: 400 11px/16px 'Poppins', sans-serif; color: #574434; }
.fh .fh-qual img { width: 16px; height: 16px; flex: none; }
.fh .fh-pandit .rate { font: 600 18px/26px 'Poppins', sans-serif; color: var(--npj-burgundy); margin-top: auto; }
.fh .fh-pandit .row2 { display: flex; gap: 8px; margin-top: 8px; }
.fh .fh-pandit .row2 .fh-btn { flex: 1; min-height: 46px; padding: 12px; font-size: 14.4px; }
.fh .fh-pandit .vp { display: flex; justify-content: center; align-items: center; min-height: 40px; margin-top: 6px; font: 600 14.4px/20px 'Poppins', sans-serif; color: var(--npj-accent); }
.fh .fh-empty { grid-column: 1 / -1; text-align: center; padding: 32px 12px; color: var(--npj-secondary); }

/* Astrology */
.fh .fh-astro { display: flex; gap: 32px; align-items: flex-start; }
.fh .fh-astro .copy { width: 560px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.fh .fh-astro .copy .fh-eyebrow { color: var(--npj-ink); }
.fh .fh-astro .grid { width: 608px; max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fh .fh-astro .tile { background: #fff; border: 1px solid var(--npj-border); border-radius: 12px; min-height: 150px; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--npj-secondary); }
.fh .fh-astro .tile img { width: 32px; height: 32px; }
.fh .fh-astro .tile b { font: 600 14px/21px 'Poppins', sans-serif; }
.fh .fh-astro .tile span { font: 400 12px/18px 'Poppins', sans-serif; }

/* How it works */
.fh .fh-how { background: var(--npj-soft); padding: 40px 0; }
.fh .fh-how .eyebrow { margin-bottom: 16px; }
.fh .fh-how-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.fh .fh-step { background: #fff; border: 1px solid var(--npj-border); border-radius: 16px; padding: 20px 24px; min-height: 180px; display: flex; flex-direction: column; gap: 8px; }
.fh .fh-step small { font: 600 12px/20px 'Poppins', sans-serif; color: var(--npj-saffron); }
.fh .fh-step h3 { font: 600 20px/30px 'Poppins', sans-serif; color: var(--npj-burgundy); margin: 0; }
.fh .fh-step p { font: 400 14px/22px 'Poppins', sans-serif; color: var(--npj-secondary); margin: 0; }

/* Store */
.fh .fh-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fh .fh-prod { background: #fff; border: .928px solid #efe5d8; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.fh .fh-prod .ph { height: 211.5px; background: #f3ede3; border-radius: 18.553px; overflow: hidden; position: relative; }
.fh .fh-prod .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh .fh-prod .bd { padding: 11.132px; display: flex; flex-direction: column; gap: 7.421px; flex: 1; }
.fh .fh-prod .cat { font: 600 9.28px/13px 'Poppins', sans-serif; color: #927f6c; text-transform: uppercase; }
.fh .fh-prod .nm { font: 600 14.84px/22.263px 'Poppins', sans-serif; color: #1c140d; min-height: 39px; }
.fh .fh-prod .pr { display: flex; flex-wrap: wrap; align-items: center; gap: 3.711px; }
.fh .fh-prod .pr b { font: 700 16.7px/24px 'Poppins', sans-serif; color: #8b1a10; }
.fh .fh-prod .pr s { font: 400 10.2px/14.8px 'Poppins', sans-serif; color: #927f6c; }
.fh .fh-prod .pr em { font: 600 9.28px/14.8px 'Poppins', sans-serif; color: #32624b; font-style: normal; }
.fh .fh-prod .stk { font: 400 10.2px/14.8px 'Poppins', sans-serif; color: #32624b; }
.fh .fh-prod .add { display: flex; align-items: center; justify-content: center; height: 40.816px; border-radius: 9.276px; background: #8b1a10; color: #fff; font: 600 12.06px/17px 'Poppins', sans-serif; margin-top: auto; }
.fh .fh-prod .det { display: flex; align-items: center; justify-content: center; height: 40.816px; border-radius: 9.276px; background: #f5ede2; color: #574434; font: 600 11.13px/17px 'Poppins', sans-serif; }

/* Final CTA */
.fh .fh-final { background: var(--npj-burgundy); padding: 28px 0; text-align: center; }
.fh .fh-final h2 { font: 600 32px/40px 'Poppins', sans-serif; color: #fff; margin: 0 0 12px; }
.fh .fh-final p { font: 400 14px/22px 'Poppins', sans-serif; color: #f6e9db; max-width: 780px; margin: 0 auto 12px; }
.fh .fh-final .acts { display: flex; gap: 12px; justify-content: center; }
.fh .fh-final .fh-btn { width: 180px; min-height: 44px; font-size: 13px; }
.fh .fh-final .fh-btn-primary { border-color: rgba(255,255,255,.55); }

/* ── Tablet ── */
@media (max-width: 1099px) {
    .fh .fh-pooja-grid, .fh .fh-pandits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh .fh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh .fh-daily, .fh .fh-astro { flex-direction: column; }
    .fh .fh-daily .times, .fh .fh-astro .grid { width: 100%; }
}

/* ── Mobile (Figma 390px frame) ── */
@media (max-width: 767px) {
    .fh .fh-hero { min-height: 0; display: flex; flex-direction: column; }
    .fh .fh-hero-inner { min-height: 0; order: 1; padding: 28px 20px 24px; position: static; }
    .fh .fh-hero-copy { width: 100%; padding-top: 0; }
    .fh .fh-hero-copy h1 { font-size: 28px; line-height: 36px; }
    .fh .fh-hero-media { position: relative; order: 2; width: 100%; height: 340px; border-radius: 40px 40px 0 0; }
    .fh .fh-hero-fade { display: none; }
    .fh .fh-slide-ctl { left: 50%; transform: translateX(-50%); bottom: 12px; }
    .fh .fh-arrow { display: none; }
    .fh .fh-assure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .fh .fh-assure a, .fh .fh-assure div.card { width: auto; height: 124px; }
    .fh .fh-sec, .fh .fh-help { padding: 32px 0; }
    .fh .fh-h1 { font-size: 28px; line-height: 38px; }
    .fh .fh-tools .fh-btn { flex: 1 1 calc(50% - 6px); }
    .fh .fh-swipe-hint { display: block; }
    .fh .fh-pooja-grid, .fh .fh-pandits, .fh .fh-products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
    .fh .fh-pooja-grid::-webkit-scrollbar, .fh .fh-pandits::-webkit-scrollbar, .fh .fh-products::-webkit-scrollbar { display: none; }
    .fh .fh-pooja, .fh .fh-pandit, .fh .fh-prod { flex: 0 0 288px; scroll-snap-align: start; }
    .fh .fh-pooja .ph { height: 244px; }
    .fh .fh-stats { gap: 8px 12px; }
    .fh .fh-stats b { font-size: 20px; line-height: 26px; }
    .fh .fh-help-btns .fh-btn { width: calc(50% - 4px); }
    .fh .fh-daily .guide h2 { font-size: 24px; line-height: 34px; }
    .fh .fh-daily .times { flex-direction: column; }
    .fh .fh-astro .grid { gap: 12px; }
    .fh .fh-astro .tile { min-height: 184px; }
    .fh .fh-how-row { grid-template-columns: 1fr; gap: 16px; }
    .fh .fh-step { min-height: 144px; }
    .fh .fh-final h2 { font-size: 26px; line-height: 34px; }
    .fh .fh-final .acts { flex-direction: column; align-items: stretch; }
    .fh .fh-final .fh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .fh .fh-slide { transition: none; } }
