/* Una estructura desde el servidor. La red y los observadores no deciden columnas. */
.bios-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  max-width: 1384px;
  margin: 0 auto;
  padding: 24px 24px 0;
}
.bios-hero-row > section.hero { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; }
.bios-hero-row .hero__track { height: 650px; grid-template-rows: minmax(0, 1fr); contain: layout; }
.bios-hero-row .hero__track > .slide { height: 100%; min-height: 0; max-height: 100%; overflow-y: auto; content-visibility: auto; contain-intrinsic-size: auto 650px; }
.bios-hero-row .hero__track > .slide--showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 24px; padding: 28px; align-items: center; }
.bios-hero-row .slide--showcase .slide__title { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; }
.bios-hero-row .slide--showcase .slide__lead { font-size: 14px; line-height: 1.7; }
.bios-hero-row .slide--showcase .slide__actions { display: grid; gap: 10px; }
.bios-hero-row .slide--showcase .slide__actions .btn { white-space: normal; width: 100%; }
.bios-hero-row .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bios-hero-row .showcase li > a { min-height: 0; padding: 12px 8px; }
.bios-hero-row .showcase img { width: 100%; height: 112px; max-height: 112px; object-fit: contain; }
.bios-hero-row .showcase__name { font-size: 12px; line-height: 1.4; }
.bios-hero-row .hero__controls { height: 74px; margin: 0; padding: 12px 0 18px; flex-wrap: nowrap; }
.bios-hero-row .hero__dots { display: flex; max-width: 55%; overflow: hidden; }
.bios-hero-row .bios-vids { display: flex; flex-direction: column; width: 100%; min-width: 0; gap: 12px; margin: 0; align-items: stretch; }
.bios-hero-row .bios-vids__frame { position: relative; width: 100%; height: 533.333px; max-height: none; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #0a2540; }
.bios-hero-row .bios-vids__frame video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 360ms ease; }
.bios-hero-row .bios-vids__frame video.is-ready { opacity: 1; }
.bios-hero-row .bios-vids__status { position: absolute; inset: 40% 20px auto; text-align: center; font-size: 14px; color: #fff; }
.bios-hero-row .bios-vids__status[hidden] { display: none; }
.bios-hero-row .bios-vids__sound { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #0008; color: white; }
.bios-hero-row .bios-vids__sound svg { width: 18px; height: 18px; }
.bios-hero-row .bios-vids__progress { position: absolute; inset: 0 0 auto; height: 3px; z-index: 1; background: #ffffff30; }
.bios-hero-row .bios-vids__progress i { display: block; height: 100%; width: 100%; background: white; transform: scaleX(0); transform-origin: left; transition: transform 200ms linear; }
.bios-hero-row .bios-vids__label { height: 18px; margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bios-hero-row .bios-vids__card { display: flex; align-items: center; gap: 10px; width: 100%; max-width: none; height: 74px; padding: 10px; background: #fff; border-radius: 14px; text-decoration: none; color: var(--ink); }
.bios-hero-row .bios-vids__thumb { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; background: #f3f6f9 center / contain no-repeat; }
.bios-hero-row .bios-vids__meta { display: block; flex: 1; min-width: 0; }
.bios-hero-row .bios-vids__name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 600; }
.bios-hero-row .bios-vids__sub { display: block; font-size: 11px; color: var(--muted); }
.bios-hero-row .bios-vids__sub b { display: block; color: var(--blue-700); }
@media (max-width: 1099px) {
  .bios-hero-row { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 0; }
  .bios-hero-row .hero__track { height: 730px; }
  .bios-hero-row .hero__track > .slide--showcase { grid-template-columns: 1fr; gap: 20px; align-content: center; }
  .bios-hero-row .slide--showcase .slide__text { max-width: 600px; }
  .bios-hero-row .slide--showcase .slide__actions { display: flex; flex-wrap: wrap; }
  .bios-hero-row .slide--showcase .slide__actions .btn { width: auto; }
  .bios-hero-row .showcase { width: 100%; max-width: 600px; margin-inline: auto; }
  .bios-hero-row .bios-vids { width: min(100%, 340px); justify-self: center; }
  .bios-hero-row .bios-vids__frame { height: auto; aspect-ratio: 9 / 16; }
}
@media (max-width: 599px) {
  .bios-hero-row .hero__track { height: 880px; }
  .bios-hero-row .hero__track > .slide--showcase { padding: 20px 16px; gap: 20px; }
  .bios-hero-row .slide--showcase .slide__title { font-size: 26px; }
  .bios-hero-row .slide--showcase .slide__actions { display: grid; }
  .bios-hero-row .slide--showcase .slide__actions .btn { width: 100%; }
  .bios-hero-row .showcase img { height: 100px; max-height: 100px; }
  .bios-hero-row .hero__dots { display: none; }
}
@media (max-width: 359px) { .bios-hero-row .hero__track { height: 930px; } }
@media (prefers-reduced-motion: reduce) { .bios-hero-row video, .bios-hero-row .bios-vids__progress i { transition: none; } }

/* El marco se fija desde CSS; la laptop y el texto se distribuyen según el ancho real. */
.bios-hero-row .hero__track { background: linear-gradient(130deg,#f6fbff,#e6f2fa); border: 1px solid #ffffffbd; box-shadow: inset 0 1px 0 #fff, 0 10px 35px #0b527207; }
.bios-hero-row .hero__track > .slide--lx { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); grid-template-rows: 1fr; grid-template-areas: "photo info"; align-items: center; gap: 18px; padding: 28px !important; background: radial-gradient(ellipse at 20% 28%,#ffffffed,transparent 65%),linear-gradient(135deg,#edf7fd,#e0eef8); }
.bios-hero-row .slide--lx .lx__photo { width: 100%; aspect-ratio: 1; align-self: stretch; }
.bios-hero-row .slide--lx .lx__photo img { object-fit: contain; }
.bios-hero-row .lx__info { position: relative; gap: 11px; padding: 22px 18px; border-radius: 24px; background: #ffffff69; border: 1px solid #ffffffb3; box-shadow: inset 0 1px 0 #fff,0 8px 32px #27577706; backdrop-filter: blur(14px) saturate(1.06); -webkit-backdrop-filter: blur(14px) saturate(1.06); text-align: left; justify-items: start; }
.bios-hero-row .lx__specs, .bios-hero-row .lx__where, .bios-hero-row .lx__cta { justify-content: start; }
.bios-hero-row .lx__name { font-size: clamp(22px,3.1cqw,34px); }
.bios-hero-row .lx__price .price { font-size: clamp(26px,3.7cqw,38px); }
.bios-hero-row .lx__specs li { overflow-wrap: anywhere; background: #ffffffb8; }
.bios-hero-row .slide--showcase { background: radial-gradient(ellipse at 80% 15%,#fff,transparent 65%),linear-gradient(130deg,#f3f9fd,#e5f1f9); }
.bios-hero-row .showcase li > a { background: #ffffff8c; border: 1px solid #ffffffb8; backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 #fff,0 5px 20px #184d7006; }
@media (min-width:600px) and (max-width:1099px) { .bios-hero-row .hero__track { height: 660px; } }
@container (max-width:639px) {
  .bios-hero-row .hero__track > .slide--lx { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(190px,.85fr) auto; grid-template-areas: "photo" "info"; align-content: center; gap: 12px; padding: 20px !important; }
  .bios-hero-row .slide--lx .lx__photo { width: min(100%,480px); height: 100%; min-height: 190px; aspect-ratio: auto; justify-self: center; }
  .bios-hero-row .lx__info { width: 100%; padding: 18px; gap: 10px; }
  .bios-hero-row .lx__cta { width: 100%; }
  .bios-hero-row .lx__cta .btn { flex: 1 1 170px; font-size: 14px; }
}
@media(max-width:599px) { .bios-hero-row .hero__track { height: 820px; } }
@media(max-width:359px) { .bios-hero-row .hero__track { height: 900px; } }
/* Bisel claro y bordes de vidrio de la primera fila. */
.bios-hero-row .hero__track { outline: 1px solid #c9e1ef; outline-offset: -1px; box-shadow: 0 8px 35px #17456308; }
.bios-hero-row .hero__track > .slide { box-shadow: inset 0 0 0 1px #ffffffbd; }
.bios-hero-row .hero__btn { background: #ffffffc9; border: 1px solid #fff; backdrop-filter: blur(12px); box-shadow: 0 5px 18px #244c6412; }
/* Una acción principal clara; icono, texto y avance conservan sus posiciones. */
.bios-hero-row .lx__cta { display: grid; width: 100%; gap: 9px; margin-top: 8px; }
.bios-hero-row .slide--lx .lx__cta .btn--whatsapp { display: grid; grid-template-columns: 34px minmax(0,1fr) 16px; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 11px 13px; border: 1px solid #ffffff65; border-radius: 16px; background: linear-gradient(125deg,#d9f8e8,#b9efcf); color: #075b39; box-shadow: inset 0 1px 0 #ffffff9e,0 4px 12px #1573450a; text-align: left; }
.bios-hero-row .lx__wa-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #ffffff70; }
.bios-hero-row .lx__wa-icon svg { width: 21px; height: 21px; }
.bios-hero-row .lx__wa-copy { display: grid; gap: 2px; min-width: 0; }
.bios-hero-row .lx__wa-copy b { font: 600 14px/1.3 var(--font); }
.bios-hero-row .lx__wa-copy small { font: 400 11px/1.4 var(--font); color: #317553; }
.bios-hero-row .slide--lx .lx__cta .btn--whatsapp:hover { background: linear-gradient(125deg,#c7f4dc,#a8e9c2); box-shadow: inset 0 1px 0 #fff,0 6px 18px #15734514; }
.bios-hero-row .slide--lx .lx__cta .btn--outline { display: inline-flex; justify-self: start; min-height: 38px; padding: 6px 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #36627c; font-size: 12px; font-weight: 500; }
.bios-hero-row .lx__specs .spec--cpu { background: #d9efff; color: #075886; font-weight: 600; box-shadow: inset 0 0 0 1px #007fb91a; }
.bios-hero-row .lx__cta { grid-template-columns: minmax(0,1fr); justify-content: stretch; }
.bios-hero-row .slide--lx .lx__cta .btn--outline { background: transparent !important; gap: 7px; }
@media(min-width:640px) and (max-width:1099px) {
  .bios-hero-row .hero__track > .slide--showcase { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 20px; padding: 24px; }
  .bios-hero-row .slide--showcase .slide__title { font-size: clamp(23px,3.2vw,30px); }
  .bios-hero-row .slide--showcase .slide__lead { font-size: 13px; }
  .bios-hero-row .slide--showcase .slide__actions { display: grid; }
  .bios-hero-row .slide--showcase .slide__actions .btn { width: 100%; font-size: 13px; }
}
@media(min-width:600px) and (max-width:639px) { .bios-hero-row .hero__track { height: 760px; } }
@media(max-width:639px) { .bios-hero-row .showcase img { height: 90px; max-height: 90px; } }
/* Las fotos se componen sobre una base uniforme; el vidrio permanece en el marco. */
.bios-hero-row .showcase li > a { background: #f4f9fc; backdrop-filter: none; }
.bios-hero-row .showcase img { mix-blend-mode: multiply; background: transparent; }
/* V8: más superficie útil para el producto, conservando la imagen completa. */
.bios-hero-row .hero__track > .slide--lx { grid-template-columns: minmax(0,1.45fr) minmax(260px,1fr); padding: 24px 12px !important; gap: 16px; }
.bios-hero-row .slide--lx .lx__photo { overflow: visible; }
.bios-hero-row .lx__info { padding: 22px 18px; }
@container(max-width:639px) {
  .bios-hero-row .hero__track > .slide--lx { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(205px,1fr) auto; padding: 16px 12px !important; }
  .bios-hero-row .slide--lx .lx__photo { width: 100%; max-width: 520px; min-height: 205px; }
}
@media(min-width:640px) { .bios-hero-row .showcase img { height: 140px; max-height: 140px; } }
@media(max-width:639px) { .bios-hero-row .showcase img { height: 98px; max-height: 98px; } .bios-hero-row .slide--showcase .slide__lead { font-size: 13px; line-height: 1.6; } .bios-hero-row .slide--showcase .slide__title { font-size: 24px; } }
/* V9: encuadre medido del producto y composición centrada del banner. */
.product-crop { display: block; position: relative; width: 100%; aspect-ratio: var(--product-aspect,1); overflow: hidden; }
.bios-hero-row .slide--lx .product-crop img, .spotlight .product-crop img { position: absolute !important; inset: auto !important; left: var(--product-left,0%) !important; top: var(--product-top,0%) !important; width: var(--product-width,100%) !important; height: var(--product-height,100%) !important; max-width: none !important; max-height: none !important; object-fit: fill; margin: 0; padding: 0; transform: none; mix-blend-mode: multiply; }
.bios-hero-row .hero__track > .slide--lx { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(22px,3cqw,38px); padding: 32px !important; align-items: center; background: radial-gradient(ellipse at 18% 45%,#eefaff 0%,#d7effb 30%,transparent 66%),linear-gradient(115deg,#b9e2f5,#6aafd4 65%,#155d89); }
.bios-hero-row .slide--lx .lx__photo { display: grid; place-items: center; width: 100%; height: auto; min-height: 0; align-self: center; aspect-ratio: auto; }
.bios-hero-row .slide--lx .product-crop { width: 100%; }
.bios-hero-row .lx__info { width: 100%; max-width: 380px; justify-self: center; padding: 26px; gap: 14px; background: #ffffffb8; border: 1px solid #ffffffe0; border-radius: 26px; backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1); box-shadow: inset 0 1px 0 #fff,0 16px 36px #0c416b0d; }
.bios-hero-row .lx__eyebrow { margin: 0 0 2px; font-size: 10px; line-height: 1.5; letter-spacing: .09em; }
.bios-hero-row .lx__name { font-size: clamp(23px,3.2cqw,34px); line-height: 1.15; }
.bios-hero-row .lx__name span { margin-bottom: 6px; font-size: 11px; }
.bios-hero-row .lx__specs { gap: 7px; }
.bios-hero-row .lx__price { margin-top: 4px; gap: 4px; }
.bios-hero-row .lx__price .price { font-size: clamp(26px,3.6cqw,38px); }
.bios-hero-row .lx__where { margin-top: 1px; }
.bios-hero-row .lx__cta { margin-top: 4px; gap: 9px; }
.bios-hero-row .slide--lx .lx__cta .btn--whatsapp { min-height: 58px; padding: 11px 12px; grid-template-columns: 30px minmax(0,1fr) 14px; gap: 8px; }
.bios-hero-row .lx__wa-icon { width: 30px; height: 30px; }
.bios-hero-row .lx__wa-copy b { font-size: 13px; }
.bios-hero-row .slide--lx .lx__cta .btn--outline { justify-self: center; min-height: 32px; padding-block: 4px; }
@container(max-width:639px) {
  .bios-hero-row .hero__track > .slide--lx { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(170px,1fr) auto; grid-template-areas: "photo" "info"; padding: 22px !important; gap: 20px; }
  .bios-hero-row .slide--lx .lx__photo { width: min(100%,480px); min-height: 0; align-self: center; }
  .bios-hero-row .lx__info { max-width: 440px; padding: 22px; gap: 12px; }
}
@container(max-width:330px) { .bios-hero-row .hero__track > .slide--lx { padding: 16px !important; gap: 16px; } .bios-hero-row .lx__info { padding: 18px; } }
@media(prefers-reduced-transparency:reduce) { .bios-hero-row .lx__info { background: #f4faff; backdrop-filter: none; } }
/* V10: encuadre sin deformación; la altura de la fotografía siempre es intrínseca. */
.product-crop { box-sizing: content-box; height: 0 !important; min-height: 0; aspect-ratio: auto; padding: 0 0 calc(100% / var(--product-aspect,1)); align-self: center; justify-self: center; }
.bios-hero-row .slide--lx .product-crop img, .spotlight .product-crop img { height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }
.bios-hero-row .hero__track > .slide--lx { background: #dceffa; }
.bios-hero-row .lx__info { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: 0 8px 26px #104b6d09; }
.bios-hero-row .hero__track, .bios-hero-row .slide--showcase { background: #e6f3fc !important; }
.bios-hero-row .showcase li > a { background: #fff; backdrop-filter: none; }
.bios-hero-row .hero__btn { background: #fff; backdrop-filter: none; }
.bios-hero-row .slide--navy, .bios-hero-row .slide--grad { background: #0b304b; }
.bios-hero-row .slide--blue { background: #007bb5; }
.bios-hero-row .slide--sky { background: #deeff9; }
/* El encuadre tiene proporción propia y nunca toma la altura de otra tarjeta. */
.product-crop { height: auto !important; padding: 0; aspect-ratio: var(--product-aspect,1); align-self: center; justify-self: center; }
@container(max-width:639px) {
  .bios-hero-row .slide--lx .lx__photo { width: 100%; height: 100%; min-height: 0; align-self: stretch; container-type: size; }
  .bios-hero-row .slide--lx .product-crop { width: min(100cqw,calc(100cqh * var(--product-aspect,1))); }
}

/* Acento más vivo; el material queda limitado al anillo del contorno. */
.bios-hero-row .hero__track > .slide--lx { background: #c8d9ff; }
.bios-hero-row .hero__track, .bios-hero-row .slide--showcase { background: #d8e4ff !important; }
.bios-hero-row .slide--blue { background: #225de5; }
.bios-hero-row .slide--sky { background: #c8d9ff; }
.bios-hero-row .lx__specs .spec--touch { background: #dce8ff; color: #314e9d; }
.bios-hero-row .hero__track > .slide { position: relative; }
.bios-hero-row .hero__track > .slide::after, .spotlight::after {
  content: ''; position: absolute; inset: 0; z-index: 2; padding: 3px;
  border-radius: var(--radius); pointer-events: none;
  background: linear-gradient(135deg,#ffffffdb,#ffffff38 38%,#ffffff70 72%,#ffffffe6);
  backdrop-filter: blur(10px) saturate(1.15); -webkit-backdrop-filter: blur(10px) saturate(1.15);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.spotlight::after { border-radius: inherit; }
@media(prefers-reduced-transparency:reduce) {
  .bios-hero-row .hero__track > .slide::after, .spotlight::after { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Fotos intactas, sin mezclas de color: el contorno solo oculta su fondo exterior. */
.bios-hero-row .slide--lx .product-crop img, .spotlight .product-crop img {
  mix-blend-mode: normal; filter: none; clip-path: var(--product-silhouette,none);
}
/* Una única línea de acabado: evita la unión dentada de dos marcos enmascarados. */
.bios-hero-row .hero__track { outline: none; }
.spotlight { border-color: transparent; }
.bios-hero-row .hero__track > .slide::after, .spotlight::after {
  padding: 0; border: 2px solid #ffffffb8; box-sizing: border-box;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  mask: none; -webkit-mask: none; box-shadow: inset 0 0 0 1px #ffffff24;
}
