/* ============================================================
   HEISS HUB — app del huésped · Cartel (v13, nov-2026)
   Hoja exclusiva de index.html. panel.html sigue con estilos.css.
   Unidad: 1rem = 10 pt del diseño a 390 de ancho (Figma, sección
   «Opción 1 · Cartel»). El ancho escala todo; el alto lo absorben
   las fotos, con flex. Sin scroll en el inicio ni en los popups:
   .sheet-cuerpo solo se desplaza como último recurso.
   ============================================================ */

:root {
  color-scheme: light;
  --crema: #FFFBF2;
  --arena: #F3EBDC;
  --arena-cierre: #F2EBDD;
  --tinta: #14110F;
  --gris: #4A453D;
  --gris-suave: #8A8275;
  --naranja: #FF6B27;
  --ladrillo: #B23A08;
  --vino: #5A0F22;
  --rosa: #FF9CCB;
  --amarillo: #FFC52E;
  --verde-osc: #0B4A33;
  --verde: #0E5A3C;
  --lima: #D6EE63;
  --turquesa: #19B7AE;
  --turquesa-osc: #05201F;
  --error: #9C3415;
  --f-cartel: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --f-titulo: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-ui: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --nav: 5.1rem;
  --safe: env(safe-area-inset-bottom, 0px);
  --vv-alto: 100dvh;
  --vv-top: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(min(100vw, 430px) / 39); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--arena);
  color: var(--tinta);
  font: 400 1.4rem/1.45 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
p, h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 2px; }
::selection { background: var(--naranja); color: var(--tinta); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { display: block; width: 2.4rem; height: 2.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.solo-lector { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#app { position: relative; width: 39rem; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--crema); }

.error { color: var(--error); font: 500 1.2rem/1.6rem var(--f-ui); }
.vacio { padding: 1.2rem 0; color: var(--gris); font: 400 1.25rem/1.7rem var(--f-ui); text-align: center; }
.enlace { background: none; border: 0; padding: 0; text-decoration: underline; font: 600 1.25rem/1.6rem var(--f-ui); color: var(--tinta); }
.skeleton { min-height: 6.4rem; border-radius: 2rem; background: linear-gradient(90deg, #EFE7D8 25%, #F8F2E6 40%, #EFE7D8 60%); background-size: 300% 100%; animation: brillo 1.2s ease infinite; }
@keyframes brillo { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Botón principal ---------- */
.btn-cta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 5.6rem; flex: none;
  padding: 0 .7rem 0 2.2rem;
  border: 0; border-radius: 2.8rem;
  background: var(--naranja); color: var(--tinta);
  font: 400 2.3rem/2.7rem var(--f-cartel); letter-spacing: .02rem; text-transform: uppercase; text-decoration: none; text-align: left;
  white-space: nowrap;
}
.cta-circulo { flex: none; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--tinta); color: var(--crema); }
.cta-circulo .ic { width: 2.1rem; height: 2.1rem; }
.btn-cta:disabled { background: var(--arena); color: var(--gris-suave); cursor: default; }
.btn-cta:disabled .cta-circulo { background: #CFC6B5; color: var(--crema); }
.btn-centro { justify-content: center; padding: 0 2.2rem; }
.btn-cta.cargando { color: transparent; pointer-events: none; }
.btn-cta.cargando .cta-circulo { visibility: hidden; }
.btn-cta.cargando::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2rem; height: 2rem; margin: -1rem; border-radius: 50%; border: 2px solid rgba(20, 17, 15, .28); border-top-color: var(--tinta); animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.btn-borde { display: block; width: 100%; height: 4.8rem; border: 1.5px solid currentColor; border-radius: 2.4rem; background: none; font: 600 1.4rem/1.8rem var(--f-ui); }

/* ---------- Campos ---------- */
.campo {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0; min-height: 5.6rem; padding: .4rem 2rem;
  border-radius: 2.6rem; background: var(--arena);
}
.campo:focus-within { box-shadow: inset 0 0 0 2px var(--tinta); }
.campo label { font: 600 1.05rem/1.3rem var(--f-ui); }
.campo input, .campo textarea {
  display: block; width: 100%; min-width: 0; margin: .1rem 0 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; outline: 0; resize: none; overflow: hidden;
  font: 400 max(16px, 1.4rem)/1.2 var(--f-ui); /* iOS acerca la página si un campo baja de 16 px */
  -webkit-appearance: none; appearance: none;
}
.campo input::placeholder, .campo textarea::placeholder { color: #4B453C; opacity: 1; }
.campo input[type="date"] { min-height: 1.9rem; text-align: left; }
.campo input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* ---------- 1 · Bienvenida (y 1b · ingreso por tarjeta, mismo cartel) ---------- */
#p-bienvenida, #p-ingreso { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 19.4rem; background: var(--turquesa-osc); overflow: hidden; }
.bv-foto { position: absolute; left: 0; right: 0; top: -4.7rem; bottom: 22rem; }
.bv-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bv-velo { position: absolute; left: 0; right: 0; top: 0; height: 40.8rem; pointer-events: none; background:
  linear-gradient(180deg, rgba(20,17,15,.34) 0, rgba(20,17,15,.16) 4rem, rgba(20,17,15,0) 8.1rem),
  linear-gradient(180deg, rgba(5,32,31,0) 9.2rem, rgba(5,32,31,.5) 9.2rem, rgba(5,32,31,.3) 15.4rem, rgba(5,32,31,0) 20.4rem),
  linear-gradient(180deg, rgba(20,17,15,0) 28.8rem, rgba(20,17,15,.3) 40.8rem); }
.bv-barra { position: absolute; left: 1.8rem; right: 1.8rem; top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.bv-barra .logo { height: 2.8rem; width: auto; }
.pill-lang-foto::after { content: ''; position: absolute; inset: -.6rem -.4rem; }
.pill-lang-foto { position: relative; min-width: 4.1rem; height: 3.2rem; padding: 0 1.2rem; border: 0; border-radius: 1.6rem; background: var(--arena); color: var(--tinta); font: 600 1.2rem/1.6rem var(--f-ui); }
.bv-titulos { position: absolute; left: 1.8rem; right: 1.8rem; top: 10.5rem; color: #fff; }
.bv-ante { font: 700 1.05rem/1.4rem var(--f-ui); letter-spacing: .2rem; }
.bv-titulo { margin: .5rem 0 0 -.3rem; font: 300 6.2rem/6.2rem var(--f-titulo); letter-spacing: -.08rem; white-space: nowrap; }
.bv-hoja { position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: 1.6rem 1.8rem calc(1.4rem + var(--safe)); border-radius: 2.6rem 2.6rem 0 0; background: var(--crema); box-shadow: 0 -.6rem 2.4rem rgba(0, 0, 0, .18); }
.bv-cab { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.quien-titulo { flex: none; font: 300 3rem/3.4rem var(--f-titulo); letter-spacing: -.04rem; white-space: nowrap; }
.hab-pill { min-width: 0; display: flex; align-items: center; gap: .4rem; height: 3.2rem; padding: 0 1.2rem; border-radius: 1.6rem; background: var(--arena); font: 500 1.2rem/1.6rem var(--f-ui); white-space: nowrap; }
.hab-pill > span { flex: none; }
#hab-detectada { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.b-cambiar { flex: none; margin-left: .2rem; padding: 0; border: 0; background: none; font: 700 1.2rem/1.6rem var(--f-ui); text-decoration: underline; position: relative; }
.b-cambiar::after { content: ''; position: absolute; inset: -1.2rem -.8rem; }
.lista-huespedes { display: flex; flex-direction: column; gap: .8rem; }
.bv-tarjetas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: .4rem; }
.bv-tarjetas.apiladas { grid-template-columns: 1fr; gap: .8rem; }
.bv-tarjetas.apiladas:has(.btn-huesped:nth-child(4)) { gap: .6rem; }
.bv-tarjetas.apiladas:has(.btn-huesped:nth-child(4)) .btn-huesped { height: max(5.2rem, 44px); }
.btn-huesped { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-width: 0; height: 6.4rem; padding: 0 1.2rem 0 1.6rem; border: 0; border-radius: 2rem; background: var(--naranja); color: var(--tinta); font: 400 2.5rem/3rem var(--f-cartel); text-transform: uppercase; text-align: left; }
.btn-huesped:nth-child(4n+2) { background: var(--verde); color: var(--lima); }
.btn-huesped:nth-child(4n+3) { background: var(--amarillo); color: var(--verde-osc); }
.btn-huesped:nth-child(4n+4) { background: var(--vino); color: var(--rosa); }
.huesped-etiqueta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-huesped .hu-circulo { flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--tinta); color: var(--crema); }
.btn-huesped:nth-child(4n+2) .hu-circulo { background: var(--lima); color: var(--verde); }
.btn-huesped:nth-child(4n+3) .hu-circulo { background: var(--verde-osc); color: var(--amarillo); }
.btn-huesped:nth-child(4n+4) .hu-circulo { background: var(--rosa); color: var(--vino); }
.hu-circulo .ic { width: 1.8rem; height: 1.8rem; }
.btn-huesped.cargando { opacity: .55; pointer-events: none; }
.bv-apellido { width: 100%; height: 4.6rem; border: 0; border-radius: 2.3rem; background: var(--arena); font: 400 1.6rem/2rem var(--f-cartel); text-transform: uppercase; }
.enlace-ayuda { display: flex; align-items: center; justify-content: center; min-height: 4.4rem; font: 600 1.25rem/1.6rem var(--f-ui); text-decoration: underline; text-align: center; }
.nota-privacidad { margin-top: -1.2rem; font: 400 1.1rem/1.5rem var(--f-ui); color: var(--gris); text-align: center; }
#f-identificar { display: flex; flex-direction: column; gap: .8rem; }
.ayuda { font: 400 1.15rem/1.5rem var(--f-ui); color: var(--gris); padding-left: 2rem; }
#f-identificar + .nota-privacidad { margin-top: 0; }

/* ---------- 1b · Ingreso por tarjeta (/q/<LOC>, MVP) ----------
   Estilos del diseño aprobado (presentacion-ingreso/pantalla.html) con las variables de v13. */
.texto-hoja { font: 400 1.35rem/1.9rem var(--f-ui); color: var(--gris); }
.wifi-card { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem 1.6rem; border-radius: 1.8rem; background: var(--arena); }
.wifi-card > .ic { flex: none; width: 2.6rem; height: 2.6rem; margin-top: .2rem; }
.wifi-datos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.wifi-t { font: 700 1.05rem/1.4rem var(--f-ui); letter-spacing: .16rem; }
.wifi-fila { display: flex; align-items: center; gap: .8rem; font: 400 1.35rem/1.9rem var(--f-ui); }
.wifi-fila span { flex: none; width: 4.6rem; color: var(--gris); }
.wifi-fila b { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
/* La clave sale enmascarada; tocarla la muestra (la copia el botón «Copiar»). */
.wifi-ver { position: relative; min-width: 0; padding: 0; border: 0; background: none; font: 600 1.35rem/1.9rem var(--f-ui); text-align: left; overflow-wrap: anywhere; }
.wifi-ver::after { content: ''; position: absolute; inset: -.8rem -.4rem; }
.b-copiar { flex: none; margin-left: auto; height: 2.8rem; padding: 0 1.2rem; border: 0; border-radius: 1.4rem; background: var(--tinta); color: var(--crema); font: 600 1.15rem/1 var(--f-ui); }
.aviso { padding: 1.2rem 1.4rem; border-radius: 1.6rem; background: var(--arena); font: 400 1.25rem/1.75rem var(--f-ui); color: var(--tinta); }
#f-tel-entrar { display: flex; flex-direction: column; gap: 1.2rem; }
#p-ingreso .bv-hoja .skeleton { min-height: 5.6rem; border-radius: 2.8rem; }
button.enlace-ayuda { width: 100%; padding: 0; border: 0; background: none; color: var(--tinta); }
button.enlace-ayuda:disabled { color: var(--gris-suave); text-decoration: none; cursor: default; }
/* 409 «otra persona»: el aviso lleva su botón a «Tus teléfonos» */
.aviso-accion { display: flex; flex-direction: column; gap: 1rem; }
.aviso-accion .btn-borde { height: 4.4rem; }
.aviso-accion .btn-borde:disabled { opacity: .5; cursor: default; }
/* Raíz del dominio del piloto: «Escanea el código de tu habitación» (el título va en dos renglones) */
.quien-titulo.titulo-largo { flex: 1 1 auto; min-width: 0; white-space: normal; font-size: 2.8rem; line-height: 3.2rem; }
#f-codigo { display: flex; flex-direction: column; gap: 1.2rem; }

/* ---------- Tus teléfonos ---------- */
.tels-cuerpo { gap: 1rem; }
.lista-tel { display: flex; flex-direction: column; gap: 1rem; }
.tel-item { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem; border-radius: 1.8rem; background: var(--arena); }
.tel-ic { flex: none; width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: var(--crema); }
.tel-ic .ic { width: 2rem; height: 2rem; }
.tel-texto { flex: 1; min-width: 0; }
.tel-t { font: 600 1.45rem/1.9rem var(--f-ui); display: flex; align-items: center; gap: .6rem; }
.tel-s { font: 400 1.2rem/1.6rem var(--f-ui); color: var(--gris); }
.tag-tu { padding: .1rem .7rem; border-radius: 1rem; background: var(--lima); font: 700 .95rem/1.5rem var(--f-ui); letter-spacing: .1rem; }
.tel-otro { box-shadow: inset 0 0 0 2px var(--naranja); }
.b-noesmio { flex: none; height: 3.4rem; padding: 0 1.2rem; border: 1.5px solid var(--tinta); border-radius: 1.7rem; background: transparent; font: 600 1.2rem/1 var(--f-ui); }
.b-noesmio:disabled { opacity: .5; cursor: default; }
.tel-marca { flex: none; padding: .5rem .9rem; border-radius: 1.2rem; background: #FFE0D1; color: var(--error); font: 700 1.05rem/1.3rem var(--f-ui); white-space: nowrap; }
.ayuda-sheet { padding-left: 0; margin: 1.2rem 0; }
.conf-cerrar { display: flex; flex-direction: column; gap: 1rem; }
.conf-acciones { display: flex; gap: .8rem; }
.conf-acciones .btn-borde { flex: 1; height: 4.4rem; }
.conf-noesmio .btn-borde:disabled { opacity: .5; cursor: default; }
.btn-lleno { background: var(--tinta); color: var(--crema); border-color: var(--tinta); }

/* ---------- 2 · Saludo ---------- */
.pantalla-saludo { position: fixed; top: 0; bottom: 0; left: 50%; width: 39rem; margin-left: -19.5rem; z-index: 70; display: flex; align-items: flex-end; background: var(--turquesa-osc); color: #fff; overflow: hidden; }
.saludo-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: saludo-zoom 2.4s ease-out both; }
@keyframes saludo-zoom { from { transform: scale(1.05); } to { transform: none; } }
.saludo-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.12) 30%, rgba(20,17,15,.72) 100%); }
.saludo-contenido { position: relative; width: 100%; padding: 0 1.8rem calc(4rem + var(--safe)); }
.saludo-ante { font: 700 1.2rem/1.6rem var(--f-ui); letter-spacing: .2rem; }
.saludo-nombre { margin-top: 2rem; font: 400 8.4rem/.96 var(--f-cartel); text-transform: uppercase; white-space: nowrap; }
.saludo-detalle { margin-top: .8rem; font: 300 2rem/2.6rem var(--f-titulo); }
.micro-conectado { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; font: 500 1.2rem/1.6rem var(--f-ui); }
.micro-conectado .ic { width: 1.5rem; height: 1.5rem; stroke-width: 2.6; color: var(--lima); }
.saludo-linea { height: .3rem; margin-top: 1.6rem; border-radius: .2rem; background: var(--naranja); transform-origin: left; animation: saludo-linea 2.2s linear both; }
@keyframes saludo-linea { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Ingreso por tarjeta: «Este teléfono quedó a tu nombre» un punto más grande (diseño aprobado).
   Solo en ese saludo y en el fin: el saludo de la DEMO no cambia. */
.saludo-tel .micro-conectado, .pantalla-fin .micro-conectado { margin-top: 1.2rem; font: 500 1.25rem/1.6rem var(--f-ui); }
.saludo-tel .micro-conectado .ic { width: 1.8rem; height: 1.8rem; }

/* ---------- 2b · Fin de la estadía ---------- */
.pantalla-fin { position: fixed; inset: 0; z-index: 70; width: 39rem; margin: 0 auto; display: flex; align-items: flex-end; background: var(--turquesa-osc); color: #fff; overflow: hidden; }
.pantalla-fin .bv-barra { z-index: 2; }
.pantalla-fin .saludo-detalle { font-size: 1.9rem; line-height: 2.5rem; }
.pantalla-fin .saludo-scrim { background: linear-gradient(180deg, rgba(20,17,15,.05) 25%, rgba(20,17,15,.55) 50%, rgba(5,32,31,.94) 78%); }
.pantalla-fin .micro-conectado a { color: inherit; font-weight: 700; }

/* ---------- 3 · Inicio ---------- */
#p-hub { height: 100vh; height: -webkit-fill-available; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; padding-bottom: calc(var(--nav) + var(--safe) + .4rem); background: var(--crema); }
.cabezote { flex: none; padding: .8rem 1.8rem 0; }
.barra-sup { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.barra-sup .logo { height: 2.8rem; width: auto; }
.barra-der { display: flex; align-items: center; gap: 1.2rem; padding-bottom: .5rem; }
.pill-lang:not(.pill-lang-foto), .b-texto { display: grid; place-items: center; height: 4.4rem; margin: -.2rem -1rem; padding: 0 1rem; border: 0; background: none; font: 600 1.2rem/1.5rem var(--f-ui); }
.pill-lang:not(.pill-lang-foto) { margin-right: .6rem; }
.cab-saludo { display: flex; align-items: baseline; gap: .8rem; height: 2.8rem; margin-top: 1.2rem; }
.cab-hola { min-width: 0; overflow: hidden; font: 400 2.4rem/2.8rem var(--f-cartel); text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.pill-demo { flex: none; padding: .1rem .6rem; border: 1px solid var(--ladrillo); border-radius: .8rem; color: var(--ladrillo); font: 700 .9rem/1.3rem var(--f-ui); letter-spacing: .06rem; white-space: nowrap; }
.hab-mini { flex: none; max-width: 45%; margin-left: auto; overflow: hidden; color: var(--gris); font: 400 1.2rem/1.5rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.cab-lema { margin-top: .4rem; font: 300 1.9rem/2.4rem var(--f-titulo); letter-spacing: -.02rem; white-space: nowrap; }

.hub-contenido { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 1.6rem; }
.banda { position: absolute; left: 0; right: 0; top: 0; height: 9.2rem; overflow: hidden; }
.banda img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.franja-estado { position: absolute; z-index: 2; left: 1.8rem; top: .7rem; display: flex; align-items: center; gap: .6rem; height: 3.8rem; max-width: 26rem; padding: 0 1rem 0 .5rem; border: 0; border-radius: 1.9rem; background: var(--crema); color: var(--tinta); text-align: left; box-shadow: 0 .4rem 1.4rem rgba(5, 32, 31, .28); }
.fe-icono { flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--verde); color: var(--lima); }
.fe-icono .ic { width: 1.7rem; height: 1.7rem; }
.fe-texto { min-width: 0; display: flex; flex-direction: column; }
.fe-titulo { font: 700 1rem/1.3rem var(--f-ui); letter-spacing: .08rem; white-space: nowrap; }
.fe-sub { overflow: hidden; font: 400 1.1rem/1.4rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.fe-chevron { flex: none; width: 1.4rem; height: 1.4rem; }

.grid-cats { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 17rem 17rem; grid-template-rows: minmax(0, 1fr); column-gap: 1.4rem; padding: 5.4rem 1.8rem 0; }
.cats-col { min-height: 0; display: flex; flex-direction: column; gap: .9rem; }
.cats-col-der { padding-top: 3.8rem; }
.cat-card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: .5rem; padding: .6rem .6rem .8rem; border: 0; border-radius: 2rem; text-align: left; }
.cat-foto { position: relative; flex: 1 1 0; min-height: 2.4rem; display: block; overflow: hidden; border-radius: 1.4rem; background: rgba(0, 0, 0, .12); }
.cat-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-t { flex: none; display: block; font: 400 2.6rem/2.7rem var(--f-cartel); text-transform: uppercase; white-space: nowrap; }
.cat-s { flex: none; display: block; overflow: hidden; font: 400 1.1rem/1.35rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.cat-rs { background: var(--naranja); color: var(--tinta); }
.cat-exp { background: var(--vino); color: var(--crema); }
.cat-exp .cat-t { color: var(--rosa); }
.cat-tr { background: var(--amarillo); color: var(--tinta); }
.cat-tr .cat-t { color: var(--verde-osc); }
.cat-ex { background: var(--verde); color: var(--crema); }
.cat-ex .cat-t { color: var(--lima); }
.cat-hoy { position: absolute; left: .5rem; top: .5rem; padding: 0 .8rem; border-radius: 1.1rem; background: var(--lima); color: var(--verde-osc); font: 700 1rem/2rem var(--f-ui); letter-spacing: .06rem; }

.home-util { flex: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.4rem; height: 3.6rem; margin: .7rem 1.8rem 0; }
.util-tile { position: relative; min-width: 0; display: flex; align-items: center; gap: .7rem; padding: 0 .8rem 0 1.2rem; border: 0; border-radius: 1.8rem; background: var(--arena); text-align: left; }
.util-tile::after { content: ''; position: absolute; inset: -.3rem 0; }
.ut-icono { flex: none; width: 1.7rem; height: 1.7rem; }
.ut-texto { min-width: 0; display: flex; flex-direction: column; }
.ut-t { font: 400 1.2rem/1.4rem var(--f-cartel); text-transform: uppercase; }
.ut-s { overflow: hidden; font: 400 1rem/1.2rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }

.seccion-cito { flex: none; display: flex; gap: .6rem; height: 5.4rem; margin: .6rem 1.8rem 0; }
.hero-cito { flex: 1; min-width: 0; display: flex; align-items: center; gap: 1rem; padding: 0 1.6rem 0 .6rem; border: 0; border-radius: 2.7rem; background: var(--tinta); color: #fff; text-align: left; }
.hc-campana { position: relative; flex: none; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--naranja); color: var(--tinta); }
.hc-campana .ic { width: 2.1rem; height: 2.1rem; }
.hc-onda { position: absolute; inset: 0; border-radius: 50%; background: var(--naranja); opacity: .45; animation: onda 2.4s ease-out infinite; }
@keyframes onda { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.32); opacity: 0; } }
.hc-campana .ic { position: relative; }
.hc-texto { min-width: 0; display: flex; flex-direction: column; }
.hc-eyebrow { font: 700 1rem/1.1rem var(--f-ui); letter-spacing: .13rem; color: var(--naranja); white-space: nowrap; }
.hc-titulo { font: 400 2rem/2.3rem var(--f-cartel); text-transform: uppercase; white-space: nowrap; }
.hc-sub { overflow: hidden; font: 400 1rem/1.2rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.hero-cito.en-llamada .hc-campana { background: var(--lima); }
.hero-cito.en-llamada .hc-onda { background: var(--lima); }
.cito-chat { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; width: 5.4rem; border: 0; border-radius: 2.7rem; background: var(--arena); }
.cito-chat .ic { width: 2rem; height: 2rem; }
.cc-t { font: 700 1rem/1.3rem var(--f-ui); }
.cito-badge { position: absolute; right: -.4rem; top: -1rem; height: 1.8rem; padding: 0 .7rem; border: 1px solid #fff; border-radius: .9rem; background: var(--vino); color: #fff; font: 700 1rem/1.6rem var(--f-ui); white-space: nowrap; }

/* ---------- Navegación inferior ---------- */
.nav-inferior { position: fixed; z-index: 60; left: 50%; bottom: 0; width: 39rem; margin-left: -19.5rem; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: .6rem; padding: .5rem 1rem calc(.6rem + var(--safe)); background: var(--crema); }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; min-height: 4rem; padding: 0; border: 0; background: none; color: #4B453C; }
.nav-item::after { content: ''; position: absolute; inset: -.5rem -.3rem; }
.nav-icono { position: relative; display: grid; place-items: center; width: 4.4rem; height: 2.6rem; border-radius: 1.3rem; color: var(--tinta); }
.nav-icono .ic { width: 1.9rem; height: 1.9rem; }
.nav-label { font: 500 1rem/1.3rem var(--f-ui); white-space: nowrap; }
.nav-item.activo .nav-icono { background: var(--naranja); }
.nav-item.activo .nav-label { color: var(--tinta); font-weight: 700; }
.nav-badge { position: absolute; left: 3.2rem; top: -.2rem; min-width: 1.6rem; height: 1.6rem; padding: 0 .3rem; border: 1px solid #fff; border-radius: .8rem; background: var(--vino); color: #fff; font: 700 1rem/1.4rem var(--f-ui); text-align: center; }

/* ---------- Popups ---------- */
.sheet { position: fixed; z-index: 50; top: 0; bottom: 0; left: 50%; width: 39rem; margin-left: -19.5rem; background: rgba(20, 17, 15, .3); opacity: 0; transition: opacity .2s ease; }
.sheet.abierta { opacity: 1; }
.sheet.sin-fundido { transition: none; }
.sheet-caja { position: absolute; left: 0; right: 0; top: .8rem; bottom: 0; display: flex; flex-direction: column; padding: 2rem 1.8rem calc(var(--nav) + var(--safe) + .7rem); overflow: hidden; border-radius: 2.6rem 2.6rem 0 0; background: var(--crema); transform: translateY(2.4rem); transition: transform .26s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.sheet.abierta .sheet-caja { transform: none; }
.sheet.sin-fundido .sheet-caja { transition: none; }
.sheet-caja.arrastrando { transition: none; }
.sheet-compacta .sheet-caja { top: auto; }
.asa { position: absolute; z-index: 3; left: 50%; top: .4rem; width: 3.6rem; height: .4rem; margin-left: -1.8rem; border-radius: .2rem; background: rgba(20, 17, 15, .16); }
.sheet-cab { flex: none; display: flex; align-items: center; gap: .8rem; min-height: 4.8rem; margin-bottom: 1.6rem; }
.sheet-tit { flex: 1; min-width: 0; }
.sheet-ante { font: 700 1.1rem/1.4rem var(--f-ui); letter-spacing: .16rem; color: var(--ladrillo); text-transform: uppercase; white-space: nowrap; }
.sheet-titulo { margin-top: .4rem; font: 300 2.9rem/3rem var(--f-titulo); letter-spacing: -.04rem; white-space: nowrap; }
.b-volver, .b-voz { position: relative; flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; padding: 0; border: 0; border-radius: 50%; background: var(--arena-cierre); color: var(--tinta); }
.b-volver::after, .b-voz::after { content: ''; position: absolute; inset: -.4rem; }
.b-volver .ic { width: 2rem; height: 2rem; stroke-width: 2; }
.b-voz .ic { width: 1.8rem; height: 1.8rem; }
.b-voz .voz-tacha { display: none; }
.b-voz:not(.activa) .voz-ondas { display: none; }
.b-voz:not(.activa) .voz-tacha { display: inline; }
.b-voz.activa { background: var(--tinta); color: var(--crema); }
.sheet-cuerpo { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: none; }
.sheet-cuerpo::-webkit-scrollbar { display: none; }
.nota-pie { font: 400 1.15rem/1.6rem var(--f-ui); color: var(--gris); text-align: center; }
.pie-accion { flex: none; display: flex; flex-direction: column; gap: .8rem; }

/* Cartel: foto arriba, nombre a todo el ancho (lo ajusta app.js) */
.estado { position: absolute; z-index: 1; left: .5rem; top: .5rem; display: inline-flex; align-items: center; gap: .4rem; height: 2rem; max-width: calc(100% - 1rem); padding: 0 .8rem 0 .7rem; overflow: hidden; border-radius: 1.1rem; background: #fff; color: var(--tinta); font: 600 1rem/1.4rem var(--f-ui); white-space: nowrap; }
.estado::before { content: ''; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--verde); }
.estado.cerrado::before { background: var(--gris-suave); }
.estado-sin-punto { padding: 0 .8rem; }
.estado-sin-punto::before { display: none; }
.cartel-foto { position: relative; flex: 1 1 0; min-height: 5rem; display: block; overflow: hidden; border-radius: 1.4rem; background: rgba(0, 0, 0, .12); }
.cartel-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cartel-nombre { flex: none; display: block; font-family: var(--f-cartel); font-size: 3rem; line-height: .862; text-transform: uppercase; white-space: nowrap; }
.cartel-nombre .linea { display: block; }
.cartel-nombre .linea + .linea { margin-top: .5rem; }

/* Room service */
.rs-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 1.2rem; }
.rs-grid.una-col { grid-template-columns: 1fr; }
.rs-grid.muchos { grid-template-rows: auto; }
.rs-grid.muchos .cartel { flex: none; }
.rs-grid.muchos .cartel-foto { flex: none; height: 10rem; }
.rs-col { min-height: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.rs-col + .rs-col { padding-top: 1.6rem; }
.cartel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: .7rem; padding: .6rem .6rem .7rem; overflow: hidden; border: 0; border-radius: 2rem; background: var(--c-bg); color: var(--c-tx); text-align: left; }

/* Detalle de local */
#s-local .sheet-caja { padding: 0 0 calc(var(--nav) + var(--safe) + .7rem); }
.local-detalle { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
.local-detalle::-webkit-scrollbar { display: none; }
.ld-bloque { position: relative; flex: 1 1 auto; min-height: 24rem; display: flex; flex-direction: column; gap: 1rem; padding: 1.2rem 1.2rem 1.4rem; border-radius: 2.6rem; background: var(--c-bg); color: var(--c-tx); }
.ld-bloque .asa { background: rgba(255, 251, 242, .45); }
.ld-mosaico { flex: 1 1 0; min-height: 10rem; display: flex; gap: .6rem; }
.ld-minis { flex: none; width: 11.2rem; display: flex; flex-direction: column; gap: .6rem; }
.ld-mini { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; border-radius: 1.4rem; background: rgba(0, 0, 0, .12); }
.ld-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-grande { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 1.4rem; background: rgba(0, 0, 0, .12); }
.ld-grande img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-grande .estado { left: 1rem; top: 1rem; }
.ld-volver { position: absolute; z-index: 1; right: 1rem; top: 1rem; }
.ld-nombre { flex: none; font-family: var(--f-cartel); font-size: 3rem; line-height: .862; text-transform: uppercase; white-space: nowrap; }
.ld-nombre .linea { display: block; }
.ld-nombre .linea + .linea { margin-top: .8rem; }
.ld-cuerpo { flex: none; display: flex; flex-direction: column; gap: 1.6rem; padding: 1.3rem 1.8rem 0; }
.ld-desc { font: 300 1.8rem/2.2rem var(--f-titulo); letter-spacing: -.01rem; text-wrap: balance; }
.destacados { display: flex; flex-direction: column; gap: .6rem; }
.dest-lbl { font: 700 1.1rem/1.4rem var(--f-ui); letter-spacing: .16rem; color: var(--ladrillo); }
.dest-fila { display: flex; align-items: flex-end; gap: .8rem; }
.dest-nombre { min-width: 0; overflow: hidden; font: 500 1.4rem/2rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.dest-puntos { flex: 1 1 1rem; min-width: 1rem; margin-bottom: .45rem; border-bottom: .14rem dotted #4B453C; }
.dest-precio { flex: none; font: 400 2.2rem/2.6rem var(--f-cartel); }
.ld-pie { flex: none; display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.8rem 0; }
.fl-nota { font: 400 1.15rem/1.6rem var(--f-ui); color: var(--gris); text-align: center; }

/* Experiencias */
.ep-cuerpo { gap: 1.6rem; }
#sec-hoy { flex: none; display: flex; flex-direction: column; gap: .8rem; }
.hoy-card { display: flex; align-items: center; gap: 1.2rem; padding: .8rem; border-radius: 2rem; background: var(--verde); color: var(--crema); }
.hoy-foto { flex: none; width: 7.2rem; height: 7.2rem; object-fit: cover; border-radius: 1.3rem; background: rgba(0, 0, 0, .15); }
.hoy-txt { min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.hoy-hora { font: 700 1rem/1.3rem var(--f-ui); letter-spacing: .11rem; color: var(--lima); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoy-lugar { font: 400 2.5rem/3rem var(--f-cartel); color: var(--lima); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoy-plan { font: 400 1.15rem/1.5rem var(--f-ui); }
#sec-experiencias { flex: 1 0 auto; display: flex; }
.grid-experiencias { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: minmax(min-content, 1fr); column-gap: 1.2rem; row-gap: 1.2rem; }
.grid-experiencias > .vacio { grid-column: 1 / -1; }
#sec-hoy.hoy-compacto { gap: .4rem; }
.hoy-compacto .hoy-card { gap: .8rem; padding: .4rem 1.2rem .4rem .4rem; border-radius: 1.2rem; }
.hoy-compacto .hoy-foto { width: 3.4rem; height: 3.4rem; border-radius: .8rem; }
.hoy-compacto .hoy-txt { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .8rem; row-gap: 0; align-items: baseline; }
.hoy-compacto .hoy-lugar { grid-area: 1 / 1; font-size: 1.7rem; line-height: 2rem; }
.hoy-compacto .hoy-hora { grid-area: 1 / 2; }
.hoy-compacto .hoy-plan { grid-column: 1 / -1; font-size: 1.1rem; line-height: 1.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-cartel { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: .8rem; padding: 1rem .8rem; border: 0; border-radius: 2rem; background: var(--c-bg); color: var(--c-tx); text-align: left; }
.exp-cartel:nth-child(even) { margin-top: 1.6rem; }
.exp-aliado { flex: none; display: block; overflow: hidden; font: 700 1rem/1.3rem var(--f-ui); letter-spacing: .1rem; color: var(--c-sub); white-space: nowrap; text-overflow: ellipsis; }
.exp-cartel .cartel-foto { border-radius: 1.3rem; }
.exp-txt { flex: none; display: flex; flex-direction: column; gap: .6rem; }
.exp-nombre { display: block; font-family: var(--f-cartel); font-size: 3rem; line-height: .94; text-transform: uppercase; white-space: nowrap; }
.exp-nombre .linea { display: block; }
.exp-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 400 1.1rem/1.4rem var(--f-ui); color: var(--c-sub); }

/* Express */
.ex-cuerpo { position: relative; gap: 1.8rem; }
.exito { flex: none; display: flex; align-items: center; gap: 1rem; min-height: 10.6rem; padding: .8rem 1.4rem .8rem .8rem; border-radius: 2rem; background: var(--tinta); color: var(--crema); animation: exito-entra .24s ease both; }
#exito-express:not([hidden]) ~ #bloque-encurso { display: none; }
@keyframes exito-entra { from { opacity: 0; transform: translateY(-.8rem); } to { opacity: 1; transform: none; } }
.exito-circulo { flex: none; display: grid; place-items: center; width: 4.8rem; height: 4.8rem; border-radius: 50%; background: var(--lima); color: var(--tinta); }
.exito-circulo .ic { stroke-width: 2.4; }
.exito-txt { display: flex; flex-direction: column; }
.exito-t { font: 400 2.2rem/2.6rem var(--f-cartel); text-transform: uppercase; color: var(--lima); }
.exito-s { font: 400 1.2rem/1.6rem var(--f-ui); }
.lista-encurso { display: flex; flex-direction: column; gap: .8rem; }
.ec-card { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 1.6rem .8rem .8rem; border-radius: 2rem; background: var(--verde); color: var(--crema); }
.ec-foto { flex: none; display: grid; place-items: center; width: 9rem; height: 9rem; overflow: hidden; border-radius: 1.3rem; background: var(--lima); color: var(--verde); }
.ec-foto img { width: 100%; height: 100%; object-fit: cover; }
.ec-foto .ic { width: 4.4rem; height: 4.4rem; stroke-width: 1.4; }
.ec-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.ec-et { display: flex; align-items: center; gap: .5rem; font: 700 1rem/1.4rem var(--f-ui); letter-spacing: .11rem; color: var(--lima); }
.ec-et::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: var(--lima); }
.ec-nombre { overflow: hidden; font: 400 3.4rem/4rem var(--f-cartel); color: var(--lima); text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.ec-det { overflow: hidden; font: 400 1.15rem/1.5rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.ec-tiempo { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.ec-q { font: 400 1.1rem/1.4rem var(--f-ui); }
.ec-t { font: 300 3.2rem/3.4rem var(--f-titulo); letter-spacing: -.04rem; white-space: nowrap; }
.ec-t.corto { font-size: 2rem; line-height: 2.4rem; }
.ec-card.ec-compacta { gap: 1rem; padding: .6rem 1.4rem .6rem .6rem; }
.ec-compacta .ec-foto { width: 3.8rem; height: 3.8rem; border-radius: 1rem; }
.ec-compacta .ec-foto .ic { width: 2.2rem; height: 2.2rem; stroke-width: 1.8; }
.ec-compacta .ec-et, .ec-compacta .ec-det, .ec-compacta .ec-q { display: none; }
.ec-compacta .ec-nombre { font-size: 2rem; line-height: 2.4rem; }
.ec-compacta .ec-t { font-size: 1.9rem; line-height: 2.2rem; }
.ec-mas { position: relative; align-self: flex-start; padding: 0 .6rem; border: 0; background: none; font: 600 1.15rem/1.6rem var(--f-ui); color: var(--gris); text-decoration: underline; }
.ec-mas::after { content: ''; position: absolute; inset: -1.4rem -.6rem; }
.chips-grid { flex: 1 1 19.2rem; min-height: 15rem; max-height: 27rem; display: flex; flex-wrap: wrap; align-content: stretch; gap: 1.2rem; }
.chip-express { position: relative; flex: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 7rem; padding: 1rem 1.2rem; border: 0; border-radius: 1.8rem; background: var(--arena); color: var(--tinta); text-align: left; }
.chip-express:nth-child(1) { width: 14rem; }
.chip-express:nth-child(2) { width: 20.2rem; }
.chip-express:nth-child(3) { width: 13.4rem; }
.chip-express:nth-child(4) { width: 11.8rem; }
.chip-express:nth-child(5) { width: 7.8rem; }
.chip-express .ic { width: 2.4rem; height: 2.4rem; }
.chip-express .chip-nom { font: 400 2.3rem/2.7rem var(--f-cartel); text-transform: uppercase; white-space: nowrap; }
.chip-check { position: absolute; right: .8rem; top: .8rem; display: none; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--lima); color: var(--tinta); }
.chip-check .ic { width: 1.5rem; height: 1.5rem; stroke-width: 2.4; }
.chip-express[aria-pressed="true"] { background: var(--tinta); color: var(--crema); }
.chip-express[aria-pressed="true"] .chip-check { display: grid; }
#w-detalle { flex: none; }
.ex-acciones { flex: none; display: flex; flex-direction: column; gap: .4rem; margin-top: auto; }
.det-historial { position: relative; }
.det-historial summary { display: flex; align-items: center; justify-content: space-between; height: 4.4rem; cursor: pointer; list-style: none; }
.det-historial summary::-webkit-details-marker { display: none; }
.etiqueta { font: 700 1.1rem/1.4rem var(--f-ui); letter-spacing: .16rem; }
.det-historial summary .ic { width: 2rem; height: 2rem; transition: transform .2s ease; }
.det-historial[open] summary .ic { transform: rotate(180deg); }
.lista-historial { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(100% + .2rem); max-height: 28rem; overflow-y: auto; padding: .4rem 1.4rem; border-radius: 1.8rem; background: #fff; box-shadow: 0 1rem 3rem rgba(20, 17, 15, .22); }
.sol { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(20, 17, 15, .1); }
.sol:last-child { border-bottom: 0; }
.sol-info { min-width: 0; }
.sol-tipo { font: 400 1.7rem/2rem var(--f-cartel); text-transform: uppercase; }
.sol-det { overflow: hidden; color: var(--gris); font: 400 1.15rem/1.5rem var(--f-ui); text-overflow: ellipsis; white-space: nowrap; }
.sol-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; font: 400 1.1rem/1.5rem var(--f-ui); color: var(--gris); }
.sol-estado { font-weight: 600; color: var(--verde); }
.sol.pendiente .sol-estado { color: var(--ladrillo); }

/* Citófono */
.ci-cuerpo { gap: 1.6rem; }
.cito-llamada { position: relative; flex: 1 1 23.4rem; min-height: 11rem; overflow: hidden; border-radius: 2rem; background: #2A2622; }
.cito-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.btn-timbrar { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: flex; align-items: center; gap: 1.2rem; height: 6rem; padding: 0 1.8rem 0 .6rem; border: 0; border-radius: 3rem; background: var(--tinta); color: #fff; text-align: left; }
.btn-timbrar .hc-campana { width: 4.8rem; height: 4.8rem; }
.btn-timbrar .hc-campana .ic { width: 2.4rem; height: 2.4rem; }
.btn-timbrar .hc-titulo { font-size: 2.3rem; line-height: 2.8rem; }
.btn-timbrar .hc-sub { font-size: 1.05rem; line-height: 1.4rem; }
.llamada-ui { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 1.2rem 1.4rem; border-radius: 2.4rem; background: var(--tinta); color: #fff; }
.ll-fila { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font: 600 1.3rem/1.8rem var(--f-ui); }
.ll-crono { font: 400 2rem/2.4rem var(--f-cartel); color: var(--lima); }
.ll-acciones { display: flex; gap: .8rem; margin-top: .8rem; }
.ll-acciones .btn-borde { flex: 1; height: 4.4rem; color: #fff; }
.ll-mute.activa { background: #fff; color: var(--tinta); border-color: #fff; }
.ll-colgar { flex: 1; height: 4.4rem; border: 0; border-radius: 2.2rem; background: #C8321F; color: #fff; font: 600 1.4rem/1.8rem var(--f-ui); }
.ll-acciones .btn-borde.ll-colgar { background: none; border: 1.5px solid #fff; }
.ll-aviso { flex: none; margin-top: -.6rem; color: var(--ladrillo); font: 500 1.2rem/1.6rem var(--f-ui); }
.cito-bloque, .con-bloque { min-height: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1rem .8rem .8rem; border-radius: 2rem; }
.cito-bloque { flex: 1 1 20.4rem; background: var(--amarillo); }
.chat-mensajes { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .8rem; overflow-y: auto; scrollbar-width: none; }
.chat-mensajes::-webkit-scrollbar { display: none; }
.cito-bloque .chat-mensajes > :first-child { margin-top: auto; }
.msg { flex: none; align-self: flex-start; max-width: 86%; padding: .9rem 1.4rem; border-radius: 1.6rem 1.6rem 1.6rem .4rem; background: var(--crema); color: var(--tinta); font: 500 1.3rem/1.8rem var(--f-ui); overflow-wrap: anywhere; }
.msg-yo { align-self: flex-end; border-radius: 1.6rem 1.6rem .4rem 1.6rem; background: var(--verde); color: var(--crema); }
.msg-escribiendo { display: flex; gap: .4rem; padding: 1.3rem 1.4rem; }
.msg-escribiendo i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--gris-suave); animation: puntos 1s ease-in-out infinite; }
.msg-escribiendo i:nth-child(2) { animation-delay: .15s; }
.msg-escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes puntos { 0%, 100% { opacity: .35; transform: none; } 50% { opacity: 1; transform: translateY(-.2rem); } }
.chat-form { flex: none; display: flex; align-items: center; gap: .8rem; height: 5.2rem; padding: 0 .4rem 0 2rem; border-radius: 2.6rem; background: var(--crema); }
.chat-form:focus-within { box-shadow: inset 0 0 0 2px var(--tinta); }
.chat-form input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font: 400 max(16px, 1.4rem)/1.2 var(--f-ui); }
.chat-form input::placeholder { color: #4B453C; opacity: 1; }
.b-enviar { flex: none; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; padding: 0; border: 0; border-radius: 50%; background: var(--tinta); color: var(--crema); }
.b-enviar .ic { width: 2rem; height: 2rem; }
.error-bloque { flex: none; padding: 0 .6rem; color: #6B1F08; }
.cito-extra { flex: none; display: grid; grid-template-columns: 16.4rem 1fr; gap: 1.2rem; }
.enlace-pill { display: flex; align-items: center; justify-content: center; gap: .8rem; height: 4.4rem; min-width: 0; padding: 0 1rem; border: 0; border-radius: 2.2rem; background: var(--arena); color: var(--tinta); font: 400 1.4rem/1.8rem var(--f-cartel); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.enlace-pill .ic { flex: none; width: 1.8rem; height: 1.8rem; }
.enlace-ancho { flex: none; justify-content: space-between; width: 100%; padding: 0 1.4rem 0 1.8rem; }

/* Transporte */
.tr-cartel { flex: 1 1 auto; min-height: 9rem; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; padding: .6rem .6rem .8rem; border-radius: 2rem; background: var(--amarillo); color: var(--verde-osc); }
.tr-foto { position: relative; flex: 1 1 0; min-height: 5rem; display: block; overflow: hidden; border-radius: 1.4rem; background: rgba(0, 0, 0, .12); }
.tr-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tr-nombre { flex: none; display: block; font-family: var(--f-cartel); font-size: 2.2rem; line-height: 1.15; text-transform: uppercase; white-space: nowrap; }
.tr-form { flex: none; display: flex; flex-direction: column; gap: 1.2rem; }
.fila-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.campo-stepper { flex-direction: row; align-items: center; justify-content: space-between; gap: .4rem; padding: 0 .8rem 0 1.8rem; }
.stepper-txt { display: flex; flex-direction: column; font: 400 1.4rem/1.8rem var(--f-ui); }
.stepper { display: flex; gap: .4rem; }
.stepper button { position: relative; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; padding: 0; border: 0; border-radius: 50%; background: var(--crema); font: 700 1.8rem/1 var(--f-ui); }
.stepper button::after { content: ''; position: absolute; inset: -.4rem -.2rem; }
#b-mas { background: var(--tinta); color: var(--crema); }
.chips-destino { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-destino { position: relative; height: 3.4rem; padding: 0 1.2rem; border: 0; border-radius: 1.7rem; background: var(--arena); font: 400 1.3rem/1.6rem var(--f-cartel); text-transform: uppercase; white-space: nowrap; }
.chip-destino::after { content: ''; position: absolute; inset: -.3rem 0; }
.chip-destino[aria-pressed="true"] { background: var(--tinta); color: var(--crema); }

/* Tu hotel */
.ho-cuerpo { gap: 1.2rem; }
.ho-estadia { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.8rem; border-radius: 2rem; background: var(--vino); color: var(--crema); }
.ho-est-iz { min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.ho-et { font: 700 1rem/1.3rem var(--f-ui); letter-spacing: .11rem; color: var(--rosa); }
.ho-hab { overflow: hidden; font: 400 2.5rem/3rem var(--f-cartel); color: var(--rosa); text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.ho-hasta { font: 400 1.15rem/1.5rem var(--f-ui); }
.ho-est-de { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.ho-co { font: 400 1.1rem/1.4rem var(--f-ui); }
.ho-hora { font: 300 3.2rem/3.6rem var(--f-titulo); letter-spacing: -.04rem; }
.grid-tuhotel { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 1.2rem; }
.ho-col { min-height: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.ho-col-der { padding-top: 1.6rem; }
.cartel-info { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: .7rem; padding: .6rem .6rem .7rem; overflow: hidden; border-radius: 2rem; background: var(--c-bg); color: var(--c-tx); }

/* WiFi */
.wf-cuerpo { flex: none; gap: 1.2rem; }
.wf-cartel { flex: none; padding: 1.6rem 1.8rem 1.8rem; border-radius: 2rem; background: var(--verde); color: var(--lima); }
.wf-et { font: 700 1rem/1.3rem var(--f-ui); letter-spacing: .11rem; }
.wf-red { margin: .2rem 0 1.2rem; font: 400 3.4rem/4rem var(--f-cartel); text-transform: uppercase; overflow-wrap: anywhere; }
.wf-clave { margin-top: .2rem; color: var(--crema); font: 600 2.2rem/2.8rem var(--f-ui); overflow-wrap: anywhere; }

/* Concierge */
.co-cuerpo { gap: .8rem; }
.con-bloque { flex: 1; background: var(--turquesa); }
.con-hilo { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .8rem; overflow-y: auto; scrollbar-width: none; }
.con-hilo::-webkit-scrollbar { display: none; }
.con-foto { flex: 1 1 17.6rem; min-height: 0; max-height: 24rem; width: 100%; object-fit: cover; border-radius: 1.4rem; }
.con-bloque .chat-mensajes { flex: none; overflow: visible; }
.con-bloque .msg-yo { background: var(--turquesa-osc); }
.chat-sugerencias { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.chat-sugerencias:empty { display: none; }
.chip-sug { max-width: 92%; padding: .9rem 1.4rem; border: 0; border-radius: 1.6rem 1.6rem .4rem 1.6rem; background: var(--turquesa-osc); color: var(--crema); font: 500 1.3rem/1.8rem var(--f-ui); text-align: left; }
#f-chat { padding-left: .8rem; }
.b-mic::after { content: ''; position: absolute; inset: -.4rem; }
.b-mic { position: relative; flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; padding: 0; border: 0; border-radius: 50%; background: var(--arena); }
.b-mic .ic { width: 1.8rem; height: 1.8rem; }
.b-mic.escuchando { background: var(--naranja); }
#b-mic[hidden] + input { padding-left: 1.2rem; }

/* Timbre entrante: la llamada se queda oscura a propósito */
.ov-llamada { position: fixed; z-index: 80; inset: 0; display: flex; align-items: center; justify-content: center; padding: 2.4rem; background: rgba(14, 12, 10, .92); color: #fff; }
.ov-ll-caja { width: 100%; max-width: 34rem; display: flex; flex-direction: column; gap: 1rem; text-align: center; }
.ov-ante { font: 700 1.2rem/1.6rem var(--f-ui); letter-spacing: .2rem; color: var(--naranja); }
.ov-titulo { font: 400 4.6rem/1 var(--f-cartel); text-transform: uppercase; }
.ov-ll-hab { font: 300 2rem/2.6rem var(--f-titulo); }
.ov-ll-acciones { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }

.toast { position: fixed; z-index: 90; left: 1.8rem; right: 1.8rem; bottom: calc(var(--safe) + .2rem); width: fit-content; max-width: 35rem; margin-inline: auto; padding: 1rem 1.6rem; border-radius: 1.6rem; background: var(--tinta); color: var(--crema); font: 500 1.3rem/1.8rem var(--f-ui); text-align: center; box-shadow: 0 .8rem 2.4rem rgba(20, 17, 15, .28); pointer-events: none; }

/* ---------- Teclado abierto (app.js marca body.con-teclado con visualViewport) ---------- */
body.con-teclado #nav-inferior { display: none !important; }
body.con-teclado .sin-teclado { display: none !important; }
body.con-teclado .sheet { top: var(--vv-top); bottom: auto; height: var(--vv-alto); }
body.con-teclado .sheet-caja { padding-bottom: .8rem; }
body.con-teclado .ex-acciones { margin-top: 0; }
body.con-teclado .cito-llamada { flex: none; min-height: 0; overflow: visible; background: none; border-radius: 0; }
body.con-teclado .cito-foto { display: none; }
body.con-teclado .llamada-ui { position: static; display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem .6rem 1.4rem; }
body.con-teclado .ll-estado:not(:last-child) { display: none; }
body.con-teclado .ll-acciones { flex: 1; margin-top: 0; }

/* ---------- Pantallas bajas (iPhone SE/8 con barras de Safari) ---------- */
@media (max-height: 610px) {
  .cabezote { padding-top: .2rem; }
  .barra-sup { height: 3.6rem; }
  .cab-saludo { margin-top: .4rem; }
  .cab-lema { margin-top: .2rem; }
  .hub-contenido { margin-top: .8rem; }
  .banda { height: 7.2rem; }
  .grid-cats { padding-top: 3.6rem; }
  .cats-col-der { padding-top: 3.6rem; }
  .home-util { height: 3.4rem; margin-top: .6rem; }
  .seccion-cito { height: 4.8rem; margin-top: .5rem; }
  .hero-cito { padding-left: .4rem; }
  .hc-campana { width: 4rem; height: 4rem; }
  .hc-eyebrow { display: none; }
  .sheet-caja { padding-top: 1.6rem; }
  .sheet-cab { margin-bottom: 1rem; }
  .ep-cuerpo, .ci-cuerpo { gap: 1rem; }
  .ex-cuerpo { gap: 1rem; }
  .hoy-foto { width: 5.2rem; height: 5.2rem; }
  #sec-hoy.hoy-compacto { gap: .3rem; }
  .hoy-compacto .hoy-card { padding: .2rem 1rem .2rem .3rem; }
  .hoy-compacto .hoy-foto { width: 3rem; height: 3rem; }
  .hoy-compacto .hoy-lugar { font-size: 1.6rem; line-height: 1.8rem; }
  .hoy-card { padding: .6rem; }
  .ho-estadia { padding: .8rem 1.6rem; }
  .ld-cuerpo { gap: 1rem; padding-top: 1rem; }
  .ld-pie { padding-top: 1rem; }
  .tr-form { gap: .8rem; }
  .fl-nota, .ld-pie .fl-nota { display: none; }
  .btn-cta { height: 5rem; }
  .campo { min-height: 4.8rem; }
  .det-historial summary { height: 3.2rem; }
  .ec-card { padding-top: .5rem; padding-bottom: .5rem; }
  .ec-foto { width: 5.6rem; height: 5.6rem; }
  .chips-grid { flex-basis: 12.4rem; min-height: 12.4rem; gap: .6rem; }
  .chip-express { min-height: 5.6rem; padding: .6rem 1rem; }
  .chip-express .ic { width: 2rem; height: 2rem; }
  .chip-express .chip-nom { font-size: 2rem; line-height: 2.2rem; }
  .ex-acciones { gap: 0; }
  #p-bienvenida, #p-ingreso { padding-top: 13rem; }
  #f-tel-entrar { gap: .8rem; }
  .bv-titulos { top: 6rem; }
  .bv-titulo { font-size: 5rem; line-height: 5.2rem; }
}
@media (max-height: 480px) {
  /* Apaisado: el último recurso es desplazar */
  #p-hub { height: auto; min-height: 100dvh; overflow: visible; }
  .grid-cats { grid-auto-rows: minmax(26rem, auto); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
