/* Pantallas en grande: pista pegada donde cada aparato crece casi a pantalla completa,
   se hace a un lado y aparece su explicación. El JS (pantallas.js) escala y mueve con transform/opacity. */
.pantallas { position: relative; background: linear-gradient(180deg, #eef3ff 0, #eef3ff calc(100% - 60vh), #fff 100%); }
.pz-pista { position: relative; height: 420vh; }
.pz-fijo { position: sticky; top: 0; height: 100svh; overflow: clip; }

/* fondo: sigue la luz azul del hero, un solo tono */
.pz-cielo { position: absolute; inset: 0; background: linear-gradient(180deg, #eef3ff 0%, #f8faff 45%, #ffffff 100%); }
.pz-cielo i { position: absolute; left: 50%; top: 50%; width: 90vw; height: 80vh; margin: -40vh 0 0 -45vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,25,255,.13), rgba(0,25,255,0)); filter: blur(40px); will-change: transform; }

/* entrada de la sección */
.pz-intro { position: absolute; z-index: 1; left: 50%; top: 36%; width: min(860px, 90vw); text-align: center; transform: translate(-50%, -50%); }
.pz-intro-in { will-change: transform, opacity; }
.pz-intro h2 { font: 600 clamp(36px, 4.6vw, 68px)/1.04 var(--ft); letter-spacing: -.04em; }
.pz-intro p.pz-sub { max-width: 520px; margin: 16px auto 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--gris); }

.pz-tag { font: 600 12.5px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: var(--azul); margin-bottom: 14px; }
.pantallas em { font-style: normal; color: var(--azul); font-family: var(--fd); font-weight: 500; letter-spacing: -.035em; font-variation-settings: var(--opsz); }

/* cada escena: el aparato y su texto */
.pz-escena { position: absolute; inset: 0; pointer-events: none; }
.pz-escena.activa { pointer-events: auto; }
.pz-aparato { position: absolute; left: 50%; top: 50%; z-index: 2; transform-origin: 50% 50%; will-change: transform, opacity; opacity: 0; }
.pz-texto { position: absolute; top: 84px; bottom: 76px; z-index: 3; display: flex; align-items: center; }
.pz-texto-in { width: 100%; will-change: transform, opacity; opacity: 0; }
.pz-texto h3 { font: 600 clamp(32px, 3.4vw, 50px)/1.04 var(--ft); letter-spacing: -.04em; }
.pz-texto .pz-lead { margin-top: 14px; font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.5; color: var(--gris); }
.pz-puntos { list-style: none; margin-top: 22px; display: grid; gap: 0; }
.pz-puntos li { position: relative; padding: 13px 0 13px 26px; font-size: 15.5px; line-height: 1.45; color: #2b2f3a; box-shadow: 0 -1px 0 rgba(10,20,80,.09); will-change: transform, opacity; }
.pz-puntos li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--azul); }
.pz-puntos li b { font-weight: 600; color: var(--tinta); }
.pz-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.pz-boton { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px; font: 600 15.5px/1 var(--fb); background: var(--azul); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,25,255,.7); transition: transform .2s, background .2s; }
.pz-boton:hover { background: var(--azul-osc); transform: translateY(-1px); }
.pz-liga { font: 600 15px/1 var(--fb); color: var(--tinta); padding: 6px 0; box-shadow: 0 1px 0 rgba(10,20,80,.25); transition: color .2s, box-shadow .2s; }
.pz-liga:hover { color: var(--azul); box-shadow: 0 1px 0 var(--azul); }
.pz-pie { margin-top: 22px; font-size: 13px; color: #8a8fa0; }

/* índice abajo: en qué aparato vas */
.pz-indice { position: absolute; z-index: 4; left: 50%; bottom: 22px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 0 0 1px rgba(10,20,80,.06), 0 8px 24px rgba(10,20,80,.07); transform: translateX(-50%); opacity: 0; will-change: opacity; }
.pz-indice button { appearance: none; border: 0; background: transparent; cursor: pointer; height: 34px; padding: 0 15px; border-radius: 999px; font: 500 13.5px/1 var(--fb); color: #5b5f6b; transition: background .25s, color .25s; }
.pz-indice button:hover { color: var(--tinta); }
.pz-indice button.on { background: var(--azul); color: #fff; }

/* ---------- aparatos (misma construcción que el hero, a tamaño grande) ---------- */
.pz-pantalla { position: relative; overflow: hidden; background: #000; }
.pz-scroll { position: absolute; inset: 0; overflow: hidden; }
.pz-pag { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; will-change: transform; }
.pz-pag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pz-brillo { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 46%); }

/* celular · 360 px de ancho */
.pz-celular { position: relative; width: 360px; }
.pz-cl-marco { position: relative; padding: 6px; border-radius: 76px; background: linear-gradient(135deg, #d8d4cd, #8e8a83 40%, #c9c5be 60%, #77736d); box-shadow: 0 60px 90px -36px rgba(10,20,70,.5), 0 18px 30px -18px rgba(10,20,70,.38); }
.pz-cl-bisel { padding: 10px; border-radius: 70px; background: #050507; }
.pz-cl-bisel .pz-pantalla { aspect-ratio: 390 / 844; border-radius: 60px; display: flex; flex-direction: column; background: #03050a; }
.pz-cl-estado { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 40px; color: #fff; font: 600 18px/1 var(--fb); letter-spacing: -.01em; }
.pz-cl-estado i { display: inline-block; width: 36px; height: 17px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.7); position: relative; }
.pz-cl-estado i::after { content: ''; position: absolute; inset: 2.5px 8px 2.5px 2.5px; border-radius: 2px; background: #fff; }
.pz-cl-isla { position: absolute; z-index: 2; left: 50%; top: 15px; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; }
.pz-cl-boton { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #6f6b65, #b8b4ad); }
.pz-cl-boton.b1 { left: -3px; top: 174px; height: 44px; } .pz-cl-boton.b2 { left: -3px; top: 238px; height: 74px; } .pz-cl-boton.b3 { right: -3px; top: 214px; height: 104px; }

/* laptop · 1080 px de ancho */
.pz-laptop { position: relative; width: 1080px; }
.pz-lt-tapa { width: 972px; margin: 0 auto; padding: 5px; border-radius: 38px 38px 7px 7px; background: linear-gradient(180deg, #d9dce1, #a9aeb7); }
.pz-lt-bisel { position: relative; padding: 24px 24px 34px; border-radius: 33px 33px 3px 3px; background: #050507; }
.pz-lt-notch { position: absolute; z-index: 2; left: 50%; top: 24px; width: 136px; height: 22px; margin-left: -68px; border-radius: 0 0 13px 13px; background: #050507; }
.pz-lt-bisel .pz-pantalla { aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; }
.pz-lt-base { position: relative; height: 28px; border-radius: 3px 3px 26px 26px / 3px 3px 18px 18px; background: linear-gradient(180deg, #eef0f3 0%, #d1d5db 45%, #9ea3ac 100%); box-shadow: 0 40px 50px -22px rgba(10,20,70,.45), 0 3px 0 rgba(0,0,0,.08); }
.pz-lt-base::before { content: ''; position: absolute; left: 50px; right: 50px; top: 0; height: 5px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.25) 10%, rgba(0,0,0,.25) 90%, rgba(0,0,0,0)); }
.pz-lt-ranura { position: absolute; left: 50%; top: 0; width: 164px; height: 11px; margin-left: -82px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #a3a8b1, #c9cdd3); }

/* monitor · 1184 px de ancho; el tablero (1280 × 768) se escala a la pantalla */
.pz-monitor { position: relative; width: 1184px; }
.pz-mn-marco { padding: 6px; border-radius: 34px; background: linear-gradient(180deg, #e9ebef, #b9bdc5 60%, #9ea3ad); box-shadow: 0 70px 110px -40px rgba(10,20,70,.42), 0 26px 40px -24px rgba(10,20,70,.32); }
.pz-mn-bisel { padding: 26px; border-radius: 28px; background: #050507; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.pz-mn-bisel .pz-pantalla { aspect-ratio: 16 / 9.6; border-radius: 6px; }
.pz-mn-bisel .tablero { transform: scale(.875); }   /* 1120 / 1280 */
.pz-mn-cuello { position: relative; width: 240px; height: 200px; margin: -3px auto 0; background: linear-gradient(90deg, #a7acb5, #e6e8ec 28%, #f4f5f7 50%, #d7dade 72%, #9da2ab); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.pz-mn-cuello::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 22%); }
.pz-mn-pie { width: 448px; height: 19px; margin: 0 auto; border-radius: 5px 5px 12px 12px; background: linear-gradient(180deg, #f1f2f4, #b7bbc3); box-shadow: 0 22px 34px -12px rgba(10,20,70,.42); }

/* ---------- páginas ficticias dentro de las pantallas ---------- */
/* Brasa · restaurante (celular, 328 px de ancho real) */
.pz-brasa { background: #0d0b0a; color: #f4efe9; font-family: var(--fb); }
.br-hero { position: relative; height: 700px; overflow: hidden; }
.br-hero img { position: absolute; inset: 0; object-position: 62% 50%; }
.br-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,5,.55) 0%, rgba(8,6,5,0) 22%, rgba(8,6,5,0) 42%, rgba(8,6,5,.88) 80%, #0d0b0a 100%); }
.br-nav { position: absolute; z-index: 2; left: 0; right: 0; top: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.br-nav b { font: 700 17px/1 var(--ft); letter-spacing: .32em; }
.br-menu { display: grid; gap: 6px; } .br-menu i { display: block; width: 24px; height: 1.5px; background: #f4efe9; } .br-menu i + i { width: 16px; justify-self: end; }
.br-hero-txt { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 34px; }
.br-hero-txt p { font: 600 11px/1 var(--fb); letter-spacing: .2em; text-transform: uppercase; color: rgba(244,239,233,.75); }
.br-hero-txt h4 { margin-top: 12px; font: 600 44px/.98 var(--ft); letter-spacing: -.045em; }
.br-btns { display: flex; gap: 8px; margin-top: 22px; }
.br-b { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #f4efe9; color: #0d0b0a; font: 600 13.5px/1 var(--fb); }
.br-b.claro { background: transparent; color: #f4efe9; box-shadow: inset 0 0 0 1px rgba(244,239,233,.4); }
.br-info { padding: 4px 24px 40px; }
.br-fila { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(244,239,233,.12); font-size: 14px; line-height: 1.5; }
.br-fila small { font: 600 10.5px/1.9 var(--fb); letter-spacing: .16em; text-transform: uppercase; color: rgba(244,239,233,.5); }

/* Origen · tienda de café (laptop, diseñada a 1280 px y escalada a 914) */
.pz-origen { width: 1280px; background: #f1e8dc; color: #1b1512; font-family: var(--fb); }
.og-hero { position: relative; height: 600px; overflow: hidden; background: #120e0c; }
.og-hero img { position: absolute; inset: 0; object-position: 50% 40%; }
.og-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,7,.82) 0%, rgba(10,8,7,.45) 38%, rgba(10,8,7,0) 62%), linear-gradient(180deg, rgba(10,8,7,.5) 0%, rgba(10,8,7,0) 18%); }
.og-nav { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 56px; height: 84px; padding: 0 56px; color: #f4ede4; }
.og-nav b { font: 700 19px/1 var(--ft); letter-spacing: .34em; }
.og-links { display: flex; gap: 32px; font-size: 15px; color: rgba(244,237,228,.82); }
.og-acc { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.og-acc svg { width: 24px; height: 24px; display: block; }
.og-carro { position: relative; } .og-carro em { position: absolute; right: -9px; top: -7px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #f4ede4; color: #1b1512; font: 700 11px/1 var(--fb); font-style: normal; }
.og-hero-txt { position: absolute; z-index: 2; left: 56px; bottom: 72px; width: 560px; color: #f4ede4; }
.og-hero-txt p { font: 600 13px/1 var(--fb); letter-spacing: .18em; text-transform: uppercase; color: rgba(244,237,228,.72); }
.og-hero-txt h4 { margin-top: 18px; font: 600 92px/.94 var(--ft); letter-spacing: -.05em; }
.og-sub { display: block; max-width: 420px; margin-top: 22px; font-size: 18px; line-height: 1.5; color: rgba(244,237,228,.78); }
.og-btns { display: flex; gap: 12px; margin-top: 30px; }
.og-b { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; background: #f4ede4; color: #1b1512; font: 600 16px/1 var(--fb); }
.og-b.claro { background: transparent; color: #f4ede4; box-shadow: inset 0 0 0 1px rgba(244,237,228,.45); }
.og-prods { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 40px 56px 44px; }
.og-cab { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 4px; }
.og-cab h5 { font: 600 34px/1 var(--ft); letter-spacing: -.035em; } .og-cab p { font-size: 15.5px; line-height: 1.5; color: #6f625a; } .og-cab span { font-size: 15px; font-weight: 500; box-shadow: 0 1px 0 rgba(27,21,18,.35); }
.og-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.og-foto { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #eadcc9; }
.og-foto img { object-position: 50% 55%; }
.og-grid h6 { margin-top: 12px; font: 600 19px/1.2 var(--ft); letter-spacing: -.02em; }
.og-grid p { margin-top: 4px; font-size: 14.5px; color: #6f625a; }
.og-add { display: inline-flex; align-items: center; height: 38px; margin-top: 12px; padding: 0 20px; border-radius: 999px; background: #1b1512; color: #f4ede4; font: 600 14px/1 var(--fb); }
.og-add.claro { background: transparent; color: #1b1512; box-shadow: inset 0 0 0 1px rgba(27,21,18,.3); }

/* pantallas bajas (laptops de 720 a 820 px de alto): texto más compacto */
@media (max-height: 820px) and (min-width: 761px) {
  .pz-texto h3 { font-size: clamp(30px, 3vw, 42px); }
  .pz-texto .pz-lead { margin-top: 10px; font-size: 15.5px; }
  .pz-puntos { margin-top: 14px; }
  .pz-puntos li { padding: 9px 0 9px 24px; font-size: 15px; }
  .pz-puntos li::before { top: 16px; }
  .pz-acciones { margin-top: 18px; }
  .pz-boton { height: 46px; }
  .pz-pie { display: none; }
}

/* celular de verdad: texto debajo del aparato */
@media (max-width: 760px) {
  .pz-texto { align-items: flex-end; }
  .pz-texto h3 { font-size: 28px; }
  .pz-texto .pz-lead { display: none; }
  .pz-puntos { margin-top: 12px; }
  .pz-puntos li { padding: 8px 0 8px 22px; font-size: 14px; }
  .pz-puntos li::before { top: 14px; }
  .pz-puntos li:nth-child(3) { display: none; }
  .pz-acciones { margin-top: 14px; }
  .pz-pie { display: none; }
  .pz-indice button { padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
}

/* sin movimiento: nada pegado, cada aparato con su texto, uno debajo de otro */
.pantallas.pz-quieto .pz-pista { height: auto; }
.pantallas.pz-quieto .pz-fijo { position: relative; height: auto; overflow: visible; }
.pantallas.pz-quieto .pz-intro { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; padding: 120px 0 20px; }
.pantallas.pz-quieto .pz-escena { position: relative; height: max(100svh, 680px); pointer-events: auto; overflow: hidden; }
.pantallas.pz-quieto .pz-aparato, .pantallas.pz-quieto .pz-texto-in, .pantallas.pz-quieto .pz-intro-in { opacity: 1; }
.pantallas.pz-quieto .pz-indice { display: none; }

/* unión suave con el final del hero */
.pantallas::before { content: ''; position: absolute; z-index: 5; left: 0; right: 0; top: -140px; height: 140px; pointer-events: none; background: linear-gradient(180deg, rgba(238,243,255,0), #eef3ff); }
