/* Lenis 1.3 base styles (MIT), inlined to save a render-blocking request */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* Vibresaa — narrative landing. Static layout first; html.motion (set by main.js) turns on the pinned chapters. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0a08;
  --surface: #17140f;
  --ink: #f3ede1;
  --muted: #b3aa98;
  --gold: #c9a24a;
  --gold-hi: #ecd28f;
  --gold-lo: #8a6a24;
  --line: rgb(201 162 74 / 0.22);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --font-text: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 112px);
  --text-base: clamp(1rem, 0.7rem + 0.55vw, 1.6rem);
  --text-lede: clamp(1.15rem, 0.8rem + 0.85vw, 2.3rem);
  --text-display: clamp(2.6rem, 1.2rem + 4.6vw, 7.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--text-base)/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), 2200px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--bg);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 6px; }

/* ---------- Type ---------- */
.display {
  font: 500 var(--text-display)/0.98 var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.eyebrow {
  font: 600 clamp(0.78rem, 0.7rem + 0.25vw, 1rem)/1 var(--font-text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.lede { font-size: var(--text-lede); line-height: 1.45; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.lede strong { color: var(--gold-hi); font-weight: 600; letter-spacing: 0.06em; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--gold); color: var(--bg);
  font: 700 1rem/1 var(--font-text); letter-spacing: 0.02em; text-decoration: none;
  box-shadow: 0 0 0 0 rgb(236 210 143 / 0);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn::after { content: "→"; font-weight: 400; transition: transform var(--dur) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--wa::after, .btn--ghost::after { content: none; }
.btn__icon { width: 1.25em; height: 1.25em; flex: none; }
.btn--ghost { background: transparent; color: var(--gold-hi); box-shadow: inset 0 0 0 1.5px var(--gold); }
.cotiza__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 0.92rem; }
.btn--big { min-height: 68px; padding: 0 44px; font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.35rem); }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold-hi); box-shadow: 0 10px 40px -12px rgb(236 210 143 / 0.55); transform: translateY(-1px); }
  .btn:hover::after { transform: translateX(4px); }
  .btn--ghost:hover { background: rgb(201 162 74 / 0.14); color: var(--gold-hi); box-shadow: inset 0 0 0 1.5px var(--gold-hi); }
  .btn:active { transform: scale(0.97); }
  .link:hover { color: var(--gold-hi); background-size: 0 1px; background-position: 100% 100%; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: linear-gradient(rgb(11 10 8 / 0.85), rgb(11 10 8 / 0));
}
.nav__mark { font: italic 500 clamp(1.4rem, 1.1rem + 0.8vw, 2rem)/1 var(--font-display); text-decoration: none; color: var(--gold-hi); }

/* ---------- Language switch ---------- */
.nav__right { display: flex; align-items: center; gap: clamp(10px, 1vw, 16px); }
.lang { position: relative; isolation: isolate; display: flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgb(11 10 8 / 0.55); }
.lang__opt {
  position: relative; z-index: 1; display: grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 10px;
  border-radius: 999px; font: 700 0.8rem/1 var(--font-text); letter-spacing: 0.14em; text-decoration: none; color: var(--muted);
  transition: color var(--dur) var(--ease-out);
}
.lang__opt.is-active { color: var(--bg); }
.lang__pill {
  position: absolute; z-index: 0; inset: 4px auto 4px 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--gold-hi); box-shadow: 0 6px 20px -8px rgb(236 210 143 / 0.6);
  transition: translate 420ms var(--ease-out);
}
html[lang="en"] .lang__pill { translate: 100% 0; }
/* the pill leans toward the other language on hover, then slides all the way on click */
@media (hover: hover) and (pointer: fine) {
  html[lang="es"] .lang:has(.lang__opt:not(.is-active):hover) .lang__pill { translate: 16% 0; }
  html[lang="en"] .lang:has(.lang__opt:not(.is-active):hover) .lang__pill { translate: 84% 0; }
  .lang__opt:not(.is-active):hover { color: var(--ink); }
}
html[lang="es"] .lang.is-switching .lang__pill { translate: 100% 0; }
html[lang="en"] .lang.is-switching .lang__pill { translate: 0 0; }
.lang.is-switching .lang__opt.is-active { color: var(--muted); }
.lang.is-switching .lang__opt:not(.is-active) { color: var(--bg); }

/* the page cross-fades into the other language (browsers with cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; isolation: isolate; }
.hero__sticky { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
/* the hero holds for one extra screen with CSS sticky: ScrollTrigger's pin would re-parent the LCP image */
.motion .hero { height: 200svh; }
.motion .hero__sticky { position: sticky; top: 0; }
.hero__stage { position: absolute; inset: 0; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 70% 62%, rgb(201 162 74 / 0.22), transparent 70%),
    radial-gradient(40% 30% at 70% 100%, rgb(236 210 143 / 0.12), transparent 70%);
}
.hero__word {
  position: absolute; left: 50%; top: 40%; z-index: 1;
  translate: -50% -50%;
  font: 500 clamp(4rem, 17vw, 30rem)/0.8 var(--font-display);
  letter-spacing: -0.02em; white-space: nowrap;
  user-select: none;
}
.hero__word, .hero__word .char {
  background-image: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__word .char { display: inline-block; }
/* once split, only the letters carry the gradient (Chrome mis-clips the parent's text) */
.motion .hero__word { background-image: none; }
.hero__bar {
  position: absolute; z-index: 2; right: -3vw; bottom: -2svh;
  height: 96svh; width: auto; max-width: none;
  filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.7));
  /* the photo's own left border crosses the lamp: fade it out */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
}
.hero__copy {
  position: absolute; inset: auto 0 clamp(28px, 6svh, 80px) 0; z-index: 3;
  display: grid; gap: 18px; justify-items: start;
}
.hero__copy::before {
  content: ""; position: absolute; inset: -30vh auto -10vh -50vw; width: calc(50vw + 48rem); z-index: -1;
  background: radial-gradient(60% 70% at 55% 75%, rgb(11 10 8 / 0.9), transparent 75%);
  pointer-events: none;
}
.hero__title { font: 500 clamp(2rem, 1.1rem + 2.6vw, 4.6rem)/1.02 var(--font-display); max-width: 22ch; text-wrap: balance; }
.hero__fact { color: var(--muted); font-size: var(--text-lede); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 8px; }
.hero__tag {
  position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--nav-h) + 24px);
  font: italic 500 clamp(1rem, 0.8rem + 0.6vw, 1.6rem)/1 var(--font-display); color: var(--muted);
}

/* ---------- 2 · El día ---------- */
.dia { padding-block: clamp(80px, 14vh, 160px); }
.dia__pin { display: grid; gap: 48px; }
.dia__text { display: grid; gap: 28px; align-content: center; }
.dia__clock { display: flex; align-items: flex-start; gap: 0.6rem; font-family: var(--font-display); color: var(--gold-hi); }
.dia__times { height: 1em; overflow: hidden; font-size: clamp(5.5rem, 3rem + 10vw, 20rem); line-height: 1; font-variant-numeric: lining-nums; }
.dia__times span { display: block; height: 1em; }
.dia__pm { font: 600 clamp(0.9rem, 0.7rem + 0.6vw, 1.5rem)/1 var(--font-text); letter-spacing: 0.2em; color: var(--gold); margin-top: 0.6em; }
.dia__title { font: 500 clamp(1.8rem, 1rem + 2vw, 3.8rem)/1.05 var(--font-display); max-width: 16ch; text-wrap: balance; }
.dia__cta { justify-self: start; color: var(--gold-hi); font-weight: 600; }
.dia__beats { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: var(--text-lede); line-height: 1.35; max-width: 30ch; }
.dia__rail { display: none; }
.dia__media { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding-inline: var(--gutter); }
.frame { overflow: hidden; border-radius: 4px; background: var(--surface); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

/* ---------- 3 · Dónde ---------- */
.donde__pin { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 80svh; overflow: hidden; }
.donde__img { width: 100%; height: 100%; object-fit: cover; }
.donde__shade, .donde__label { display: none; }
.donde__copy { grid-column: 1 / -1; display: grid; gap: 20px; padding-block: 56px; }

/* ---------- 4 · La barra ---------- */
.barra { padding-block: clamp(96px, 12vh, 160px); }
.barra__grid { display: grid; grid-template-columns: 5fr 3fr 3.2fr; gap: clamp(20px, 2.4vw, 56px); align-items: center; }
.barra__text { display: grid; gap: 40px; align-content: start; }
.barra__list { display: grid; gap: 10px; max-width: 36ch; }
.barra__list h3 { font: italic 500 clamp(1.4rem, 1rem + 1vw, 2.4rem)/1.1 var(--font-display); color: var(--gold-hi); margin-top: 22px; }
.barra__list h3:first-child { margin-top: 0; }
.barra__list p { color: var(--muted); }
.barra__ph { overflow: hidden; border-radius: 4px; }
.barra__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.barra__ph--a { aspect-ratio: 3 / 4.2; }
.barra__phone {
  aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.9), 0 0 0 8px #000;
}
.barra__phone video { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .barra__ph:hover img { transform: scale(1.03); }
}

/* ---------- 5 · Fiestas ---------- */
.fiestas { padding-block: clamp(96px, 12vh, 160px); }
.fiestas__title { margin-top: 18px; max-width: 18ch; }
.fiestas__list { list-style: none; margin: 40px 0 0; padding: 0; }
.fiestas__list li {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; gap: 12px 40px;
  padding-block: clamp(18px, 2.4vw, 40px); border-top: 1px solid var(--line);
}
.fiestas__list li:last-child { border-bottom: 1px solid var(--line); }
.fiestas__name { font: 500 clamp(2.2rem, 1.2rem + 3.6vw, 6.5rem)/1 var(--font-display); transition: color var(--dur) var(--ease-out), translate var(--dur) var(--ease-out); }
.fiestas__menu { color: var(--muted); font-size: var(--text-lede); line-height: 1.35; }
.fiestas__more { margin-top: 40px; font: italic 500 clamp(1.3rem, 1rem + 1vw, 2.2rem)/1.2 var(--font-display); color: var(--gold-hi); }
@media (hover: hover) and (pointer: fine) {
  .fiestas__list li:hover .fiestas__name { color: var(--gold-hi); translate: 12px 0; }
}

/* ---------- 6 · Equipo ---------- */
.equipo { display: grid; grid-template-columns: 1fr 1fr; height: 100svh; min-height: 620px; }
.equipo__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.equipo__copy { display: grid; gap: 40px; align-content: center; padding: var(--gutter); }
.quote { margin: 0; display: grid; gap: 22px; font-size: var(--text-lede); line-height: 1.4; color: var(--muted); max-width: 30ch; }
.quote__answer { font: italic 500 clamp(1.6rem, 1.1rem + 1.6vw, 3.2rem)/1.1 var(--font-display); color: var(--gold-hi); }

/* ---------- 7 · Cotiza ---------- */
.cotiza { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(50% 50% at 50% 55%, rgb(201 162 74 / 0.16), transparent 70%); }
.cotiza__inner { display: grid; justify-items: center; text-align: center; gap: 28px; padding-block: 120px; }
.cotiza .eyebrow { margin-bottom: -8px; }
.cotiza__title { font: italic 500 clamp(4rem, 1rem + 12vw, 18rem)/0.9 var(--font-display); color: var(--gold-hi); }
.cotiza .lede { max-width: 30ch; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 40px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot__mark { font: italic 500 1.15rem/1.4 var(--font-display); color: var(--ink); }

/* ---------- 1b · Pregunta ---------- */
.pregunta { min-height: 100svh; display: grid; place-items: center; padding-block: clamp(96px, 14vh, 180px); }
.pregunta__inner { display: grid; justify-items: center; text-align: center; gap: clamp(28px, 4vh, 56px); }
.pregunta__q { font: 500 clamp(2.4rem, 0.9rem + 5.2vw, 11rem)/1.02 var(--font-display); letter-spacing: -0.015em; max-width: 20ch; text-wrap: balance; }
.pregunta__a { font: italic 500 clamp(1.6rem, 0.9rem + 2.2vw, 4rem)/1.1 var(--font-display); color: var(--gold-hi); }

/* ---------- 4b · Sweet Candy ---------- */
.sweet { padding-block: clamp(96px, 12vh, 160px); }
.sweet__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 96px); align-items: end; }
.sweet__head .eyebrow { grid-column: 1 / -1; }
.sweet__head .lede { max-width: 42ch; }
.sweet__grid { list-style: none; margin: clamp(32px, 5vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 28px); }
.sweet__tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--surface); }
.sweet__tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(11 10 8 / 0.75)); pointer-events: none; }
.sweet__tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.sweet__name { position: absolute; z-index: 1; left: clamp(14px, 1.2vw, 24px); bottom: clamp(12px, 1.2vw, 22px); font: italic 500 clamp(1.15rem, 0.8rem + 0.9vw, 2.1rem)/1 var(--font-display); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .sweet__tile:hover video { transform: scale(1.03); }
}

/* ---------- 6b · Cómo funciona ---------- */
.como { padding-block: clamp(96px, 12vh, 160px); }
.como .display { margin-top: 18px; }
.como__steps { list-style: none; margin: clamp(36px, 5vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 64px); }
.como__steps li { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.como__n { font: 500 clamp(2.6rem, 1.6rem + 2.6vw, 5.5rem)/1 var(--font-display); color: var(--gold); }
.como__steps h3 { font: 500 clamp(1.4rem, 1rem + 1vw, 2.4rem)/1.1 var(--font-display); }
.como__steps p { color: var(--muted); max-width: 34ch; }

/* ---------- 6c · Preguntas ---------- */
.faq { padding-block: clamp(96px, 12vh, 160px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 120px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding-block: 18px;
  font: 500 clamp(1.2rem, 0.95rem + 0.7vw, 2rem)/1.2 var(--font-display); cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; font: 400 1.6em/1 var(--font-text); color: var(--gold); transition: rotate var(--dur) var(--ease-out); }
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { color: var(--muted); padding: 0 0 22px; max-width: 52ch; }
@media (hover: hover) and (pointer: fine) {
  .faq__list summary:hover { color: var(--gold-hi); }
}

/* ---------- Floating WhatsApp (phones) ---------- */
.wa-float {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold); color: var(--bg); box-shadow: 0 12px 30px -8px rgb(0 0 0 / 0.7);
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), translate var(--dur) var(--ease-out), scale var(--dur-fast) var(--ease-out);
}
.wa-float.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.wa-float:active { scale: 0.94; }
.wa-float__icon { width: 30px; height: 30px; }
@media (min-width: 801px) { .wa-float { display: none; } }

/* ---------- Consent (only when a Meta Pixel ID is set) ---------- */
.consent {
  position: fixed; z-index: 70; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: min(420px, calc(100% - 32px));
  display: grid; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  font-size: 0.92rem; color: var(--muted); box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.9);
}
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 44px; padding: 0 18px; font-size: 0.9rem; width: auto; }
.consent .btn::after { content: none; }

/* ---------- Legal pages ---------- */
.legal__main { display: grid; gap: 18px; max-width: 760px; padding-block: calc(var(--nav-h) + 64px) 96px; }
.legal__main .display { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.5rem); }
.legal__main h2 { font: 500 clamp(1.3rem, 1rem + 0.8vw, 1.9rem)/1.2 var(--font-display); color: var(--gold-hi); margin-top: 22px; }
.legal__main p { color: var(--muted); }
.legal__date { font-size: 0.9rem; }
.legal__todo { color: var(--bg); background: var(--gold-hi); padding: 0 6px; border-radius: 4px; }

/* ================= Motion layout (html.motion, no reduced motion) ================= */
.motion .dia { padding: 0; }
.motion .dia__pin { height: 100svh; grid-template-columns: 1fr 1fr; gap: 0; }
.motion .dia__text { width: auto; margin: 0; padding: calc(var(--nav-h) + 24px) var(--gutter) 56px; align-content: center; position: relative; }
.motion .dia__beats { position: relative; display: block; min-height: 4.2em; }
.motion .dia__beats li { position: absolute; inset: 0 0 auto 0; opacity: 0; }
.motion .dia__beats li:first-child { opacity: 1; }
.motion .dia__rail { display: block; height: 2px; width: min(100%, 420px); background: var(--line); overflow: hidden; }
.motion .dia__rail span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.motion .dia__media { position: relative; display: block; padding: 0; height: 100svh; }
.motion .dia__media .frame { position: absolute; inset: 0; border-radius: 0; clip-path: inset(100% 0 0 0); }
.motion .dia__media .frame:first-child { clip-path: inset(0 0 0 0); }
.motion .dia__media .frame img, .motion .dia__media .frame video { aspect-ratio: auto; height: 100%; }

.motion .donde__pin { display: block; height: 100svh; min-height: 0; }
.motion .donde__img { position: absolute; inset: 0; }
.motion .donde__img--out { clip-path: inset(0 0 0 100%); }
.motion .donde__shade { display: block; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 10 8 / 0.55), transparent 30%, transparent 45%, rgb(11 10 8 / 0.92)); }
.motion .donde__label {
  display: block; position: absolute; top: calc(var(--nav-h) + 20px);
  font: italic 500 clamp(1.4rem, 1rem + 1.2vw, 2.6rem)/1 var(--font-display); color: var(--gold-hi);
}
.motion .donde__label--in { left: var(--gutter); }
.motion .donde__label--out { right: var(--gutter); opacity: 0; }
.motion .donde__copy { position: absolute; inset: auto 0 clamp(40px, 8svh, 100px) 0; padding: 0; }

/* ================= Small screens ================= */
@media (max-width: 800px) {
  .hero__word { top: 24%; font-size: 17vw; }
  .hero__bar { height: 56svh; right: -30vw; bottom: auto; top: 12svh; }
  .hero__copy::before { inset: -18svh -50vw -10vh -50vw; width: auto; background: linear-gradient(transparent, rgb(11 10 8 / 0.94) 30%); }
  .hero__tag { display: none; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .hero__actions { width: 100%; }

  .motion .dia__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .motion .dia__text { padding: calc(var(--nav-h) + 8px) var(--gutter) 16px; gap: 14px; }
  .motion .dia__media { height: 100%; min-height: 0; }
  .dia__times { font-size: 5.5rem; }

  .donde__pin { grid-template-columns: 1fr; }
  .barra__grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .barra__text { grid-column: 1 / -1; }
  .barra__ph--a { align-self: stretch; }
  .fiestas__list li { grid-template-columns: 1fr; }
  .equipo { grid-template-columns: 1fr; height: auto; }
  .sweet__head, .faq__grid { grid-template-columns: 1fr; }
  .sweet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .como__steps { grid-template-columns: 1fr; }
  .pregunta { min-height: 80svh; }
  .equipo__img { height: 70svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  @view-transition { navigation: none; }
}

@media (max-width: 480px) {
  .nav .btn--small { width: 44px; padding: 0; }
  .nav .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* icon only, name kept for screen readers */
  .nav .btn__icon { width: 1.4em; height: 1.4em; }
}
