/* Escapada boutique · sitio de reservas de NV Hoteles
   Estilo editorial: Playfair Display en títulos, Manrope en textos,
   zoom lento en la portada, aparición suave de habitaciones y transiciones cortas en el calendario. */
:root {
  --sand: #f4efe7;
  --paper: #fffdf9;
  --ink: #1b2427;
  --muted: #5d6769;
  --line: #e3dace;
  --line-soft: #ece5da;
  --sea: #24494d;
  --sea-dark: #183539;
  --sea-tint: #e3ecea;
  --clay: #a8502f;
  --gold: #c99a6b;
  --ok: #2e6b47;
  --err: #a23a2a;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(27,36,39,.04), 0 12px 32px -12px rgba(27,36,39,.18);
  --shadow-lg: 0 30px 60px -20px rgba(15,24,26,.45);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
a { color: var(--sea); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.narrow { max-width: 920px; }

/* ---------- cabecera ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand-mark { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-family: var(--serif); font-size: 15px; letter-spacing: .06em; }
.brand b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; white-space: nowrap; }
.brand small { display: block; font-size: 11px; opacity: .8; letter-spacing: .16em; text-transform: uppercase; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; transition: border-color .2s; }
.top nav a[aria-current="page"], .top nav a:hover { border-bottom-color: currentColor; }
.top .lang { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.45); color: inherit; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 12px; letter-spacing: .08em; cursor: pointer; transition: background .2s; }
.top .lang:hover { background: rgba(255,255,255,.18); }
body.solid .top { position: sticky; top: 0; color: var(--ink); background: rgba(255,253,249,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px; }
body.solid .brand-mark { border-color: var(--ink); }
body.solid .top .lang { background: none; border-color: var(--line); }
body.solid .top .lang:hover { background: var(--sand); }

/* ---------- portada: el fondo se acerca muy lento ---------- */
.hero { position: relative; z-index: 3; min-height: min(94vh, 820px); display: flex; align-items: flex-end; color: #fff; background: #1c3438; }
.hero-clip { position: absolute; inset: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('/reservar/hero.svg') center 70% / cover no-repeat; transform-origin: 65% 70%; animation: heroZoom 30s var(--ease) forwards; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14,24,26,.55) 0%, rgba(14,24,26,0) 28%), linear-gradient(90deg, rgba(14,24,26,.6) 0%, rgba(14,24,26,.15) 55%, rgba(14,24,26,0) 100%), linear-gradient(0deg, rgba(14,24,26,.55) 0%, rgba(14,24,26,0) 40%); }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 150px clamp(16px, 4vw, 40px) 48px; }
.eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); max-width: 11ch; font-weight: 500; line-height: 1.02; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: #f3cfa5; }
.lead { max-width: 44ch; font-size: clamp(16px, 1.6vw, 19px); margin: 16px 0 34px; opacity: .92; }
body.solid .hero { min-height: 0; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
body.solid .hero-clip, body.solid .hero::after, body.solid .hero .eyebrow, body.solid .hero h1, body.solid .lead { display: none; }
body.solid .hero-inner { padding-top: 16px; padding-bottom: 16px; }

/* ---------- buscador: una sola barra con divisores ---------- */
.search { display: grid; grid-template-columns: 1.25fr 1.55fr .7fr 1.25fr auto; align-items: stretch; background: var(--paper); color: var(--ink); padding: 8px; border-radius: 20px; box-shadow: var(--shadow-lg); }
body.solid .search { box-shadow: none; border: 1px solid var(--line); background: #fff; }
.search > .field { padding: 8px 16px 6px; border-right: 1px solid var(--line-soft); gap: 0; border-radius: 12px; transition: background .2s; }
.search > .field:hover { background: var(--sand); }
.search > .field:nth-child(4) { border-right: 0; }
.search .field > span:first-child { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search .field select, .search .dates-btn { border: 0; background: transparent; padding: 2px 0 4px; min-height: 34px; border-radius: 0; font-weight: 600; font-size: 15px; box-shadow: none; }
.search .field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235d6769' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center no-repeat; }
.search .field select:focus, .search .dates-btn:focus { box-shadow: none; }
.search > .field:focus-within { background: var(--sand); }
.search .btn { min-height: 56px; border-radius: 14px; padding: 0 26px; margin-left: 6px; }
.search .form-error { padding: 4px 16px 6px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.field > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.field input, .field select, .field textarea, .dates-btn { width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .dates-btn:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(36,73,77,.14); }
.field [aria-invalid="true"] { border-color: var(--err); }
.dates-btn { text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pair { display: grid; grid-template-columns: 130px 1fr; gap: 6px; }
.form-error { grid-column: 1 / -1; margin: 0; color: var(--err); font-weight: 600; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--ink); background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--sea); border-color: var(--sea); color: #fff; }
.btn.primary:hover { background: var(--sea-dark); border-color: var(--sea-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--sea); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.back { margin: 32px 0 8px; text-decoration: none; }
.back:hover { text-decoration: underline; }

/* ---------- calendario: transiciones cortas ---------- */
.cal { position: absolute; top: calc(100% + 14px); left: -8px; z-index: 20; width: 360px; max-width: calc(100vw - 32px); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; opacity: 0; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.cal.open { opacity: 1; transform: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; transition: background .15s; }
.cal-nav:hover:not(:disabled) { background: var(--sand); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; transition: opacity .18s var(--ease), transform .18s var(--ease); }
.cal-grid.slide-l { opacity: 0; transform: translateX(-12px); }
.cal-grid.slide-r { opacity: 0; transform: translateX(12px); }
.cal-dow { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 0 6px; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; cursor: pointer; font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day:disabled { color: #c6bfb5; cursor: default; }
.cal-day.in { background: var(--sea-tint); border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--sea); color: #fff; font-weight: 700; }
.cal-day.start { border-radius: 50% 0 0 50%; }
.cal-day.end { border-radius: 0 50% 50% 0; }
.cal-day.start.end { border-radius: 50%; }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }

/* ---------- portada: ventajas y hoteles ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); margin: 56px 0 24px; counter-reset: perk; }
.perks div { position: relative; padding: 20px 0 0 54px; border-top: 1px solid var(--line); counter-increment: perk; }
.perks div::before { content: '0' counter(perk); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); line-height: 1; }
.perks b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 4px; }
.perks span { color: var(--muted); font-size: 14.5px; }
.section-title { font-size: clamp(30px, 4.2vw, 46px); margin: 48px 0 24px; }
#view-home > .section-title { display: flex; align-items: baseline; gap: 18px; }
#view-home > .section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); transform: translateY(-8px); }
.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.hotel { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hotel:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(27,36,39,.04), 0 24px 48px -16px rgba(27,36,39,.28); }
.hotel .art, .room .art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.hotel .art::after, .room .art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,26,0) 55%, rgba(14,24,26,.28)); pointer-events: none; }
.hotel .art.photo img { transition: transform 1.2s var(--ease); }
.hotel:hover .art.photo img { transform: scale(1.04); }
.hotel .body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hotel .body > .eyebrow { margin-bottom: 0; }
.hotel h3 { font-size: 27px; }
.hotel .body > .small { padding-top: 10px; border-top: 1px solid var(--line-soft); }
.hotel .from { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; }
.price { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.price small { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }

/* ilustraciones cuando el hotel aún no sube fotos */
.art { background-color: #c9b7a3; }
.art-1 { background: radial-gradient(circle at 70% 58%, #fff0da 0 5%, rgba(255,226,190,.55) 6%, transparent 28%), linear-gradient(180deg, #3d5b5e 0%, #8a9b97 42%, #e2bf9b 60%, #6d7f7c 61%, #22393c 100%); }
.art-2 { background: radial-gradient(ellipse 22% 34% at 50% 100%, #f2dcc2 0 98%, transparent 100%), radial-gradient(ellipse 30% 46% at 50% 100%, #8c4a31 0 98%, transparent 100%), linear-gradient(180deg, #d9a383, #b9714f); }
.art-3 { background: radial-gradient(ellipse 60% 40% at 20% 100%, #3f5a3d 0 98%, transparent 100%), radial-gradient(ellipse 55% 45% at 85% 100%, #557153 0 98%, transparent 100%), radial-gradient(circle at 75% 28%, #fbf1df 0 7%, transparent 8%), linear-gradient(180deg, #c7d3c4, #9cb09a); }
.art-4 { background: linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.35) 18% 19%, transparent 19% 81%, rgba(255,255,255,.35) 81% 82%, transparent 82%), linear-gradient(180deg, #ece0cf 0 62%, #cdb59a 62%); }
.art-5 { background: radial-gradient(circle at 78% 26%, #fff3df 0 6%, transparent 7%), linear-gradient(180deg, #bf9a7a, #7c5c47); }
.art-6 { background: linear-gradient(90deg, #24494d 0 34%, #efe6d8 34% 35%, #d5c3ab 35%); }
.art-7 { background: repeating-linear-gradient(90deg, #efe6d8 0 22px, #e6dac8 22px 44px); }

/* ---------- resultados: las habitaciones aparecen suave al entrar en pantalla ---------- */
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.results-head .section-title { margin: 0 0 24px; }
.results-head .eyebrow { color: var(--clay); margin-top: 24px; }
.results-head > .muted { margin: 0 0 28px; font-size: 14px; }
.rooms { display: grid; gap: 24px; margin-bottom: 80px; }
.room { display: grid; grid-template-columns: minmax(260px, 38%) 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }
.room .art { aspect-ratio: auto; min-height: 260px; }
.room .body { padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-content: start; }
.room h3 { font-size: 28px; margin-bottom: 6px; }
.room p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: #4a5456; border: 1px solid var(--line-soft); }
.buy { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; justify-content: flex-start; }
.buy s { color: var(--muted); font-size: 13px; }
.save { color: var(--ok); font-weight: 700; font-size: 13px; background: #e5f0e8; padding: 2px 9px; border-radius: 999px; }
.left { color: var(--clay); font-weight: 700; font-size: 13px; }
.room.off { opacity: .72; }
.room.off .reason { color: var(--err); font-weight: 600; font-size: 14px; }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.plans { grid-column: 1 / -1; display: grid; gap: 10px; margin-top: 14px; }
.plan { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.plan:hover { border-color: #cdbfae; box-shadow: 0 6px 18px -10px rgba(27,36,39,.25); }
.plan b { display: block; font-size: 15px; }
.plan-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.plan-price .price { font-size: 23px; }

/* ---------- reserva ---------- */
.card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; margin-bottom: 80px; }
.summary { position: sticky; top: 90px; background: var(--sea); color: #fff; border: 0; }
.summary .eyebrow { color: #f3cfa5 !important; }
.summary h3 { font-size: 25px; margin-bottom: 4px; }
.summary .muted, .summary dt { color: rgba(255,255,255,.72); }
.summary dl { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 8px 12px; margin: 18px 0; font-size: 14px; }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { border-top: 1px solid rgba(255,255,255,.22); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary .price small { color: rgba(255,255,255,.72); }
#lookup-out .summary, #view-done .summary { position: static; background: none; color: inherit; padding: 0; box-shadow: none; }
#lookup-out .summary dt, #view-done .summary dt { color: var(--muted); }
#lookup-out .summary .total, #view-done .summary .total { border-top-color: var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--sea); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: clamp(28px, 5vw, 56px) 20px; margin: 40px 0 80px; }
.done .code { display: inline-block; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: clamp(24px, 6vw, 34px); letter-spacing: .14em; padding: 12px 22px; margin: 16px 0; border: 1px dashed var(--gold); border-radius: 12px; background: var(--sand); word-break: break-all; }
.done h2 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 6px; }
.status { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--sea-tint); color: var(--sea-dark); }
.status.bad { background: #f6e1dc; color: var(--err); }
.status.warn { background: #f7ecdb; color: #8a5414; }
#lookup-out .card { margin: 24px 0 80px; }
#lookup-out .card + .card, #lookup-out form.card { margin-top: 0; }
#lookup-out form.card h3 { font-size: 25px; }

.dialog { border: 0; border-radius: var(--radius); max-width: 540px; width: calc(100% - 32px); padding: 28px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(14,24,26,.5); backdrop-filter: blur(2px); }
.dialog h3 { font-size: 26px; margin-bottom: 8px; }

/* ---------- pie ---------- */
.foot { max-width: none; margin: 0; padding: 48px max(clamp(16px, 4vw, 40px), calc((100% - 1180px) / 2 + 40px)) 56px; background: var(--ink); color: rgba(255,255,255,.82); font-size: 14px; }
.foot p { margin: 6px 0; }
.foot b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: #fff; }
.foot .muted { color: rgba(255,255,255,.6); }
.foot .link { color: #f3cfa5; }
.foot .wa { color: #9fd6b2; }

/* ---------- fase 7: fotos, opiniones, pago, pre-check-in ---------- */
.art.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room .art.photo { min-height: 260px; }
.stars { margin: 0; color: var(--clay); font-weight: 700; font-size: 13.5px; }
.quote { margin: 4px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.wa { font-weight: 700; color: var(--ok); }
.okmsg { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #e3efe7; color: var(--ok); font-weight: 600; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.starsel { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.starsel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starsel label { font-size: 38px; line-height: 1; color: #d8cdbd; cursor: pointer; transition: color .15s; }
.starsel input:checked ~ label, .starsel label:hover, .starsel label:hover ~ label { color: var(--gold); }
.starsel input:focus-visible + label { outline: 2px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
#view-review .card { margin-bottom: 80px; }
.testpay { max-width: 520px; margin: 48px auto; }
.testbanner { background: #fff3cd; color: #6b4b00; border: 2px dashed #c79100; border-radius: 12px; padding: 12px 14px; font-weight: 700; margin-bottom: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .search { grid-template-columns: 1fr 1fr; gap: 0; }
  .search > .field { border-right: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .search > .field:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .search > .field:nth-child(3), .search > .field:nth-child(4) { border-bottom: 0; }
  .search .btn { grid-column: 1 / -1; margin: 8px 0 0; }
  .hotels { grid-template-columns: 1fr 1fr; }
  .room { grid-template-columns: 240px 1fr; }
  .book { grid-template-columns: 1fr; }
  .summary { order: -1; position: static; }
}
@media (max-width: 640px) {
  .top { padding: 14px 16px; }
  .top nav { gap: 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; font-size: 13px; }
  .brand b { font-size: 17px; }
  .brand small { display: none; }
  .top nav a { font-size: 13px; }
  .top nav a[data-nav="home"] { display: none; }
  .top .lang { padding: 4px 9px; font-size: 11px; }
  .hero { min-height: 0; }
  .hero-inner { padding: 104px 16px 24px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .lead { margin: 12px 0 22px; font-size: 15.5px; }
  .search { border-radius: 16px; padding: 6px; }
  .search > .field { padding: 8px 12px 4px; }
  .search .field select, .search .dates-btn { font-size: 14.5px; min-height: 30px; }
  .search > .field:first-child, .search .dates { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .search > .field:nth-child(3) { border-right: 1px solid var(--line-soft); border-bottom: 0; }
  .search > .field:nth-child(4) { border-bottom: 0; }
  .search .btn { min-height: 52px; }
  .cal { left: -6px; width: calc(100vw - 32px); }
  .perks { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .perks div { padding: 16px 0 16px 46px; }
  .perks div::before { top: 14px; font-size: 22px; }
  .hotels, .grid2 { grid-template-columns: 1fr; }
  .section-title { margin: 32px 0 18px; }
  .room { grid-template-columns: 1fr; }
  .room .art, .room .art.photo { min-height: 190px; }
  .room .body { grid-template-columns: 1fr; padding: 20px; }
  .buy { align-items: flex-start; text-align: left; }
  .plan { grid-template-columns: 1fr auto; }
  .plan .btn { grid-column: 1 / -1; }
  .pair { grid-template-columns: 112px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cal, .cal-grid { transition: none; }
  .hotel, .hotel .art.photo img { transition: none; }
}
.hotel .from .price small { display: block; margin-top: 2px; }
.results-head .section-title { font-size: clamp(26px, 3.2vw, 38px); }
.pair { grid-template-columns: 100px 1fr; }
@media (max-width: 640px) {
  .plan { grid-template-columns: 1fr; gap: 10px; }
  .plan-price { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; text-align: left; }
  .plan .btn { grid-column: auto; }
}

/* ---------- modo demostración: franja arriba de todo ---------- */
.demo-bar { position: absolute; inset: 0 0 auto 0; z-index: 6; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; justify-content: center; padding: 8px 16px; background: var(--clay); color: #fff; font-size: 13px; line-height: 1.4; text-align: center; }
.demo-bar a { color: #fff; font-weight: 700; }
body.demo { padding-top: var(--demo-h, 36px); }
body.demo .top { top: var(--demo-h, 36px); }
body.demo.solid .top { top: 0; }
@media (max-width: 640px) { .demo-bar { font-size: 12px; padding: 7px 12px; } }
