﻿/* =============================================
   WE ARE SPORTS v2 — Dark Editorial Design
   ============================================= */

@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nexa', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  background: #0a0a0a;
  color: #e8e8e8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.noscroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --blue: #1a5cff;
  --blue-light: #4a7fff;
  --white: #ffffff;
  --off-white: #e8e8e8;
  --muted: rgba(232,232,232,0.68);
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #181818;
  --border: rgba(255,255,255,0.08);
  --gap: clamp(60px, 8vw, 120px);
  --container: 1200px;
}

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transform: translateY(-100%);
  transition: transform 0.4s ease, background 0.3s, border-color 0.3s;
  background: transparent;
  /* Fuerza su propia capa de composición: evita que algunos navegadores móviles
     (iOS Safari) solo repinten este elemento fixed+transform al cambiar de
     dirección de scroll en vez de hacerlo en tiempo real. */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#navbar.scrolled {
  transform: translateY(0);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.2s;
  padding: 2px 1px;
}
.lang-btn:hover,
.lang-btn.active { color: var(--blue); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--off-white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MOBILE MENU
   ============================================= */
/* === PANEL MÓVIL =========================================== */
#mobile-panel { display: none; }

@media (max-width: 768px) {

  #mobile-panel {
    --blue: #79c4ff;
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: transparent;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.55s;
  }
  #mobile-panel.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0s;
  }

  .mnp-video-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
  }
  .mnp-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 24, 0.72);
    z-index: 1;
    pointer-events: none;
  }

  .mnp-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--blue);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0s linear 0.55s;
    z-index: 3;
    pointer-events: none;
  }
  #mobile-panel.open .mnp-topbar {
    transform: scaleX(1);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
  }

  .mnp-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: transparent;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease, background 0.8s ease;
  }
  #mobile-panel.open .mnp-glow { opacity: 1; }

  .mnp-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px 0;
    flex-shrink: 0;
    z-index: 2;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  #mobile-panel.open .mnp-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
  }
  .mnp-logo {
    height: 78px;
    filter: brightness(0) invert(1);
    display: block;
  }

  .mnp-live {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }
  .mnp-live-dot {
    width: 5px; height: 5px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: mnp-pulse 2s ease-in-out infinite;
  }
  @keyframes mnp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%       { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 3px rgba(34,197,94,0); }
  }
  .mnp-live-text {
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.58);
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mnp-close {
    position: absolute;
    top: max(22px, env(safe-area-inset-top)); right: max(28px, calc(env(safe-area-inset-right) + 20px));
    z-index: 3;
    width: 30px; height: 30px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;
    background: none;
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .mnp-close:hover {
    border-color: var(--blue);
    color: white;
    background: rgba(121,196,255,0.1);
  }

  .mnp-divider {
    height: 1px;
    margin: 16px 28px 0;
    flex-shrink: 0;
    background: linear-gradient(to right, var(--blue) 60%, transparent);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    position: relative;
    z-index: 2;
    transition: transform 0s linear 0.55s, opacity 0s linear 0.55s;
  }
  #mobile-panel.open .mnp-divider {
    opacity: 0.45;
    transform: scaleX(1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
                opacity 0s linear 0.18s;
  }

  #mobile-panel nav {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 28px;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }
  .mnp-links { list-style: none; padding: 0; margin: 0; width: 100%; }

  @keyframes mnp-item-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .mnp-links li {
    opacity: 0;
    position: relative;
    border-radius: 2px;
    transition: background 0.22s ease, box-shadow 0.22s ease;
  }
  #mobile-panel.open .mnp-links li { animation: mnp-item-in 0.38s ease forwards; }
  #mobile-panel.open .mnp-links li:nth-child(1) { animation-delay: 0.13s; }
  #mobile-panel.open .mnp-links li:nth-child(2) { animation-delay: 0.18s; }
  #mobile-panel.open .mnp-links li:nth-child(3) { animation-delay: 0.23s; }
  #mobile-panel.open .mnp-links li:nth-child(4) { animation-delay: 0.28s; }
  #mobile-panel.open .mnp-links li:nth-child(5) { animation-delay: 0.33s; }
  #mobile-panel.open .mnp-links li:nth-child(6) { animation-delay: 0.38s; }
  #mobile-panel.open .mnp-links li:nth-child(7) { animation-delay: 0.43s; }
  #mobile-panel.open .mnp-links li:nth-child(8) { animation-delay: 0.48s; }
  .mnp-links li:hover {
    background: rgba(255,255,255,0.03);
    box-shadow: inset 2px 0 0 var(--blue);
  }
  .mnp-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: padding-left 0.22s ease;
  }
  .mnp-links li:last-child a { border-bottom: none; }
  .mnp-links li:hover a { padding-left: 6px; }

  .mnp-num {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--blue);
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 3px;
    opacity: 0.9;
  }
  .mnp-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .mnp-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255,255,255,0.72);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.1;
    transition: color 0.2s ease;
  }
  .mnp-links li:hover .mnp-title { color: rgba(255,255,255,0.97); }
  .mnp-sub {
    font-size: 0.72rem;
    color: rgba(121,196,255,0.75);
    letter-spacing: 0.04em;
    font-weight: 400;
    transition: color 0.2s ease;
  }
  .mnp-links li:hover .mnp-sub { color: rgba(121,196,255,1); }
  .mnp-chevron {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.18);
    flex-shrink: 0;
    font-family: Georgia, serif;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  .mnp-links li:hover .mnp-chevron { color: var(--blue); transform: translateX(3px); }

  .mnp-ghost { display: none; }

  .mnp-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 28px 22px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  #mobile-panel.open .mnp-bottom {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.52s;
  }
  .mnp-socials { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
  .mnp-soc { color: rgba(255,255,255,0.55); display: flex; align-items: center; transition: color 0.2s ease; }
  .mnp-soc svg { width: 22px; height: 22px; }
  .mnp-soc:hover { color: rgba(255,255,255,0.8); }
  .mnp-bot-lang { display: flex; align-items: center; gap: 1px; flex-shrink: 0; }
  .mnp-bot-lang .lang-btn {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    padding: 3px 5px;
    background: none;
    border: none;
  }
  .mnp-bot-lang .lang-btn::after { display: none; }
  .mnp-bot-lang .lang-btn.active { color: var(--blue); }
  .mnp-bot-lang .lang-btn:hover { color: rgba(255,255,255,0.85); background: none; }
  .mnp-lang-sep { color: rgba(255,255,255,0.28); font-size: 0.48rem; pointer-events: none; }
  .mnp-email {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  .mnp-email:hover { color: rgba(255,255,255,0.7); }

  .nav-links { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .nav-toggle span { background: white; }
  .nav-toggle.open span { background: white !important; }

}

/* =============================================
   HERO
   ============================================= */
.hero-logo-wrap {
  margin: 24px 0 28px;
}
.hero-logo {
  height: clamp(100px, 18vw, 280px);
  width: auto;
  display: block;
  margin: 0;
  filter: drop-shadow(0 0 40px rgba(26,92,255,0.25));
}
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
/* Carrousel de fondo: crossfade + Ken Burns sutil, cambia solo cada 3s */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: brightness(0.85);
  transition: opacity 1.1s ease;
  will-change: opacity, transform;
}
.hero-slide.on {
  opacity: 1;
  animation: hero-kenburns 4.5s ease-out forwards;
}
@keyframes hero-kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.5s ease; }
  .hero-slide.on { animation: none; transform: none; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,5,15,0.3) 0%,
    rgba(5,5,15,0.42) 60%,
    rgba(10,10,10,0.78) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 20px clamp(24px, 8vw, 120px);
  max-width: 900px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid rgba(74,127,255,0.3);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-line-sm {
  font-size: clamp(2.8rem, 8vw, 6rem);
  color: rgba(255,255,255,0.6);
}
.hero-line-lg {
  font-size: clamp(5rem, 20vw, 16rem);
  color: var(--white);
  text-shadow: 0 0 80px rgba(26,92,255,0.3);
}
/* Altura FIJA de 2 renglones: la frase puede ocupar 1 o 2 líneas
   sin empujar hacia abajo el subtítulo ni los botones */
.hero-tw-wrap {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.45;
  height: 2.9em;
  overflow: hidden;
  margin-bottom: 18px;
}
.hero-tw {
  font-size: inherit;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
}
.hero-tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--blue);
  margin-left: 3px;
  vertical-align: middle;
  animation: tw-blink 0.85s steps(1) infinite;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
/* Distinta a la frase animada: acento vertical + tono apagado, sin competir con el typewriter */
.hero-sub {
  position: relative;
  font-size: clamp(0.78rem, 1.4vw, 0.88rem);
  color: rgba(232,232,232,0.5);
  max-width: 440px;
  margin-inline: 0;
  margin-bottom: 40px;
  padding-left: 18px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  border-left: 2px solid rgba(74,127,255,0.45);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
/* Botones con corte diagonal (mismo lenguaje que las fotos de los directores):
   forma de paralelogramo, con un brillo diagonal que barre al hacer hover. */
.btn-prim,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px 16px 30px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.btn-prim svg,
.btn-ghost svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
/* Brillo diagonal: barre de izquierda a derecha al pasar el mouse */
.btn-prim::before,
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn-prim:hover::before,
.btn-ghost:hover::before {
  transform: translateX(120%);
}
.btn-prim {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(26,92,255,0.35);
}
.btn-prim:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26,92,255,0.5);
}
.btn-prim:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost:hover svg { transform: translateX(4px); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* =============================================
   SECTIONS — SHARED
   ============================================= */
.section {
  padding-block: var(--gap);
}
.sec-alt { background: var(--dark-2); }
.sec-head {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.sec-num {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  font-weight: 700;
}
.sec-name {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--blue);
}
.sec-title {
  font-family: 'Poppins', 'Nexa', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}
.sec-title .text-blue {
  font-weight: 800;
}
/* Palabras que entran una tras otra (salida de vestuario) */
.tw-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.tw-word {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.sec-title.tw-in .tw-word { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .tw-word { transform: none; transition: none; }
}
.sec-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}
.text-blue { color: var(--blue); }

/* VIDEO SECTION */
.sec-video {
  position: relative;
  overflow: hidden;
}
.sec-video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sec-video-ov {
  position: absolute;
  inset: 0;
  background: rgba(5,5,15,0.80);
  z-index: 1;
}
.sec-video .container { position: relative; z-index: 2; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   01 — NOSOTROS
   ============================================= */
.about-stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(48px, 6vw, 72px);
  padding-block: clamp(32px, 5vw, 56px);
}
.about-stat-item {
  text-align: center;
  padding-inline: 24px;
}
.about-stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}
.about-stat-num {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 32px rgba(26,92,255,0.35);
}
.counter.odo {
  display: inline-flex;
}
.odo-digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}
.odo-reel {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.odo-reel span {
  display: block;
  height: 1em;
  line-height: 1;
}
.about-stat-suf,
.about-stat-pre {
  font-size: 0.9em;
  color: var(--blue);
  font-weight: 700;
}
.about-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}
.about-body { max-width: 900px; }
.about-body .lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--off-white);
  line-height: 1.65;
  margin-bottom: 28px;
}
.about-body .lead strong { font-weight: 700; color: var(--white); }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.about-cols p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.link-arr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 700;
  margin-top: 12px;
  transition: gap 0.2s;
}
.link-arr:hover { gap: 14px; }

/* =============================================
   02 — SERVICIOS
   ============================================= */
.svc-panels {
  display: flex;
  gap: 4px;
  height: 520px;
}
.svc-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
  transition: flex 0.65s cubic-bezier(0.65, 0, 0.35, 1), min-height 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}
.svc-panel.active { flex: 3.2; cursor: default; }
.svc-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) brightness(0.8);
  transform: scale(1.08);
  transition: filter 0.65s, transform 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}
.svc-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8,12,30,0.8) 15%, rgba(26,92,255,0.12) 100%);
  opacity: 0;
  transition: opacity 0.65s;
}
.svc-panel.active .svc-panel-bg {
  filter: grayscale(10%) brightness(0.85);
  transform: scale(1);
}
/* La foto de Consultoría (libro) queda con mucho margen arriba y el libro
   pegado abajo con "cover" a secas; se hace zoom y se sube el encuadre. */
.svc-panel--consultoria .svc-panel-bg {
  background-size: auto 125%;
  background-position: center 95%;
}
.svc-panel.active .svc-panel-bg::after { opacity: 1; }
.svc-panel-collapsed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  opacity: 1;
  transition: opacity 0.35s;
}
.svc-panel.active .svc-panel-collapsed { opacity: 0; pointer-events: none; }
.svc-panel-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: rgba(255,255,255,0.16);
  line-height: 1;
}
.svc-panel-vtitle {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  white-space: nowrap;
}
.svc-panel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s 0.25s, transform 0.5s 0.25s;
  min-width: 340px;
}
.svc-panel.active .svc-panel-content { opacity: 1; transform: translateY(0); }
.svc-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  color: var(--blue-light);
}
.svc-icon svg {
  width: 100%;
  height: 100%;
}
.svc-num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  font-weight: 700;
  margin-bottom: 16px;
}
.svc-rule {
  width: 32px; height: 1px;
  background: var(--blue);
  margin-bottom: 18px;
}
.svc-panel-content h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.svc-panel-content > p {
  font-size: 0.92rem;
  color: rgba(232,232,232,0.85);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 520px;
}
.svc-panel-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  max-width: 560px;
}
.svc-panel-content li {
  font-size: 0.82rem;
  color: rgba(232,232,232,0.8);
  padding-left: 14px;
  position: relative;
  letter-spacing: 0.04em;
}
.svc-panel-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-size: 0.7rem;
}
@media (max-width: 860px) {
  .svc-panels { flex-direction: column; height: auto; }
  .svc-panel { min-height: 84px; }
  .svc-panel.active { min-height: 440px; flex: none; }
  .svc-panel-collapsed {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 28px;
    align-items: center;
  }
  .svc-panel-vtitle { writing-mode: horizontal-tb; transform: none; }
  .svc-panel-content { padding: 32px 28px; min-width: 0; }
}

/* =============================================
   TICKERS
   ============================================= */
.ticker-wrap {
  overflow: hidden;
  background: var(--blue);
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-rev { background: var(--dark-3); }
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: tickerLeft 30s linear infinite;
}
.ticker-rev .ticker-track {
  animation: tickerRight 35s linear infinite;
}
.ticker-track span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 24px;
}
.ticker-rev .ticker-track span { color: var(--muted); }
.td { color: rgba(255,255,255,0.4) !important; padding: 0 4px !important; }
.ticker-rev .td { color: rgba(232,232,232,0.15) !important; }
@keyframes tickerLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes tickerRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* =============================================
   03 — MISIÓN
   ============================================= */
/* Manifiesto tipográfico: palabra grande a la izquierda, texto que se ilumina con el scroll a la derecha */
.manifesto {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 100px);
  padding-block: clamp(30px, 5vw, 60px);
}
.manifesto-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) 1.6fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.manifesto-word {
  font-family: 'Poppins', 'Nexa', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
}
.manifesto-text {
  font-family: 'Poppins', 'Nexa', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--white);
}
.manifesto-text .kw {
  color: rgba(232,232,232,0.22);
  transition: color 0.35s ease;
}
.manifesto-text .kw.lit { color: var(--white); }
.manifesto-val-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
}
.mval {
  font-family: 'Poppins', 'Nexa', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: rgba(232,232,232,0.22);
  transition: color 0.35s ease;
}
.mval.lit { color: var(--blue-light); }

/* =============================================
   04 — EQUIPO
   ============================================= */
/* Dossier editorial: foto grande + nombre gigante superpuesto */
.dossier-list {
  display: flex;
  flex-direction: column;
  gap: clamp(70px, 9vw, 130px);
  margin-bottom: 80px;
}
.dossier {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
}
.dossier-photo {
  position: relative;
  height: clamp(440px, 62vh, 660px);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}
.dossier-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%) brightness(0.9);
  transition: filter 0.6s ease, transform 0.8s ease;
}
.dossier:hover .dossier-photo img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.03);
}
.dossier-body {
  position: relative;
  z-index: 2;
  margin-left: -14%;
}
.dossier--rev .dossier-photo {
  order: 2;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}
.dossier--rev .dossier-body {
  order: 1;
  margin-left: 0;
  margin-right: -14%;
  padding-right: 6%;
}
.dossier-name {
  font-family: 'Poppins', 'Nexa', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.8);
  margin: 10px 0 26px;
}
.dossier .team-bio {
  max-width: 560px;
  background: rgba(8,8,16,0.72);
  backdrop-filter: blur(6px);
  border-left: 2px solid var(--blue);
  padding: 24px 26px;
}
.team-role {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.team-bio p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 10px;
}
.team-bio p:last-child { margin-bottom: 0; }
.athletes-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.athletes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@property --ath-ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.ath-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark-3);
}
.ath-photo {
  position: absolute;
  inset: 0;
}
/* Borde gradiente azul que gira al hover (estilo trading card) */
.ath-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  padding: 1px;
  background: conic-gradient(from var(--ath-ang), transparent 0% 60%, var(--blue) 80%, var(--blue-light) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
}
.ath-card:hover::before {
  opacity: 1;
  animation: ath-spin 2.4s linear infinite;
}
@keyframes ath-spin {
  to { --ath-ang: 360deg; }
}
.ath-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.5s ease;
  filter: grayscale(100%) brightness(0.85);
}
.ath-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0) brightness(1);
}
/* Degradé que cubre nombre + deporte hasta el borde inferior */
.ath-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 96px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8,14,40,0.98) 55%, transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.ath-card:hover::after { opacity: 1; }
.ath-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 44px 16px 14px;
  background: linear-gradient(to top, rgba(5,5,15,0.95), transparent);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s;
}
.ath-card:hover .ath-name {
  transform: translateY(-22px);
  background: none;
}
.ath-sport {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s 0.08s, transform 0.4s 0.08s cubic-bezier(0.22, 1, 0.36, 1);
}
.ath-card:hover .ath-sport {
  opacity: 1;
  transform: translateY(0);
}
/* En touch no hay hover: mostrar todo siempre */
@media (pointer: coarse) {
  .ath-card img { filter: grayscale(20%); }
  .ath-card::after { opacity: 1; }
  .ath-name { transform: translateY(-22px); background: none; }
  .ath-sport { opacity: 1; transform: none; }
}

/* =============================================
   05 — CLIENTES
   ============================================= */
.tabs-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.tab-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 28px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--off-white); }
.tab-btn.active { color: var(--white); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  position: relative;
}
/* Linterna azul que sigue al mouse detrás de los logos */
.logo-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(26,92,255,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.logo-grid.lit::after { opacity: 1; }
.logo-cell {
  background: var(--dark-3);
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  opacity: 0.8;
  overflow: hidden;
  transition: opacity 0.3s;
}
.logo-cell:hover { opacity: 1; }
.logo-cell img {
  max-width: 90px; max-height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.logo-cell:hover img {
  filter: none;
}
.logo-cell--gray img {
  filter: grayscale(1) invert(1) brightness(1.4);
}
.logo-cell--gray:hover img {
  filter: none;
}
.logo-cell--xl img {
  transform: scale(1.6);
}
/* Instituciones: chip oscuro con logo + nombre debajo (mismo tono que Marcas & Partners) */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.inst-cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inst-logo {
  background: var(--dark-3);
  border-radius: 6px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.inst-cell:hover .inst-logo {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,92,255,0.25);
}
.inst-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.3s;
}
/* Logos sin versión clara dedicada: forzar silueta blanca, revelar color original al hover */
.inst-cell--mono .inst-logo img {
  filter: brightness(0) invert(1);
}
.inst-cell--mono:hover .inst-logo img {
  filter: none;
}
.inst-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  transition: color 0.25s;
}
.inst-cell:hover .inst-name { color: var(--white); }
.athletes-grid-sm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.athletes-grid-sm span {
  background: var(--dark-3);
  padding: 24px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--off-white);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.athletes-grid-sm span:hover { border-bottom-color: var(--blue); color: var(--white); }

/* =============================================
   06 — GALERÍA
   ============================================= */
/* Cinta horizontal manejada por el scroll vertical (sticky) */
.gal-scroll {
  position: relative;
}
.gal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.gal-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: clamp(20px, 5vw, 60px);
  will-change: transform;
}
.gal-item {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
  height: 46vh;
  width: 34vh;
}
.gal-item--lg { height: 62vh; width: 46vh; }
.gal-item--wide { height: 46vh; width: 62vh; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
  filter: brightness(0.85) grayscale(20%);
}
.gal-item:hover img { transform: scale(1.05); filter: brightness(1) grayscale(0); }
.gal-item-num {
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.gal-progress {
  position: absolute;
  bottom: 36px;
  left: clamp(20px, 5vw, 60px);
  right: clamp(20px, 5vw, 60px);
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.gal-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  transition: width 0.1s linear;
}
@media (max-width: 768px), (pointer: coarse) {
  .gal-scroll { height: auto !important; }
  .gal-sticky { position: static; height: auto; overflow: visible; }
  .gal-ribbon {
    transform: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-block: 8px;
  }
  .gal-item { scroll-snap-align: center; height: 320px; width: 240px; }
  .gal-item--lg { height: 320px; width: 300px; }
  .gal-item--wide { height: 320px; width: 380px; }
  .gal-progress { display: none; }
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
#lightbox[aria-hidden="false"] { display: flex; align-items: center; justify-content: center; }
.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.95);
  cursor: pointer;
}
.lb-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 16px;
}
#lb-img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  transition: background 0.2s;
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.15); }
.lb-counter {
  position: fixed;
  bottom: 44px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.lb-caption {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  min-height: 1.2em;
}

/* =============================================
   07 — RECURSOS
   ============================================= */
.res-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.res-card {
  background: rgba(10,10,20,0.7);
  border: 1px solid var(--border);
  padding: 44px 40px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s;
}
.res-card:hover { border-color: rgba(26,92,255,0.4); }
.res-year {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 700;
}
.res-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.res-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.res-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-top: 8px;
  transition: gap 0.2s, color 0.2s;
}
.res-dl:hover { gap: 14px; color: var(--white); }
.res-dl svg { flex-shrink: 0; width: 16px; height: 16px; }

/* =============================================
   08 — CONTACTO
   ============================================= */
.contact-title { margin-bottom: 16px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.contact-block {
  background: var(--dark-3);
  padding: 44px 40px;
  border-top: 2px solid var(--blue);
}
.contact-block h4 {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.contact-block p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact-mail {
  font-size: 0.95rem;
  color: var(--off-white);
  font-weight: 700;
  transition: color 0.2s;
}
.contact-mail:hover { color: var(--blue-light); }
.contact-address-link {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  transition: color 0.2s;
  text-decoration: none;
}
.contact-address-link:hover { color: var(--blue-light); }
.contact-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact-socials a {
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.contact-socials a:hover { color: var(--blue-light); transform: translateY(-2px); }

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding-top: 60px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-logo { height: 90px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--off-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(232,232,232,0.52);
  letter-spacing: 0.04em;
}

/* =============================================
   CURSOR PERSONALIZADO (solo desktop)
   ============================================= */
@media (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor .gal-item,
  body.has-cursor .caso-card,
  body.has-cursor .svc-panel { cursor: none; }
}
.cur-dot,
.cur-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 3000;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cur-dot {
  width: 7px; height: 7px;
  background: var(--blue-light);
  box-shadow: 0 0 12px rgba(26,92,255,0.8);
}
.cur-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s;
}
.cur-ring .cur-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s;
}
.cur-ring.grow {
  width: 52px; height: 52px;
  border-color: var(--blue);
  background: rgba(26,92,255,0.12);
}
.cur-ring.view {
  width: 68px; height: 68px;
  background: var(--blue);
  border-color: var(--blue);
}
.cur-ring.view .cur-label { opacity: 1; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .inst-grid { grid-template-columns: repeat(3, 1fr); }
  .athletes-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --gap: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .lang-switcher { display: none; }

  .about-stats-row { grid-template-columns: 1fr; gap: 24px; border: none; padding-block: 0; }
  .about-stat-divider { display: none; }
  .about-stat-item { text-align: left; padding-inline: 0; padding-left: 20px; border-left: 2px solid var(--blue); }
  .about-stat-num { justify-content: flex-start; }
  .about-cols { grid-template-columns: 1fr; gap: 14px; }

  .manifesto-row { grid-template-columns: 1fr; gap: 14px; }
  .manifesto-word { font-size: clamp(2.2rem, 12vw, 3rem); }

  .dossier { grid-template-columns: 1fr; }
  .dossier-photo { height: 380px; clip-path: none !important; order: 0 !important; }
  .dossier-body { margin: -60px 0 0 !important; padding: 0 !important; order: 1 !important; }
  .dossier .team-bio { max-width: none; }
  .athletes-grid { grid-template-columns: repeat(2, 1fr); }

  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .inst-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .inst-logo { height: 100px; }
  .athletes-grid-sm { grid-template-columns: 1fr 1fr; }

  .res-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-line-lg { font-size: clamp(4rem, 18vw, 7rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-logo { height: 140px; }
  .hero-logo-wrap { margin: 20px 0 24px; }
  .hero-sub { margin-bottom: 26px; }
  .btn-prim, .btn-ghost {
    padding: 11px 22px;
    font-size: 0.68rem;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .athletes-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { padding: 20px 16px; }
  .logo-cell img { max-width: 76px; max-height: 34px; }
  .logo-cell--xl img { transform: scale(1.3); }
  .inst-grid { grid-template-columns: 1fr 1fr; }
  .tabs-bar { flex-direction: column; }
  .tab-btn { border-bottom: none; border-left: 2px solid transparent; padding: 12px 20px; }
  .tab-btn.active { border-left-color: var(--blue); border-bottom-color: transparent; }
}

/* ---- CASOS CAROUSEL ---- */
.casos-carousel-wrap {
  margin-top: 56px;
}

.casos-track-outer {
  overflow: hidden;
}

.casos-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.caso-card {
  flex: 0 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.caso-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,87,255,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.caso-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.caso-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.caso-card:hover .caso-card-img img {
  transform: scale(1.06);
}

.caso-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,15,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.caso-card:hover .caso-card-overlay {
  opacity: 1;
}

.caso-card-overlay span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(37,87,255,0.85);
  padding: 7px 18px;
  border-radius: 2px;
}

.caso-card-body {
  padding: 20px 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.caso-card-body h3 {
  font-family: 'Poppins', 'Nexa', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.35;
}

.caso-card-body p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.casos-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* Mismo lenguaje diagonal que los botones del hero: paralelogramo + brillo al hover */
.casos-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  height: 44px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s, transform 0.2s;
}

.casos-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.casos-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.casos-btn:hover:not(:disabled)::before {
  transform: translateX(120%);
}

.casos-btn:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.04);
}

.casos-btn.casos-btn--prev:hover:not(:disabled) svg { transform: translateX(-3px); }
.casos-btn.casos-btn--next:hover:not(:disabled) svg { transform: translateX(3px); }

.casos-btn:disabled {
  opacity: 0.22;
  cursor: default;
}

