/* Casa Azahar — estilos de la plantilla "Un día en la casa". La página va de la mañana a la noche: portada crema,
   el día fijado (capas de color que se cruzan), las llaves al mediodía en blanco cal y azul azulejo, la reserva,
   el libro de huéspedes y Palermo a la tarde en terracota, y cómo llegar y el pie ya de noche, en azul tinta.
   Letra: EB Garamond (texto y versalitas) y Pinyon Script para palabras sueltas en caligrafía. */
:root {
  --crema: #f4ecdb;
  --crema-2: #e9dec6;
  --cal: #f9f7f2;
  --azul: #234f80;
  --azul-o: #1a3d64;
  --azul-p: #dde7f1;
  --terra: #a94c28;
  --terra-p: #ecbd9c;
  --terra-p2: #f4d6bd;
  --tinta: #19223d;
  --tinta-2: #243055;
  --ink: #2a231b;
  --ink-2: #5d5246;
  --limon: #e8b84a;
  --bronce: #d6b064;
  --line: rgba(42, 35, 27, .16);
  --line-c: rgba(244, 236, 219, .2);
  --foco: var(--azul);
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --cali: 'Pinyon Script', 'Snell Roundhand', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(18px, 4.5vw, 64px);
  --hdr: 64px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--crema); color: var(--ink); font: 400 18px/1.55 var(--serif); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 17px; line-height: 1.3; color: var(--ink-2); }
.cali { font-family: var(--cali); font-weight: 400; letter-spacing: 0; line-height: 1; font-style: normal; }
.epi { display: flex; gap: 10px; align-items: baseline; margin-top: 10px; font-style: italic; font-size: 15px; line-height: 1.35; color: var(--ink-2); text-align: left; }
.epi::before { content: ""; flex: none; width: 22px; height: 1px; background: currentColor; transform: translateY(-4px); opacity: .7; }
.arco { overflow: hidden; border-radius: 999px 999px 0 0; background: var(--crema-2); }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.saltar { position: fixed; left: 12px; top: 10px; z-index: 9500; padding: 10px 16px; background: var(--azul); color: var(--cal); border-radius: 999px; transform: translateY(-160%); transition: transform .3s; text-decoration: none; }
.saltar:focus-visible { transform: none; }

/* ---------- botones pill (padding con el retroceso óptico de la punta redonda) ---------- */
.pill {
  --h: 46px; --r: calc(var(--h) / 2); --p: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; block-size: var(--h); border-radius: var(--r);
  padding-inline: calc(var(--p) + var(--r) * (1 - pi / 4)); font: 500 17px/1 var(--serif); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.pill:has(> svg:first-child) { padding-inline-start: calc((var(--h) - 20px) / 2); }
.pill > svg { width: 20px; height: 20px; flex: none; }
.pill:active:not(:disabled) { transform: scale(.98); }
.pill:disabled { opacity: .4; cursor: not-allowed; }
.pill-azul { background: var(--azul); color: var(--cal); }
.pill-azul:hover:not(:disabled) { background: var(--azul-o); }
.pill-linea { border-color: rgba(42, 35, 27, .55); color: var(--ink); }
.pill-linea:hover:not(:disabled) { background: var(--ink); color: var(--cal); border-color: var(--ink); }
.pill-crema { background: var(--crema); color: var(--tinta); }
.pill-crema:hover { background: #fff8ea; }
.pill-wa { border-color: var(--line); color: var(--ink); background: var(--cal); }
.pill-wa svg { color: #1d7a4c; }
.pill-xl { --h: 54px; font-size: 19px; }
.arr { display: inline-block; transition: transform .3s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }
.link-u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-size: 16px; color: inherit; }
.link-u:hover { text-decoration-thickness: 2px; }
/* link externo: ícono con CSS y texto para lectores de pantalla; la última palabra no se separa del ícono */
.ext .nw::after { content: "" / " (abre en una pestaña nueva)"; display: inline-block; inline-size: .7em; block-size: .7em; margin-inline-start: .3em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2h6v6M10 2 3 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2h6v6M10 2 3 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.nw { white-space: nowrap; }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 80; inset: 0 0 auto; height: var(--hdr); display: flex; align-items: center; gap: 22px; padding: 0 var(--pad);
  background: rgba(244, 236, 219, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 21px/1 var(--serif); letter-spacing: .04em; font-variant-caps: small-caps; white-space: nowrap; }
.logo-svg { width: 22px; height: 26px; color: var(--azul); flex: none; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { position: relative; padding: 8px 10px; text-decoration: none; font-size: 17px; color: var(--ink); border-radius: 6px; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--azul); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(.5); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.hdr-hora { font-size: 16px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hdr-cta { --h: 40px; --p: 16px; font-size: 16px; }
.menu-b { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 6px; font-size: 16px; }
.menu-l { position: relative; width: 20px; height: 12px; }
.menu-l i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-l i:first-child { top: 2px; } .menu-l i:last-child { bottom: 2px; }
.menu-open .menu-l i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-l i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { position: fixed; z-index: 79; inset: var(--hdr) 0 auto; max-height: calc(100vh - var(--hdr)); overflow: auto; background: var(--crema); border-bottom: 1px solid var(--line);
  padding: 10px var(--pad) 26px; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .35s, transform .45s var(--ease); }
.menu nav { display: grid; }
.menu nav a { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 30px; line-height: 1.1; }
.menu-pie { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

/* ---------- portada ---------- */
.portada { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--hdr) + clamp(14px, 3vh, 34px)) var(--pad) clamp(16px, 3.4vh, 36px); }
.p-k { margin-bottom: 4px; }
.p-h { display: grid; justify-items: center; line-height: .86; }
.p-cali { position: relative; z-index: 1; font-size: clamp(34px, 4.4vw, 62px); color: var(--terra); transform: translate(-1.3em, .18em) rotate(-5deg); }
.p-nom { font-size: clamp(54px, 8vw, 118px); letter-spacing: -.012em; }
.p-fila { flex: 1; width: 100%; max-width: 1320px; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: end; margin-top: clamp(12px, 2.4vh, 28px); }
.p-fig { margin: 0; }
.p-fig .arco { width: min(42vw, 620px); height: clamp(240px, 50vh, 560px); }
.p-hora { justify-self: end; text-align: right; display: grid; justify-items: end; gap: 4px; padding-bottom: 40px; }
.p-reloj { font-size: clamp(48px, 5.4vw, 80px); line-height: 1; color: var(--azul); font-variant-numeric: lining-nums tabular-nums; }
.p-ahora { max-width: 250px; font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.p-cta { justify-self: start; text-align: left; display: grid; justify-items: start; gap: 14px; padding-bottom: 40px; max-width: 290px; }
.p-nota { font-size: 17px; line-height: 1.45; }
.p-nota b { font-weight: 500; }
.p-fino { font-size: 15px; color: var(--ink-2); }
.p-bajar { margin-top: clamp(10px, 2.4vh, 26px); text-decoration: none; font-size: 17px; color: var(--ink-2); display: inline-flex; align-items: baseline; gap: 6px; }
.p-bajar .cali { font-size: 30px; color: var(--terra); }
/* entrada tranquila: la foto aparece y el nombre sube; sin telón */
html.js:not(.rm) .p-fig .arco { animation: aparece 1.4s var(--ease) both; }
html.js:not(.rm) .p-fig .arco img { animation: acerca 2.4s var(--ease) both; }
html.js:not(.rm) .p-k, html.js:not(.rm) .p-nom { animation: sube .9s var(--ease) both; }
html.js:not(.rm) .p-nom { animation-delay: .12s; }
html.js:not(.rm) .p-hora, html.js:not(.rm) .p-cta, html.js:not(.rm) .p-fig .epi, html.js:not(.rm) .p-bajar { animation: aparece 1s var(--ease) .5s both; }
html.js:not(.rm) .p-cali { animation: sube-cali 1s var(--ease) .2s both; }
@keyframes aparece { from { opacity: 0; } }
@keyframes acerca { from { transform: scale(1.08); } }
@keyframes sube { from { opacity: 0; transform: translateY(18px); } }
@keyframes sube-cali { from { opacity: 0; transform: translate(-1.3em, .5em) rotate(-5deg); } }

/* ---------- el día ---------- */
.dia { position: relative; background: var(--crema); }
/* sin animación (reducir movimiento o antes de que cargue GSAP): los cuatro momentos uno abajo del otro */
.cielo, .reloj-sol { display: none; }
.dia-t { display: grid; justify-items: center; text-align: center; padding: clamp(70px, 10vh, 120px) var(--pad) 10px; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; }
.dia-t .sc { font-size: 17px; margin-bottom: 8px; }
.dia-t .cali { color: var(--terra); font-size: 1.15em; }
.horas { list-style: none; margin: 0; padding: 0; }
.hora { --fondo: var(--crema); --acento: var(--terra); --cali-c: var(--azul); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center;
  padding: clamp(50px, 9vh, 110px) max(var(--pad), (100% - 1240px) / 2); background: var(--fondo); }
.hora-mediodia { --fondo: var(--cal); --acento: var(--azul); }
.hora-tarde { --fondo: var(--terra-p2); --acento: var(--ink); --cali-c: var(--azul-o); }
.hora-noche { --fondo: var(--tinta); --acento: var(--bronce); --cali-c: var(--bronce); color: var(--crema); }
.hora-noche .epi { color: rgba(244, 236, 219, .8); }
.hora:nth-child(even) .h-fig { order: 2; }
.h-fig { margin: 0; }
.h-fig .arco { aspect-ratio: 4 / 4.6; max-height: 72vh; width: 100%; }
.h-txt { display: grid; gap: 12px; max-width: 34em; }
.h-k { color: var(--acento); }
.h-txt h3 { display: grid; gap: 2px; }
.h-w { font-size: clamp(54px, 6.4vw, 104px); color: var(--cali-c); margin-left: -.05em; padding-top: .1em; }
.h-t { font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.h-d { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; }
.h-inc { display: flex; align-items: center; gap: 10px; font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 17px; color: var(--acento); }
.h-inc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

/* con GSAP: la sección queda fija y el día pasa adentro */
.dia.vivo { --aw: min(66vw, 940px); --ah: clamp(120px, 21vh, 220px); --at: calc(var(--hdr) + 3.2vh); }
.dia.vivo .dia-pin { position: relative; height: 100vh; overflow: hidden; }
.dia.vivo .cielo { display: block; position: absolute; inset: 0; background: var(--crema); }
.capa { position: absolute; inset: 0; opacity: 0; }
.capa-cal { background: linear-gradient(180deg, #dfe9f3 0%, var(--cal) 62%); }
.capa-terra { background: linear-gradient(180deg, #e7a27a 0%, var(--terra-p) 45%, var(--terra-p2) 100%); }
.capa-tinta { background: linear-gradient(180deg, #121a31 0%, var(--tinta) 50%, var(--tinta-2) 100%); }
.dia.vivo .reloj-sol { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hud { position: absolute; inset: 0; color: var(--ink); }
.hud-c { color: var(--crema); opacity: 0; }
.arco-sol { position: absolute; left: 50%; top: var(--at); width: var(--aw); height: var(--ah); transform: translateX(-50%); overflow: visible; }
.arco-sol path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 2 7; opacity: .55; }
.hud-reloj { position: absolute; left: 50%; top: calc(var(--at) + var(--ah) - .98em); transform: translateX(-50%); font-size: clamp(50px, 6.4vw, 88px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.horizonte { position: absolute; left: 50%; top: calc(var(--at) + var(--ah)); width: var(--aw); height: 1px; transform: translateX(-50%); background: currentColor; }
.horizonte span { position: absolute; top: 10px; left: calc(var(--x) * 100%); transform: translateX(-50%); font-size: 13px; line-height: 1; font-variant-numeric: lining-nums; opacity: .8; }
.hz-fill { position: absolute; left: 0; top: -1px; width: 100%; height: 3px; border-radius: 2px; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); }
.hud-c .hz-fill { background: var(--limon); }
.sol, .luna { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; }
.sol { background: radial-gradient(circle at 40% 38%, #fff2c2, var(--limon) 62%); box-shadow: 0 0 0 9px rgba(232, 184, 74, .2), 0 0 42px 6px rgba(232, 184, 74, .45); }
.luna { opacity: 0; background: #f6eedc; box-shadow: inset -9px 4px 0 0 var(--tinta), 0 0 30px rgba(246, 238, 220, .25); }
.dia.vivo .dia-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.hud-t { position: absolute; left: var(--pad); top: calc(var(--hdr) + 3vh); display: grid; font-size: 26px; line-height: 1.05; max-width: 15vw; }
.hud-t .sc { font-size: 15px; margin-bottom: 4px; color: inherit; opacity: .78; }
.hud-t .cali { font-size: 1.2em; }
.hud-o .hud-t .cali { color: var(--terra); }
.hud-c .hud-t .cali { color: var(--bronce); }
.dia.vivo .horas { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--at) + var(--ah) + 46px); bottom: clamp(18px, 4vh, 40px); }
.dia.vivo .hora { position: absolute; inset: 0; padding: 0 max(var(--pad), (100% - 1240px) / 2); background: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: 100%; align-items: stretch; }
.dia.vivo .h-fig { order: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.dia.vivo .h-fig .arco { height: 100%; max-height: none; aspect-ratio: auto; width: min(100%, 560px); justify-self: end; }
.dia.vivo .h-fig .epi { justify-self: end; width: min(100%, 560px); }
.dia.vivo .h-txt { align-self: center; }
.dia.vivo .h-hora { display: none; }

/* ---------- las llaves ---------- */
.llaves { background: var(--cal); padding: clamp(80px, 13vh, 150px) 0 clamp(60px, 10vh, 110px); }
.ll-head { display: grid; justify-items: center; text-align: center; gap: 6px; margin-bottom: clamp(36px, 6vh, 64px); }
.ll-head h2 { font-size: clamp(56px, 7.4vw, 110px); line-height: .9; }
.ll-head h2 .cali { font-size: .62em; color: var(--terra); margin-right: .08em; }
.ll-sub { max-width: 34em; font-size: 19px; color: var(--ink-2); margin-top: 6px; }
.ll-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }

.tablero { --foco: var(--limon); position: sticky; top: calc(var(--hdr) + 24px); color: #e8eef5; padding: 24px clamp(14px, 2vw, 26px) 18px; border: 12px solid transparent; border-radius: 6px;
  background: linear-gradient(170deg, #22507f, #1a3e66) padding-box, repeating-conic-gradient(from 45deg, #f3efe6 0 25%, #2c6098 0 50%) border-box 0 0 / 18px 18px;
  box-shadow: 0 30px 60px -30px rgba(26, 61, 100, .55); }
.t-placa { display: block; width: max-content; margin: 0 auto 10px; padding: 3px 16px 5px; border-radius: 3px; background: linear-gradient(180deg, #e7c886, #b48d44); color: #2b1f08; font-size: 16px; letter-spacing: .14em; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.t-riel { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 30px; }
.t-riel::before { content: ""; position: absolute; left: -4px; right: -4px; top: 30px; height: 9px; border-radius: 5px; background: linear-gradient(180deg, #f0d797, #b28b43 60%, #7f6127); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); }
.llave { position: relative; display: flex; flex-direction: column; align-items: center; min-height: clamp(268px, 24vw, 330px); padding: 0 2px 14px; border-radius: 10px; color: var(--bronce); }
.l-num { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); min-width: 26px; padding: 2px 6px; border-radius: 3px; font-size: 15px; line-height: 1.2; font-variant-numeric: lining-nums; color: #e8eef5; transition: background-color .3s, color .3s; }
.l-gancho { position: relative; z-index: 2; width: 6px; height: 18px; margin-top: 2px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #f0d797, #9a7734); box-shadow: 0 2px 2px rgba(0, 0, 0, .35); }
.l-cuelga { position: relative; display: block; margin-top: -9px; transform-origin: 50% 7px; transition: transform .75s cubic-bezier(.3, 1.45, .45, 1); }
.l-svg { position: relative; z-index: 1; display: block; width: clamp(40px, 3.8vw, 56px); height: auto; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .35)); }
.l-llavero { position: absolute; z-index: 0; top: 9px; left: 50%; width: clamp(30px, 2.6vw, 38px); height: clamp(48px, 4.1vw, 60px); margin-left: -2px; transform-origin: 2px 0; transform: rotate(-24deg) translateY(4px);
  display: grid; place-items: end center; padding-bottom: 7px; border-radius: 45% 45% 50% 50% / 30% 30% 70% 70%; background: linear-gradient(165deg, #9b6a3e, #5a3518); box-shadow: 0 5px 6px rgba(0, 0, 0, .35); }
.l-llavero::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1a3e66; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6); }
.l-llavero b { font-weight: 600; font-size: 16px; line-height: 1; color: #f6e7c6; font-variant-numeric: lining-nums; transform: rotate(24deg); }
.l-nom { margin-top: auto; padding-top: 12px; font-size: 15px; line-height: 1.15; text-align: center; color: #e8eef5; border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .3s; }
.llave:hover .l-cuelga, .llave:focus-visible .l-cuelga { animation: hamaca 1.5s ease-in-out; }
.llave.sube .l-cuelga { transform: translateY(-12px) rotate(7deg); transition-duration: .22s; transition-timing-function: ease-out; }
.llave[aria-selected="true"] .l-cuelga { transform: translate(4px, 44px) rotate(-16deg); animation: none; }
.llave[aria-selected="true"] .l-num { background: var(--limon); color: var(--tinta); }
.llave[aria-selected="true"] .l-nom { border-color: var(--limon); }
.llave:focus-visible { outline-offset: 2px; }
@keyframes hamaca { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(8deg); } 45% { transform: rotate(-6deg); } 68% { transform: rotate(3deg); } 85% { transform: rotate(-1deg); } }
.t-pie { margin-top: 10px; text-align: center; font-size: 15px; font-style: italic; color: rgba(232, 238, 245, .85); }

.cuarto { outline: none; }
.puerta { position: relative; aspect-ratio: 1 / .92; overflow: hidden; border-radius: 999px 999px 0 0; background: #2a2219; perspective: 1500px; box-shadow: 0 0 0 10px var(--crema), 0 0 0 11px var(--line); }
.puerta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.puerta img.on { opacity: 1; }
.hoja { position: absolute; top: 0; bottom: 0; width: 50%; backface-visibility: hidden; transition: transform .55s cubic-bezier(.5, 0, .3, 1);
  background:
    linear-gradient(#efe5d1, #efe5d1) 50% 20% / calc(100% - 44px) 32% no-repeat,
    linear-gradient(#efe5d1, #efe5d1) 50% 80% / calc(100% - 44px) 42% no-repeat,
    linear-gradient(rgba(42, 35, 27, .22), rgba(42, 35, 27, .22)) 50% 20% / calc(100% - 40px) calc(32% + 4px) no-repeat,
    linear-gradient(rgba(42, 35, 27, .22), rgba(42, 35, 27, .22)) 50% 80% / calc(100% - 40px) calc(42% + 4px) no-repeat,
    linear-gradient(90deg, #e6d9bf, #f1e8d6 50%, #e6d9bf); }
.hoja-i { left: 0; transform-origin: 0 50%; box-shadow: inset -1px 0 0 rgba(42, 35, 27, .35); }
.hoja-d { right: 0; transform-origin: 100% 50%; }
.puerta.abierta .hoja { transition: transform 1.1s cubic-bezier(.6, .05, .25, 1); }
.puerta.abierta .hoja-i { transform: rotateY(-104deg); }
.puerta.abierta .hoja-d { transform: rotateY(104deg); }
.pomo { position: absolute; right: 12px; top: 56%; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6dc9c, #9a7734); box-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.bocallave { position: absolute; left: 12px; top: 55%; width: 16px; height: 26px; border-radius: 6px; background: radial-gradient(circle at 35% 30%, #f1d48f, #a17d38); box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.bocallave::before { content: ""; position: absolute; left: 5px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #2a2219; }
.bocallave::after { content: ""; position: absolute; left: 6.5px; top: 10px; width: 3px; height: 9px; background: #2a2219; }
.p-cartel { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); padding: 5px 18px 7px; border-radius: 3px; background: linear-gradient(180deg, #e7c886, #b48d44); color: #2b1f08; font-size: 17px; letter-spacing: .12em; white-space: nowrap; box-shadow: 0 2px 0 rgba(0, 0, 0, .2); transition: opacity .3s; }
.cuarto.elegido .p-cartel { opacity: 0; }
.c-infos { margin-top: 30px; }
.c-info { display: grid; gap: 10px; }
.c-info[hidden] { display: none; }
html.js:not(.rm) .c-info.on { animation: sube .7s var(--ease) both; }
.c-nom { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.02; }
.c-nom .cali { display: block; font-size: .74em; color: var(--terra); margin-top: 4px; }
.c-d { font-size: 18px; color: var(--ink-2); max-width: 32em; }
.c-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-tags li { padding: 4px 12px 5px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: #fff; }
.c-pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.c-precio { font-size: 17px; }
.c-precio b { font-weight: 400; font-size: 28px; color: var(--azul); font-variant-numeric: lining-nums; }

/* ---------- reserva ---------- */
.book { background: var(--cal); padding: clamp(50px, 8vh, 90px) 0 clamp(80px, 12vh, 140px); }
.book > .wrap { border-top: 1px solid var(--line); padding-top: clamp(40px, 7vh, 70px); }
.book-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 5vh, 56px); }
.book-head h2 { font-size: clamp(50px, 6.4vw, 96px); line-height: .95; }
.book-head h2 .cali { color: var(--terra); font-size: .8em; }
.promesas { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: min(100%, 330px); }
.promesas li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.promesas b { font-weight: 400; font-size: 26px; color: var(--azul); font-variant-numeric: lining-nums; }
.promesas span { font-size: 16px; color: var(--ink-2); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.bk-step + .bk-step { margin-top: 56px; }
.bk-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ink); }
.bk-n { font-size: 20px; color: var(--terra); font-style: italic; }
.bk-h h3, .sum-h h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1; }
.bk-hint { margin-left: auto; font-size: 16px; font-style: italic; color: var(--ink-2); transition: color .3s; }
.bk-hint.ok { color: var(--azul); }

/* calendario */
.cal { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 16px; }
.cal-nav { position: absolute; right: 16px; top: 14px; display: flex; gap: 6px; z-index: 2; }
.cal-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(42, 35, 27, .45); transition: background-color .25s, color .25s; }
.cal-arrow:hover:not(:disabled) { background: var(--ink); color: var(--cal); }
.cal-arrow:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cal-months.one { grid-template-columns: 1fr; }
.month-t { margin: 4px 0 14px; font-size: 24px; line-height: 1; }
.month-t::first-letter { text-transform: uppercase; }
.month-t span { color: var(--ink-2); font-variant-numeric: lining-nums; }
.wk { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 6px; font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 15px; text-align: center; color: var(--ink-2); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.day { position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: center; border-radius: 8px; transition: background-color .2s, color .2s; }
.day .dn { display: grid; justify-items: center; gap: 3px; line-height: 1; }
.day .dn > span { font-size: 18px; font-variant-numeric: lining-nums tabular-nums; }
.day small { font-size: 11.5px; color: var(--ink-2); font-variant-numeric: lining-nums; }
.day:not(:disabled):not(.empty):hover { background: var(--azul-p); }
.day.empty { pointer-events: none; }
.day.is-past { opacity: .28; cursor: default; }
.day.is-full .dn > span { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--ink-2); }
.day.is-full { cursor: not-allowed; }
.day.is-few::after { content: ""; position: absolute; top: 6px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.day.is-blocked { opacity: .28; cursor: not-allowed; }
.day.is-today .dn > span { border-bottom: 1.5px solid var(--terra); padding-bottom: 1px; }
.day.is-mid, .day.is-hov { background: var(--azul-p); border-radius: 0; }
.day.is-in, .day.is-out { background: var(--azul) !important; color: var(--cal); }
.day.is-in small, .day.is-out small { color: #cfe0f1; }
.day.is-in { border-radius: 999px 0 0 999px; }
.day.is-out { border-radius: 0 999px 999px 0; }
.day.is-in.is-alone { border-radius: 999px; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 11px; height: 11px; display: inline-block; border-radius: 50%; }
.lg-free { border: 1px solid var(--ink); }
.lg-few { background: var(--terra); transform: scale(.6); }
.lg-full { border-radius: 2px; background: linear-gradient(to top right, transparent 45%, var(--ink) 46%, var(--ink) 54%, transparent 55%); border: 1px solid var(--line); }

/* huéspedes */
.guests { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px 32px; align-items: center; margin-top: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.g-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.g-l { display: grid; font-size: 19px; line-height: 1.2; }
.g-l small { font-size: 14px; color: var(--ink-2); font-style: italic; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(42, 35, 27, .45); font-size: 20px; line-height: 1; transition: background-color .25s, color .25s; }
.stepper button:hover:not(:disabled) { background: var(--ink); color: var(--cal); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 30px; text-align: center; font-size: 22px; font-variant-numeric: lining-nums; }
.stepper output.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); color: var(--azul); } }
.cur { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--ink-2); }
.cur span { margin-right: 4px; }
.cur-b { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(42, 35, 27, .45); font-size: 15px; letter-spacing: .06em; color: var(--ink); transition: background-color .25s, color .25s; }
.cur-b.on { background: var(--ink); color: var(--cal); border-color: var(--ink); }

/* habitaciones de la reserva */
.rooms { list-style: none; margin: 0; padding: 0; display: grid; }
.room { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); transition: opacity .4s, background-color .4s; }
.room-img { position: relative; margin: 0; width: 92px; height: 104px; overflow: hidden; border-radius: 999px 999px 0 0; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-n { position: absolute; right: 6px; bottom: 6px; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--crema); color: var(--ink); font-size: 14px; font-variant-numeric: lining-nums; }
.room-body { display: grid; gap: 4px; min-width: 0; }
.room-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--ink-2); }
.room-state { flex-shrink: 0; padding: 2px 10px 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-style: italic; transition: all .3s; }
.room.is-ok .room-state { border-color: var(--azul); color: var(--azul); }
.room.is-last .room-state { background: var(--azul-p); }
.room.is-picked .room-state { background: var(--azul); color: var(--cal); border-color: var(--azul); }
.room.is-na { opacity: .45; }
.room-name { font-size: clamp(22px, 2vw, 28px); line-height: 1.05; }
.room-price { font-size: 15px; color: var(--ink-2); }
.room-price b { font-weight: 400; font-size: 20px; color: var(--ink); font-variant-numeric: lining-nums; }
.room-total { display: block; font-style: italic; color: var(--azul); min-height: 1.2em; }
.room-pick { --h: 42px; --p: 16px; font-size: 16px; }
.room.is-picked .room-pick { background: var(--azul); color: var(--cal); border-color: var(--azul); }
.room.is-picked { background: linear-gradient(90deg, var(--azul-p), transparent 70%); }

/* resumen */
.book-side { position: sticky; top: calc(var(--hdr) + 16px); }
.sum { --foco: var(--limon); background: var(--tinta); color: var(--crema); padding: 26px; border-radius: 16px; max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; scrollbar-width: thin; }
.sum-h { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-c); }
.sum-h .bk-n { color: var(--bronce); }
.sum-h h3 { font-size: 30px; white-space: nowrap; }
.sum-tag { margin-left: auto; padding: 2px 12px 4px; border-radius: 999px; background: var(--bronce); color: var(--tinta); font-size: 15px; }
.sum-empty ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; color: rgba(244, 236, 219, .8); }
.todo { display: flex; align-items: center; gap: 12px; transition: color .3s; }
.todo i { width: 20px; height: 20px; border: 1px solid rgba(244, 236, 219, .55); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: background-color .3s, border-color .3s; }
.todo.done { color: var(--crema); }
.todo.done i { background: var(--bronce); border-color: var(--bronce); }
.todo.done i::after { content: "✓"; font-size: 11px; color: var(--tinta); }
.sum-empty p { margin-top: 20px; color: rgba(244, 236, 219, .8); font-size: 16px; }
.sum-room { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-c); }
.sum-room img { width: 64px; height: 72px; object-fit: cover; border-radius: 999px 999px 0 0; }
.sum-room b { display: block; font-weight: 400; font-size: 23px; line-height: 1.1; margin-bottom: 2px; }
.sum-room span { display: block; font-size: 15px; color: rgba(244, 236, 219, .8); }
.sum-change { font-size: 15px; color: var(--bronce); }
.sum-lines { margin: 14px 0; display: grid; gap: 6px; }
.sum-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.sum-lines dt { color: rgba(244, 236, 219, .8); }
.sum-lines dd { margin: 0; font-variant-numeric: lining-nums; }
.sum-lines .off dd { color: var(--bronce); font-style: italic; }
.extra { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(244, 236, 219, .38); border-radius: 10px; cursor: pointer; transition: border-color .3s; }
.extra:hover { border-color: var(--bronce); }
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.ex-box { width: 20px; height: 20px; border: 1px solid rgba(244, 236, 219, .75); border-radius: 4px; display: grid; place-items: center; transition: background-color .2s; }
.extra input:checked + .ex-box { background: var(--bronce); border-color: var(--bronce); }
.extra input:checked + .ex-box::after { content: "✓"; color: var(--tinta); font-size: 12px; }
.extra input:focus-visible + .ex-box { outline: 2px solid var(--limon); outline-offset: 2px; }
.ex-t { display: grid; font-size: 16px; line-height: 1.3; }
.ex-t small { font-size: 14px; color: rgba(244, 236, 219, .78); font-style: italic; }
.extra b { font-weight: 400; font-size: 17px; font-variant-numeric: lining-nums; }
.perk { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 12px; font-size: 15px; color: var(--bronce); font-style: italic; }
.perk span::before { content: "✓ "; font-style: normal; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-c); }
.sum-total span { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 18px; color: rgba(244, 236, 219, .8); }
.sum-total b { font-weight: 400; font-size: 36px; line-height: 1; font-variant-numeric: lining-nums; }
.sena { margin-top: 12px; padding: 12px 14px; background: rgba(214, 176, 100, .12); border-left: 2px solid var(--bronce); border-radius: 0 8px 8px 0; }
.sena div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; }
.sena b { font-weight: 400; font-size: 26px; line-height: 1; color: var(--bronce); font-variant-numeric: lining-nums; }
.sena small { display: block; margin-top: 4px; font-size: 14.5px; color: rgba(244, 236, 219, .78); }
.vs { margin-top: 16px; padding: 16px 0 4px; border-top: 1px solid var(--line-c); }
.vs-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.vs-h span { font-size: 16px; font-style: italic; color: rgba(244, 236, 219, .88); }
.vs-h b { font-weight: 400; font-size: 28px; line-height: 1; color: var(--limon); font-variant-numeric: lining-nums; }
.vs-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-bars li { display: grid; grid-template-columns: 92px 1fr 84px; gap: 10px; align-items: center; font-size: 15px; }
.vs-bars li > span { color: rgba(244, 236, 219, .8); }
.vs-bars i { height: 7px; border-radius: 4px; background: rgba(244, 236, 219, .1); position: relative; overflow: hidden; }
.vs-bars s { position: absolute; inset: 0; border-radius: 4px; background: rgba(244, 236, 219, .42); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.vs-bars b { text-align: right; font-weight: 400; color: rgba(244, 236, 219, .8); font-variant-numeric: lining-nums; }
.vs-bars .me > span, .vs-bars .me b { color: var(--crema); }
.vs-bars .me s { background: var(--limon); }
.vs-note { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: rgba(244, 236, 219, .78); }
/* formulario: etiqueta e input alineados con subgrid */
.gform { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; margin-top: 16px; }
.fld { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; }
.fld span { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 17px; color: rgba(244, 236, 219, .88); }
.fld input { height: 46px; padding: 0 14px; border: 1px solid rgba(244, 236, 219, .5); border-radius: 10px; background: rgba(244, 236, 219, .06); color: var(--crema); outline: none; transition: border-color .3s, box-shadow .3s; font-size: 17px; min-width: 0; }
.fld input::placeholder { color: rgba(244, 236, 219, .52); }
.fld input:focus-visible { border-color: var(--limon); box-shadow: 0 0 0 2px var(--limon); }
.fld input.err { border-color: #f0a48f; }
.form-err { grid-column: 1 / -1; font-size: 15px; color: #f6b6a2; }
.form-err:empty { display: none; }
.sum-ctas { display: grid; gap: 8px; margin-top: 14px; }
.sum .pill-azul { background: var(--limon); color: var(--tinta); }
.sum .pill-azul:hover { background: #f1c865; }
.sum .pill-wa { background: transparent; color: var(--crema); border-color: rgba(244, 236, 219, .45); }
.sum .pill-wa svg { color: #6fd49f; }
.sum .pill-wa:hover { border-color: #6fd49f; }
.sum-fine { margin-top: 12px; font-size: 14px; line-height: 1.45; color: rgba(244, 236, 219, .75); }

/* ---------- libro de huéspedes ---------- */
.libro { background: var(--terra-p); padding: clamp(80px, 12vh, 140px) 0; }
.lb-head { display: grid; justify-items: center; text-align: center; gap: 4px; margin-bottom: clamp(30px, 5vh, 54px); }
.libro .sc, .palermo .sc { color: #4a3426; }
.lb-head h2 { font-size: clamp(48px, 6.4vw, 96px); line-height: .95; }
.lb-head h2 .cali { color: var(--azul-o); font-size: .84em; }
.tomo { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; margin-inline: auto; }
.tomo::before { content: ""; position: absolute; inset: -14px -14px -18px; border-radius: 10px; background: #5a2e1a; box-shadow: 0 30px 50px -20px rgba(90, 40, 15, .5); }
.pag { position: relative; padding: clamp(26px, 4vw, 54px); min-height: 520px;
  background: repeating-linear-gradient(180deg, transparent 0 33px, rgba(35, 79, 128, .13) 33px 34px) 0 70px / 100% calc(100% - 110px) no-repeat, #fbf5e8; }
.pag-i { border-radius: 6px 0 0 6px; box-shadow: inset -26px 0 30px -24px rgba(90, 40, 15, .35); display: grid; align-content: start; gap: 16px; }
.pag-d { border-radius: 0 6px 6px 0; box-shadow: inset 26px 0 30px -24px rgba(90, 40, 15, .35); display: grid; grid-template-rows: 1fr auto; }
.pag-k { color: var(--terra) !important; }
.pag-t { font-size: 19px; font-style: italic; color: var(--ink-2); max-width: 24em; }
.notas { margin: 0; display: grid; gap: 4px; }
.notas div { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dotted rgba(42, 35, 27, .3); }
.notas dt { color: var(--ink-2) !important; }
.notas dd { margin: 0; font-size: 17px; }
.notas b { font-weight: 400; font-size: 26px; color: var(--azul); font-variant-numeric: lining-nums; }
.pag-fig { margin: 8px 0 0; max-width: 300px; transform: rotate(-2.5deg); background: #fff; padding: 8px 8px 0; box-shadow: 0 8px 18px rgba(42, 35, 27, .18); }
.pag-fig img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.pag-fig .epi { margin: 0; padding: 8px 2px 10px; font-size: 14px; }
.pag-fig .epi::before { display: none; }
.entradas { display: grid; }
.entrada { grid-area: 1 / 1; margin: 0; display: grid; align-content: start; gap: 18px; }
.entrada[hidden] { display: none; }
html.js:not(.rm) .entrada.on { animation: aparece .6s var(--ease) .25s both; }
.ent-f { color: var(--terra) !important; }
.entrada blockquote { margin: 0; }
.entrada blockquote p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.36; font-style: italic; text-wrap: pretty; }
.entrada figcaption { display: grid; gap: 4px; justify-items: end; text-align: right; }
.ent-firma { font-size: clamp(40px, 4vw, 56px); color: var(--azul-o); transform: rotate(-4deg); padding: .1em .1em 0 0; }
.ent-s { font-size: 16px; color: var(--ink-2); }
.pag-ctl { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(42, 35, 27, .2); position: relative; z-index: 4; }
.pag-n { font-size: 15px; color: var(--ink-2); font-variant-numeric: lining-nums; }
.pag-ctl .link-u { padding: 6px 0; }

/* ---------- Palermo a pie ---------- */
.palermo { background: linear-gradient(180deg, var(--terra-p) 0%, var(--terra-p2) 40%, #efe2d0 100%); padding: 0 0 clamp(80px, 12vh, 140px); }
.pa-head { display: grid; justify-items: center; text-align: center; gap: 4px; padding-top: clamp(30px, 6vh, 60px); margin-bottom: clamp(30px, 5vh, 54px); border-top: 1px solid rgba(42, 35, 27, .2); }
.pa-head h2 { font-size: clamp(48px, 6.4vw, 96px); line-height: .95; }
.pa-head h2 .cali { color: var(--azul-o); font-size: .84em; }
.pa-sub { max-width: 32em; font-size: 19px; color: #4a3426; margin-top: 6px; }
.pa-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.pa-t { display: flex; align-items: center; gap: 12px; font-size: 28px; font-style: italic; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.pa-ic { position: relative; flex: none; width: 34px; height: 20px; overflow: hidden; border-bottom: 1.5px solid currentColor; }
.pa-ic::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--limon); }
.pa-ic-manana::before { left: 3px; top: 10px; }
.pa-ic-tarde::before { left: 18px; top: 4px; background: var(--terra); }
.pa-ic-noche::before { left: 10px; top: 2px; background: transparent; box-shadow: inset -4px 2px 0 0 var(--azul-o); }
.pa-lista { list-style: none; margin: 0; padding: 0; }
.pa-lista li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(42, 35, 27, .2); }
.pa-min { display: grid; justify-items: start; align-content: start; line-height: 1; }
.pa-min b { font-weight: 400; font-size: 40px; color: var(--azul-o); font-variant-numeric: lining-nums; }
.pa-min small { margin-top: 4px; font-size: 14px; font-style: italic; color: #4a3426; }
.pa-main { display: grid; gap: 4px; }
.pa-main b { font-weight: 500; font-size: 20px; line-height: 1.2; }
.pa-main span { font-size: 16.5px; line-height: 1.45; color: #4a3426; }

/* ---------- cómo llegar (de noche) ---------- */
.llegar { --foco: var(--limon); background: var(--tinta); color: var(--crema); padding: clamp(80px, 12vh, 140px) 0; }
.llegar .sc { color: rgba(244, 236, 219, .8); }
.lg-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.lg-fig { margin: 0; position: sticky; top: calc(var(--hdr) + 24px); }
.lg-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.lg-fig .epi { color: rgba(244, 236, 219, .78); }
.lg-info { display: grid; gap: 18px; }
.lg-info h2 { font-size: clamp(50px, 6vw, 92px); line-height: .95; }
.lg-info h2 .cali { color: var(--bronce); font-size: .84em; }
.lg-dir { font-size: 20px; max-width: 30em; }
.ways { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ways li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line-c); }
.ways b { font-weight: 400; font-size: 21px; }
.ways small { font-size: 15px; color: rgba(244, 236, 219, .78); font-style: italic; }
.lg-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.faq { margin-top: 10px; border-top: 1px solid var(--line-c); }
.faq details { border-bottom: 1px solid var(--line-c); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--bronce); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: rgba(244, 236, 219, .85); font-size: 17px; max-width: 36em; }

/* ---------- pie ---------- */
.pie { --foco: var(--limon); background: var(--tinta); color: var(--crema); padding: 10px 0 120px; }
.pie > .wrap { border-top: 1px solid var(--line-c); }
.pie .sc { display: block; color: rgba(244, 236, 219, .72); }
.pie-noche { padding-top: clamp(50px, 9vh, 100px); font-size: clamp(64px, 10vw, 150px); color: var(--bronce); text-align: center; }
.pie-t { margin: 18px auto 0; max-width: 30em; text-align: center; font-size: 19px; font-style: italic; color: rgba(244, 236, 219, .86); }
.pie-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 7vh, 70px); padding-top: 24px; border-top: 1px solid var(--line-c); font-size: 17px; }
.pie-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 40px; font-size: 15px; color: rgba(244, 236, 219, .78); }
.pie-bot .logo { color: var(--crema); }
.pie-bot .logo-svg { color: var(--bronce); }

/* entradas con scroll: la foto llega desde el costado y el epígrafe detrás */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lg-fig img, .pag-fig { animation: llega linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .lg-fig .epi { animation: llega-epi linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    .pa-lista li { animation: aparece linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}
@keyframes llega { from { opacity: 0; transform: translateX(-7%); } }
@keyframes llega-epi { from { opacity: 0; transform: translateX(-18px); } }

/* ---------- barra del celular ---------- */
.mbar { --foco: var(--limon); position: fixed; left: 10px; right: 10px; bottom: 70px; z-index: 600; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px;
  background: var(--tinta); color: var(--crema); border-radius: 999px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5); transform: translateY(170%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s; }
.mbar.show { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.mb-txt { display: grid; min-width: 0; }
.mb-txt b { font-weight: 400; font-size: 19px; line-height: 1.15; font-variant-numeric: lining-nums; }
.mb-txt span { font-size: 14px; color: rgba(244, 236, 219, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .pill { --h: 42px; --p: 14px; font-size: 16px; flex-shrink: 0; background: var(--limon); color: var(--tinta); }

/* ---------- hoja de pago ---------- */
.sheet { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.sheet.open { visibility: visible; pointer-events: auto; }
.sheet-bg { position: absolute; inset: 0; background: rgba(25, 34, 61, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.sheet.open .sheet-bg { opacity: 1; }
.sheet-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; background: var(--cal); color: var(--ink); padding: 32px; border-radius: 18px;
  transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .35s; }
.sheet.open .sheet-card { transform: none; opacity: 1; }
.sheet.is-ok .sheet-card { width: min(880px, 100%); }
.sheet-x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(42, 35, 27, .4); background: var(--cal); font-size: 22px; line-height: 1; z-index: 2; }
.sh-view { display: none; }
.sh-view.on { display: block; animation: sube .5s var(--ease); }
.sh-k { display: block; padding-right: 48px; color: var(--terra); }
.sh-t { margin: 6px 0 18px; font-size: 34px; line-height: 1.05; }
.sh-amt { display: grid; gap: 2px; padding: 16px 20px; background: var(--tinta); color: var(--crema); margin-bottom: 14px; border-radius: 12px; }
.sh-amt span { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 17px; color: rgba(244, 236, 219, .8); }
.sh-amt b { font-weight: 400; font-size: 42px; line-height: 1.05; color: var(--limon); font-variant-numeric: lining-nums; }
.sh-amt small { font-size: 15px; color: rgba(244, 236, 219, .8); }
.methods { display: grid; gap: 8px; margin-bottom: 16px; }
.method { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .3s, background-color .3s; }
.method input { accent-color: var(--azul); width: 18px; height: 18px; }
.method:has(input:checked) { border-color: var(--azul); background: var(--azul-p); }
.m-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--crema); font-size: 15px; font-weight: 600; }
.m-t { display: grid; line-height: 1.3; }
.m-t b { font-weight: 500; }
.m-t small { font-size: 15px; color: var(--ink-2); }
.sh-go { width: 100%; }
.sh-fine { margin-top: 12px; font-size: 15px; color: var(--ink-2); text-align: center; font-style: italic; }
.sh-view[data-view="loading"].on { display: grid; justify-items: center; gap: 18px; padding: 50px 0; }
.sh-sol { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff2c2, var(--limon) 62%); box-shadow: 0 0 0 10px rgba(232, 184, 74, .2); animation: late 1.2s ease-in-out infinite; }
@keyframes late { 50% { transform: scale(.82); } }
.sh-load { font-style: italic; color: var(--ink-2); }
.sh-view[data-view="ok"].on { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.voucher { background: var(--tinta); color: var(--crema); padding: 24px; border-radius: 14px; }
.v-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-variant-numeric: lining-nums; }
.v-top .sc { color: var(--bronce); }
.v-hello { margin: 14px 0 18px; font-size: 30px; line-height: 1.1; }
.v-hello .cali { color: var(--limon); font-size: 1.4em; }
.v-rows { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.v-rows div { display: grid; gap: 1px; }
.v-rows dt { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 15px; color: rgba(244, 236, 219, .75); }
.v-rows dd { margin: 0; font-size: 16.5px; font-variant-numeric: lining-nums; }
.v-paid dd { color: var(--limon); }
.v-save { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-c); font-size: 15px; font-style: italic; color: var(--bronce); }
.phone { display: grid; gap: 10px; }
.phone-cap { font-size: 15px; font-style: italic; color: var(--ink-2); }
.phone-body { background: #ece5d8; border: 6px solid var(--tinta); border-radius: 26px; overflow: hidden; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1b2a24; color: #fff; font-family: system-ui, sans-serif; }
.wa-av { width: 32px; height: 32px; border-radius: 50%; background: var(--limon); color: var(--tinta); display: grid; place-items: center; font: 500 16px/1 var(--serif); }
.wa-who { display: grid; }
.wa-who b { font-size: 14px; font-weight: 500; }
.wa-who small { font-size: 11px; opacity: .75; }
.wa-chat { min-height: 200px; max-height: 280px; overflow: auto; padding: 12px; display: grid; align-content: start; gap: 6px; font-family: system-ui, sans-serif; }
.bub { max-width: 86%; padding: 8px 10px 6px; background: #fff; border-radius: 10px 10px 10px 2px; font-size: 13.5px; line-height: 1.4; white-space: pre-line; color: #1d1d1d; justify-self: start; animation: sube .35s var(--ease); }
.bub.me { justify-self: end; background: #d9fdd3; border-radius: 10px 10px 2px 10px; }
.bub time { display: block; text-align: right; font-size: 10px; color: #666; margin-top: 2px; }
.bub.typing { display: flex; gap: 4px; padding: 12px; }
.bub.typing span { width: 6px; height: 6px; border-radius: 50%; background: #999; animation: tipea 1s infinite; }
.bub.typing span:nth-child(2) { animation-delay: .15s; } .bub.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tipea { 50% { transform: translateY(-3px); opacity: .5; } }
.wa-input { display: flex; align-items: flex-end; gap: 8px; padding: 8px; background: #f0ebe2; font-family: system-ui, sans-serif; }
.wa-input span { flex: 1; min-height: 38px; max-height: 120px; overflow: auto; padding: 9px 12px; background: #fff; border-radius: 18px; font-size: 13px; line-height: 1.4; white-space: pre-line; }
.wa-input button { width: 40px; height: 40px; border-radius: 50%; background: #1d7a4c; color: #fff; flex-shrink: 0; }
.wa-input button.pulse { animation: pulso 1.6s infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(29, 122, 76, .5); } 100% { box-shadow: 0 0 0 14px rgba(29, 122, 76, 0); } }
.sh-again { grid-column: 1 / -1; justify-self: center; }

.toast { position: fixed; left: 50%; top: calc(var(--hdr) + 10px); z-index: 9100; transform: translate(-50%, -20px); opacity: 0; background: var(--tinta); color: var(--crema); padding: 12px 20px; border-radius: 999px;
  font-size: 16px; line-height: 1.35; max-width: calc(100% - 24px); width: max-content; text-align: center; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s; }

/* ---------- compu chica / tablet ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-b { display: inline-flex; }
  .hdr-hora { margin-left: auto; }
  .book-grid { grid-template-columns: 1fr; }
  .book-side { position: static; }
  .sum { max-height: none; }
  .guests { grid-template-columns: 1fr 1fr; }
  .cur { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .mbar { display: flex; }
}
@media (max-width: 900px) {
  :root { --hdr: 58px; }
  body { font-size: 17px; }
  .p-fila { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .p-fig { order: -1; width: 100%; }
  .p-fig .arco { width: 100%; height: clamp(200px, 33svh, 320px); }
  .p-hora { justify-self: center; text-align: center; justify-items: center; padding: 0; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; }
  .p-hora .sc { font-size: 16px; }
  .p-reloj { font-size: 34px; }
  .p-ahora { grid-column: 1 / -1; max-width: 30em; font-size: 16px; }
  .p-cta { justify-self: center; justify-items: center; text-align: center; padding: 0; max-width: none; gap: 8px; }
  .p-nota { display: none; }
  .p-fino { font-size: 14.5px; }
  .p-bajar { display: none; }
  .p-cali { transform: translate(-1.1em, .2em) rotate(-5deg); }

  .hora { grid-template-columns: 1fr; gap: 26px; }
  .hora:nth-child(even) .h-fig { order: 0; }
  .h-fig .arco { aspect-ratio: 4 / 3.6; max-height: 56vh; }
  .dia.vivo { --aw: calc(100vw - 2 * var(--pad)); --ah: clamp(80px, 13vh, 120px); --at: calc(var(--hdr) + 2.4vh); }
  .hud-t { display: none; }
  .hud-reloj { font-size: 40px; }
  .horizonte span { font-size: 11.5px; top: 8px; }
  .sol, .luna { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .luna { box-shadow: inset -6px 3px 0 0 var(--tinta); }
  .dia.vivo .horas { top: calc(var(--at) + var(--ah) + 34px); bottom: 12px; }
  .dia.vivo .hora { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 14px; }
  .dia.vivo .h-fig { order: 0; grid-template-rows: auto auto; }
  .dia.vivo .h-fig .arco { width: 100%; height: clamp(150px, 27vh, 280px); justify-self: stretch; }
  .dia.vivo .h-fig .epi { width: 100%; margin-top: 6px; font-size: 14px; }
  .dia.vivo .h-txt { align-self: start; gap: 6px; }
  .dia.vivo .h-w { font-size: 44px; }
  .dia.vivo .h-t { font-size: 20px; }
  .dia.vivo .h-d { font-size: 15.5px; line-height: 1.42; }
  .dia.vivo .h-inc, .dia.vivo .h-k { font-size: 15.5px; }

  .ll-grid { grid-template-columns: 1fr; }
  .tablero { position: relative; top: auto; }
  .lg-grid { grid-template-columns: 1fr; }
  .lg-fig { position: static; max-width: 440px; }
  .tomo { grid-template-columns: 1fr; }
  .pag-i { display: none; }
  .pag-d { border-radius: 6px; box-shadow: none; }
  .pa-cols { grid-template-columns: 1fr; gap: 34px; }
  .sh-view[data-view="ok"].on { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hdr { gap: 12px; }
  .hdr-hora { display: none; }
  .hdr-cta { margin-left: auto; --p: 12px; }
  .menu-t { display: none; }
  .logo { font-size: 19px; }
  .llave { min-height: 214px; }
  .l-svg { width: 32px; }
  .l-llavero { width: 24px; height: 38px; top: 6px; }
  .l-llavero b { font-size: 13px; }
  .l-nom { font-size: 13px; }
  .t-riel { padding-top: 26px; }
  .t-riel::before { top: 26px; }
  .l-num { top: -24px; font-size: 13px; }
  .llave[aria-selected="true"] .l-cuelga { transform: translate(3px, 30px) rotate(-14deg); }
  .tablero { border-width: 9px; padding-inline: 6px; }
  .c-pie .pill { width: 100%; }
  .cal { padding: 16px 12px 12px; }
  .cal-nav { right: 10px; top: 10px; }
  .day .dn > span { font-size: 16px; }
  .day small { font-size: 10.5px; }
  .guests { grid-template-columns: 1fr; }
  .room { grid-template-columns: 70px minmax(0, 1fr); gap: 6px 14px; }
  .room-img { width: 70px; height: 82px; grid-row: span 2; }
  .room-pick { justify-self: start; }
  .sum { padding: 20px 16px; }
  .gform { grid-template-columns: 1fr; }
  .fld { grid-template-columns: 1fr; gap: 4px; }
  .vs-bars li { grid-template-columns: 78px 1fr 76px; font-size: 14px; }
  .ways { grid-template-columns: 1fr; }
  .pie-cols { grid-template-columns: 1fr; }
  .sheet { padding: 0; place-items: end center; }
  .sheet-card { border-radius: 18px 18px 0 0; padding: 26px 18px 20px; max-height: 92dvh; }
  .entrada blockquote p { font-size: 21px; }
  .pag { min-height: 0; padding: 26px 20px; }
}

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
