/* V17.1 Banner: empty architectural photograph + editable HTML + untouched original PNGs.
   All rules are scoped to b17-hero. Product images always retain their native aspect ratio. */
.b17-hero {
  --banner-height: clamp(680px, 48vw, 920px);
  position: relative; isolation: isolate; height: var(--banner-height);
  width: 100%; background: #eaf3fc; overflow: hidden; color: #152A33;
}
.b17-environment { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #071a2c; }
.b17-slide { position: absolute; inset: 0; opacity: 0; background-position: center; background-size: cover; background-repeat: no-repeat; transition: opacity .8s ease; }
.b17-slide.is-active { opacity: 1; }
.b17-slide-1 { background-image: url('assets/home/banner-carousel/banner-1.webp'); }
.b17-slide-2 { background-image: url('assets/home/banner-carousel/banner-2.webp'); }
.b17-slide-3 { background-image: url('assets/home/banner-carousel/banner-3.webp'); }
.b17-slide-4 { background-image: url('assets/home/banner-carousel/banner-4.webp'); }
/* Clickable slide dots. */
.b17-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 12px; }
.b17-dot { display: block; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.42); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.b17-dot:hover { background: rgba(255,255,255,.78); }
.b17-dot.is-active { background: #2855D9; outline: 2px solid rgba(255,255,255,.85); outline-offset: 2px; transform: scale(1.15); }
.b17-dot:focus-visible { outline: 3px solid #2855D9; outline-offset: 4px; }
.b17-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,rgba(4,18,32,.78) 0%,rgba(4,18,32,.58) 34%,rgba(4,18,32,.15) 55%,rgba(4,18,32,0) 75%);
}
.b17-copy { position: relative; z-index: 4; margin-left: 9.5%; width: 36.2%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-block: 44px; }
.b17-copy .b17-eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 32px; color: #2855D9; font-size: clamp(9px,.74vw,14px); font-weight: 700; letter-spacing: .19em; line-height: 1.5; white-space: nowrap; }
.b17-eyebrow > span { flex: 0 1 64px; height: 1px; background: #2855D9; }
main.p26-home .b17-copy h1 { margin: 0 0 28px; color: #fff; font-weight: 600; font-size: clamp(48px,4.35vw,84px); line-height: 1.06; letter-spacing: -.06em; max-width: none; text-shadow: 0 8px 28px rgba(0,0,0,.24); }
.b17-copy h1 > span,.b17-copy h1 > em { display: block; white-space: nowrap; }
main.p26-home .b17-copy h1 em { color: #2855D9; font-style: normal; font-weight: inherit; }
.b17-copy .m22-home-value { color: #fff !important; }
.b17-copy .b17-description { max-width: 560px; font-size: clamp(14px,1.12vw,20px); line-height: 1.45; color: rgba(255,255,255,.82); margin: 0 0 24px; letter-spacing: -.01em; }
.b17-actions { display: flex; align-items: stretch; gap: 16px; flex-wrap: wrap; }
.b17-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 52px; padding: 15px 24px; border: 1px solid #2855D9; border-radius: 3px; font-size: clamp(12px,.95vw,17px); font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .2s ease,box-shadow .2s ease; }
.b17-button > span { font-size: 25px; line-height: .7; font-weight: 400; }
.b17-button.b17-primary { background: #2855D9; color: #fff; }
.b17-button.b17-primary:hover { background: #2046B5; }
.b17-button.b17-secondary { border-color: rgba(255,255,255,.8); background: rgba(5,23,39,.28); color: #fff; backdrop-filter: blur(8px); }
.b17-button.b17-secondary:hover { background: #fff; color: #2855D9; }
.b17-button:focus-visible { outline: 3px solid #2855D9; outline-offset: 4px; }
.b17-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* Wall horizontal courses rise to the right; the verticals remain vertical.
   A projective map aligns the official SVG with that wall plane. */
.b17-scene .b17-wall-logo { position: absolute; z-index: 1; top: 12%; right: 3.2%; width: 10.1%; height: auto; object-fit: contain; transform-origin: 0 0;
  transform: matrix3d(1,-.28,0,.00022, 0,1,0,0, 0,0,1,0, 0,0,0,1);
  filter: drop-shadow(1px 2px 1px rgba(0,0,0,.65)) drop-shadow(0 0 3px rgba(185,210,245,.38)); }
/* Rig coordinates are the native PNG canvas: shadows follow exact wheel contacts. */
.b17-device-rig { position: absolute; width: auto; aspect-ratio: var(--device-ratio); }
.b17-rig-u5 { --device-ratio: 1109 / 2048; z-index: 4; height: 83%; bottom: 10%; left: 49%; }
.b17-rig-u12 { --device-ratio: 1356 / 2048; z-index: 3; height: 68%; bottom: 13.4%; left: 68.8%; }
.b17-scene .b17-device { position: relative; z-index: 2; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: none; }
.b17-ground-shadow { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; mix-blend-mode: multiply; pointer-events: none; }
@media(min-width:1800px) { .b17-copy .b17-description { margin-bottom: 30px; } .b17-copy .b17-eyebrow { margin-bottom: 40px; } }
@media(min-width:1025px) and (max-width:1450px) {
  .b17-copy { margin-left: 7%; width: 39%; }
  .b17-copy .b17-eyebrow { font-size: 9px; gap: 12px; }
  .b17-button { padding: 14px 17px; gap: 15px; }
  .b17-actions { gap: 12px; }
}
@media(max-width:1024px) {
  .b17-hero.b17-carousel-hero { height: clamp(620px,88svh,760px); min-height: 620px; }
  .b17-copy { margin-left: 7%; width: 86%; height: auto; padding: 54px 0 22px; }
  main.p26-home .b17-copy h1 { font-size: clamp(50px,7.3vw,76px); line-height: 1.06; margin-bottom: 24px; }
  .b17-copy .b17-eyebrow { font-size: 10px; margin-bottom: 26px; letter-spacing: .16em; }
  .b17-copy .b17-description { font-size: 16px; max-width: 600px; }
  .b17-button { font-size: 14px; }
  .b17-hero::before { background: linear-gradient(90deg,rgba(4,18,32,.82) 0%,rgba(4,18,32,.48) 62%,rgba(4,18,32,.14) 100%); }
  .b17-slide { background-position: 68% center; }
  .b17-scene { position: relative; height: clamp(410px,64vw,600px); inset: auto; width: 100%; background: url('assets/hero/banner-refined/showroom-empty.webp') right center / cover; }
  .b17-rig-u5 { left: clamp(27%, calc(55% - 215px), 34%); height: 84%; bottom: 10%; }
  .b17-rig-u12 { left: clamp(49%, calc(73% - 184px), 55%); height: 71%; bottom: 13.4%; }
  .b17-scene .b17-wall-logo { top: 12%; right: 4%; width: 11.5%; transform: matrix3d(1,-.32,0,.00022, 0,1,0,0, 0,0,1,0, 0,0,0,1); }
}
@media(max-width:600px) {
  .b17-hero.b17-carousel-hero { height: clamp(640px,100svh,740px); min-height: 640px; }
  .b17-copy { margin-left: 6%; width: 88%; padding-top: 36px; padding-bottom: 26px; justify-content: center; }
  .b17-copy .b17-eyebrow { font-size: 8px; gap: 10px; letter-spacing: .12em; margin-bottom: 22px; }
  .b17-eyebrow > span { flex-basis: 28px; }
  main.p26-home .b17-copy h1 { font-size: clamp(30px,7.9vw,44px); letter-spacing: -.045em; line-height: 1.08; margin-bottom: 22px; }
  .b17-copy .b17-description { font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
  .b17-actions { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
  .b17-button { font-size: 14px; min-height: 48px; padding: 13px 18px; }
  .b17-scene { height: 108vw; min-height: 340px; max-height: 540px; }
  .b17-rig-u5 { left: 2%; height: 82%; bottom: 10%; }
  .b17-rig-u12 { left: 44%; height: 69%; bottom: 13.4%; }
  .b17-scene .b17-wall-logo { right: 4%; top: 12%; width: 22%; }
  .b17-slide { background-position: 72% center; }
}
@media(prefers-reduced-motion:reduce) {
  .b17-slide { transition: none; }
}
