/* ═══════════════════════════════════════════════════════════════
   VIFIT — Stylesheet
   Estética Apple minimalista
═══════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  --white:       #ffffff;
  --black:       #111111;
  --gray-light:  #f5f5f7;
  --gray-mid:    #86868b;
  --gray-border: #d2d2d7;
  --night:       #111111;

  /* Dorado corporativo del manual VIFIT (#F4A000) */
  --color-accent-premium:       #F4A000;
  --color-accent-premium-soft:  rgba(244, 160, 0, 0.15);
  --color-accent-premium-light: #FFB733;
  --color-accent-premium-hover: #DB9000;
  /* Dorado oscuro para texto e iconos sobre fondos claros (WCAG AA) */
  --color-accent-premium-dark:  #8a5a00;

  --font-title:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;

  --nav-h: 52px;
  --section-pad: 100px;
  --radius-btn: 980px;
  --radius-card: 18px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
picture { display: contents; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ─── Typography Scale ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 680px;
}

.section {
  padding: var(--section-pad) 0;
}

/* ─── Eyebrow (pill) ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  background: var(--color-accent-premium-soft);
  color: var(--color-accent-premium-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 24px;
}

.eyebrow--dark {
  background: var(--color-accent-premium-soft);
  color: var(--color-accent-premium-light);
}

/* ─── Section Text ───────────────────────────────────────────── */
.section__title {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--black);
}

.section__sub {
  font-size: 17px;
  font-weight: 400;
  max-width: 480px;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  cursor: pointer;
  border: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              opacity 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--color-accent-premium);
  color: var(--black);
}
.btn--primary:hover { background: var(--color-accent-premium-hover); }

.btn--secondary {
  background: var(--gray-light);
  color: var(--black);
}
.btn--secondary:hover { background: #e8e8ed; }

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover { background: #2d2d2f; }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover { border-color: rgba(255,255,255,0.8); }

/* ─── Reveal Animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--black);
  text-decoration: none;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.8;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 13px;
  color: var(--black);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav__link:hover { opacity: 1; }

.nav__cta {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 13px;
  padding: 8px 18px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  background: var(--white);
  padding: 100px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(44px, 8vw, 96px);
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-align: center;
  color: var(--black);
  margin: 0 0 20px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--gray-mid);
  text-align: center;
  margin: 0 0 40px;
}

.hero__title-line {
  display: block;
}
.hero__title-line--1 { color: var(--black); }
.hero__title-line--2 { color: var(--color-accent-premium); margin-top: 0.25em; }

.hero__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.08)),
    url('img/portada.jpg') center 22% / cover no-repeat;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.08)),
    image-set(url('img/portada-1280.webp') type('image/webp'), url('img/portada.jpg') type('image/jpeg'));
  background-position: center 22%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* CTA + estado de plazas bajo la fachada */
.hero__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 32px 0 0;
}

.hero__cta { font-size: 17px; padding: 15px 34px; }

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin: 0;
}
.hero__note--closed { color: #b91c1c; }
.hero__note--closed .status-dot { background: #dc2626; box-shadow: none; animation: none; }

/* Entrance — fade-up */
.hero__title-line--1,
.hero__title-line--2,
.hero__card {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero__title-line--1 { animation-delay: 0.1s; }
.hero__title-line--2 { animation-delay: 0.3s; }
.hero__card         { animation-delay: 0.5s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-line--1,
  .hero__title-line--2,
  .hero__card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── Punto de estado (plazas) ────────────────────────────── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-premium);
  box-shadow: 0 0 0 0 rgba(244, 160, 0, 0.6);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%   { box-shadow: 0 0 0 0 rgba(244, 160, 0, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(244, 160, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 160, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   MÉTODO VIFIT
════════════════════════════════════════════════════════════════ */
.metodo {
  background: var(--white);
  padding: 120px 0;
}

.metodo .eyebrow {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.metodo__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 28px;
}
.metodo__title-line1 { display: block; color: var(--black); }
.metodo__title-line2 { display: block; color: var(--color-accent-premium); margin-top: 0.5em; }
.metodo__title-line1.reveal { transition-delay: 0s; }
.metodo__title-line2.reveal { transition-delay: 0.4s; }

.metodo__lead {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--black);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.metodo__lead-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
}

.metodo__separator {
  max-width: 980px;
  margin: 96px auto 0;
}

.metodo__divider {
  display: block;
  width: 100%;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.1);
}

.metodo__pillars-heading {
  margin: 64px auto 0;
  max-width: 700px;
  text-align: center;
}

.metodo__pillars-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--black);
  margin: 0;
}

.metodo__pillars-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--gray-mid);
  max-width: 600px;
  margin: 12px auto 0;
}

.metodo__separator + .metodo__pillars { margin-top: 64px; }

.metodo__pillars {
  list-style: none;
  padding: 0;
  margin: 80px 0 0;
}

.metodo__pillar {
  display: grid;
  grid-template-columns: 15fr 22fr 40fr 28fr;
  column-gap: 32px;
  padding: 24px 32px;
  border-left: 3px solid transparent;
  border-radius: 0 16px 16px 0;
  cursor: pointer;
  align-items: start;
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--i, 0) * 0.08s),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--i, 0) * 0.08s),
    background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-left-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.metodo__pillar:nth-child(1) { --i: 0; }
.metodo__pillar:nth-child(2) { --i: 1; }
.metodo__pillar:nth-child(3) { --i: 2; }
.metodo__pillar:nth-child(4) { --i: 3; }
.metodo__pillar:nth-child(5) { --i: 4; }
.metodo__pillar:not(:last-child) {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.metodo__pillar-num {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #d2d2d7;
  text-align: left;
  transition:
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.metodo__pillar-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metodo__pillar-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--black);
}
.metodo__pillar-icon svg { width: 100%; height: 100%; }

.metodo__pillar-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--black);
  margin: 0;
  transition:
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.metodo__pillar-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(29, 29, 31, 0.78);
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.metodo__pillar-body p { margin: 0 0 14px; color: inherit; }
.metodo__pillar-body p:last-child { margin-bottom: 0; }
.metodo__pillar-body strong {
  font-family: var(--font-title);
  font-weight: 700;
}

.metodo__bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.metodo__bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: inherit;
  line-height: 1.6;
}
.metodo__bullets li:last-child { margin-bottom: 0; }
.metodo__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.metodo__pillar-media {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  position: relative;
}
.metodo__pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .metodo__pillar:hover {
    background-color: #fafafa;
    border-left-color: var(--color-accent-premium);
  }
  .metodo__pillar:hover .metodo__pillar-num {
    color: var(--color-accent-premium);
    transform: scale(1.08);
  }
  .metodo__pillar:hover .metodo__pillar-name {
    transform: translateX(8px);
    color: var(--color-accent-premium);
  }
  .metodo__pillar:hover .metodo__pillar-body {
    color: var(--black);
  }
  .metodo__pillar:hover .metodo__pillar-media img {
    transform: scale(1.05);
  }
}

.metodo__pillar-media--placeholder {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.metodo__placeholder-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(70px, 9vw, 130px);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.metodo__placeholder-text {
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ════════════════════════════════════════════════════════════════
   PARA QUIÉN
════════════════════════════════════════════════════════════════ */
.pq__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pq__card {
  background: var(--gray-light);
  border-radius: var(--radius-card);
  padding: 40px 28px;
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.pq__card:nth-child(1) { --i: 0; }
.pq__card:nth-child(2) { --i: 1; }
.pq__card:nth-child(3) { --i: 2; }
.pq__card:nth-child(4) { --i: 3; }

.pq__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-premium-soft);
  color: var(--color-accent-premium-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pq__icon svg { width: 26px; height: 26px; }

.pq__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.pq__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-mid);
}

/* ════════════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════════════ */
.stats {
  background: var(--night);
  padding: 72px 0;
}

.stats .eyebrow {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.stats__title {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.stats__note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 32px;
}

.stats__item {
  background: var(--night);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.stats__item:nth-child(1) { --i: 0; }
.stats__item:nth-child(2) { --i: 1; }
.stats__item:nth-child(3) { --i: 2; }
.stats__item:nth-child(4) { --i: 3; }

.stats__num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.stats__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* Subtítulo que separa la trayectoria del grid de stats */
.stats__subheading {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 0.5px solid rgba(255,255,255,0.1);
}

.stats__subheading-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-premium-light);
  margin-bottom: 10px;
}

.stats__subtitle {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}

/* Tarjeta destacada bajo el subtítulo: experiencia, personas y permanencia */
.stats__highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding: 40px 32px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
}

.stats__hl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats__hl-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-accent-premium);
  margin-bottom: 10px;
}

.stats__hl-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}

/* Stat sin cifra: texto potente en 2 líneas (con ∞ arriba para alinear con el resto) */
.stats__label--strong {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

/* ════════════════════════════════════════════════════════════════
   BLOQUE FUSIONADO EN MÉTODO ("No es un gimnasio. Es tu equipo.")
════════════════════════════════════════════════════════════════ */
.metodo__closing {
  margin-top: 96px;
  padding-top: 80px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

.metodo__closing-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--black);
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}

.metodo__closing .check__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 32px;
}

.check__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.check__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.check__icon svg { width: 100%; height: 100%; }

.check__item strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  margin-bottom: 5px;
}

.check__item p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-mid);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   FRASE DE IMPACTO
════════════════════════════════════════════════════════════════ */
.statement {
  background: var(--black);
  padding: 96px 0;
  text-align: center;
}

.statement__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(34px, 6.5vw, 76px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
  max-width: 1000px;
  margin: 0 auto;
}
.statement__accent { color: var(--color-accent-premium); }

/* ════════════════════════════════════════════════════════════════
   INSTALACIONES
════════════════════════════════════════════════════════════════ */
.instalaciones {
  padding: 140px 0;
  background: var(--white);
}

.instalaciones .eyebrow {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.instalaciones .section__title {
  text-align: center;
  margin-bottom: 28px;
}

.instalaciones__intro {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.brand-bar {
  background: transparent;
  margin: 56px auto 64px;
  max-width: 1100px;
  text-align: center;
}

.brand-bar__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin: 0 0 28px;
}

.brand-bar__logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: nowrap;
}

.brand-bar__logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-bar__logo[alt*="Rogue"]   { height: 36px; max-width: 140px; }
.brand-bar__logo[alt*="Maniak"]  { height: 50px; }
.brand-bar__logo[alt*="Etenon"]  { height: 58px; }
.brand-bar__logo[alt*="GymLeco"] { height: 54px; }

@media (hover: hover) {
  .brand-bar__logo:hover { transform: scale(1.05); }
}

.instalaciones__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 96px;
}

.instalaciones__card {
  background: var(--gray-light);
  border-radius: 20px;
  padding: 32px;
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.instalaciones__card:nth-child(1) { --i: 0; }
.instalaciones__card:nth-child(2) { --i: 1; }
.instalaciones__card:nth-child(3) { --i: 2; }

.instalaciones__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-premium-soft);
  color: var(--color-accent-premium-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.instalaciones__icon svg { width: 26px; height: 26px; }

.instalaciones__title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.instalaciones__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-mid);
}

.instalaciones__gallery-heading {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.015em;
  color: var(--black);
  text-align: center;
  margin: 0 0 32px;
}

.espacio__grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 16px;
}

.espacio__item {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}
.espacio__item:hover { transform: scale(1.02); }

.espacio__item--sq   { aspect-ratio: 1 / 1; }
.espacio__item--wide { aspect-ratio: 2 / 1; }

.espacio__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

.instalaciones__closing {
  max-width: 720px;
  margin: 96px auto 0;
  text-align: center;
}

.instalaciones__closing-lead {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
  margin: 0 0 20px;
}

.instalaciones__closing-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-mid);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   FILOSOFÍA
════════════════════════════════════════════════════════════════ */
.filosofia {
  background: var(--white);
  padding: 140px 0;
  text-align: center;
}

.filosofia__inner {
  max-width: 760px;
  margin: 0 auto;
}

.filosofia .eyebrow {
  margin-bottom: 32px;
}

.filosofia__lead {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--black);
  margin: 0;
}

.filosofia__divider {
  display: block;
  width: 60px;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.12);
  margin: 36px auto;
}

.filosofia__sub {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(20px, 3.5vw, 32px);
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: rgba(29, 29, 31, 0.85);
  margin: 0 0 32px;
}

.filosofia-firma {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 48px auto 0;
  max-width: 480px;
}

.filosofia-firma__line {
  flex: 1;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.2);
  max-width: 80px;
}

.filosofia-firma__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Staggered reveal */
.filosofia .eyebrow.reveal  { transition-delay: 0s; }
.filosofia__lead.reveal     { transition-delay: 0.1s; }
.filosofia__sub.reveal      { transition-delay: 0.25s; }
.filosofia-firma.reveal     { transition-delay: 0.4s; }

/* ════════════════════════════════════════════════════════════════
   SOBRE VICENTE
════════════════════════════════════════════════════════════════ */
.vicente {
  background: var(--gray-light);
  padding-top: calc(var(--section-pad) + 24px);
}

.vicente__title {
  font-size: clamp(26px, 4vw, 42px);
}

.vicente__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vicente__content { transition-delay: 0s; }
.vicente__visual   { transition-delay: 0.12s; }

.vicente__bio {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(29, 29, 31, 0.75);
  margin-bottom: 20px;
}

.vicente__bio:last-of-type { margin-bottom: 36px; }

.vicente__creds {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
}

.vicente__cred {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vicente__cred strong {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
}

.vicente__cred span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--gray-mid);
}

.vicente__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-accent-premium-dark);
  transition: opacity 0.2s;
}
.vicente__social-link:hover { opacity: 0.75; }
.vicente__social-link svg {
  width: 18px;
  height: 18px;
}

.vicente__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

/* ════════════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════════════ */
.faq .section__title { margin-bottom: 56px; }

.faq__list {
  border-top: 1px solid var(--gray-border);
}

.faq__item {
  border-bottom: 1px solid var(--gray-border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  transition: color 0.2s var(--ease);
}
.faq__q[aria-expanded="true"] { color: var(--color-accent-premium-dark); }

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--gray-mid);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq__icon::before { width: 10px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 10px; }

.faq__q[aria-expanded="true"] .faq__icon {
  border-color: var(--color-accent-premium);
  background: var(--color-accent-premium);
}
.faq__q[aria-expanded="true"] .faq__icon::before,
.faq__q[aria-expanded="true"] .faq__icon::after { background: var(--black); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}

.faq__a p {
  padding-bottom: 22px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 560px;
}

/* ════════════════════════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════════════════════════ */
.contacto {
  background: var(--white);
  padding: 120px 0;
}

.contacto .eyebrow {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.contacto__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--black);
  text-align: center;
  margin: 0 auto 24px;
  max-width: 800px;
}

.contacto__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--gray-mid);
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.contacto-aviso {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-left: 4px solid #dc2626;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.contacto-aviso__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #dc2626;
}

.contacto-aviso__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

.contacto-aviso__text strong {
  color: #dc2626;
  font-weight: 700;
}

.contacto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 56px auto 0;
  max-width: 1100px;
}

.contacto__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: var(--black);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02),
              0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.contacto__card:nth-child(1) { --i: 0; }
.contacto__card:nth-child(2) { --i: 1; }
.contacto__card:nth-child(3) { --i: 2; }

a.contacto__card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03),
              0 12px 28px rgba(0, 0, 0, 0.06);
}

.contacto__card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent-premium-soft);
  color: var(--color-accent-premium-dark);
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contacto__card-icon svg { width: 22px; height: 22px; }

.contacto__card-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-premium-dark);
}

.contacto__card-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--black);
  word-break: break-word;
}

.contacto__card-value--email {
  font-size: 15px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.contacto__card-extra {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--gray-mid);
  margin-top: 2px;
}

.contacto__map {
  position: relative;
  margin: 48px auto 0;
  max-width: 1100px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.contacto__map-img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: opacity 0.2s;
}
.contacto__map a:hover .contacto__map-img { opacity: 0.92; }
.contacto__map-credit {
  position: absolute;
  right: 10px;
  bottom: 6px;
  margin: 0;
  font-size: 10px;
  color: rgba(17,17,17,0.6);
  background: rgba(255,255,255,0.7);
  padding: 2px 6px;
  border-radius: 4px;
}
.contacto__map-credit a { color: inherit; text-decoration: underline; }

.contacto__map-link {
  text-align: center;
  margin: 16px 0 0;
}
.contacto__map-link a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-accent-premium-dark);
  transition: opacity 0.2s;
}
.contacto__map-link a:hover { opacity: 0.75; }

/* ════════════════════════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════════════════════════ */
.cta-final {
  position: relative;
  background: var(--black);
  padding: var(--section-pad) 0;
  text-align: center;
  overflow: hidden;
}

.cta-final__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(180px, 32vw, 420px);
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.cta-final .container { position: relative; z-index: 1; }

.cta-final__title {
  font-size: clamp(36px, 6vw, 68px);
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-final__sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 44px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final__actions .btn {
  padding-left: 36px;
  padding-right: 36px;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  background: #111111;
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

/* Footer oscuro (#111111): el logo negro se invierte a blanco */
.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__tagline {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a,
.footer__links span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

.footer__legal { margin-top: 8px; }
.footer__legal a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer__legal a:hover { color: var(--white); }

.footer__bottom p {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
}

/* ════════════════════════════════════════════════════════════════
   MANIFIESTO
════════════════════════════════════════════════════════════════ */
.manifiesto {
  background: var(--white);
  padding: 64px 0 120px;
  text-align: center;
}

.manifiesto__inner {
  max-width: 680px;
  margin: 0 auto;
}

.manifiesto__bold {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 44px;
}

.manifiesto__regular + .manifiesto__regular { margin-top: 28px; }

.manifiesto__regular {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--black);
}

/* ════════════════════════════════════════════════════════════════
   CASOS DE ÉXITO
════════════════════════════════════════════════════════════════ */
.casos { background: var(--gray-light); }

.casos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.casos__card {
  position: relative;
  background: var(--white);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02),
              0 6px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.casos__card:nth-child(1) { --i: 0; }
.casos__card:nth-child(2) { --i: 1; }
.casos__card:nth-child(3) { --i: 2; }

.casos__quote {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.7;
  color: var(--color-accent-premium);
  opacity: 0.55;
  margin-bottom: 8px;
}

.casos__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  margin: 0 0 24px;
  flex: 1;
}

.casos__divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 16px;
}

.casos__author {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  margin: 0 0 2px;
}

.casos__since {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--gray-mid);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   CÓMO EMPEZAR
════════════════════════════════════════════════════════════════ */
.como__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.como__step {
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.como__step:nth-child(1) { --i: 0; }
.como__step:nth-child(2) { --i: 1; }
.como__step:nth-child(3) { --i: 2; }

.como__num {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(244, 160, 0, 0.35);
  margin-bottom: 16px;
}

.como__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.como__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-mid);
}

.como__cta {
  margin-top: 64px;
  text-align: center;
}

.como__cta-btn {
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
}

/* ════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
════════════════════════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35),
              0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45),
              0 2px 10px rgba(0, 0, 0, 0.22);
}
.wa-fab:active { transform: scale(0.96); }

.wa-fab svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: 0;
  animation: wa-pulse 3s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0;    }
  100% { transform: scale(1.6); opacity: 0;    }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__close:active { transform: scale(0.92); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet horizontal (769–1024px): nav en una sola línea
════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav__inner { gap: 20px; padding: 0 16px; }
  .nav__menu  { gap: 18px; }
  .nav__menu li { flex-shrink: 0; }
  .nav__link  { font-size: 12px; white-space: nowrap; }
  .nav__cta   { padding: 7px 12px; font-size: 12px; }
  .nav__logo-img { height: 28px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet / Mobile (≤ 768px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .br-desk { display: none; }

  /* — Section typography — */
  .section__title { font-size: clamp(32px, 7vw, 44px); }
  .section__sub   { margin-bottom: 44px; }
  .eyebrow { padding: 6px 14px; font-size: 11px; margin-bottom: 20px; }

  /* — Nav — */
  .nav__inner { gap: 12px; }
  .nav__menu { display: none; }
  .nav__burger { display: flex; }

  .nav__cta {
    margin-left: auto;
    padding: 7px 14px;
    font-size: 12px;
  }

  .nav__logo-img { height: 26px; }

  /* Full-screen menu overlay */
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: calc(var(--nav-h) + 24px) 24px 32px;
    gap: 0;
    border: none;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }
  /* BUG FIX: backdrop-filter en .nav convierte a la barra en el contenedor de
     sus hijos position:fixed, así que el overlay quedaba limitado a los 52px de
     la barra y los enlaces se desbordaban sobre el hero sin fondo. Mientras el
     menú está abierto, la barra pierde el filtro y el overlay ocupa el viewport. */
  .nav.nav--menu-open {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  /* Logo, CTA y burger por encima del overlay para poder cerrar con la X */
  .nav--menu-open .nav__logo,
  .nav--menu-open .nav__cta,
  .nav--menu-open .nav__burger {
    position: relative;
    z-index: 1001;
  }
  /* Centrado vertical con margin auto: centra si cabe y hace scroll si no (landscape) */
  .nav__menu.is-open li { width: 100%; text-align: center; }
  .nav__menu.is-open li:first-child { margin-top: auto; }
  .nav__menu.is-open li:last-child  { margin-bottom: auto; }
  .nav__menu.is-open .nav__link {
    display: block;
    padding: 18px 0;
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
    opacity: 1;
    border: none;
  }

  /* — Hero — */
  .hero { padding: 80px 16px 28px; }
  .hero__title { margin-bottom: 28px; }
  .hero__status { margin-top: 24px; }
  .hero__card {
    border-radius: 24px;
    min-height: 400px;
  }

  /* — Método VIFIT — */
  .metodo { padding: 80px 0; }
  .metodo__pillars { margin-top: 56px; }
  .metodo__separator { margin-top: 64px; }
  .metodo__pillars-heading { margin-top: 40px; padding: 0 24px; }
  .metodo__pillars-sub { max-width: 90%; }
  .metodo__separator + .metodo__pillars { margin-top: 40px; }
  .metodo__pillar {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num head"
      "body body"
      "media media";
    column-gap: 18px;
    row-gap: 16px;
    padding: 32px 20px;
    border-left-width: 2px;
  }
  .metodo__pillar:active {
    background-color: #fafafa;
    border-left-color: var(--color-accent-premium);
  }
  .metodo__pillar-num {
    grid-area: num;
    font-size: clamp(36px, 12vw, 56px);
    align-self: center;
  }
  .metodo__pillar-head {
    grid-area: head;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    align-self: center;
  }
  .metodo__pillar-body  { grid-area: body; font-size: 16px; }
  .metodo__pillar-media { grid-area: media; height: 220px; }

  /* — Para quién (4 → 2×2) — */
  .pq__grid { grid-template-columns: 1fr; gap: 12px; }
  .pq__card { padding: 32px 22px; }

  /* — Stats (4 → 2×2) — */
  .stats { padding: 56px 0; }
  .stats__title { font-size: clamp(24px, 5vw, 32px); margin-bottom: 28px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 40px 20px; }
  .stats__subheading { margin-top: 40px; padding-top: 32px; }
  .stats__highlight { grid-template-columns: 1fr; gap: 0; padding: 8px 20px; }
  .stats__hl-item { padding: 24px 0; }
  .stats__hl-item + .stats__hl-item { border-top: 0.5px solid rgba(255,255,255,0.08); }
  .stats__num  { font-size: clamp(32px, 7vw, 42px); }

  /* — Bloque fusionado en Método — */
  .metodo__closing { margin-top: 64px; padding-top: 56px; }
  .metodo__closing-title { margin-bottom: 40px; }
  .metodo__closing .check__list { grid-template-columns: 1fr; row-gap: 24px; }

  /* — Vicente — */
  .vicente__split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* — Vicente (imagen arriba, sin cortar la cara) — */
  .vicente__visual { order: -1; }
  .vicente__img {
    aspect-ratio: 3 / 4;      /* reserva el alto antes de cargar (sin salto de layout) */
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;        /* la ratio se recorta a 400px como máximo */
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
  }
  .vicente__title { font-size: clamp(28px, 7vw, 40px); }

  /* — Instalaciones — */
  .instalaciones { padding: 90px 0; }
  .instalaciones__intro { font-size: 16px; margin-bottom: 44px; }
  .brand-bar { margin: 40px auto 48px; padding: 0 20px; }
  .brand-bar__label { font-size: 11px; margin-bottom: 24px; }
  .brand-bar__logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    align-items: center;
    justify-items: center;
  }
  .brand-bar__logo { height: 38px; max-width: 130px; }
  .brand-bar__logo[alt*="Rogue"]   { height: 30px; max-width: 115px; }
  .brand-bar__logo[alt*="Maniak"]  { height: 42px; }
  .brand-bar__logo[alt*="Etenon"]  { height: 48px; }
  .brand-bar__logo[alt*="GymLeco"] { height: 46px; }
  .instalaciones__features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 64px;
  }
  .instalaciones__card { padding: 28px 22px; }
  .instalaciones__closing { margin-top: 64px; }
  .instalaciones__closing-sub { font-size: 15px; }

  /* — Galería (1 col) — */
  .espacio__grid { grid-template-columns: 1fr; }
  .espacio__item--sq   { aspect-ratio: 4 / 3; }
  .espacio__item--wide { aspect-ratio: 16 / 9; }

  /* — Manifiesto — */
  .manifiesto { padding: 44px 0 80px; }
  .manifiesto__bold { margin-bottom: 32px; }

  /* — Casos de éxito (1 col) — */
  .casos__grid { grid-template-columns: 1fr; gap: 14px; }
  .casos__card { padding: 28px 24px; }

  /* — Cómo empezar (1 col) — */
  .como__grid { grid-template-columns: 1fr; gap: 28px; }
  .como__num  { font-size: 48px; }
  .como__cta  { margin-top: 48px; }
  .como__cta-btn { width: 100%; max-width: 320px; justify-content: center; }

  /* — Contacto — */
  .contacto { padding: 80px 0; }
  .contacto-aviso { padding: 16px 20px; gap: 12px; }
  .contacto-aviso__icon { width: 20px; height: 20px; }
  .contacto-aviso__text { font-size: 14px; }
  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
  }
  .contacto__card { padding: 26px 22px; }
  .contacto__map { margin-top: 40px; border-radius: 16px; }
  .contacto__map-img { height: 280px; }

  /* — FAQ — */
  .faq .section__title { margin-bottom: 40px; }
  .faq__q { font-size: 16px; gap: 16px; padding: 20px 0; }
  .faq__a p { font-size: 14px; }

  /* — Filosofía — */
  .filosofia { padding: 90px 0; }
  .filosofia__divider { margin: 28px auto; }
  .filosofia-firma { gap: 14px; margin-top: 36px; }
  .filosofia-firma__line { max-width: 50px; }
  .filosofia-firma__text { font-size: 13px; }

  /* — CTA final — */
  .cta-final__title { font-size: clamp(30px, 8vw, 44px); }
  .cta-final__sub   { font-size: 16px; margin-bottom: 36px; }
  .cta-final__actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-final__actions .btn { width: 100%; max-width: 280px; padding-left: 24px; padding-right: 24px; }

  /* — Footer (3 → 1 col) — */
  .footer { padding: 48px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }

  /* — WhatsApp FAB — */
  .wa-fab { bottom: 16px; right: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤ 480px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }

  .container { padding: 0 20px; }

  /* Para quién en 1 columna */
  .pq__grid { grid-template-columns: 1fr; }

  /* Stats: apilados en una columna */
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { padding: 32px 16px; }
  .stats__num  { font-size: 34px; }
  .stats__label { font-size: 12px; }

  /* Botones */
  .btn { font-size: 14px; padding: 12px 22px; }

  /* Menú overlay — links un pelín más pequeños */
  .nav__menu.is-open .nav__link { font-size: 26px; padding: 16px 0; }

  /* Hero — card más compacta */
  .hero__card { min-height: 360px; }

  /* Brand bar más compacta */
  .brand-bar__logos { gap: 24px 16px; }
  .brand-bar__logo { height: 32px; max-width: 110px; }
  .brand-bar__logo[alt*="Rogue"]   { height: 26px; max-width: 95px; }
  .brand-bar__logo[alt*="Maniak"]  { height: 36px; }
  .brand-bar__logo[alt*="Etenon"]  { height: 42px; }
  .brand-bar__logo[alt*="GymLeco"] { height: 40px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Móvil en horizontal (poca altura)
════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  /* Menú overlay: enlaces más compactos para que quepan sin scroll */
  .nav__menu.is-open .nav__link { font-size: 22px; padding: 10px 0; }

  /* Foto de Vicente: más estrecha y centrada para no mostrar solo la frente */
  .vicente__img { max-width: 360px; max-height: 360px; margin: 0 auto; }
}

/* ════════════════════════════════════════════════════════════════
   PÁGINAS SECUNDARIAS (aviso legal, privacidad, 404)
════════════════════════════════════════════════════════════════ */
.legal {
  padding: calc(var(--nav-h) + 72px) 0 96px;
}
.legal__title {
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.legal__updated {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.8);
  margin-bottom: 12px;
}
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--color-accent-premium-dark); text-decoration: underline; }
.legal__back {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-accent-premium-dark);
}
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(96px, 20vw, 200px);
  line-height: 1;
  color: var(--color-accent-premium);
}
.notfound__title { font-size: clamp(24px, 4vw, 36px); margin: 8px 0 12px; }
.notfound__text { color: var(--gray-mid); margin-bottom: 32px; }
