/* Umbral · demo ficticia de Alza */
@font-face {
  font-family: Bricolage;
  src: url("../assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --linen: #f2ecdf;
  --linen-2: #e8e0cc;
  --paper: #faf7ef;
  --ink: #262d21;
  --olive: #3c4830;
  --moss: #5d6b49;
  --sage: #8e9a76;
  --sage-pale: #dde2cb;
  --clay: #9c4c2a;
  --clay-soft: #d99a6c;
  --night: #1b201b;
  --night-2: #262d26;
  --candle: #efc47a;
  --rule: #b9b29c;
  --muted: #55574a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: Bricolage, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --max: 1440px;
  --strip: 44px;
  --head: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); }
h1, h2, h3, p, figure, fieldset, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 50; background: var(--ink); color: var(--linen); padding: .9rem 1.1rem; }
.skip:focus { top: 1rem; }
.fine, .fine-inline { font-size: .875rem; line-height: 1.45; color: var(--muted); }
.hint { font-size: .9rem; color: var(--muted); }
fieldset { border: 0; padding: 0; min-width: 0; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .98; }
h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; background: var(--olive); color: var(--linen); text-decoration: none; font-weight: 600; border: 0; border-radius: 999px; transition: background-color .2s var(--ease); }
.btn:hover { background: var(--ink); }
.btn-light { background: var(--linen); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

section { padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: calc(var(--strip) * -1); z-index: 30; }
.demo-strip { height: var(--strip); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter); background: var(--night); color: #e6e1d2; font-size: .875rem; overflow: hidden; }
.demo-strip p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-strip a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--candle); }
.site-head { position: relative; height: var(--head); display: flex; align-items: center; gap: 1.5rem; padding: 0 var(--gutter); background: var(--linen); border-bottom: 1px solid var(--rule); }
.mark { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; flex: none; }
.mark svg { fill: none; stroke: currentColor; stroke-width: 2.2; }
.mark span { font: italic 400 1.65rem/1 var(--serif); letter-spacing: -.02em; }
.site-nav { display: flex; gap: .1rem; margin-left: auto; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .5rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { color: var(--clay); }
.site-nav .nav-book { display: none; }
.head-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; background: var(--olive); color: var(--linen); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; white-space: nowrap; }
.head-cta:hover { background: var(--ink); }
.menu-btn { display: none; align-items: center; gap: .55rem; min-height: 44px; padding: 0 1rem; margin-left: auto; background: transparent; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; }
.menu-icon, .menu-icon::before { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before { content: ""; position: absolute; top: 6px; }
.menu-icon { transform: translateY(-3px); }
.menu-btn[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(-90deg); }

/* ---------- 1 · Llegada: una invitación ---------- */
.arrival { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: stretch; padding-top: clamp(1.5rem, 3.5vw, 3rem); }
.arrival-arch { position: relative; margin: 0; }
.arrival-arch img { width: 100%; height: min(72vh, 660px); min-height: 380px; object-fit: cover; object-position: 62% 50%; border-radius: 999px 999px 0 0; }
.arrival-arch figcaption { margin-top: .5rem; font: italic 1rem/1.3 var(--serif); color: var(--muted); }
.invite { align-self: center; display: grid; justify-items: center; text-align: center; padding: clamp(1.6rem, 3.2vw, 3rem) clamp(1.2rem, 3vw, 3rem); background: var(--paper); border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: -9px; }
.invite h1 { font-size: clamp(2.3rem, 4.3vw, 4.3rem); line-height: 1; letter-spacing: -.03em; max-width: 15ch; }
.invite-sub { max-width: 40ch; margin-top: 1rem; font-size: clamp(1rem, 1.2vw, 1.12rem); }
.arrival-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1.6rem; margin-top: 1.4rem; }
.invite-program { width: min(100%, 25rem); margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.invite-program figcaption { font: italic 1.05rem/1.2 var(--serif); color: var(--clay); margin-bottom: .4rem; }
.invite-program li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .8rem; align-items: baseline; padding: .32rem 0; border-bottom: 1px dotted var(--rule); text-align: left; }
.invite-program time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; }
.invite-program span { font: 400 1.08rem/1.25 var(--serif); }

/* ---------- 2 · Montaje ---------- */
.planner { margin-top: clamp(2rem, 4vw, 3rem); padding-block: clamp(2.5rem, 4.5vw, 4rem); background: var(--sage-pale); background-image: linear-gradient(#c8cfb2 1px, transparent 1px), linear-gradient(90deg, #c8cfb2 1px, transparent 1px); background-size: 48px 48px; }
.planner-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.planner-head h2 { max-width: 16ch; }
.planner-head p { max-width: 42ch; font-size: 1.08rem; }
.planner-grid { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.controls { position: sticky; top: calc(var(--head) + 1rem); display: grid; gap: 1.3rem; padding: 1.3rem; background: var(--paper); border: 1px solid #b7bf9d; }
.controls legend, .guests label { font-weight: 650; font-size: .95rem; margin-bottom: .55rem; padding: 0; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.modes legend { grid-column: 1 / -1; }
.modes button { display: grid; justify-items: start; gap: .3rem; min-height: 72px; padding: .6rem .7rem; text-align: left; background: transparent; border: 1px solid #9aa284; font-size: .95rem; line-height: 1.15; transition: background-color .2s var(--ease), color .2s var(--ease); }
.modes svg { width: 36px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.modes button:hover { background: var(--sage-pale); }
.modes [aria-pressed="true"], .modes [aria-pressed="true"]:hover { background: var(--olive); color: var(--linen); border-color: var(--olive); }
.guests { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.guests label { margin: 0; }
.guests output { font: 400 3.2rem/.9 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.guests input, .guests-scale { grid-column: 1 / -1; }
.guests-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: .3rem 0 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 4px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--clay); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--clay); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--clay); border: 3px solid var(--paper); }
.toggle { position: relative; display: grid; gap: .3rem; }
.toggle input { position: absolute; left: 0; top: 0; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.toggle label { display: flex; align-items: center; gap: .7rem; min-height: 44px; font-weight: 600; }
.switch { position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px; background: #9ea486; transition: background-color .2s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); transition: transform .2s var(--ease); }
.toggle input:checked + label .switch { background: var(--clay); }
.toggle input:checked + label .switch::after { transform: translateX(20px); }
.toggle input:focus-visible + label .switch { outline: 3px solid var(--clay); outline-offset: 3px; }
.toggle input:disabled { cursor: not-allowed; }
.toggle input:disabled + label { color: var(--muted); }
.toggle input:disabled + label .switch { background: repeating-linear-gradient(45deg, #c9cdb8 0 4px, #dde0cf 4px 8px); }
.meter { height: 10px; background: #d9dcc8; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--fill); background: var(--moss); transition: width .3s var(--ease); }
.meter.is-over span { background: var(--clay); width: 100%; }
.capacity p { margin-top: .45rem; font-size: .92rem; font-variant-numeric: tabular-nums; }
.over { padding: .9rem; background: #f6e3d4; border-left: 4px solid var(--clay); font-size: .95rem; }
.over-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.over button { min-height: 44px; padding: .35rem .8rem; background: var(--paper); border: 1px solid var(--clay); border-radius: 999px; color: #7d3b1f; font-weight: 600; font-size: .9rem; }
.over button:hover { background: var(--clay); color: #fff; }

.sheet { min-width: 0; background: var(--paper); border: 1px solid #b7bf9d; padding: clamp(.6rem, 1.4vw, 1.2rem); }
.sheet-frame { position: relative; border: 1px solid #c3c8ad; background: #fbfaf3; }
.plan { display: block; width: 100%; height: auto; font-family: var(--sans); }
.grid-line { fill: none; stroke: #e7e8da; stroke-width: 1; }
.olives circle { fill: #c6cfae; stroke: #7c8a63; stroke-width: 1.2; }
.olives .leaf { fill: #aebc90; stroke: none; }
.olives .trunk { fill: #6b5a3f; stroke: none; }
.mirador path { fill: none; stroke: #a7ae92; stroke-width: 1.2; }
.mirador path:first-child { stroke: #7c8466; stroke-width: 2; }
.sun-mark { fill: var(--clay-soft); }
.sun-rays { stroke: var(--clay-soft) !important; stroke-width: 2.4 !important; stroke-linecap: round; }
.terrace { fill: url(#stone); stroke: #545c45; stroke-width: 3; }
.stone-bg { fill: #ece6d6; }
.stone-line { fill: none; stroke: #ddd5c0; stroke-width: 1; }
.canopy { fill: none; stroke: #c9b99a; stroke-width: 1.4; stroke-dasharray: 2 5; }
.canopy-edge { fill: rgba(255, 252, 240, .35); stroke: #b8a988; stroke-width: 1.2; stroke-dasharray: 8 6; }
.build { fill: url(#hatch); stroke: #545c45; stroke-width: 2; }
.gallery { fill: #e3e2d1; }
.gallery-cols { stroke: #8f927c; stroke-width: 3; stroke-dasharray: 3 14; }
.hatch-line { stroke: #b9bca6; stroke-width: 2; }
.door { stroke: var(--clay); stroke-width: 6; }
.gap { stroke: #fbfaf3; stroke-width: 6; }
.north path { fill: var(--ink); }
.north-ring { fill: none; stroke: #8f927c; }
.plan-tag { font-size: 15px; fill: #3d4533; letter-spacing: .02em; }
.tag-center { text-anchor: middle; }
.tag-small { font-size: 13px; }
.tag-vertical { font-size: 14px; }
.table { fill: #bfa780; stroke: #5b4a30; stroke-width: 1.5; }
.chair rect { fill: #f3efe2; stroke: #4d553f; stroke-width: 1.3; }
.chair path { stroke: #2f3628; stroke-width: 3; }
.high .reach { fill: rgba(141, 153, 115, .16); stroke: #8d9973; stroke-dasharray: 3 3; }
.bench rect { fill: #d6c7a6; stroke: #5b4a30; stroke-width: 1.5; }
.bench path { stroke: #8f7c58; }
.altar path { fill: none; stroke: var(--clay); stroke-width: 4; stroke-linecap: round; }
.pista rect { fill: #e5dccb; stroke: #6c5a3c; stroke-width: 2; }
.pista path { fill: none; stroke: #b9a985; stroke-width: 1.4; }
.pista text { font-size: 15px; fill: #4a3c25; }
.bar-unit rect { fill: #3c4830; }
.bar-unit text { fill: #f2ecdf; }
.route { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.route-service { stroke: var(--clay); stroke-dasharray: 10 7; }
.route-guest { stroke: #3c4830; stroke-dasharray: 1 8; stroke-width: 4; marker-end: url(#arrow-g); }
.arrow-guest { fill: #3c4830; }
#plan-furniture.enter .chair, #plan-furniture.enter .high, #plan-furniture.enter .table { animation: seat-in .3s var(--ease) both; animation-delay: calc(min(var(--i, 0), 40) * 5ms); }
@keyframes seat-in { from { opacity: 0; } to { opacity: 1; } }
.plan-pin { display: none; position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 13px/26px var(--sans); text-align: center; }
.pin-legend { display: none; }

.sheet figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; padding: 1.1rem .3rem .2rem; }
.plan-result { grid-column: 1 / -1; font: 400 clamp(1.45rem, 2.4vw, 2.1rem)/1.05 var(--serif); letter-spacing: -.02em; }
#plan-result-text { max-width: 60ch; }
.plan-stats div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid #d4d6c3; font-size: .95rem; }
.plan-stats dt { color: var(--muted); }
.plan-stats dd { text-align: right; font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; grid-column: 1 / -1; }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { display: inline-block; width: 24px; height: 0; border-top: 3px solid; }
.legend .lg-table { height: 12px; border: 1.5px solid #5b4a30; background: #bfa780; }
.legend .lg-service { border-color: var(--clay); border-top-style: dashed; }
.legend .lg-guest { border-color: var(--olive); border-top-style: dotted; border-top-width: 4px; }
.legend .lg-bar { height: 10px; border: 0; background: var(--olive); }
.legend .lg-pista { height: 14px; border: 1.5px solid #6c5a3c; background: linear-gradient(90deg, transparent 45%, #b9a985 45% 55%, transparent 55%), #e5dccb; }
.legend .lg-altar { width: 12px; height: 16px; border: 3px solid var(--clay); border-bottom: 0; border-radius: 8px 8px 0 0; }
.sheet .fine { grid-column: 1 / -1; }

/* ---------- 3 · Espacios ---------- */
.spaces { padding-block: clamp(3rem, 5vw, 4.5rem); }
.spaces h2 { margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.spaces-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.site-wrap { position: relative; }
.site-plan { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: #dfe3c8; }
.s-slope { fill: #d3d4b4; }
.s-contour { fill: none; stroke: #a9ae88; stroke-width: 1.2; }
.s-road { fill: none; stroke: #f6f1e3; stroke-width: 22; stroke-linecap: round; }
.s-path { fill: none; stroke: #cfc5a9; stroke-width: 7; stroke-dasharray: 9 6; stroke-linecap: round; }
.s-stone { fill: #e7dfca; stroke: #6f7560; stroke-width: 2; }
.s-rail { fill: none; stroke: #4d553f; stroke-width: 2; stroke-dasharray: 2 4; }
.s-wood { fill: #a5875c; }
.s-sun circle { fill: var(--clay-soft); }
.s-sun path { stroke: var(--clay-soft); stroke-width: 3; stroke-linecap: round; }
.s-arrow { fill: none; stroke: var(--clay); stroke-width: 2.5; }
.s-edge { stroke: #4d553f; stroke-width: 2.5; }
.s-linen { fill: rgba(255, 253, 244, .82); stroke: #c6b796; stroke-width: 1; }
.s-table rect { fill: #bfa780; stroke: #5b4a30; }
.s-chairs { stroke: #4d553f; stroke-width: 4; }
.s-olives > g > circle:first-child { fill: #9fae80; stroke: #66744f; stroke-width: 1.2; }
.s-olives .l { fill: #bcc8a0; }
.s-build { fill: #d9d2bd; stroke: #4d553f; stroke-width: 2; }
.s-roof { fill: none; stroke: #8a836c; stroke-width: 1.5; }
.s-door { stroke: var(--clay); stroke-width: 5; }
.s-van rect { fill: #f4f1e7; stroke: #4d553f; stroke-width: 1.5; }
.s-van .w { fill: #9fb0b5; }
.s-gallery { fill: #ebe6d6; stroke: #4d553f; stroke-width: 2; stroke-dasharray: 10 4; }
.s-cols circle { fill: #4d553f; }
.s-tablelong { fill: #bfa780; stroke: #5b4a30; }
.s-park { fill: #d9d5c6; stroke: #8f8a74; }
.s-stalls { stroke: #fbf8ef; stroke-width: 2; }
.s-cars rect { fill: #6d7a86; stroke: #3f4850; }
.s-cars rect:nth-child(2n) { fill: #b9714e; }
.zone { fill: transparent; stroke: transparent; stroke-width: 3; transition: fill .25s, stroke .25s; }
.site-plan[data-on="1"] [data-z="1"], .site-plan[data-on="2"] [data-z="2"], .site-plan[data-on="3"] [data-z="3"], .site-plan[data-on="4"] [data-z="4"], .site-plan[data-on="5"] [data-z="5"], .site-plan[data-on="6"] [data-z="6"] { fill: rgba(156, 76, 42, .1); stroke: var(--clay); stroke-dasharray: 8 5; }
.site-pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); font: 700 1.05rem/1 var(--sans); text-decoration: none; box-shadow: 0 2px 0 rgba(38, 45, 33, .25); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.site-pin:hover { transform: translate(-50%, -50%) scale(1.08); }
.site-pin[aria-current="true"] { background: var(--clay); color: #fff; border-color: var(--clay); }
.site-wrap figcaption { margin-top: .5rem; }
.space-index { border-top: 1px solid var(--ink); }
.space-index li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; padding: .8rem 0; border-bottom: 1px solid var(--rule); transition: background-color .25s; }
.space-index li.is-on { background: linear-gradient(90deg, rgba(156, 76, 42, .09), transparent); }
.space-index button { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: transparent; }
.space-index li.is-on button { background: var(--clay); border-color: var(--clay); color: #fff; }
.space-index .num { font: 700 1.05rem/1 var(--sans); }
.num-static { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); }
.space-index h3 { font-size: 1.4rem; line-height: 1.1; }
.space-index p { margin-top: .2rem; font-size: .98rem; }

/* ---------- 4 · La tarde ---------- */
.dusk { background: var(--night); color: #ece6d6; padding-block: clamp(3rem, 5vw, 4.5rem); }
.dusk-head { display: grid; gap: 1rem; justify-items: start; margin-bottom: 1.6rem; }
.dusk-head h2 { max-width: 22ch; }
.dusk-head p { max-width: 46ch; color: #d3cdbc; }
.seasons { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; border: 1px solid #5d6455; width: fit-content; max-width: 100%; }
.seasons button { min-height: 44px; padding: .4rem 1.1rem; background: transparent; border: 0; border-right: 1px solid #5d6455; color: #e7e1d0; transition: background-color .2s var(--ease); }
.seasons button:last-child { border-right: 0; }
.seasons button:hover { background: var(--night-2); }
.seasons [aria-pressed="true"] { background: var(--candle); color: var(--night); }
.dusk-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.scene-wrap { min-width: 0; }
.scene { display: block; width: 100%; height: auto; aspect-ratio: 800 / 460; object-fit: cover; border-radius: 999px 999px 0 0; }
.scene-read { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.5rem; align-items: baseline; padding: 1rem 0 .4rem; border-bottom: 1px solid #4a5045; }
.clock { display: grid; }
#dusk-clock { font: 400 clamp(2.6rem, 4.6vw, 4rem)/.95 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--candle); }
#dusk-phase { font-size: .95rem; color: #d3cdbc; }
.scene-event strong { display: block; font: 400 1.45rem/1.1 var(--serif); }
.scene-event span { color: #d3cdbc; }
.scrubber { padding-top: .8rem; }
.scrubber label { font-weight: 600; font-size: .95rem; }
.track-wrap { position: relative; }
.ticks { position: absolute; left: 13px; right: 13px; top: 0; height: 100%; pointer-events: none; }
.ticks span { position: absolute; top: 9px; width: 2px; height: 12px; margin-left: -1px; background: #8f927f; }
.ticks span.on { background: var(--candle); width: 4px; margin-left: -2px; height: 22px; top: 4px; box-shadow: 0 0 0 2px var(--night); }
.ticks .sunset-mark { width: 2px; height: 12px; top: 9px; background: var(--clay-soft); }
.dusk input[type="range"]::-webkit-slider-runnable-track { background: #6d7363; height: 2px; }
.dusk input[type="range"]::-moz-range-track { background: #6d7363; height: 2px; }
.dusk input[type="range"]::-webkit-slider-thumb { background: var(--candle); border-color: var(--night); box-shadow: 0 0 0 1px var(--candle); margin-top: -12px; }
.dusk input[type="range"]::-moz-range-thumb { background: var(--candle); border-color: var(--night); }
.dusk :focus-visible { outline-color: var(--candle); }
.sunset-line { margin-top: .8rem; max-width: 64ch; }
.sunset-line strong { color: var(--candle); font-weight: 600; }
.dusk .fine-inline { color: #b4b09f; }
.day { border-top: 1px solid #5d6455; position: sticky; top: calc(var(--head) + 1rem); }
.day li { border-bottom: 1px solid #3d4339; display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: baseline; padding: .55rem .4rem; }
.js .day li { display: block; padding: 0; }
.day button { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: baseline; width: 100%; min-height: 46px; padding: .55rem .4rem; text-align: left; background: transparent; border: 0; color: #e0dac9; transition: background-color .2s var(--ease); }
.day button:hover { background: var(--night-2); }
.day time { font-variant-numeric: tabular-nums; font-size: .95rem; color: #b4b09f; }
.day strong { font: 400 1.15rem/1.2 var(--serif); }
.day li.is-past button { color: #a9a796; }
.day li.is-now button, .day li.is-now:not(:has(button)) { background: #2d342b; color: #fff; box-shadow: inset 3px 0 0 var(--candle); }
.day li.is-now time { color: var(--candle); }

/* ---------- 5 · Presupuesto ---------- */
.budget { padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--linen-2); }
.budget-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .85fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.budget-main h2 { max-width: 18ch; }
.budget-lede { margin-top: .8rem; max-width: 56ch; }
.estimator { display: grid; gap: 1.4rem; margin-top: 1.6rem; }
.kitchen-ledger { width: 100%; border-collapse: collapse; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); }
.kitchen-ledger caption { text-align: left; font: 400 1.4rem var(--serif); padding-bottom: .5rem; }
.kitchen-ledger caption span { font: 400 .875rem var(--sans); color: var(--muted); }
.kitchen-ledger thead th { font-size: .82rem; font-weight: 600; color: var(--muted); text-align: left; padding: .5rem .6rem .4rem 0; border-bottom: 1px solid var(--rule); }
.kitchen-ledger tbody th, .kitchen-ledger td { text-align: left; vertical-align: top; padding: .7rem .7rem .7rem 0; border-bottom: 1px solid #cfc7b0; font-weight: 400; font-size: .95rem; }
.kitchen-ledger td { font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.kitchen-ledger label { position: relative; display: grid; gap: .1rem; padding-left: 0; cursor: pointer; }
.js .kitchen-ledger label { padding-left: 32px; min-height: 44px; }
.kitchen-ledger input { position: absolute; inset: -.7rem 0 -.7rem 0; width: 100%; height: calc(100% + 1.4rem); margin: 0; opacity: 0; cursor: pointer; }
.js .kitchen-ledger label::before { content: ""; position: absolute; left: 0; top: .15rem; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.kitchen-ledger tr.is-on label::before { background: radial-gradient(circle, var(--clay) 0 5px, var(--paper) 6px); border-color: var(--clay); }
.kitchen-ledger tr.is-on { background: rgba(250, 247, 239, .7); }
.kitchen-ledger label:has(input:focus-visible) { outline: 3px solid var(--clay); outline-offset: 2px; }
.k-name { font: italic 400 1.3rem/1.1 var(--serif); }
.kitchen-ledger small { font-size: .82rem; color: var(--muted); }
.k-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-own { font-size: .92rem !important; font-family: var(--sans) !important; color: var(--muted); }
.est-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem 2rem; }
.est-options .extras { grid-column: 1 / -1; }
.estimator legend, .field label, .label-like { display: block; font-weight: 650; font-size: .95rem; margin-bottom: .5rem; padding: 0; }
.estimator legend small { font-weight: 400; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; }
.seg label, .extras label, .slots label { position: relative; cursor: pointer; }
.seg input, .extras input, .slots input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: .35rem .9rem; border: 1px solid #9c967f; margin: 0 -1px -1px 0; background: var(--linen); font-size: .95rem; transition: background-color .2s var(--ease); }
.seg input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.seg input:focus-visible + span, .extras input:focus-visible ~ span { outline: 3px solid var(--clay); outline-offset: 2px; }
.field input, .field select { width: 100%; max-width: 12rem; min-height: 48px; padding: .4rem .8rem; border: 1px solid #8f8a74; background: var(--paper); border-radius: 0; font-size: 1.1rem; }
.field input[aria-invalid="true"] { border: 2px solid var(--clay); }
.field-msg { margin-top: .4rem; font-size: .9rem; font-weight: 600; color: #8a3f1f; }
.field .hint { margin-top: .35rem; }
.extras { display: grid; border-top: 1px solid #9c967f; }
.extras legend { margin-bottom: .5rem; }
.extras label { display: grid; grid-template-columns: 26px 1fr auto; gap: .8rem; align-items: center; min-height: 46px; padding: .2rem 0; border-bottom: 1px solid #c9c1aa; }
.extras label::before { content: ""; width: 22px; height: 22px; border: 1.5px solid var(--ink); background: var(--paper); grid-column: 1; grid-row: 1; }
.extras label:has(input:checked)::before { background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--clay); }
.extras span { grid-column: 2; }
.extras em { font-style: normal; color: #8a3f1f; font-weight: 600; font-size: .88rem; }
.extras small { grid-column: 3; font-variant-numeric: tabular-nums; font-size: .95rem; }

.quote { position: sticky; top: calc(var(--head) + 1rem); padding: clamp(1.2rem, 2.4vw, 2rem); background: var(--paper); border-top: 6px solid var(--olive); }
.quote-flag { display: inline-block; padding: .25rem .6rem; background: var(--clay); color: #fff; font-size: .82rem; font-weight: 650; letter-spacing: .03em; text-transform: uppercase; }
.quote h3 { font: italic 400 clamp(1.7rem, 2.6vw, 2.2rem)/1.05 var(--serif); margin: .8rem 0 1rem; }
.est-flag { margin-bottom: .8rem; padding: .6rem .7rem; background: #f6e3d4; border-left: 4px solid var(--clay); font-size: .92rem; }
.quote table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quote th, .quote td { padding: .5rem 0; border-bottom: 1px dashed #c9c1aa; text-align: left; font-weight: 400; vertical-align: baseline; font-size: .95rem; }
.quote td { text-align: right; white-space: nowrap; padding-left: 1rem; }
.quote tfoot th, .quote tfoot td { border-bottom: 0; padding-block: .3rem; }
.quote tfoot tr:first-child th, .quote tfoot tr:first-child td { border-top: 1px solid var(--ink); padding-top: .7rem; }
.quote .total th, .quote .total td { padding-top: .7rem; border-top: 3px double var(--ink); font: 400 clamp(1.45rem, 2.3vw, 2rem)/1.1 var(--serif); }
.quote-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.1rem 0 .9rem; }
.quote-meta p { display: grid; padding: .7rem; background: var(--linen); }
.quote-meta span { font-size: .85rem; color: var(--muted); }
.quote-meta strong { font: 400 1.35rem var(--serif); font-variant-numeric: tabular-nums; }

/* ---------- 6 · Visitar ---------- */
.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 5vw, 4.5rem); align-items: start; }
.visit-side { position: sticky; top: calc(var(--head) + 1.5rem); }
.visit h2 { max-width: 12ch; margin-bottom: 1.4rem; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 650; font-size: .95rem; }
.facts small { display: block; color: var(--muted); font-size: .85rem; }
.faq h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 54px; padding: .5rem 0; cursor: pointer; font: 400 1.2rem/1.25 var(--serif); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(45deg) translateY(-4px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 0 1rem; max-width: 60ch; }
.faq .fine { margin-top: .8rem; }

/* ---------- 7 · Agendar ---------- */
.book { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--olive); color: var(--linen); align-items: start; }
.book-copy h2 { max-width: 13ch; }
.book-copy p { margin-top: 1rem; max-width: 42ch; color: #e1e1d1; }
.book-copy .sim-note { display: inline-block; padding: .4rem .7rem; border: 1px solid var(--candle); color: var(--candle); font-weight: 600; font-size: .95rem; }
.book-panel { background: var(--night-2); padding: clamp(1.1rem, 2.6vw, 2.2rem); }
.visit-form { display: grid; gap: 1.2rem; }
.visit-form .btn { justify-self: start; }
.visit-form legend, .visit-form .field label, .visit-form .label-like { color: #ece7d7; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.slots legend { grid-column: 1 / -1; font-weight: 650; margin-bottom: .5rem; }
.slots label { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem .6rem; padding: .7rem .9rem; min-height: 60px; border: 1px solid #6a7262; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.slots label:hover { border-color: var(--candle); }
.slot-name { font: 400 1.25rem/1.1 var(--serif); }
.slot-time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--candle); }
.slots small { grid-column: 1 / -1; color: #c9c8b8; font-size: .85rem; }
.slots label:has(input:checked) { background: var(--linen); color: var(--ink); border-color: var(--linen); }
.slots label:has(input:checked) .slot-time { color: var(--clay); }
.slots label:has(input:checked) small { color: #4d5241; }
.slots label:has(input:focus-visible) { outline: 3px solid var(--candle); outline-offset: 2px; }
.book-fields { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; }
.book .field select { background: var(--night); color: var(--linen); border-color: #7a8270; max-width: none; }
.plan-chip p:not(.label-like) { line-height: 1.4; }
.plan-chip a { display: inline-flex; align-items: center; min-height: 44px; color: var(--candle); }
.book :focus-visible { outline-color: var(--candle); }
.error { color: #ffc9a8; font-weight: 600; }
.error a { color: #fff; }
.visit-done { display: grid; gap: .9rem; justify-items: start; }
.visit-done:focus { outline: none; }
.visit-done h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.05; }
.visit-done .fine { color: #cfcdbb; }
.done-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.link-btn { min-height: 44px; background: none; border: 0; text-decoration: underline; text-underline-offset: .22em; color: var(--linen); }
.nojs-book { display: grid; gap: 1rem; justify-items: start; }

/* ---------- 8 · Cierre ---------- */
.closing { padding-block: clamp(2.5rem, 5vw, 4rem) 0; background: var(--linen); }
.closing-arch { margin-inline: auto; max-width: 820px; display: grid; justify-items: center; text-align: center; padding: clamp(5rem, 11vw, 9rem) clamp(1.2rem, 5vw, 4rem) clamp(2.5rem, 4vw, 3.5rem); background: var(--olive); color: var(--linen); border-radius: 999px 999px 0 0; }
.closing h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-style: italic; line-height: .98; max-width: 11ch; }
.closing p { margin-top: 1rem; max-width: 34ch; font-size: 1.1rem; color: #e1e1d1; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.6rem; margin-top: 1.6rem; }
.closing :focus-visible { outline-color: var(--candle); }

/* ---------- Pie ---------- */
.site-foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding: clamp(2.2rem, 4vw, 3.2rem) var(--gutter); background: var(--night); color: #e6e1d2; }
.foot-brand p { margin-top: .8rem; max-width: 38ch; font-size: .95rem; color: #cfcab8; }
.foot-brand strong { color: var(--candle); }
.site-foot nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }
.foot-alza { display: grid; justify-items: start; align-content: start; gap: .6rem; }
.foot-alza a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot :focus-visible { outline-color: var(--candle); }

/* ---------- Barra de resultado (teléfono) ---------- */
.result-bar { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .site-nav a { padding: 0 .5rem; }
  .planner-grid { grid-template-columns: 1fr; }
  .controls { position: static; grid-template-columns: 1.3fr 1fr; align-items: start; }
  .controls .modes { grid-row: span 3; }
  .over { grid-column: 1 / -1; }
  .dusk-grid { grid-template-columns: 1fr; }
  .day { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .spaces-grid { grid-template-columns: 1fr; }
  .space-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .budget-grid { grid-template-columns: 1fr; }
  .quote { position: static; }
}
@media (max-width: 900px) {
  .js .site-head .head-cta { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .4rem var(--gutter) 1rem; background: var(--linen); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(38, 45, 33, .12); }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { min-height: 48px; border-bottom: 1px solid #ddd5c1; font-size: 1.05rem; padding: 0; }
  .js .site-nav a::after { left: 0; right: auto; width: 2rem; }
  .js .site-nav .nav-book { display: inline-flex; border-bottom: 0; margin-top: .6rem; justify-content: center; background: var(--olive); color: var(--linen); border-radius: 999px; }
  html:not(.js) .site-head { height: auto; flex-wrap: wrap; padding-block: .3rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; flex-wrap: wrap; margin: 0; }
  html:not(.js) .site-header { position: static; }
}
@media (max-width: 820px) {
  :root { --head: 56px; }
  html { scroll-padding-bottom: 100px; }
  .arrival { grid-template-columns: 1fr; }
  .arrival-arch img { height: auto; min-height: 0; aspect-ratio: 16 / 9; object-position: 62% 60%; }
  .arrival-arch figcaption { font-size: .9rem; }
  .planner-head, .dusk-head { grid-template-columns: 1fr; }
  .dusk-head h2 { grid-row: auto; }
  .controls { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
  .controls .modes { grid-row: auto; }
  .sheet { margin-inline: calc(var(--gutter) * -1 + .4rem); }
  .sheet figcaption { grid-template-columns: 1fr; }
  .plan .plan-tag { display: none; }
  .plan-pin { display: block; }
  .pin-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .92rem; }
  .pin-legend li { display: inline-flex; align-items: center; gap: .4rem; }
  .pin-legend b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .78rem; }
  .space-index { grid-template-columns: 1fr; }
  .visit, .book { grid-template-columns: 1fr; }
  .visit-side { position: static; }
  .site-foot { grid-template-columns: 1fr; }
  .js .result-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; flex-direction: column; gap: .05rem; padding: .55rem var(--gutter) .65rem; background: var(--night); color: #f2ecdf; border-top: 3px solid var(--candle); box-shadow: 0 -6px 18px rgba(0, 0, 0, .18); }
  .result-bar strong { font: 400 1.12rem/1.2 var(--serif); }
  .result-bar span { font-size: .88rem; color: #d3cdbc; }
  .result-bar.is-warn { border-top-color: var(--clay-soft); }
  .result-bar.is-warn span { color: #ffc9a8; }
  body.has-bar { padding-bottom: var(--bar-h, 90px); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .strip-long { display: none; }
  .mark span { font-size: 1.45rem; }
  .invite { padding: 1.4rem 1rem 1.2rem; outline-offset: -7px; }
  .invite h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .arrival { gap: 1rem; padding-top: 1rem; }
  .arrival-actions .btn { flex: 1 1 auto; }
  .invite-program { margin-top: 1.2rem; }
  .modes button { min-height: 60px; grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: .5rem; }
  .modes svg { width: 28px; height: 22px; }
  .guests output { font-size: 2.6rem; }
  .day { grid-template-columns: 1fr; }
  .scene-read { grid-template-columns: 1fr; }
  .seasons { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .seasons button { padding: .3rem .2rem; font-size: .9rem; }
  .kitchen-ledger thead { display: none; }
  .kitchen-ledger, .kitchen-ledger tbody, .kitchen-ledger tr, .kitchen-ledger th, .kitchen-ledger td { display: block; }
  .kitchen-ledger tr { display: grid; grid-template-columns: 1fr auto; padding: .7rem 0; border-bottom: 1px solid #cfc7b0; }
  .kitchen-ledger tbody th, .kitchen-ledger td { border: 0; padding: 0; }
  .kitchen-ledger td:not(.k-price) { grid-column: 1 / -1; padding-left: 32px; font-size: .95rem; color: #3e4434; }
  .kitchen-ledger td:nth-of-type(2)::before { content: "Fuerte: "; font-family: var(--sans); font-size: .8rem; color: var(--muted); }
  .kitchen-ledger td:nth-of-type(1)::before { content: "Entrada: "; font-family: var(--sans); font-size: .8rem; color: var(--muted); }
  .kitchen-ledger td:nth-of-type(3)::before { content: "Postre: "; font-family: var(--sans); font-size: .8rem; color: var(--muted); }
  .kitchen-ledger td.k-own::before { content: none; }
  .kitchen-ledger .k-price { grid-column: 2; grid-row: 1; font-weight: 600; }
  .kitchen-ledger input { inset: -.7rem -4rem -.7rem 0; }
  .est-options { grid-template-columns: 1fr; }
  .quote-meta { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .slots, .book-fields { grid-template-columns: 1fr; }
  .closing { padding-inline: .6rem; }
  .closing-arch { padding-top: clamp(6rem, 30vw, 8rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
.seg-season { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
.seg-season legend { grid-column: 1 / -1; }
.seg-season span { width: 100%; }
.est-options .seg-season { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .kitchen-ledger caption { display: block; width: 100%; }
  .kitchen-ledger td.k-price::before { content: none !important; }
  .seg-season { grid-template-columns: 1fr 1fr; }
}

/* Sin JavaScript: sin controles, el plano ocupa todo el ancho */
html:not(.js) .planner-grid { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .day { position: static; } }
