/* Pagina nueva de reserva (29-sep-2026) — pensada primero para el telefono. */
.rn-body { background: var(--color-bg-alt); padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.rn-top { position: sticky; top: 0; z-index: 30; background: rgba(246,243,238,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .7rem 16px; border-bottom: 1px solid var(--color-border); }
.rn-logo img { height: 34px; width: auto; filter: brightness(0); }
.rn-prog { height: 4px; background: var(--color-border); border-radius: 4px; overflow: hidden; }
.rn-prog span { display: block; height: 100%; width: 20%; background: var(--color-accent); border-radius: 4px; transition: width .35s var(--ease-out); }
.rn-paso-n { margin: 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; }

.rn-main { max-width: 34rem; margin: 0 auto; padding: 1.4rem 16px 0; }
.rn-h { font-size: clamp(1.9rem, 7vw, 2.4rem); margin: 0 0 .25rem; }
.rn-sub { color: var(--color-muted); margin: 0 0 1.1rem; font-size: .95rem; }
.rn-hint { font-size: .8rem; color: var(--color-muted); line-height: 1.5; margin: .6rem 0 0; }
.rn-hint a { color: var(--color-accent); text-decoration: underline; }
.rn-card { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 1rem; margin-bottom: .9rem; }
.rn-lbl { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 .7rem; }

/* steppers */
.rn-step-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.rn-step-row + .rn-step-row { border-top: 1px solid #f0ece4; }
.rn-step-row b { display: block; font-weight: 500; font-size: .98rem; }
.rn-step-row small { display: block; color: var(--color-muted); font-size: .78rem; line-height: 1.3; }
.rn-stepper { display: flex; align-items: center; gap: .2rem; flex-shrink: 0; }
.rn-stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; font-size: 1.3rem; line-height: 1; color: var(--color-text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rn-stepper button:disabled { opacity: .3; cursor: default; }
.rn-stepper button:not(:disabled):active { background: var(--color-bg-alt); }
.rn-stepper output { min-width: 2rem; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }

/* calendario */
.rn-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.rn-cal-head p { margin: 0; font-family: var(--font-serif); font-size: 1.35rem; text-transform: capitalize; }
.rn-cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; font-size: 1.4rem; cursor: pointer; }
.rn-cal-nav:disabled { opacity: .3; cursor: default; }
.rn-cal-dow, .rn-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rn-cal-dow span { text-align: center; font-size: .7rem; color: var(--color-muted); padding: .3rem 0; text-transform: uppercase; }
.rn-cal button { position: relative; aspect-ratio: 1 / 1.08; min-width: 0; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; font: inherit; color: var(--color-text); -webkit-tap-highlight-color: transparent; }
.rn-cal button .n { font-size: .95rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rn-cal button .p { font-size: .62rem; color: var(--color-accent); line-height: 1.1; margin-top: 2px; }
.rn-cal button:disabled { cursor: default; color: #c3beb4; }
.rn-cal button:disabled .p { color: #c3beb4; }
.rn-cal button.lleno .n { text-decoration: line-through; }
.rn-cal button.fer .n::after { content: ""; position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: #c0392b; }
.rn-cal button.en-rango { background: #dde5ea; border-radius: 0; }
.rn-cal button.ini, .rn-cal button.fin { background: var(--color-accent); color: #fff; }
.rn-cal button.ini .p, .rn-cal button.fin .p { color: #dde5ea; }
.rn-cal button.ini { border-radius: 10px 0 0 10px; }
.rn-cal button.fin { border-radius: 0 10px 10px 0; }
.rn-cal button.ini.solo { border-radius: 10px; }
.rn-cal-ley { font-size: .7rem; color: var(--color-muted); margin: .6rem 0 0; }
.rn-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c0392b; vertical-align: middle; }
.rn-cal-msg { margin: .5rem 0 0; font-size: .88rem; padding: .55rem .75rem; background: var(--color-bg-alt); border-radius: 8px; }

/* casas */
.rn-casas { display: grid; gap: .9rem; }
.rn-casa { background: #fff; border: 2px solid var(--color-border); border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; width: 100%; transition: border-color .2s; -webkit-tap-highlight-color: transparent; }
.rn-casa.sel { border-color: var(--color-accent); box-shadow: 0 6px 24px -10px rgba(92,116,136,.45); }
.rn-casa img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rn-casa-body { padding: .85rem 1rem 1rem; }
.rn-casa-top { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.rn-casa h2 { font-size: 1.5rem; margin: 0; }
.rn-casa .cap { font-size: .75rem; color: var(--color-muted); white-space: nowrap; }
.rn-casa .corto { font-size: .88rem; color: var(--color-muted); margin: .15rem 0 .6rem; }
.rn-casa .precio { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #f0ece4; padding-top: .6rem; }
.rn-casa .precio b { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rn-casa .precio small { color: var(--color-muted); font-size: .78rem; }
.rn-casa .mas { display: none; font-size: .86rem; line-height: 1.55; margin: .6rem 0 0; }
.rn-casa.sel .mas { display: block; }
.rn-casa .mas a { color: var(--color-accent); text-decoration: underline; }
.rn-casa.off { cursor: default; opacity: .75; }
.rn-casa.off img { filter: grayscale(.7); opacity: .7; }
.rn-casa .aviso { font-size: .84rem; margin: .5rem 0 0; color: #7a4b1f; }
.rn-casa .alt { margin-top: .6rem; display: inline-block; font-size: .85rem; padding: .45rem .8rem; border: 1px solid var(--color-accent); border-radius: 999px; color: var(--color-accent); background: #fff; cursor: pointer; }

/* extras */
.rn-seg { display: grid; gap: .5rem; margin-top: .6rem; }
.rn-seg label, .rn-pago label { display: flex; gap: .6rem; align-items: center; padding: .7rem .8rem; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; font-size: .9rem; }
.rn-seg input, .rn-pago input { accent-color: var(--color-accent); width: 18px; height: 18px; flex-shrink: 0; }
.rn-seg label:has(input:checked), .rn-pago label:has(input:checked) { border-color: var(--color-accent); background: #eef2f5; }
.rn-tin-uso { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.rn-tin-uso label, .rn-form label { display: block; font-size: .78rem; color: var(--color-muted); }
.rn-tin-uso select, .rn-form input, .rn-form textarea { display: block; width: 100%; margin-top: .25rem; padding: .7rem .75rem; border: 1px solid var(--color-border); border-radius: 10px; font: inherit; font-size: 16px; color: var(--color-text); background: #fff; }
.rn-form { display: grid; gap: .8rem; }
.rn-form input:focus, .rn-form textarea:focus, .rn-tin-uso select:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent; }
.rn-form input.mal { border-color: #c0392b; }
.rn-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rn-2 > label { min-width: 0; }
.rn-opc { opacity: .75; }
.rn-err { color: #c0392b; font-size: .85rem; margin: 0; }

/* resumen y pago */
.rn-lin { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding: .3rem 0; }
.rn-lin span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rn-lin.tot { border-top: 1px solid var(--color-border); margin-top: .4rem; padding-top: .7rem; font-weight: 600; font-size: 1.05rem; }
.rn-lin.abono { color: var(--color-accent); font-weight: 500; }
.rn-res-casa { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.rn-res-casa img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.rn-res-casa b { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; display: block; line-height: 1.1; }
.rn-res-casa small { color: var(--color-muted); font-size: .82rem; }
.rn-pago { display: grid; gap: .5rem; }
.rn-pago b { display: block; font-weight: 500; }
.rn-pago small { color: var(--color-muted); font-size: .78rem; }
.rn-datos { font-size: .9rem; line-height: 1.7; }
.rn-copy { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid #f0ece4; font-size: .9rem; }
.rn-copy button { border: 1px solid var(--color-border); background: #fff; border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; cursor: pointer; }
.rn-btn { display: block; width: 100%; text-align: center; padding: .95rem 1rem; border-radius: 12px; background: var(--color-accent); color: #fff !important; font-weight: 500; margin-top: .8rem; border: 0; font: inherit; cursor: pointer; }
.rn-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 1.5rem auto 1rem; }

/* barra fija de abajo */
.rn-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--color-border);
  display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.25); }
.rn-back { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; font-size: 1.5rem; cursor: pointer; }
.rn-back[hidden] { display: block; visibility: hidden; }
.rn-bar-txt { font-size: .82rem; line-height: 1.3; color: var(--color-muted); min-width: 0; }
.rn-bar-txt b { display: block; color: var(--color-text); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.rn-go { border: 0; border-radius: 12px; background: var(--color-accent); color: #fff; font: inherit; font-weight: 500; padding: .85rem 1.3rem; cursor: pointer; white-space: nowrap; }
.rn-go:disabled { background: #b3c0cb; cursor: default; }

@media (min-width: 760px) {
  .rn-main { padding-top: 2.2rem; }
  .rn-bar { max-width: 34rem; margin: 0 auto 16px; border: 1px solid var(--color-border); border-radius: 16px; }
}

/* el sitio le da mucho aire a <section>: aqui no */
section.rn-paso { padding: 0; }
.rn-file { display: flex; align-items: center; gap: .9rem; cursor: pointer; border-style: dashed; border-width: 2px; }
.rn-file.lleno { border-style: solid; border-color: var(--color-accent); background: #eef2f5; }
.rn-file-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.rn-file b { display: block; font-weight: 500; }
.rn-file small { display: block; color: var(--color-muted); font-size: .8rem; word-break: break-all; }
#rn-pago-det { margin-top: .8rem; }
.rn-bar[hidden] { display: none; }
.rn-ok svg { width: 30px; height: 30px; }

/* que incluye cada casa */
.rn-casa .inc { list-style: none; margin: 0 0 .7rem; padding: 0; display: grid; gap: .3rem; }
.rn-casa .inc li { position: relative; padding-left: 1.1rem; font-size: .82rem; line-height: 1.45; color: #3d3d3a; }
.rn-casa .inc li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.rn-casa .inc b { font-weight: 500; }
/* upsell: una noche mas */
.rn-up { border-color: var(--color-accent); background: #eef2f5; }
.rn-up .up-t { font-family: var(--font-serif); font-size: 1.35rem; margin: 0 0 .3rem; line-height: 1.2; }
.rn-up .up-d { font-size: .9rem; margin: 0; }
.rn-up .alt { margin-top: .7rem; display: inline-block; font-size: .9rem; padding: .55rem 1rem; border: 1px solid var(--color-accent); border-radius: 999px; color: #fff; background: var(--color-accent); cursor: pointer; font-family: inherit; }
/* sumar extras desde el resumen */
.rn-sumar { display: flex; flex-wrap: wrap; gap: .45rem; }
.rn-sumar p { width: 100%; }
.rn-sumar button { border: 1px dashed var(--color-accent); background: #fff; color: var(--color-accent); border-radius: 999px; padding: .45rem .8rem; font: inherit; font-size: .84rem; cursor: pointer; }
.rn-sumar button span { color: var(--color-muted); }

/* galeria de fotos dentro de la reserva */
.rn-foto { position: relative; }
.rn-ver { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 999px; padding: .4rem .8rem; background: rgba(0,0,0,.62); color: #fff; font: inherit; font-size: .8rem; cursor: pointer; }
.rn-casa .mas a[data-galeria] { color: var(--color-accent); text-decoration: underline; }
.rn-gal { position: fixed; inset: 0; z-index: 100; background: #111; display: flex; flex-direction: column; }
.rn-gal-top { display: flex; align-items: center; gap: .8rem; padding: .8rem 16px; color: #fff; }
.rn-gal-top b { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.rn-gal-n { font-size: .8rem; opacity: .7; flex: 1; }
.rn-gal-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
.rn-gal-tira { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rn-gal-tira::-webkit-scrollbar { display: none; }
.rn-gal-tira figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: center; }
.rn-gal-tira img { width: 100%; max-height: 72vh; object-fit: contain; }
.rn-gal-tira figcaption { color: #eee; text-align: center; font-size: .9rem; padding: .7rem 16px 0; }
.rn-gal-pie { padding: .8rem 16px calc(.8rem + env(safe-area-inset-bottom)); }
.rn-gal-pie .rn-go { width: 100%; }
.rn-volver { font-size: .84rem; line-height: 1.5; background: #eef2f5; border-left: 3px solid var(--color-accent); padding: .6rem .8rem; border-radius: 6px; margin: .4rem 0 .2rem; }

/* Codigo de descuento (30-sep-2026) */
.rn-lin.desc { color: #2e7d4f; font-weight: 500; }
.rn-cod[hidden] { display: none; }
.rn-cod summary { cursor: pointer; font-size: .92rem; color: var(--color-accent); font-weight: 500; list-style: none; }
.rn-cod summary::-webkit-details-marker { display: none; }
.rn-cod summary::before { content: '+ '; }
.rn-cod[open] summary::before { content: '− '; }
.rn-cod-f { display: flex; gap: .5rem; margin-top: .7rem; }
.rn-cod-f input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; font: inherit; padding: .6rem .7rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; }
.rn-cod-f button { flex: none; }
.rn-cod-msg { font-size: .85rem; margin: .5rem 0 0; }
.rn-cod-msg:empty { display: none; }
.rn-cod-msg.ok { color: #2e7d4f; }
.rn-cod-msg.mal { color: #b3261e; }
.rn-link { background: none; border: 0; padding: 0; color: var(--color-accent); text-decoration: underline; font: inherit; cursor: pointer; }
.rn-cod-f button { font-size: .9rem; padding: .55rem 1rem; border: 1px solid var(--color-accent); border-radius: 999px; color: #fff; background: var(--color-accent); cursor: pointer; font-family: inherit; }
