/* ===== Propuesta 07 · Reserva fácil ===== */
:root {
  --bg: #0c1220;
  --bg2: #111a2e;
  --tx: #eef2f8;
  --mut: rgb(238 242 248 / .7);
  --az: #4c74ff;
  --oro: #f0c27b;
  --banda: rgb(76 116 255 / .34);
  --vidrio: rgb(14 22 42 / .5);
  --linea: rgb(255 255 255 / .16);
  --e: cubic-bezier(.16, 1, .3, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(16px, 4.5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--oro); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.saltar:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--e), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-oro { background: var(--oro); color: var(--bg); box-shadow: 0 10px 30px -10px rgb(240 194 123 / .6); }
.btn-oro:hover { background: #f6d199; }
.btn-vidrio { background: rgb(255 255 255 / .08); border-color: var(--linea); color: var(--tx); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-vidrio:hover { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .3); }
.btn-chico { min-height: 44px; padding: 10px 18px; }
.btn-ancho { width: 100%; }
.ico-wa { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Cabecera ---------- */
.cabeza {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--pad); transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.cabeza.con-fondo { background: rgb(12 18 32 / .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--linea); }
.marca { font: 500 22px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.marca em { color: var(--oro); }
.menu { display: flex; gap: 26px; }
.menu a { text-decoration: none; font-weight: 500; font-size: 14px; color: var(--mut); padding: 10px 0; transition: color .2s; }
.menu a:hover { color: var(--tx); }

/* ---------- Portada ---------- */
.portada { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.portada-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  animation: acercar 2.4s var(--e) both;
}
.portada-velo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(12 18 32 / .82) 0%, rgb(12 18 32 / .45) 48%, rgb(12 18 32 / .2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgb(12 18 32 / 0) 30%),
    linear-gradient(180deg, rgb(12 18 32 / .55) 0%, rgb(12 18 32 / 0) 22%);
}
.portada-in {
  flex: 1; width: 100%; max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 108px var(--pad) 72px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); animation: subir .9s var(--e) both; }
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 0 4px rgb(240 194 123 / .2); animation: latido 2.4s ease-in-out infinite; }
.titular {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.035em;
  font-size: clamp(2.7rem, 5.2vw, 5.6rem); line-height: .94; font-variation-settings: "opsz" 144;
}
.linea { display: block; animation: linea 1.1s var(--e) var(--d, 0s) both; }
.linea-oro em { color: var(--oro); font-weight: 300; }
.lema { max-width: 520px; margin: 24px 0 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--mut); animation: subir 1s var(--e) .5s both; }
.hero-dato { margin: 14px 0 0; font-size: 16px; color: var(--mut); animation: subir 1s var(--e) .55s both; }
.hero-dato strong { color: #fff; font-weight: 700; }
.pasos-mini { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; animation: subir 1s var(--e) .6s both; }
.pasos-mini b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--az); color: #fff; font-size: 12px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: subir 1s var(--e) .7s both; }

/* Tarjetitas flotantes ancladas */
.flota { display: flex; gap: 14px; margin: 56px 0 0; padding: 0; list-style: none; }
.flota-item { position: relative; flex: 0 1 236px; animation: tarjeta 1s var(--e) calc(.9s + var(--i) * .14s) both; }
.flota-item:nth-child(2) { margin-top: -34px; }
.flota-item:nth-child(3) { margin-top: 12px; }
.flota-card {
  display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; text-decoration: none;
  background: rgb(18 26 48 / .38); border: 1px solid rgb(255 255 255 / .22);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 18px 40px -16px rgb(0 0 0 / .6);
  animation: flotar 6s ease-in-out calc(var(--i) * -2s) infinite;
  transition: border-color .2s;
}
.flota-card:hover { border-color: var(--oro); }
.flota-card img { width: 54px; height: 54px; flex: none; border-radius: 12px; object-fit: cover; }
.flota-card strong { display: block; font: 500 16px/1.15 var(--serif); }
.flota-card small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--mut); }
.pin { position: absolute; left: 28px; bottom: 100%; display: flex; flex-direction: column; align-items: center; }
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 0 4px rgb(240 194 123 / .22), 0 0 14px rgb(240 194 123 / .7); animation: latido 2.4s ease-in-out infinite; }
.pin i { width: 1px; height: 26px; background: linear-gradient(var(--oro), rgb(255 255 255 / .5)); transform-origin: top; animation: trazo .7s var(--e) calc(1.3s + var(--i) * .14s) both; }

.bajar { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linea); animation: rebote 2.4s ease-in-out infinite; }
.bajar svg { width: 20px; height: 20px; fill: none; stroke: var(--tx); stroke-width: 1.7; }

/* ---------- Tarjeta de reserva (vidrio) ---------- */
.reserva {
  position: relative; width: 100%; max-width: 660px; padding: 24px;
  border-radius: 30px; border: 1px solid rgb(255 255 255 / .2);
  background: linear-gradient(160deg, rgb(30 44 84 / .58), rgb(12 18 32 / .62));
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 40px 80px -30px rgb(0 0 0 / .7);
  animation: entrarDer 1s var(--e) .4s both;
}
.reserva.destello { animation: destello 1.4s var(--e); }
.reserva-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.reserva-kicker { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); }
.reserva-tit { font: 400 28px/1.1 var(--serif); outline: none; }
.noches { margin: 0; padding: 8px 14px; border-radius: 999px; background: rgb(76 116 255 / .2); border: 1px solid rgb(76 116 255 / .45); font-size: 14px; white-space: nowrap; }
.noches b { font: 600 18px/1 var(--serif); color: var(--oro); }

.fechas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.fecha { padding: 10px 14px; border-radius: 14px; background: rgb(0 0 0 / .28); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.fecha.activa { border-color: rgb(240 194 123 / .55); background: rgb(240 194 123 / .08); }
.fecha span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.fecha strong { display: block; font-weight: 600; font-size: 15px; }

.cal { position: relative; padding: 14px; border-radius: 20px; background: rgb(0 0 0 / .22); }
.cal-flecha { position: absolute; top: 8px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linea); background: rgb(255 255 255 / .06); cursor: pointer; transition: background .2s; }
.cal-flecha:hover:not(:disabled) { background: rgb(255 255 255 / .16); }
.cal-flecha:disabled { opacity: .3; cursor: default; }
.cal-flecha svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal-ant { left: 8px; }
.cal-sig { right: 8px; }
.cal-meses { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 22px; }
.mes-tit { margin: 0 0 10px; height: 34px; display: grid; place-items: center; font: 500 17px/1 var(--serif); }
.mes:first-child .mes-tit { padding-left: 44px; }
.mes:last-child .mes-tit { padding-right: 44px; }
.sem, .dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.sem span { text-align: center; font-size: 11px; font-weight: 700; color: rgb(238 242 248 / .5); padding-bottom: 6px; }
.dias { row-gap: 3px; }
.dia {
  position: relative; z-index: 0; height: 42px; min-width: 0; padding: 0; border: 0; background: none;
  font-size: 14px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums;
}
.dia::before { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 12px; transition: background .15s; }
.dia:hover:not(:disabled)::before { background: rgb(255 255 255 / .12); }
.dia:disabled { color: rgb(238 242 248 / .25); cursor: default; text-decoration: line-through; text-decoration-color: rgb(238 242 248 / .2); }
.dia.hoy::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--oro); }
.dia.rango { background: var(--banda); }
.dia.ini.con-fin { background: linear-gradient(90deg, transparent 50%, var(--banda) 50%); }
.dia.fin { background: linear-gradient(90deg, var(--banda) 50%, transparent 50%); }
.dia.ini, .dia.fin { color: var(--bg); }
.dia.ini::before, .dia.fin::before, .dia.ini:hover::before, .dia.fin:hover::before { background: var(--oro); box-shadow: 0 6px 18px -6px rgb(240 194 123 / .8); }
.dia.ini.hoy::after, .dia.fin.hoy::after { background: var(--bg); }

.res-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.res-lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.contador { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 14px; background: rgb(0 0 0 / .28); }
.contador output { min-width: 32px; text-align: center; font: 600 20px/1 var(--serif); }
.cnt-btn { width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgb(255 255 255 / .1); font-size: 20px; font-weight: 600; cursor: pointer; }
.cnt-btn:hover:not(:disabled) { background: var(--az); }
.cnt-btn:disabled { opacity: .3; cursor: default; }
.aviso { min-height: 1.5em; margin: 14px 0 10px; font-size: 14px; color: var(--mut); }
.aviso.error { color: #ffc2a8; font-weight: 700; font-size: 15px; }
.fecha.falta { border-color: #ffb08a; background: rgb(255 176 138 / .12); animation: falta .5s ease 2; }
@keyframes falta { 50% { box-shadow: 0 0 0 4px rgb(255 176 138 / .35); } }
.res-pie { display: flex; align-items: center; gap: 8px; }
.res-pie .btn { flex: 1; }
.limpiar { flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--mut); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Cinta de fotos ---------- */
.cinta { padding: 28px 0; display: grid; gap: 14px; overflow: hidden; }
.cinta-fila { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta-pista { display: flex; gap: 14px; width: max-content; animation: cinta 70s linear infinite; }
.cinta-reves .cinta-pista { animation-direction: reverse; animation-duration: 80s; }
.cinta-pista img { height: clamp(130px, 17vw, 210px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.cinta-reves .cinta-pista img { aspect-ratio: 3 / 4; height: clamp(150px, 19vw, 240px); }
.cinta:hover .cinta-pista { animation-play-state: paused; }

/* ---------- Secciones ---------- */
.seccion { max-width: 1480px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--pad); }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); }
.sec-tit { font: 400 clamp(2.1rem, 4.6vw, 4rem)/1.02 var(--serif); letter-spacing: -.03em; }
.sec-tit em { color: var(--oro); font-weight: 300; }
.sec-txt { max-width: 560px; margin: 18px 0 0; color: var(--mut); font-size: 17px; }
.sec-cab { margin-bottom: 44px; }
.sec-cab-fila { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Aparición */
.js [data-rev] { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .8s var(--e), transform .8s var(--e); }
.js [data-rev].visto { opacity: 1; transform: none; }

/* ---------- Habitaciones bento ---------- */
.habs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.hab { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--bg2); border: 1px solid var(--linea); min-height: 460px; }
.hab-1 { grid-column: span 2; grid-row: span 2; min-height: 640px; }
.hab-2 { grid-column: span 2; }
.car { position: absolute; inset: 0; }
.car-pista { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-pista::-webkit-scrollbar { display: none; }
.car-pista img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.car::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(12 18 32 / .95) 0%, rgb(12 18 32 / .2) 50%, rgb(12 18 32 / 0) 70%); }
.car-btn { position: absolute; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: rgb(12 18 32 / .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 24px; line-height: 1; cursor: pointer; }
.car-btn:hover { background: var(--az); }
.car-ant { right: 66px; }
.car-sig { right: 16px; }
.car-num { position: absolute; left: 16px; top: 22px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgb(12 18 32 / .55); font-size: 12px; font-weight: 700; }
.hab-info { position: relative; z-index: 1; margin-top: auto; padding: 22px; pointer-events: none; }
.hab-info h3 { font: 400 clamp(1.5rem, 2.2vw, 2.1rem)/1.05 var(--serif); }
.hab-1 .hab-info h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.hab-info p { margin: 6px 0 16px; color: var(--mut); font-size: 15px; }
.hab-btns { display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; }
.hab-3 .hab-btns .btn, .hab-4 .hab-btns .btn { flex: 1 1 100%; }

/* ---------- Amenidades bento ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(108px, auto));
  grid-template-areas:
    "head head foto foto ciego ciego"
    "head head foto foto ciego ciego"
    "pasos pasos foto foto led led"
    "pasos pasos toa fot2 led led"
    "pasos pasos toa fot2 piso piso";
}
.b { position: relative; overflow: hidden; margin: 0; padding: 26px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--linea); }
.b h3 { font: 400 22px/1.15 var(--serif); }
.b p { margin: 8px 0 0; color: var(--mut); font-size: 15px; }
.b-head { grid-area: head; overflow: visible; min-height: 290px; background: none; border: 0; padding: 0 16px 0 0; display: flex; flex-direction: column; justify-content: flex-end; }
.b-foto { padding: 0; }
.b-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoomLento 18s ease-in-out infinite alternate; }
.b-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 18 32 / .9), rgb(12 18 32 / 0) 55%); }
.b-foto figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.b-foto strong { display: block; font: 400 24px/1.1 var(--serif); }
.b-foto span { display: block; margin-top: 4px; color: var(--mut); font-size: 14px; }
.b-foto1 { grid-area: foto; min-height: 360px; }
.b-foto2 { grid-area: fot2; min-height: 200px; }
.b-foto2 img { animation-delay: -9s; }
.b-ciego { grid-area: ciego; background: linear-gradient(160deg, #18244a, #0f1730); display: flex; flex-direction: column; justify-content: flex-end; }
.ventana { position: absolute; top: 22px; right: 22px; width: 92px; height: 110px; border-radius: 10px; border: 3px solid rgb(255 255 255 / .2); overflow: hidden; background: linear-gradient(#ffd9a0, #f0a96b); }
.luna { position: absolute; left: 50%; top: 30%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #fff6df; box-shadow: 0 0 20px #fff1c9; }
.cortina { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #0b1124 0 10px, #141d3a 10px 20px); transform-origin: top; animation: cortina 5s ease-in-out infinite; }
.b-pasos { grid-area: pasos; background: linear-gradient(150deg, rgb(76 116 255 / .28), rgb(17 26 46 / .9) 60%); display: flex; flex-direction: column; gap: 18px; }
.pasos { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; flex: 1; }
.pasos li { display: flex; gap: 14px; align-items: baseline; }
.pasos b { flex: 0 0 52px; font: 300 32px/1 var(--serif); color: var(--oro); }
.pasos strong { display: block; font-weight: 700; }
.pasos span { color: var(--mut); font-size: 15px; }
.pasos span strong { color: var(--tx); }
.b-pasos .btn { align-self: flex-start; }
.b-led { grid-area: led; display: flex; flex-direction: column; justify-content: flex-end; }
.foco { position: absolute; top: 28px; left: 28px; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, #fff3d6 0 30%, var(--oro) 60%, transparent 72%); animation: brillo 3.2s ease-in-out infinite; }
.b-toa { grid-area: toa; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.b-ico { width: 52px; height: 52px; fill: none; stroke: var(--oro); stroke-width: 2; animation: flotar 5s ease-in-out infinite; }
.b-piso { grid-area: piso; background: repeating-linear-gradient(100deg, #1a2440 0 46px, #16203a 46px 92px); }

/* ---------- Espacios ---------- */
.espacios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.esp { position: relative; min-height: 460px; border-radius: 26px; overflow: hidden; border: 1px solid var(--linea); display: flex; flex-direction: column; justify-content: flex-end; }
.esp:nth-child(2) { margin-top: 48px; }
.esp-fotos { position: absolute; inset: 0; }
.esp-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease; }
.esp-fotos img.on { opacity: 1; transform: scale(1); }
.esp-fotos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 18 32 / .92), rgb(12 18 32 / 0) 55%); }
.esp-info { position: relative; padding: 24px; }
.esp-info h3 { font: 400 28px/1.1 var(--serif); }
.esp-info p { margin: 6px 0 0; color: var(--mut); }

/* ---------- Galería ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.gal-item { padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--bg2); }
.gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal-item:nth-child(6) { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--e); }
.gal-item:hover img { transform: scale(1.05); }

.visor { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(6 10 18 / .96); color: var(--tx); }
.visor::backdrop { background: rgb(6 10 18 / .8); }
.visor[open] { display: grid; place-items: center; }
.visor-fig { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 16px 24px; }
.visor-fig img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 12px; }
.visor-fig figcaption { font-size: 14px; color: var(--mut); text-align: center; }
.visor-cerrar, .visor-flecha { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--linea); background: rgb(255 255 255 / .08); font-size: 26px; line-height: 1; cursor: pointer; }
.visor-cerrar { top: 14px; right: 14px; font-size: 20px; }
.visor-flecha { top: 50%; translate: 0 -50%; }
.visor-ant { left: 14px; }
.visor-sig { right: 14px; }
.visor-cerrar:hover, .visor-flecha:hover { background: var(--az); }

/* ---------- Polanco ---------- */
.polanco { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 120px var(--pad); overflow: hidden; isolation: isolate; }
.polanco-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.polanco-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg), rgb(12 18 32 / .2) 40%, rgb(12 18 32 / .1) 70%, var(--bg)); }
.polanco-letrero { position: absolute; left: 0; top: 64px; display: flex; width: max-content; white-space: nowrap; pointer-events: none; font: 300 clamp(4rem, 12vw, 11rem)/1 var(--serif); font-style: italic; color: transparent; -webkit-text-stroke: 1px rgb(240 194 123 / .55); animation: cinta 40s linear infinite; }
.polanco-card { max-width: 520px; padding: 32px; border-radius: 28px; border: 1px solid rgb(255 255 255 / .2); background: rgb(12 18 32 / .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); margin-top: 120px; }
.polanco-card p { color: var(--mut); }
.polanco-card .nota { color: var(--tx); font-weight: 600; }
.ubic { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.ubic-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--linea); background: rgb(255 255 255 / .06); text-decoration: none; transition: background .2s, border-color .2s; }
.ubic-item:hover { background: rgb(255 255 255 / .12); border-color: rgb(240 194 123 / .6); }
.ubic-item strong { display: block; font: 500 19px/1.25 var(--serif); }
.ubic-item small { color: var(--mut); font-size: 13px; }
.ubic-flecha { color: var(--oro); font-size: 20px; transition: transform .2s var(--e); }
.ubic-item:hover .ubic-flecha { transform: translateX(4px); }
.credito { display: block; margin-top: 16px; font-size: 12px; color: rgb(238 242 248 / .55); }

/* ---------- Contacto ---------- */
.contacto { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.tel { display: block; margin: 26px 0 18px; font: 300 clamp(2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--oro); text-decoration: none; }
.form { padding: clamp(20px, 3vw, 34px); border-radius: 28px; background: var(--bg2); border: 1px solid var(--linea); display: grid; gap: 4px; }
.campo label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.opc { color: var(--mut); font-weight: 400; }
.campo input, .campo textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linea); background: rgb(0 0 0 / .25); color: var(--tx); font: inherit; }
.campo textarea { resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--az); box-shadow: 0 0 0 3px rgb(76 116 255 / .3); }
.campo [aria-invalid="true"] { border-color: #ff9f80; }
.error { min-height: 1.4em; margin: 4px 0 6px; font-size: 13px; color: #ffc2a8; }
.miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; min-width: 180px; }
.estado { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; color: var(--mut); }

/* ---------- Pie y flotantes ---------- */
.pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px; padding: 36px var(--pad) 90px; border-top: 1px solid var(--linea); color: var(--mut); font-size: 14px; }
.pie p { margin: 0; }
.pie-marca { font: 400 20px/1 var(--serif); color: var(--tx); }
.pie-marca em { color: var(--oro); }
.pie a { text-decoration: none; }

.wa-flota { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgb(0 0 0 / .6); transition: transform .3s var(--e), opacity .3s; }
.wa-flota svg { width: 30px; height: 30px; fill: currentColor; }
.wa-flota:hover { transform: scale(1.08); }
.wa-flota.oculto { opacity: 0; transform: scale(.6); pointer-events: none; visibility: hidden; }

/* ---------- Animaciones ---------- */
@keyframes acercar { from { transform: scale(1.08); } to { transform: none; } }
@keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes linea { from { opacity: 0; transform: translateY(.5em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-20% -5% -20% -5%); } }
@keyframes entrarDer { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes tarjeta { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes latido { 0%, 100% { box-shadow: 0 0 0 4px rgb(240 194 123 / .22), 0 0 10px rgb(240 194 123 / .5); } 50% { box-shadow: 0 0 0 9px rgb(240 194 123 / 0), 0 0 18px rgb(240 194 123 / .8); } }
@keyframes trazo { from { transform: scaleY(0); } to { transform: none; } }
@keyframes rebote { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes cinta { to { transform: translateX(-50%); } }
@keyframes cortina { 0%, 15% { transform: scaleY(0); } 45%, 75% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes brillo { 0%, 100% { opacity: .7; transform: scale(.92); filter: blur(0); } 50% { opacity: 1; transform: scale(1.08); filter: blur(1px); } }
@keyframes zoomLento { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes destello { 0% { box-shadow: 0 0 0 0 rgb(240 194 123 / .8), 0 40px 80px -30px rgb(0 0 0 / .7); } 100% { box-shadow: 0 0 0 26px rgb(240 194 123 / 0), 0 40px 80px -30px rgb(0 0 0 / .7); } }

/* ---------- Responsivo ---------- */
@media (min-width: 1240px) {
  .portada-in { grid-template-columns: minmax(0, 1fr) minmax(600px, 640px); gap: 48px; padding-top: 92px; padding-bottom: 56px; }
  .reserva { padding: 20px 22px; }
  .reserva-cab { margin-bottom: 12px; }
  .fechas { margin-bottom: 10px; }
  .fecha { padding: 8px 14px; }
  .dia { height: 37px; }
  .mes-tit { margin-bottom: 6px; }
  .res-fila { margin-top: 12px; }
  .aviso { margin: 10px 0 8px; }
}
@media (max-width: 1239px) {
  .reserva { justify-self: center; }
}
@media (max-width: 1080px) {
  .menu { display: none; }
  .habs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hab-1 { grid-column: span 2; grid-row: auto; min-height: 520px; }
  .hab-2 { grid-column: auto; }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none;
    grid-template-areas: "head head" "foto foto" "ciego led" "toa piso" "fot2 fot2" "pasos pasos";
  }
  .b-head { padding: 0 0 8px; min-height: 0; }
  .b-ciego, .b-led { min-height: 260px; }
  .espacios { grid-template-columns: 1fr 1fr; }
  .esp:nth-child(2) { margin-top: 0; }
  .esp:nth-child(3) { grid-column: span 2; }
  .contacto { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .flota { margin: 28px calc(var(--pad) * -1) 0; padding: 4px var(--pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .flota::-webkit-scrollbar { display: none; }
  .flota-item { flex: 0 0 min(250px, 74vw); scroll-snap-align: start; margin-top: 0 !important; }
  .pin { display: none; }
  .flota-card { animation: none; }
  .galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gal-item:nth-child(6) { grid-row: auto; }
}
@media (max-width: 640px) {
  .portada-in { padding-top: 92px; padding-bottom: 80px; gap: 28px; }
  .flota, .pasos-mini, .acciones, .lema { display: none; }
  .portada-in { padding-top: 84px; gap: 20px; }
  .titular { font-size: 2.35rem; line-height: 1; }
  .eyebrow { margin-bottom: 12px; font-size: 12px; }
  .reserva { padding: 16px; border-radius: 24px; }
  .reserva-tit { font-size: 24px; }
  .cal { padding: 10px 6px; }
  .dia { height: 44px; font-size: 15px; }
  .habs, .espacios { grid-template-columns: 1fr; }
  .hab-1, .esp:nth-child(3) { grid-column: auto; }
  .hab, .hab-1 { min-height: 480px; }
  .hab-btns .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "head" "foto" "ciego" "led" "toa" "piso" "fot2" "pasos"; }
  .b-ciego, .b-led { min-height: 220px; }
  .b-foto1 { min-height: 320px; }
  .esp { min-height: 380px; }
  .polanco-card { padding: 22px; }
  .form .btn { justify-self: stretch; }
  .pie { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .visor-flecha { top: auto; bottom: 18px; translate: none; }
  .visor-fig img { max-height: calc(100dvh - 190px); }
}
@media (max-width: 380px) {
  .cabeza .btn-chico { padding: 10px 14px; }
  .marca { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .cinta-fila { overflow-x: auto; }
  .polanco-letrero { display: none; }
}

/* ---------- Integración con la plataforma ---------- */
[hidden] { display: none !important; }
.cabeza-acc { display: flex; align-items: center; gap: 10px; }
@media (max-width: 420px) {
  .cabeza { gap: 10px; }
  .cabeza-acc { gap: 6px; }
  .cabeza-acc .btn-chico { padding: 10px 12px; font-size: 14px; }
}
