/* Interfaz pensada para leerse al aire libre: alto contraste, letra grande,
   botones de al menos 56 px y una sola instrucción visible a la vez. */
:root {
  --tinta: #1d1a18;
  --papel: #ffffff;
  --crema: #f6eedc;
  --acento: #c4561c;        /* terracota: contraste AA con blanco */
  --acento-oscuro: #9c4114;
  --verde: #2e5c40;
  --sombra: 0 6px 24px rgba(0, 0, 0, .35);
  --radio: 18px;
  font-size: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--tinta);
  color: var(--tinta);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

#ar {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* ---------- Pantallas completas ---------- */
.pantalla {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  background: var(--crema);
  overflow-y: auto;
  z-index: 20;
}
.pantalla.activa { display: flex; }

.tarjeta {
  width: 100%;
  max-width: 440px;
  margin: auto;
}
.tarjeta.centrada { text-align: center; }

.lugar {
  margin: 0 0 4px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acento-oscuro);
}
h1 { margin: 0 0 10px; font-size: 2.2rem; line-height: 1.1; }
h2 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.2; }
.descripcion { margin: 0 0 16px; font-size: 1.15rem; line-height: 1.4; }

.miniatura { margin: 0 0 20px; }
.miniatura img {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--tinta);
  background: #ddd;
  height: auto;
}
.miniatura figcaption { margin-top: 6px; font-size: .95rem; font-weight: 600; }

.nota { margin: 14px 0 0; font-size: .95rem; line-height: 1.4; color: #3c3633; }
.aviso-provisional {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 5px solid var(--acento);
  background: var(--papel);
  font-size: .95rem;
  font-weight: 600;
}

/* ---------- Botones ---------- */
.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.boton.principal { background: var(--acento); color: #fff; box-shadow: 0 4px 0 var(--acento-oscuro); }
.boton.principal:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--acento-oscuro); }
.boton.secundario { margin-top: 12px; background: transparent; color: var(--tinta); border: 3px solid var(--tinta); }
.boton:focus-visible, .enlace:focus-visible { outline: 4px solid #1a73e8; outline-offset: 3px; }

.enlace {
  border: 0;
  background: none;
  padding: 8px;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--tinta);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Espera ---------- */
.mensaje-grande { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin: 18px 0 0; }
.indicador {
  width: 56px; height: 56px; margin: 0 auto;
  border: 6px solid rgba(0, 0, 0, .15);
  border-top-color: var(--acento);
  border-radius: 50%;
  animation: girar 1s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Error ---------- */
#pantalla-error p { font-size: 1.1rem; line-height: 1.45; }
.pasos { padding-left: 1.4em; margin: 0 0 20px; font-size: 1.05rem; line-height: 1.45; }
.pasos li { margin-bottom: 8px; }
.pasos strong { white-space: nowrap; }

/* ---------- Capa sobre la cámara ---------- */
.capa {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  padding: max(14px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.capa[hidden] { display: none; }
.capa button, .capa .audio { pointer-events: auto; }

.instruccion {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  width: 100%;
  padding: 10px 16px 10px 10px;
  background: var(--papel);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  transition: opacity .25s;
}
.instruccion img {
  width: 66px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--tinta);
  flex: none;
}
.instruccion.oculta { opacity: 0; }
.instruccion.alerta { background: #fff4d6; outline: 4px solid var(--acento); }

.marco-guia {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 60vh);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  transition: opacity .25s;
}
.marco-guia span {
  position: absolute;
  width: 44px; height: 44px;
  border: 7px solid #fff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .7));
}
.marco-guia span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.marco-guia span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.marco-guia span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.marco-guia span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.marco-guia.oculto { opacity: 0; }
.marco-guia:not(.oculto) { animation: latido 1.8s ease-in-out infinite; }
@keyframes latido { 50% { transform: translate(-50%, -50%) scale(1.04); } }

.consejo {
  position: absolute;
  top: calc(50% + min(26vw, 20vh) + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 90vw);
  margin: 0;
  padding: 10px 14px;
  background: rgba(29, 26, 24, .9);
  color: #fff;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}


.pie {
  margin-top: auto;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sugerencia {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(29, 26, 24, .88);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}
.audio {
  padding: 12px;
  background: var(--papel);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  text-align: center;
}
.audio-boton { background: var(--verde); color: #fff; box-shadow: 0 4px 0 #1d3b29; }
.audio-boton:active { transform: translateY(2px); box-shadow: 0 2px 0 #1d3b29; }
.audio-boton .icono { font-size: 1.1em; width: 1.2em; }
.progreso { height: 6px; margin: 10px 4px 2px; background: #e4ddd0; border-radius: 3px; overflow: hidden; }
#barra-audio { height: 100%; width: 0; background: var(--verde); transition: width .25s linear; }

/* ---------- Portada (fondo blanco, estilo sobrio) ---------- */
.portada {
  display: none;
  padding: 0;
  background: #ffffff;
  color: #0b1430;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
.portada.activa { display: block; }
.pro { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.pro-cabecera { position: relative; overflow: hidden; border-bottom: 1px solid #e6e9f0; background: #fbfcfe; }
.fondo-red { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pro-cabecera > .pro { position: relative; z-index: 1; }

.pro-barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(14px, env(safe-area-inset-top)) 0 8px; }
.pro-logo-img { display: block; height: 72px; width: auto; margin-left: -8px; }
.pro-nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; }
.pro-nav a { color: #334155; text-decoration: none; font-weight: 600; }
.pro-nav a:hover { color: #1f4fd8; }
.pro-chip { padding: 4px 10px; border: 1px solid #c9d3e6; border-radius: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: #1f4fd8; }

.pro-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 36px 0 56px; }
.pro-sobretitulo { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1f4fd8; }
.pro h1 { margin: 0 0 18px; font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: #0b1430; }
.pro-desc { margin: 0 0 28px; max-width: 34em; font-size: 1.1rem; line-height: 1.6; color: #475569; }
.pro-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.pro-boton { min-height: 50px; padding: 0 22px; border-radius: 8px; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; touch-action: manipulation; transition: background .15s, border-color .15s; }
.pro-boton.primario { border: 1px solid #0b1430; background: #0b1430; color: #fff; }
.pro-boton.primario:hover { background: #1f4fd8; border-color: #1f4fd8; }
.pro-boton.secundario { border: 1px solid #c9d3e6; background: #fff; color: #0b1430; }
.pro-boton.secundario:hover { border-color: #0b1430; }
.pro-boton:focus-visible, .pro-exp:focus-visible, .pro-nav a:focus-visible { outline: 3px solid #1f4fd8; outline-offset: 3px; }
.pro-datos { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid #e6e9f0; }
.pro-datos div { padding: 14px 16px 0 0; }
.pro-datos div + div { padding-left: 16px; border-left: 1px solid #e6e9f0; }
.pro-datos dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.pro-datos dd { margin: 4px 0 0; font-size: .92rem; line-height: 1.4; color: #0b1430; }

.pro-hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pro-telefono { margin: 0; text-align: center; }
.pro-pantalla { width: min(270px, 62vw); aspect-ratio: 390 / 620; overflow: hidden; border-radius: 30px; padding: 8px; background: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 24px 48px rgba(15, 23, 42, .18); }
.pro-pantalla img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.pro-telefono figcaption { margin-top: 12px; font-size: .82rem; color: #64748b; }
.pro-escenario { margin: 0; width: 100%; max-width: 580px; text-align: center; }
.pro-escenario-etiqueta { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
/* Sin recuadro: el celular y el modelo quedan directamente sobre el fondo de la portada */
.pro-escenario-lienzo { position: relative; aspect-ratio: 1 / 1; }
.pro-escenario-lienzo canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; cursor: grab; touch-action: pan-y; }
.pro-escenario-lienzo canvas:active { cursor: grabbing; }
.pro-escenario.con-3d canvas { display: block; }
.pro-escenario-respaldo { display: block; height: 100%; margin: 0 auto; object-fit: contain; padding: 18px 0; }
.pro-escenario.con-3d .pro-escenario-respaldo { display: none; }
.pro-escenario figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; }
.pro-escenario-titulo { font-size: 1rem; font-weight: 700; color: #0b1430; }
.pro-escenario-texto { max-width: 30em; font-size: .88rem; line-height: 1.45; color: #64748b; min-height: 2.6em; }
.pro-escenario-puntos { display: flex; gap: 8px; margin-top: 6px; }
.pro-escenario-puntos button { width: 28px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: #d5dbe7; cursor: pointer; }
.pro-escenario-puntos button[aria-current="true"] { background: #0b1430; }
.pro-qr { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e6e9f0; border-radius: 10px; background: #fff; color: #0b1430; }
.pro-qr[hidden] { display: none; }
.pro-qr-codigo svg { display: block; width: 96px; height: 96px; }
.pro-qr b { display: block; font-size: .95rem; }
.pro-qr span { display: block; font-size: .82rem; color: #64748b; margin: 2px 0 6px; }
.pro-qr code { font-size: .75rem; color: #1f4fd8; word-break: break-all; }

.pro-seccion { padding: 56px 0 8px; }
.pro h2 { margin: 0 0 28px; font-size: 1.75rem; font-weight: 700; letter-spacing: -.01em; color: #0b1430; }
.pro-pasos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; }
.pro-pasos li { padding-top: 18px; border-top: 2px solid #0b1430; }
.pro-num { display: block; font-size: .85rem; font-weight: 700; color: #1f4fd8; font-variant-numeric: tabular-nums; }
.pro-pasos h3 { margin: 8px 0 8px; font-size: 1.1rem; font-weight: 700; color: #0b1430; }
.pro-pasos p { margin: 0; font-size: .95rem; line-height: 1.55; color: #475569; }

.pro-experiencias { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 64px; }
a.pro-exp { text-decoration: none; }
.pro-exp { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; text-align: left; cursor: pointer; font: inherit; color: inherit;
  border: 1px solid #e6e9f0; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; touch-action: manipulation; }
.pro-exp:hover { border-color: #c2cbe0; box-shadow: 0 12px 28px rgba(15, 23, 42, .08); }
.pro-exp-imagen { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f1f4f9; border-bottom: 1px solid #e6e9f0; }
.pro-exp-imagen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pro-exp-cuerpo { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.pro-exp-tipo { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.pro-exp-titulo { font-size: 1.2rem; font-weight: 700; color: #0b1430; }
.pro-exp-desc { font-size: .95rem; line-height: 1.5; color: #475569; }
.pro-etiquetas { font-size: .82rem; color: #64748b; }
.pro-exp-ir { margin-top: 6px; font-size: .95rem; font-weight: 600; color: #1f4fd8; }

.pro-pie { padding: 24px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid #e6e9f0; background: #f7f8fb; font-size: .84rem; line-height: 1.55; color: #64748b; }
.pro-pie p { margin: 0 0 4px; }
.pro-pie b { color: #334155; }

@media (max-width: 860px) {
  .pro-nav a { display: none; }
  .pro-logo-img { height: 52px; }
  .pro-hero { grid-template-columns: 1fr; gap: 28px; padding: 16px 0 40px; }
  .pro-hero-visual { order: -1; }   /* en el celular, la animación va primero */
  .pro-pantalla { width: min(230px, 60vw); }
  .pro-pasos, .pro-experiencias { grid-template-columns: 1fr; }
  .pro-datos { grid-template-columns: 1fr; }
  .pro-datos div + div { padding-left: 0; border-left: 0; border-top: 1px solid #e6e9f0; }
  .pro-datos div { padding: 12px 0; }
  .pro-botones .pro-boton { flex: 1 1 100%; }
  .pro-seccion { padding-top: 40px; }
}

/* ---------- Modales ---------- */
.modal {
  width: min(100vw, 480px);
  max-width: 100vw;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #ffffff;
  color: #0b1430;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.4;
}
.modal::backdrop { background: rgba(15, 23, 42, .45); }
.modal[open] { animation: aparecer-modal .25s ease-out; }
@keyframes aparecer-modal { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 560px) {
  /* En el celular el modal sube desde abajo (hoja inferior) */
  .modal { margin: auto 0 0; width: 100vw; border-radius: 22px 22px 0 0; max-height: 90vh;
           padding-bottom: env(safe-area-inset-bottom); }
}
.modal-cabecera {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  background: #ffffff;
}
.modal-etiqueta { font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.modal-etiqueta.empresa { color: #1f4fd8; }
.modal-etiqueta.merch { color: var(--acento-oscuro); }
.modal-etiqueta.guiada { color: #0e7490; }
.modal-cerrar {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .07);
  color: var(--tinta);
  font-size: 1.1rem; font-weight: 800;
  cursor: pointer;
}
.modal-cuerpo { padding: 0 18px 22px; }
.modal-cuerpo h2 { margin: 12px 0 2px; font-size: 1.6rem; }
.modal-cuerpo h3 { margin: 12px 0 4px; font-size: 1.25rem; }
.modal-cuerpo .lugar { margin: 0 0 6px; }
.modal-imagen { display: block; width: 100%; border-radius: 14px; border: 1px solid rgba(11, 20, 48, .15); box-shadow: 0 8px 24px rgba(11, 20, 48, .15); }
.modal-texto { margin: 6px 0 14px; font-size: 1.05rem; }
.modal-subtitulo { margin: 20px 0 8px; font-weight: 800; text-align: center; color: #3c3633; }
.producto { padding: 14px; margin-top: 12px; background: var(--papel); border-radius: var(--radio); }
.producto .aviso-provisional { margin: 0 0 14px; background: #fbf3e8; }

.volver {
  /* Botón pequeño para salir de la experiencia, en la esquina superior izquierda */
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: 10px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 26, 24, .72);
  color: #fff;
  font: inherit;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 4px;
  pointer-events: auto;
  cursor: pointer;
}
@media (max-width: 600px) {
  .instruccion { margin-left: 52px; width: calc(100% - 52px); }
}

/* ---------- Contacto (tarjeta) ---------- */
.acciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: var(--papel);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  pointer-events: auto;
  animation: subir .35s ease-out;
}
.accion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 92px;
  padding: 10px 4px 8px;
  border-radius: 12px;
  background: #eef3ff;
  color: #10245e;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
}
.accion:active { background: #d9e4ff; }
.accion svg { color: #1f4fd8; }
.accion-titulo { font-size: .95rem; font-weight: 800; }
.accion-valor { font-size: .7rem; font-weight: 600; line-height: 1.25; overflow-wrap: break-word; }
@keyframes subir { from { transform: translateY(30px); opacity: 0; } }
.acciones.estaticas { padding: 0; background: none; box-shadow: none; animation: none; }
.acciones.estaticas .accion { background: var(--papel); }

/* ---------- Transcripción ---------- */
dialog {
  width: min(92vw, 460px);
  max-height: 80vh;
  border: 0;
  border-radius: var(--radio);
  padding: 22px;
  font-size: 1.1rem;
  line-height: 1.5;
}
dialog::backdrop { background: rgba(0, 0, 0, .6); }
dialog p { margin: 0 0 18px; }

/* ---------- Panel de registro (prueba de campo) ---------- */
#panel-registro {
  position: fixed;
  right: 6px;
  top: max(120px, calc(env(safe-area-inset-top) + 110px));
  z-index: 30;
  max-width: 200px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  border-radius: 8px;
  font: 11px/1.4 ui-monospace, Menlo, Consolas, monospace;
  pointer-events: none;
  white-space: pre-wrap;
}

/* A-Frame / MindAR */
#ar a-scene { width: 100%; height: 100%; }
.a-enter-vr, .a-orientation-modal { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .marco-guia:not(.oculto) { animation: none; }
  .indicador { animation-duration: 3s; }
}
@media (min-height: 760px) { :root { font-size: 19px; } }

/* Botón principal azul (marca Digital Brain) en «Info empresa» */
#modal-empresa .boton.principal { background: #1f4fd8; box-shadow: 0 4px 0 #14389e; }
#modal-empresa .boton.principal:active { box-shadow: 0 2px 0 #14389e; }

/* Aviso breve (p. ej. «Cupón copiado») */
.aviso-flotante {
  position: absolute;
  top: calc(max(14px, env(safe-area-inset-top)) + 80px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: #10245e;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--sombra);
  white-space: nowrap;
  animation: subir .25s ease-out;
}

/* Pantallas de espera, error e inicio clásico con la misma estética clara de la portada */
.pantalla:not(.portada) { background: #f4f6fa; }
#pantalla-espera .tarjeta, #pantalla-error .tarjeta, #pantalla-inicio .tarjeta {
  padding: 24px 22px;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  background: #ffffff;
  color: #0b1430;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}
.modal-cuerpo .lugar { color: #1f4fd8; }
#pantalla-error .boton.principal, #pantalla-inicio .boton.principal { background: #1f4fd8; box-shadow: 0 4px 0 #14389e; }

/* Ajustes sobrios para modales y botones (tema claro) */
.boton { border-radius: 10px; }
.modal .boton.principal, #modal-empresa .boton.principal { background: #0b1430; box-shadow: none; }
.modal .boton.principal:hover { background: #1f4fd8; }
.acciones.estaticas .accion { background: #f4f6fa; border: 1px solid #e6e9f0; }
.modal-cabecera { border-bottom: 1px solid #eef1f6; margin-bottom: 8px; }
.producto { border: 1px solid #e6e9f0; }
/* Mientras cargan los modelos 3D de la portada */
.pro-escenario.cargando .pro-escenario-lienzo::after {
  content: "Cargando modelos 3D…";
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  font-size: .82rem; font-weight: 600; color: #64748b;
}

/* ---------- Experiencia guiada: panel de pasos sobre la cámara ---------- */
.guia { padding: 14px 16px 16px; background: rgba(255, 255, 255, .97); border-radius: var(--radio); box-shadow: var(--sombra);
  border-top: 5px solid #00a6c8; pointer-events: auto; }
.guia p { margin: 0; }
.guia-contador { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0e7490; }
.guia-titulo { margin-top: 2px !important; font-size: 1.15rem; font-weight: 800; color: #0b1430; }
.guia-texto { margin-top: 4px !important; font-size: .98rem; line-height: 1.4; color: #334155; min-height: 2.8em; }
.guia-botones { display: flex; gap: 10px; margin-top: 12px; }
.guia-botones .boton { flex: 1; margin: 0; padding: 12px 10px; font-size: 1rem; }
.guia-botones .boton.principal { background: #0b1430; box-shadow: none; }
.guia-botones .boton.secundario { border-width: 2px; }
.guia-botones .boton:disabled { opacity: .4; }
