/* Bilumen · portada «Controla el recorrido» (13/11/2026, maqueta v2 aprobada)
   A la izquierda, el texto; a la derecha, el pase tipo historias: barras arriba, el panel de Bilumen escalado en una ventana de
   navegador, el móvil de la paciente (WhatsApp o pantalla bloqueada) y el texto de cada paso debajo. Lo mueve js/portada-recorrido.js.
   Todas las clases llevan «pr-» para no cruzarse con las de css/main.css (.card, .phone, .toast, .tabs…). Los estados (on, in, play…)
   van siempre junto a una clase «pr-». */

.hero--recorrido {
  padding: 32px 0 88px;
}

.pr-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 44px;
}

.hero--recorrido .hero__title {
  font-size: clamp(40px, 4.7vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero--recorrido .hero__lead {
  max-width: 520px;
  font-size: 19px;
}

.pr-oferta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pr-oferta b {
  color: var(--text);
  font-weight: 600;
}

.pr-oferta[hidden] {
  display: none;
}

/* ── El pase ── */

.pr-deck {
  --pr-on-dark: #f6f1ec;
  --pr-on-dark-muted: #b8aca2;
  --pr-blue: #2f7fb8;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.pr-bars {
  display: flex;
  gap: 5px;
  padding: 0 18px;
}

.pr-bars button {
  flex: 1;
  height: 14px;
  padding: 5px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.pr-bars button:focus-visible {
  outline-color: var(--text);
}

.pr-bars i {
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(31, 26, 23, 0.12);
}

.pr-bars s {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--text);
}

.pr-bars .full s {
  width: 100%;
}

.pr-bars .run s {
  animation: pr-bar var(--d, 7s) linear forwards;
}

.pr-deck.paused .pr-bars .run s {
  animation-play-state: paused;
}

@keyframes pr-bar {
  to { width: 100%; }
}

.pr-stage {
  position: relative;
  height: 476px;
  isolation: isolate;
}

.pr-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: 0;
  top: -12%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, #e7d6c6, transparent);
}

.pr-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: -18%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(236, 255, 80, 0.35), transparent);
}

.pr-copy {
  min-height: 104px;
  padding: 0 18px;
}

.pr-copy .pr-n {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pr-copy .pr-h {
  margin: 6px 0;
  color: var(--text);
  font: 600 clamp(21px, 2vw, 26px)/1.15 var(--font);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.pr-copy .pr-p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.pr-copy.swap > * {
  animation: pr-rise 0.5s var(--ease) both;
}

.pr-copy.swap .pr-h {
  animation-delay: 0.06s;
}

.pr-copy.swap .pr-p {
  animation-delay: 0.12s;
}

@keyframes pr-rise {
  from { opacity: 0; transform: translateY(8px); }
}

/* ── La ventana del navegador con el panel (se dibuja a 720 px y se escala al ancho que haya) ── */

.pr-win {
  position: absolute;
  left: 18px;
  top: 20px;
  width: calc(100% - 172px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -28px rgba(31, 26, 23, 0.45), 0 0 0 1px rgba(31, 26, 23, 0.08);
}

.pr-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 28px;
  padding: 0 10px;
  border-bottom: 1px solid #e3d9cf;
  background: #f1ece7;
}

.pr-lights {
  display: flex;
  gap: 5px;
}

.pr-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0d6cc;
}

.pr-url {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 250px;
  height: 18px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  color: #76695f;
  font: 500 10.5px/1 'Inter', sans-serif;
  white-space: nowrap;
}

.pr-url svg {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
}

.pr-vp {
  position: relative;
  overflow: hidden;
  aspect-ratio: 720 / 540;
}

.pr-ui {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  width: 720px;
  height: 540px;
  background: #ece6df;
  color: #2a231f;
  font: 400 12.5px/1.35 'Inter', system-ui, sans-serif;
  letter-spacing: 0;
  transform: scale(var(--s, 0.7));
  transform-origin: 0 0;
}

.pr-ui em {
  font-style: normal;
}

.pr-ui svg.pr-ic {
  display: inline-block;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-sb {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 9px;
  border-right: 1px solid #e3d9cf;
  background: #f5f0eb;
}

.pr-clin {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0 12px 2px;
}

.pr-lg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #b46a77 url('../img/recorrido-logo-aurora.webp') center/cover;
}

.pr-clin b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pr-clin small {
  font-size: 10px;
  color: #8a7d72;
}

.pr-gl {
  margin: 9px 9px 3px;
  color: #8a7d72;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pr-it {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 9px;
  color: #3a322d;
  transition: background 0.35s var(--ease);
}

.pr-it.on {
  background: #e8ddd1;
  color: #1f1a17;
  font-weight: 600;
}

.pr-it em {
  min-width: 17px;
  height: 17px;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 99px;
  background: #6b5243;
  color: #fff;
  font: 700 9.5px/17px 'Inter', sans-serif;
  text-align: center;
}

.pr-it em.bump {
  animation: pr-bump 0.5s var(--ease);
}

@keyframes pr-bump {
  40% { transform: scale(1.35); background: #2f7fb8; }
}

.pr-mn {
  position: relative;
  overflow: hidden;
}

.pr-v {
  position: absolute;
  inset: 0;
  padding: 16px 66px 16px 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.pr-v.on {
  opacity: 1;
  transform: none;
}

.pr-ph small {
  color: #8a7d72;
  font-size: 10.5px;
}

.pr-ph h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1px 0 2px;
  font: 600 22px/1.15 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.pr-ph p {
  margin: 0 0 12px;
  color: #76695f;
  font-size: 11.5px;
}

.pr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid #e3d9cf;
  border-radius: 99px;
  background: #fff;
  color: #3a322d;
  font-size: 10.5px;
  font-weight: 500;
}

.pr-pill.dark {
  border-color: #1f1a17;
  background: #1f1a17;
  color: #fff;
}

.pr-pill.okp {
  border-color: #e3f1e6;
  background: #e3f1e6;
  color: #2f6b3d;
}

.pr-card {
  padding: 11px 12px;
  border: 1px solid #e6ddd3;
  border-radius: 12px;
  background: #faf7f3;
}

.pr-card h6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
}

.pr-card h6 small {
  color: #8a7d72;
  font-weight: 500;
}

.pr-ini {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #efe3d8;
  color: #6b5243;
  font-size: 9.5px;
  font-weight: 700;
}

.pr-tg {
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.pr-t-wa { background: #dcf8e8; color: #0b7a4b; }
.pr-t-ig { background: #fde4ef; color: #b0306c; }
.pr-t-web { background: #e6eefb; color: #2f5fb8; }
.pr-t-g { background: #fff4d6; color: #9a6a00; }

.pr-go {
  opacity: 0;
}

.pr-v.play .pr-go {
  animation: pr-show 0.55s var(--ease) var(--t, 0s) forwards;
}

@keyframes pr-show {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.pr-v.play .pr-pop {
  opacity: 0;
  animation: pr-popin 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) var(--t, 0s) forwards;
}

@keyframes pr-popin {
  from { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  to { opacity: 1; transform: rotate(-8deg); }
}

.pr-typing {
  display: inline-flex;
  gap: 3px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
}

.pr-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a99d92;
  animation: pr-blink 1s infinite;
}

.pr-typing i:nth-child(2) { animation-delay: 0.15s; }
.pr-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes pr-blink {
  50% { opacity: 0.25; }
}

/* Bandeja */

.pr-inbox {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 10px;
  height: 405px;
}

.pr-convs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pr-cv {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid #e6ddd3;
  border-radius: 11px;
  background: #faf7f3;
}

.pr-cv.sel {
  border-color: #cdbfb2;
  background: #fff;
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.3);
}

.pr-cv > div {
  flex: 1;
  min-width: 0;
}

.pr-cv b {
  display: block;
  font-size: 11.5px;
}

.pr-cv > div span {
  display: block;
  overflow: hidden;
  color: #76695f;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-cv aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: #8a7d72;
  font-size: 9.5px;
}

.pr-thread {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6ddd3;
  border-radius: 12px;
  background: #faf7f3;
}

.pr-thread header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid #e6ddd3;
  background: #fff;
}

.pr-thread header b {
  font-size: 12px;
}

.pr-thread header small {
  display: block;
  color: #8a7d72;
  font-size: 10px;
}

.pr-thread header .pr-pill {
  margin-left: auto;
}

.pr-tmsgs {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 12px;
}

.pr-tb {
  max-width: 78%;
  padding: 7px 10px;
  border: 1px solid #ebe3da;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.pr-tb.out {
  align-self: flex-end;
  border: 0;
  border-radius: 12px 12px 4px 12px;
  background: #1f1a17;
  color: #f6f1ec;
}

.pr-tb.out small {
  display: block;
  margin-bottom: 2px;
  color: #cfc4ba;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pr-hh {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.pr-hh i {
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-style: normal;
}

/* Agenda */

.pr-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.pr-seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #e3d9cf;
  border-radius: 99px;
  background: #fff;
  font-size: 10.5px;
}

.pr-seg span {
  padding: 3px 10px;
  border-radius: 99px;
}

.pr-seg span.on {
  background: #1f1a17;
  color: #fff;
}

.pr-tools b {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pr-tools .pr-pill {
  white-space: nowrap;
}

.pr-tools .pr-sp {
  flex: 1;
}

.pr-cal {
  position: relative;
  display: grid;
  grid-template-columns: 36px repeat(5, minmax(0, 1fr));
  grid-template-rows: 30px repeat(20, 17px);
  overflow: hidden;
  border: 1px solid #e6ddd3;
  border-radius: 12px;
  background: #faf7f3 repeating-linear-gradient(#faf7f3 0 33px, #ebe3da 33px 34px) 0 30px;
}

.pr-dh {
  grid-row: 1;
  padding-top: 3px;
  border-bottom: 1px solid #e6ddd3;
  background: #faf7f3;
  color: #8a7d72;
  font-size: 9.5px;
  line-height: 1.1;
  text-align: center;
}

.pr-dh b {
  display: block;
  color: #2a231f;
  font-size: 13px;
  font-weight: 600;
}

.pr-dh.today b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 1px auto 0;
  border-radius: 50%;
  background: #1f1a17;
  color: #fff;
  font-size: 11px;
}

.pr-col {
  grid-row: 2 / -1;
  border-left: 1px solid #ebe3da;
}

.pr-col.today {
  background: rgba(231, 214, 198, 0.35);
}

.pr-cal time {
  grid-column: 1;
  margin-top: -5px;
  padding-right: 5px;
  color: #9a8f86;
  font-size: 9px;
  text-align: right;
}

.pr-ev {
  z-index: 1;
  margin: 1px 3px;
  padding: 3px 6px;
  overflow: hidden;
  border-left: 3px solid #0e5f63;
  border-radius: 6px;
  background: #e3eeee;
  font-size: 9.5px;
  line-height: 1.2;
}

.pr-ev b {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-ev span {
  color: #5f574f;
  white-space: nowrap;
}

.pr-ev.br { border-color: #8a6a55; background: #f1e7dc; }
.pr-ev.gr { border-color: #3f8f7a; background: #e6f1ea; }
.pr-ev.ol { border-color: #8c8557; background: #efedde; }

.pr-ev.nw {
  position: relative;
  border: 1.5px dashed #2f7fb8;
  border-left: 3px solid #2f7fb8;
  background: #eaf3fb;
  opacity: 0;
  transition: background 0.4s, border-color 0.4s;
}

.pr-v.play .pr-ev.nw {
  animation: pr-drop 0.7s var(--ease) var(--t, 0s) forwards;
}

@keyframes pr-drop {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.pr-ev.nw.ok {
  border-style: solid;
  border-color: #3f7d4e;
  background: #e3f1e6;
}

.pr-ev.nw em {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 5px;
  border-radius: 99px;
  background: #fdf0d8;
  color: #8a5a12;
  font: 700 8px/1.4 'Inter', sans-serif;
  transition: all 0.3s;
}

.pr-ev.nw.ok em {
  background: #3f7d4e;
  color: #fff;
}

.pr-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 13px;
  background: #1f1a17;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 10px);
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.55);
  transition: all 0.45s var(--ease);
}

.pr-toast.in {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pr-toast > i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fluor);
  color: #111;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.pr-toast small {
  color: #b8aca2;
}

/* Ficha */

.pr-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid #ddd2c7;
  color: #76695f;
  font-size: 11px;
}

.pr-tabs span {
  padding: 0 1px 7px;
}

.pr-tabs span.on {
  color: #1f1a17;
  font-weight: 600;
  box-shadow: inset 0 -2px #1f1a17;
}

.pr-fgrid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
}

.pr-kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 10.5px;
}

.pr-kv dt {
  color: #8a7d72;
}

.pr-kv dd {
  margin: 0;
  font-weight: 500;
}

.pr-docc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e6ddd3;
  border-radius: 10px;
  background: #fff;
}

.pr-docc .pr-l {
  height: 4px;
  border-radius: 3px;
  background: #eee7de;
}

.pr-docc .pr-l.s {
  width: 60%;
}

.pr-docc svg.pr-sig {
  width: 58%;
  height: 38px;
  fill: none;
  stroke: #1f3b6e;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.pr-v.play .pr-docc svg.pr-sig {
  animation: pr-draw 1.6s ease-out var(--t, 1s) forwards;
}

@keyframes pr-draw {
  to { stroke-dashoffset: 0; }
}

.pr-stamp {
  position: absolute;
  right: 12px;
  bottom: 14px;
  padding: 3px 8px;
  border: 2px solid #3f7d4e;
  border-radius: 7px;
  color: #3f7d4e;
  font-size: 10px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.pr-secure {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #76695f;
  font-size: 10.5px;
}

/* Caja */

.pr-kp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}

.pr-kp.four {
  grid-template-columns: repeat(4, 1fr);
}

.pr-kp .pr-card small {
  display: block;
  color: #8a7d72;
  font-size: 10px;
}

.pr-kp .pr-card b {
  display: block;
  margin-top: 2px;
  font: 600 21px/1.1 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 0.4s;
}

.pr-kp .pr-card b.flash {
  color: #3f7d4e;
}

.pr-tr {
  color: #3f7d4e;
  font-size: 9.5px;
  font-weight: 600;
}

.pr-cgrid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 10px;
}

.pr-cgrid.pr-cgrid--inicio {
  grid-template-columns: 1.35fr 1fr;
}

.pr-meth {
  display: grid;
  gap: 9px;
  font-size: 10.5px;
}

.pr-meth > div {
  display: grid;
  grid-template-columns: 52px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.pr-meth b {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.pr-meth i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #eee7de;
}

.pr-meth s {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: #1f1a17;
  transition: width 0.9s var(--ease);
}

.pr-tbl {
  display: grid;
  gap: 4px;
  font-size: 10.5px;
}

.pr-tbl > div {
  display: grid;
  grid-template-columns: 30px 1fr 56px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff;
}

.pr-tbl b {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.pr-tbl small {
  color: #8a7d72;
  font-size: 9.5px;
}

.pr-tbl span small {
  display: block;
}

.pr-tbl em {
  color: #2f6b3d;
  font-weight: 600;
}

.pr-tbl .nw {
  background: #e3f1e6;
}

/* Inicio */

.pr-chart svg {
  display: block;
  width: 100%;
  height: 130px;
}

.pr-chart .pr-ln {
  fill: none;
  stroke: #1f1a17;
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}

.pr-chart .pr-ar {
  fill: url(#pr-gr);
  opacity: 0;
}

.pr-v.play .pr-chart .pr-ln {
  animation: pr-draw 1.8s ease-out 0.3s forwards;
}

.pr-v.play .pr-chart .pr-ar {
  animation: pr-fadein 1s ease 0.9s forwards;
}

@keyframes pr-fadein {
  to { opacity: 1; }
}

.pr-chart .pr-dt {
  fill: var(--fluor);
  stroke: #1f1a17;
  stroke-width: 2;
  opacity: 0;
}

.pr-v.play .pr-chart .pr-dt {
  animation: pr-fadein 0.3s ease 2s forwards;
}

.pr-back {
  display: grid;
  gap: 5px;
  font-size: 10.5px;
}

.pr-back > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 9px;
  background: #fff;
}

.pr-back .pr-nm {
  flex: 1;
}

.pr-back em {
  color: #2f6b3d;
  font-weight: 600;
}

.pr-back small {
  display: block;
  color: #8a7d72;
  font-size: 9.5px;
}

.pr-rev {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #fff8e1;
  font-size: 10.5px;
}

.pr-rev .pr-st {
  color: #e0a100;
  letter-spacing: 1px;
}

/* ── El móvil de la paciente ── */

.pr-phone {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: 236px;
  height: 486px;
  padding: 9px;
  border-radius: 42px;
  background: #121110;
  box-shadow: 0 50px 90px -40px rgba(31, 26, 23, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  font-family: var(--font);
  letter-spacing: 0;
  transform: scale(var(--ps, 0.74));
  transform-origin: right bottom;
}

.pr-phone::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 6;
  width: 80px;
  height: 22px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.pr-scr {
  position: absolute;
  inset: 9px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 33px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.pr-scr.on {
  opacity: 1;
}

.pr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 6px 26px;
  font-size: 11px;
  font-weight: 600;
}

.pr-sys {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pr-sys svg {
  display: block;
  width: auto;
  height: 8px;
  fill: currentColor;
}

.pr-wa {
  background: #efeae2 radial-gradient(rgba(140, 120, 95, 0.13) 1px, transparent 1.4px) 0 0 / 14px 14px;
  color: #111b21;
}

.pr-wa .pr-bar,
.pr-wa header {
  background: #fff;
}

.pr-wa header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 7px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pr-bk {
  display: flex;
  align-items: center;
  color: #111;
  font-size: 11px;
  font-weight: 500;
}

.pr-bk svg,
.pr-ics svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #111;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-ics {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.pr-nmw {
  min-width: 0;
}

.pr-nmw b {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-nmw small {
  color: #667781;
  font-size: 10px;
}

.pr-av {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #b46a77 url('../img/recorrido-logo-aurora.webp') center/cover;
}

.pr-msgs {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 10px;
  overflow: hidden;
}

.pr-day {
  align-self: center;
  padding: 3px 9px;
  border-radius: 7px;
  background: #fff;
  color: #54656f;
  font-size: 9.5px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.pr-m {
  display: none;
  max-width: 86%;
  padding: 6px 8px 5px;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  line-height: 1.38;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.pr-m.in {
  display: block;
  animation: pr-rise 0.45s var(--ease);
}

.pr-m.me {
  align-self: flex-end;
  background: #d9fdd3;
}

.pr-tm {
  float: right;
  margin: 6px 0 -3px 8px;
  color: #667781;
  font-size: 9px;
}

.pr-tm b {
  margin-left: 2px;
  color: #53bdeb;
  font-weight: 400;
  letter-spacing: -3px;
}

.pr-m u {
  display: block;
  margin-top: 4px;
  color: #027eb5;
  word-break: break-all;
}

.pr-hs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 6px;
}

.pr-hs i {
  padding: 6px 0;
  border: 1px solid #d7e7f3;
  border-radius: 8px;
  color: var(--pr-blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
}

.pr-hs i.pick {
  border-color: var(--pr-blue);
  background: var(--pr-blue);
  color: #fff;
  transform: scale(1.05);
}

.pr-comp {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f6f5f3;
}

.pr-comp svg {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #3b4a54;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-fld {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 8px 0 11px;
  border: 1px solid #e2e0dc;
  border-radius: 14px;
  background: #fff;
  color: #8696a0;
  font-size: 11px;
}

.pr-fld svg {
  width: 13px;
  height: 13px;
}

.pr-lock {
  background: #2a2f2c url('../img/recorrido-fondo-aurora.webp') center 20% / cover;
  color: #fff;
}

.pr-lock::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 25, 22, 0.25), rgba(20, 25, 22, 0.7));
}

.pr-lock > * {
  position: relative;
  z-index: 1;
}

.pr-clock {
  margin-top: 16px;
  text-align: center;
}

.pr-clock small {
  font-size: 11px;
  opacity: 0.9;
}

.pr-clock b {
  display: block;
  font: 200 58px/1 var(--font);
  letter-spacing: -0.03em;
}

.pr-notes {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 9px 0;
}

.pr-nt {
  display: none;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(245, 243, 238, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 11px;
  line-height: 1.35;
}

.pr-nt.in {
  display: flex;
  animation: pr-drop 0.5s var(--ease);
}

.pr-nt .pr-av {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.pr-nt p {
  margin: 0;
}

.pr-nt small {
  display: block;
  color: #8a837b;
  font-size: 9.5px;
}

.pr-nt b {
  display: block;
  font-size: 11.5px;
}

.pr-stars {
  color: #e0a100;
  font-size: 14px;
  letter-spacing: 1px;
}

.pr-act {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

/* ── Tamaños ── */

@media (max-width: 1100px) {
  .pr-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .pr-deck {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 920px) {
  .hero--recorrido {
    padding: 32px 0 72px;
  }
}

@media (max-width: 560px) {
  .pr-deck {
    gap: 12px;
  }

  .pr-bars,
  .pr-copy {
    padding: 0 4px;
  }

  .pr-stage {
    height: 372px;
  }

  .pr-win {
    left: 10px;
    top: 12px;
    width: calc(100% - 20px);
    border-radius: 9px;
  }

  .pr-chrome {
    height: 22px;
  }

  .pr-lights i {
    width: 7px;
    height: 7px;
  }

  .pr-url {
    height: 15px;
    font-size: 9px;
  }

  .pr-phone {
    right: 10px;
    bottom: 10px;
    --ps: 0.56;
  }

  .pr-copy {
    min-height: 128px;
    padding: 0 4px;
  }

  .pr-copy .pr-p {
    font-size: 14px;
  }
}

/* Reducir movimiento: el pase no avanza solo (se cambia con las barras), cada paso sale ya terminado y la barra del paso
   en el que se está, llena. */
@media (prefers-reduced-motion: reduce) {
  .pr-bars .run s {
    width: 100%;
    animation: none;
  }
}
