/* =========================================================
   01. RESET / VARIABLES
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #050507;
  --dark: #080A0F;
  --dark2: #0B0D15;
  --dark3: #0E1020;

  --blue: #1A6EFF;
  --blue-mid: #3A84FF;
  --blue-dim: rgba(26,110,255,.12);
  --blue-glow: rgba(26,110,255,.22);
  --blue-line: rgba(26,110,255,.25);

  --white: #fff;
  --w80: rgba(255,255,255,.8);
  --w50: rgba(255,255,255,.5);
  --w25: rgba(255,255,255,.25);
  --w08: rgba(255,255,255,.08);
  --w04: rgba(255,255,255,.04);

  --f: 'Inter', sans-serif;
  --fw-light: 300;
  --fw-reg: 400;
  --fw-med: 500;
}


/* =========================================================
   02. BASE
========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section[id],
div[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: var(--f);
  font-weight: var(--fw-reg);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}



p,
li,
small {
  font-size: 16px!important;
}

p,
li,
a,
input,
select,
button,
small,
.act-card i {
  font-weight: var(--fw-reg);
}

h1,
h2,
h3,
.s-title,
.hero-h1 {
  font-weight: var(--fw-light);
}

.unite-perks {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* =========================================================
   03. CUSTOM CURSOR
========================================================= */

#c1,
#c2 {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}


#c1 {
  width: 6px;
  height: 6px;
  background: var(--blue);
}

#c2 {
  width: 28px;
  height: 28px;
  border: 1px solid var(--blue-line);
  z-index: 9998;
  transition: .3s;
}

body:has(a:hover) #c2,
body:has(button:hover) #c2 {
  width: 44px;
  height: 44px;
  border-color: rgba(26,110,255,.5);
}


/* =========================================================
   04. NAVIGATION
========================================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3.5rem;
  transition: .4s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(5,5,7,.88);
  backdrop-filter: blur(20px) saturate(1.5);
  padding: 1.2rem 3.5rem;
  border-bottom-color: var(--blue-line);
}

.nav-logo img {
  height: 34px;
  display: block;
}

.nav-logo-fallback {
  display: none;
  font-size: 1.3rem;
  font-weight: var(--fw-light);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  transition: all 0.25s ease;
}

.footer-brand-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-links {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 2.5rem;
  list-style: none;
  transform: translateX(-50%);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--w50);
  text-decoration: none;
  transition: .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: .35s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta,
.btn-primary {
  padding: .75rem 1.5rem;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  text-decoration: none;
  transition: .3s;
}

.nav-cta {
  color: var(--blue);
  background: transparent;
  border-color: var(--blue-line);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--blue-mid);
  color: #fff;
  box-shadow: 0 0 24px var(--blue-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: none;
}

.hamburger span {
  width: 22px;
  height: 1px;
  background: var(--w50);
}


/* =========================================================
   05. MOBILE MENU
========================================================= */

#mob {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: rgba(5,5,7,.97);
}

#mob a {
  font-size: 1.6rem;
  font-weight: var(--fw-light);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--w80);
  text-decoration: none;
}

.mob-cta {
  padding: 1rem 2.5rem;
  font-size: .65rem !important;
  color: #fff !important;
  background: var(--blue);
}


/* =========================================================
   06. HERO
========================================================= */

#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3.5rem 6rem;
  background:
    linear-gradient(90deg, rgba(5,5,7,.92), rgba(5,5,7,.35), rgba(5,5,7,.88)),
    radial-gradient(ellipse 80% 70% at 60% 30%, rgba(26,110,255,.2), transparent 55%),
    url('../images/heroback.jpg') center/cover no-repeat;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .035;
  background-image: url("../images/heroback.jpg");
  background-size: 200px;
}

.hero-line {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-line), transparent 70%);
}

.hero-corner {
  position: absolute;
  top: 6.5rem;
  right: 3.5rem;
  z-index: 2;
  text-align: right;
}

.hero-corner span {
  display: block;
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--w25);
}

.hero-corner strong {
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
  font-weight: var(--fw-reg);
  letter-spacing: .12em;
  color: var(--blue);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-eyebrow,
.s-tag,
.apertura-tag {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
  font-size: .58rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-eyebrow::before,
.s-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--blue);
}

.hero-h1 {
  margin-bottom: 2.5rem;
  font-size: clamp(3.5rem, 8.5vw, 9rem);
  line-height: .95;
  letter-spacing: -.035em;
}

.hero-h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26,110,255,.65);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.hero-sub {
  max-width: 480px;
  font-size: .92rem;
  color: var(--w50);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.btn-ghost {
  display: flex;
  gap: .6rem;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--w50);
  text-decoration: none;
}


/* =========================================================
   07. HERO STATS
========================================================= */

.hero-stats-section {
  position: relative;
  padding: 3.25rem 0;
  background: linear-gradient(90deg, var(--dark), var(--dark2), var(--dark));
  border-top: 1px solid var(--blue-line);
  border-bottom: 1px solid var(--blue-line);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}

.hero-stat {
  padding: 2.75rem 3.5rem;
  border-right: 1px solid var(--blue-line);
}

.hero-stat b {
  display: block;
  font-size: 2rem;
  font-weight: var(--fw-light);
  line-height: 1;
}

.hero-stat b span {
  color: var(--blue);
}

.hero-stat small {
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--w25);
}


/* =========================================================
   08. MARQUEE
========================================================= */

.marquee-section {
  overflow: hidden;
  background: linear-gradient(90deg, var(--dark), var(--dark2), var(--dark));
  border-top: 1px solid var(--blue-line);
  border-bottom: 1px solid var(--blue-line);
}

.marquee-track-a,
.marquee-track-b {
  display: flex;
  width: max-content;
}

.marquee-track-a {
  animation: mq-a 40s linear infinite;
  border-bottom: 1px solid rgba(26,110,255,.08);
}

.marquee-track-b {
  animation: mq-b 50s linear infinite;
}

.mq-item {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 2.2rem 3.5rem;
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  font-weight: var(--fw-light);
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--w50);
}

.mq-item.accent {
  color: var(--blue);
}

.mq-item span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .35;
}

.marquee-track-b div {
  padding: 2rem 3.5rem;
  font-size: clamp(.9rem, 1.4vw, 1.2rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .45;
}


/* =========================================================
   09. APERTURA
========================================================= */

#apertura {
  padding: 5rem 3.5rem;
  background:
    radial-gradient(ellipse 50% 100% at 50% 50%, rgba(26,110,255,.07), transparent 70%),
    var(--dark2);
  border-bottom: 1px solid var(--blue-line);
}

.apertura-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.apertura-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.apertura-inner h2 span {
  color: var(--blue);
}

.cd-blocks {
  display: flex;
  gap: 1px;
}

.cd-blocks div {
  min-width: 90px;
  padding: 1.8rem 2rem;
  background: var(--w04);
  border: 1px solid var(--blue-line);
  text-align: center;
}

.cd-blocks b {
  display: block;
  font-size: 3rem;
  font-weight: var(--fw-light);
}

.cd-blocks small {
  font-size: .5rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
}


/* =========================================================
   10. GENERIC SECTIONS
========================================================= */

.s-pad {
  padding: 7rem 3.5rem;
}

.mesh-1 {
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(26,110,255,.13), transparent 55%),
    radial-gradient(ellipse 40% 60% at 85% 70%, rgba(26,90,220,.09), transparent 50%),
    var(--black);
}

.mesh-2 {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(26,110,255,.11), transparent 55%),
    var(--dark2);
}

.mesh-3 {
  background:
    radial-gradient(ellipse 55% 60% at 30% 50%, rgba(26,110,255,.10), transparent 50%),
    var(--dark);
}

.s-title {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -.03em;
  line-height: 1;
}

.s-title em {
  font-style: normal;
  color: var(--blue);
}

.s-sub,
.gym-copy {
  max-width: 560px;
  font-size: .9rem;
  color: var(--w50);
  line-height: 2;
}


/* =========================================================
   11. GYM SECTION
========================================================= */

.gym-grid,
.unite-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.gym-copy {
  margin: 2rem 0 2.5rem;
}

.gym-features {
  list-style: none;
}

.gym-features li,
.unite-perks li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--w04);
  font-size: .82rem;
  color: var(--w50);
}

.gym-features li::before,
.unite-perks li::before {
  content: '+';
  margin-right: 1rem;
  color: var(--blue);
}

.gym-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 2px;
}

.gym-gallery div {
  position: relative;
  background:
    linear-gradient(135deg, rgba(26,110,255,.08), transparent),
    url('../images/gal-_0000.jpg') center/cover;
}

.gym-gallery div:first-child {
  grid-row: span 2;
}

.gym-gallery div:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(26,110,255,.08), transparent),
    url('../images/gal-_0001.jpg');
}

.gym-gallery div:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(26,110,255,.08), transparent),
    url('../images/gal-_0003.jpg');
}

.gym-gallery span {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  font-size: .55rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--w50);
}


/* =========================================================
   12. GYM FULLWIDTH VIDEO MODULE
========================================================= */

.gym-video-full {
  position: relative;
  min-height: 520px;
  margin: 6rem -3.5rem -7rem;
  padding: 5rem 3.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,5,7,.88) 0%, rgba(5,5,7,.52) 46%, rgba(5,5,7,.86) 100%),
    radial-gradient(circle at 20% 40%, rgba(26,110,255,.36), transparent 32%),
    radial-gradient(circle at 78% 62%, rgba(92,226,255,.18), transparent 34%),
    url('../images/programa2.svg') center/cover no-repeat;
  border-top: 1px solid var(--blue-line);
  border-bottom: 1px solid var(--blue-line);
}

.gym-video-full::before {
  content: '';
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 25% 35%, rgba(26,110,255,.34), transparent 26%),
    radial-gradient(circle at 72% 58%, rgba(80,210,255,.18), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(26,110,255,.12), transparent 30%);
  mix-blend-mode: screen;
  opacity: .72;
  animation: videoMeshFloat 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.gym-video-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,7,.15), rgba(5,5,7,.62));
  pointer-events: none;
}

.gym-video-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.gym-video-kicker {
  margin-bottom: 1.1rem;
  font-size: .55rem;
  font-weight: var(--fw-reg);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--blue);
}

.gym-video-content h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: var(--fw-light);
  letter-spacing: -.04em;
  line-height: 1;
}

.gym-video-content p:not(.gym-video-kicker) {
  max-width: 470px;
  margin-bottom: 2rem;
  font-size: .9rem;
  font-weight: var(--fw-reg);
  color: var(--w50);
  line-height: 2;
}

.video-lightbox-trigger {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.7rem;
  background: rgba(26,110,255,.1);
  border: 1px solid var(--blue-line);
  color: #fff;
  text-decoration: none;
  font-size: .62rem;
  font-weight: var(--fw-reg);
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .25s;
}

.video-lightbox-trigger:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 34px var(--blue-glow);
  transform: translateY(-2px);
}

.video-play-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  line-height: 1;
}


/* =========================================================
   13. VIDEO LIGHTBOX
========================================================= */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-lightbox.is-open {
  display: flex;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,3,8,.86);
  backdrop-filter: blur(18px) saturate(1.3);
}

.video-lightbox-frame {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--blue-line);
  box-shadow:
    0 30px 100px rgba(0,0,0,.6),
    0 0 60px var(--blue-glow);
}

.video-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-lightbox-close {
  position: fixed;
  top: 1.4rem;
  right: 1.5rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(5,5,7,.65);
  border: 1px solid var(--blue-line);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: none;
}


/* =========================================================
   14. ACTIVITY CARDS
========================================================= */

.acts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--w04);
}

.act-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--bg) center/cover no-repeat;
  cursor: none;
}

.act-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,.38), rgba(5,5,7,.9) 68%),
    radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(26,110,255,.42), transparent 38%);
  transition: .2s;
}

.act-card::after {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 30%, rgba(26,110,255,.35), transparent 28%),
    radial-gradient(circle at 72% 60%, rgba(98,232,255,.18), transparent 26%);
  mix-blend-mode: screen;
  opacity: .55;
  animation: meshMove 8s ease-in-out infinite alternate;
}

.act-card > * {
  position: relative;
  z-index: 1;
}

.act-card div {
  font-size: .55rem;
  letter-spacing: .25em;
  color: var(--w50);
}

.act-card i {
  font-style: normal;
  font-size: 2rem;
  color: var(--blue);
}

.act-card h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.act-card p {
  flex: 1;
  font-size: .78rem;
  color: var(--w50);
  line-height: 1.85;
}

.act-card small {
  font-size: .52rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}


/* =========================================================
   15. PROGRAMS CAROUSEL
========================================================= */

.prog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.prog-controls button {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--blue-line);
  color: #fff;
  cursor: none;
}

.prog-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.prog-track::-webkit-scrollbar {
  display: none;
}

.prog-track article {
  flex: 0 0 320px;
  background: var(--dark2);
  border: 1px solid var(--w04);
  scroll-snap-align: start;
}

.prog-track img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.prog-track article div {
  padding: 1.8rem;
}

.prog-track small {
  font-size: .52rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
}

.prog-track h3 {
  margin: .7rem 0;
  font-size: 1.05rem;
}

.prog-track p {
  font-size: .78rem;
  color: var(--w50);
  line-height: 1.8;
}


/* =========================================================
   16. TESTIMONIALS
========================================================= */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--w04);
}

.testi-grid article {
  padding: 2.5rem 2rem;
  background: var(--dark);
}

.testi-grid p {
  margin-bottom: 1.5rem;
  color: var(--w50);
  line-height: 2;
  font-style: italic;
}

.testi-grid b {
  display: block;
  font-weight: var(--fw-reg);
}

.testi-grid small {
  color: var(--w25);
}


/* =========================================================
   17. UNITE / FORM SECTION
========================================================= */

#unite {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,110,255,.09), transparent 60%),
    var(--dark2);
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  background: var(--w04);
  border: 1px solid var(--blue-line);
}

.form-wrap h3 {
  margin-bottom: .5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blue-line);
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-wrap input,
.form-wrap select {
  padding: .8rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--w08);
  color: #fff;
  font-family: var(--f);
  outline: 0;
}

.form-wrap input:focus,
.form-wrap select:focus {
  border-bottom-color: var(--blue);
}

.form-wrap option {
  background: var(--dark2);
}

.form-wrap button {
  margin-top: .5rem;
  padding: 1rem;
  background: var(--blue);
  border: 0;
  color: #fff;
  font-family: var(--f);
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: none;
}


/* =========================================================
   18. FORM PHP STATES
========================================================= */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#waitlistSubmit:disabled {
  opacity: .6;
  cursor: progress;
}

#formMsg {
  min-height: 1.2em;
  margin-top: .9rem;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--blue);
  text-align: center;
}

#formMsg.is-success {
  color: rgba(255,255,255,.82);
}

#formMsg.is-error {
  color: #ff6b6b;
}


/* =========================================================
   19. FOOTER
========================================================= */

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 3.5rem 2.5rem;
  background: #030305;
  border-top: 1px solid var(--blue-line);
}

footer b {
  font-size: 1.1rem;
  font-weight: var(--fw-light);
  letter-spacing: .3em;
}

footer p,
footer a {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--w50);
  text-decoration: none;
}


/* =========================================================
   20. REVEAL STATES
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }


/* =========================================================
   21. ANIMATIONS
========================================================= */

@keyframes mq-a {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mq-b {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes meshMove {
  0% { transform: translate(-4%, -2%) rotate(0deg); }
  100% { transform: translate(4%, 3%) rotate(8deg); }
}

@keyframes videoMeshFloat {
  from {
    transform: translate(-3%, -2%) rotate(0deg) scale(1);
  }

  to {
    transform: translate(4%, 3%) rotate(8deg) scale(1.04);
  }
}


/* =========================================================
   22. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1024px) {
  nav {
    padding: 1.5rem 2rem;
  }

  nav.scrolled {
    padding: 1rem 2rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #hero {
    padding: 0 2rem 4rem;
  }

  .hero-corner {
    display: none;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .hero-stats-section {
    padding: 2.4rem 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat {
    padding: 2rem;
    border-bottom: 1px solid var(--blue-line);
  }

  .s-pad {
    padding: 4.5rem 2rem;
  }

  .gym-grid,
  .unite-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gym-video-full {
    min-height: 440px;
    margin: 4.5rem -2rem -4.5rem;
    padding: 4rem 2rem;
  }

  .acts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .apertura-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cd-blocks {
    flex-wrap: wrap;
  }

  .prog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}


/* =========================================================
   23. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 640px) {
  body {
    cursor: auto;
  }

  #c1,
  #c2 {
    display: none;
  }

  .hero-h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: none;
  }

  .marquee-section {
    display: none;
  }

  .acts-grid {
    grid-template-columns: 1fr;
  }

  .f-row {
    grid-template-columns: 1fr;
  }

  .cd-blocks div {
    min-width: 72px;
    padding: 1.4rem 1.2rem;
  }

  footer {
    flex-direction: column;
  }

  .gym-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 180px 180px;
  }

  .gym-gallery div:first-child {
    grid-row: auto;
  }

  .gym-video-full {
    min-height: 380px;
  }

  .video-lightbox {
    padding: 1rem;
  }

  .video-lightbox-close {
    top: .8rem;
    right: .8rem;
  }
}