/* Blitz Health Revamp — Task 8: full-width 3D product-ring hero (billboard carousel) */

.bhr-hero{
	position:relative; isolation:isolate; box-sizing:border-box;
	width:100%; padding:clamp(64px,7vh,80px) 20px clamp(28px,3.6vh,44px);  /* fluid: scales with viewport height so the whole hero fits any screen */
	background:radial-gradient(125% 100% at 50% 24%, #0e2417 0%, #0a1f14 44%, #06100b 100%);
	color:#fff; overflow:hidden; text-align:center; font-family:inherit;
}
.bhr-hero *{ box-sizing:border-box; }
.bhr-hero::before{ content:""; position:absolute; left:50%; top:64%; width:920px; height:780px; transform:translate(-50%,-50%); background:radial-gradient(circle, rgba(67,145,57,.22), rgba(67,145,57,0) 62%); pointer-events:none; z-index:0; }
/* hero background video + readability overlay */
.bhr-hero__video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; pointer-events:none; }
/* Background video: never show the native play/pause chrome. On iOS the big centered
   "start playback" button appears when the OS blocks autoplay (Low Power Mode etc.);
   hiding it means a blocked video shows the poster frame cleanly instead of a button. */
.bhr-hero__video::-webkit-media-controls,
.bhr-hero__video::-webkit-media-controls-enclosure,
.bhr-hero__video::-webkit-media-controls-panel,
.bhr-hero__video::-webkit-media-controls-play-button,
.bhr-hero__video::-webkit-media-controls-overlay-play-button,
.bhr-hero__video::-webkit-media-controls-start-playback-button{ display:none!important; -webkit-appearance:none; appearance:none; opacity:0!important; }
.bhr-hero__overlay{ position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg, rgba(6,16,11,.55) 0%, rgba(6,16,11,.62) 50%, rgba(6,16,11,.8) 100%); }
.bhr-hero--video::before{ z-index:1; opacity:.55; }

/* ---- top copy ---- */
.bhr-hero__top{ position:relative; z-index:3; max-width:800px; margin:0 auto; }
.bhr-hero__title{ margin:0 0 clamp(6px,1vh,10px); font-size:clamp(24px,3.3vw,40px); line-height:1.1; font-weight:800; letter-spacing:-.02em; color:#fff; }
.bhr-hero__title .g{ color:#76c04a; }
.bhr-hero__sub{ margin:0 auto clamp(8px,1.2vh,13px); max-width:600px; font-size:clamp(14px,1.55vw,17px); line-height:1.5; color:#aeb8b0; }
.bhr-hero__badges{ list-style:none; margin:0 0 clamp(10px,1.6vh,16px); padding:0; display:flex; flex-wrap:wrap; gap:9px 20px; justify-content:center; }
.bhr-hero__badges li{ display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:#d6ded8; }
.bhr-hero__badges li::before{ content:"\2713"; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:rgba(118,192,74,.16); color:#76c04a; font-size:11px; }
.bhr-hero__cta{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }

/* ---- buttons ---- */
.bhr-btn{ display:inline-block; cursor:pointer; border:0; border-radius:10px; padding:clamp(10px,1.4vh,13px) 24px; font-size:15px; font-weight:600; font-family:inherit; text-decoration:none; line-height:1.2; transition:transform .12s, box-shadow .12s, filter .12s, background .15s; }
.bhr-btn--primary{ background:var(--bh-green); color:#fff; }
.bhr-btn--primary:hover{ background:var(--bh-green-dk); transform:translateY(-1px); }
.bhr-btn--ghost{ background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.2); }
.bhr-btn--ghost:hover{ background:rgba(255,255,255,.16); }

/* ---- stage / billboard ring ----
   stage height is fluid (vh); JS reads its rendered height and derives --card-w/--card-h/--lift,
   so the ring scales to fit short laptop screens and tall monitors alike. */
.bhr-hero__stage{
	position:relative; z-index:2; margin:clamp(4px,0.8vh,9px) auto 0; width:100%; max-width:1120px;
	--card-w:170px; --card-h:240px; --lift:68px;              /* fallbacks; JS overwrites from rendered height */
	height:clamp(248px,34vh,360px); cursor:default; touch-action:pan-y; user-select:none;
}
.bhr-ring{ position:absolute; inset:0; }
.bhr-card{
	position:absolute; left:50%; top:50%; width:var(--card-w); height:var(--card-h);
	margin-left:calc(var(--card-w) / -2); margin-top:calc(var(--card-h) / -2);
	transform-origin:center center;
	transition:transform .55s cubic-bezier(.22,.61,.36,1), opacity .55s ease, filter .55s ease;
	will-change:transform, opacity;
}
.bhr-card__link{ display:block; width:100%; height:100%; }
.bhr-card__img{ width:100%; height:100%; object-fit:contain; display:block; pointer-events:none; filter:drop-shadow(0 16px 22px rgba(0,0,0,.5)); animation:bhr-bob 4s ease-in-out infinite; animation-delay:calc(var(--i) * -.5s); }
.bhr-card[data-active="true"] .bhr-card__img{ filter:drop-shadow(0 22px 30px rgba(0,0,0,.55)); }
@keyframes bhr-bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }

/* ---- arrows (the desktop control) ---- */
.bhr-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:130; width:46px; height:46px; border-radius:50%; cursor:pointer; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color:#fff; font-size:24px; line-height:1; display:flex; align-items:center; justify-content:center; transition:background .15s, transform .15s; }
.bhr-arrow:hover{ background:rgba(118,192,74,.30); }
.bhr-arrow:active{ transform:translateY(-50%) scale(.92); }
.bhr-arrow--prev{ left:1%; }
.bhr-arrow--next{ right:1%; }
/* touch devices spin by finger-drag only — hide the arrows there */
@media (hover:none) and (pointer:coarse){ .bhr-arrow{ display:none; } }

/* ---- active product panel ---- */
.bhr-active{ position:relative; z-index:3; margin-top:clamp(8px,1.2vh,12px); }
.bhr-active__name{ display:block; margin:0 0 clamp(6px,0.9vh,9px); font-size:clamp(15px,1.4vw,17px); font-weight:700; letter-spacing:.2px; color:#fff; }
.bhr-active__buy{ padding:clamp(10px,1.4vh,13px) 32px; }

/* ---- mobile (narrow) ---- */
@media(max-width:600px){
	.bhr-hero{ padding:70px 14px 40px; }
	.bhr-hero__stage{ height:284px; }
}

/* ---- reduced motion ---- */
@media(prefers-reduced-motion:reduce){ .bhr-card__img{ animation:none; } .bhr-card{ transition:transform .14s linear, opacity .14s linear; } }
.bhr-hero.bhr-reduced .bhr-card__img{ animation:none; }
.bhr-hero.bhr-reduced .bhr-card{ transition:transform .14s linear, opacity .14s linear; }
