/* 1.17.33: página pública de reservaciones — Hotel Ricardo's */
:root {
  --verde: #1f7a3e; --verde-o: #155c2d; --verde-c: #e3f3e8; --crema: #f7f2e7; --arena: #efe6d2; --borde: #ddd3bd;
  --texto: #1d2a22; --suave: #5f6b62; --naranja: #c25e00; --rojo: #b3261e; --mp: #009ee3; --blanco: #fff;
  --sombra: 0 6px 24px rgba(40, 30, 10, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--crema); color: var(--texto); font: 16px/1.45 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.cab { background: var(--verde); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.cab-dentro { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.logo { height: 46px; width: auto; }
.cab-txt { display: flex; flex-direction: column; line-height: 1.15; }
.cab-txt b { font-size: 18px; }
.cab-txt small { opacity: .85; font-size: 12.5px; }
.idioma { margin-left: auto; display: flex; background: rgba(255,255,255,.15); border-radius: 999px; padding: 3px; }
.idioma button { border: 0; background: transparent; color: #fff; font-weight: 800; font-size: 13px; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.idioma button.on { background: #fff; color: var(--verde-o); }
.app { max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; }
.cargando { text-align: center; padding: 60px 0; color: var(--suave); }
h1 { font-size: 26px; margin: 4px 0 4px; }
.sub { color: var(--suave); margin: 0 0 16px; }
.tarjeta { background: var(--blanco); border: 1px solid var(--borde); border-radius: 18px; padding: 16px; box-shadow: var(--sombra); margin-bottom: 16px; }
.tarjeta h2 { font-size: 18px; margin: 0 0 12px; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .tres { grid-template-columns: 1fr; } }
.campo { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; min-width: 0; }
.campo > span, .campo > label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--suave); }
.campo input, .campo textarea { border: 1.5px solid var(--borde); border-radius: 12px; padding: 12px; min-height: 48px; background: #fff; width: 100%; font-size: 16px; }
.campo input:focus, .campo textarea:focus { outline: 3px solid #f2c94c; border-color: #e0b13a; }
.paso { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--borde); border-radius: 12px; padding: 6px 8px 6px 12px; min-height: 52px; background: #fff; }
.paso b { font-size: 18px; min-width: 22px; text-align: center; }
.paso .bot { display: flex; align-items: center; gap: 10px; }
.paso button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--verde); background: #fff; color: var(--verde); font-size: 20px; font-weight: 800; cursor: pointer; line-height: 1; }
.paso button:disabled { opacity: .35; cursor: default; }
.paso small { display: block; color: var(--suave); font-size: 11.5px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.btn { display: block; width: 100%; border: 0; border-radius: 14px; padding: 15px 16px; font-size: 17px; font-weight: 800; background: var(--verde); color: #fff; cursor: pointer; text-align: center; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.mp { background: var(--mp); }
.btn.claro { background: #fff; color: var(--texto); border: 1.5px solid var(--borde); }
.btn.wa { background: #25d366; }
.nota { font-size: 13px; color: var(--suave); }
.centro { text-align: center; }
.error { background: #fdecea; color: var(--rojo); border-radius: 12px; padding: 10px 12px; font-weight: 700; margin: 8px 0; }
.aviso { background: #fff6dd; border: 1px solid #f0d58a; color: #6b4b00; border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: 14px; }
.opcion { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; border: 2px solid var(--borde); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; background: #fff; cursor: pointer; }
.opcion.on { border-color: var(--verde); background: #f4faf6; box-shadow: 0 0 0 3px #1f7a3e22; }
.opcion.no { opacity: .5; cursor: default; }
.opcion .em { font-size: 20px; flex: none; min-width: 52px; text-align: center; white-space: nowrap; }
.opcion .i { flex: 1; min-width: 0; }
.opcion .i b { display: block; font-size: 16.5px; }
.opcion .i small { display: block; color: var(--suave); font-size: 13px; }
.opcion .p { text-align: right; font-weight: 800; font-size: 18px; white-space: nowrap; }
.opcion .p small { display: block; font-weight: 600; color: var(--suave); font-size: 12px; }
.ok { color: var(--verde); font-weight: 800; font-size: 12.5px; }
.pocas { color: var(--naranja); font-weight: 800; font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1.5px solid var(--borde); background: #fff; border-radius: 999px; padding: 9px 13px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.chips button.on { background: var(--verde); border-color: var(--verde); color: #fff; }
.casilla { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--borde); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; min-height: 52px; cursor: pointer; background: #fff; }
.casilla:has(input:checked) { border-color: var(--verde); background: #f4faf6; }
.casilla input { width: 22px; height: 22px; accent-color: var(--verde); flex: none; }
.casilla .t { flex: 1; }
.casilla .t small { display: block; color: var(--suave); font-size: 12.5px; }
.resumen { background: var(--arena); border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.resumen div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 15px; }
.resumen .tot { border-top: 1px solid var(--borde); margin-top: 6px; padding-top: 8px; font-weight: 800; }
.resumen .ant { color: var(--verde-o); font-weight: 800; font-size: 17px; }
details.politica { border: 1px solid var(--borde); border-radius: 12px; padding: 8px 12px; margin: 8px 0; background: #fff; font-size: 14px; }
details.politica summary { cursor: pointer; font-weight: 700; }
details.politica p { margin: 6px 0; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estado { text-align: center; }
.estado .icono { width: 84px; height: 84px; border-radius: 50%; margin: 10px auto 8px; display: grid; place-items: center; font-size: 46px; font-weight: 900; }
.estado .icono.si { background: var(--verde-c); color: var(--verde); }
.estado .icono.espera { background: #fff3d6; }
.estado .icono.no { background: #fdecea; color: var(--rojo); }
.estado .resumen { text-align: left; }
.girar { animation: girar 1.4s linear infinite; display: inline-block; }
@keyframes girar { to { transform: rotate(360deg); } }
.pie { text-align: center; color: var(--suave); font-size: 13px; padding: 18px 16px 30px; }
.pie a { color: var(--verde-o); font-weight: 700; }
.pasos-arriba { display: flex; gap: 6px; margin: 0 0 14px; }
.pasos-arriba span { flex: 1; height: 5px; border-radius: 5px; background: var(--borde); }
.pasos-arriba span.on { background: var(--verde); }
.volver { background: none; border: 0; color: var(--verde-o); font-weight: 800; padding: 6px 0; cursor: pointer; font-size: 15px; }
