/* La comandera: "Esto es lo que te llevás" (24/11, a pedido de Álvaro). Oscura como la web; el fondo es el de la página. */
.cmd { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; overflow: clip; color: var(--texto); --cmd-rojo: #E0262F; --cmd-arriba: clamp(84px, 12svh, 112px); }
.cmd__lectores { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cmd__impresora, .cmd__barra { position: absolute; top: var(--cmd-arriba); left: 0; right: 0; margin-inline: auto; width: min(100% - 32px, 520px); }
.cmd__impresora { height: 94px; z-index: 2; border-radius: 20px 20px 26px 26px;
  background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / 0) 22%), linear-gradient(180deg, #36343A 0%, #222126 46%, #151417 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -3px 0 rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .09), 0 22px 30px -14px rgb(0 0 0 / .5), 0 3px 0 rgb(0 0 0 / .28); }
.cmd__impresora::before { content: ""; position: absolute; left: 14px; right: 14px; top: 57px; height: 2px; border-radius: 2px; background: linear-gradient(180deg, rgb(0 0 0 / .6) 50%, rgb(255 255 255 / .07) 50%); }
.cmd__ranura { position: absolute; left: 50%; bottom: 10px; width: 260px; height: 15px; margin-left: -130px; border-radius: 5px; background: #040405; box-shadow: inset 0 3px 4px rgb(0 0 0 / .9), 0 1px 0 rgb(255 255 255 / .12); }
.cmd__labio { position: absolute; z-index: 4; left: 0; top: 0; width: 260px; height: 7px; pointer-events: none; border-radius: 0 0 6px 6px;
  background: linear-gradient(135deg, #B9B9C4 25%, transparent 25%) 0 0 / 6px 4px repeat-x, linear-gradient(225deg, #8D8D99 25%, transparent 25%) 0 0 / 6px 4px repeat-x, linear-gradient(180deg, #2A2A30, #131316); box-shadow: 0 2px 3px rgb(0 0 0 / .45); }
.cmd__barra { z-index: 5; height: 58px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.cmd__marca { display: inline-flex; align-items: center; gap: 10px; font: 800 1.15rem/1 var(--letra); letter-spacing: -.03em; }
.cmd__estado { font: 500 .74rem/1 "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; color: #A9A59E; }
.cmd__luz { width: 8px; height: 8px; border-radius: 50%; background: #3A3A42; box-shadow: inset 0 1px 1px rgb(0 0 0 / .6); }
.cmd__luz.prendida { background: #58F08A; box-shadow: 0 0 0 2px rgb(88 240 138 / .16), 0 0 10px 2px rgb(88 240 138 / .7); }
.cmd__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.cmd__agarre { position: absolute; z-index: 6; left: 0; top: 0; width: 0; height: 0; padding: 0; margin: 0; border: 0; background: transparent; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: grab; }
.cmd__agarre--papel { touch-action: pan-y; }      /* el cuerpo deja pasar el scroll: se hamaca de costado */
.cmd__agarre--corte { touch-action: none; border-radius: 6px; }   /* de la lengüeta se tira para arrancar */
.cmd__agarre.agarrado { cursor: grabbing; }
.cmd__texto { position: absolute; z-index: 1; left: var(--lado); right: var(--lado); bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.cmd__titulo { margin: 0 0 16px; font: 800 clamp(2.1rem, 9.6vw, 2.9rem)/.98 var(--letra); letter-spacing: -.05em; }
.cmd__palabra { display: inline-block; transform-origin: 0 60%; }
.cmd__palabra--suave { color: #6E6A64; }
.cmd__acciones { display: flex; gap: 10px; align-items: center; }
.cmd__boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font: 700 1rem/1 var(--letra); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.cmd__boton--principal { background: var(--texto); color: #0C0B0A; }
.cmd__boton--otro { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px rgb(236 234 230 / .4); }
.cmd__boton:focus-visible { outline: 2px solid var(--texto); outline-offset: 3px; }
.cmd.es-contacto .cmd__boton--principal { flex: 1; max-width: 260px; min-height: 64px; font-size: 1.3rem; font-weight: 800; background: var(--cmd-rojo); color: #fff; }
.cmd.es-contacto .cmd__boton--otro { width: 64px; min-height: 64px; padding: 0; flex: none; }
.cmd.es-contacto .cmd__boton--otro span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 1000px) and (min-height: 540px) {
  .cmd__texto { left: max(var(--lado), calc(50vw - 620px)); right: auto; bottom: 13vh; width: min(calc(46vw - 210px), 470px); }
  .cmd__titulo { font-size: min(4.6vw, 10.5vh, 4.6rem); line-height: .96; margin-bottom: 30px; }
  .cmd__palabra { display: block; }
}
