/* ==========================================================================
   Main Stylesheet — Centro Deportivo COM
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(13, 14, 11, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: var(--border-hairline);
  transition: background 0.3s ease;
}

.header-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 13px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--color-text);
  flex: 0 1 auto;
  min-width: 0;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: radial-gradient(circle at 34% 30%, var(--color-lime-bright), var(--color-lime-dark));
  display: grid;
  place-items: center;
  color: var(--color-bg);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -0.02em;
}

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

.brand-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.7);
}

.header-spacer {
  flex: 1 1 auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: rgba(236, 232, 220, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-lime);
}

.btn-header-cta {
  display: none;
  background: var(--color-lime);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-header-cta:hover {
  background: var(--color-lime-hover);
  color: var(--color-bg);
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .btn-header-cta {
    display: inline-block;
  }
}

.menu-toggle-btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(236, 232, 220, 0.22);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: border-color 0.2s ease;
}

@media (max-width: 1023px) {
  .header-container { gap: 12px; }
  .header-container .brand-name { font-size: 10px; letter-spacing: .08em; line-height: 1.35; }
  .header-container .brand-logo { flex: 1 1 0; }
  .header-spacer { display: none; }
  .btn-share-header { flex-shrink: 0; }
}

@media (min-width: 1024px) {
  .header-container .brand-name { max-width: 170px; font-size: 11px; }
  .desktop-nav { gap: 16px; }
}

:focus-visible { outline: 3px solid var(--color-lime); outline-offset: 4px; }

.menu-toggle-btn:hover {
  border-color: var(--color-lime);
}

.menu-icon-bars {
  display: block;
  width: 18px;
  height: 9px;
  border-top: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
}

@media (min-width: 1024px) {
  .menu-toggle-btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Mobile Fullscreen Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--color-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.drawer-pattern-bg {
  position: absolute;
  right: -38%;
  top: -14%;
  width: 110vw;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(201, 225, 74, 0.18) 0 1px, transparent 1px 15px);
  animation: com-spin 120s linear infinite;
  pointer-events: none;
}

.drawer-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px clamp(16px, 4vw, 48px);
  border-bottom: var(--border-hairline);
}

.drawer-close-btn {
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--color-lime);
  color: var(--color-bg);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.drawer-close-btn:hover {
  transform: rotate(90deg);
}

.drawer-nav {
  position: relative;
  display: grid;
  padding: clamp(14px, 4vw, 26px) clamp(16px, 4vw, 48px) 0;
}

.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(14px, 3.6vw, 20px) 0;
  border-bottom: var(--border-hairline);
  color: var(--color-text);
  transition: color 0.2s ease;
}

.drawer-link:hover {
  color: var(--color-lime);
}

.drawer-num {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-lime);
}

.drawer-text {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 900;
  font-size: clamp(28px, 8.4vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.drawer-arrow {
  margin-left: auto;
  font-size: 15px;
  color: rgba(236, 232, 220, 0.35);
}

.drawer-footer {
  position: relative;
  margin-top: auto;
  padding: clamp(22px, 5vw, 34px) clamp(16px, 4vw, 48px) calc(clamp(22px, 5vw, 34px) + env(safe-area-inset-bottom));
  display: grid;
  gap: 16px;
}

.drawer-phone-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: baseline;
}

.drawer-phone {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: clamp(19px, 5.2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--color-lime);
}

.drawer-address {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(236, 232, 220, 0.55);
}

.drawer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-lime);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108;
  font-weight: 800;
  font-size: clamp(14px, 3.8vw, 16px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: 58px;
  border-radius: 2px;
}

.drawer-cta-btn svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Hero Section & Interactive Caustics
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-water-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 58px) clamp(16px, 4vw, 48px) clamp(26px, 4vw, 48px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-text-col {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.6);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  flex: 0 0 auto;
}

.hero-headline {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 122;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(48px, 7.4vw, 128px);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: clamp(18px, 2.4vw, 28px) 0 0;
}

.hero-headline-solid {
  display: block;
}

.hero-headline-stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.6px #ECE8DC;
}

.hero-headline-lime {
  display: block;
  color: var(--color-lime);
}

.hero-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 36ch;
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 34px);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-lime);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 20px 30px;
  border-radius: 0 !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-hero-primary:hover {
  background: var(--color-lime-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(236, 232, 220, 0.26);
  color: var(--color-text);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 20px 30px;
  border-radius: 0 !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--color-lime);
  background: var(--color-lime-faint);
  color: var(--color-text);
}

/* Hero Visual & Presentation */
.hero-visual-col {
  min-width: 0;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 860px) {
  .hero-visual-col {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
  }
}

/* Elementos ambientales de escritorio (ocultos en móvil para evitar sobrecargas y desajustes) */
.desktop-only-visual {
  display: none;
}

@media (min-width: 860px) {
  .desktop-only-visual {
    display: block;
  }
}

.hero-circle-orbit {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(201, 225, 74, 0.22) 0 1px, transparent 1px 13px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, transparent 74%);
  animation: com-spin 90s linear infinite;
  pointer-events: none;
}

.hero-circle-accent1 {
  position: absolute;
  width: 36%;
  height: 36%;
  left: -2%;
  top: 6%;
  border-radius: 50%;
  border: 1px solid rgba(236, 232, 220, 0.22);
  will-change: transform;
}

.hero-circle-accent2 {
  position: absolute;
  width: 26%;
  height: 26%;
  right: 2%;
  bottom: 8%;
  background-image: radial-gradient(rgba(236, 232, 220, 0.34) 1.2px, transparent 1.2px);
  background-size: 11px 11px;
  will-change: transform;
}

.hero-ripple-1,
.hero-ripple-2,
.hero-ripple-3 {
  position: absolute;
  width: 88%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ripple-1 {
  border: 1.5px solid rgba(201, 225, 74, 0.55);
  animation: com-ripple 4.2s cubic-bezier(0.25, 0.6, 0.3, 1) infinite;
}

.hero-ripple-2 {
  border: 1.5px solid rgba(201, 225, 74, 0.45);
  animation: com-ripple 4.2s cubic-bezier(0.25, 0.6, 0.3, 1) 1.4s infinite;
}

.hero-ripple-3 {
  border: 1.5px solid rgba(201, 225, 74, 0.35);
  animation: com-ripple 4.2s cubic-bezier(0.25, 0.6, 0.3, 1) 2.8s infinite;
}

/* Card / Marco Fotográfico Adaptable (Circular en Desktop, Cuadrado Full-Width en Móvil) */
.hero-card-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 860px) {
  .hero-card-frame {
    width: 88%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    background: transparent;
    margin: 0 auto;
  }
}

@media (max-width: 859px) {
  .hero-card-frame {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 13;
    border: 1.5px solid rgba(201, 225, 74, 0.45);
    border-radius: 0 !important; /* Cuadrado nítido */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    background: #0D0E0B;
    margin: 0 !important;
  }
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 860px) {
  .hero-photo {
    border-radius: 50%;
    will-change: transform;
    object-position: center center;
  }
}

@media (max-width: 859px) {
  .hero-photo {
    border-radius: 0 !important;
    object-position: center 30%;
    filter: grayscale(100%) contrast(1.15);
    transform: none !important;
  }
}

/* Viewfinder Optical Corner Accents (Solo en Móvil) */
.hero-frame-corner {
  display: none;
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

@media (max-width: 859px) {
  .hero-frame-corner {
    display: block;
  }
}

.hero-corner-tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid var(--color-lime);
  border-left: 2px solid var(--color-lime);
}

.hero-corner-tr {
  top: 14px;
  right: 14px;
  border-top: 2px solid var(--color-lime);
  border-right: 2px solid var(--color-lime);
}

.hero-card-frame:hover .hero-frame-corner {
  opacity: 1;
}

/* Lower-Third Cinematic HUD (Solo en Móvil) */
.hero-hud-bottom {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
  align-items: flex-end;
  padding: 28px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 14, 11, 0.76) 40%, rgba(13, 14, 11, 0.94) 100%);
  color: #ECE8DC;
  z-index: 2;
  pointer-events: none;
  gap: 12px;
}

@media (max-width: 859px) {
  .hero-hud-bottom {
    display: flex;
  }
}

.hero-hud-info {
  min-width: 0;
}

.hero-hud-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 3px;
}

.hero-hud-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
}

.hero-hud-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: rgba(236, 232, 220, 0.78);
  margin-top: 3px;
}

.hero-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0D0E0B;
  background: var(--color-lime);
  padding: 8px 13px;
  border-radius: 0 !important; /* Cuadralo */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0D0E0B;
  display: inline-block;
  animation: step-pulse 1.8s infinite ease-in-out;
}

/* Minimalist Footnote under Hero (Solo en Móvil) */
.hero-minimal-foot {
  display: none;
}

@media (max-width: 859px) {
  .hero-minimal-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(236, 232, 220, 0.6);
    padding: 8px 2px 0;
    width: 100%;
  }
}

.hero-minimal-foot .foot-coords {
  color: #ECE8DC;
  letter-spacing: 0.08em;
}

.hero-minimal-foot .foot-sep {
  opacity: 0.35;
}

.hero-side-badge {
  display: none;
  position: absolute;
  right: -7%;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.45);
  white-space: nowrap;
}

@media (min-width: 1180px) {
  .hero-side-badge {
    display: block;
  }
}

/* Ajustes Responsivos Móviles Específicos para el Hero */
@media (max-width: 859px) {
  .hero-container {
    padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 24px) clamp(24px, 4vw, 40px);
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-headline {
    font-size: clamp(42px, 11.5vw, 62px);
    line-height: 0.86;
    margin-top: 14px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 18px 20px;
    font-size: 14px;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
    border-radius: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(236, 232, 220, 0.16);
  }

  .metric-box {
    padding: 16px 14px;
  }

  .metric-value {
    font-size: clamp(26px, 7vw, 34px);
  }

  .metric-label {
    font-size: 10px;
  }
}

/* Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(30px, 4vw, 52px);
  background: rgba(236, 232, 220, 0.12);
  border-top: 1px solid rgba(236, 232, 220, 0.12);
  border-bottom: 1px solid rgba(236, 232, 220, 0.12);
}

@media (min-width: 768px) {
  .metrics-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-box {
  background: var(--color-bg);
  padding: clamp(18px, 2.4vw, 26px) clamp(14px, 2vw, 22px);
}

.metric-value {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--color-lime);
}

.metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.55);
  margin-top: 8px;
}

/* Marquee Running Text */
.marquee-band {
  overflow: hidden;
  background: var(--color-lime);
  color: var(--color-bg);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: com-slide 40s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 800;
  font-size: clamp(15px, 2.1vw, 24px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 34px;
}

/* --------------------------------------------------------------------------
   Section Headers & Components
   -------------------------------------------------------------------------- */
.content-section {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px) 0;
}

.sec-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
}

.sec-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.sec-line {
  flex: 1 1 120px;
  height: 1px;
  background: rgba(236, 232, 220, 0.16);
}

.sec-lead {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(236, 232, 220, 0.6);
  max-width: 32ch;
  margin: 0;
}

/* --------------------------------------------------------------------------
   01 / Instalaciones
   -------------------------------------------------------------------------- */
/* Mobile Instalaciones View */
.fac-mobile-view {
  display: grid;
  gap: 10px;
}

@media (min-width: 1024px) {
  .fac-mobile-view {
    display: none;
  }
}

.fac-mobile-card {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.fac-mobile-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fac-mobile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 14, 11, 0.94) 4%, rgba(13, 14, 11, 0.12) 62%);
}

.fac-mobile-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.fac-mobile-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-lime);
  margin-bottom: 5px;
}

.fac-mobile-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116;
  font-weight: 800;
  font-size: clamp(22px, 6.6vw, 32px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.fac-mobile-sub {
  font-size: 13px;
  color: rgba(236, 232, 220, 0.72);
  margin-top: 6px;
}

/* Desktop Instalaciones View */
.fac-desktop-view {
  display: none;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

@media (min-width: 1024px) {
  .fac-desktop-view {
    display: grid;
  }
}

.fac-image-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(236, 232, 220, 0.12);
}

.fac-display-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.fac-selector-list {
  display: grid;
}

.fac-selector-btn {
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(236, 232, 220, 0.16);
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: clamp(18px, 2.4vw, 26px) 0;
  display: grid;
  gap: 6px;
  transition: background 0.2s ease;
}

.fac-selector-btn:last-child {
  border-bottom: 1px solid rgba(236, 232, 220, 0.16);
}

.fac-btn-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.fac-btn-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(236, 232, 220, 0.4);
}

.fac-btn-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116;
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.fac-selector-btn.active .fac-btn-title,
.fac-selector-btn:hover .fac-btn-title {
  color: var(--color-lime);
}

.fac-btn-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(236, 232, 220, 0.6);
  padding-left: 34px;
}

/* --------------------------------------------------------------------------
   Interactive Graphical Separator
   -------------------------------------------------------------------------- */
.animated-separator {
  position: relative;
  height: clamp(64px, 9vw, 118px);
  overflow: hidden;
  margin-top: clamp(46px, 7vw, 96px);
}

.separator-line-track {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.separator-mask {
  width: 100%;
  height: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.separator-sliding-pattern {
  width: 220%;
  height: 100%;
  background: repeating-linear-gradient(90deg, rgba(201, 225, 74, 0.52) 0 26px, transparent 26px 60px);
  animation: com-slide-x 3.2s linear infinite;
}

.separator-circle-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid rgba(201, 225, 74, 0.5);
  display: grid;
  place-items: center;
  color: var(--color-lime);
  font-size: 16px;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   02 / Programas
   -------------------------------------------------------------------------- */
.section-headline {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 120;
  font-weight: 900;
  font-size: clamp(34px, 6.6vw, 80px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: clamp(18px, 2.4vw, 30px) 0 clamp(24px, 3vw, 40px);
  max-width: 16ch;
}

/* Mobile Programas View */
.prog-mobile-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 1024px) {
  .prog-mobile-view {
    display: none;
  }
}

.prog-mobile-card {
  display: grid;
  gap: 10px;
  color: var(--color-text);
}

.prog-mobile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.prog-mobile-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 114;
  font-weight: 800;
  font-size: clamp(15px, 4.2vw, 19px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.prog-mobile-span2 {
  grid-column: span 2;
}

.prog-mobile-wide-card {
  grid-column: span 2;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--color-text);
}

.prog-mobile-wide-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prog-mobile-wide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 14, 11, 0.92) 6%, rgba(13, 14, 11, 0.1) 66%);
}

.prog-mobile-wide-title {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116;
  font-weight: 800;
  font-size: clamp(20px, 5.6vw, 28px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.prog-mobile-advice-card {
  grid-column: span 2;
  background: var(--color-lime);
  color: var(--color-bg);
  display: grid;
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.prog-mobile-advice-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 900;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.prog-mobile-advice-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 14, 11, 0.7);
}

/* Desktop Programas Snap Rail */
.prog-desktop-view {
  display: none;
}

@media (min-width: 1024px) {
  .prog-desktop-view {
    display: block;
  }
}

.prog-rail {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 clamp(16px, 4vw, 48px) 6px;
  scrollbar-width: none;
}

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

.prog-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: clamp(248px, 74vw, 320px);
  border: 1px solid rgba(236, 232, 220, 0.14);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.prog-card:hover {
  border-color: var(--color-lime);
  background: rgba(201, 225, 74, 0.05);
}

.prog-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.prog-card-cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.42);
  margin-bottom: 10px;
}

.prog-card-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 114;
  font-weight: 800;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.prog-card-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236, 232, 220, 0.62);
}

.prog-card-cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.prog-card-cta:hover {
  color: var(--color-lime-hover);
}

.prog-card-banner {
  background: var(--color-lime);
  color: var(--color-bg);
  border: none;
  justify-content: space-between;
}

.prog-card-banner:hover {
  background: var(--color-lime);
}

.prog-banner-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(13, 14, 11, 0.6);
}

.prog-banner-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.prog-banner-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(13, 14, 11, 0.72);
}

.btn-banner-action {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 2px;
  text-align: center;
  transition: background 0.2s ease;
}

.btn-banner-action:hover {
  background: #22241A;
  color: var(--color-text);
}

.rail-controls {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 48px) 0;
  display: flex;
  gap: 10px;
}

.rail-arrow-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(236, 232, 220, 0.24);
  background: transparent;
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rail-arrow-btn:hover {
  border-color: var(--color-lime);
  color: var(--color-lime);
}

/* --------------------------------------------------------------------------
   03 / Horarios
   -------------------------------------------------------------------------- */
.sched-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

@media (min-width: 860px) {
  .sched-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Affordance Hint for interactive tabs */
.tabs-affordance-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-lime);
  margin-bottom: 12px;
}

.affordance-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-lime);
  display: inline-block;
  box-shadow: 0 0 10px var(--color-lime);
  animation: affordance-blink 2s infinite ease-in-out;
}

.affordance-pulse-dark {
  background: #14150f;
  box-shadow: 0 0 8px rgba(20, 21, 15, 0.4);
}

@keyframes affordance-blink {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.sched-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: rgba(236, 232, 220, 0.05);
  border: 1px solid rgba(236, 232, 220, 0.15);
  border-radius: 0 !important;
}

.sched-tab-btn {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(236, 232, 220, 0.03);
  border: 1px solid rgba(236, 232, 220, 0.12);
  border-radius: 0 !important;
  color: rgba(236, 232, 220, 0.7);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sched-tab-btn .tab-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  background: rgba(236, 232, 220, 0.1);
  color: rgba(236, 232, 220, 0.85);
  border: 1px solid rgba(236, 232, 220, 0.16);
  border-radius: 0 !important;
  transition: all 0.25s ease;
}

.sched-tab-btn:hover {
  background: rgba(201, 225, 74, 0.12);
  border-color: rgba(201, 225, 74, 0.45);
  color: var(--color-lime);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.sched-tab-btn:hover .tab-badge-num {
  background: rgba(201, 225, 74, 0.25);
  color: var(--color-lime);
  border-color: var(--color-lime);
}

.sched-tab-btn.active {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-bg);
  font-weight: 900;
  box-shadow: 0 6px 22px rgba(201, 225, 74, 0.35);
  transform: translateY(-1px);
}

.sched-tab-btn.active .tab-badge-num {
  background: var(--color-bg);
  color: var(--color-lime);
  border-color: var(--color-bg);
}

.sched-panel {
  display: none;
}

.sched-panel.active {
  display: grid;
  animation: com-rise 0.35s ease both;
}

.sched-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(236, 232, 220, 0.1);
}

.sched-label {
  font-size: 16px;
  color: rgba(236, 232, 220, 0.7);
}

.sched-time {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   04 / Testimonios
   -------------------------------------------------------------------------- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
}

@media (min-width: 860px) {
  .testi-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.testi-carousel-stage {
  position: relative;
  min-height: 200px;
}

.testi-card {
  display: none;
  margin: 22px 0 0;
}

.testi-card.active {
  display: block;
  animation: com-rise 0.4s ease both;
}

.testi-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--color-text);
  text-wrap: pretty;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.55);
}

.testi-author-line {
  width: 28px;
  height: 1px;
  background: var(--color-lime);
}

.testi-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.testi-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(236, 232, 220, 0.24);
  background: transparent;
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.testi-arrow-btn:hover {
  border-color: var(--color-lime);
  color: var(--color-lime);
}

.testi-counter {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(236, 232, 220, 0.45);
  margin-left: 8px;
}

.testi-visual-wrap {
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
}

.testi-bg-circles {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(201, 225, 74, 0.16) 0 1px, transparent 1px 15px);
  pointer-events: none;
}

.testi-image {
  position: relative;
  width: 82%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Transiciones Angulares entre Secciones (Sin Rendijas ni Líneas Horizontales)
   -------------------------------------------------------------------------- */
.section-slant-divider {
  position: relative;
  width: 100%;
  height: clamp(48px, 7vw, 96px);
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
  display: block;
}

.slant-tarifario-top {
  margin-top: clamp(40px, 6vw, 80px);
  margin-bottom: -1px; /* 1px de solapamiento que previene líneas y artefactos subpíxel */
}

.slant-tarifario-bottom {
  margin-top: -1px; /* 1px de solapamiento */
  margin-bottom: 0;
}

.slant-cta-top {
  margin-top: clamp(40px, 6vw, 80px);
  margin-bottom: -1px; /* 1px de solapamiento */
}

.slant-svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: geometricPrecision;
}

.tarifario-section {
  background: var(--color-light-bg);
  color: var(--color-light-ink);
  margin-top: 0;
  padding: clamp(30px, 4vw, 60px) clamp(16px, 4vw, 48px) clamp(52px, 8vw, 110px);
}

.tarifario-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.tarif-tag {
  color: var(--color-light-muted);
  font-weight: 600;
}

.tarif-line {
  background: rgba(20, 21, 15, 0.18);
}

.tarif-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 120;
  font-weight: 900;
  font-size: clamp(34px, 6.6vw, 80px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: clamp(18px, 2.4vw, 30px) 0 clamp(22px, 3vw, 36px);
  max-width: 18ch;
}

.tarif-affordance-hint {
  color: rgba(20, 21, 15, 0.7);
}

.tarif-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  background: rgba(20, 21, 15, 0.05);
  border: 1px solid rgba(20, 21, 15, 0.14);
  border-radius: 0 !important;
  margin-bottom: clamp(16px, 2.2vw, 26px);
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 21, 15, 0.2) transparent;
  -webkit-overflow-scrolling: touch;
}

.tarif-tabs-nav::-webkit-scrollbar {
  height: 5px;
}

.tarif-tabs-nav::-webkit-scrollbar-thumb {
  background: rgba(20, 21, 15, 0.25);
}

.tarif-tab-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid rgba(20, 21, 15, 0.14);
  border-radius: 0 !important;
  color: rgba(20, 21, 15, 0.72);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(20, 21, 15, 0.04);
}

.tarif-tab-btn .tab-chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  background: rgba(20, 21, 15, 0.08);
  color: rgba(20, 21, 15, 0.85);
  border-radius: 0 !important;
  transition: all 0.22s ease;
}

.tarif-tab-btn:hover {
  background: #ffffff;
  border-color: rgba(20, 21, 15, 0.5);
  color: var(--color-light-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 21, 15, 0.12);
}

.tarif-tab-btn:hover .tab-chip-num {
  background: var(--color-light-ink);
  color: #ece8dc;
}

.tarif-tab-btn.active {
  background: var(--color-light-ink);
  border-color: var(--color-light-ink);
  color: #ece8dc;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(20, 21, 15, 0.25);
  transform: translateY(-1px);
}

.tarif-tab-btn.active .tab-chip-num {
  background: var(--color-lime);
  color: var(--color-bg);
}

.tarif-panel {
  display: none;
}

.tarif-panel.active {
  display: grid;
  animation: com-rise 0.35s ease both;
}

.tarif-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-light-muted);
  margin: 0 0 6px;
  font-weight: 600;
}

.tarif-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 21, 15, 0.14);
}

.tarif-concept {
  font-size: 17px;
  font-weight: 500;
  max-width: 40ch;
}

.tarif-concept small {
  display: block;
  font-size: 14px;
  color: #5B5A44;
  font-weight: 400;
  margin-top: 3px;
}

.tarif-price {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.tarif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 36px);
}

.btn-tarif-dark {
  background: var(--color-light-ink);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 19px 30px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn-tarif-dark:hover {
  background: #33351F;
  color: var(--color-text);
}

.btn-tarif-outline {
  border: 1px solid rgba(20, 21, 15, 0.28);
  color: var(--color-light-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 19px 30px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn-tarif-outline:hover {
  background: rgba(20, 21, 15, 0.07);
  color: var(--color-light-ink);
}

/* --------------------------------------------------------------------------
   06 / Inscripción (Steps) — High-Performance Athletic Interactive Cards
   -------------------------------------------------------------------------- */
.steps-wrapper {
  position: relative;
  margin-top: clamp(24px, 3.5vw, 44px);
}

.steps-track-line {
  display: none;
}

@media (min-width: 900px) {
  .steps-track-line {
    display: block;
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-lime) 0%, rgba(201, 225, 74, 0.35) 50%, rgba(236, 232, 220, 0.12) 100%);
    z-index: 0;
    pointer-events: none;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, rgba(28, 30, 22, 0.8) 0%, rgba(16, 17, 12, 0.92) 100%);
  border: 1px solid rgba(236, 232, 220, 0.12);
  border-radius: 0 !important; /* Cuadralo */
  padding: clamp(24px, 3vw, 36px) clamp(22px, 2.5vw, 30px);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Top Neon Accent Beam */
.step-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(236, 232, 220, 0.16);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.step-card.active-step .step-top-glow {
  background: var(--color-lime);
  box-shadow: 0 0 22px rgba(201, 225, 74, 0.85);
  animation: beam-glow 3s infinite ease-in-out;
}

/* Ambient Radial Glow */
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 120px;
  background: radial-gradient(ellipse at top, rgba(201, 225, 74, 0.14) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.step-card.active-step::before {
  opacity: 1;
}

.step-card:hover,
.step-card.active-step {
  transform: translateY(-8px);
  border-color: rgba(201, 225, 74, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55),
              0 0 28px rgba(201, 225, 74, 0.16);
}

.step-card:hover .step-top-glow {
  background: var(--color-lime);
  box-shadow: 0 0 22px rgba(201, 225, 74, 0.85);
}

.step-card:hover::before {
  opacity: 1;
}

@media (max-width: 860px) {
  .step-card {
    touch-action: manipulation;
  }
  .step-card:hover,
  .step-card.active-step {
    transform: translateY(-5px) scale(1.012);
  }
}

/* Header Row: Big Number & Status Pill */
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'wdth' 120;
  font-weight: 900;
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(236, 232, 220, 0.22);
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
  transform-origin: left center;
}

.step-card.active-step .step-num {
  color: var(--color-lime);
  text-shadow: 0 0 24px rgba(201, 225, 74, 0.45);
  transform: scale(1.06);
}

.step-card:hover .step-num {
  color: var(--color-lime);
  text-shadow: 0 0 24px rgba(201, 225, 74, 0.4);
  transform: scale(1.06);
}

/* Status Pill / Badge */
.step-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 13px;
  border-radius: 0 !important; /* Cuadralo */
  background: rgba(236, 232, 220, 0.07);
  color: rgba(236, 232, 220, 0.65);
  border: 1px solid rgba(236, 232, 220, 0.1);
  transition: all 0.3s ease;
}

.step-card.active-step .step-badge-pill,
.step-card:hover .step-badge-pill {
  background: rgba(201, 225, 74, 0.12);
  color: var(--color-lime);
  border-color: rgba(201, 225, 74, 0.3);
}

/* Pulsing radar dot for live step */
.step-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-lime);
  display: inline-block;
  animation: step-pulse 2s infinite ease-in-out;
}

.step-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.step-icon-svg svg {
  width: 100%;
  height: 100%;
}

.step-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: clamp(19px, 1.8vw, 22px);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--color-light);
}

.step-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(236, 232, 220, 0.65);
  flex-grow: 1;
}

/* Chips / Mini Tags */
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(236, 232, 220, 0.08);
}

.step-tag {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 0 !important; /* Cuadralo */
  background: rgba(236, 232, 220, 0.05);
  color: rgba(236, 232, 220, 0.75);
  border: 1px solid rgba(236, 232, 220, 0.08);
  transition: all 0.25s ease;
}

.step-card.active-step .step-tag,
.step-card:hover .step-tag {
  background: rgba(201, 225, 74, 0.12);
  color: #ECE8DC;
  border-color: rgba(201, 225, 74, 0.3);
}

/* Action Button on Step 3 */
.step-action-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 20px;
  background: var(--color-lime);
  color: #0D0E0B;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 !important; /* Cuadralo */
  box-shadow: 0 4px 18px rgba(201, 225, 74, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-action-cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

.step-action-cta:hover {
  background: #d8ed5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 225, 74, 0.55);
}

.step-action-cta:hover svg {
  transform: scale(1.15) rotate(-6deg);
}

/* --------------------------------------------------------------------------
   07 / Preguntas Frecuentes
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

@media (min-width: 860px) {
  .faq-layout {
    grid-template-columns: 1fr 1.3fr;
  }
}

.faq-info-card {
  position: relative;
  background: linear-gradient(170deg, rgba(28, 30, 22, 0.85) 0%, rgba(16, 17, 12, 0.96) 100%);
  border: 1px solid rgba(236, 232, 220, 0.14);
  border-radius: 0 !important; /* Cuadralo */
  padding: clamp(20px, 2.5vw, 28px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-info-card:hover {
  border-color: rgba(201, 225, 74, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(201, 225, 74, 0.1);
}

.faq-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.faq-info-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.faq-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.7);
  background: rgba(236, 232, 220, 0.06);
  padding: 4px 10px;
  border-radius: 0 !important; /* Cuadralo */
  border: 1px solid rgba(236, 232, 220, 0.1);
}

.faq-info-address {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #ECE8DC;
  margin-top: 0;
  margin-bottom: 12px;
}

.faq-info-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--color-lime);
  text-decoration: none;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.faq-info-phone:hover {
  transform: translateX(3px);
  text-shadow: 0 0 16px rgba(201, 225, 74, 0.5);
}

/* Map Container & Embed Frame (Arquitectura con Visor y HUD) */
.faq-map-container {
  position: relative;
  margin-top: 18px;
  border-radius: 0 !important; /* Cuadralo */
  overflow: hidden;
  border: 1.5px solid rgba(236, 232, 220, 0.2);
  background: #141610;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.faq-map-frame {
  width: 100%;
  height: clamp(240px, 24vw, 290px);
  border: 0;
  display: block;
  filter: invert(90%) hue-rotate(180deg) contrast(1.1) brightness(0.92);
  transition: filter 0.35s ease;
}

.faq-map-container:hover .faq-map-frame {
  filter: invert(0%) hue-rotate(0deg) contrast(1) brightness(1);
}

/* Viewfinder Optical Corner Accents for Map */
.map-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.map-corner-tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid var(--color-lime);
  border-left: 2px solid var(--color-lime);
}

.map-corner-tr {
  top: 14px;
  right: 14px;
  border-top: 2px solid var(--color-lime);
  border-right: 2px solid var(--color-lime);
}

.faq-map-container:hover .map-frame-corner {
  opacity: 1;
}

/* Lower-Third Cinematic HUD for Map */
.map-hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 14, 11, 0.82) 40%, rgba(13, 14, 11, 0.96) 100%);
  color: #ECE8DC;
  z-index: 2;
  pointer-events: none;
  gap: 12px;
}

.map-hud-info {
  min-width: 0;
}

.map-hud-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 3px;
}

.map-hud-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 800;
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
}

.map-hud-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: rgba(236, 232, 220, 0.78);
  margin-top: 3px;
}

.map-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0D0E0B;
  background: var(--color-lime);
  padding: 8px 13px;
  border-radius: 0 !important; /* Cuadralo */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.map-status-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 225, 74, 0.35);
}

.map-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0D0E0B;
  display: inline-block;
  animation: step-pulse 1.8s infinite ease-in-out;
}

.map-btn-arrow {
  font-weight: 900;
  transition: transform 0.2s ease;
}

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

/* Technical Footnote under Map */
.faq-map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(236, 232, 220, 0.6);
  padding: 8px 2px 0;
}

.faq-map-foot .foot-coords {
  color: #ECE8DC;
  letter-spacing: 0.08em;
}

.faq-map-foot .foot-sep {
  opacity: 0.35;
}

.faq-accordion {
  display: grid;
}

.faq-item {
  border-top: 1px solid rgba(236, 232, 220, 0.16);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(236, 232, 220, 0.16);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  padding: 20px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: var(--color-lime);
}

.faq-indicator {
  color: var(--color-lime);
  font-size: 22px;
  flex: 0 0 auto;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(236, 232, 220, 0.66);
  max-width: 60ch;
}

.faq-item.open .faq-answer {
  display: block;
  animation: com-rise 0.25s ease both;
}

/* --------------------------------------------------------------------------
   CTA Final Banner
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   CTA Final — Minimalist Athletic Editorial (Zero Slop)
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-lime);
  color: #0D0E0B;
  margin-top: 0;
  padding: clamp(36px, 5.5vw, 76px) 0 0;
}

/* Minimalist Technical Ticker (At the bottom of the CTA section) */
.cta-ticker-bar {
  width: 100%;
  background: #0D0E0B;
  color: var(--color-lime);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  border-top: 2px solid #0D0E0B;
  position: relative;
  z-index: 3;
}

.cta-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  animation: ticker-slide 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-ticker-bar:hover .cta-ticker-track {
  animation-play-state: paused;
}

.ticker-sep {
  opacity: 0.4;
  color: var(--color-lime);
}

/* Background Subtle Rotating Geometry */
.cta-radial-bg {
  position: absolute;
  width: min(85vw, 850px);
  aspect-ratio: 1 / 1;
  right: -10%;
  top: 35%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(13, 14, 11, 0.08) 0 1px, transparent 1px 20px);
  pointer-events: none;
  animation: spin-slow 140s linear infinite;
  opacity: 0.8;
}

.cta-container {
  position: relative;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px) clamp(44px, 6vw, 76px);
  z-index: 2;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5.5vw, 72px);
  align-items: start;
}

@media (min-width: 980px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(44px, 5vw, 80px);
    align-items: stretch;
  }
}


/* Monospace Section Tag */
.cta-mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0D0E0B;
}

/* Headline */
.cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'wdth' 124;
  font-weight: 900;
  font-size: clamp(44px, 7.8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 14px 0 0;
  color: #0D0E0B;
}

.cta-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: rgba(13, 14, 11, 0.86);
  margin: 22px 0 0;
  max-width: 46ch;
}

/* Minimalist Technical Specs / Checklist */
.cta-specs-grid {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  border-top: 1px solid rgba(13, 14, 11, 0.22);
}

.cta-spec-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(13, 14, 11, 0.15);
  align-items: baseline;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cta-spec-item:hover {
  transform: translateX(6px);
  border-bottom-color: rgba(13, 14, 11, 0.4);
}

.cta-spec-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0D0E0B;
  opacity: 0.55;
}

.cta-spec-title {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #0D0E0B;
}

.cta-spec-text {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(13, 14, 11, 0.78);
}

/* Actions Row */
.cta-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.btn-cta-minimal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0D0E0B;
  color: var(--color-lime);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 0 !important; /* Cuadralo */
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(13, 14, 11, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-minimal:hover {
  background: #1c1e15;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 14, 11, 0.4);
}

.btn-cta-minimal .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-cta-minimal:hover .btn-arrow {
  transform: translateX(4px);
}

.cta-phone-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.cta-phone-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 14, 11, 0.65);
}

.cta-phone-val {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 800;
  font-size: 17px;
  color: #0D0E0B;
  transition: color 0.2s ease;
}

.cta-phone-val:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Minimalist Architectural Photo Frame
   -------------------------------------------------------------------------- */
.cta-photo-window {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 980px) {
  .cta-photo-window {
    height: 100%;
    gap: 14px;
  }
}

/* Segmented Navigation Bar */
.cta-minimal-nav {
  display: flex;
  border: 1.5px solid #0D0E0B;
  border-radius: 0 !important; /* Cuadralo */
  overflow: hidden;
  background: transparent;
}

.cta-nav-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1.5px solid #0D0E0B;
  color: #0D0E0B;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}

@media (min-width: 980px) {
  .cta-nav-tab {
    padding: 15px 16px;
    font-size: 12.5px;
    letter-spacing: 0.12em;
  }
}

.cta-nav-tab:last-child {
  border-right: none;
}

.cta-nav-tab.active {
  background: #0D0E0B;
  color: var(--color-lime);
}

.cta-nav-tab:not(.active):hover {
  background: rgba(13, 14, 11, 0.12);
}

/* Photo Viewport */
.cta-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  min-height: 380px;
  border: 1.5px solid #0D0E0B;
  border-radius: 0 !important; /* Cuadralo */
  overflow: hidden;
  background: #0D0E0B;
  box-shadow: 0 12px 36px rgba(13, 14, 11, 0.18);
}

@media (min-width: 980px) {
  .cta-photo-frame {
    flex: 1 1 auto;
    min-height: 520px;
    height: 100%;
    aspect-ratio: unset;
  }
}

@media (min-width: 1200px) {
  .cta-photo-frame {
    min-height: 560px;
  }

  .cta-title {
    font-size: clamp(64px, 5.8vw, 110px);
  }

  .cta-desc {
    font-size: 19.5px;
    max-width: 44ch;
  }

  .cta-specs-grid {
    margin-top: 36px;
  }

  .cta-spec-item {
    padding: 22px 0;
  }

  .cta-spec-title {
    font-size: 17.5px;
  }

  .cta-spec-text {
    font-size: 15px;
  }

  .btn-cta-minimal {
    padding: 21px 40px;
    font-size: 16px;
  }

  .cta-phone-val {
    font-size: 19px;
  }
}


.cta-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.15);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.cta-photo-frame:hover .cta-photo-img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.03);
}

.cta-photo-img.switching {
  opacity: 0.18;
  transform: scale(0.985);
}

/* Viewfinder Optical Corner Accents */
.cta-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.cta-corner-tl {
  top: 16px;
  left: 16px;
  border-top: 2px solid var(--color-lime);
  border-left: 2px solid var(--color-lime);
}

.cta-corner-tr {
  top: 16px;
  right: 16px;
  border-top: 2px solid var(--color-lime);
  border-right: 2px solid var(--color-lime);
}

.cta-photo-frame:hover .cta-frame-corner {
  opacity: 1;
}

/* Lower-Third Cinematic Meta Bar */
.cta-hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 28px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 14, 11, 0.76) 40%, rgba(13, 14, 11, 0.94) 100%);
  color: #ECE8DC;
  z-index: 2;
  pointer-events: none;
  gap: 16px;
}

.hud-spec-info {
  min-width: 0;
}

.hud-spec-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 4px;
}

.hud-spec-title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 115;
  font-weight: 800;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
}

.hud-spec-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(236, 232, 220, 0.78);
  margin-top: 4px;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0D0E0B;
  background: var(--color-lime);
  padding: 8px 14px;
  border-radius: 0 !important; /* Cuadralo */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.hud-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0D0E0B;
  display: inline-block;
  animation: step-pulse 1.8s infinite ease-in-out;
}

/* Minimal Caption Below */
.cta-minimal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(13, 14, 11, 0.8);
  padding: 4px 2px 0;
}

.foot-coords {
  color: #0D0E0B;
  letter-spacing: 0.08em;
}

.foot-sep {
  opacity: 0.35;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 48px) clamp(96px, 10vw, 56px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1.1fr 0.9fr 1.1fr 0.7fr;
  }
}

.footer-about-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(236, 232, 220, 0.58);
  margin: 18px 0 0;
  max-width: 32ch;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin: 0 0 16px;
}

.footer-contact-info {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(236, 232, 220, 0.68);
}

.footer-links-list {
  display: grid;
  gap: 9px;
}

.footer-nav-link {
  font-size: 15px;
  color: rgba(236, 232, 220, 0.68);
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--color-lime);
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 0;
  border: 1px solid rgba(236, 232, 220, 0.2);
  display: grid;
  place-items: center;
  color: var(--color-text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social-btn svg {
  width: 19px;
  height: 19px;
}

.footer-social-btn:hover {
  background: var(--color-lime);
  color: var(--color-bg);
  border-color: var(--color-lime);
}

.footer-legal-notice {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 18px 22px;
  background: rgba(20, 22, 16, 0.65);
  border: 1px solid rgba(236, 232, 220, 0.08);
  border-radius: 0;
}

.footer-legal-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(236, 232, 220, 0.52);
}

.footer-legal-notice strong {
  color: rgba(236, 232, 220, 0.85);
  font-weight: 600;
}

.footer-legal-notice a {
  color: var(--color-lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-notice a:hover {
  color: var(--color-lime-bright);
}

.footer-copyright {
  margin-top: clamp(20px, 2.5vw, 30px);
  padding-top: 18px;
  border-top: 1px solid rgba(236, 232, 220, 0.12);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-copy-right a {
  color: rgba(236, 232, 220, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-copy-right a:hover {
  color: var(--color-lime);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Quick Action Bar
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(13, 14, 11, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(236, 232, 220, 0.14);
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  display: flex;
  gap: 9px;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  background: var(--color-lime);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108;
  font-weight: 800;
  font-size: clamp(13px, 3.6vw, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: 56px;
  border-radius: 2px;
  padding: 0 14px;
  white-space: nowrap;
}

.mobile-bottom-cta svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-wa-btn {
  position: fixed;
  right: 18px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 95;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-bg);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(201, 225, 74, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-wa-btn svg {
  width: 31px;
  height: 31px;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--color-bg);
  background: var(--color-lime-bright);
}

@media (min-width: 1024px) {
  .floating-wa-btn {
    bottom: 28px;
  }
}

/* --------------------------------------------------------------------------
   Promotional Modal Popup
   -------------------------------------------------------------------------- */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 9, 6, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.promo-modal-card {
  position: relative;
  transform: scale(0.92);
  transition: transform 0.34s cubic-bezier(0.16, 0.84, 0.28, 1);
}

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

.promo-modal-img {
  display: block;
  max-height: min(84vh, 900px);
  max-width: min(90vw, 520px);
  width: auto;
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.promo-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 46px;
  height: 46px;
  border-radius: 0 !important; /* Cuadralo */
  border: 0;
  background: var(--color-lime);
  color: var(--color-bg);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease;
  z-index: 10;
}

.promo-modal-close.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.promo-modal-close.visible:hover {
  transform: scale(1.1);
  background: var(--color-lime-hover);
}

/* ==========================================================================
   Global Architectural Squaring Override (Brutalist Editorial)
   ========================================================================== */
.btn-header-cta,
.menu-toggle-btn,
.drawer-close-btn,
.btn-hero-primary,
.btn-hero-secondary,
.rail-arrow-btn,
.btn-banner-action,
.separator-circle-badge,
.sched-tab-btn,
.testi-arrow-btn,
.tarif-tab-btn,
.btn-tarif-dark,
.btn-tarif-outline,
.step-num,
.step-badge-pill,
.step-action-cta,
.faq-indicator,
.footer-social-btn,
.mobile-bottom-cta,
.floating-wa-btn,
.promo-modal-close,
.btn-cta-minimal {
  border-radius: 0 !important;
}

/* ==========================================================================
   Header Share Button & Toast Notification
   ========================================================================== */
.btn-share-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(236, 232, 220, 0.2);
  border-radius: 0 !important;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-share-header:hover {
  background: rgba(201, 225, 74, 0.12);
  border-color: var(--color-lime);
  color: var(--color-lime);
}

.btn-share-header svg {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .btn-share-header .share-btn-text {
    display: none;
  }
  .btn-share-header {
    padding: 10px;
    width: 40px;
    height: 40px;
  }
}

.drawer-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: rgba(236, 232, 220, 0.05);
  border: 1px solid rgba(236, 232, 220, 0.18);
  border-radius: 0 !important;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.drawer-share-btn:hover {
  background: rgba(201, 225, 74, 0.15);
  border-color: var(--color-lime);
  color: var(--color-lime);
}

/* Toast Notification */
.share-toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 1000;
  background: var(--color-lime);
  color: var(--color-bg);
  padding: 12px 20px;
  border-radius: 0 !important;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero Reassurance Microcopy
   ========================================================================== */
.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(236, 232, 220, 0.65);
  letter-spacing: 0.04em;
}

.reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reassurance-item svg {
  color: var(--color-lime);
}

.reassurance-sep {
  color: rgba(236, 232, 220, 0.25);
}

/* ==========================================================================
   TL;DR & Key Takeaways Section (Architectural Grid, Squared)
   ========================================================================== */
.tldr-section {
  position: relative;
  background: #11130D;
  border-top: 1px solid rgba(236, 232, 220, 0.12);
  border-bottom: 1px solid rgba(236, 232, 220, 0.12);
  padding: clamp(48px, 6vw, 80px) 0;
  overflow: hidden;
}

.tldr-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.tldr-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

@media (min-width: 768px) {
  .tldr-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.tldr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.tldr-dot {
  width: 6px;
  height: 6px;
  background: var(--color-lime);
  display: inline-block;
}

.tldr-summary {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.5;
  color: rgba(236, 232, 220, 0.82);
  max-width: 680px;
}

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

@media (min-width: 640px) {
  .tldr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tldr-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.tldr-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #161811;
  border: 1px solid rgba(236, 232, 220, 0.12);
  border-radius: 0 !important;
  padding: 24px 22px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
}

.tldr-card:hover {
  border-color: var(--color-lime);
  background: #191C13;
  transform: translateY(-3px);
  color: var(--color-text);
}

.tldr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(236, 232, 220, 0.08);
}

.tldr-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-lime);
}

.tldr-tag {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.45);
}

.tldr-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: 10px;
}

.tldr-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(236, 232, 220, 0.65);
  margin-bottom: 20px;
  flex-grow: 1;
}

.tldr-link-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-lime);
  padding-top: 12px;
  border-top: 1px solid rgba(236, 232, 220, 0.08);
  transition: color 0.2s ease;
}

.tldr-card:hover .tldr-link-action {
  color: var(--color-lime-bright);
}

.tldr-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.tldr-card:hover .tldr-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Semantic Tables (Horarios y Tarifario)
   ========================================================================== */
.sched-table,
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}

.sched-table th,
.sched-table td,
.tarif-table th,
.tarif-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(236, 232, 220, 0.1);
}

.sched-table th {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 232, 220, 0.5);
  background: rgba(236, 232, 220, 0.03);
}

.sched-status-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-lime);
  background: rgba(201, 225, 74, 0.1);
  padding: 4px 8px;
  border: 1px solid rgba(201, 225, 74, 0.2);
  border-radius: 0 !important;
}

/* Tarifario Light Theme Table Adjustments */
.tarif-table th {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 14, 11, 0.6);
  background: rgba(13, 14, 11, 0.04);
  border-bottom: 2px solid rgba(13, 14, 11, 0.15);
}

.tarif-table td {
  border-bottom: 1px solid rgba(13, 14, 11, 0.12);
  color: #0D0E0B;
}

.tarif-table-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #0D0E0B;
  white-space: nowrap;
}

.tarif-table-detail {
  font-size: 12px;
  color: rgba(13, 14, 11, 0.65);
  margin-top: 3px;
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Enhanced FAQ Cluster Links & Styling
   ========================================================================== */
.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-cluster-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-lime);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.faq-cluster-link:hover {
  color: var(--color-lime-bright);
}

/* ==========================================================================
   Rendering Performance & Smooth Loading (Web & Mobile)
   ========================================================================== */
#instalaciones,
#programas,
#horarios,
#tarifario,
#inscripcion,
#faq,
#cta,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}
