/* =========================================================================
   ATELIER ÁUREA — hoja de estilos
   Motivo único: el arco (aureola). Aparece como halo gigante, máscara de fotos,
   anillo 3D, viñetas del catálogo, ticket de reserva y marca del pie.
   Solo se animan transform y opacity.
   ========================================================================= */

:root {
  --ground: #F6F3EE;
  --surface: #ECE7DF;
  --surface-2: #E2DBD0;
  --ink: #151413;
  --muted: #524E48;
  --accent: #B85D3B;
  --accent-ink: #9C4A2C;
  --green: #235C45;
  --green-2: #2F6E54;
  --green-3: #4E866C;
  --green-4: #86AE98;
  --green-5: #C3D6C9;
  --on-dark: #F6F3EE;
  --on-dark-muted: #CFC8BD;

  --f-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-text: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Cinco tamaños, nada más */
  --t-display: clamp(2.4rem, 1rem + 4.6vw, 5.1rem);
  --t-h2: clamp(2.1rem, 1.3rem + 2.6vw, 3.5rem);
  --t-h3: clamp(1.4rem, 1rem + 1vw, 1.85rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;

  --m: clamp(1rem, 4vw, 3.5rem);           /* margen de página */
  --gap-section: clamp(6rem, 12vw, 12rem);
  --max: 90rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --d-press: 140ms;
  --d-ui: 220ms;
  --d-move: 520ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--f-text);
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed; left: var(--m); top: .75rem; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: .75rem 1rem; border-radius: 999px;
  transform: translateY(-200%); transition: transform var(--d-ui) var(--ease-out);
}
.skip:focus { transform: none; }

.display, .h2, .h3 { font-family: var(--f-display); font-weight: 400; font-optical-sizing: auto; }
.display { font-size: var(--t-display); line-height: .98; letter-spacing: -0.03em; font-weight: 380; }
.h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.025em; }
.h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- Arco: la forma de todo ---------- */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--surface); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.6rem;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform var(--d-press) var(--ease-out), opacity var(--d-ui) ease;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn--sm { min-height: 2.75rem; padding: 0 1.15rem; font-size: 1rem; }
.btn--ink { --bg: var(--ink); --fg: var(--on-dark); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--green { --bg: var(--green); --fg: #fff; }
.btn--ghost { --bg: var(--surface); --fg: var(--ink); }
.btn--light { --bg: var(--on-dark); --fg: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn { transition: transform var(--d-press) var(--ease-out), opacity var(--d-ui) ease, background-color var(--d-ui) ease; }
  .btn--ink:hover { --bg: #2A2725; }
  .btn--accent:hover { --bg: #A9522F; }
  .btn--green:hover { --bg: #1C4D39; }
  .btn--ghost:hover { --bg: var(--surface-2); }
}

.link {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  background: none; border: 0; padding: 0;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em;
  text-decoration-color: var(--accent);
}
.inline {
  background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline;
  text-underline-offset: .2em; text-decoration-color: var(--accent); min-height: 1.5rem;
}

.iconbtn {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px;
  border: 0; background: var(--ink); color: var(--on-dark);
  transition: transform var(--d-press) var(--ease-out);
}
.iconbtn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn:active { transform: scale(0.94); }

/* ---------- Barra superior ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: var(--ground); transition: transform var(--d-move) var(--ease-drawer); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__in {
  max-width: var(--max); margin: 0 auto; padding: .75rem var(--m);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 4.5rem;
}
.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -0.02em; min-height: 2.75rem; }
.mark__arch { width: 1rem; height: 1.2rem; fill: var(--accent); }
.bar__nav { display: flex; gap: 1.75rem; margin-left: auto; }
.bar__nav a { text-decoration: none; font-weight: 500; min-height: 2.75rem; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) {
  .bar__nav a { transition: opacity var(--d-ui) ease; }
  .bar__nav a:hover { opacity: .62; }
}
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-small); color: var(--muted); font-weight: 500; }
.status__dot { width: .6rem; height: .7rem; border-radius: 999px 999px 0 0; background: var(--muted); flex: none; }
.status.is-open .status__dot { background: var(--green); }
.status.is-open { color: var(--green); }
.status.is-closed .status__dot { background: var(--accent); }
.status--big { font-size: 1.0625rem; margin: 1.75rem 0 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 4.5rem);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: center;
  padding: clamp(2rem, 5vw, 4rem) var(--m);
  max-width: var(--max); margin: 0 auto;
}
.hero__copy { position: relative; z-index: 1; grid-column: 1 / span 6; padding-left: 4%; }
.hero__copy .display { max-width: 13ch; text-wrap: balance; }
.hero__lead { margin-top: 1.75rem; font-size: 1.1875rem; line-height: 1.5; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero__today { margin-top: 2rem; font-size: var(--t-small); color: var(--muted); }
.hero__figure {
  position: relative; z-index: 1; grid-column: 8 / span 4; grid-row: 1;
  align-self: center; justify-self: center; width: min(100%, 24rem); margin-top: 3rem;
}
/* Identidad sin ocupar media pantalla: un arco cobre del mismo tamaño asoma detrás de la foto */
.hero__back {
  position: absolute; z-index: 0; top: -2.25rem; left: 2.25rem; right: -2.25rem; aspect-ratio: 3 / 4;
  background: var(--accent); border-radius: 999px 999px 0 0;
}
.hero__photo { position: relative; z-index: 1; aspect-ratio: 3 / 4; }
.hero__figure figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem; background: var(--ink); color: var(--on-dark); font-size: var(--t-small); text-align: center;
}

/* Obturador: un velo del color del halo sube y la foto se asienta. Solo transform. */
.shutter .arch { position: relative; }
.shutter .arch::after {
  content: ''; position: absolute; inset: -1px; z-index: 1; background: var(--veil, var(--accent));
  transform: translateY(0); transform-origin: top;
}
.shutter img { transform: scale(1.12); }
.shutter.is-open .arch::after { transform: translateY(-101%); transition: transform 1.15s var(--ease-in-out) .2s; }
.shutter.is-open img { transform: scale(1); transition: transform 1.8s var(--ease-out) .3s; }
.visit__figure { --veil: var(--green); }
html:not(.js) .shutter .arch::after { display: none; }
html:not(.js) .shutter img { transform: none; }

/* ---------- Secciones comunes ---------- */
.zones, .catalog, .rituals, .care, .booking, .faq, .visit, .owner {
  max-width: var(--max); margin: 0 auto; padding: var(--gap-section) var(--m) 0;
}
.zones__intro, .catalog__head, .rituals__head, .care__intro, .booking__head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: end;
}
.zones__intro .h2, .catalog__head .h2, .care__intro .h2, .booking__head .h2 { grid-column: 1 / span 6; max-width: 14ch; }
.zones__intro p, .catalog__head p, .care__intro p, .booking__head p { grid-column: 8 / span 5; font-size: 1.0625rem; max-width: 44ch; }

/* ---------- Explorador 3D ---------- */
.zones { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; row-gap: 3rem; }
.zones__intro { grid-column: 1 / -1; }
.zones__stage { grid-column: 1 / span 7; position: relative; align-self: start; }
.zones__panel { grid-column: 8 / span 5; align-self: center; }

.ring {
  --w: clamp(13rem, 22vw, 19rem);
  --r: calc(var(--w) * 1.7);
  position: relative; height: calc(var(--w) * 1.36 + 7.5rem);
  perspective: 1600px; perspective-origin: 50% 40%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  background: var(--surface); border-radius: 999px 999px 0 0;
  overflow: hidden;
}
.ring.is-dragging { cursor: grabbing; }
.ring__track {
  position: absolute; left: 50%; top: 2rem; width: var(--w); height: calc(var(--w) * 1.36);
  margin-left: calc(var(--w) / -2);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--rot, 0deg));
  transition: transform 900ms var(--ease-out);
}
.ring.is-dragging .ring__track { transition: none; }
.ring__panel {
  position: absolute; inset: 0;
  border-radius: 999px 999px 0 0; overflow: hidden;
  background: var(--ground);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  opacity: .5; transition: opacity 600ms ease;
}
.ring__panel.is-active { opacity: 1; }
.ring__panel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; pointer-events: none; transform: scale(1.1); transition: transform 1100ms var(--ease-out); }
.ring__panel.is-active img { transform: none; }
.ring__panel span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem;
  background: var(--ink); color: var(--on-dark); font-weight: 600; font-size: 1rem; text-align: center;
}
.ring__controls { position: absolute; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .5rem; z-index: 2; }

.zones__tabs { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 2rem; }
.zones__tab {
  text-align: left; background: none; border: 0; padding: .35rem 0;
  font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--muted); min-height: 2.75rem;
  transition: transform var(--d-ui) var(--ease-out);
}
.zones__tab[aria-selected="true"] { color: var(--ink); }
.zones__tab[aria-selected="true"]::before {
  content: ''; display: inline-block; width: .45em; height: .55em; margin-right: .35em;
  background: var(--accent); border-radius: 999px 999px 0 0; vertical-align: .05em;
}
.zones__tab:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .zones__tab:not([aria-selected="true"]):hover { transform: translateX(6px); }
}
.zones__detail { font-size: 1.0625rem; }
.zones__detail .h3 { margin-bottom: .5rem; }
.zones__detail > * { transition: opacity 260ms ease, transform 460ms var(--ease-out); }
.zones__detail > :nth-child(2) { transition-delay: 35ms; }
.zones__detail > :nth-child(3) { transition-delay: 70ms; }
.zones__detail > :nth-child(4) { transition-delay: 105ms; }
.zones__detail > :nth-child(5) { transition-delay: 140ms; }
.zones__detail.is-out > * { opacity: 0; transform: translateX(calc(var(--dx, 18px) * -1)); transition-duration: 160ms, 200ms; transition-delay: 0ms; }
.zones__detail.is-from > * { opacity: 0; transform: translateX(var(--dx, 18px)); transition: none; }
.zone-facts { display: grid; grid-template-columns: 1fr; gap: .9rem; margin: 1.25rem 0 1.5rem; }
.zone-facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; }
.zone-facts dt { font-size: var(--t-small); color: var(--muted); font-weight: 500; }
.zone-facts dd { font-weight: 600; }
.zone-list { display: grid; gap: .25rem; margin-bottom: 1.5rem; }
.zone-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .9rem; background: var(--surface); border-radius: 999px; }
.zone-list li span:last-child { font-weight: 600; white-space: nowrap; }

/* ---------- Catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 3rem 0 0; }
.chip {
  min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 0;
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: 1rem;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.chip .n { margin-left: .4rem; font-weight: 500; opacity: .7; }

.catalog__list { margin-top: 1rem; transition: opacity 180ms ease, transform 240ms var(--ease-out); }
.catalog__list.is-leaving { opacity: 0; transform: translateY(10px); }
.cat-group { padding-top: clamp(3rem, 6vw, 6rem); }
.cat-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 2rem; }
.cat-group__head h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.025em; }
.cat-group__head p { color: var(--muted); font-size: 1rem; }
.cat-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; row-gap: 2.75rem; }

.item { display: grid; grid-template-columns: 5.5rem 1fr; column-gap: 1.4rem; align-items: start; }
.item__thumb { width: 5.5rem; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--surface); }
.item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.item__top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.item__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.item__price { font-weight: 700; font-size: 1.0625rem; white-space: nowrap; }
.item__meta { color: var(--muted); font-size: var(--t-small); font-weight: 500; margin-top: .15rem; }
.item__summary { margin-top: .5rem; max-width: 46ch; }
.item__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .9rem; }
.add {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem 0 .85rem;
  border-radius: 999px; border: 0; background: var(--surface); font-weight: 600; font-size: 1rem;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.add:active { transform: scale(0.96); }
.add__icon { position: relative; width: .9rem; height: .9rem; }
.add__icon::before, .add__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: .9rem; height: 2px; margin: -1px 0 0 -.45rem;
  background: currentColor; border-radius: 2px; transition: transform var(--d-ui) var(--ease-out);
}
.add__icon::after { transform: rotate(90deg); }
.add[aria-pressed="true"] { background: var(--green); color: #fff; }
.add[aria-pressed="true"] .add__icon::before { transform: translate(-1px, 2px) rotate(45deg) scaleX(.5); }
.add[aria-pressed="true"] .add__icon::after { transform: translate(3px, 0) rotate(-45deg) scaleX(.9); }
@media (hover: hover) and (pointer: fine) {
  .add:not([aria-pressed="true"]):hover, .chip:not([aria-pressed="true"]):hover { background: var(--surface-2); }
}
.more summary {
  display: inline-flex; align-items: center; min-height: 2.75rem; cursor: pointer; list-style: none;
  font-weight: 600; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { color: var(--muted); }
.item__more { grid-column: 2; }
.more__body { display: grid; gap: .9rem; padding: 1rem 1.25rem 1.25rem; margin-top: .25rem; background: var(--surface); border-radius: 1.25rem; }
.more__body p { font-size: 1rem; max-width: 60ch; }
.more__body .warn strong { color: var(--accent-ink); }
.more[open] .more__body { animation: rise 320ms var(--ease-out); }

/* ---------- Rituales: tarjetas con perspectiva real ---------- */
.rituals { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; }
.rituals__head { grid-column: 1 / span 3; display: block; align-self: start; }
.rituals__head .h2 { max-width: 9ch; }
.rituals__head p { margin-top: 1.25rem; max-width: 30ch; }
.rituals__grid {
  grid-column: 4 / span 9;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem .75rem;
}
.rit { perspective: 900px; }
.rit__card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; text-align: left;
  border-radius: 999px 999px 0 0; overflow: hidden; background: var(--c, var(--surface));
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 600ms var(--ease-out);
}
.rit:first-child .rit__card { aspect-ratio: 8 / 5; }
.rit__card.is-tracking { transition: transform 120ms linear; }
.rit__card img {
  position: absolute; left: 50%; bottom: 0; height: 80%; width: auto; aspect-ratio: 3 / 4; max-width: none; object-fit: cover;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%) translateZ(30px);
}
.rit__light {
  position: absolute; left: 0; top: 0; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; filter: blur(48px); opacity: 0; pointer-events: none;
  transform: translate(var(--lx, 30%), var(--ly, 10%));
  transition: opacity 400ms ease;
  mix-blend-mode: soft-light;
}
.rit__card.is-tracking .rit__light { opacity: .7; }
.rit__card:active { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(0.98); }
.rit__body { margin-top: 1.1rem; }
.rit__body h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); letter-spacing: -0.01em; }
.rit__meta { font-weight: 600; margin-top: .2rem; }
.rit__body p:not(.rit__meta) { margin-top: .4rem; max-width: 40ch; }
.rit__body .add { margin-top: .9rem; }

/* ---------- Cuidados: acordeón de paneles teñidos ---------- */
.care__intro { margin-bottom: 4rem; }
.accordion { display: flex; gap: 4px; height: 33rem; }
.acc { position: relative; isolation: isolate; flex: 0 0 4.75rem; color: var(--on-dark); overflow: hidden; border-radius: 999px 999px 0 0; background: var(--bg); }
.acc:nth-child(1) { --bg: var(--green); }
.acc:nth-child(2) { --bg: var(--green-2); }
.acc:nth-child(3) { --bg: var(--green-3); }
.acc:nth-child(4) { --bg: var(--green-4); color: var(--ink); }
.acc:nth-child(5) { --bg: var(--green-5); color: var(--ink); }
.js .acc { background: none; }
.acc__bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--bg); transform-origin: 0 0; }
.accordion.is-flipping .acc { overflow: visible; }
.acc.just-closed .acc__tab span { animation: fade 420ms ease 160ms both; }
.acc.is-open { flex: 1 1 auto; border-radius: 14rem 14rem 0 0; }
.acc__tab {
  position: absolute; inset: 0; width: 100%; border: 0; background: none; color: inherit; padding: 0;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.75rem;
}
.acc__tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: 1.1875rem; white-space: nowrap; }
.acc.is-open .acc__tab { display: none; }
.acc__body { position: absolute; inset: 0; padding: clamp(2rem, 4vw, 3.5rem); padding-top: 8rem; display: flex; flex-direction: column; justify-content: space-between; }
.acc__body h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.025em; max-width: 12ch; }
.acc__body p { font-size: 1.0625rem; max-width: 40ch; }
.acc.is-open .acc__body > * { animation: rise 620ms var(--ease-out) 140ms both; }
.acc.is-open .acc__body > p { animation-delay: 230ms; }
@media (hover: hover) and (pointer: fine) {
  .acc:not(.is-open) .acc__tab span { transition: transform var(--d-ui) var(--ease-out); }
  .acc:not(.is-open) .acc__tab:hover span { transform: rotate(180deg) translateY(6px); }
}

/* ---------- Reserva ---------- */
.booking { padding-bottom: 0; }
.booking__grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 1.5rem; margin-top: 3.5rem;
  align-items: start;
}
.wizard { background: var(--surface); border-radius: 2.5rem; padding: clamp(1.25rem, 3vw, 2.75rem); min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 2.25rem; counter-reset: none; }
.steps button {
  width: 100%; min-height: 3.75rem; text-align: left; border: 0; border-radius: 1rem; padding: .55rem .9rem;
  background: var(--ground); color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.25;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.steps button:disabled { color: var(--muted); cursor: default; opacity: .75; }
.steps button[aria-current="step"] { background: var(--ink); color: var(--on-dark); }
.steps button.is-done { background: var(--green); color: #fff; }
.steps button:not(:disabled):active { transform: scale(0.97); }
.steps__n { display: block; font-size: var(--t-small); font-weight: 500; opacity: .85; }

.wizard__form { border: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-entering { animation: stepIn 420ms var(--ease-out); }
.step.is-entering-back { animation: stepBack 420ms var(--ease-out); }
.step__title { font-family: var(--f-display); font-size: var(--t-h3); letter-spacing: -0.01em; padding: 0; }
.step__hint { color: var(--muted); margin-top: .35rem; margin-bottom: 1.5rem; max-width: 56ch; }
.step__error { color: var(--accent-ink); font-weight: 600; margin-top: 1rem; min-height: 1.5rem; }
.step__error:empty { display: none; }

.picklist { display: grid; gap: 1.75rem; }
.pick-group h4 { font-size: var(--t-small); font-weight: 700; color: var(--muted); margin: 0 0 .6rem; }
.pick-group ul { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pick {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem;
  min-height: 3.5rem; padding: .65rem 1rem; border-radius: 1rem; background: var(--ground); cursor: pointer;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.pick:active { transform: scale(0.98); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__box { width: 1.35rem; height: 1.6rem; border-radius: 999px 999px 0 0; background: var(--surface-2); display: grid; place-items: end center; padding-bottom: .2rem; transition: background-color var(--d-ui) ease; }
.pick__box svg { width: .85rem; height: .85rem; fill: none; stroke: #fff; stroke-width: 3; opacity: 0; transform: scale(.6); transition: opacity var(--d-ui) ease, transform var(--d-ui) var(--ease-out); }
.pick input:checked ~ .pick__box { background: var(--green); }
.pick input:checked ~ .pick__box svg { opacity: 1; transform: none; }
.pick input:focus-visible ~ .pick__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.pick__name { font-weight: 600; line-height: 1.3; }
.pick__min { display: block; font-size: var(--t-small); color: var(--muted); font-weight: 500; }
.pick__price { font-weight: 700; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .pick:hover { background: #FBF9F6; } }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.person {
  position: relative; display: grid; grid-template-columns: 2.75rem 1fr; gap: .9rem; align-items: center;
  min-height: 4.75rem; padding: .85rem 1rem; border-radius: 1.25rem; background: var(--ground); cursor: pointer;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.person:active { transform: scale(0.98); }
.person input { position: absolute; opacity: 0; pointer-events: none; }
.person__arch { width: 2.75rem; height: 3.25rem; border-radius: 999px 999px 0 0; background: var(--surface-2); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.25rem; padding-top: .3rem; transition: background-color var(--d-ui) ease, color var(--d-ui) ease; }
.person strong { display: block; line-height: 1.3; }
.person small { display: block; font-size: var(--t-small); color: var(--muted); line-height: 1.35; margin-top: .1rem; }
.person:has(input:checked) { background: var(--ink); color: var(--on-dark); }
.person:has(input:checked) small { color: var(--on-dark-muted); }
.person:has(input:checked) .person__arch { background: var(--accent); color: #fff; }
.person:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.person.is-off { cursor: not-allowed; opacity: .55; }
.person--any { grid-column: 1 / -1; }

.days { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .25rem 1rem; margin: 0 -.25rem; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; }
.day {
  flex: 0 0 4.75rem; scroll-snap-align: start; display: grid; justify-items: center; gap: .1rem;
  padding: .7rem .25rem .8rem; border: 0; border-radius: 999px 999px 1rem 1rem; background: var(--ground);
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.day:active { transform: scale(0.96); }
.day__dow { font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.day__num { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.1; }
.day__mon { font-size: var(--t-small); color: var(--muted); }
.day__tag { font-size: var(--t-small); font-weight: 700; color: var(--accent-ink); line-height: 1.2; text-align: center; min-height: .9rem; }
.day[aria-checked="true"] { background: var(--ink); color: var(--on-dark); }
.day[aria-checked="true"] .day__dow, .day[aria-checked="true"] .day__mon { color: var(--on-dark-muted); }
.day[aria-checked="true"] .day__tag { color: #F1B79E; }
.day:disabled { opacity: .45; cursor: not-allowed; }

.slots { margin-top: 1.25rem; display: grid; gap: 1.25rem; min-height: 8rem; }
.slots h4 { font-size: var(--t-small); color: var(--muted); font-weight: 700; margin: 0 0 .5rem; }
.slots ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .45rem; }
.slot {
  width: 100%; min-height: 3rem; border: 0; border-radius: 999px; background: var(--ground); font-weight: 600;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.slot:active { transform: scale(0.95); }
.slot[aria-pressed="true"] { background: var(--green); color: #fff; }
@media (hover: hover) and (pointer: fine) { .slot:not([aria-pressed="true"]):hover, .day:not([aria-checked="true"]):not(:disabled):hover { background: #FBF9F6; } }
.slots__empty { padding: 1.25rem; background: var(--ground); border-radius: 1.25rem; }
.skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .45rem; }
.skeleton span { height: 3rem; border-radius: 999px; background: var(--ground); animation: pulse 1.1s ease-in-out infinite alternate; }
.skeleton span:nth-child(2n) { animation-delay: .15s; }
.skeleton span:nth-child(3n) { animation-delay: .3s; }
.source { margin-top: 1rem; font-size: var(--t-small); color: var(--muted); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem; font-size: 1rem;
  background: var(--ground); border: 2px solid transparent; border-radius: 1rem;
  transition: border-color var(--d-ui) ease;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--accent); }
.field__error, .check .field__error { color: var(--accent-ink); font-size: var(--t-small); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; }
.check input { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--green); }
.check label { font-size: 1rem; }
.check .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: campo trampa oculto, no es una línea */

.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; }
.wizard__nav [data-next] { margin-left: auto; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.done { animation: stepIn 480ms var(--ease-out); }
.done:focus { outline: none; }
.done p { margin-top: .6rem; max-width: 52ch; }
.done__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.75rem; align-items: center; }

/* Ticket: el cupón de la reserva, con troquel */
.ticket {
  position: sticky; top: 6rem;
  background: var(--ink); color: var(--on-dark); border-radius: 999px 999px 1.75rem 1.75rem;
  padding: 3.25rem 1.75rem 1.75rem; overflow: hidden;
}
.ticket__title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); text-align: center; }
.ticket__code { text-align: center; margin-top: .35rem; font-weight: 700; color: #F1B79E; letter-spacing: .02em; }
.ticket__items { margin-top: 1.25rem; display: grid; gap: .5rem; min-height: 3rem; }
.ticket__items li { display: flex; justify-content: space-between; gap: 1rem; font-size: 1rem; }
.ticket__items li span:last-child { white-space: nowrap; color: var(--on-dark-muted); }
.ticket__items .empty { color: var(--on-dark-muted); }
.ticket__items li.is-new { animation: rise 320ms var(--ease-out); }
.ticket__cut { position: relative; height: 2.5rem; margin: 1rem -1.75rem; }
.ticket__cut::before, .ticket__cut::after {
  content: ''; position: absolute; top: 50%; width: 1.75rem; height: 1.75rem; margin-top: -.875rem; border-radius: 50%;
  background: var(--ground);
}
.ticket__cut::before { left: -.875rem; }
.ticket__cut::after { right: -.875rem; }
.ticket__cut i { position: absolute; left: 1.4rem; right: 1.4rem; top: 50%; margin-top: -2px; border-top: 4px dotted rgba(246, 243, 238, .28); }
.ticket__sum { display: grid; gap: .8rem; }
.ticket__sum div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.ticket__sum dt { color: var(--on-dark-muted); font-size: 1rem; white-space: nowrap; }
.ticket__sum dd { font-weight: 600; text-align: right; }
.ticket__sum div:nth-child(2) dd { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); letter-spacing: -0.02em; }
.ticket__foot { margin-top: 1.5rem; font-size: var(--t-small); color: var(--on-dark-muted); }
.ticket.is-bump [data-sum-price], .ticket.is-bump [data-sum-min] { animation: bump 320ms var(--ease-out); }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; }
.faq__title { grid-column: 1 / span 4; align-self: start; position: sticky; top: 6rem; }
.faq__list { grid-column: 5 / span 8; display: grid; gap: .5rem; }
.faq details { background: var(--surface); border-radius: 1.75rem; transition: background-color var(--d-ui) ease, color var(--d-ui) ease; }
.faq details[open] { background: var(--accent); color: #fff; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 4.5rem; padding: 1rem 1.5rem; font-weight: 600; font-size: 1.1875rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:active { transform: scale(0.995); }
.plus { position: relative; flex: none; width: 1rem; height: 1rem; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 1rem; height: 3px; margin-top: -1.5px; background: currentColor; border-radius: 2px; transition: transform var(--d-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.faq details p { padding: 0 1.5rem 1.5rem; font-size: 1.0625rem; max-width: 56ch; }
.faq details[open] p { animation: rise 320ms var(--ease-out); }

/* ---------- Visita ---------- */
.visit { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: center; padding-bottom: var(--gap-section); }
.visit__figure { grid-column: 1 / span 5; }
.visit__figure .arch { aspect-ratio: 3 / 4; }
.visit__figure { position: relative; }
.visit__figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; background: var(--ink); color: var(--on-dark); font-size: var(--t-small); text-align: center; }
.visit__copy { grid-column: 7 / span 6; }
.visit__lead { margin-top: 1.25rem; font-size: 1.1875rem; max-width: 38ch; }
.hours { border-collapse: collapse; width: 100%; max-width: 30rem; }
.hours th, .hours td { text-align: left; padding: .55rem .9rem; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--surface); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th:first-child { border-radius: 999px 0 0 999px; }
.hours tr.is-today td:last-child { border-radius: 0 999px 999px 0; }
.special { margin-top: 1.25rem; font-size: 1rem; }
.special:empty { display: none; }
.special h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.special li { display: flex; justify-content: space-between; gap: 1rem; max-width: 30rem; padding: .2rem .9rem; }
.visit__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.visit__mail { margin-top: 1.25rem; color: var(--muted); }
.visit__mail a { color: var(--ink); font-weight: 600; }

/* ---------- Pie: la marca construida ---------- */
.foot { background: var(--ink); color: var(--on-dark); padding: clamp(3rem, 6vw, 5rem) var(--m) calc(2rem + env(safe-area-inset-bottom)); }
.foot__mark {
  position: relative; max-width: var(--max); margin: 0 auto; height: 34svh; min-height: 15rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-items: end;
}
.foot__arch { border-radius: 999px 999px 0 0; height: var(--h); }
.foot__arch.a1 { --h: 62%; background: var(--accent); }
.foot__arch.a2 { --h: 100%; background: var(--green); }
.foot__arch.a3 { --h: 78%; background: var(--surface); }
.foot__arch.a4 { --h: 90%; background: var(--accent); }
.foot__arch.a5 { --h: 70%; background: var(--green-3); }
.foot__word {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 72%; pointer-events: none; overflow: visible;
}
.foot__word text { font-family: var(--f-display); font-weight: 400; font-size: 300px; letter-spacing: -0.05em; fill: var(--ink); }
.foot__cols {
  max-width: var(--max); margin: 3.5rem auto 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; row-gap: 2rem;
  font-size: 1rem;
}
.foot__cols nav { grid-column: 1 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.5rem; align-content: start; }
.foot__cols > div:nth-child(2) { grid-column: 6 / span 3; }
.foot__cols > div:nth-child(3) { grid-column: 10 / span 3; }
.foot a, .foot .inline { color: var(--on-dark); }
.foot__cols nav a, .foot__cols p a, .foot__cols .inline { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 500; }
.foot__cols p { line-height: 1.6; }
.foot__cols p + p { margin-top: 1rem; }
.foot__cols p > a, .foot__cols p > .inline { min-height: 2.75rem; }
.foot__last { max-width: var(--max); margin: 3rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--t-small); color: var(--on-dark-muted); }
.studio { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; text-decoration: none; min-height: 2.75rem; color: var(--on-dark-muted); }
.studio__logo { height: .95rem; width: auto; opacity: .85; transform: translateY(.12rem); }
@media (hover: hover) and (pointer: fine) {
  .foot__cols a, .foot .inline, .studio { transition: opacity var(--d-ui) ease; }
  .foot__cols a:hover, .foot .inline:hover, .studio:hover { opacity: .65; }
}

/* ---------- Modo recepción ---------- */
.owner { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 6rem; }
.owner__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.owner__source { color: var(--muted); margin-top: .5rem; }
.owner__tools { display: flex; align-items: end; gap: .75rem; flex-wrap: wrap; }
.owner__date { display: grid; gap: .3rem; font-weight: 600; font-size: 1rem; }
.owner__date input { min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--surface); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 2.5rem; }
.kpis div { background: var(--surface); border-radius: 1.75rem; padding: 1.25rem 1.5rem; }
.kpis div:first-child { background: var(--ink); color: var(--on-dark); }
.kpis div:first-child dt { color: var(--on-dark-muted); }
.kpis dt { font-size: var(--t-small); color: var(--muted); font-weight: 600; }
.kpis dd { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; margin-top: .35rem; }
.kpis small { display: block; font-family: var(--f-text); font-size: var(--t-small); color: inherit; opacity: .8; letter-spacing: 0; }
.owner__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.agenda { margin-top: 1.25rem; display: grid; gap: .5rem; }
.appt {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: center;
  padding: 1.1rem 1.25rem; background: var(--surface); border-radius: 1.5rem;
  transition: opacity var(--d-ui) ease;
}
.appt__time { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.1; }
.appt__time small { display: block; font-family: var(--f-text); font-size: var(--t-small); color: var(--muted); }
.appt__who strong { font-size: 1.0625rem; }
.appt__who p { color: var(--muted); font-size: 1rem; }
.appt__who .note { color: var(--accent-ink); font-weight: 600; }
.appt__state { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.state {
  min-height: 2.75rem; padding: 0 .9rem; border: 0; border-radius: 999px; background: var(--ground); font-size: .875rem; font-weight: 600;
  transition: transform var(--d-press) var(--ease-out), background-color var(--d-ui) ease, color var(--d-ui) ease;
}
.state:active { transform: scale(0.95); }
.state[aria-pressed="true"][data-state="Confirmado"] { background: var(--green); color: #fff; }
.state[aria-pressed="true"][data-state="En cabina"] { background: var(--accent); color: #fff; }
.state[aria-pressed="true"][data-state="Completado"] { background: var(--ink); color: var(--on-dark); }
.state[aria-pressed="true"][data-state="Cancelado"] { background: var(--muted); color: #fff; }
.appt.is-cancelled { opacity: .6; }
.appt.is-cancelled .appt__who strong { text-decoration: line-through; }
.agenda__empty { padding: 2rem; background: var(--surface); border-radius: 1.75rem; }
.owner__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 3rem; }
.owner__foot .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- Barra inferior móvil ---------- */
.dock {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 50;
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .6rem .6rem 1.25rem; border-radius: 999px;
  background: var(--ink); color: var(--on-dark);
  box-shadow: 0 12px 32px rgba(21, 20, 19, .28); /* taste-skill-ignore: elemento flotante */
  transform: translateY(calc(100% + 2rem)); opacity: 0;
  transition: transform 420ms var(--ease-drawer), opacity 260ms ease;
}
.dock.is-visible { transform: none; opacity: 1; }
.dock__sum { min-width: 0; display: grid; line-height: 1.25; }
.dock__sum strong { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__sum span { font-size: var(--t-small); color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Diálogos ---------- */
.sheet {
  width: min(40rem, calc(100% - 2rem)); max-height: min(85svh, 48rem); padding: 0; border: 0; border-radius: 2rem;
  background: var(--ground); color: var(--ink);
  box-shadow: 0 24px 64px rgba(21, 20, 19, .25); /* taste-skill-ignore: diálogo */
}
.sheet {
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity 200ms ease, transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
.sheet[open] { opacity: 1; transform: none; transition-duration: 260ms, 380ms, 380ms, 380ms; }
@starting-style { .sheet[open] { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet::backdrop { background: rgba(21, 20, 19, .5); opacity: 0; transition: opacity 200ms ease, overlay 200ms allow-discrete, display 200ms allow-discrete; }
.sheet[open]::backdrop { opacity: 1; transition-duration: 300ms; }
@starting-style { .sheet[open]::backdrop { opacity: 0; } }
.sheet__in { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }
.sheet__in p { font-size: 1rem; }
.sheet__in .btn { justify-self: start; margin-top: .5rem; }
.sheet__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.credits { display: grid; gap: .75rem; font-size: 1rem; }
.credits a { font-weight: 600; }

/* ---------- Aviso flotante ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(6rem + env(safe-area-inset-bottom)); z-index: 70;
  max-width: calc(100% - 2rem); padding: .9rem 1.25rem; border-radius: 999px;
  background: var(--ink); color: var(--on-dark); font-weight: 600; font-size: 1rem;
  box-shadow: 0 12px 32px rgba(21, 20, 19, .25); /* taste-skill-ignore: elemento flotante */
  transform: translate(-50%, 1.5rem); opacity: 0; pointer-events: none;
  transition: transform 320ms var(--ease-out), opacity 200ms ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.noscript { margin-top: 2rem; padding: 1.25rem; background: var(--surface); border-radius: 1.25rem; }

/* ---------- Entradas al hacer scroll ---------- */
.js [data-reveal] > *, .js [data-reveal-item] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in > *, .js [data-reveal-item].is-in {
  opacity: 1; transform: none;
  transition: opacity 800ms ease, transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
/* Titulares: cada palabra sube desde detrás de su propia línea */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .03em .18em; margin: -.1em -.03em -.18em; }
.split .w > span { display: inline-block; }
.js .split .w > span { opacity: 0; transform: translateY(112%); }
.js .split.is-in .w > span { opacity: 1; transform: none; transition: opacity 500ms ease, transform 1050ms var(--ease-out); transition-delay: calc(var(--d0, 0ms) + var(--wi, 0) * 45ms); }
.js [data-reveal] > .split, .js .hero__copy > .split { opacity: 1; transform: none; animation: none; }
.hero .split { --d0: 140ms; }
/* Fotos: suben dentro de su arco o se asientan en su marco */
.js .rit[data-reveal-item] .rit__card img { opacity: 0; transform: translateX(-50%) translateY(16%) translateZ(30px); }
.js .rit[data-reveal-item].is-in .rit__card img {
  opacity: 1; transform: translateX(-50%) translateZ(30px);
  transition: opacity 700ms ease, transform 1300ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 220ms);
}
.js .item[data-reveal-item] .item__thumb img { transform: scale(1.2); }
.js .item[data-reveal-item].is-in .item__thumb img { transform: none; transition: transform 1400ms var(--ease-out) calc(var(--i, 0) * 80ms); }
@media (hover: hover) and (pointer: fine) {
  .js .item.is-in:hover .item__thumb img { transform: scale(1.08); transition-duration: 700ms; transition-delay: 0ms; }
}
.js .hero__copy > * { opacity: 0; transform: translateY(20px); animation: rise 1000ms var(--ease-out) forwards; }
.js .hero__copy > *:nth-child(2) { animation-delay: 480ms; }
.js .hero__copy > *:nth-child(3) { animation-delay: 580ms; }
.js .hero__copy > *:nth-child(4) { animation-delay: 680ms; }
.js .hero__back { animation: haloIn 1.4s var(--ease-out) both; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes haloIn { from { opacity: 0; transform: translateY(6%) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { from { opacity: .45; } to { opacity: 1; } }
@keyframes bump { 0% { transform: translateY(0); } 40% { transform: translateY(-4px); } 100% { transform: none; } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .status { margin-left: auto; }
  .rituals__head { grid-column: 1 / -1; position: static; margin-bottom: 2.5rem; }
  .rituals__head .h2 { max-width: 14ch; }
  .rituals__grid { grid-column: 1 / -1; }
  .booking__grid { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; max-width: 34rem; }
  .kpis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-top: 2rem; padding-bottom: 0; }
  .hero__copy { grid-column: 1; padding-left: 0; }
  .hero__copy .display { max-width: none; }
  .hero__lead { font-size: 1.0625rem; margin-top: 1.25rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__today { margin-top: 1.25rem; }
  .hero__figure { width: 60vw; max-width: 19rem; align-self: center; margin: 1rem 0 2.5rem; padding-top: 3.5rem; }
  .hero__back { top: 2rem; left: 1.5rem; right: -1.5rem; }
  .hero__figure figcaption { font-size: var(--t-small); padding: .65rem .75rem; }

  .zones__intro, .catalog__head, .care__intro, .booking__head { grid-template-columns: 1fr; row-gap: 1rem; }
  .zones__intro .h2, .catalog__head .h2, .care__intro .h2, .booking__head .h2,
  .zones__intro p, .catalog__head p, .care__intro p, .booking__head p { grid-column: 1; }
  .zones { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .zones__stage, .zones__panel { grid-column: 1; }
  .ring { --w: min(15rem, 58vw); }
  .zones__tabs { flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
  .zones__tab { font-family: var(--f-text); font-size: 1rem; font-weight: 600; letter-spacing: 0; padding: 0 1rem; border-radius: 999px; background: var(--surface); color: var(--ink); }
  .zones__tab[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
  .zones__tab[aria-selected="true"]::before { display: none; }
  .zone-facts div { grid-template-columns: 1fr; gap: .1rem; }

  .filters { margin-top: 2rem; }
  .cat-items { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .item { grid-template-columns: 4.25rem 1fr; column-gap: 1rem; }
  .item__thumb { width: 4.25rem; }
  .item__more { grid-column: 1 / -1; }

  .rituals__grid { grid-template-columns: 1fr 1fr; gap: 2rem .5rem; }
  .rit:first-child { grid-column: 1 / -1; }
  .rit:first-child .rit__card { aspect-ratio: 8 / 5; }

  .accordion { flex-direction: column; height: auto; gap: 4px; }
  .acc { flex: none; min-height: 4.25rem; border-radius: 2.125rem; }
  .acc.is-open { flex: none; border-radius: 10rem 10rem 0 0; }
  .acc__tab { position: relative; inset: auto; min-height: 4.25rem; justify-content: flex-start; align-items: center; padding: 0 1.5rem; }
  .acc__tab span { writing-mode: horizontal-tb; transform: none; font-size: 1.0625rem; }
  .acc__body { position: relative; inset: auto; padding: 4.5rem 1.5rem 2rem; gap: 1rem; }
  .acc__body p { font-size: 1.0625rem; }

  .pick-group ul, .people { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; }
  .steps button { min-height: 3.25rem; padding: .45rem .6rem; font-size: var(--t-small); }
  .wizard { border-radius: 1.75rem; }
  .wizard__nav { position: relative; }

  .faq { grid-template-columns: 1fr; row-gap: 2rem; }
  .faq__title, .faq__list { grid-column: 1; position: static; max-width: none; }
  .faq summary { font-size: 1.0625rem; min-height: 4rem; padding: .9rem 1.25rem; }
  .faq details p { padding: 0 1.25rem 1.25rem; font-size: 1rem; }

  .visit { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .visit__figure, .visit__copy { grid-column: 1; }
  .visit__figure { max-width: 24rem; order: 2; }

  .foot__mark { height: 22svh; min-height: 10rem; }
  .foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .foot__cols { grid-template-columns: 1fr; }
  .foot .inline { text-align: left; }
  .foot__cols nav, .foot__cols > div:nth-child(2), .foot__cols > div:nth-child(3) { grid-column: auto; }
  .foot__cols nav { grid-column: 1 / -1; }

  .appt { grid-template-columns: 1fr; gap: .75rem; }
  .appt__state { justify-content: flex-start; }

  .dock { display: flex; }
  .toast { bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  .display { font-size: clamp(2.35rem, 9.6vw, 3rem); }
  .status { display: none; }
  .bar__cta { margin-left: auto; }
  .steps button { text-align: center; }
  .steps__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore: texto solo para lectores de pantalla */
  .steps__n { font-size: var(--t-small); font-weight: 700; opacity: 1; }
  .ticket { padding: 2.75rem 1.25rem 1.25rem; }
  .ticket__cut { margin: 1rem -1.25rem; }
  .kpis { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .kpis div { padding: 1rem 1.1rem; border-radius: 1.25rem; }
}

/* =========================================================================
   Movimiento reducido: se conserva el contenido y la opacidad, se quita el viaje.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js [data-reveal] > *, .js [data-reveal-item] { transform: none; }
  .js .split .w > span, .js .item[data-reveal-item] .item__thumb img, .ring__panel img { transform: none !important; }
  .js .rit[data-reveal-item] .rit__card img { transform: translateX(-50%) !important; }
  .catalog__list.is-leaving, .zones__detail.is-out > *, .zones__detail.is-from > * { transform: none; }
  .sheet { transform: none; }
  .js [data-reveal].is-in > *, .js [data-reveal-item].is-in { transition: opacity 300ms ease !important; transition-delay: 0ms !important; }
  .shutter .arch::after { display: none; }
  .shutter img { transform: none; }
  .ring__track { transition: none; }
  .rit__card { transform: none !important; }
  .rit__light { display: none; }
  .skeleton span { animation: none; opacity: .7; }
  .dock { transition: opacity 200ms ease !important; transform: none; }
  .dock:not(.is-visible) { visibility: hidden; }
}
