@font-face { font-family: 'Hanken'; src: url(fuentes/hanken-grotesk-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: 'Hanken'; src: url(fuentes/hanken-grotesk-400-ext.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-024F; }
@font-face { font-family: 'Hanken'; src: url(fuentes/hanken-grotesk-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Hanken'; src: url(fuentes/hanken-grotesk-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'DMMono'; src: url(fuentes/dm-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DMMono'; src: url(fuentes/dm-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --tinta: #111111;
  --papel: #FFFFFF;
  --clinico: #F3F4F4;
  --linea: #111111;
  --fina: #D9DCDD;
  --gris: #6E7376;
  --rojo: #E3262D;
  --hospital: #BFD7EA;
  /* tapones: una familia de métricas por color */
  --t-verde: #2FA35A;
  --t-amarillo: #F2B90F;
  --t-lila: #9B7FD1;
  --t-azul: #3FA7E0;
  --t-gris: #8E9396;
  --m: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--papel); color: var(--tinta); font: 400 17px/1.5 'Hanken', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: min(var(--sp-ancho), 100% - var(--sp-margen) * 2); margin-inline: auto; }
.mono { font-family: 'DMMono', ui-monospace, monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.gris { color: var(--gris); }
.alto { color: var(--rojo); font-weight: 600; }

/* barra: la pone el marco de Sepal */
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: 'Hanken', system-ui, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -.03em; }
.logo img { width: 28px; height: 28px; }

/* portada */
.placa-analitica { background: #fff; }
.placa-analitica .gradilla { position: absolute; left: 50%; bottom: 6%; width: min(62%, 900px); transform: translateX(-50%); mix-blend-mode: multiply; }
.marca-portada { position: relative; z-index: 2; align-self: start; margin-top: 11%; display: inline-flex; align-items: center; gap: .18em; font-weight: 600; font-size: clamp(56px, 8.4vw, 140px); line-height: 1; letter-spacing: -.055em; }
.marca-portada img { width: .78em; height: .78em; }

/* secciones */
.seccion { padding-block: var(--sp-seccion) 0; }
.sp-titulo h2 { font-weight: 500; max-width: 17ch; }

/* hoja de resultados */
.hoja { background: var(--papel); border: 1px solid var(--linea); max-width: 1080px; }
.hoja header { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 24px 28px; border-bottom: 2px solid var(--linea); }
.hoja header .logo { font-size: 24px; }
.hoja .datos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; justify-self: end; text-align: left; }
.hoja .datos dd { font-weight: 500; font-size: 15px; margin-top: 2px; }
.hoja table { width: 100%; border-collapse: collapse; }
.hoja th { text-align: left; font-weight: 400; color: var(--gris); padding: 12px 28px 10px; border-bottom: 1px solid var(--linea); }
.hoja td { padding: 13px 28px; border-bottom: 1px solid var(--fina); vertical-align: middle; font-variant-numeric: tabular-nums; }
.hoja tr.grupo td { padding-top: 22px; border-bottom: 1px solid var(--linea); font-weight: 600; }
.hoja .tapon { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 10px; vertical-align: 0; }
.hoja footer { display: flex; justify-content: space-between; gap: 24px; padding: 18px 28px; border-top: 2px solid var(--linea); }
.hoja footer p { max-width: 60ch; font-size: 15px; }
.pista { margin-top: 16px; color: var(--gris); font-size: 15px; }
@media (max-width: 900px) { .hoja .datos { grid-template-columns: 1fr 1fr; } .hoja .col-rango { display: none; } .hoja td, .hoja th { padding-inline: 14px; } }

/* símbolo */
.simbolo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--linea); }
.simbolo > div { padding: 40px; }
.simbolo .grande { border-right: 1px solid var(--linea); display: grid; place-items: center; aspect-ratio: 1; position: relative; }
.simbolo .grande svg { width: 74%; }
.simbolo .lado { display: grid; grid-template-rows: auto 1fr auto; gap: 40px; }
.tamanos { display: flex; align-items: flex-end; gap: 32px; }
.tamanos figure { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.firmas { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.logotipo { font-weight: 600; font-size: clamp(52px, 6vw, 96px); letter-spacing: -.055em; line-height: 1; }
.logotipo .i { position: relative; display: inline-block; }
.logotipo .i::after { content: ''; position: absolute; left: 50%; top: .1em; width: .17em; height: .11em; border-radius: .02em; background: var(--rojo); transform: translateX(-50%); }
.logo-fila { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 40px; letter-spacing: -.045em; }
.logo-fila img { width: 52px; height: 52px; }
@media (max-width: 900px) { .simbolo { grid-template-columns: 1fr; } .simbolo .grande { border-right: 0; border-bottom: 1px solid var(--linea); } }

/* color */
.tapones { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--linea); }
.tapones > div { border-right: 1px solid var(--linea); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.tapones > div:last-child { border-right: 0; }
.tapones .cap { height: 64px; border-radius: 6px 6px 2px 2px; }
.tapones b { font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.base { display: grid; grid-template-columns: 4fr 2fr 1fr 2fr; height: 200px; margin-top: 24px; border: 1px solid var(--linea); }
.base > div { padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.base b { font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
@media (max-width: 900px) { .tapones { grid-template-columns: 1fr 1fr; } .tapones > div { border-bottom: 1px solid var(--linea); } }

/* letra */
.letra { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--linea); }
.letra > div { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 420px; }
.letra > div:first-child { border-right: 1px solid var(--linea); }
.letra .muestra { font-weight: 500; font-size: clamp(60px, 7vw, 116px); line-height: .95; letter-spacing: -.05em; outline: none; }
.letra .muestra.m { font-family: 'DMMono', monospace; font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: 0; line-height: 1.35; }
.letra .abc { color: var(--gris); font-size: 20px; }
@media (max-width: 900px) { .letra { grid-template-columns: 1fr; } .letra > div:first-child { border-right: 0; border-bottom: 1px solid var(--linea); } }

/* fotografía */
.fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fotos figure { display: flex; flex-direction: column; gap: 12px; }
.fotos figcaption { font-size: 15px; }
.fotos figcaption b { display: block; font-weight: 600; }
.reglas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; border-top: 1px solid var(--linea); padding-top: 18px; font-size: 15px; }
.reglas b { display: block; font-weight: 600; margin-bottom: 4px; }
@media (max-width: 900px) { .fotos, .reglas { grid-template-columns: 1fr 1fr; } }

/* escenas: fotos con la pieza encima */
.escenas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.escena { position: relative; margin: 0; }
.escena .lienzo { position: relative; }
.escena .lienzo > img:first-child { width: 100%; display: block; }
.escena .pieza { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); mix-blend-mode: multiply; border-radius: var(--r, 0); object-fit: fill; }
.escena .et { position: absolute; width: 28%; height: 15.6%; mix-blend-mode: multiply; border-radius: 2%; }
.escena figcaption { margin-top: 12px; font-size: 15px; }
.escena figcaption b { font-weight: 600; margin-right: 8px; }
@media (max-width: 900px) { .escenas { grid-template-columns: 1fr; } }

/* aplicaciones */
.apps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cartel { grid-column: span 4; position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--linea); background: #fff; }
.cartel > img { position: absolute; left: 0; top: 0; width: 100%; height: 90%; object-fit: cover; }
.cartel.azul { background: var(--hospital); }
.cartel.azul .t { right: auto; max-width: 38%; }
.cartel .t { position: absolute; left: 6%; right: 6%; top: 5%; font-weight: 500; font-size: clamp(26px, 2.6vw, 42px); line-height: .98; letter-spacing: -.045em; }
.cartel .pie { position: absolute; left: 6%; right: 6%; bottom: 3%; display: flex; justify-content: space-between; align-items: center; }
.cartel .pie .logo { font-size: 17px; }
.cartel .pie .logo img { width: 19px; height: 19px; }
.cartel.azul .t, .cartel.azul .pie { color: var(--tinta); }
.movil { grid-column: span 4; background: var(--clinico); border: 1px solid var(--linea); display: grid; place-items: center; padding: 32px 20px; }
.pantalla { width: 100%; max-width: 300px; aspect-ratio: 9/19; background: #fff; border: 1px solid var(--linea); border-radius: 34px; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pantalla .hora { display: flex; justify-content: space-between; font-weight: 600; font-size: 13px; padding: 0 8px; }
.aviso { border: 1px solid var(--linea); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 13px; line-height: 1.35; }
.aviso img { width: 30px; height: 30px; border: 1px solid var(--fina); border-radius: 7px; }
.aviso b { font-weight: 600; }
.pantalla .resumen { margin-top: auto; border-top: 1px solid var(--linea); padding-top: 10px; display: grid; gap: 8px; font-size: 13px; }
.pantalla .resumen div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--fina); padding-bottom: 6px; font-variant-numeric: tabular-nums; }
.etiqueta-tubo { grid-column: span 4; background: var(--clinico); border: 1px solid var(--linea); display: grid; place-items: center; padding: 32px; }
.pegatina { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--linea); padding: 16px 18px; display: grid; gap: 10px; }
.pegatina .barras { height: 54px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.pegatina .fila { display: flex; justify-content: space-between; font-size: 14px; }
.correo { grid-column: span 8; border: 1px solid var(--linea); background: #fff; }
.correo .sobre { display: grid; grid-template-columns: 70px 1fr; gap: 8px 16px; padding: 18px 22px; border-bottom: 1px solid var(--linea); font-size: 14px; }
.correo .cuerpo { padding: 26px 22px; display: grid; grid-template-columns: 1fr 200px; gap: 24px; }
.correo h3 { font-weight: 500; font-size: 32px; letter-spacing: -.04em; line-height: 1.05; }
.correo p { margin-top: 12px; font-size: 16px; max-width: 44ch; }
.correo .boton { display: inline-block; margin-top: 18px; background: var(--tinta); color: #fff; padding: 11px 16px; text-decoration: none; font-weight: 500; font-size: 15px; }
.correo .cuerpo img { width: 100%; height: 100%; object-fit: cover; }
.apps > .etiquetas { grid-column: span 5; }
.perfil { grid-column: span 7; display: grid; align-items: center; border: 1px solid var(--linea); background: var(--clinico); padding: clamp(20px, 3vw, 40px); }
.x { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--linea); }
.x .banner { position: relative; aspect-ratio: 3/1; overflow: hidden; background: #fff; }
.x .banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.x .banner .lema { position: absolute; left: 4%; top: 14%; font-weight: 500; font-size: clamp(22px, 3.4vw, 40px); line-height: 1; letter-spacing: -.045em; max-width: 12ch; }
.x .datos { padding: 0 20px 22px; }
.x .avatar { position: relative; z-index: 2; width: 100px; height: 100px; margin-top: -50px; border: 4px solid #fff; border-radius: 50%; overflow: hidden; background: #fff; }
.x .nombre { margin-top: 10px; font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.x .bio { margin-top: 8px; font-size: 16px; }
@media (max-width: 1000px) { .apps > * { grid-column: span 12 !important; } .correo .cuerpo { grid-template-columns: 1fr; } }


/* hoja: resumen y tapones */
.hoja { position: relative; }
.resumen-hoja { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; padding: 24px 28px; border-bottom: 2px solid var(--linea); }
.resumen-hoja .n { font-weight: 500; font-size: 120px; line-height: .78; letter-spacing: -.07em; color: var(--rojo); font-variant-numeric: tabular-nums; }
.resumen-hoja .n.cero { color: var(--tinta); }
.resumen-hoja b { display: block; font-weight: 500; font-size: 32px; letter-spacing: -.035em; line-height: 1; }
.resumen-hoja span.gris { display: block; margin-top: 6px; font-size: 15px; }
.fila-tapones { display: flex; gap: 6px; align-items: flex-end; }
.fila-tapones i { width: 26px; height: 17px; border-radius: 3px 3px 1px 1px; }
.fila-tapones i.r { background: var(--rojo); transform: translateY(-8px); }
.hoja .tapon { width: 18px; height: 12px; border-radius: 3px 3px 1px 1px; }
@media (max-width: 900px) { .fila-tapones { display: none; } .resumen-hoja { grid-template-columns: auto 1fr; } }

/* papel: tinta impresa y grano sobre las fotos */
.escena .pieza, .escena .et { filter: contrast(.88) brightness(1.04) blur(.35px); }
.escena .lienzo::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 -.9 .55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.escena .pieza.pantalla { filter: none; }

/* un tubo por métrica */
@media (max-width: 900px) { .tubos { grid-template-columns: repeat(3, 1fr); } }

/* hoja: tabla de laboratorio, sin gráficos */
.hoja th.num, .hoja td.num { text-align: right; }
.hoja td.prueba { width: 34%; }
.hoja td.unidad { width: 10%; }
.hoja th:nth-child(2), .hoja td.num:nth-child(2) { padding-right: 0; }
.hoja input { font: inherit; font-size: 17px; font-weight: 500; width: 8ch; text-align: right; border: 0; border-bottom: 1px dashed transparent; background: transparent; padding: 2px 0; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hoja input:hover { border-bottom-color: var(--fina); }
.hoja input:focus { outline: none; border-bottom-color: var(--tinta); }
.hoja tr.fuera input { color: var(--rojo); font-weight: 600; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hoja td { padding-block: 11px; }
.hoja tr.grupo td { padding-top: 20px; padding-bottom: 8px; }

.hoja td.unidad { padding-left: 18px; }

.tubos { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 24px; background: #fff; border: 1px solid var(--linea); }
.tubos .vial { margin: 0; border-right: 1px solid var(--fina); overflow: hidden; display: flex; flex-direction: column; }
.tubos .vial:last-child { border-right: 0; }
.tubos .vial img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.32); transform-origin: 50% 54%; }
.tubos figcaption { margin-top: auto; padding: 10px 14px 14px; font-size: 14px; color: var(--gris); position: relative; background: #fff; }
@media (max-width: 900px) { .tubos { grid-template-columns: repeat(3, 1fr); } }

/* aplicaciones: la app junto al perfil */
.escenas { grid-template-columns: 5fr 7fr; align-items: stretch; }
.escenas > .perfil { grid-column: auto; }
@media (max-width: 900px) { .escenas { grid-template-columns: 1fr; } }

/* símbolo: asterisco */
.logo { gap: 6px; }
.logo img { width: 24px; height: 24px; }
.logotipo { display: inline-flex; align-items: flex-start; }
.logotipo img.sup { width: .36em; height: .36em; margin: .02em 0 0 .03em; }

.apps > .cartel-img { grid-column: span 4; margin: 0; }
.cartel-img img { width: 100%; display: block; border: 1px solid var(--fina); }
@media (max-width: 900px) { .apps > .cartel-img { grid-column: span 12; } }

/* perfil de X: la ficha real sobre azul hospital, cortada por abajo como la foto del móvil */
.escenas > .perfil { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 0; border: 0; background: none; }
.perfil .marco { position: relative; flex: 1; min-height: 420px; overflow: hidden; background: var(--hospital); }
.perfil .marco img { position: absolute; left: 50%; top: 7%; width: min(78%, 620px); height: auto; transform: translateX(-50%); }
.perfil figcaption { margin-top: 12px; font-size: 15px; }
.perfil figcaption b { font-weight: 600; margin-right: 8px; }
@media (max-width: 600px) { .placa-analitica .gradilla { width: 92%; } .marca-portada { margin-top: 22%; } }
:root { --sp-mono: 'DMMono', ui-monospace, monospace; }

/* ===== estructura de la referencia (10 secciones) ===== */
.sim-notas { list-style: none; display: grid; gap: 14px; font-size: 15px; color: var(--gris); }
.sim-notas b { display: block; color: var(--tinta); font-weight: 600; }

/* reglas de uso (logotipo e imagen) */
.reglas-uso { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; font-size: 15px; color: var(--gris); }
.reglas-uso li { padding-top: 14px; border-top: 1px solid var(--linea); }
.reglas-uso b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--tinta); }
#imagen .reglas-uso { margin-top: 48px; }

/* 03 logotipo */
.respeto { margin: 0; border: 1px solid var(--linea); background: var(--papel); }
.respeto-caja { display: grid; place-items: center; padding: clamp(60px, 9vw, 130px) 24px; }
.respeto .logo-fila { --x: 52px; position: relative; font-size: 56px; gap: 18px; outline: 1px dashed var(--t-azul); outline-offset: var(--x); }
.respeto .logo-fila img { width: 72px; height: 72px; }
.respeto figcaption, .icono-grid figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--linea); }
.versiones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.version { margin: 0; display: grid; grid-template-rows: 1fr auto; min-height: 260px; border: 1px solid var(--linea); }
.version > span { place-self: center; }
.version .logo-fila { font-size: 34px; gap: 10px; }
.version .logo-fila img { width: 44px; height: 44px; }
.version .logotipo { font-size: clamp(40px, 4vw, 60px); }
.version figcaption { padding: 12px 16px; }
.v-tinta { background: var(--tinta); color: var(--papel); }
.v-tinta figcaption { color: #ffffffa0; border-top: 1px solid #ffffff30; }
.v-hospital { background: var(--hospital); }
.v-hospital figcaption { border-top: 1px solid var(--linea); }
.v-texto { background: var(--papel); }
.v-texto figcaption { border-top: 1px solid var(--linea); }

/* 04 icono */
.icono-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.icono-grid > figure { margin: 0; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--linea); background: var(--papel); }
.icono-app { width: var(--t, 100%); height: auto; aspect-ratio: 1; border-radius: 22.5%; }
.tamanos-fila { display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 3.4vw, 52px); padding: clamp(40px, 6vw, 90px) 24px; }
.tamanos-fila > div { display: grid; justify-items: center; gap: 12px; }
.icono-inicio { background: var(--clinico) !important; }
.icono-inicio .tel { justify-self: center; margin: clamp(24px, 3vw, 40px) 0; }

/* móvil con el marco de iPhone (de sobremesa) */
.tel { position: relative; width: min(280px, 86%); aspect-ratio: 1221 / 2471; container-type: inline-size; filter: drop-shadow(0 26px 30px #1111112e) drop-shadow(0 4px 6px #11111120); }
.tel .marco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.tel-pantalla { position: absolute; left: 3.9%; top: 1.5%; width: 92.4%; height: 97%; border-radius: 17.2% / 8%; overflow: hidden; display: flex; flex-direction: column; background: var(--papel); }
.m-sb { height: 13cqw; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 2.4cqw 7cqw 0 9cqw; font: 600 4.2cqw/1 'Hanken', sans-serif; }
.m-ind { display: flex; align-items: center; gap: 1.1cqw; }
.m-ind svg { height: 2.8cqw; width: auto; fill: currentColor; }
.m-ind svg:last-child { height: 3.3cqw; }
.inicio { background: var(--hospital); color: #fff; padding: 0 5cqw 6cqw; }
.inicio .m-sb { padding-inline: 4cqw 2cqw; color: var(--tinta); }
.rejilla-iconos { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 6cqw 5cqw; padding: 8cqw 1cqw 0; }
.rejilla-iconos i { aspect-ratio: 1; border-radius: 23%; background: #ffffff59; backdrop-filter: blur(8px); }
.celda { display: grid; gap: 1.6cqw; justify-items: center; }
.celda .icono-app { box-shadow: 0 2px 8px #0003; }
.celda b { font: 500 3.2cqw/1 'Hanken', sans-serif; color: var(--tinta); }
.inicio .dock { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5cqw; padding: 3.6cqw; border-radius: 9cqw; background: #ffffff4d; backdrop-filter: blur(14px); }
.inicio .dock i { aspect-ratio: 1; border-radius: 23%; background: #ffffff73; }

/* 08 producto: la app en una ventana */
.pv { border: 1px solid var(--linea); background: var(--papel); }
.pv-barra { display: flex; align-items: center; gap: 18px; height: 50px; padding: 0 18px; border-bottom: 1px solid var(--linea); }
.pv-puntos { display: flex; gap: 7px; }
.pv-puntos i { width: 11px; height: 11px; border-radius: 50%; background: var(--fina); }
.pv-tabs { display: flex; gap: 2px; }
.pv-tabs button { height: 32px; padding: 0 14px; border: 0; background: none; font: 500 14px 'Hanken', sans-serif; color: var(--gris); cursor: pointer; }
.pv-tabs button[aria-selected="true"] { background: var(--tinta); color: var(--papel); }
.pv-url { margin-left: auto; }
.pv-cab { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px clamp(20px, 3vw, 40px); border-bottom: 2px solid var(--linea); }
.pv-vista { padding: clamp(24px, 3vw, 40px); min-height: 460px; }
.pv-resumen { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.pv-resumen > div:first-child { display: grid; gap: 16px; justify-items: start; }
.pv-grande { font-weight: 500; font-size: clamp(48px, 6vw, 96px); line-height: .9; letter-spacing: -.06em; }
.pv-grande em, .am-grande em { font-style: normal; color: var(--rojo); }
.pv-boton { margin-top: 12px; background: var(--tinta); color: #fff; padding: 12px 18px; font-weight: 500; font-size: 15px; }
.pv-lista { border-top: 2px solid var(--linea); }
.pv-lista > div { display: grid; grid-template-columns: 18px 1fr auto 130px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--fina); font-variant-numeric: tabular-nums; }
.pv-lista i, .am-lista i { width: 18px; height: 12px; border-radius: 3px 3px 1px 1px; }
.pv-lista b { font-weight: 500; text-align: right; }
.pv-lista small { text-align: right; }
.pv-lista .fuera b { color: var(--rojo); font-weight: 600; }
.pv-familias { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--linea); }
.pv-familias > div { display: grid; gap: 8px; align-content: start; padding: 20px; border-right: 1px solid var(--linea); min-height: 260px; }
.pv-familias > div:last-child { border-right: 0; }
.pv-familias i { height: 64px; border-radius: 6px 6px 2px 2px; margin-bottom: 8px; }
.pv-familias b { font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.pv-avisos { display: grid; border-top: 2px solid var(--linea); max-width: 820px; }
.pv-avisos > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--fina); }
.pv-avisos b { font-weight: 500; font-size: 20px; letter-spacing: -.02em; }

/* 09 movimiento */
.movs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mov { margin: 0; border: 1px solid var(--linea); background: var(--papel); }
.mov-escena { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--clinico); border-bottom: 1px solid var(--linea); overflow: hidden; }
.mov figcaption { display: grid; gap: 4px; padding: 14px 16px; font-size: 15px; color: var(--gris); }
.mov figcaption b { color: var(--tinta); font-weight: 600; }
.mov .ast { width: 34%; color: var(--tinta); overflow: visible; }
.mv-sale .suelto { animation: sale 3s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes sale { 0%, 20% { transform: none; stroke: currentColor; } 45%, 80% { transform: translate(7px, -4px); stroke: var(--rojo); } 100% { transform: none; stroke: currentColor; } }
.mv-tapones .fila-tapones { display: flex; gap: 8px; }
.mv-tapones .fila-tapones i { width: 34px; height: 22px; animation: tapon 3.4s cubic-bezier(.2, .7, .2, 1) infinite both; }
.mv-tapones .fila-tapones i:nth-child(2) { animation-delay: .06s; } .mv-tapones .fila-tapones i:nth-child(3) { animation-delay: .12s; } .mv-tapones .fila-tapones i:nth-child(4) { animation-delay: .18s; } .mv-tapones .fila-tapones i:nth-child(5) { animation-delay: .24s; } .mv-tapones .fila-tapones i:nth-child(6) { animation-delay: .3s; } .mv-tapones .fila-tapones i:nth-child(7) { animation-delay: .36s; } .mv-tapones .fila-tapones i:nth-child(8) { animation-delay: .42s; }
.mv-tapones .fila-tapones i.r { animation-name: tapon-rojo; }
@keyframes tapon { 0% { transform: translateY(30px); opacity: 0; } 25%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes tapon-rojo { 0% { transform: translateY(30px); opacity: 0; } 25% { transform: none; opacity: 1; } 45%, 85% { transform: translateY(-12px); opacity: 1; } 100% { transform: translateY(-12px); opacity: 0; } }
.mv-carga { grid-template-rows: 1fr auto; place-items: center; padding: 10% 12% 8%; }
.mv-carga .ast { width: 32%; }
.mv-carga line { animation: brazo 1.2s linear infinite; }
.mv-carga line:nth-child(1) { animation-delay: -1.2s; } .mv-carga line:nth-child(2) { animation-delay: -1s; } .mv-carga line:nth-child(3) { animation-delay: -.8s; } .mv-carga line:nth-child(4) { animation-delay: -.6s; } .mv-carga line:nth-child(5) { animation-delay: -.4s; } .mv-carga line:nth-child(6) { animation-delay: -.2s; }
@keyframes brazo { 0% { opacity: 1; } 100% { opacity: .15; } }
.carga-info { justify-self: stretch; display: grid; gap: 8px; font: 11px/1.2 DMMono, monospace; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.carga-txt { color: var(--tinta); }
.carga-barra { height: 6px; background: var(--fina); overflow: hidden; }
.carga-barra i { display: block; height: 100%; background: var(--tinta); animation: barra 4.8s steps(1, end) infinite; }
@keyframes barra { 0% { width: 4%; } 25% { width: 33%; } 50% { width: 66%; } 75%, 100% { width: 100%; } }
.carga-pie { display: flex; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { .mv-sale .suelto, .mv-tapones .fila-tapones i, .mv-carga line, .carga-barra i { animation: none; } }

/* 10 aplicaciones: 2 móviles y el perfil de X grande */
.moviles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr); gap: 24px; margin-top: 24px; }
.movil-fig { margin: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 14px; padding: 44px 0 0; border: 1px solid var(--linea); background: var(--clinico); }
.movil-fig .tel, .perfil-img { align-self: center; }
.movil-fig figcaption { justify-self: stretch; padding: 12px 16px; border-top: 1px solid var(--linea); background: var(--papel); }
.perfil-fig { padding: 32px 0 0; background: var(--hospital); }
.perfil-img { display: block; width: calc(100% - 48px); max-width: 560px; }
.app-movil { padding: 0 6cqw 8cqw; gap: 3cqw; }
.am-cab { display: flex; justify-content: space-between; align-items: center; margin-top: 3cqw; }
.am-cab .logo { font-size: 6cqw; gap: 1.6cqw; }
.am-cab .logo img { width: 6.6cqw; height: 6.6cqw; }
.am-cab .mono { font-size: 3.2cqw; }
.am-grande { margin-top: 6cqw; font-weight: 500; font-size: 15cqw; line-height: .9; letter-spacing: -.06em; }
.am-sub { font-size: 4.4cqw; }
.am-lista { margin-top: 3cqw; border-top: 2px solid var(--tinta); }
.am-lista > div { display: grid; grid-template-columns: 4cqw 1fr auto; gap: 3cqw; align-items: center; padding: 3.6cqw 0; border-bottom: 1px solid var(--fina); font-size: 4.2cqw; font-variant-numeric: tabular-nums; }
.am-lista i { width: 4cqw; height: 2.8cqw; }
.am-lista b { font-weight: 500; }
.am-boton { margin-top: auto; display: grid; place-items: center; height: 12cqw; background: var(--tinta); color: #fff; font-weight: 500; font-size: 4.4cqw; }
.bloqueo { background: var(--hospital); color: var(--tinta); padding: 0 4cqw; }
.bq-fecha { margin-top: 8cqw; text-align: center; font-weight: 500; font-size: 4.6cqw; }
.bq-hora { text-align: center; font-weight: 600; font-size: 22cqw; line-height: 1; letter-spacing: -.04em; }
.bq-aviso { margin-top: 14cqw; display: grid; grid-template-columns: 9cqw 1fr; gap: 3cqw; padding: 3.4cqw; border-radius: 5cqw; background: #ffffffc4; backdrop-filter: blur(14px); font-size: 3.6cqw; line-height: 1.3; }
.bq-aviso img { width: 9cqw; height: 9cqw; border-radius: 22.5%; }
.bq-aviso span { display: flex; justify-content: space-between; }
.bq-aviso small { color: var(--gris); }

@media (max-width: 900px) {
  .reglas-uso, .movs, .moviles { grid-template-columns: 1fr 1fr; }
  .versiones, .icono-grid, .pv-resumen { grid-template-columns: 1fr; }
  .pv-familias { grid-template-columns: 1fr 1fr; }
  .perfil-fig { grid-column: 1 / -1; }
  .pv-lista > div { grid-template-columns: 18px 1fr auto; } .pv-lista small { display: none; }
}
