/* ==========================================================================
   ZONA FITNESS SUR — Editorial Dark Luxury Design System
   Paleta: Obsidian (#070707) · Surface (#111110) · Accent (#fd5306)
   Tipografía: Anton (Display) · Barlow (UI/Body) · IBM Plex Mono (Tech/Meta)
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-elevated: #0d0d0c;
  --surface: #131312;
  --surface-2: #191917;
  --surface-glass: rgba(16, 16, 15, 0.72);

  --text: #f5f5f2;
  --text-secondary: #a8a8a2;
  --text-muted: #70706a;

  --accent: #fd5306;
  --accent-bright: #ff6b26;
  --accent-soft: rgba(253, 83, 6, 0.14);
  --accent-glow: rgba(253, 83, 6, 0.35);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(253, 83, 6, 0.45);

  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --container: 1320px;
  --header-h: 72px;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  position: relative;
}

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

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

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #070707;
}

/* Textura cinematográfica ultra sutil */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progreso de lectura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8a4c);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ==========================================================================
   Preloader Cinemático
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #050505;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
  pointer-events: all;
}

.preloader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.preloader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  display: flex;
  gap: 0.25em;
}

.preloader-wordmark span.accent {
  color: var(--accent);
}

.preloader-bar-wrap {
  width: min(320px, 70vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 2px;
}

.preloader-bar {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.preloader-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preloader-count {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.9;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Layout & Utilidades
   ========================================================================== */
.wrap {
  width: min(var(--container), calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 132px);
  border-top: 1px solid var(--border);
}

.section--surface {
  background: var(--bg-elevated);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.display-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  font-weight: 400;
}

.display-h2 .accent {
  color: var(--accent);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.6;
}

/* Botones de estudio */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover svg.arrow {
  transform: translate(3px, -2px);
}

.btn-primary {
  background: var(--accent);
  color: #070707;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 14px 36px -8px rgba(253, 83, 6, 0.55);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #070707;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.78rem;
}

/* ==========================================================================
   Navbar Corporativa Glassmorphism
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  width: min(var(--container), calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.preloader-logo {
  height: clamp(56px, 9vw, 88px);
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: pulseDot 2s infinite;
}

.live-dot.closed {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1.8px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle.open span:first-child {
  transform: translateY(3.4px) rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: translateY(-3.4px) rotate(-45deg);
}

/* Drawer Móvil */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(7, 7, 7, 0.97);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) 28px 36px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-links a {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  padding-block: 6px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   1. Hero Editorial Full-Bleed
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  filter: contrast(1.06) brightness(0.76);
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.56) 48%, rgba(7, 7, 7, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.65) 0%, rgba(7, 7, 7, 0.08) 38%, rgba(7, 7, 7, 0.95) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 30% 50%, #000 10%, transparent 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent);
  background: rgba(253, 83, 6, 0.14);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff9a6c;
}

.hero-location {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9.6vw, 8.6rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 28px;
}

.hero-line-mask {
  display: block;
  overflow: hidden;
  padding-block: 0.04em;
}

.hero-line-inner {
  display: inline-block;
  will-change: transform;
}

.hero-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  color: var(--accent);
  height: 1.12em;
  line-height: 1.06;
  padding-right: 6px;
}

.hero-rotator-word {
  grid-area: 1 / 1;
  display: block;
  line-height: 1.06;
  white-space: nowrap;
  transform: translateY(115%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.65s var(--ease-out), opacity 0.4s ease;
}

.hero-rotator-word.is-active {
  transform: translateY(0%);
  opacity: 1;
}

.hero-rotator-word.is-exit {
  transform: translateY(-115%);
  opacity: 0;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-copy-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-metric {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(14, 14, 13, 0.68);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.hero-metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-metric-val span {
  color: var(--accent);
}

.hero-metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================================================
   Marquee Editorial
   ========================================================================== */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: 18px;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
}

.marquee-sep {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

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

/* ==========================================================================
   2. Sección Boxeo ZFS — Cinemática
   ========================================================================== */
.boxeo-section {
  padding-block: clamp(72px, 9vw, 124px);
}

.boxeo-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: clamp(500px, 64vh, 660px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  background: #0b0b0a;
}

.boxeo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.boxeo-bg img,
.boxeo-bg video {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.76) contrast(1.08);
  will-change: transform;
}

/* ==========================================================================
   2B. Recorrido Virtual 360° Interactivo (Pannellum WebGL)
   ========================================================================== */
.tour360-wrap {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 28px 64px -28px rgba(0, 0, 0, 0.85);
}

.tour360-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 11, 0.92);
}

.tour360-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tour360-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.tour360-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour360-scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-scene-btn {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.tour-scene-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.tour-scene-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
  font-weight: 600;
}

.tour360-stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 60vh, 580px);
  background: #080807;
  overflow: hidden;
  user-select: none;
  isolation: isolate;
}

.tour360-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.tour360-viewport.is-dragging {
  cursor: grabbing;
}

.tour360-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1);
  will-change: transform;
  transition: opacity 0.3s ease;
}

.tour360-img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  pointer-events: none;
  filter: contrast(1.05) saturate(1.04);
}

.tour360-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tour-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(7, 7, 7, 0.86);
  border: 1.5px solid var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(253, 83, 6, 0.18);
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.tour-hotspot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.tour-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  color: #070707;
}

.tour-hotspot:hover::before {
  background: #070707;
}

.tour360-hud-top {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  gap: 12px;
}

.tour360-compass,
.tour360-AutoBadge {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(7, 7, 7, 0.8);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.tour360-AutoBadge {
  color: var(--accent-bright);
  border-color: var(--border-accent);
}

.tour360-hint {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(7, 7, 7, 0.84);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
}

.tour360-controls {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 6;
  display: flex;
  gap: 8px;
}

.tour-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.84);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.tour-ctrl-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #070707;
}

.boxeo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.58) 52%, rgba(7, 7, 7, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.2) 0%, rgba(7, 7, 7, 0.88) 100%);
}

.boxeo-content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.boxeo-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.boxeo-title span {
  color: var(--accent);
}

.boxeo-card-panel {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.boxeo-glass {
  width: min(390px, 100%);
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(11, 11, 10, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.boxeo-glass-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.boxeo-rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.boxeo-rate {
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.boxeo-rate.featured {
  border-color: var(--border-accent);
  background: var(--accent-soft);
}

.boxeo-rate-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text);
}

.boxeo-rate.featured .boxeo-rate-price {
  color: var(--accent);
}

.boxeo-rate-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 6px;
}

.boxeo-rate-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   3. Entrenamientos — Transición limpia con Clip-Path (Cero Ghosting)
   ========================================================================== */
.train-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
  flex-wrap: wrap;
}

.train-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.train-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 5 / 6;
  max-height: 620px;
  width: 100%;
}

.train-visual-img,
.train-visual-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, clip-path, opacity;
}

.train-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.08) 0%, rgba(7, 7, 7, 0.35) 55%, rgba(7, 7, 7, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3.5vw, 38px);
}

.train-visual-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(7, 7, 7, 0.72);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.train-visual-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.train-visual-desc {
  font-size: 1rem;
  color: #dcdcd6;
  max-width: 48ch;
  margin-bottom: 18px;
}

.train-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.train-tag {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #f0f0ec;
}

.train-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.train-tab {
  position: relative;
  text-align: left;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
  overflow: hidden;
}

.train-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}

.train-tab:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.train-tab.is-active {
  border-color: var(--border-accent);
  background: linear-gradient(90deg, rgba(253, 83, 6, 0.12) 0%, var(--surface-2) 60%);
}

.train-tab.is-active::before {
  transform: scaleY(1);
}

.train-tab-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.train-tab.is-active .train-tab-num {
  color: var(--accent);
}

.train-tab-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
}

.train-tab-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.train-tab-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.train-tab.is-active .train-tab-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
  transform: rotate(45deg);
}

/* ==========================================================================
   4. Manifiesto — Scrub de Scroll calibrado al 100% de contraste
   ========================================================================== */
.manifesto-section {
  position: relative;
  padding-block: clamp(96px, 14vw, 176px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(253, 83, 6, 0.1) 0%, transparent 62%),
    var(--bg);
}

.manifesto-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.manifesto-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.5) contrast(1.12);
  pointer-events: none;
  z-index: 0;
}

.manifesto-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(7, 7, 7, 0.45) 0%, rgba(7, 7, 7, 0.92) 85%);
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 4.7rem);
  line-height: 1.06;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  font-weight: 400;
}

.m-word {
  display: inline-block;
  margin-right: 0.22em;
  color: #ffffff;
  opacity: 0.2;
  transition: opacity 0.2s linear, text-shadow 0.3s ease;
}

.m-word.is-accent {
  color: #ff621c;
}

.m-word.is-lit {
  opacity: 1 !important;
}

.m-word.is-accent.is-lit {
  text-shadow: 0 0 28px rgba(253, 83, 6, 0.35);
}

/* ==========================================================================
   5. El Gimnasio — Bento Grid Editorial
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 4vw, 48px);
}

.bento-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out);
}

.bento-card:hover {
  border-color: var(--border-strong);
}

.bento-photo {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 470px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  background: var(--surface);
}

.club-carousel-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.club-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}

.club-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.club-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-top-bar {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.carousel-counter {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(7, 7, 7, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.carousel-arrows {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
}

.carousel-dots {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.carousel-dot {
  height: 3px;
  flex: 1;
  max-width: 44px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease;
}

.carousel-dot.is-active {
  background: var(--accent);
}

.bento-photo-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(24px, 3.5vw, 36px);
  background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 7, 0.92) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.bento-hours {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

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

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-day {
  color: var(--text-secondary);
}

.hours-time {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text);
}

.bento-coffee {
  grid-column: span 5;
  background: linear-gradient(135deg, rgba(253, 83, 6, 0.14) 0%, var(--surface) 60%);
  border-color: var(--border-accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.bento-mini {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}

.bento-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. Planes y Membresías — Con Filtros, Jerarquía y Tarjeta Boxeo Alineada
   ========================================================================== */
.plans-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.plan-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.is-active {
  background: var(--accent);
  color: #070707;
  font-weight: 600;
}

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

.plan-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.85);
}

.plan-card.is-hidden {
  display: none;
}

.plan-card.is-featured {
  background: linear-gradient(180deg, rgba(253, 83, 6, 0.14) 0%, var(--surface) 46%);
  border-color: var(--accent);
  box-shadow: 0 24px 56px -24px rgba(253, 83, 6, 0.35);
}

.plan-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.plan-badge {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.plan-card.is-featured .plan-badge {
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
  font-weight: 600;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-block: 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plan-currency {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.9;
  color: var(--text);
}

.plan-unit {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.plan-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Selector interno para Boxeo (mantiene alineación exacta) */
.boxeo-tier-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.tier-btn {
  padding: 7px 6px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.tier-btn.is-active {
  background: var(--accent);
  color: #070707;
  font-weight: 600;
}

.plan-card .btn {
  width: 100%;
}

.day-passes {
  margin-top: 24px;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.day-passes-items {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.pass-chip {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pass-chip-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pass-chip-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
}

/* ==========================================================================
   7. FAQ Balanceado en 2 Columnas (Cero espacio vacío)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-support-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.is-open {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text);
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   8. Ubicación con Mapa Interactivo Dark-Mode + Footer Corporativo
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
  margin-top: clamp(32px, 4vw, 48px);
}

.location-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(26px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-val {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text);
}

.map-frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 400px;
  background: var(--surface);
}

.map-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: invert(92%) hue-rotate(180deg) saturate(0.65) contrast(1.05);
  transition: filter 0.4s ease;
}

.map-frame:hover iframe {
  filter: invert(90%) hue-rotate(180deg) saturate(0.95) contrast(1.08);
}

.map-badge {
  position: absolute;
  z-index: 10;
  bottom: 16px;
  left: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(7, 7, 7, 0.9);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(52px, 7vw, 84px) 32px;
  background: #050505;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modal de Agendar Visita / Clase de Prueba
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(4, 4, 4, 0.82);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  background: #10100f;
  border: 1px solid var(--border-strong);
  padding: clamp(24px, 4vw, 36px);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 32px 72px -18px rgba(0, 0, 0, 0.9);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus {
  border-color: var(--accent);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.choice-chip {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.2s ease;
}

.choice-chip.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links,
  .live-status {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-bottom,
  .boxeo-stage,
  .train-grid,
  .faq-layout,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .bento-photo,
  .bento-hours,
  .bento-coffee,
  .bento-mini {
    grid-column: span 12;
  }

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

  .faq-sticky {
    position: static;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 94svh;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hero-metric-val {
    margin-bottom: 0;
  }

  .plans-grid,
  .footer-top,
  .boxeo-showcase-grid {
    grid-template-columns: 1fr;
  }

  .boxeo-card-panel {
    justify-content: stretch;
  }

  .boxeo-glass {
    width: 100%;
  }

  .train-visual-frame {
    min-height: 360px;
  }

  .train-tab {
    padding: 16px 18px;
    grid-template-columns: 32px 1fr 30px;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .m-word {
    opacity: 1 !important;
  }
}


.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 14px;
  line-height: 1;
  text-align: center;
}

/* ===== Ajustes v12: nitidez cristalina en 360, encuadre de boxeo sin zoom excesivo ===== */
.boxeo-stage { min-height: clamp(640px, 84vh, 880px); }
.boxeo-bg { width: 100%; height: 100%; }
.boxeo-bg img,
.boxeo-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.96) contrast(1.02);
}

.tour360-stage { height: clamp(560px, 82vh, 800px); background: #080807; }
.tour360-img {
  filter: none !important;
  image-rendering: auto;
}

.bento-photo { grid-column: span 12; grid-row: auto; aspect-ratio: 2 / 1; min-height: 0; }
.club-slide img { object-fit: cover; object-position: center; }
.bento-hours,
.bento-coffee,
.bento-mini { grid-column: span 6; }

@media (max-width: 1080px) {
  .bento-photo,
  .bento-hours,
  .bento-coffee,
  .bento-mini { grid-column: span 12; }
  .bento-photo { aspect-ratio: 16 / 10; }
}

@media (max-width: 680px) {
  .tour360-stage { height: 520px; }
}
