/* Page heroes with a full-bleed photo behind the copy */
.vd-hero.hb{position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:center;min-height:clamp(480px,64vh,660px);padding:72px 0 80px;background:#020D15}
.hb-bg{position:absolute;inset:0;z-index:-2;margin:0}
.hb-bg img{width:100%;height:100%;object-fit:cover;object-position:var(--hb-pos,70% 50%);display:block}
.vd-hero.hb::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(2,13,21,.94) 0%,rgba(2,13,21,.78) 32%,rgba(2,13,21,.25) 62%,rgba(2,13,21,0) 80%),linear-gradient(0deg,#020D15 0%,rgba(2,13,21,0) 24%),linear-gradient(180deg,rgba(2,13,21,.55) 0%,rgba(2,13,21,0) 18%)}
.vd-hero.hb .vd-hero-grid{grid-template-columns:minmax(0,1fr)}
.vd-hero.hb .vd-hero-copy{max-width:640px}
.vd-hero.hb .vd-hero-grid > figure,.vd-hero.hb .vd-hero-grid > .vd-photo{display:none}
.vd-hero.hb h1{text-shadow:0 2px 24px rgba(0,0,0,.35)}
.vd-hero.hb .vd-lede{color:#e8f2f7}
.vd-hero.hb .vd-facts{gap:12px;background:none;border:0;overflow:visible}
.vd-hero.hb .vd-facts li{border:1px solid rgba(80,200,231,.45);border-radius:12px;background:rgba(2,20,32,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.vd-hero.hb .vd-facts span{color:#d3e4ee}
/* hb-wide: photo reads across the full width, lighter even veil (Our company, 2026-11-20) */
.vd-hero.hb.hb-wide::after{background:linear-gradient(90deg,rgba(2,13,21,.72) 0%,rgba(2,13,21,.45) 38%,rgba(2,13,21,.12) 70%,rgba(2,13,21,.05) 100%),linear-gradient(0deg,#020D15 0%,rgba(2,13,21,0) 22%),linear-gradient(180deg,rgba(2,13,21,.5) 0%,rgba(2,13,21,0) 18%)}
.vd-hero.hb.hb-wide h1,.vd-hero.hb.hb-wide .vd-lede{text-shadow:0 2px 18px rgba(0,0,0,.55)}
@media(max-width:760px){
  .vd-hero.hb{min-height:0;align-content:end;padding:min(80vw,330px) 0 40px}
  .hb-bg img{object-position:var(--hb-pos-m,50% 30%)}
  .vd-hero.hb::after{background:linear-gradient(0deg,#020D15 0%,rgba(2,13,21,.9) 48%,rgba(2,13,21,.2) 70%,rgba(2,13,21,0) 100%)}
  .vd-hero.hb .vd-facts{grid-template-columns:1fr;gap:8px}
}
/* Family pages: the 3D viewer moves to its own section under the photo hero */
.hb-viewer{padding-top:clamp(40px,5vw,64px)}
.hb-viewer .vd-viewer{max-width:980px;margin:0 auto}
.vd-hero.hb .vd-brand{display:inline-block}
/* Inner sections with a photo background (layout from the design PDF) */
.sec.sb{isolation:isolate;overflow:hidden;background:#020D15}
.sb-bg{position:absolute;inset:0;z-index:-2;margin:0}
.sb-bg img{width:100%;height:100%;object-fit:cover;object-position:var(--sb-pos,50% 50%);display:block}
.sec.sb::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
/* full: photo across the whole section, even veil, darker on the text side */
.sec.sb-full::after{background:linear-gradient(90deg,rgba(2,13,21,.9) 0%,rgba(2,13,21,.72) 45%,rgba(2,13,21,.35) 100%),linear-gradient(0deg,rgba(2,13,21,.85) 0%,rgba(2,13,21,0) 30%),linear-gradient(180deg,rgba(2,13,21,.6) 0%,rgba(2,13,21,0) 25%)}
.sec.sb-full .vd-cycle li{background:rgba(2,20,32,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
/* right: photo on the right half, fading into the page */
.sec.sb-right .sb-bg{left:auto;width:min(58%,900px)}
.sec.sb-right::after{background:linear-gradient(90deg,#020D15 0%,#020D15 calc(100% - min(58%,900px)),rgba(2,13,21,.55) calc(100% - min(58%,900px) + 18%),rgba(2,13,21,.05) 100%),linear-gradient(0deg,#020D15 0%,rgba(2,13,21,0) 18%),linear-gradient(180deg,#020D15 0%,rgba(2,13,21,0) 18%)}
.sec.sb-right .wrap{position:relative}
@media(min-width:1001px){
  .vd-faq.sb .wrap{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:start}
  .vd-faq.sb .sec-head{display:block;margin:0}
  .vd-faq.sb .vd-faq-list{max-width:none}
}
.vd-faq.sb details{background:rgba(2,20,32,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.vd-faq.sb .sb-lede{margin:16px 0 0;color:#dbeaf1;line-height:1.5}
@media(max-width:1000px){
  .sec.sb-right .sb-bg{width:100%}
  .sec.sb-right::after{background:linear-gradient(0deg,rgba(2,13,21,.96) 0%,rgba(2,13,21,.86) 60%,rgba(2,13,21,.7) 100%)}
}
@media(max-width:760px){.sec.sb-full::after{background:rgba(2,13,21,.82)}}
/* problem sections: text runs over the photo, so add a stronger veil and lift the lede */
.vd-problem.sb-right::after{background:linear-gradient(90deg,#020D15 0%,#020D15 calc(100% - min(58%,900px)),rgba(2,13,21,.7) calc(100% - min(58%,900px) + 22%),rgba(2,13,21,.4) 100%),linear-gradient(0deg,#020D15 0%,rgba(2,13,21,0) 22%),linear-gradient(180deg,#020D15 0%,rgba(2,13,21,0) 20%)}
.vd-problem.sb .sec-lede{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 18px rgba(2,13,21,.9);color:#e8f2f7}
.vd-problem.sb .vd-cycle li{background:rgba(2,20,32,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
/* contact: port photo behind the form section; the form panel stays solid */
.sb-contact::after{background:linear-gradient(90deg,rgba(2,13,21,.95) 0%,rgba(2,13,21,.85) 38%,rgba(2,13,21,.45) 70%,rgba(2,13,21,.35) 100%),linear-gradient(0deg,#020D15 0%,rgba(2,13,21,0) 25%)!important}
/* mobile: photo sits in a top band and fades into the copy */
@media(max-width:760px){
  .hb-bg{bottom:auto;height:min(105vw,460px)}
  .vd-hero.hb::after{background:linear-gradient(180deg,rgba(2,13,21,.25) 0,rgba(2,13,21,.1) min(40vw,170px),rgba(2,13,21,.85) min(85vw,370px),#020D15 min(105vw,460px))}
}
