/* ==========================================================
   Terra Sport Center — Landing de preapertura
   ========================================================== */

@font-face { font-family: "Garet"; src: local("Garet"), local("Garet-Book"); font-display: swap; }

:root {
  color-scheme: dark;
  --black: #000000;
  --concrete: #1E1F22;
  --concrete-2: #2A2B2F;
  --terracota: #B05535;
  --terracota-hi: #C8683F;
  --led: #FFB15C;
  --led-core: #FFE2BF;
  --gray: #A6A6A6;
  --gray-dark: #6E6F73;
  --paper: #F2F2F0;
  --white: #FFFFFF;

  --sans: "Garet", "Urbanist", system-ui, sans-serif;
  --serif: "Bauer Bodoni", "Bodoni Moda", "Didot", serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  --fs-2xl: clamp(2.8rem, 1.6rem + 5.4vw, 6.4rem);
  --fs-3xl: clamp(3.2rem, 1.6rem + 5.2vw, 7rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --radius-s: 10px;
  --radius-l: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --topbar-h: 40px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + var(--header-h)); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--terracota);
  font-style: italic;
  font-weight: 800;
}
.h-display { font-size: var(--fs-2xl); line-height: .95; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.h-section { font-size: var(--fs-xl); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.lede { font-size: var(--fs-md); line-height: 1.5; max-width: 34em; color: inherit; opacity: .82; }
.muted { color: var(--gray); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--terracota); color: var(--white); }
.btn--primary:hover { background: var(--terracota-hi); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.on-light .btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================
   Topbar + header
   ========================================================== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--topbar-h);
  background: var(--terracota);
  color: var(--white);
  font-size: var(--fs-xs); font-weight: 600;
  display: flex; align-items: center;
}
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 2vw, 2rem); white-space: nowrap; }
.topbar__count { font-variant-numeric: tabular-nums; }
.topbar__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.topbar__spots .topbar__sep { display: inline-block; vertical-align: middle; margin-right: clamp(.75rem, 2vw, 2rem); }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .topbar__promo { display: none; } }

.header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 55;
  height: var(--header-h);
  transition: background-color .35s var(--ease), backdrop-filter .35s var(--ease), transform .4s var(--ease);
}
.header.is-solid { background: rgba(0,0,0,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header__logo { display: flex; align-items: center; color: var(--white); width: clamp(150px, 16vw, 210px); }
.header__logo svg { width: 100%; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav__link, .nav__trigger {
  background: none; border: 0; cursor: pointer;
  padding: .6rem .8rem; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  color: rgba(255,255,255,.86);
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav__trigger { display: inline-flex; align-items: center; gap: .35rem; }
.nav__trigger svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { margin-left: .75rem; }
.nav__item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(620px, 80vw);
  transform: translate(-50%, 8px);
  background: var(--concrete);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-l);
  padding: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__group .mega__title { margin: .25rem .75rem .5rem; font-size: var(--fs-xs); color: var(--gray); font-weight: 600; }
.mega__link {
  display: grid; grid-template-columns: 56px 1fr; gap: .9rem; align-items: center;
  padding: .7rem .75rem; border-radius: 14px; text-decoration: none;
  transition: background-color .2s;
}
.mega__link:hover { background: rgba(255,255,255,.06); }
.mega__link img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; filter: grayscale(.4) contrast(1.05); }
.mega__thumb-ph { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(140deg, var(--terracota), #5d2a19); display: grid; place-items: center; }
.mega__thumb-ph svg { width: 26px; height: 26px; color: var(--white); }
.mega__link strong { display: block; font-size: var(--fs-base); }
.mega__link span { display: block; font-size: var(--fs-xs); color: var(--gray); line-height: 1.35; }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--white); margin: 4px auto; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mnav {
  position: fixed; inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0; z-index: 54;
  background: var(--black);
  padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mnav a { display: block; padding: 1rem 0; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.mnav .mnav__sub a { font-size: 1.1rem; font-weight: 500; padding: .55rem 0 .55rem 1rem; color: rgba(255,255,255,.75); }
.mnav__label { display: block; padding: 1rem 0 .25rem; font-size: 1.5rem; font-weight: 700; }
.mnav .btn { width: 100%; margin-top: 1.75rem; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* page flow */
.page-flow { position: relative; }

/* ==========================================================
   LED guide line (runs the full page)
   ========================================================== */
.led-guide { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.led-guide path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.led-guide .glow { stroke: var(--led); stroke-width: 10; opacity: .32; filter: url(#ledBlur); }
.led-guide .core { stroke: var(--led-core); stroke-width: 2; }
.led-guide .track { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.on-light-zone .led-guide .core { stroke: var(--terracota); }

/* ==========================================================
   Kettlebell canvas
   ========================================================== */
#kettlebell { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 20; opacity: 0; transition: opacity .6s var(--ease); }
#kettlebell.is-ready { opacity: 1; }

/* ==========================================================
   Hero — encendido de la fachada
   ========================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #02040A; z-index: 4; }
.hero__sky { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 110%, #0d1830 0%, #050913 45%, #010205 100%); }
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero__scene { position: absolute; inset: 0; transform-origin: 50% 62%; will-change: transform; }
.hero__facade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: brightness(.18) saturate(.6); will-change: filter; }
.hero__leds { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__leds path { fill: none; stroke-linecap: round; }
.hero__leds .glow { stroke: var(--led); stroke-width: 18; opacity: .55; filter: url(#heroBlur); }
.hero__leds .core { stroke: var(--led-core); stroke-width: 4; }
.hero__sign { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; mix-blend-mode: screen; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 46%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.94) 100%); }

.hero__intro {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; padding-inline: var(--gutter);
}
.hero__intro p { margin: 0 auto; max-width: 18em; font-size: var(--fs-xl); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.hero__intro small { display: block; margin-top: 1.25rem; font-size: var(--fs-sm); color: rgba(255,255,255,.6); font-weight: 500; }
.hero__scrollcue { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.hero__scrollcue i { width: 1px; height: 46px; background: linear-gradient(var(--led), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: clamp(1.5rem, 5vh, 3.5rem);
}
.hero__content .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 2rem 3rem; }
.hero__title { font-size: var(--fs-3xl); line-height: .9; font-weight: 800; letter-spacing: -.04em; margin: 0; }
.hero__title .serif-it { display: block; font-weight: 500; font-size: .62em; letter-spacing: -.02em; margin-top: .12em; color: var(--led-core); }
.hero__sub { margin: 1.25rem 0 0; max-width: 30em; font-size: var(--fs-md); color: rgba(255,255,255,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.countdown { justify-self: end; text-align: right; }
.countdown__label { font-size: var(--fs-sm); color: rgba(255,255,255,.75); margin: 0 0 .5rem; }
.countdown__grid { display: flex; gap: clamp(.75rem, 2vw, 1.5rem); justify-content: flex-end; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 3.2ch; }
.countdown__num { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.countdown__unit span:last-child { font-size: var(--fs-xs); color: var(--gray); margin-top: .35rem; }
.countdown__open { font-size: var(--fs-lg); font-weight: 700; color: var(--led-core); }
.hero__spots { margin-top: 1rem; font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.hero__spots strong { color: var(--led-core); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .hero__content .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero__sub { font-size: var(--fs-base); margin-top: .9rem; }
  .hero__actions { margin-top: 1.25rem; }
  .hero__actions .btn { min-height: 48px; }
  .countdown__label { font-size: var(--fs-xs); }
  .countdown__num { font-size: 2.3rem; }
  .hero__spots { margin-top: .6rem; font-size: var(--fs-xs); }
  .countdown { justify-self: start; text-align: left; }
  .countdown__grid { justify-content: flex-start; }
  .hero__facade { object-position: 47% 50%; }
}

/* ==========================================================
   Generic section
   ========================================================== */
.section { position: relative; padding-block: clamp(5rem, 12vh, 9rem); z-index: 4; }
.section--light { background: var(--paper); color: var(--black); }
.section--white { background: var(--white); color: var(--black); }
.section--dark { background: var(--black); }
.section--concrete { background: var(--concrete); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.section__head .lede { margin: 0; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } }

/* ---------- Sobre Terra ---------- */
.about__statement { font-size: var(--fs-2xl); line-height: 1; font-weight: 800; letter-spacing: -.035em; margin: 0; max-width: 11.5em; }
.about__statement .serif-it { font-weight: 500; color: var(--terracota); }
.about__intro { margin: 2rem 0 0; max-width: 36em; font-size: var(--fs-md); color: #333; }
.about__list { list-style: none; margin: clamp(3rem, 8vh, 5rem) 0 0; padding: 0; border-top: 1.5px solid var(--black); }
.about__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .5rem 3rem;
  padding: 1.6rem 0; border-bottom: 1px solid rgba(0,0,0,.14);
}
.about__list h3 { margin: 0; font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.about__list p { margin: 0; color: #3a3a3a; max-width: 34em; }
@media (max-width: 760px) { .about__list li { grid-template-columns: 1fr; } }

/* ---------- Servicios: sticky stack ---------- */
.services { background: var(--black); }
.services__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem 5rem; }
.services__aside { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 4rem); align-self: start; }
.services__aside .lede { margin-top: 1.5rem; }
.services__index { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: .25rem; }
.services__index a { display: flex; align-items: baseline; gap: .9rem; text-decoration: none; color: var(--gray-dark); font-size: var(--fs-lg); font-weight: 700; padding: .3rem 0; transition: color .3s var(--ease); }
.services__index a small { font-size: var(--fs-xs); font-weight: 600; color: inherit; }
.services__index a.is-active { color: var(--white); }
.services__index a.is-active::before { content: ""; width: 28px; height: 2px; background: var(--led); box-shadow: 0 0 12px var(--led); align-self: center; }

.services__stack { display: grid; gap: 0; }
.scard {
  position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 2rem);
  height: min(72vh, 640px); min-height: 460px;
  border-radius: var(--radius-l); overflow: hidden;
  margin-bottom: 14vh;
  background: var(--concrete);
  transform-origin: 50% 0;
  will-change: transform, filter;
}
.scard:last-child { margin-bottom: 0; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.62) contrast(1.08); }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.85) 100%); }
.scard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.4rem, 3vw, 2.4rem); }
.scard__kind { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.scard__title { margin: 1rem 0 .75rem; font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); line-height: .9; font-weight: 800; letter-spacing: -.03em; }
.scard__title .outline { -webkit-text-stroke-width: 2px; display: block; }
.scard__body p { margin: 0; max-width: 30em; color: rgba(255,255,255,.85); }
.scard__soon { display: inline-block; margin-top: 1rem; font-size: var(--fs-sm); color: var(--led-core); font-weight: 600; }
.scard--pilates { background: radial-gradient(90% 70% at 70% 20%, #5a2a1a 0%, #20120c 55%, #0b0706 100%); }
.scard--pilates .scard__art { position: absolute; right: -8%; top: -8%; width: 70%; color: rgba(176,85,53,.35); }

@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__aside { position: relative; top: 0; }
  .services__index { display: none; }
  .scard { height: 66vh; min-height: 420px; margin-bottom: 8vh; }
}

/* ---------- Así va Terra ---------- */
.progress { background: var(--concrete); overflow: hidden; }
.progress__rail { scroll-padding-inline: var(--gutter); display: flex; gap: 1rem; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.progress__rail::-webkit-scrollbar { display: none; }
.progress__rail figure { margin: 0; flex: 0 0 clamp(240px, 28vw, 380px); scroll-snap-align: start; }
.progress__rail img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-s); filter: grayscale(.5) contrast(1.05); }
.progress__rail figcaption { margin-top: .7rem; font-size: var(--fs-sm); color: var(--gray); }
.progress__controls { display: flex; gap: .5rem; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--white); color: var(--black); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Costos ---------- */
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: stretch; }
.price-card {
  position: relative; border-radius: var(--radius-l); padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--black); color: var(--white); overflow: hidden;
  display: flex; flex-direction: column;
}
.price-card__name { font-size: var(--fs-md); font-weight: 700; margin: 0; }
.price-card__amount { display: flex; align-items: flex-start; gap: .2em; margin: 1.5rem 0 .25rem; line-height: .85; }
.price-card__amount sup { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); font-weight: 700; margin-top: .25em; }
.price-card__amount strong { font-size: clamp(5rem, 2.5rem + 10vw, 10rem); font-weight: 800; letter-spacing: -.05em; }
.price-card__per { color: var(--gray); font-size: var(--fs-sm); margin: 0; }
.price-card__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.price-card__list li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; }
.price-card__list svg { width: 20px; height: 20px; color: var(--led); margin-top: .15rem; }
.price-card__actions { margin-top: auto; padding-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.price-card__glow { position: absolute; right: -20%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,177,92,.22), transparent 65%); pointer-events: none; }

.promo-card { border-radius: var(--radius-l); padding: clamp(1.6rem, 4vw, 3rem); background: var(--terracota); color: var(--white); display: flex; flex-direction: column; }
.promo-card h3 { margin: 0; font-size: clamp(4rem, 2rem + 7vw, 7.5rem); line-height: .85; font-weight: 800; letter-spacing: -.05em; }
.promo-card h3 .serif-it { display: block; font-size: .32em; letter-spacing: -.01em; margin-top: .35em; font-weight: 500; }
.promo-card p { margin: 1.25rem 0 0; max-width: 28em; }
.spots { margin-top: auto; padding-top: 2rem; }
.spots__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; font-weight: 700; }
.spots__row strong { white-space: nowrap; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.spots__bar { height: 10px; border-radius: 999px; background: rgba(0,0,0,.25); margin-top: .75rem; overflow: hidden; }
.spots__bar i { display: block; height: 100%; width: 100%; background: var(--white); border-radius: inherit; transform-origin: left; transition: transform 1.2s var(--ease); }
.spots__note { margin-top: .6rem; font-size: var(--fs-xs); opacity: .85; }
.pricing__notes { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; color: #3a3a3a; font-size: var(--fs-sm); }
.pricing__notes p { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.14); }
.pricing__notes strong { color: var(--black); }
@media (max-width: 900px) { .pricing__grid, .pricing__notes { grid-template-columns: 1fr; } }

/* ---------- Inscripción ---------- */
.signup { background: var(--black); }
.steps { list-style: none; margin: 0 0 clamp(3rem, 7vh, 4.5rem); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 1.5rem 0 0; border-top: 1.5px solid rgba(255,255,255,.18); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--led); color: var(--led-core); font-weight: 700; margin-bottom: 1rem; box-shadow: 0 0 18px rgba(255,177,92,.25); }
.steps li.is-done::before { background: var(--led); color: var(--black); }
.steps h3 { margin: 0 0 .5rem; font-size: var(--fs-lg); line-height: 1.15; }
.steps p { margin: 0; color: rgba(255,255,255,.75); max-width: 26em; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.signup__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; }
.form-card { background: var(--white); color: var(--black); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 3rem); }
.form-card h3 { margin: 0; font-size: var(--fs-xl); line-height: 1; letter-spacing: -.025em; }
.form-card > p { margin: .75rem 0 2rem; color: #444; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1.5px solid #D4D4D2; border-radius: 12px; background: var(--white);
  font: inherit; color: var(--black);
  transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracota); box-shadow: 0 0 0 3px rgba(176,85,53,.15); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field__error { font-size: var(--fs-xs); color: #B42318; min-height: 1em; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid #D4D4D2; font-size: var(--fs-sm); font-weight: 600; transition: all .2s; }
.chip input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--terracota); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: var(--fs-sm); color: #333; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--terracota); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form__status { font-size: var(--fs-sm); font-weight: 600; }
.form__status.is-error { color: #B42318; }
.hp { position: absolute !important; left: -9999px !important; }
.form-success { text-align: left; }
.form-success svg { width: 56px; height: 56px; color: var(--terracota); }
.form-success h3 { margin-top: 1rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.pay-card { border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--concrete); display: flex; flex-direction: column; gap: 1rem; }
.pay-card h3 { margin: 0; font-size: var(--fs-lg); line-height: 1.15; }
.pay-card p { margin: 0; color: rgba(255,255,255,.78); }
.pay-card .btn { align-self: flex-start; }
.pay-card__secure { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--gray); }
.pay-card__secure svg { width: 16px; height: 16px; }
.pay-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: .5rem 0; width: 100%; }
@media (max-width: 960px) { .signup__grid { grid-template-columns: 1fr; } }

/* ---------- Ubicación ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.addr { font-size: var(--fs-lg); line-height: 1.25; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.addr span { display: block; font-weight: 500; color: #555; font-size: var(--fs-base); margin-top: .5rem; }
.hours { margin: 2.25rem 0 0; display: grid; gap: 0; border-top: 1.5px solid var(--black); }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.14); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.location__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.parking { background: var(--black); color: var(--white); border-radius: var(--radius-l); overflow: hidden; }
.parking__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem) 0; }
.parking__big { font-size: clamp(4rem, 2rem + 6vw, 7rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; }
.parking__big small { display: block; font-size: var(--fs-md); letter-spacing: 0; font-weight: 600; margin-top: .6rem; color: var(--led-core); }
.parking__title { font-family: var(--serif); font-style: italic; font-size: var(--fs-xl); line-height: 1; margin: 0; text-align: right; }
.parking__map { display: block; width: 100%; height: auto; margin-top: 1rem; }
.parking__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem); font-size: var(--fs-sm); }
.parking__legend strong { display: block; font-size: var(--fs-base); }
.parking__legend span { color: var(--gray); }
@media (max-width: 960px) { .location__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 3rem 5rem; }
.faq__aside { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 3rem); align-self: start; }
.faq__aside p { margin-top: 1.25rem; }
.faq__list { border-top: 1.5px solid var(--black); }
.faq__item { border-bottom: 1px solid rgba(0,0,0,.14); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 36px; gap: 1rem; align-items: center;
  padding: 1.35rem 0; font-size: var(--fs-md); font-weight: 700; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--black); color: var(--white); border-color: var(--black); }
.faq__answer { overflow: hidden; }
.faq__answer > div { padding: 0 3.5rem 1.6rem 0; color: #333; max-width: 42em; }
.faq__answer p { margin: 0 0 .75rem; }
.faq__answer p:last-child { margin: 0; }
@media (max-width: 960px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: relative; top: 0; } .faq__answer > div { padding-right: 0; } }

/* ---------- Contacto + footer ---------- */
.contact { background: var(--black); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: stretch; }
.contact__big { font-size: var(--fs-xl); line-height: .95; font-weight: 800; letter-spacing: -.035em; margin: 0; }
.contact__big .serif-it { color: var(--led-core); font-weight: 500; }
.contact__lines { margin-top: 2.5rem; display: grid; gap: 1rem; }
.contact__line { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; text-decoration: none; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact__line svg { width: 22px; height: 22px; }
.contact__line .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.contact__line small { display: block; color: var(--gray); font-size: var(--fs-xs); }
.contact__line strong { font-size: var(--fs-md); }
.contact__line:hover .ic { background: var(--terracota); }
.map-frame { border-radius: var(--radius-l); overflow: hidden; min-height: 420px; background: var(--concrete); position: relative; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) invert(.92) hue-rotate(180deg); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .map-frame { min-height: 340px; } }

.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.1); padding: 3rem 0 2rem; position: relative; z-index: 4; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer__brand svg { width: 200px; height: auto; }
.footer__brand p { color: var(--gray); font-size: var(--fs-sm); margin: 1rem 0 0; max-width: 24em; }
.footer h4 { margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--gray); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; font-size: var(--fs-sm); }
.footer a:hover { color: var(--led-core); }
.socials { display: flex; gap: .5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--terracota); border-color: var(--terracota); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: var(--gray); }
.footer__huge { margin-top: 3rem; color: rgba(255,255,255,.06); }
.footer__huge svg { width: 100%; height: auto; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 50;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.2rem 0 1rem; border-radius: 999px;
  background: #25D366; color: #06331A; font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero__facade { filter: brightness(.7) saturate(.9); }
  .hero__intro, .hero__scrollcue { display: none; }
  .scard { position: relative; top: 0; }
}

/* ---------- Legal pages ---------- */
.legal { background: var(--paper); color: var(--black); padding: calc(var(--topbar-h) + var(--header-h) + 3rem) 0 5rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: var(--fs-xl); line-height: 1; letter-spacing: -.025em; margin: 0 0 .75rem; }
.legal h2 { font-size: var(--fs-md); margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: #2a2a2a; }
.legal .updated { color: #666; font-size: var(--fs-sm); }
.legal mark { background: #FFE2BF; padding: 0 .25em; border-radius: 3px; }

/* Promo 2x1 sin contador */
.promo-card__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.promo-card__until { margin: 0; font-weight: 700; }
.btn--light { background: var(--white); color: var(--terracota); }
.btn--light:hover { background: var(--black); color: var(--white); }
.parking__big--text { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1; letter-spacing: -.03em; }

/* Banner de cookies */
.ck { position: fixed; left: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 70; width: min(460px, calc(100vw - 2rem)); background: var(--concrete); color: var(--white); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-l); padding: 1.25rem; box-shadow: 0 24px 60px rgba(0,0,0,.5); display: grid; gap: 1rem; font-size: var(--fs-sm); }
.ck[hidden] { display: none; }
.ck__text { margin: 0; line-height: 1.5; color: rgba(255,255,255,.85); }
.ck__text a { color: var(--led-core); }
.ck__options { display: grid; gap: .7rem; }
.ck__options[hidden] { display: none; }
.ck__opt { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; color: rgba(255,255,255,.8); }
.ck__opt input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--terracota); }
.ck__options .btn { justify-self: start; color: var(--white); }
.ck__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; }
.ck__actions .btn--ghost { color: var(--white); }
.ck__link { margin-right: auto; background: none; border: 0; padding: .5rem 0; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: var(--fs-sm); }

.hero__kicker { display: block; font-family: var(--sans); font-style: normal; font-size: var(--fs-md); font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.75); margin-bottom: .9rem; }
@media (max-width: 860px) { .hero__kicker { font-size: var(--fs-sm); margin-bottom: .5rem; } }
