/* ═══════════════════════════════════════════════════════════════════════
   Reserva de citas (público) y gestión de una cita. Variables de site.css.
   ═══════════════════════════════════════════════════════════════════════ */
.hb-reserva { max-width: 920px; margin: 0 auto 7rem; }

.hb-pasos { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; overflow-x: auto; }
.hb-pasos li { flex: 1; min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .78rem; color: var(--hb-texto-suave); text-align: center; }
.hb-pasos li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--hb-borde); font-weight: 700; }
.hb-pasos li.activo { color: var(--hb-marfil); }
.hb-pasos li.activo span { border-color: var(--hb-marfil); background: var(--hb-azul); }
.hb-pasos li.hecho span { border-color: var(--hb-exito); color: var(--hb-exito); }

.hb-paso { display: none; }
.hb-paso.visible { display: block; animation: hb-entra .2s ease; }
@keyframes hb-entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hb-paso.visible { animation: none; } }

.hb-categoria-titulo { font-family: var(--hb-fuente-titulo); font-size: 1rem; letter-spacing: .06em; color: var(--hb-texto-suave); margin: 1.25rem 0 .6rem; text-transform: uppercase; }

.hb-opciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; }

.hb-opcion {
  position: relative;
  display: flex;
  gap: .8rem;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: .75rem;
  border-radius: 12px;
  border: 1px solid var(--hb-borde-marfil);
  background: var(--hb-superficie);
  color: var(--hb-texto);
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
  min-height: 72px;
}
.hb-opcion:hover { border-color: var(--hb-marfil); transform: translateY(-1px); }
.hb-opcion:focus-visible { outline: 2px solid var(--hb-marfil); outline-offset: 2px; }
.hb-opcion[aria-pressed="true"], .hb-opcion.elegida { border-color: var(--hb-marfil); background: var(--hb-azul); box-shadow: inset 0 0 0 1px var(--hb-marfil); }
.hb-opcion[aria-pressed="true"]::after, .hb-opcion.elegida::after {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; top: .45rem; right: .6rem; color: var(--hb-marfil); font-size: 1.1rem;
}
.hb-opcion:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.hb-opcion img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--hb-fondo); }
.hb-opcion .redonda { border-radius: 50%; }
.hb-opcion-titulo { font-weight: 700; line-height: 1.25; }
.hb-opcion-sub { font-size: .82rem; color: var(--hb-texto-suave); }
.hb-opcion-precio { font-weight: 700; color: var(--hb-marfil); white-space: nowrap; }

.hb-dias { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.hb-dia {
  flex: none; width: 68px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .55rem .25rem; border-radius: 12px; border: 1px solid var(--hb-borde-marfil);
  background: var(--hb-superficie); color: var(--hb-texto); cursor: pointer; min-height: 44px;
}
.hb-dia small { font-size: .72rem; text-transform: capitalize; color: var(--hb-texto-suave); }
.hb-dia strong { font-size: 1.25rem; line-height: 1.1; }
.hb-dia.elegida { background: var(--hb-azul); border-color: var(--hb-marfil); }
.hb-dia:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.hb-horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .5rem; }
.hb-hora {
  padding: .6rem .5rem; border-radius: 10px; border: 1px solid var(--hb-borde-marfil);
  background: var(--hb-superficie); color: var(--hb-marfil); font-weight: 700; cursor: pointer; min-height: 44px;
  font-variant-numeric: tabular-nums;
}
.hb-hora:hover { border-color: var(--hb-marfil); }
.hb-hora.elegida { background: var(--hb-marfil); color: var(--hb-fondo); }

.hb-resumen-barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(15, 27, 39, .97); border-top: 1px solid var(--hb-borde-marfil); backdrop-filter: blur(6px);
  padding: .75rem max(16px, env(safe-area-inset-right, 0px)) calc(.75rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.hb-resumen-barra .contenido { max-width: 920px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.hb-resumen-barra .texto { min-width: 0; font-size: .9rem; }
.hb-resumen-barra .texto b { color: var(--hb-marfil); font-size: 1.05rem; }

.hb-ficha { background: var(--hb-superficie); border: 1px solid var(--hb-borde-marfil); border-radius: 12px; padding: 1rem 1.1rem; }
.hb-ficha dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; }
.hb-ficha dt { color: var(--hb-texto-suave); font-weight: 400; }
.hb-ficha dd { margin: 0; }

.hb-politica { border-left: 3px solid var(--hb-carmesi); background: rgba(19, 43, 69, .55); padding: .75rem 1rem; border-radius: 0 10px 10px 0; font-size: .9rem; }
