/* Angélica Arévalo · reservas y Mis citas */
.reservar { min-height: 100vh; background: radial-gradient(900px 500px at 100% -10%, rgba(249, 206, 219, .55), transparent 60%), radial-gradient(800px 500px at -10% 100%, rgba(247, 235, 218, .7), transparent 60%), var(--crema); }
.r-barra { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px clamp(14px, 4vw, 40px); background: rgba(255, 251, 249, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--borde); }
.r-logo { text-decoration: none; color: inherit; }
.r-tabs { margin-left: auto; }
.r-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; max-width: 1180px; margin: 0 auto; padding: 28px clamp(14px, 4vw, 40px) 120px; align-items: start; }
.r-mis { grid-template-columns: minmax(0, 760px); justify-content: center; }
/* sin esto la tira de 21 días ensancha la columna y la página se sale de la pantalla en el celular */
.r-main > * { min-width: 0; }
.r-tabs button { white-space: nowrap; }
.r-logo { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.r-logo .logo-nombre { overflow: hidden; text-overflow: ellipsis; }
.r-tabs { flex: none; }
@media (max-width: 420px) {
  .r-barra .logo-nombre { font-size: 13px; letter-spacing: .03em; }
  .r-barra .logo-mono { width: 28px; height: 28px; }
  .r-tabs button { font-size: 12.5px; }
}
@media (max-width: 520px) {
  .r-barra { gap: 10px; padding-inline: 12px; }
  .r-barra .logo-sub { display: none; }
  .r-barra .logo-nombre { font-size: 15px; }
  .r-barra .logo-mono { width: 32px; height: 32px; }
  .r-tabs button { padding: 0 10px; }
}
.r-pasos { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: p; }
.r-pasos li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid var(--borde); font-size: 13px; font-weight: 700; color: var(--texto-3); transition: all .3s var(--ease); }
.r-pasos li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--superficie-2); font-size: 12px; }
.r-pasos li.actual { background: #fff; color: var(--texto); border-color: var(--rosa-200); box-shadow: var(--sombra-1); }
.r-pasos li.actual span { background: var(--grad-marca); color: #fff; }
.r-pasos li.hecho { color: var(--rosa-700); cursor: pointer; }
.r-pasos li.hecho span { background: var(--rosa-100); color: var(--rosa-700); }
@media (max-width: 620px) { .r-pasos li { font-size: 0; justify-content: center; padding: 8px; } .r-pasos li span { font-size: 12px; } }
.r-panel { animation: subir .45s var(--ease) both; }
.r-titulo { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 450; letter-spacing: -.02em; margin-bottom: 6px; }
.r-titulo em { font-style: italic; font-weight: 300; color: var(--rosa-500); }
.r-sub { color: var(--texto-2); margin-bottom: 20px; }
.r-bloque { margin-top: 22px; }
.r-bloque > h3 { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); }

/* servicios */
.r-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.r-cats::-webkit-scrollbar { display: none; }
.r-cats .chip { flex: none; }
.r-servicios { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.r-serv { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; border: 1px solid var(--borde-fuerte); background: #fff; text-align: left; transition: all .25s var(--ease); animation: subir .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.r-serv:hover { border-color: var(--rosa-300); transform: translateY(-2px); box-shadow: var(--sombra-1); }
.r-serv[aria-pressed="true"] { border-color: var(--rosa-500); box-shadow: 0 0 0 3px rgba(214, 51, 108, .18), var(--sombra-1); background: linear-gradient(140deg, #fff, var(--rosa-50)); }
.r-serv-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--rosa-100); color: var(--rosa-600); }
.r-serv[aria-pressed="true"] .r-serv-ico { background: var(--grad-marca); color: #fff; }
.r-serv strong { display: block; font-size: 15px; line-height: 1.25; }
.r-serv small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--texto-2); }
.r-serv .r-precio { margin-left: auto; text-align: right; white-space: nowrap; font-weight: 800; font-size: 15px; }
.r-serv .r-precio s { display: block; font-size: 11.5px; font-weight: 600; color: var(--texto-3); }
.r-zonas { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--borde); animation: subir .4s var(--ease) both; }
.r-zonas h4 { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 6px; }
.r-zonas .zonas-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.r-zonas .zona-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--borde-fuerte); background: #fff; font-size: 13px; font-weight: 600; transition: all .2s var(--ease); }
.r-zonas .zona-chip small { font-weight: 800; color: var(--rosa-600); }
.r-zonas .zona-chip[aria-pressed="true"] { background: var(--grad-marca); border-color: transparent; color: #fff; }
.r-zonas .zona-chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.r-zonas .zona-chip.incluida { background: var(--rosa-100); color: var(--rosa-700); border-color: var(--rosa-200); }

/* fecha y hora */
.r-equipo { display: flex; gap: 8px; flex-wrap: wrap; }
.r-prof { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--borde-fuerte); background: #fff; font-weight: 700; font-size: 13.5px; transition: all .2s; }
.r-prof .avatar { width: 30px; height: 30px; font-size: 11px; }
.r-prof[aria-pressed="true"] { border-color: var(--rosa-500); box-shadow: var(--foco); }
.r-dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.r-dia { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 66px; padding: 10px 0 9px; border-radius: 18px; border: 1px solid var(--borde-fuerte); background: #fff; transition: all .22s var(--ease); }
.r-dia small { font-size: 11.5px; font-weight: 700; color: var(--texto-3); text-transform: capitalize; }
.r-dia strong { font-family: var(--f-display); font-size: 24px; font-weight: 500; line-height: 1.1; }
.r-dia i { width: 22px; height: 4px; border-radius: 3px; background: var(--ok); opacity: .8; }
.r-dia i.pocos { background: var(--alerta); }
.r-dia i.nada { background: var(--ciruela-100); }
.r-dia:disabled { opacity: .45; cursor: not-allowed; }
.r-dia[aria-pressed="true"] { background: var(--ciruela-900); border-color: var(--ciruela-900); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(42, 21, 32, .25); }
.r-dia[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.r-franjas { display: flex; flex-direction: column; gap: 16px; }
.r-franja h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: var(--texto-2); }
.r-franja h4 .ico { width: 17px; height: 17px; color: var(--oro-500); }
.r-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.r-slot { min-height: 44px; border-radius: 14px; border: 1px solid var(--borde-fuerte); background: #fff; font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; transition: all .2s var(--ease); animation: subir .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); }
.r-slot:hover { border-color: var(--rosa-400); color: var(--rosa-600); }
.r-slot[aria-pressed="true"] { background: var(--grad-marca); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(214, 51, 108, .3); }
.r-sin { padding: 26px; border-radius: 20px; background: #fff; border: 1px dashed var(--borde-fuerte); text-align: center; color: var(--texto-2); }

/* datos */
.r-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); }
.r-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--texto-2); }
.r-check input { width: 18px; height: 18px; accent-color: var(--rosa-500); margin-top: 2px; }
.r-hola { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--rosa-50); border: 1px solid var(--rosa-100); }
.r-hola button { margin-left: auto; }
.r-acciones { display: flex; gap: 10px; margin-top: 22px; }
.r-acciones .btn-primario { margin-left: auto; }

/* resumen */
.r-resumen { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 26px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-2); }
.r-resumen h2 { font-family: var(--f-display); font-size: 21px; font-weight: 500; }
.r-res-foto { height: 130px; margin: -20px -20px 0; border-radius: 26px 26px 0 0; overflow: hidden; background: linear-gradient(140deg, #FDE9EF, #F7EBDA); position: relative; }
.r-res-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.r-res-foto .monograma { position: absolute; right: 16px; bottom: 10px; width: 64px; height: 64px; color: rgba(214, 51, 108, .5); }
.r-res-fila { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.r-res-fila .ico { color: var(--rosa-500); margin-top: 1px; }
.r-res-fila small { display: block; color: var(--texto-3); font-size: 12px; font-weight: 600; }
.r-res-vacio { color: var(--texto-3); }
.r-cuenta { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--borde); font-size: 13.5px; }
.r-cuenta div { display: flex; justify-content: space-between; color: var(--texto-2); }
.r-cuenta .desc { color: var(--ok); }
.r-total { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 10px; border-top: 1px solid var(--borde); }
.r-total strong { font-family: var(--f-display); font-size: 34px; font-weight: 450; letter-spacing: -.02em; line-height: 1; }
.r-total small { font-size: 12px; color: var(--texto-3); font-weight: 700; }
.r-nota { padding: 10px 12px; border-radius: 14px; background: var(--oro-100); color: #7A5320; font-size: 12.5px; display: flex; gap: 8px; }
.r-nota .ico { flex: none; width: 17px; height: 17px; }
.r-barra-movil { display: none; }
@media (max-width: 920px) {
  .r-main { grid-template-columns: 1fr; padding-bottom: 130px; }
  .r-resumen { display: none; }
  .r-barra-movil { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--borde); box-shadow: 0 -10px 30px rgba(59, 30, 43, .08); }
  .r-barra-movil small { display: block; font-size: 11.5px; color: var(--texto-3); font-weight: 700; }
  .r-barra-movil strong { font-family: var(--f-display); font-size: 24px; font-weight: 500; }
  .r-barra-movil .btn { margin-left: auto; min-width: 150px; }
  .r-acciones { display: none; }
  .r-barra-movil.oculta { display: none; }
}

/* confirmación */
.r-listo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.r-check-anim { width: 92px; height: 92px; }
.r-check-anim circle { fill: none; stroke: var(--rosa-200); stroke-width: 4; }
.r-check-anim .c2 { stroke: var(--rosa-500); stroke-dasharray: 280; stroke-dashoffset: 280; animation: dibujar 1s var(--ease) forwards; transform: rotate(-90deg); transform-origin: center; }
.r-check-anim path { fill: none; stroke: var(--rosa-500); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dibujar .5s .7s var(--ease) forwards; }
@keyframes dibujar { to { stroke-dashoffset: 0; } }
.ticket { position: relative; width: min(100%, 460px); margin-top: 12px; border-radius: 26px; background: #fff; box-shadow: var(--sombra-2); overflow: hidden; text-align: left; animation: subir .7s .3s var(--ease) both; }
.ticket-cab { padding: 20px 22px; background: radial-gradient(400px 200px at 100% 0%, rgba(214, 51, 108, .45), transparent 70%), linear-gradient(135deg, #2E1622, #1E0F17); color: #fff; }
.ticket-cab small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F28CAE; }
.ticket-cab h3 { margin-top: 4px; font-family: var(--f-display); font-size: 24px; font-weight: 500; }
.ticket-corte { position: relative; height: 0; border-top: 2px dashed var(--borde-fuerte); margin: 0 18px; }
.ticket-corte::before, .ticket-corte::after { content: ''; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--crema); }
.ticket-corte::before { left: -30px; } .ticket-corte::after { right: -30px; }
.ticket-cuerpo { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 22px 22px; }
.ticket-datos { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ticket-datos small { display: block; font-size: 11.5px; font-weight: 700; color: var(--texto-3); }
.ticket-qr { width: 110px; }
.ticket-qr svg { width: 100%; height: auto; border-radius: 10px; }
.ticket-codigo { margin-top: 6px; text-align: center; font-family: var(--f-display); font-size: 22px; letter-spacing: .18em; font-weight: 600; color: var(--rosa-700); }
.r-listo-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.petalos { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.petalos i { position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 12px 0 12px 0; background: var(--c); opacity: .9; animation: caer var(--d) var(--ease) forwards; }
@keyframes caer { to { transform: translate(var(--x), 110vh) rotate(var(--r)); opacity: .2; } }

/* mis citas */
.mis-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mis-buscar { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); }
.mis-buscar .fila { flex-wrap: wrap; }
.mis-buscar input { flex: 1; min-width: 200px; }
.mis-lista { display: flex; flex-direction: column; gap: 12px; }
.mis-cita { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); animation: subir .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.mis-fecha { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 66px; flex: none; border-radius: 16px; background: var(--rosa-50); color: var(--rosa-700); }
.mis-fecha small { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.mis-fecha strong { font-family: var(--f-display); font-size: 26px; font-weight: 500; line-height: 1; }
.mis-cita.pasada { opacity: .75; box-shadow: none; }
.mis-cita.pasada .mis-fecha { background: var(--superficie-2); color: var(--texto-3); }
.mis-info { flex: 1; min-width: 0; }
.mis-info strong { display: block; }
.mis-info small { color: var(--texto-2); }
.mis-paquete { padding: 18px; border-radius: 22px; background: linear-gradient(130deg, #2E1622, #1E0F17); color: #fff; }
.mis-paquete small { color: rgba(255, 255, 255, .65); }
.mis-sesiones { display: flex; gap: 6px; margin-top: 10px; }
.mis-sesiones i { flex: 1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .15); }
.mis-sesiones i.ok { background: linear-gradient(90deg, #F06A97, #E5C79A); }
.mis-seccion { margin-top: 26px; }
.mis-seccion > h3 { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); }
@media (max-width: 560px) { .mis-cita { flex-wrap: wrap; } .mis-cita .fila { width: 100%; } }
