/* Sanatan Bliss — premium home sections (Patch 32) · प्रीमियम होम खंड */
.hp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 max(20px, 4vw); }
.hp-kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 10px; }
.hp-h { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; color: var(--maroon); margin: 0; }
.hp-h em { font-style: italic; color: var(--saffron); font-weight: 500; }
.hp-h span[lang="hi"] { font-family: var(--font-hindi); font-weight: 400; }
.hp-head { text-align: center; margin-bottom: 34px; }
.hp-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; }
.hp-link { font-weight: 600; font-size: .9rem; color: var(--saffron); text-decoration: none; white-space: nowrap; }
.hp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ── Today's sadhana ── */
.hp-sadhana { padding: 84px 0 76px; background:
  radial-gradient(1200px 500px at 15% 0%, rgba(245,166,35,.16), transparent 60%),
  linear-gradient(180deg, #FFF9EE 0%, var(--cream) 100%); position: relative; overflow: hidden; }
.hp-sadhana::before { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(212,160,23,.25); box-shadow: 0 0 0 40px rgba(212,160,23,.04), 0 0 0 90px rgba(212,160,23,.03); pointer-events: none; }
.hp-sad-grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hp-sad-art { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.hp-arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 0 0 1px rgba(212,160,23,.5), 0 30px 60px rgba(107,30,15,.22); background: var(--saffron-pale); }
.hp-arch img { width: 100%; height: 100%; display: block; }
.hp-arch-sym { display: grid; place-items: center; color: var(--saffron); }
.hp-arch-sym svg { width: 55%; height: auto; }
.hp-arch-glow { position: absolute; inset: 8% -6% -4%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,166,35,.45), transparent); filter: blur(20px); }
.hp-sub { color: var(--stone-mid); font-size: 1rem; margin: 10px 0 26px; }
.hp-sub span { font-family: var(--font-hindi); }
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hp-step { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--cream-dark);
  text-decoration: none; color: var(--stone); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.hp-step:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(212,160,23,.6); }
.hp-step-n { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: #fff; background: linear-gradient(135deg, var(--saffron-light), var(--saffron)); box-shadow: 0 6px 16px rgba(194,96,10,.3); }
.hp-step-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hp-step-t small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-light); }
.hp-step-t small span { font-family: var(--font-hindi); letter-spacing: 0; text-transform: none; font-weight: 400; }
.hp-step-t b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--maroon); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-step-go { font-size: .82rem; font-weight: 700; color: var(--saffron); white-space: nowrap; }
.hp-steps li:first-child .hp-step { background: linear-gradient(120deg, #fff 0%, #FFF4DC 100%); border-color: rgba(212,160,23,.55); }
.hp-note { margin: 18px 0 0; font-size: .82rem; color: var(--stone-light); }

/* ── Explore doors ── */
.hp-doors { padding: 76px 0; background: #fff; }
.hp-door-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hp-door { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 14px 22px; border-radius: 22px;
  background: linear-gradient(180deg, #FFFCF6, #FBF3E4); border: 1px solid var(--cream-dark); text-decoration: none; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s; }
.hp-door::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 70%; background: radial-gradient(closest-side, rgba(245,166,35,.22), transparent); opacity: 0; transition: opacity .3s; }
.hp-door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,160,23,.55); }
.hp-door:hover::after { opacity: 1; }
.hp-door-ic { width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 12px; color: var(--saffron); transition: transform .4s; }
.hp-door-ic img { width: 100%; height: 100%; object-fit: contain !important; filter: drop-shadow(0 8px 14px rgba(107,30,15,.15)); }
.hp-door-ic svg { width: 64px; height: 64px; }
.hp-door:hover .hp-door-ic { transform: scale(1.08) rotate(-3deg); }
.hp-door-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--maroon); line-height: 1.1; }
.hp-door-hi { font-family: var(--font-hindi); color: var(--stone-mid); font-size: .95rem; }
.hp-door-n { margin-top: 8px; font-size: .74rem; font-weight: 600; color: var(--saffron); background: var(--saffron-pale); padding: 3px 10px; border-radius: 999px; }

/* ── Deity carousel ── */
.hp-deities { padding: 76px 0 70px; background: linear-gradient(180deg, var(--maroon) 0%, #4A1409 100%); color: #fff; position: relative; overflow: hidden; }
.hp-deities::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 80% 0%, rgba(245,166,35,.18), transparent 70%); pointer-events: none; }
.hp-deities .hp-h { color: #fff; }
.hp-deities .hp-h em { color: var(--saffron-light); }
.hp-deities .hp-kicker { color: var(--saffron-light); }
.hp-arrows { display: flex; gap: 8px; }
.hp-arr { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s; }
.hp-arr:hover { background: rgba(255,255,255,.16); }
.hp-dei-row { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 14px; scrollbar-width: none; }
.hp-dei-row::-webkit-scrollbar { display: none; }
.hp-dei { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: #fff; }
.hp-dei-pic { width: 124px; height: 124px; border-radius: 50%; overflow: hidden; padding: 4px; margin-bottom: 12px;
  background: conic-gradient(from 210deg, #F9E8B0, var(--gold), #F5A623, #F9E8B0); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .3s, box-shadow .3s; }
.hp-dei-pic img { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; }
.hp-dei:hover .hp-dei-pic { transform: translateY(-6px) scale(1.04); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 6px rgba(245,166,35,.18); }
.hp-dei-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.hp-dei-hi { font-family: var(--font-hindi); font-size: .86rem; color: rgba(255,255,255,.72); }
.hp-dei-n { font-size: .7rem; color: var(--saffron-light); margin-top: 4px; letter-spacing: .04em; }
.hp-dei-all .hp-dei-pic { display: grid; place-items: center; font-size: 2rem; color: var(--maroon); background: #F9E8B0; }

/* ── Upcoming festivals ── */
.hp-fests { padding: 80px 0; background: var(--cream); }
.hp-fest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hp-fest { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--cream-dark);
  text-decoration: none; color: var(--stone); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.hp-fest:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hp-fest-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--saffron-pale), var(--gold-light)); }
.hp-fest-pic img { width: 100%; height: 100%; object-fit: cover !important; display: block; transition: transform .6s; }
.hp-fest:hover .hp-fest-pic img { transform: scale(1.06); }
.hp-fest-emo { display: grid; place-items: center; height: 100%; font-size: 3rem; }
.hp-fest-when { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 8px; border-radius: 14px;
  background: rgba(255,255,255,.94); box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron); }
.hp-fest-when b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--maroon); letter-spacing: 0; }
.hp-fest-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.hp-fest-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--maroon); line-height: 1.15; }
.hp-fest-hi { font-family: var(--font-hindi); color: var(--stone-mid); }
.hp-fest-in { margin-top: 6px; font-size: .78rem; font-weight: 600; color: var(--saffron); }
.hp-fest.is-first { grid-column: span 2; grid-row: span 2; }
.hp-fest.is-first .hp-fest-pic { aspect-ratio: auto; flex: 1; min-height: 260px; }
.hp-fest.is-first .hp-fest-name { font-size: 1.9rem; }

/* ── Most loved ── */
.hp-loved { padding: 80px 0; background: #fff; }
.hp-loved-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-lv { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none; background: #fff; border: 1px solid var(--cream-dark); transition: transform .3s, box-shadow .3s; }
.hp-lv:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hp-lv-pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--saffron-pale); }
.hp-lv-pic img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s; }
.hp-lv-pic::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(40,10,4,.55)); }
.hp-lv:hover .hp-lv-pic img { transform: scale(1.06); }
.hp-lv-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.hp-lv-type { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); }
.hp-lv-title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--maroon); line-height: 1.2; }

/* ── small fixes to old sections ── */
.mission-section .section-title { color: #fff; }
.mission-section .section-title em { color: var(--saffron-light); }
.a-card-icon img { width: 44px; height: 44px; object-fit: contain !important; display: block; }
.sb-nl-msg { min-height: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  .hp-step, .hp-door, .hp-door-ic, .hp-dei-pic, .hp-fest, .hp-fest-pic img, .hp-lv, .hp-lv-pic img { transition: none !important; }
}
@media (max-width: 960px) {
  .hp-door-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .hp-fest-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-fest.is-first { grid-column: span 2; grid-row: auto; }
  .hp-loved-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hp-sadhana { padding: 56px 0; }
  .hp-sad-grid { grid-template-columns: 1fr; gap: 26px; }
  .hp-sad-art { max-width: 230px; }
  .hp-sad-body { text-align: center; }
  .hp-step { text-align: left; padding: 14px 14px; gap: 12px; }
  .hp-step-t b { font-size: 1.12rem; white-space: normal; }
  .hp-step-go { display: none; }
  .hp-doors, .hp-fests, .hp-loved { padding: 56px 0; }
  .hp-door-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-door { padding: 20px 10px 18px; }
  .hp-door-ic { width: 66px; height: 66px; }
  .hp-head-row { flex-direction: column; align-items: flex-start; }
  .hp-arrows { display: none; }
  .hp-deities { padding: 56px 0; }
  .hp-dei { flex-basis: 104px; }
  .hp-dei-pic { width: 98px; height: 98px; }
  .hp-fest-grid { grid-template-columns: 1fr; }
  .hp-fest.is-first { grid-column: auto; }
  .hp-fest.is-first .hp-fest-pic { min-height: 0; aspect-ratio: 16 / 9; }
  .hp-loved-grid { gap: 12px; }
  .hp-lv-title { font-size: 1.05rem; }
}
/* quiet days: the darshan hero already shows the portrait → sadhana becomes a compact 3-step row */
body:has(.sbs-darshan) .hp-sadhana { padding: 56px 0; }
body:has(.sbs-darshan) .hp-sad-grid { grid-template-columns: 1fr; }
body:has(.sbs-darshan) .hp-sad-art { display: none; }
body:has(.sbs-darshan) .hp-sad-body { text-align: center; }
body:has(.sbs-darshan) .hp-steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: left; }
body:has(.sbs-darshan) .hp-step-go { display: none; }
body:has(.sbs-darshan) .hp-step-t b { white-space: normal; font-size: 1.15rem; }
@media (max-width: 720px) {
  .hp-fest-grid { gap: 12px; }
  .hp-fest, .hp-fest.is-first { flex-direction: row; align-items: stretch; }
  .hp-fest-pic, .hp-fest.is-first .hp-fest-pic { flex: 0 0 118px; aspect-ratio: auto; min-height: 112px; }
  .hp-fest.is-first .hp-fest-pic { flex-basis: 140px; min-height: 130px; }
  .hp-fest-when { top: 8px; left: 8px; min-width: 42px; padding: 4px 6px; border-radius: 10px; font-size: .6rem; }
  .hp-fest-when b { font-size: 1.2rem; }
  .hp-fest-body { justify-content: center; padding: 12px 14px; }
  .hp-fest-name, .hp-fest.is-first .hp-fest-name { font-size: 1.15rem; }
  .hp-fest-emo { font-size: 2.2rem; }
}
