/* ====================================================================
   3GEN SPORT — Landing CSS (D4)
   ==================================================================== */

@font-face {
  font-family: 'Eurostile Extended';
  src: url('../assets/fonts/eurostile-extended.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ====================================================================
   DESIGN TOKENS
   ==================================================================== */
:root {
  --bg-base:     #000000;
  --bg-dark:     #111111;
  --bg-surface:  #1C1C1E;
  --bg-elevated: #2C2C2E;
  --bg-white:    #F5F5F7;
  --border:      #3A3A3C;

  --accent:        #1863C1;
  --accent-hover:  #2171D8;
  --accent-dark:   #4D9FFF;
  --accent-glow:   rgba(24,99,193,0.18);
  --accent-glow-s: rgba(24,99,193,0.35);

  --text:    #FFFFFF;
  --text-2:  #E0E0E0;
  --text-3:  #8E8E93;
  --text-l:  #111111;
  --text-l2: #3A3A3C;
  --text-l3: #6D6D72;

  --nav-h:     84px;
  --container: 1240px;
  --pad-x:     clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 9vw, 128px);

  --r4:  4px;
  --r6:  6px;
  --r12: 12px;
  --r16: 16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ====================================================================
   RESET & BASE
   ==================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-base);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* ====================================================================
   TYPOGRAPHY UTILITIES
   ==================================================================== */
.eurostile { font-family: 'Eurostile Extended', sans-serif; letter-spacing: 0.02em; }
.barlow    { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.orbitron  { font-family: 'Orbitron', monospace; font-weight: 600; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-dark);
  flex-shrink: 0;
}
.section-label.on-light { color: var(--accent); }
.section-label.on-light::before { background: var(--accent); }
.section-label.no-bar { gap: 0; }
.section-label.no-bar::before { display: none; }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.section-title.on-dark  { color: var(--text); }
.section-title.on-light { color: var(--text-l); }

.accent-word            { color: var(--accent-dark); }
.accent-word.on-light   { color: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r6);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(24,99,193,0);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px -4px rgba(24,99,193,0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--text);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}
.btn-outline.on-light {
  border-color: var(--border);
  color: var(--text-l);
}
.btn-outline.on-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* ====================================================================
   NAVBAR — Bigger and bolder
   ==================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner {
  width: 100%;
  padding: 0 clamp(20px, 3vw, 52px) 0 clamp(16px, 2vw, 28px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo { width: 46px; height: 46px; object-fit: contain; }
.nav-wordmark {
  font-family: 'Eurostile Extended', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.wm-by {
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r6);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

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

/* Sign-in (disabled placeholder) */
.nav-signin {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r6);
  cursor: not-allowed;
  opacity: 0.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: opacity 0.2s;
}
.nav-signin:hover { opacity: 0.75; }
.nav-signin::after {
  content: 'PRÓXIMAMENTE';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--bg-elevated);
  color: var(--text-2);
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: var(--r4);
  margin-top: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-signin:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-register {
  padding: 9px 22px;
  font-size: 14px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-hamburger span:nth-child(2) { width: 70%; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--pad-x) 32px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}
.mobile-menu nav a {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-auth .nav-signin {
  width: 100%;
  padding: 12px;
  text-align: center;
}

/* ====================================================================
   SCROLL REVEAL
   ==================================================================== */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.sr.visible { opacity: 1; transform: translateY(0); }
.sr-delay-1 { transition-delay: 0.08s; }
.sr-delay-2 { transition-delay: 0.16s; }
.sr-delay-3 { transition-delay: 0.24s; }
.sr-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
  .hero-pala-wrap, .hero-ring.r1, .hero-ring.r2, .hero-ring.r3, .hero-scroll-line { animation: none !important; }
}

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--bg-base);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) 60px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 110%;
  background: radial-gradient(ellipse 60% 70% at 70% 40%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-dark);
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 96px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--accent-dark); }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-3);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Pill "Todo para clubes" — B2B callout */
.hero-clubes-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(77,159,255,0.35);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,99,193,0.18), rgba(24,99,193,0.04));
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
  margin-bottom: 44px;
}
.hero-clubes-pill:hover {
  border-color: var(--accent-dark);
  background: linear-gradient(90deg, rgba(24,99,193,0.28), rgba(24,99,193,0.08));
  transform: translateX(3px);
}
.hero-clubes-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 10px rgba(77,159,255,0.8);
  flex-shrink: 0;
}
.hero-clubes-pill-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-clubes-pill-text {
  color: var(--text);
  font-weight: 500;
}
.hero-clubes-pill-arrow {
  width: 14px; height: 14px;
  color: var(--accent-dark);
  transition: transform 0.25s var(--ease);
}
.hero-clubes-pill:hover .hero-clubes-pill-arrow { transform: translateX(3px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-num {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  font-size: 28px;
  color: var(--text);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

/* Pala visual — tilt + float + glow + visible rings */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  margin-left: clamp(-80px, -5vw, -40px);
}
.hero-mark {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Three concentric rings — more visible than before */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring.r1 {
  inset: 0;
  border: 1px solid rgba(77,159,255,0.28);
  animation: rotate-ring 28s linear infinite;
}
.hero-ring.r2 {
  inset: 9%;
  border: 1px dashed rgba(77,159,255,0.18);
  animation: rotate-ring 16s -4s linear infinite;
}
.hero-ring.r3 {
  inset: 20%;
  border: 1px solid rgba(77,159,255,0.10);
  background: radial-gradient(circle at center, rgba(24,99,193,0.10) 0%, transparent 70%);
  animation: rotate-ring 8s -2.67s linear infinite;
}

@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}

/* Orbiting balls */
.hero-ball {
  position: absolute;
  display: block;
}
.hero-ball svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 4px rgba(77,159,255,0.9));
}

/* The pala itself — rendered as CSS mask from the SVG, head pointing right */
.hero-pala-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 36px rgba(24,99,193,0.55)) drop-shadow(0 0 12px rgba(77,159,255,0.35));
  animation: float-pala 6s ease-in-out infinite;
}
@keyframes float-pala {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-pala-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Pala vertical (head up, grip down) girada 45° clockwise — head upper-right, grip lower-left, close to text */
  transform: rotate(45deg);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  overflow: visible;
}
/* Force outline-only rendering — fill matches bg so pala occludes rings behind it */
.hero-pala-svg path,
.hero-pala-svg circle,
.hero-pala-svg polygon {
  fill: #000000 !important;
  stroke: #ffffff !important;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%      { transform: scaleY(0.5); opacity: 0.9; }
}

/* ====================================================================
   CAROUSEL SHARED (auto-scroll + hover pause + arrows)
   ==================================================================== */
.carousel-outer {
  overflow: hidden;
  position: relative;
}
.carousel-outer::before,
.carousel-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.carousel-outer::before { left: 0; }
.carousel-outer::after  { right: 0; }

/* Arrows — always visible, subtle */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  opacity: 0.85;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}
.carousel-arrow:active { transform: translateY(-50%) scale(0.92); }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

.carousel-arrow.on-light {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text-l);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.carousel-arrow.on-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Track with auto-scroll */
.carousel-track {
  display: flex;
  gap: 20px;
  padding: 8px 0 20px;
  width: max-content;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.carousel-track.auto-scroll {
  animation: scrollLeft var(--carousel-duration, 50s) linear infinite;
}

/* Pause on hover (global rule for ALL carousels) */
.carousel-outer:hover .carousel-track.auto-scroll,
.carousel-outer.paused .carousel-track.auto-scroll {
  animation-play-state: paused;
}
/* When user takes control (drag, wheel, arrows) — JS drives transform directly */
.carousel-outer.manual .carousel-track.auto-scroll {
  animation: none;
}
.carousel-outer.dragging .carousel-track { cursor: grabbing; }
.carousel-outer.dragging * { pointer-events: none; }

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

/* ====================================================================
   PRODUCTOS DESTACADOS — Light
   ==================================================================== */
.productos {
  background: var(--bg-white);
  padding: clamp(64px, 7vw, 88px) 0;
  overflow: hidden;
}
/* Section headers — shared rhythm so every section reads identically.
   Top padding of section + this margin keep header visually centered
   between section top and the first card row. */
.productos .container,
.marcas .container { margin-bottom: clamp(48px, 6vw, 72px); }
.productos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-top: clamp(8px, 1.5vw, 20px);
}
.productos .section-title.on-light .accent-word { color: var(--accent); }
/* 'lo mejor del mes' — subordinate al headline principal, tamaño 70%, centrado óptico con el texto grande */
.productos .section-title .accent-word {
  font-size: 0.7em;
  letter-spacing: 0.01em;
  opacity: 0.92;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.08em;
}
.productos .carousel-outer::before { background: linear-gradient(to right, var(--bg-white), transparent); }
.productos .carousel-outer::after  { background: linear-gradient(to left, var(--bg-white), transparent); }

.prod-card {
  width: 260px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r12);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.prod-img {
  width: 100%;
  aspect-ratio: 1;
  background: #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.prod-img-placeholder {
  width: 58%;
  opacity: 0.28;
  color: var(--text-l);
}
.prod-img-placeholder svg { width: 100%; height: 100%; stroke: currentColor; }
.prod-img-brand {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-l);
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: var(--r4);
}
.prod-info { padding: 16px; }
.prod-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-l);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-category {
  font-size: 12px;
  color: var(--text-l3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.prod-price {
  font-family: 'Orbitron', monospace;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}

/* ====================================================================
   CATEGORÍAS — Dark · 5-item carousel · thin-stroke icons
   ==================================================================== */
.categorias {
  background: var(--bg-dark);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.categorias .container { margin-bottom: clamp(48px, 6vw, 72px); }
.categorias-header {
  max-width: 620px;
  padding-top: clamp(8px, 1.5vw, 20px);
}
.categorias-sub {
  font-size: 15px;
  color: var(--text-3);
  max-width: 500px;
  line-height: 1.65;
  margin-top: 4px;
}
.categorias .carousel-outer::before { background: linear-gradient(to right, var(--bg-dark), transparent); }
.categorias .carousel-outer::after  { background: linear-gradient(to left, var(--bg-dark), transparent); }

.cat-carousel .carousel-track { gap: 18px; }

.cat-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s var(--ease);
  position: relative;
}
.cat-card:hover {
  border-color: var(--accent-dark);
  transform: translateY(-4px);
}
.cat-card:hover .cat-visual-icon {
  color: var(--accent-dark);
}

.cat-visual {
  flex-shrink: 0;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.cat-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(24,99,193,0.10) 0%, transparent 70%);
}
.cat-visual-icon {
  color: var(--text-2);
  transition: color 0.25s, transform 0.25s var(--ease);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-visual-icon svg {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 170px;
  display: block;
  overflow: visible;
}
/* Per-icon size tuning — locks visible dimensions con nuevos viewBoxes detallados */
.cat-icon-pala   svg { max-width: 130px; max-height: 180px; }
.cat-icon-pelota svg { max-width: 130px; max-height: 130px; }
.cat-icon-grip   svg { width: 70px; height: 180px; flex-shrink: 0; }
.cat-icon-bag    svg { max-width: 150px; max-height: 155px; }
.cat-icon-ropa   svg { max-width: 150px; max-height: 155px; }

.cat-info {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
}
.cat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 6px;
}
.cat-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 40px;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: gap 0.2s;
}
.cat-card:hover .cat-link { gap: 8px; }

/* ====================================================================
   MARCAS — Light
   ==================================================================== */
.marcas {
  background: var(--bg-white);
  padding: clamp(64px, 7vw, 88px) 0;
  overflow: hidden;
}
.marcas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-top: clamp(8px, 1.5vw, 20px);
}
.marcas .carousel-outer::before { background: linear-gradient(to right, var(--bg-white), transparent); }
.marcas .carousel-outer::after  { background: linear-gradient(to left, var(--bg-white), transparent); }
.marcas .carousel-track { gap: 24px; }

.marca-card {
  width: 320px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r12);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.marca-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}
.marca-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: #F8F8F8;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.marca-name-display {
  font-family: 'Eurostile Extended', sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--text-l);
  text-transform: uppercase;
}
.marca-video-area {
  position: relative;
  aspect-ratio: 16/9;
  background: #E8E8E8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marca-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-l3);
}
.marca-video-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.marca-video-play svg { width: 18px; height: 18px; fill: var(--text-l2); margin-left: 2px; }
.marca-video-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.marca-info { padding: 16px; }
.marca-info-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-l);
  margin-bottom: 4px;
}
.marca-info-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ====================================================================
   VIDEOS — Dark · Main player + thumbnails carousel
   ==================================================================== */
.videos {
  background: var(--bg-dark);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.videos .container { display: flex; flex-direction: column; gap: 40px; }
.videos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
  padding-top: clamp(8px, 1.5vw, 20px);
}
.videos-sub {
  font-size: 15px;
  color: var(--text-3);
  max-width: 460px;
  line-height: 1.65;
  margin-top: 4px;
}

/* Main player: split layout desktop, stacked mobile */
.video-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r16);
  overflow: hidden;
  padding: 24px;
}
.video-main-player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r12);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
}
.video-main-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  border: 0;
}
.video-main-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(ellipse at center, rgba(24,99,193,0.20) 0%, transparent 55%),
    linear-gradient(135deg, #1a1a1c 0%, #0c0c0e 100%);
  transition: background 0.3s;
}
.video-main-player:hover .video-main-overlay {
  background:
    radial-gradient(ellipse at center, rgba(24,99,193,0.30) 0%, transparent 55%),
    linear-gradient(135deg, #1d1d1f 0%, #0c0c0e 100%);
}
.video-play-btn-xl {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(24,99,193,0.55);
  transition: transform 0.25s var(--ease);
}
.video-main-player:hover .video-play-btn-xl {
  transform: scale(1.08);
}
.video-play-btn-xl svg { width: 28px; height: 28px; fill: #fff; margin-left: 3px; }
.video-platform {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.video-main-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.video-main-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.video-main-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(77,159,255,0.12);
  border: 1px solid rgba(77,159,255,0.25);
  border-radius: var(--r4);
}
.video-main-duration {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.video-main-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.02em;
}
.video-main-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Thumbnails carousel */
.video-thumbs-wrap { margin-top: -8px; }
.videos .carousel-outer::before { background: linear-gradient(to right, var(--bg-dark), transparent); }
.videos .carousel-outer::after  { background: linear-gradient(to left, var(--bg-dark), transparent); }
.video-thumbs-carousel .carousel-track { gap: 16px; }

.video-thumb-card {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.video-thumb-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.video-thumb-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 32px rgba(24,99,193,0.18);
}
.video-thumb-img {
  position: relative;
  aspect-ratio: 16/9;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(24,99,193,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #1a1a1c 0%, #0c0c0e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.video-thumb-card:hover .video-thumb-play {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.video-thumb-card.active .video-thumb-play {
  background: var(--accent);
  border-color: var(--accent);
}
.video-thumb-play svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.video-thumb-info { padding: 12px 14px; }
.video-thumb-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-thumb-meta {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ====================================================================
   ATENCIÓN A CLUBES — Dark · 2-col (text + padel court SVG)
   ==================================================================== */
.clubes {
  background: var(--bg-base);
  padding: clamp(72px, 8vw, 112px) 0;
  position: relative;
  overflow: hidden;
}
.clubes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,159,255,0.3), transparent);
}
.clubes::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse 50% 60% at 60% 40%, rgba(24,99,193,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.clubes-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.clubes-copy { max-width: 520px; }
.clubes-sub {
  font-size: 16px;
  color: var(--text-3);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 28px;
}

/* Bullet list */
.clubes-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.clubes-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.clubes-bullets li strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2px;
}
.clubes-bullets li span {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.55;
}
.clubes-bullet-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 10px rgba(77,159,255,0.7);
  margin-top: 8px;
}

.clubes-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Padel court SVG */
.clubes-court {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.clubes-court::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse 60% 55% at center, rgba(24,99,193,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.clubes-court svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(24,99,193,0.35));
  animation: court-float 7s ease-in-out infinite;
}
@keyframes court-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ====================================================================
   FOOTER — compacto, gris oscuro, con divisoria animada R→L
   ==================================================================== */
.footer {
  background: #161618;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 44px var(--pad-x) 22px;
  position: relative;
  overflow: hidden; /* containment para la animación del glow */
}
/* Divider base (línea sólida apenas perceptible) */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(77,159,255,0.08);
  pointer-events: none;
  z-index: 1;
}
/* Glow azul animado infinito, se mueve de derecha a izquierda */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 3px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(77,159,255,0) 5%,
    rgba(77,159,255,0.55) 35%,
    rgba(24,99,193,0.95) 50%,
    rgba(77,159,255,0.55) 65%,
    rgba(77,159,255,0) 95%,
    transparent 100%);
  filter: blur(0.4px) drop-shadow(0 0 6px rgba(77,159,255,0.65)) drop-shadow(0 0 14px rgba(24,99,193,0.45));
  pointer-events: none;
  z-index: 2;
  animation: footer-glow-slide 7s linear infinite;
  will-change: transform;
}
@keyframes footer-glow-slide {
  0%   { transform: translateX(130%); opacity: 0; }    /* fuera por la derecha */
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(-130%); opacity: 0; }   /* sale por la izquierda */
}
@media (prefers-reduced-motion: reduce) {
  .footer::after { animation: none; transform: translateX(55%); }
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 28px;
  position: relative;
  z-index: 3;
}
.footer-col { display: flex; flex-direction: column; }

.footer-brand-col { max-width: 360px; }
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.footer-brand-logo img { width: 46px; height: 46px; object-fit: contain; }
.footer-wordmark {
  font-family: 'Eurostile Extended', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.footer-tagline {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 16px;
}
.footer-slogan {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a,
.footer-col-links button {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
  text-align: left;
  padding: 0;
}
.footer-col-links a:hover,
.footer-col-links button:hover {
  color: var(--accent-dark);
}
.footer-wa-link {
  font-family: inherit;
}

/* Portal interno (Gestión) — emphasized */
.footer-internal {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 14px !important;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r6);
  color: var(--text) !important;
  font-weight: 600;
  font-size: 13px !important;
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-top: 4px;
}
.footer-internal:hover {
  border-color: var(--accent);
  background: rgba(24,99,193,0.08);
  color: var(--text) !important;
}
.footer-internal-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}
.footer-legal {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }
.footer-dot { opacity: 0.4; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1100px) {
  .clubes-inner { gap: 40px; }
  .clubes-court svg { max-width: 320px; }
}

@media (max-width: 960px) {
  .clubes-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .clubes-copy { max-width: 100%; }
  .clubes-court { order: -1; }
  .clubes-court svg { max-width: 280px; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 76px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* On stacked layouts (tablet / fold / mobile) hide the pala entirely — text-only hero */
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(48px, 9vw, 72px); }
  .hero-sub { max-width: 100%; }

  .video-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-col { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  .nav-logo { width: 44px; height: 44px; }
  .nav-wordmark { font-size: 12px; }

  .productos-header,
  .marcas-header,
  .videos-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats { flex-wrap: wrap; gap: 16px 0; }
  .hero-stat { padding: 0 20px 0 0; margin-right: 20px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .hero { min-height: 100svh; }

  .clubes-grid { grid-template-columns: 1fr; }
  .clubes-tabs { width: 100%; }
  .clubes-tab { flex: 1; justify-content: center; padding: 12px 14px; font-size: 12px; }

  .video-main { padding: 16px; border-radius: var(--r12); }
  .video-main-title { font-size: 22px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .cat-card { width: 240px; }
  .prod-card { width: 220px; }
  .marca-card { width: 260px; }
  .video-thumb-card { width: 220px; }
}
