/* ============================================================
   Nike Mercurial × Sports Illustrated — RICH Article 2026
   Presentado por Nike | Sports Illustrated MX
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --nike-pink:    #ff009e;
  --nike-black:   #000000;
  --nike-white:   #ffffff;
  --si-red:       #d0021b;
  --off-black:    #0d0d0d;
  --text-light:   #e0e0e0;
  --transition:   all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--nike-white);
  background-color: var(--nike-black);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Header / Cabecera SI ─────────────────────────────────── */
.cabecera {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #b0241c;
  border-top: 4px solid #000;
  padding: 0.55rem 0;
  text-align: center;
  transition: background-color 0.4s ease;
}

.cabecera:hover {
  background-color: #000;
}

.cabecera .logo-si {
  height: 28px;
  display: inline-block;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero-header {
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.55;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.72) 55%,
    rgba(255,0,158,0.18) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--nike-pink);
  margin-bottom: 1.2rem;
  display: block;
}

.hero-title {
  font-family: 'Barlow Condensed', 'Bebas Neue', 'Anton', 'Impact', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--nike-white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--nike-pink);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 580px;
  line-height: 1.7;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.6rem;
  margin-top: -0.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nike-white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge span {
  color: var(--nike-pink);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,0,158,0.8), rgba(255,255,255,0));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ── Nike Logo Divider ────────────────────────────────────── */
.nike-logo-divider {
  background-color: var(--nike-black);
  padding: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nike-logo-glow {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: nikeGlow 3s ease-in-out infinite;
}

.nike-swoosh-logo {
  height: 60px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.4s ease;
}

.nike-logo-glow:hover .nike-swoosh-logo {
  transform: scale(1.08);
}

@keyframes nikeGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0px rgba(255,0,158,0)) drop-shadow(0 0 0px rgba(255,0,158,0));
    opacity: 0.85;
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255,0,158,0.7)) drop-shadow(0 0 40px rgba(255,0,158,0.35));
    opacity: 1;
  }
}

/* ── Intro / "Presentado por" ─────────────────────────────── */
.s-intro {
  background-color: var(--nike-black);
  padding: 5rem 1.5rem;
}
.s-intro .container-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.s-intro .label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.s-intro .brand-link {
  color: var(--nike-pink);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}
.s-intro .brand-link:hover { opacity: 0.75; }

.intro-title {
  font-family: 'Barlow Condensed', 'Anton', 'Impact', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--nike-white);
  margin: 2.5rem 0 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.s-intro p {
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-align: left;
}
.s-intro .quote-highlight {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--nike-white);
  border-left: 3px solid var(--nike-pink);
  padding-left: 1.25rem;
  margin: 2.5rem 0;
  text-align: left;
}

/* ── Section Label ────────────────────────────────────────── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nike-pink);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Section: Split (texto + imagen) ─────────────────────── */
.s-split {
  padding: 5rem 2rem;
}
.s-split.dark  { background-color: var(--off-black); }
.s-split.light { background-color: #111111; }

.s-split .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.s-split .inner.reverse { direction: rtl; }
.s-split .inner.reverse > * { direction: ltr; }

.s-split h2 {
  font-family: 'Barlow Condensed', 'Anton', 'Impact', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--nike-white);
  margin-bottom: 1.25rem;
}
.s-split h2 em {
  font-style: normal;
  color: var(--nike-pink);
}

.s-split p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.s-split .img-wrap {
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}
.s-split .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.s-split .img-wrap:hover img { transform: scale(1.04); }

.s-split .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,0,158,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Feature Bullet ───────────────────────────────────────── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  padding: 0.6rem 0;
  font-size: 0.96rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nike-pink);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.42rem;
}

/* ── Quote pullout ─────────────────────────────────────────── */
.s-quote-pull {
  background: var(--nike-black);
  border-top: 1px solid rgba(255,0,158,0.25);
  border-bottom: 1px solid rgba(255,0,158,0.25);
  padding: 4.5rem 2rem;
  text-align: center;
}
.s-quote-pull blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--nike-white);
  border: none;
  padding: 0;
}
.s-quote-pull cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nike-pink);
  font-style: normal;
}

/* ── Phone Mockup Section ───────────────────────────── */
.s-phone-mockup {
  background: var(--nike-black);
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-bg-blur {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(255,0,158,0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.phone-scene {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 590px;
  background: #1a1a1a;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,0,158,0.25),
    0 40px 80px rgba(0,0,0,0.8),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 16px;
  transition: box-shadow 0.5s ease;
}

.phone-frame:hover {
  box-shadow:
    0 0 0 1px rgba(255,0,158,0.5),
    0 40px 100px rgba(0,0,0,0.9),
    0 0 60px rgba(255,0,158,0.15),
    inset 0 0 0 2px rgba(255,255,255,0.06);
}

.phone-notch {
  width: 90px;
  height: 22px;
  background: #111;
  border-radius: 0 0 16px 16px;
  margin-bottom: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.phone-screen {
  flex: 1;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.phone-home-bar {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  margin-top: 10px;
  flex-shrink: 0;
}

/* ── Gallery Grid ─────────────────────────────────────────── */
.s-gallery {
  background: var(--off-black);
  padding: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  height: 65vh;
  min-height: 480px;
  gap: 3px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.gallery-item:hover .gallery-img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,0,158,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ── Photo Cards (solo imágenes) ──────────────────────────── */
.s-photo-cards {
  background: var(--nike-black);
  padding: 0 0 4rem;
}
.photo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.photo-card {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
  cursor: pointer;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.photo-card:hover img {
  transform: scale(1.06);
}
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,0,158,0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.photo-card:hover::after {
  opacity: 1;
}

/* ── 50 años section ──────────────────────────────────────── */
.s-legacy {
  background: var(--nike-black);
  padding: 0;
  overflow: hidden;
}

/* — Hero de sección: imagen de fondo + overlay + texto centrado */
.legacy-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.legacy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.legacy-hero:hover .legacy-bg { transform: scale(1); }

.legacy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.92) 100%
  );
  z-index: 1;
}
.legacy-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 4rem;
}
.legacy-title {
  font-family: 'Barlow Condensed', 'Anton', 'Impact', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--nike-white);
  letter-spacing: -0.02em;
}
.legacy-title em {
  font-style: normal;
  color: var(--nike-pink);
}

/* — Bloques de texto numerados */
.legacy-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.legacy-block {
  padding: 0 2.5rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.legacy-block:first-child {
  padding-left: 0;
  border-left: none;
}
.legacy-block::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--nike-pink);
  margin-bottom: 1.5rem;
}

.legacy-num {
  display: block;
  font-family: 'Barlow Condensed', 'Impact', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  user-select: none;
}

.legacy-block p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--text-light);
  margin: 0;
  font-weight: 300;
}

/* — Strip horizontal de 4 imágenes */
.legacy-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 340px;
}
.legacy-strip-item {
  overflow: hidden;
  position: relative;
}
.legacy-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.legacy-strip-item:hover img { transform: scale(1.06); }
.legacy-strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,0,158,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.legacy-strip-item:hover::after { opacity: 1; }

/* ── Footer / CTA ─────────────────────────────────────────── */
.s-footer {
  background: var(--off-black);
  border-top: 1px solid rgba(255,0,158,0.2);
  padding: 5rem 2rem;
  text-align: center;
}
.s-footer .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
.s-footer .copy {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.s-footer .copy a {
  color: var(--nike-pink);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}
.s-footer .copy a:hover { opacity: 0.75; }
.btn-cta {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--nike-pink);
  color: var(--nike-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid var(--nike-pink);
  transition: var(--transition);
}
.btn-cta:hover {
  background-color: transparent;
  color: var(--nike-pink);
  transform: scale(1.04);
}
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 3rem auto 0;
  max-width: 500px;
}
.footer-note {
  margin-top: 2rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
}

/* ── AOS overrides ─────────────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .s-split .inner,
  .s-split .inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }

  .legacy-body {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
  }
  .legacy-block {
    padding: 1.5rem 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .legacy-block:first-child {
    border-top: none;
    padding-top: 0;
  }
  .legacy-strip {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    grid-template-rows: 240px 240px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
    grid-template-rows: 280px 280px;
  }
}

@media (max-width: 575px) {
  .hero-title { font-size: clamp(2.2rem, 12vw, 3.5rem); }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 260px);
  }

  .s-split { padding: 3.5rem 1rem; }
  .s-split h2 { font-size: 1.8rem; }
  .legacy-body { padding: 2rem 1rem 1.5rem; }
  .legacy-strip {
    grid-template-columns: 1fr 1fr;
    height: auto;
    grid-template-rows: 200px 200px;
  }
  .legacy-title { font-size: clamp(2.5rem, 10vw, 4rem); }
}
