/* Diwali hampers (Hamperology) page — builds on training-pages.css (.tp-*) */
.hp-hero-img { border-radius: var(--tp-r); box-shadow: var(--tp-shadow-lg); width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hp-impact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.hp-impact img { border-radius: var(--tp-r); box-shadow: var(--tp-shadow-lg); width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hp-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.hp-point { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--tp-shadow); }
.hp-point .tp-tile { margin-bottom: 10px; }
.hp-point h3 { font-size: 15px; margin-bottom: 4px; }
.hp-point p { font-size: 14px; margin: 0; }

.hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.hp-zoom { display: block; background: #fffbf4; }
.hp-zoom img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hp-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hp-top h3 { font-size: 20px; letter-spacing: .02em; }
.hp-moq { display: inline-block; background: var(--tp-tint); border: 1px solid #ffe2b3; color: var(--tp-ink-brand); font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.hp-name { font-weight: 600; color: var(--tp-ink); margin: 0; font-size: 15px; }
.hp-inc { font-size: 14px; margin: 0; color: var(--tp-body); }
.hp-wa { margin-top: auto; width: 100%; background: #1d8a45; color: #fff !important; }
.hp-wa:hover { background: #166b36; }
.hp-wa i { font-size: 20px; }
.hp-body .hp-wa { margin-top: 12px; }

.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0 !important; padding: 0; counter-reset: h; }
.hp-steps li { margin: 0; counter-increment: h; background: #fff; border-radius: var(--tp-r); padding: 56px 22px 22px; position: relative; box-shadow: var(--tp-shadow); }
.hp-steps li::before { content: counter(h); position: absolute; left: 22px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--tp-brand); color: #1a1a1a; font-weight: 800; display: grid; place-items: center; }
.hp-steps h3 { font-size: 16px; margin-bottom: 6px; }
.hp-steps p { margin: 0; font-size: 14.5px; }

.hp-cta { background: #2c2c2c; border-radius: var(--tp-r); padding: clamp(24px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hp-cta h2 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); }
.hp-cta p { color: #e3e3e3; margin: 8px 0 0; max-width: 60ch; }

@media (max-width: 1000px) { .hp-grid { grid-template-columns: repeat(2, 1fr); } .hp-steps { grid-template-columns: 1fr; } }
@media (max-width: 920px) { .hp-impact { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .hp-grid { grid-template-columns: 1fr; } .hp-points { grid-template-columns: 1fr; } .hp-cta .tp-btn { width: 100%; } }
/* beat the generic ".tp-hero-media img" rule (4:3 / contain) so the 16:9 slide fills the frame */
.tp-hero-media .hp-hero-img { aspect-ratio: 16/9; object-fit: cover; background: none; max-width: 100%; }

/* ---------- "Coming Soon" buttons (disabled) ---------- */
.tp-btn.hp-soon, .tp-btn.hp-soon:hover { background: #ececec; color: #6b6b6b !important; border-color: #dcdcdc; cursor: not-allowed; box-shadow: none; opacity: 1; width: 100%; }
.hp-body .hp-soon { margin-top: 12px; }
.tp-cta .hp-soon { width: auto; }
.hp-soon i { font-size: 18px; }
.hp-soon--dark, .hp-soon--dark:hover { background: #4a4a4a; color: #d8d8d8 !important; border-color: #5a5a5a; width: auto; }

/* ---------- Welcome / "thank you" popup ---------- */
html.hp-modal-open, html.hp-modal-open body { overflow: hidden; }
.hp-modal { position: fixed; inset: 0; z-index: 100001; display: none; align-items: center; justify-content: center; padding: 16px; }
.hp-modal.is-open { display: flex; }
.hp-modal-overlay { position: absolute; inset: 0; background: rgba(28, 18, 0, .66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: hpFade .35s ease both; }
.hp-modal-card { position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fffbf4; border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); text-align: center; animation: hpPop .55s cubic-bezier(.2, 1.1, .3, 1) both; }
.hp-modal-top { position: relative; overflow: hidden; padding: 38px 24px 54px; background: linear-gradient(135deg, #ffcb52 0%, #ff9f00 100%); }
.hp-modal-top::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -34px; height: 70px; background: #fffbf4; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hp-orb { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .28); animation: hpFloat 6s ease-in-out infinite; }
.hp-orb--1 { width: 120px; height: 120px; left: -30px; top: -30px; }
.hp-orb--2 { width: 70px; height: 70px; right: 24px; top: 18px; animation-delay: 1.2s; }
.hp-orb--3 { width: 44px; height: 44px; left: 22%; bottom: 26px; animation-delay: 2.4s; }
.hp-spark { position: absolute; color: #fff; font-size: 18px; animation: hpTwinkle 2.4s ease-in-out infinite; }
.hp-spark--1 { left: 16%; top: 22px; }
.hp-spark--2 { right: 18%; top: 54px; animation-delay: .8s; font-size: 14px; }
.hp-spark--3 { right: 34%; bottom: 40px; animation-delay: 1.6s; font-size: 12px; }
.hp-gift { position: relative; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #e58a00; font-size: 38px; box-shadow: 0 10px 26px rgba(120, 70, 0, .3); }
.hp-gift::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: hpRing 2.2s ease-out infinite; }
.hp-modal-body { padding: 4px 28px 28px; }
.hp-modal-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a5d00; background: #fff1d6; border-radius: 100px; padding: 6px 14px; }
.hp-modal-title { margin: 14px 0 10px !important; font-size: clamp(28px, 6vw, 36px) !important; line-height: 1.15; color: #1f1f1f; text-transform: none !important; letter-spacing: -.01em; }
.hp-modal-title span { color: #f08a00; }
.hp-modal-msg { font-size: 17px; line-height: 1.65; color: #4a4a4a; margin: 0 0 18px; }
.hp-modal-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #1a1a1a; background: #fff; border: 2px dashed #ffb92e; border-radius: 100px; padding: 8px 18px; margin-bottom: 20px; }
.hp-modal-chip i { color: #e58a00; }
.hp-modal-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.hp-modal-actions .tp-btn { width: 100%; max-width: 320px; }
.hp-modal-social { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.hp-modal-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #f0e3c8; color: #8a5d00; font-size: 19px; text-decoration: none; transition: .2s; }
.hp-modal-social a:hover { background: #ffab00; color: #1a1a1a; }
.hp-modal-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #333; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); transition: .2s; }
.hp-modal-close:hover { background: #fff; transform: rotate(90deg); }
.hp-modal-close:focus-visible, .hp-modal-actions .tp-btn:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }

@keyframes hpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hpPop { from { opacity: 0; transform: translateY(26px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes hpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hpTwinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes hpRing { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

@media (max-width: 480px) {
  .hp-modal { padding: 12px; }
  .hp-modal-top { padding: 32px 18px 48px; }
  .hp-modal-body { padding: 2px 20px 24px; }
  .hp-modal-msg { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-modal-overlay, .hp-modal-card, .hp-orb, .hp-spark, .hp-gift::before { animation: none !important; }
}

@media (max-width: 480px) { .hp-modal-eyebrow { letter-spacing: .08em; font-size: 11px; padding: 6px 12px; } }
