/* Reservas.Travel (página 1535, rehecha el 2026-09-24): motivo del hero y escenas.
   Las piezas comunes (.esc, .ui, los iconos) están en paginas-servicio.css.
   El alojamiento de ejemplo es la «Posada del Puerto», la misma de Diseño Web. */

/* ---------- Hero: el viaje ---------- */
.hero-reservas::before {
    background:
        radial-gradient(36% 50% at 12% 18%, rgba(31, 184, 205, .58), transparent 68%),
        radial-gradient(30% 42% at 44% 92%, rgba(11, 138, 99, .44), transparent 70%),
        radial-gradient(32% 44% at 88% 14%, rgba(255, 22, 50, .40), transparent 70%),
        radial-gradient(34% 44% at 92% 84%, rgba(255, 205, 87, .34), transparent 72%);
    animation: rv-drift 10s ease-in-out infinite alternate;
}
/* Luces del viaje, desenfocadas, que corren despacio.
   Rehecho el 2026-09-24: la grilla de ocupación era muy geométrica. Ahora
   el motivo es el viaje: sol, montaña, brújula, valija, avión de papel,
   estrella y llave en .svc-hero-garabatos, y rutas y sierras en .svc-hero-trazos. */
.hero-reservas .svc-hero-fx {
    background-image:
        radial-gradient(circle, rgba(31, 184, 205, .55) 0 5px, transparent 9px),
        radial-gradient(circle, rgba(255, 205, 87, .45) 0 4px, transparent 8px),
        radial-gradient(circle, rgba(255, 255, 255, .30) 0 3px, transparent 6px);
    background-size: 190px 100%, 260px 100%, 120px 100%;
    background-position: 0 70%, 90px 82%, 40px 60%;
    background-repeat: repeat-x;
    filter: blur(2px);
    animation: rv-reflejos 20s linear infinite;
}
@keyframes rv-reflejos { to { background-position: -190px 70%, -170px 82%, -200px 60%; } }
.hero-reservas::after { background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; }
@keyframes rv-drift {
    from { transform: translate3d(-5%, -3%, 0) scale(1.04); }
    to   { transform: translate3d(6%, 4%, 0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) { .hero-reservas::before, .hero-reservas .svc-hero-fx { animation: none; } }

/* ---------- Motor de reservas: la reserva desde la web del hotel ---------- */
.rm-motor { inset: 10px 12px; padding: 8px 10px; display: grid; gap: 5px; align-content: start; }
.rm-cab { font-size: 7.5px; font-weight: 800; white-space: nowrap; }
.rm-fechas { display: grid; grid-template-columns: 1fr 1fr 0.7fr; gap: 4px; }
.rm-fechas span { font-size: 7px; font-weight: 800; border: 1px solid #E2E8EE; border-radius: 3px; padding: 2px 5px; white-space: nowrap; }
.rm-fechas small { display: block; font-size: 5.3px; font-weight: 800; color: #94a3b8; letter-spacing: .05em; text-transform: uppercase; }
.rm-hab { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px; padding: 4px 6px; border: 1.5px solid var(--c); border-radius: 4px; background: color-mix(in srgb, var(--c) 7%, #fff); font-size: 7px; white-space: nowrap; }
.rm-hab b { font-weight: 800; }
.rm-hab strong { font-size: 10px; font-weight: 800; }
.rm-bot { position: relative; height: 16px; }
.rm-bot span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 4px; font-size: 7px; font-weight: 800; color: #fff; }
.rm-bot .es-reservar { background: var(--c); animation: rm-a 6s infinite; }
.rm-bot .es-ok { background: #0B8A63; animation: rm-b 6s infinite; }
@keyframes rm-a { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rm-b { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Channel manager: la misma disponibilidad en todos lados ---------- */
.rc-centro { left: 12px; top: 50%; transform: translateY(-50%); width: 34%; padding: 6px 8px; display: grid; gap: 2px; }
.rc-centro small { font-size: 6px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.rc-centro b { font-size: 8px; font-weight: 800; }
.rc-num { position: relative; height: 14px; font-size: 12px; font-weight: 800; color: var(--c); }
.rc-num span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.rc-num .es-3 { animation: rm-a 6s infinite; }
.rc-num .es-2 { animation: rm-b 6s infinite; }
.rc-lineas { position: absolute; left: calc(12px + 34%); width: 14%; top: 18px; bottom: 18px; }
.rc-lineas svg { width: 100%; height: 100%; overflow: visible; }
.rc-lineas path { fill: none; stroke: var(--c); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; animation: po-flujo2 1s linear infinite; }
@keyframes po-flujo2 { to { stroke-dashoffset: -12; } }
.rc-canales { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 44%; display: grid; align-content: space-between; }
.rc-canales .ui { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 7px; font-size: 7px; font-weight: 800; white-space: nowrap; }
.rc-canales .rc-num { font-size: 9px; height: 11px; width: 34px; }

/* ---------- Grilla de ocupación (PMS) ---------- */
.rp-grilla { inset: 10px 12px; padding: 6px 8px; display: grid; grid-template-columns: 38px repeat(7, 1fr); grid-auto-rows: 13px; gap: 2px; align-content: start; font-size: 6px; font-weight: 800; }
.rp-grilla > span { display: grid; place-items: center; color: #94a3b8; }
.rp-grilla > b { display: flex; align-items: center; font-weight: 800; white-space: nowrap; color: #475569; }
.rp-r { border-radius: 3px; color: #fff; font-size: 5.8px; display: flex; align-items: center; padding-left: 4px; white-space: nowrap; overflow: hidden; animation: rp-r 7s infinite both; animation-delay: var(--d); }
@keyframes rp-r { 0%, 6% { opacity: 0; transform: scaleX(.4); transform-origin: left; } 14%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Pagos ---------- */
.rpg-caja { inset: 12px 14px; padding: 8px 10px; display: grid; gap: 5px; align-content: start; }
.rpg-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 7px; font-weight: 700; color: #64748b; white-space: nowrap; }
.rpg-total b { font-size: 12px; font-weight: 800; color: #1E293B; }
.rpg-op { display: flex; align-items: center; gap: 6px; font-size: 7px; font-weight: 700; padding: 4px 6px; border: 1px solid #E2E8EE; border-radius: 4px; white-space: nowrap; }
.rpg-op.is-sel { border-color: #009EE3; background: #F2FAFE; }
.rpg-op i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #CBD5E1; flex: none; }
.rpg-op.is-sel i { border: 2.5px solid #009EE3; }
.rpg-op svg { height: 11px; width: 11px; flex: none; }
.rpg-ok { position: absolute; right: 20px; bottom: 14px; display: flex; align-items: center; gap: 5px; padding: 5px 9px 5px 6px; background: #fff; border-radius: 7px; font-size: 7.5px; font-weight: 800; box-shadow: 0 10px 22px -8px rgba(15,23,42,.5); white-space: nowrap; animation: rpg-ok 5s cubic-bezier(.16,1,.3,1) infinite; }
.rpg-ok small { display: block; font-size: 6.5px; font-weight: 600; color: #64748b; }
@keyframes rpg-ok { 0%, 25% { opacity: 0; transform: translateY(14px); } 35%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Paridad de tarifas: el mismo precio en todos los canales ---------- */
.rt-tabla { inset: 12px 14px; padding: 8px 10px; display: grid; gap: 4px; align-content: start; }
.rt-cab { display: flex; justify-content: space-between; font-size: 7.5px; font-weight: 800; white-space: nowrap; margin-bottom: 2px; }
.rt-cab small { font-size: 6.5px; color: #64748b; font-weight: 700; }
.rt-f { display: grid; grid-template-columns: 1fr auto 12px; gap: 8px; align-items: center; font-size: 7px; font-weight: 700; padding: 3px 5px; border-bottom: 1px solid #EEF2F6; white-space: nowrap; }
.rt-f b { font-size: 8px; font-weight: 800; }
.rt-f .ok-v { animation: rt-ok 6s infinite both; animation-delay: var(--d); }
@keyframes rt-ok { 0%, 8% { transform: scale(0); } 14%, 92% { transform: none; } 100% { transform: scale(0); } }
.rt-par { justify-self: start; margin-top: 3px; font-size: 6.5px; font-weight: 800; color: #fff; background: var(--c); border-radius: 99px; padding: 2px 8px; }

/* ---------- Información para decidir: ocupación e ingresos por canal ---------- */
.ri-panel { inset: 10px 12px; padding: 8px 10px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.ri-ocup { position: relative; width: 64px; height: 64px; }
.ri-ocup svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ri-ocup circle { fill: none; stroke-width: 7; }
.ri-ocup .ri-pista { stroke: color-mix(in srgb, var(--c) 18%, #fff); }
.ri-ocup .ri-arco { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; animation: ri-arco 6s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes ri-arco { 0% { stroke-dashoffset: 176; } 35%, 90% { stroke-dashoffset: 30; } 100% { stroke-dashoffset: 176; } }
.ri-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ri-num b { font-size: 15px; font-weight: 800; line-height: 1; }
.ri-num span { font-size: 5.5px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.ri-barras { display: grid; gap: 5px; }
.ri-barras div { display: grid; grid-template-columns: 52px 1fr; gap: 6px; align-items: center; font-size: 6.5px; font-weight: 700; color: #64748b; white-space: nowrap; }
.ri-barras i { height: 7px; border-radius: 3px; background: var(--b); transform-origin: left; width: var(--p); animation: ri-barra 6s ease-out infinite; }
@keyframes ri-barra { 0% { transform: scaleX(0); } 40%, 100% { transform: none; } }

/* Cada fila de la grilla arranca con el nombre de la habitación en la primera columna */
.rp-grilla > b { grid-column: 1; }
