/* ==========================================================================
   Top Bowl — Gran Inauguración
   Lenguaje visual inspirado en BPM Experience, con la paleta y tipografía
   del Manual de Marca Top Bowl 2025.
   ========================================================================== */

/* Parsley (script del manual) no está en Google Fonts; mientras tanto se usa
   Yellowtail. Con la licencia, agregar assets/fonts/Parsley-Regular.woff2 y
   añadir aquí: url("../assets/fonts/Parsley-Regular.woff2") format("woff2") */
@font-face {
  font-family: "Parsley";
  src: local("Parsley"), local("Parsley-Regular");
  font-display: swap;
}

:root {
  /* Manual de marca */
  --green: #014538;
  --purple: #30286F;
  --orange: #F26B38;
  --sand: #F2E8D5;

  /* Apoyo */
  --ink: #0d0c12;
  --ink-2: #16151d;
  --cream: #FBF7EF;
  --white: #ffffff;
  --muted: #6f6a60;
  --line: rgba(13, 12, 18, .1);
  --orange-deep: #c4481d;
  --error: #d23a2c;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Parsley", "Yellowtail", cursive;

  --r-xl: 32px;
  --r-lg: 24px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía utilitaria ---------- */
.kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange);
}
.kicker-sand { color: var(--sand); }

.h-display {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
}
.lead { margin-top: 22px; font-size: 1.05rem; color: var(--muted); max-width: 46ch; }

.script,
.script-grad {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.12em;
  line-height: .9;
}
.script { color: var(--orange); }
.script-grad {
  display: inline-block;
  padding: 0 .1em .08em 0;
  background: linear-gradient(90deg, #F26B38 0%, #ffb28f 25%, #F26B38 50%, #ff8657 75%, #F26B38 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -300% 0; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 .82rem/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 20px 34px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--orange); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 14px 34px -14px rgba(242, 107, 56, .9); }
.btn-orange:hover { background: #fff; color: var(--ink); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--ink); }
.btn-outline { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline:hover { border-color: #fff; }
.btn-text {
  background: none; border: 0; padding: 8px;
  font: 600 .9rem var(--font); color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.btn-text:hover { color: var(--ink); }

/* ---------- Header flotante (píldora) ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(13, 12, 18, .06);
  box-shadow: 0 10px 40px -12px rgba(13, 12, 18, .35);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: top .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled { top: 10px; }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 68px;
  padding: 0 12px 0 36px;
}
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-right { justify-content: flex-end; }
.nav-links a {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(13, 12, 18, .7);
  transition: color .25s;
}
.nav-links a:hover { color: var(--orange); }
.nav-logo { display: block; width: 104px; color: var(--ink); transition: transform .3s var(--ease); }
.nav-logo:hover { transform: scale(1.04); }
.nav-links a.nav-cta {
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
}
.nav-links a.nav-cta:hover { background: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .nav { top: 12px; }
  .nav-inner { grid-template-columns: auto 1fr; height: 60px; padding: 0 8px 0 22px; }
  .nav-left, .nav-right a:not(.nav-cta) { display: none; }
  .nav-logo { width: 86px; order: -1; }
  .nav-links a.nav-cta { padding: 12px 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 140px var(--gutter) 64px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 14s var(--ease) both;
}
.hero-media::before,
.hero-media::after { content: ""; position: absolute; inset: 0; }
.hero-media::before {
  /* tinte de marca: verde profundo → azul púrpura */
  background: linear-gradient(125deg, rgba(1, 69, 56, .72) 0%, rgba(13, 12, 18, .25) 50%, rgba(48, 40, 111, .78) 100%);
  mix-blend-mode: multiply;
}
.hero-media::after {
  background: linear-gradient(180deg, rgba(13, 12, 18, .55) 0%, rgba(13, 12, 18, .15) 35%, rgba(13, 12, 18, .92) 100%);
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-content { width: 100%; max-width: 1180px; text-align: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--sand);
}
.hero-kicker svg { width: 14px; height: 14px; fill: var(--orange); }

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.hero-title .script-grad { font-size: 1.22em; text-shadow: none; }
.hero-title .colon { color: #fff; }
.hero-title-xl {
  display: inline-block;
  margin-top: .04em;
  font-size: 1.45em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .92;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin-top: 40px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease), background-color .3s;
}
.chip svg { width: 18px; height: 18px; }
a.chip:hover { transform: scale(1.04); }
.chip-orange { background: var(--orange); color: #fff; }
.chip-glass {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.chip-sand { background: var(--sand); color: var(--ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.c-orange { color: var(--orange); }

.countdown {
  display: inline-flex;
  gap: 6px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(13, 12, 18, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.countdown > div { min-width: 74px; padding: 10px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.countdown b { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.countdown.is-live { padding: 14px 24px; font-weight: 700; color: var(--orange); }
.countdown-label { margin: 28px 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.countdown-label + .countdown { margin-top: 10px; }

@media (max-width: 640px) {
  .hero { padding-top: 120px; padding-bottom: 40px; }
  .hero-kicker { font-size: .66rem; letter-spacing: .26em; gap: 10px; }
  .hero-chips { gap: 10px; margin-top: 30px; }
  .chip { padding: 11px 16px; font-size: .8rem; }
  .chip-glass { padding: 11px 13px; gap: 7px; font-size: .76rem; }
  .chip-glass svg { width: 16px; height: 16px; }
  .chip-orange { flex-basis: 100%; justify-content: center; }
  .chip-sand { flex-basis: 100%; justify-content: center; padding-block: 15px; }
  .countdown > div { min-width: 62px; }
  .countdown b { font-size: 1.4rem; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  padding: 16px 0;
  background: linear-gradient(90deg, var(--orange-deep) 0%, var(--orange) 50%, var(--orange-deep) 100%);
  border-block: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  text-decoration: none;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-group span { font-family: var(--script); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; white-space: nowrap; }
.marquee-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 26px;
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
}
.marquee-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.marquee:hover .marquee-arrow svg { transform: translateX(3px); }
.marquee-star { width: 18px; height: 18px; fill: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section-head { text-align: center; margin: 0 auto clamp(48px, 6vw, 72px); }
.section-head .lead { margin-inline: auto; }

/* ---------- Promos ---------- */
.promos { background: var(--cream); }
.promos-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.promos-intro { align-self: center; padding-right: 24px; }

.deal {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px 34px;
  border-radius: var(--r-xl);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.deal:hover { transform: translateY(-6px); }
.deal-light {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(13, 12, 18, .35);
}
.deal-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 40px 70px -35px rgba(48, 40, 111, .8);
  overflow: hidden;
  isolation: isolate;
}
.deal-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #ffb28f, var(--orange));
}
.deal-dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -140px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 40, 111, .9), transparent 70%);
}

.deal-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #9a9488;
}
.deal-tag-orange { color: var(--orange); }
.deal-name {
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.02;
}
.deal-name em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.28em;
  letter-spacing: 0;
  color: var(--orange);
}
.deal-price {
  margin-top: 28px;
  font-size: clamp(4.2rem, 7vw, 6rem);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.05em;
}
.deal-price span { font-size: .5em; vertical-align: top; margin-left: 4px; letter-spacing: 0; }
.deal-price-orange { color: var(--orange); }
.deal-price-sub {
  margin-top: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9a9488;
}
.deal-list { margin: 30px 0 34px; display: grid; gap: 14px; }
.deal-list li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}
.deal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.deal-dark .deal-list li { color: rgba(255, 255, 255, .88); }
.deal .btn { margin-top: auto; }

.soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.soon {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 30px;
  border-radius: var(--r-xl);
  border: 1.5px dashed rgba(13, 12, 18, .2);
  transition: border-color .3s, background-color .3s;
}
.soon:hover { border-color: var(--orange); background: rgba(242, 107, 56, .04); }
.soon-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
  fill: var(--orange);
}
.soon-icon svg { width: 24px; height: 24px; }
.soon-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(242, 107, 56, .12);
  color: var(--orange-deep);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.soon h3 { font-size: 1.3rem; font-weight: 800; }
.soon p:not(.soon-tag) { margin-top: 6px; color: var(--muted); font-size: .95rem; }

@media (max-width: 1024px) {
  .promos-grid { grid-template-columns: 1fr 1fr; }
  .promos-intro { grid-column: 1 / -1; padding: 0 0 16px; }
}
@media (max-width: 680px) {
  .promos-grid, .soon-grid { grid-template-columns: 1fr; }
  .deal { padding: 32px 26px 26px; }
  .soon { padding: 24px; gap: 16px; }
  .soon-icon { width: 48px; height: 48px; }
}

/* ---------- Banda de frase ---------- */
.quote {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(60% 80% at 15% 100%, rgba(1, 69, 56, .7), transparent 70%),
    radial-gradient(60% 80% at 85% 0%, rgba(48, 40, 111, .8), transparent 70%),
    var(--ink);
  overflow: hidden;
}
.quote blockquote {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.quote blockquote .script-grad { font-size: 1.25em; }
.quote-sub {
  margin-top: 30px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Juegos / tarifas ---------- */
.juegos { background: var(--white); }
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 460px;
  gap: 20px;
}
.game {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.game-xl { grid-column: span 2; }
.game img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.game:hover img { transform: scale(1.06); }
.game::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(13, 12, 18, .95) 0%, rgba(13, 12, 18, .55) 45%, rgba(13, 12, 18, .05) 75%);
}
.game-body {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
}
.game-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
}
.game-name {
  margin: 6px 0 18px;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
}
.game-prices,
.game-table,
.game-promo {
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.game-prices { padding: 4px 18px; }
.game-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
}
.game-prices li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.game-prices b, .game-table b { font-size: 1.3rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

.game-table { padding: 6px 20px; max-width: 520px; }
.game-table [role="row"] {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
  padding: 12px 0;
}
.game-table [role="row"] + [role="row"] { border-top: 1px solid rgba(255, 255, 255, .12); }
.game-table b { text-align: right; font-size: 1.5rem; }
.gt-head span {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.gt-head span:not(:first-child) { text-align: right; }
.game-table [role="rowheader"] { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.vip {
  font-style: normal;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--orange);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.game-extra { margin-top: 14px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.game-promo { padding: 16px 18px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.game-promo b { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--orange); }

@media (max-width: 1024px) {
  .games { grid-template-columns: 1fr 1fr; }
  .game-xl { grid-column: 1 / -1; }
  .game-bar { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .games { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .game { min-height: 400px; }
  .game-xl { min-height: 500px; }
  .game-body { padding: 22px; }
  .game-table { padding: 4px 16px; }
  .game-table b { font-size: 1.2rem; }
}

/* ---------- Registro (split) ---------- */
.registro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 820px;
  background: var(--cream);
}
.registro-media {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}
.registro-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.registro-media::before,
.registro-media::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.registro-media::before {
  background: linear-gradient(160deg, rgba(1, 69, 56, .55), rgba(48, 40, 111, .65));
  mix-blend-mode: multiply;
}
.registro-media::after { background: linear-gradient(0deg, rgba(13, 12, 18, .95) 0%, rgba(13, 12, 18, .1) 65%); }
.registro-media-copy {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(32px, 5vw, 64px);
}
.registro-big {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.registro-big .script-grad { font-size: 1.1em; }
.registro-media-copy p:last-child { margin-top: 20px; max-width: 38ch; color: rgba(255, 255, 255, .8); }

.registro-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px) var(--gutter);
}
.form-wrap { width: 100%; max-width: 520px; }
.form-title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.form-sub { margin: 10px 0 40px; font-size: .92rem; color: var(--muted); }

.field { margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field label {
  display: block;
  margin-bottom: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8f897d;
}
.field input,
.phone {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid #d8d0bf;
  background: transparent;
  transition: border-color .25s;
}
.field input {
  padding: 12px 0;
  font: 500 1.05rem var(--font);
  color: var(--ink);
  border-radius: 0;
}
.field input::placeholder { color: #b8b1a3; font-weight: 400; }
.field input:focus { outline: none; }
.field input:focus,
.phone:focus-within { border-bottom-color: var(--ink); }
.phone { display: flex; align-items: center; gap: 10px; }
.phone span { font-weight: 700; color: var(--ink); }
.phone input { border: 0 !important; }
.field.has-error input,
.field.has-error .phone { border-bottom-color: var(--error); }

.error { margin-top: 8px; font-size: .8rem; font-weight: 500; color: var(--error); }
.error:empty { display: none; }

.consent {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent .box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid #cfc6b4;
  background: #fff;
  color: #fff;
  transition: background-color .2s, border-color .2s;
}
.consent .box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: all .2s var(--ease); }
.consent input:checked + .box { background: var(--green); border-color: var(--green); }
.consent input:checked + .box svg { opacity: 1; transform: none; }
.consent input:focus-visible + .box { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent a { color: var(--ink); font-weight: 600; }

.btn-submit {
  position: relative;
  justify-content: space-between;
  margin-top: 34px;
  padding: 8px 8px 8px 30px;
  min-height: 64px;
  font-size: .85rem;
}
.btn-submit:hover { transform: none; background: var(--ink); }
.btn-circle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  transition: background-color .3s, transform .3s var(--ease);
}
.btn-submit:hover .btn-circle { background: var(--orange); transform: translateX(-2px) rotate(-45deg); }
.spinner {
  display: none;
  position: absolute;
  right: 22px;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.is-loading .spinner { display: block; }
.is-loading .btn-circle { opacity: 0; }
.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 14px; text-align: center; font-size: .78rem; color: #9a9488; }

.success { text-align: center; outline: none; }
.success-badge {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
  box-shadow: 0 20px 40px -18px rgba(13, 12, 18, .6);
  animation: pop .6s cubic-bezier(.2, 1.5, .4, 1) both;
}
.success-badge svg { width: 52px; }
.success .kicker { margin-bottom: 10px; }
.success h3 { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.success h3 .script { font-size: 1.3em; }
.success > p:not(.kicker) { margin: 16px auto 0; max-width: 40ch; color: var(--muted); }
.success strong { color: var(--ink); }
.success-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

@media (max-width: 900px) {
  .registro { grid-template-columns: 1fr; min-height: 0; }
  .registro-media { min-height: 460px; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .registro-media { min-height: 400px; }
}

/* ---------- Sede ---------- */
.sede { background: var(--sand); }
.sede-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(13, 12, 18, .15);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.sede-bar span:last-child { color: var(--muted); }
.sede-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
}
.sede-name { color: var(--green); line-height: .9; }
.sede-name .script { display: block; color: var(--green); font-size: clamp(4rem, 9vw, 7.2rem); line-height: .85; }
.sede-name-2 {
  display: block;
  margin-left: .9em;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.sede-sub {
  margin: 18px 0 0 calc(.9 * clamp(2.4rem, 5vw, 4.2rem));
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.sede-copy > p:not(.sede-sub) { margin-top: 30px; max-width: 44ch; color: #4d4940; }
.sede-actions { margin-top: 32px; }
.sede-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -40px rgba(13, 12, 18, .6);
}
.sede-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sede-photo:hover img { transform: scale(1.04); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }

@media (max-width: 900px) {
  .sede-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sede-bar { font-size: .62rem; letter-spacing: .18em; }
  .sede-name-2 { margin-left: .5em; }
  .sede-sub { margin-left: calc(.5 * clamp(2.4rem, 5vw, 4.2rem)); }
  .gallery { gap: 10px; }
  .gallery figure { border-radius: 18px; }
}

/* ---------- CTA final ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 180px) 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(50% 70% at 0% 100%, rgba(1, 69, 56, .85), transparent 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(48, 40, 111, .9), transparent 70%),
    var(--ink);
  isolation: isolate;
}
.final-deco svg { position: absolute; z-index: -1; opacity: .9; animation: float 8s ease-in-out infinite; }
.fd1 { width: 70px; height: 70px; left: 9%; top: 22%; fill: var(--orange); }
.fd2 { width: 170px; height: 114px; right: 7%; bottom: 18%; fill: var(--orange); opacity: .8; animation-delay: -3s !important; }
.fd3 { width: 26px; height: 26px; right: 24%; top: 18%; fill: var(--sand); animation-delay: -5s !important; }
@keyframes float { 50% { transform: translateY(-16px) rotate(8deg); } }

.pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 107, 56, .45);
  background: rgba(242, 107, 56, .1);
  color: var(--orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.pill-outline svg { width: 16px; height: 16px; }
.final-title {
  margin-top: 28px;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.final-title .script-grad { font-size: 1.15em; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

@media (max-width: 640px) {
  .fd1 { width: 40px; height: 40px; left: 5%; top: 10%; }
  .fd2 { width: 90px; height: 60px; right: 3%; bottom: 6%; }
  .final-actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.footer { background: #07070a; color: var(--sand); padding: 72px 0 36px; }
.footer-logo { width: min(820px, 100%); margin: 0 auto; }
.footer-logo svg { width: 100%; height: auto; }
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 232, 213, .12);
  font-size: .8rem;
  color: rgba(242, 232, 213, .55);
}
@media (max-width: 640px) {
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- Aviso de privacidad ---------- */
.nav-inner-legal { grid-template-columns: auto 1fr; padding-left: 28px; }
.legal { padding: 150px var(--gutter) 100px; }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
.legal-meta { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.legal section { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.legal h3 { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); margin: 22px 0 10px; }
.legal p, .legal li { color: #3f3b34; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.legal-note { font-size: .88rem; font-style: italic; color: var(--muted) !important; }
.legal-consent { margin: 48px 0 28px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.pendiente { background: #ffe9a8; color: #6b4b00; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal-page .footer { padding-top: 12px; }
.legal-page .footer-row { margin-top: 24px; }
.footer-row a { color: inherit; }

/* Campo trampa anti-bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success .success-mail { margin-top: 10px; font-size: .92rem; }
.game-extra-tight { margin-top: 4px; }
