/* =========================================================
   GOLDEN GYM — Salto, Uruguay · rediseño "Golden en movimiento"
   Negro de la fachada + amarillo del escudo. Letra condensada de cartel de gym,
   bordes en diagonal (la barra que sube), cintas que corren solas.
   Entrenamiento, planes, sedes y horarios en una sola página.
   ========================================================= */
:root {
  --ground: #0d0d0b;      /* fondo: la fachada de noche */
  --step: #1a1a17;        /* tarjetas sobre el negro */
  --ink: #f2f2f0;         /* texto sobre negro */
  --soft: #bfbaad;        /* notas sobre negro (9:1) */
  --line: rgb(242 242 240 / .14);
  --gold: #ffe11a;        /* amarillo del escudo */
  --paper: #ecebe6;       /* secciones claras */
  --soft-dark: #47443c;   /* notas sobre papel o amarillo (8:1) */

  --fd: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --ff: "General Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step-small: clamp(.8125rem, .79rem + .1vw, .875rem);
  --step-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-lead: clamp(1.1875rem, 1rem + .6vw, 1.5rem);
  --step-head: clamp(3rem, 1.6rem + 5vw, 6.5rem);
  --step-display: clamp(4.5rem, 1.5rem + 13vw, 8.5rem);

  --m: clamp(16px, 2.6vw, 40px);
  --gap: clamp(14px, 1.8vw, 24px);
  --section: clamp(88px, 11vw, 168px);
  --header: 72px;
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
@media (min-width: 960px) {
  :root { --step-display: clamp(5rem, .5rem + 8.4vw, 10.5rem); }
}
@media (max-width: 959px) { :root { --header: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); scroll-padding-top: var(--header); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--ff); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--fd); font-weight: 800; line-height: .9; text-transform: uppercase; letter-spacing: -.005em; }
h2 { font-size: var(--step-head); text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--m), 1400px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cierre :focus-visible, .member-gold :focus-visible, .ticket:focus-visible { outline-color: var(--ground); }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 200; padding: .7rem 1.1rem; border-radius: 999px; background: var(--gold); color: var(--ground); font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.5em; border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; line-height: 1.15; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-sm { min-height: 44px; padding: .5em 1.15em; font-size: var(--step-small); }
.btn-gold { background: var(--gold); color: var(--ground); }
.btn-gold:hover { background: var(--ink); }
.btn-black, .btn-ink { background: var(--ground); color: var(--gold); }
.btn-black:hover, .btn-ink:hover { background: #2b2b26; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: .3em; transition: text-underline-offset .3s var(--ease);
}
.link:hover { text-underline-offset: .45em; }

/* ---------- pantalla de carga ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ground);
  transition: opacity .45s ease, visibility 0s .45s;
  animation: ld-failsafe 0s 7s forwards;
}
.loader.out { opacity: 0; visibility: hidden; }
.ld { position: relative; width: clamp(140px, 26vw, 200px); aspect-ratio: 1; transition: transform .6s var(--ease); }
.ld > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-brazos { transform-origin: 50% 52.73%; }   /* línea de los hombros: y 270 de 512 */
.ld-aro { position: absolute; inset: -7%; width: 114%; height: 114%; max-width: none; transform: rotate(-90deg); }
.ld-aro circle { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 0; }
.loader.out .ld { transform: scale(1.15); }
@keyframes ld-failsafe { to { opacity: 0; visibility: hidden; } }
/* Una repetición de press cada 1,6 s. Brazos y barra comparten tiempos y curvas, así los puños no se
   despegan: la barra baja 8,98 % × (1 − estiramiento de los brazos). */
@media (prefers-reduced-motion: no-preference) {
  .ld-brazos { animation: ld-brazos 1.6s infinite; }
  .ld-barra { animation: ld-barra 1.6s infinite; }
  .ld-aro circle { stroke-dashoffset: 302; animation: ld-aro 1.3s .15s var(--ease) forwards; }
  .loader.out .ld > img { animation-play-state: paused; }   /* se va con la barra arriba */
}
@keyframes ld-brazos {
  0%, 14% { scale: 1 .06; animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  46% { scale: 1 1.035; animation-timing-function: ease-out; }
  54% { scale: 1 .985; animation-timing-function: ease-in-out; }
  60%, 80% { scale: 1 1; animation-timing-function: cubic-bezier(.5, 0, .6, 1); }
  100% { scale: 1 .06; }
}
@keyframes ld-barra {
  0%, 14% { translate: 0 8.45%; animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  46% { translate: 0 -.31%; animation-timing-function: ease-out; }
  54% { translate: 0 .13%; animation-timing-function: ease-in-out; }
  60%, 80% { translate: 0 0; animation-timing-function: cubic-bezier(.5, 0, .6, 1); }
  100% { translate: 0 8.45%; }
}
@keyframes ld-aro { to { stroke-dashoffset: 0; } }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgb(13 13 11 / .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.hd.is-scrolled { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 48px; text-decoration: none; font: 800 1.6rem/1 var(--fd); text-transform: uppercase; position: relative; z-index: 2; white-space: nowrap; }
.brand img { width: 44px; height: 44px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-25deg); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav ul { display: flex; gap: clamp(.9rem, 1.8vw, 1.9rem); }
.nav ul a { position: relative; display: inline-block; padding-block: .6rem; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

@media (max-width: 959px) {
  .burger {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .burger span { width: 26px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease); }
  .nav-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; height: 100dvh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2.5rem;
    padding: 96px var(--m) 48px; background: var(--ground);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
  }
  .nav ul { flex-direction: column; gap: .1rem; }
  .nav ul a { font: 800 clamp(3rem, 13vw, 4.5rem)/1 var(--fd); text-transform: uppercase; }
  .nav ul a::after { height: 5px; bottom: .1rem; }
  .nav li, .nav .btn { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms + 80ms); }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav-open .nav li, .nav-open .nav .btn { opacity: 1; transform: none; }
  .nav .btn-sm { min-height: 52px; font-size: var(--step-body); }
}

/* ---------- hero ---------- */
.hero { padding: calc(var(--header) + clamp(28px, 5vw, 64px)) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
.live { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: clamp(18px, 2.4vw, 28px); padding: .4rem .9rem .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step-small); color: var(--soft); }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.live:has(.is-open) i { background: #5be37d; box-shadow: 0 0 0 0 rgb(91 227 125 / .6); }
.hero-title { font-size: var(--step-display); line-height: .84; }
.hero-title .ln { display: block; overflow: hidden; padding-block: .02em .04em; margin-bottom: -.04em; }
.hero-title .ln > span { display: block; }
.hero-title .gold { color: var(--gold); }
.hero-sub { max-width: 34ch; margin-top: clamp(20px, 2.6vw, 32px); font-size: var(--step-lead); line-height: 1.4; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: clamp(24px, 3vw, 36px); }

.hero-media { position: relative; aspect-ratio: 4 / 3; }
.hero-photos {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--r);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) 50%;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-photos img.is-on { opacity: 1; }
.hero-photos::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgb(13 13 11 / .65)); pointer-events: none; }
.hero-cap {
  position: absolute; right: 16px; bottom: 14px; z-index: 2; max-width: 60%;
  font-size: var(--step-small); font-weight: 600; text-align: right; transition: opacity .4s;
}
.hero-cap.is-swapping { opacity: 0; }
.ticket {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: clamp(18px, 8%, 56px); z-index: 3;
  display: grid; gap: .1rem; padding: 14px 22px 16px; border-radius: 16px;
  background: var(--gold); color: var(--ground); text-decoration: none;
  rotate: -4deg; box-shadow: 0 18px 40px rgb(0 0 0 / .45);
  transition: rotate .5s var(--ease), scale .5s var(--ease);
}
.ticket::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 44px; border-top: 2px dashed rgb(13 13 11 / .35);
}
.ticket:hover { rotate: 0deg; scale: 1.04; }
.ticket-tag { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 14px; }
.ticket-price { font: 800 clamp(2.6rem, 2rem + 2vw, 3.6rem)/.9 var(--fd); }
.ticket-price small { font-size: .45em; margin-left: .15em; }
.ticket-line { font-size: var(--step-small); font-weight: 600; }

@media (min-width: 960px) {
  .hero { min-height: 100svh; display: grid; align-items: center; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hero-media { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header) - 96px); justify-self: end; width: 100%; }
}
@media (max-width: 599px) {
  .hero-media { aspect-ratio: 5 / 4; margin-inline: calc(var(--m) * -1); }
  .hero-photos { border-radius: 0; clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%); }
  .ticket { left: var(--m); bottom: 16px; padding: 10px 16px 12px; }
  .ticket::before { top: 36px; }
  .ticket-tag { padding-bottom: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- cintas ---------- */
.ribbons { position: relative; padding-block: clamp(28px, 4vw, 48px); overflow: hidden; }
.ribbon { width: 112%; margin-left: -6%; overflow: hidden; }
.ribbon-gold { background: var(--gold); color: var(--ground); rotate: -2.2deg; position: relative; z-index: 2; }
.ribbon-ink { margin-top: -10px; background: var(--step); color: transparent; -webkit-text-stroke: 1.5px var(--gold); rotate: 1.6deg; }
.track { display: flex; align-items: center; width: max-content; padding-block: .55em; font: 800 clamp(1.9rem, 1.2rem + 3vw, 4rem)/1 var(--fd); text-transform: uppercase; }
.track span { padding-inline: .45em; white-space: nowrap; }
.track i { width: .55em; height: .55em; flex: none; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.ribbon-ink .track i { background: var(--gold); }

/* ---------- cabeceras de sección ---------- */
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row { align-items: end; }
@media (min-width: 900px) { .head-row { grid-template-columns: 1fr minmax(0, 26rem); gap: 2rem 4rem; } }
.kicker { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--ff); font-size: var(--step-small); font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.head h2 { max-width: 14ch; }
.lead { max-width: 46ch; font-size: var(--step-lead); line-height: 1.45; color: var(--soft); }

/* ---------- entrenar ---------- */
.entrenar { padding-top: clamp(32px, 5vw, 64px); padding-bottom: var(--section); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: var(--gap); }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: .7rem; padding: 10px 10px 20px; border-radius: var(--r); background: var(--step);
  transition: translate .5s var(--ease), background-color .3s;
}
.card:hover { translate: 0 -6px; background: #22221e; }
.card-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; margin-bottom: .4rem; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-pic img { transform: scale(1.07); }
.tag { position: absolute; left: 10px; top: 10px; padding: .3rem .7rem; border-radius: 999px; background: var(--gold); color: var(--ground); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.card h3, .card p { padding-inline: 10px; }
.card h3 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); }
.card p { color: var(--soft); }
.card .meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.meta span { padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--ink); }
@media (max-width: 599px) {
  .cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scroll-padding-inline: var(--m); scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
}

/* ---------- sedes ---------- */
.sedes { padding-block: clamp(52px, 7vw, 88px) clamp(40px, 5vw, 64px); background: var(--ground); }
.sedes-list { display: grid; gap: var(--gap); }
.sede { padding-top: 18px; border-top: 1px solid var(--line); }
.sede h3 { font-size: clamp(2.75rem, 1.6rem + 4vw, 5rem); }
.sede p { margin-top: 10px; color: var(--soft); }
@media (min-width: 700px) { .sedes-list { grid-template-columns: 1fr 1fr; gap: var(--gap); } }

/* ---------- planes: tarjetas de socio ---------- */
.planes { padding-block: var(--section); }
.tickets { display: grid; gap: var(--gap); align-items: stretch; }
@media (min-width: 700px) { .tickets { grid-template-columns: 1fr 1fr; } .member-line { grid-column: 1 / -1; } }
@media (min-width: 1150px) { .tickets { grid-template-columns: repeat(3, 1fr); padding-top: 18px; } .member-line { grid-column: auto; } .member-gold { rotate: -1.5deg; translate: 0 -14px; } .member-gold:hover { translate: 0 -20px; } }
.member {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--r); background: var(--step); border: 1px solid var(--line);
  transition: translate .5s var(--ease);
}
.member:hover { translate: 0 -6px; }
.member-top { display: flex; align-items: center; gap: .6rem; font: 800 1.25rem/1 var(--fd); text-transform: uppercase; white-space: nowrap; }
.member-top img { width: 34px; height: 34px; }
.member-kind { margin-left: auto; padding: .3rem .6rem; border: 1px solid currentColor; border-radius: 6px; font: 600 .6875rem/1 var(--ff); letter-spacing: .14em; }
.member h3 { margin-top: 18px; font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); }
.price { font: 800 clamp(4rem, 3rem + 3vw, 5.75rem)/.85 var(--fd); color: var(--gold); }
.price small { margin-left: .3rem; font: 600 1rem var(--ff); color: var(--soft); }
.price-text { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: .95; }
.member-for { color: var(--soft); }
.member .btn { margin-top: auto; align-self: flex-start; }
.stripe { position: absolute; right: clamp(20px, 2.4vw, 30px); bottom: clamp(26px, 3vw, 36px); width: 84px; height: 30px; opacity: .3; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px, currentColor 5px 6px, transparent 6px 9px, currentColor 9px 12px, transparent 12px 14px); }
.member-gold { background: var(--gold); color: var(--ground); border-color: var(--gold); }
.member-gold .price, .member-gold .price small, .member-gold .member-for { color: var(--ground); }
.member-gift { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.badge { position: absolute; top: -14px; left: clamp(20px, 2.4vw, 30px); padding: .35rem .8rem; border-radius: 999px; background: var(--ground); color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .55), transparent); transform: translateX(0) skewX(-12deg); opacity: 0; }
.member-line { background: transparent; border: 2px dashed var(--line); }
.member-line .price { color: var(--ink); }

/* ---------- fotos: dos filas que corren ---------- */
.fotos { padding-block: var(--section); overflow: hidden; }
.fotos-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.reel { overflow: hidden; }
.reel + .reel { margin-top: var(--gap); }
.reel-track { display: flex; gap: var(--gap); width: max-content; padding-right: var(--gap); }
.reel-track li { flex: none; height: clamp(180px, 20vw, 280px); aspect-ratio: 1; overflow: hidden; border-radius: 18px; }
.reel-track li.wide { aspect-ratio: 16 / 9; }
.reel-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel-track li:hover img { transform: scale(1.06); }

/* ---------- horarios y opiniones ---------- */
.info { padding-block: clamp(40px, 5vw, 64px) var(--section); }
.info-grid { display: grid; gap: var(--gap); }
.horas, .google { min-width: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--step); }
.info .kicker { margin-bottom: 18px; }
.horas-hoy { margin-bottom: 18px; }
.horas-hoy .status { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: var(--step-small); }
.horas-hoy .status.is-open { border-color: #5be37d; color: #5be37d; }
.horas-hoy .status.is-open::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.semana { width: 100%; border-collapse: collapse; }
.semana tr { border-top: 1px solid var(--line); }
.semana th, .semana td { padding: 10px 0; }
.semana th { text-align: left; font-weight: 400; }
.semana td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.semana tr.is-today { color: var(--gold); font-weight: 600; }
.semana tr.is-today th::after { content: " hoy"; font-size: .7em; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.semana tr[data-day="0"] td { color: var(--soft); }
.horas-nota { margin-top: 12px; color: var(--soft); font-size: var(--step-small); }
.notas { display: grid; gap: 0; }
.nota { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding-block: 16px; border-top: 1px solid var(--line); }
.nota-num { grid-column: 1; font: 800 clamp(3rem, 2rem + 3vw, 4rem)/.9 var(--fd); color: var(--gold); }
.estrellas { grid-column: 1; width: fit-content; font-size: 1.25rem; line-height: 1; letter-spacing: .12em; background: linear-gradient(var(--gold), var(--gold)) 0 0 / calc(var(--v) * 20%) 100% no-repeat, rgb(242 242 240 / .2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nota-sede { grid-column: 1; color: var(--soft); font-size: var(--step-small); }
.nota-sede b { color: var(--ink); }
.nota-sede a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.nota .btn { grid-column: 2; grid-row: 1 / span 3; justify-self: end; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .nota { column-gap: 8px; } .nota .btn { padding-inline: .75em; } }
/* ---------- cierre (amarillo) ---------- */
.cierre { position: relative; overflow: hidden; padding-block: var(--section); background: var(--gold); color: var(--ground); color-scheme: light; text-align: center; }
.cierre-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.cierre-logo { position: absolute; left: 50%; top: 50%; width: min(80vw, 760px); max-width: none; translate: -50% -50%; opacity: .1; mix-blend-mode: multiply; pointer-events: none; }
.cierre h2 { position: relative; font-size: clamp(4.25rem, 1.5rem + 11vw, 12rem); line-height: .82; }
.cierre h2 span { color: transparent; -webkit-text-stroke: 3px var(--ground); }
.cierre p { position: relative; max-width: 36ch; font-size: var(--step-lead); font-weight: 600; }

/* ---------- pie ---------- */
.footer { padding-block: clamp(56px, 7vw, 96px) 28px; font-size: var(--step-small); color: var(--soft); }
.foot-grid { display: grid; gap: 32px var(--gap); }
@media (min-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) { .foot-brand { grid-column: 1; } .foot-grid > div:nth-child(2) { grid-column: 2; } }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 64px; height: 64px; }
.foot-brand p { font: 800 2rem/.95 var(--fd); text-transform: uppercase; color: var(--ink); }
.foot-brand span { font: 600 .75rem var(--ff); letter-spacing: .14em; color: var(--gold); }
.footer h2 { margin-bottom: 12px; font: 600 .75rem var(--ff); letter-spacing: .16em; color: var(--gold); }
.footer li { min-height: 32px; display: flex; align-items: center; }
.footer li a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.footer li a:hover { color: var(--ink); text-decoration: underline; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.credit { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-size: .75rem; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; }
.credit svg { width: auto; height: 1.375rem; fill: currentColor; }
.credit:hover { color: var(--gold); }

/* ---------- WhatsApp flotante ---------- */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--gold); color: var(--ground); box-shadow: 0 12px 30px rgb(0 0 0 / .45);
  transition: transform .5s var(--ease), opacity .4s;
}
.fab .ico { width: 30px; height: 30px; }
.fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* =========================================================
   Movimiento: todo lo que se mueve solo vive acá, apagado con reduced motion
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* entradas del hero, después de la pantalla de carga */
  .js .hero-title .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease) calc(var(--d) * 90ms); }
  .js .hero-in { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) calc(var(--d) * 90ms + 120ms), transform .9s var(--ease) calc(var(--d) * 90ms + 120ms); }
  .ready .hero-title .ln > span, .ready .hero-in { transform: none; opacity: 1; }

  /* fotos del hero: zoom lento mientras están a la vista */
  .hero-photos img.is-on { animation: kenburns 7s ease-out both; }
  .live:has(.is-open) i { animation: ping 1.8s ease-out infinite; }
  .ticket { animation: bob 4.5s ease-in-out infinite; }
  .ticket:hover { animation-play-state: paused; }

  /* cintas */
  .ribbon-gold .track { animation: marquee 26s linear infinite; }
  .ribbon-ink .track { animation: marquee 32s linear infinite reverse; }

  /* entradas al hacer scroll */
  .js .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .9s var(--ease) calc(var(--d, 0) * 90ms); }
  .js .rv.in { opacity: 1; transform: none; }


  /* opiniones: las estrellas se llenan hasta el puntaje */
  .js .google .estrellas { background-size: 0% 100%; transition: background-size 1.1s var(--ease) .35s; }
  .js .google.in .estrellas { background-size: calc(var(--v) * 20%) 100%; }
  .js .google .nota:nth-child(2) .estrellas { transition-delay: .5s; }
  .horas-hoy .status.is-open::before { animation: ping 1.8s ease-out infinite; }

  /* tarjeta anual: brillo que cruza y un leve flote */
  .member-gold .shine::before { animation: shine 4.8s ease-in-out 1.2s infinite; }

  /* fotos que corren */
  .reel-track { animation: marquee 60s linear infinite; }
  .reel-back .reel-track { animation-duration: 70s; animation-direction: reverse; }
  .reel:hover .reel-track { animation-play-state: paused; }

  /* cierre: el escudo gira despacio de fondo */
  .cierre-logo { animation: spin 60s linear infinite; }

  /* WhatsApp flotante: respira y cada tanto se sacude */
  .fab:not(.is-hidden) { animation: breathe 2.6s ease-in-out infinite, shake 7s ease-in-out 3s infinite; }
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(91 227 125 / .6); } 100% { box-shadow: 0 0 0 10px rgb(91 227 125 / 0); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0% { transform: translateX(0) skewX(-12deg); opacity: 0; } 10% { opacity: 1; } 40%, 100% { transform: translateX(420%) skewX(-12deg); opacity: 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes breathe { 50% { scale: 1.07; box-shadow: 0 12px 30px rgb(0 0 0 / .45), 0 0 0 10px rgb(255 225 26 / .18); } }
@keyframes shake { 0%, 88%, 100% { rotate: 0deg; } 90% { rotate: -14deg; } 92% { rotate: 12deg; } 94% { rotate: -9deg; } 96% { rotate: 6deg; } 98% { rotate: -3deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .reel-track { flex-wrap: wrap; width: auto; }
  .reel-track [aria-hidden] { display: none; }
}
