/* ============================================================
   TRUE SPORTS — "Sportify" design system
   Soft modern SaaS: rounded panels, soft shadows, liquid glass,
   Plus Jakarta Sans (mixed case), yellow #ffc000 accent on navy/white.
   Faithful to the reference mockups, not Lamborghini/DESIGN.md.
   ============================================================ */

:root {
  /* Brand — identidad TRUE Sports en blanco/negro.
     El dorado (--accent) se usa SOLO como acento de la Fundación Real Madrid. */
  --accent: #ffc000;          /* Real Madrid gold — solo contexto Fundación RM */
  --accent-deep: #e6ab00;
  --accent-ink: #11151f;      /* text on yellow */
  --lb-h: 0px;                /* leaderboard countdown height — 0 mientras el México Challenge no esté confirmado (2026-08-03); el bloque .lb se oculta más abajo */

  /* Ink & surfaces */
  --ink: #11151f;             /* primary text + dark panels */
  --ink-soft: #5b6472;        /* muted text */
  --ink-faint: #98a1b1;
  --navy: #101726;            /* dark rounded panels */
  --navy-2: #1922344d;
  --paper: #ffffff;
  --paper-2: #f3f5f9;         /* light section bg */
  --paper-3: #e9edf3;
  --line: #e4e8ef;            /* hairline on light */
  --line-dark: rgba(255,255,255,.12);

  /* Glass (on photos / navy) */
  --glass-bg: rgba(255,255,255,.10);
  --glass-brd: rgba(255,255,255,.24);

  /* Radii */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow: 0 24px 50px rgba(16,21,33,.12);
  --shadow-sm: 0 10px 26px rgba(16,21,33,.08);
  --shadow-navy: 0 30px 60px rgba(16,21,33,.22);

  /* Layout */
  --maxw: 1280px;
  --nav-h: 84px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------- RESET ----------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-weight: 400; line-height: 1.5;
  background: var(--paper); color: var(--ink);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--ink); color: var(--paper); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ----------------------- BUTTONS ----------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn--giallo { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 26px rgba(255,192,0,.30); }
.btn--giallo:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn--outline { background: rgba(255,255,255,.06); border: 1.5px solid var(--glass-brd); color: var(--paper); padding: 12px 22px; font-size: 14px; backdrop-filter: blur(8px); }
.btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Contacto del nav: siempre sólido blanco, para que se distinga sobre cualquier fondo (foto del hero o nav sólido) */
.btn--outline.nav__cta { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--outline.nav__cta:hover { background: var(--paper-3); border-color: var(--paper-3); }

/* B/N: botón claro (sobre fondos oscuros/fotos) y botón tinta (sobre claro) */
.btn--light { background: var(--paper); color: var(--ink); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.btn--light:hover { background: var(--paper-3); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; transform: translateY(-2px); }

/* ----------------------- NAV ----------------------- */
.nav {
  position: fixed; top: var(--lb-h); left: 0; right: 0; z-index: 100;
  height: var(--nav-h); transition: height .35s ease, top .35s ease;
}
.nav--solid { top: 0; }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: max-width .4s ease, margin .4s ease, padding .4s ease, height .4s ease,
              background .4s ease, border-color .4s ease, box-shadow .4s ease, border-radius .4s ease;
  border: 1px solid transparent;
}
/* On scroll the bar contracts into a floating glass pill */
.nav--solid { height: 92px; }
.nav--solid .nav__inner {
  max-width: 1120px; height: 70px; margin: 11px auto 0; padding: 0 20px 0 32px;
  background: rgba(16,23,38,.72);
  -webkit-backdrop-filter: blur(18px) saturate(165%); backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0,0,0,.30);
}
.nav__links { display: flex; gap: 30px; }
.nav__links--left { justify-self: start; }
.nav__link { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); transition: color .2s ease; }
.nav__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav__logo { justify-self: center; }
.nav__logo img { height: 70px; width: auto; transition: height .35s ease; }
.nav--solid .nav__logo img { height: 44px; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__links--right { margin-right: 14px; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; top: calc(var(--nav-h) + var(--lb-h)); left: 16px; right: 16px; z-index: 99;
  background: rgba(16,23,38,.96); backdrop-filter: blur(18px);
  border: 1px solid var(--line-dark); border-radius: var(--r);
  display: flex; flex-direction: column; padding: 16px 20px 24px; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}
.drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.drawer__link { color: var(--paper); font-size: 18px; font-weight: 500; padding: 14px 8px; border-bottom: 1px solid var(--line-dark); }
.drawer__cta { margin-top: 16px; justify-content: center; }

/* ====================================================================
   HERO
   ==================================================================== */
.hero { position: relative; height: 100vh; min-height: 680px; max-height: 1100px; background: var(--navy); color: var(--paper); overflow: hidden; }

.hero__slider { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.07); transition: opacity 1.4s ease, transform 7s ease; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* Variante zoom-in (opuesta a la de arriba): entra normal y crece al activarse, para que no todas las imágenes hagan el mismo movimiento */
.hero__slide.hero__slide--zoom-in { transform: scale(1); }
.hero__slide.hero__slide--zoom-in.is-active { transform: scale(1.07); }

.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,16,26,.70) 0%, rgba(12,16,26,.32) 22%, rgba(12,16,26,.24) 50%, rgba(12,16,26,.46) 78%, rgba(12,16,26,.88) 100%),
    linear-gradient(90deg, rgba(12,16,26,.62) 0%, rgba(12,16,26,.22) 44%, rgba(12,16,26,.04) 70%, rgba(12,16,26,0) 86%);
}

/* Overlay grid */
.hero__overlay { position: absolute; inset: 0; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + 44px) 40px 0; display: flex; flex-direction: column; }
.hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 56px; }

.hero__intro { max-width: 600px; }
.hero__eyebrow { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--paper); border-radius: 2px; margin-right: 14px; }
.hero__headline { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.04; text-shadow: 0 2px 24px rgba(8,11,18,.45); }
.hero__desc { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: rgba(255,255,255,.80); margin-top: 22px; max-width: 460px; }
.hero__desc strong { color: var(--paper); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.hero__textlink { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--paper); padding: 15px 0 6px; border-bottom: 2px solid rgba(255,255,255,.35); transition: color .25s ease, border-color .25s ease; }
.hero__textlink .arr { transition: transform .25s ease; }
.hero__textlink:hover { border-color: var(--paper); }
.hero__textlink:hover .arr { transform: translateX(5px); }

/* Un mensaje por slide: los copies se apilan y hacen crossfade con el slider */
.hero__copies { display: grid; max-width: 640px; }
.hero__copy {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
}
.hero__copy.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__eyebrow--gold { color: var(--accent); }
.hero__eyebrow--gold::before { background: var(--accent); }


/* ====================================================================
   SHARED SECTION PIECES
   ==================================================================== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head__title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; }
.section-head--dark .section-head__title { color: var(--paper); }
/* En secciones oscuras el lede también va claro (si no, se pierde sobre el fondo). */
.section-head--dark .section-head__lede { color: rgba(255,255,255,.75); }
.section-head__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); padding: 12px 20px; border: 1.5px solid var(--line); border-radius: var(--r-pill); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.section-head__link .arr { transition: transform .25s ease; }
.section-head__link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section-head__link:hover .arr { transform: translateX(4px); }
.section-head__lede { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 360px; }
.section-head__lede--dark { color: rgba(255,255,255,.66); }

/* ----------------------- INTRO ----------------------- */
.intro { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0 130px; }

.intro__eyebrow { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px; }
.intro__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; margin-right: 14px; }

/* ---- Título de sección = wordmark que baja del hero (GSAP scrub, sin pin) ----
   .intro__title es un wrapper estable (nunca se transforma) para medir su posición;
   el <img> se transforma y pasa de dorado→negro al aterrizar como título. */
.intro__head { text-align: center; margin-bottom: clamp(44px, 6vw, 80px); }
.intro__title { position: relative; z-index: 5; }
.intro__title-wm {
  display: block;
  width: 100%;
  max-width: min(78vw, 560px);
  height: auto;
  margin: 0 auto;
  filter: brightness(0);            /* negro en reposo (título de la sección) */
  transform-origin: center center;
  will-change: transform, filter;
}
.intro__lead { font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; max-width: 1000px; }
.intro__lead--center { text-align: center; max-width: 880px; margin-left: auto; margin-right: auto; }
.intro__lead .hl { color: var(--ink); background: linear-gradient(180deg, transparent 62%, rgba(17,21,31,.12) 62%); padding: 0 2px; }
/* Párrafo de apoyo bajo el statement grande: define el alcance completo sin competir con el display type. */
.intro__sub { font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 740px; margin: 24px auto 0; text-align: center; }
.intro__cta { margin-top: 40px; text-align: center; }
.intro .btn--outline { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.intro .btn--outline:hover { background: #000; border-color: #000; }
.intro__more { display: inline-block; margin-left: 4px; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.intro__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.intro__metaItem { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.intro__metaItem:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.intro__metaNum { font-size: 14px; font-weight: 700; color: var(--accent-deep); }
.intro__metaTxt { font-size: 16px; font-weight: 500; line-height: 1.4; }

/* ----------------------- PROGRAMS ----------------------- */
.programs { background: var(--paper-2); padding: 130px 0; }
.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 28px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program__media { overflow: hidden; border-radius: var(--r); margin-bottom: 22px; aspect-ratio: 4/5; background: var(--paper-3); }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.program:hover .program__media img { transform: scale(1.06); }
.program__tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); background: rgba(255,192,0,.14); padding: 6px 12px; border-radius: var(--r-pill); margin: 0 8px 16px; }
.program__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; margin: 0 8px 14px; }
.program__copy { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 8px 22px; flex: 1; }
.program__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 8px; }
.program__more .arr { transition: transform .25s ease; }
.program:hover .program__more { color: var(--accent-deep); }
.program:hover .program__more .arr { transform: translateX(5px); }

/* ----------------------- IMPACT (navy panel) ----------------------- */
.impact { background: var(--paper); padding: 40px 24px; }
.impact .container { background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 84px 64px; box-shadow: var(--shadow-navy); }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.figure { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; justify-content: flex-end; transition: transform .25s ease, background .25s ease; }
.figure:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.figure__num { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: .9; }
.figure__label { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.7); }
.figure--giallo { background: var(--accent); border-color: var(--accent); }
.figure--giallo:hover { background: var(--accent); }
.figure--giallo .figure__num, .figure--giallo .figure__label { color: var(--accent-ink); }
.figure--giallo .figure__label { opacity: .82; }
.impact__foot { margin-top: 32px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.75); }
.impact__foot strong { color: var(--paper); font-weight: 700; }

/* ----------------------- ROADMAP (navy panel) ----------------------- */
.roadmap { background: var(--paper-2); padding: 40px 24px; }
.roadmap .container { background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 84px 64px; box-shadow: var(--shadow-navy); }
.road { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.road__step { position: relative; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 26px 24px 28px; }
.road__step::before { content: ""; position: absolute; top: 26px; left: 24px; width: 34px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.5); }
.road__step--win { background: rgba(255,192,0,.12); border-color: rgba(255,192,0,.4); }
.road__step--win::before { background: var(--accent); }
.road__index { display: block; margin-top: 26px; font-size: 13px; font-weight: 700; color: var(--ink-faint); }
.road__title { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.1; margin: 14px 0; }
.road__step--win .road__title { color: var(--accent); }
.road__copy { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.66); }

/* ----------------------- BAND (rounded image) ----------------------- */
.band { position: relative; min-height: 62vh; margin: 40px 24px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; color: var(--paper); }
.band__bg { position: absolute; inset: -10% 0; z-index: 0; background-image: linear-gradient(120deg, rgba(12,16,26,.85), rgba(12,16,26,.30) 70%), url("../images/banda.png"); background-size: cover; background-position: center; }
.band__overlay { position: relative; z-index: 2; width: 100%; }
.band .container { padding: 64px 64px; }
.band__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.band__title { font-size: clamp(34px, 6vw, 72px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 36px; }

/* ----------------------- VIP EXPERIENCES ----------------------- */
.vip { background: var(--paper-2); padding: 40px 24px; }
.vip .container { background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 80px 64px; box-shadow: var(--shadow-navy); }
.vip__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: stretch; }
.vip__title { font-size: clamp(36px, 5vw, 66px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin: 16px 0 28px; }
.vip__lede { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.74); max-width: 560px; margin-bottom: 36px; }
.vip__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.vip__item { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.84); }
.vip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.vip__visual { display: flex; align-items: stretch; min-height: 460px; }
.vip__img-wrap { width: 100%; border-radius: var(--r); overflow: hidden; position: relative; }
.vip__img-wrap::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255,192,0,.18); pointer-events: none; }
.vip__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .vip__inner { grid-template-columns: 1fr; gap: 32px; } .vip__visual { min-height: 0; } .vip__img-wrap img { aspect-ratio: 16/9; height: auto; } }
@media (max-width: 760px) { .vip { padding: 24px 16px; } .vip .container { padding: 44px 24px; border-radius: var(--r); } }
@media (max-width: 760px) { .vip { padding: 24px 16px; } .vip .container { padding: 44px 24px; border-radius: var(--r); } }

/* ----------------------- QUOTES (B2B, solo texto) ----------------------- */
.quotes { background: var(--paper); padding: 130px 0; }
.quotes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.quote blockquote { font-size: 15px; font-weight: 500; line-height: 1.55; flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-size: 40px; font-weight: 800; line-height: .6; color: var(--ink); margin-bottom: 14px; }
.quote__role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }

/* ----------------------- CTA (navy panel + form) ----------------------- */
.cta { background: var(--paper-2); padding: 40px 24px 64px; }
.cta .container { background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 80px 64px; box-shadow: var(--shadow-navy); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.cta__title { font-size: clamp(32px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.03; margin-bottom: 24px; }
.cta__lede { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 420px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__input { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--paper); padding: 16px 18px; font-family: var(--font); font-size: 15px; border-radius: var(--r-sm); transition: border-color .25s ease, background .25s ease; }
.form__input::placeholder { color: rgba(255,255,255,.5); }
.form__input:focus { outline: none; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.10); }
.form__textarea { min-height: 120px; resize: vertical; }
.form__submit { justify-content: center; margin-top: 6px; transition: opacity .2s ease; }
.form__submit:disabled { opacity: .55; cursor: default; }
/* Honeypot: invisible para personas, los bots de spam sí lo rellenan. */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__status { display: none; font-size: 14px; line-height: 1.5; padding: 12px 16px; border-radius: var(--r-sm); }
.form__status.is-ok { display: block; background: rgba(120,200,120,.14); color: #d7f5d7; border: 1px solid rgba(120,200,120,.3); }
.form__status.is-err { display: block; background: rgba(230,90,90,.14); color: #ffd9d9; border: 1px solid rgba(230,90,90,.3); }

/* ----------------------- FOOTER ----------------------- */
.footer { background: var(--navy); color: var(--paper); padding-top: 80px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--maxw); margin: 0 auto; padding: 0 40px 56px; }
.footer__logo { height: 50px; width: auto; margin-bottom: 22px; }
.footer__tag { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; max-width: 360px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.footer__link { font-size: 15px; color: rgba(255,255,255,.82); transition: color .2s ease; }
.footer__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__link--static { color: rgba(255,255,255,.4); pointer-events: none; }
.footer__link--ext { color: var(--paper); font-weight: 600; }

.footer__wordmark { width: 100%; overflow: hidden; padding: 16px 24px 0; }

.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: var(--maxw); margin: 32px auto 0; padding: 28px 40px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--ink-faint); }

/* ----------------------- SECTION KICKER ----------------------- */
.section-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.section-kicker--gold { color: var(--accent-deep); }

/* ----------------------- UNIT BANNER (intro → Real Madrid unit) ----------------------- */
.unit-banner { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; margin-top: 56px; background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 40px 44px; box-shadow: var(--shadow-navy); }
.unit-banner__badge { align-self: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.unit-banner__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.unit-banner__txt { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.74); margin-bottom: 22px; max-width: 720px; }
.unit-banner__txt strong { color: var(--paper); font-weight: 700; }
.unit-banner__txt em { color: var(--accent); font-style: normal; font-weight: 600; }
.unit-banner__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.unit-banner__ext { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); border-bottom: 1px solid rgba(255,192,0,.4); padding-bottom: 4px; }
.unit-banner__ext:hover { border-color: var(--accent); }

/* ----------------------- ALIADOS COMERCIALES (sponsors + video) ----------------------- */
.allies { background: var(--paper); padding: 130px 0; }
.allies__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.allies__title { font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 22px; }
.allies__lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 32px; max-width: 520px; }
.allies__list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.allies__item { display: flex; gap: 16px; align-items: flex-start; }
.allies__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,192,0,.16); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.allies__item div { display: flex; flex-direction: column; gap: 2px; }
.allies__item strong { font-size: 16px; font-weight: 700; }
.allies__item span { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.allies__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn--dark { background: var(--navy); color: var(--paper); }
.btn--dark:hover { background: var(--ink); transform: translateY(-2px); }

.allies__media { display: flex; flex-direction: column; gap: 14px; }
.video { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.allies__caption { font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ----------------------- FORM SELECT ----------------------- */
.form__select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' opacity='.6' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 42px; }
.form__select option { color: var(--ink); }

/* ----------------------- REVEAL ----------------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__slide { transition: opacity .3s ease; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ----------------------- UNIT FEATURE (2-col: text left, funda carousel right) ----------------------- */
.unit-feature {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-navy);
}
.unit-feature__title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 12px 0 18px;
}
.unit-feature__txt {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.74);
  margin-bottom: 10px;
}
.unit-feature__txt strong { color: var(--paper); font-weight: 700; }
.unit-feature__note {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}
.unit-feature__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.unit-feature__ext {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid rgba(255,192,0,.4); padding-bottom: 4px;
}
.unit-feature__ext:hover { border-color: var(--accent); }

/* Funda image carousel */
.funda-slider {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r);
  overflow: hidden;
  background: #192234;
}
.funda-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.funda-slide.is-active { opacity: 1; }
.funda-slide img { width: 100%; height: 100%; object-fit: cover; }
.funda-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.funda-dots button {
  width: 22px; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,.25);
  transition: background .25s ease, width .25s ease;
}
.funda-dots button.is-active { background: var(--accent); width: 36px; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
/* Tablet / small laptop */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav__inner { padding: 0 32px; }
  .programs, .quotes { padding: 96px 0; }
  .intro { padding-bottom: 96px; }
  .impact .container, .roadmap .container, .cta .container { padding: 64px 40px; }
  .intro__meta { gap: 16px; }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }

  /* Hero */
  .hero__overlay { padding-left: 32px; padding-right: 32px; }
  .hero__top { flex-direction: column; gap: 36px; }
  .hero__intro { max-width: 80%; }

  .allies { padding: 96px 0; }
  .allies__grid { grid-template-columns: 1fr; gap: 40px; }
  .unit-feature { grid-template-columns: 1fr; gap: 36px; padding: 40px 36px; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__logo { justify-self: start; }
  .nav__inner { grid-template-columns: 1fr auto; padding: 0 24px; }
  .nav__actions { justify-self: end; }
  .nav__logo img { height: 54px; }
  .nav--solid .nav__logo img { height: 34px; }

  .container { padding: 0 24px; }

  /* Hero */
  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero__overlay { padding: calc(var(--nav-h) + 28px) 24px 0; }
  .hero__top { gap: 28px; }
  .hero__intro { max-width: 100%; }
  .hero__headline { font-size: clamp(30px, 8.5vw, 44px); }
  .hero__desc { max-width: 100%; }
  .programs, .quotes { padding: 72px 0; }
  .intro { padding-bottom: 72px; }
  .section-head { margin-bottom: 36px; }
  .section-head__title { font-size: clamp(28px, 8vw, 40px); }
  .intro__meta { grid-template-columns: 1fr; gap: 14px; }
  .programs__grid { grid-template-columns: 1fr; gap: 20px; }
  .program__media { aspect-ratio: 16/11; }

  .impact, .roadmap, .cta { padding: 24px 16px; }
  .impact .container, .roadmap .container, .cta .container { padding: 44px 24px; border-radius: var(--r); }
  .impact__grid { grid-template-columns: 1fr; }
  .figure { min-height: 0; padding: 26px 22px; }
  .road { grid-template-columns: 1fr; }
  .band { margin: 24px 16px; min-height: 56vh; }
  .band .container { padding: 40px 28px; }
  .quotes__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .allies { padding: 72px 0; }
  .allies__grid { gap: 32px; }
  .allies__ctas { flex-direction: column; align-items: stretch; }
  .allies__ctas .btn { justify-content: center; }
  .unit-feature { padding: 32px 24px; margin-top: 40px; }
  .unit-feature__links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .unit-feature__links .btn { width: 100%; justify-content: center; }

  .footer { border-radius: var(--r) var(--r) 0 0; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding: 0 24px 40px; }
  .footer__bottom { padding: 24px; }
}

/* ====================================================================
   LEADERBOARD · WORLD CHALLENGE (countdown, acento Fundación RM)
   ==================================================================== */
.lb {
  /* Oculto 2026-08-03: el México Challenge todavía no está confirmado como viable
     (feedback del cliente) — no se puede mostrar un countdown/fecha como hecho.
     Reactivar quitando este display:none cuando el torneo esté confirmado. */
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: var(--lb-h); background: #0b0f18; color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: transform .35s ease;
}
.lb--hidden { transform: translateY(-100%); }
.lb__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.lb__tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(255,192,0,.35); background: rgba(255,192,0,.10);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.lb__txt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); white-space: nowrap; }
.lb__count { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.lb__num { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.lb__u { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.55); margin-right: 2px; }
.lb__sep { font-size: 13px; color: rgba(255,255,255,.35); }
.lb__link { font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.lb__link .arr { display: inline-block; transition: transform .25s ease; }
.lb__link:hover .arr { transform: translateX(4px); }

/* Barra de conversión contextual (páginas interiores) — mismo mecanismo que el
   countdown (mismo #lb, mismo --lb-h para que nav/drawer/heroes se acomoden solo),
   pero sin fecha ni torneo no confirmado: un mensaje corto + un link al contacto.
   Se activa con <body class="has-ctabar"> + <div class="lb lb--cta" id="lb">. */
body.has-ctabar { --lb-h: 44px; }
.lb.lb--cta { display: flex; }
.lb--cta .lb__link { font-size: 13px; font-weight: 600; white-space: normal; text-align: center; }

/* ====================================================================
   SERVICIOS
   ==================================================================== */
.services { background: var(--paper-2); padding: 110px 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service__num { font-size: 13px; font-weight: 800; color: var(--ink-faint); }
.service__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.service__txt { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ====================================================================
   PROYECTOS (acordeón expandible in-page)
   ==================================================================== */
.projects { background: var(--paper); padding: 120px 0; }
.proj {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); margin-bottom: 18px; overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.proj:hover { box-shadow: var(--shadow-sm); }
.proj--rm { border-color: rgba(255,192,0,.45); }
.proj__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: 34px 36px; background: none;
}
.proj__tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.proj__tag--gold { color: var(--accent-deep); background: rgba(255,192,0,.12); border-color: rgba(255,192,0,.35); }
.proj__title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 8px; }
.proj__sub { font-size: 15px; line-height: 1.5; color: var(--ink-soft); max-width: 640px; }
.proj__plus { position: relative; flex-shrink: 0; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; transition: transform .35s ease, background .25s ease, border-color .25s ease; }
.proj__plus::before, .proj__plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink); border-radius: 2px; }
.proj__plus::before { width: 16px; height: 2px; transform: translate(-50%,-50%); }
.proj__plus::after { width: 2px; height: 16px; transform: translate(-50%,-50%); transition: transform .35s ease, opacity .3s ease; }
.proj__head:hover .proj__plus { background: var(--ink); border-color: var(--ink); }
.proj__head:hover .proj__plus::before, .proj__head:hover .proj__plus::after { background: var(--paper); }
.proj.is-open .proj__plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.proj__panel { max-height: 0; overflow: hidden; transition: max-height .6s cubic-bezier(.2,.7,.2,1); }
.proj__body { padding: 4px 36px 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.proj__lead { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 720px; margin-bottom: 26px; }
.proj__h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 26px 0 14px; }
.proj__h4:first-child { margin-top: 0; }

.proj__programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 30px; }
/* Card de pilar: fondo blanco para despegarse de la sección tintada + rollover.
   La animación de entrada (.reveal) va en un wrapper aparte: si compartieran
   elemento, su `transform` + `will-change` congelaría el hover. Aquí se usa la
   propiedad `translate`, que se compone con `transform` en vez de pisarlo. */
.proj__programs > .reveal { display: flex; }
.miniprog {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column; flex: 1;
  transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.miniprog:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: var(--paper-3); }
.miniprog strong { transition: color .25s ease; }
.miniprog:hover strong { color: var(--accent-deep); }
.miniprog .reveal-img { display: block; }
.miniprog .reveal-img img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.miniprog figcaption { display: flex; flex-direction: column; gap: 6px; padding: 28px 22px 26px; flex: 1; }
/* Banda de logo del programa: separada de la foto, con aire, y línea divisoria antes del texto.
   Ancho fijo + object-fit para que cualquier SVG (con o sin width propio) se vea bien y no colapse. */
/* Logo del pilar directo sobre la card (sin placa), separado por aire, no por línea. */
.miniprog__brand { display: flex; align-items: center; margin-bottom: 18px; }
.miniprog__logo { display: block; width: 260px; max-width: 100%; height: 107px; object-fit: contain; object-position: left center; }
.miniprog__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.miniprog strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.miniprog figcaption span:last-child { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

.proj__cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.sedes { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.sede { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
  transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
.sede:hover { translate: 0 -4px; box-shadow: var(--shadow-sm); border-color: var(--paper-3); }
.sede strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.sede span { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.sedes__total { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-top: 18px; }
.sedes__total strong { color: var(--ink); }
.miniroad { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.miniroad li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }
.miniroad li span { font-size: 11px; font-weight: 800; color: var(--ink-faint); }
.miniroad__win { background: rgba(255,192,0,.10); border-color: rgba(255,192,0,.4) !important; }
.miniroad__win span { color: var(--accent-deep) !important; }

.proj__media { display: flex; flex-direction: column; gap: 14px; }
.proj__media .video { border-radius: var(--r); }
.proj__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 28px; }
.proj__list li { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.proj__list strong { font-size: 15px; font-weight: 700; }
.proj__list span { font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.proj__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.proj__ext { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line); padding-bottom: 4px; }
.proj__ext:hover { border-color: var(--ink); }

/* ====================================================================
   MARCAS QUE CONFÍAN (carrusel de logos con swap al hover)
   ==================================================================== */
.brands { background: var(--paper); padding: 110px 0 90px; overflow: hidden; }
.brands__head { text-align: center; margin-bottom: 54px; }
.brands__marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands__track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; animation: marquee 32s linear infinite; padding: 10px 0; }
.brands__marquee:hover .brands__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand { position: relative; display: inline-flex; width: 130px; height: 65px; flex-shrink: 0; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.brand__on { opacity: 0; }
.brand:hover .brand__on { opacity: 1; }
.brand:hover .brand__off { opacity: 0; }

/* ====================================================================
   TRUE SPORTS EN LOS MEDIOS (notas de prensa)
   ==================================================================== */
.press { background: var(--paper-2); padding: 110px 0; }
.press__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pressCard {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease;
}
.pressCard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.pressCard__source { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pressCard__title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; flex: 1; }
.pressCard__meta { font-size: 13px; color: var(--ink-faint); }
.pressCard__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; }
.pressCard__more .arr { transition: transform .25s ease; }
.pressCard:hover .pressCard__more .arr { transform: translateX(5px); }

/* ====================================================================
   BLOG (lista + artículo)
   ==================================================================== */
.page-hero { background: var(--navy); color: var(--paper); padding: calc(var(--lb-h) + var(--nav-h) + 60px) 0 70px; }
.page-hero__title { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin-top: 14px; }
.page-hero__lede { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.7); max-width: 560px; margin-top: 18px; }
.page-hero .section-kicker { color: rgba(255,255,255,.6); }

.bloglist { background: var(--paper); padding: 90px 0 120px; }
/* 3–4 columnas: cards más compactas para ver varias entradas sin hacer scroll. */
.bloglist__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.postCard {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 34px; background: var(--paper);
  transition: transform .25s ease, box-shadow .25s ease;
}
.postCard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.postCard__cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.postCard__title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.postCard__excerpt { font-size: 15px; line-height: 1.55; color: var(--ink-soft); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.postCard__meta { font-size: 13px; color: var(--ink-faint); }
.postCard__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 13px; margin-top: auto; }
.postCard__more .arr { transition: transform .25s ease; }
.postCard:hover .postCard__more .arr { transform: translateX(5px); }

.post { background: var(--paper); padding: calc(var(--lb-h) + var(--nav-h) + 46px) 0 110px; }
.post__wrap { max-width: 760px; margin: 0 auto; }
.post__crumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 26px; display: inline-flex; gap: 8px; align-items: center; }
.post__crumb a { font-weight: 600; color: var(--ink); }
.post__crumb a:hover { text-decoration: underline; }
.post__title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 18px; }
.post__meta { font-size: 13px; color: var(--ink-faint); margin-bottom: 36px; }
.post__lead { font-size: 19px; font-weight: 500; line-height: 1.55; color: var(--ink); margin-bottom: 28px; }
.post p { font-size: 16px; line-height: 1.75; color: #333a46; margin-bottom: 22px; }
.post h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 16px; }
.post ul { margin: 0 0 22px 20px; }
.post li { font-size: 16px; line-height: 1.7; color: #333a46; margin-bottom: 8px; }
.post blockquote { border-left: 3px solid var(--ink); padding: 6px 0 6px 22px; font-size: 19px; font-weight: 600; line-height: 1.5; margin: 30px 0; }
.post__ctabox { background: var(--navy); color: var(--paper); border-radius: var(--r); padding: 36px; margin-top: 48px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.post__ctabox strong { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.post__ctabox p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }

/* Nav para páginas interiores: el pill SIEMPRE visible desde el load.
   (El handler de scroll solo controla el leaderboard y top; el look pill es permanente.) */
.nav--pinned { height: 92px; }
.nav--pinned .nav__inner {
  max-width: 1120px; height: 70px; margin: 11px auto 0; padding: 0 20px 0 32px;
  background: rgba(16,23,38,.72);
  -webkit-backdrop-filter: blur(18px) saturate(165%); backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0,0,0,.30);
}
.nav--pinned .nav__logo img { height: 44px; } /* páginas interiores: siempre tamaño pill, el logo grande es solo el estado inicial del home */
body.page-blog { background: var(--paper); }

/* ====================================================================
   RESPONSIVE — nuevas secciones
   ==================================================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .quotes__grid { grid-template-columns: repeat(2, 1fr); }
  .press__grid { grid-template-columns: 1fr 1fr; }
  .proj__cols { grid-template-columns: 1fr; }
  .proj__programs { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
  .bloglist__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .lb__inner { padding: 0 14px; gap: 10px; }
  .lb__txt, .lb__tag { display: none; }
  .lb__count::before { content: "World Challenge"; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-right: 8px; align-self: center; white-space: nowrap; }
  .lb__num { font-size: 14px; }
  /* móvil: el link se reduce a la flecha (el label ya da contexto) — no aplica a la barra CTA contextual */
  .lb:not(.lb--cta) .lb__link { font-size: 0; }
  .lb:not(.lb--cta) .lb__link .arr { font-size: 16px; }

  .hero__proof { gap: 8px; }
  .hero__chip { font-size: 11px; padding: 7px 12px; white-space: normal; }
  .hero__slidelabel { display: none; }
  .hero__ctas { gap: 18px; }

  .services { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; gap: 14px; }

  .projects { padding: 72px 0; }
  .proj__head { padding: 24px 22px; gap: 16px; }
  .proj__plus { width: 38px; height: 38px; }
  .proj__body { padding: 26px 22px 30px; }
  .proj__programs { grid-template-columns: 1fr; }
  .sedes { grid-template-columns: 1fr; }
  .proj__list { grid-template-columns: 1fr; }
  .proj__ctas { flex-direction: column; align-items: stretch; }
  .proj__ctas .btn { justify-content: center; }

  .brands { padding: 72px 0 60px; }
  .brand { width: 104px; height: 52px; }

  .press { padding: 72px 0; }
  .press__grid { grid-template-columns: 1fr; gap: 14px; }

  .quotes__grid { grid-template-columns: 1fr; gap: 14px; }

  .page-hero { padding: calc(var(--lb-h) + var(--nav-h) + 40px) 0 50px; }
  .bloglist { padding: 60px 0 80px; }
  .post { padding: calc(var(--lb-h) + var(--nav-h) + 28px) 0 80px; }
  .post__ctabox { padding: 28px 24px; }
}

/* ====================================================================
   NUESTROS PROYECTOS EN LOS MEDIOS (quotes de prensa con logo del medio)
   ==================================================================== */
.mediaq { background: var(--paper-2); padding: 110px 0; }
.mediaq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mq {
  display: flex; flex-direction: column; gap: 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 36px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mq:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mq__quote { font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; flex: 1; }
.mq__quote::before { content: "“"; display: block; font-size: 54px; font-weight: 800; line-height: .55; color: var(--ink); margin-bottom: 16px; }
.mq__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.mq__logo { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.mq__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mq__more .arr { transition: transform .25s ease; }
.mq:hover .mq__more .arr { transform: translateX(5px); }

/* ---- Blog: imágenes en cards y artículos ---- */
.postCard { padding: 0; overflow: hidden; }
.postCard__media { aspect-ratio: 16/9; overflow: hidden; background: var(--paper-3); }
.postCard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.postCard:hover .postCard__media img { transform: scale(1.05); }
.postCard__body { display: flex; flex-direction: column; gap: 11px; padding: 20px 22px 22px; flex: 1; }

.post__hero { border-radius: var(--r); overflow: hidden; margin-bottom: 36px; background: var(--paper-3); }
.post__hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }

@media (max-width: 760px) {
  .mediaq { padding: 72px 0; }
  .mediaq__grid { grid-template-columns: 1fr; gap: 14px; }
  .mq { padding: 28px 24px 24px; }
  .mq__logo { height: 28px; }
  .postCard__body { padding: 22px 22px 26px; }
}

/* ====================================================================
   HERO — flechas del slider
   ==================================================================== */
/* ====================================================================
   SERVICIOS — iconos
   ==================================================================== */
.service__icon { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--ink); margin-bottom: 6px; }
.service__icon svg { width: 24px; height: 24px; }

/* ====================================================================
   ANIMACIÓN DE IMÁGENES AL SCROLL (reveal tipo agencia)
   El wrapper .reveal-img recorta; la imagen entra con zoom-out suave.
   ==================================================================== */
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.16); transition: transform 1.3s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.reveal-img.in-view img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .reveal-img img { transform: none !important; } }

/* ====================================================================
   PROYECTOS — cards que abren su propia página
   ==================================================================== */
.projCards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.projCard {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.projCard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.projCard--rm { border-color: rgba(255,192,0,.45); }
.projCard__media { aspect-ratio: 16/9; background: var(--paper-3); }
.projCard__media img { width: 100%; height: 100%; object-fit: cover; }
.projCard__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 30px; flex: 1; }
.projCard__body .proj__tag { margin-bottom: 0; align-self: flex-start; }
.projCard__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; }
.projCard__sub { font-size: 15px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.projCard__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 18px; }
.projCard__more .arr { transition: transform .25s ease; }
.projCard:hover .projCard__more .arr { transform: translateX(5px); }
.projCard--cta { grid-column: 1 / -1; background: var(--paper-2); border-style: dashed; }
.projCard--cta .projCard__body { align-items: center; text-align: center; padding: 40px 30px; }
.projCard--cta .projCard__sub { flex: none; max-width: 440px; }

/* ====================================================================
   PRÓXIMOS EVENTOS
   ==================================================================== */
.events { background: var(--paper-2); padding: 110px 0; }
.event {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; /* texto izq · imagen der */
  background: var(--navy); color: var(--paper);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-navy);
}
.event__media { min-height: 340px; }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__body { padding: 48px 48px 44px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.event__title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }
.event__meta { display: flex; flex-direction: column; gap: 6px; }
.event__row { font-size: 15px; color: rgba(255,255,255,.75); }
.event__row strong { color: var(--paper); font-weight: 700; }
.event__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.event__ctas .proj__ext { color: var(--paper); border-color: rgba(255,255,255,.3); }
.event__ctas .proj__ext:hover { border-color: var(--paper); }

/* Countdown grande reutilizable */
.cd2 { display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 2px; }
.cd2__unit { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.cd2__num { font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd2__lbl { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 8px; }
.cd2__sep { font-size: clamp(24px, 2.4vw, 36px); font-weight: 300; color: rgba(255,255,255,.35); line-height: 1; }

/* ====================================================================
   MEDIOS — carrusel marquee (gira en sentido OPUESTO a marcas)
   ==================================================================== */
.mediaq { overflow: hidden; }
.mcar { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mcar__track {
  display: flex; align-items: stretch; gap: 18px; width: max-content;
  padding: 10px 0 16px;
  animation: marquee 60s linear infinite reverse; /* sentido opuesto a .brands__track */
}
.mcar:hover .mcar__track { animation-play-state: paused; }
.mcarCard {
  display: flex; flex-direction: column; gap: 0;
  width: min(78vw, 380px); flex-shrink: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.mcarCard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mcarCard__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-3); }
.mcarCard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mcarCard:hover .mcarCard__media img { transform: scale(1.05); }
.mcarCard__title { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; padding: 18px 20px 12px; flex: 1; }
.mcarCard__source { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 0 20px 18px; }

/* ====================================================================
   PÁGINAS DE PROYECTO (estilo portfolio limpio)
   ==================================================================== */
.phero { background: var(--navy); color: var(--paper); padding: calc(var(--lb-h) + var(--nav-h) + 56px) 0 0; }
.phero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-bottom: 64px; }
.phero__logo { height: 74px; width: auto; margin-bottom: 26px; }
.wc__logo { display: block; height: 100px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; margin-bottom: 22px; }
.phero__title { font-size: clamp(34px, 5vw, 62px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin: 10px 0 18px; }
.phero__lede { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 520px; }
.phero__stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 28px; }
.phero__note { margin-top: 18px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.6); }
.phero__stat { display: flex; flex-direction: column; gap: 2px; }
.phero__stat strong { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.phero__stat span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.phero__media { border-radius: var(--r-lg); overflow: hidden; }
.phero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.phero .section-kicker { color: rgba(255,255,255,.6); }

/* Secciones alternadas texto/imagen */
.split { background: var(--paper); padding: 100px 0; }
.split--alt { background: var(--paper-2); }
.split__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split__grid--flip { grid-template-columns: 1.1fr 1fr; }
.split__title { font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.06; margin: 12px 0 18px; }
.split__txt { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 18px; }
/* Manifiesto escaneable (nosotros.html): mismos párrafos, presentados como bloques numerados */
.manifesto__block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.manifesto__block:last-child { border-bottom: none; padding-bottom: 0; }
.manifesto__block .split__txt { margin-bottom: 0; }
.manifesto__n { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.split__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 6px 0 26px; }
.split__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.split__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; margin-top: 7px; }
.split--rm .split__list li::before { background: var(--accent); }
.split__media { border-radius: var(--r-lg); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--carousel { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.split__media--carousel .split__media-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.07); transition: opacity 1.6s ease, transform 7s ease; }
.split__media--carousel .split__media-slide.is-active { opacity: 1; transform: scale(1); }

/* Galería en grid (páginas de proyecto + galeria.html) */
.gal { background: var(--paper); padding: 100px 0; }
.gal--tint { background: var(--paper-2); }
.gal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal__item { position: relative; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--paper-3); border: 0; padding: 0; display: block; width: 100%;
  transition: translate .3s ease, box-shadow .3s ease; }
.gal__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
/* Rollover: velo + lupa. Se usa `translate` (no `transform`) para no chocar con .reveal. */
.gal__item::after {
  content: "⤢"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(12,16,26,.34); color: #fff; font-size: 26px;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.gal__item:hover { translate: 0 -5px; box-shadow: var(--shadow); }
.gal__item:hover::after { opacity: 1; }
.gal__item:hover img { transform: scale(1.06); }
.gal__note { margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
.gal__note a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(8,11,18,.9);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }

/* CTA / footer extras */
.cta__mail { color: var(--paper); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.footer__made { display: inline-flex; align-items: center; gap: 6px; }

/* ====================================================================
   RESPONSIVE — bloques nuevos
   ==================================================================== */
@media (max-width: 1024px) {
  .projCards { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event__media { min-height: 240px; }
  .phero__grid { grid-template-columns: 1fr; gap: 32px; }
  .split__grid, .split__grid--flip { grid-template-columns: 1fr; gap: 32px; }
  .gal__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .events { padding: 72px 0; }
  .event__body { padding: 30px 24px 32px; }
  .cd2 { gap: 10px; }
  .cd2__unit { min-width: 44px; }
  .mcarCard { width: 82vw; }
  .split { padding: 64px 0; }
  .gal { padding: 64px 0; }
  .gal__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .phero { padding-top: calc(var(--lb-h) + var(--nav-h) + 30px); }
  .phero__logo { height: 56px; }
}

/* Evento: carrusel de imágenes dentro de la card (llena el lado media) */
.event__media { position: relative; }
.event__media .funda-slider { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.event__media .funda-dots { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; z-index: 2; }
.event__desc { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 520px; }
.event__desc strong { color: var(--paper); font-weight: 700; }
@media (max-width: 1024px) {
  .event__media { min-height: 260px; }
}

/* ====================================================================
   MARQUEES ARRASTRABLES (JS controla la posición; el CSS queda sin animación)
   ==================================================================== */
[data-marquee] { animation: none !important; will-change: transform; }
.brands__marquee, .mcar { cursor: grab; touch-action: pan-y; }
.brands__marquee.is-dragging, .mcar.is-dragging { cursor: grabbing; }
.is-dragging, .is-dragging * { user-select: none; -webkit-user-select: none; }

/* Testimonios como carrusel */
.mcar--quotes .quote { width: min(80vw, 360px); flex-shrink: 0; }

/* ====================================================================
   PARALLAX GSAP (las imágenes se mueven a distinta velocidad que el scroll)
   ==================================================================== */
.plx-on { overflow: hidden; }
.plx-on img { transition: none !important; will-change: transform; }

/* ====================================================================
   EQUIPO (página Nosotros)
   ==================================================================== */
/* Oculta temporalmente (2026-08-03): faltan fotos y nombres reales del equipo completo.
   El HTML de la sección (nosotros.html#equipo) queda intacto — quitar "display: none;" para reactivarla. */
.team { display: none; background: var(--paper-2); padding: 100px 0; }

/* Oculta temporalmente (2026-08-10, instrucción del usuario): el México Challenge está
   confirmado internamente pero AÚN NO está aprobado por la Fundación Real Madrid — no se
   puede mencionar en el sitio que ya se hará / que Querétaro ya es la sede hasta que se
   apruebe. El HTML de estos 3 bloques (proyecto-fundacion-real-madrid.html: sección
   #world-challenge completa, sección "¿Por qué México?", y el último ítem del timeline
   "Nuestra historia") queda intacto — quitar "display: none;" de aquí para reactivarlos
   cuando el usuario diga "PRENDE EL CHALLENGE". NO toca la card "Pilar 3" de la sección
   "Tres pilares" (esa se deja visible a propósito, por instrucción explícita del usuario:
   ahí solo se nombra el programa, sin afirmar sede/fecha en México). */
.challenge-pending { display: none !important; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teamCard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.teamCard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.teamCard__photo { aspect-ratio: 4/5; background: var(--paper-3); }
.teamCard__photo img { width: 100%; height: 100%; object-fit: cover; }
.teamCard__body { padding: 18px 20px 22px; }
.teamCard__name { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.005em; }
.teamCard__role { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 1024px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .team { padding: 64px 0; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .teamCard__body { padding: 14px 14px 16px; }
  .teamCard__name { font-size: 15px; }
}

/* ====================================================================
   FRANJA DE EVIDENCIA (bajo el hero — el "por qué elegirnos" inmediato)
   ==================================================================== */
.proof { background: var(--ink); color: var(--paper); padding: 36px 0; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof__item { display: flex; flex-direction: column; gap: 4px; }
.proof__item strong { font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof__item span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.proof__item--gold strong { color: var(--accent); }

@media (max-width: 760px) {
  .proof { padding: 26px 0; }
  .proof__grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
}

/* ====================================================================
   REFINAMIENTO UX (evidencia integrada, bronce, jerarquías, spirit)
   ==================================================================== */
:root { --bronze: #af7722; }

/* Línea de sustancia bajo el titular de cada slide del hero */
.hero__sub { margin-top: 16px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: rgba(255,255,255,.92); max-width: 460px; text-shadow: 0 1px 16px rgba(8,11,18,.5); }

/* Marcador de highlight en bronce (antes amarillo) */
.intro__lead .hl { background: linear-gradient(180deg, transparent 62%, rgba(175,119,34,.32) 62%); }

/* Logos de marcas más grandes */
.brand { width: 190px; height: 95px; }

/* Iconos GIF de servicios */
.service__icon { width: 56px; height: 56px; border-radius: 16px; }
.service__icon img { width: 34px; height: 34px; object-fit: contain; }

/* Nombres del equipo más grandes */
.teamCard__name { font-size: 19px; }

/* Lede destacado (testimonios) */
.section-head__lede--big { font-size: clamp(18px, 2vw, 22px); font-weight: 500; color: var(--ink); max-width: 460px; }

/* Testimonios: quote más grande + ritmo de color (cada 3ª card en navy) */
.mcar--quotes .quote { width: min(82vw, 380px); padding: 30px 28px; }
.mcar--quotes .quote blockquote { font-size: 17px; line-height: 1.6; }
.mcar--quotes .quote:nth-child(3n+2) { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.mcar--quotes .quote:nth-child(3n+2) blockquote::before { color: var(--accent); }
.mcar--quotes .quote:nth-child(3n+2) .quote__role { color: rgba(255,255,255,.65); border-top-color: rgba(255,255,255,.16); }


/* Carrusel de medios: logo del medio + fecha */
.mcarCard__source { display: flex; align-items: center; gap: 10px; padding: 0 20px 18px; }
.mcarCard__source img { height: 22px; width: auto; max-width: 150px; object-fit: contain; }
.mcarCard__source em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }

/* Dots de navegación del carrusel de medios */
.mcar__dots { display: flex; gap: 9px; justify-content: center; margin-top: 22px; }
.mcar__dots button { width: 26px; height: 4px; border-radius: 999px; background: var(--paper-3); transition: background .25s ease, width .25s ease; }
.mcar__dots button.is-active { background: var(--ink); width: 40px; }

/* Hero del proyecto en claro (Fundación RM) + logo grande */
.phero--light { background: var(--paper); color: var(--ink); }
.phero--light .section-kicker { color: var(--ink-soft); }
.phero--light .phero__lede { color: var(--ink-soft); }
.phero--light .phero__lede strong { color: var(--ink); }
.phero--light .phero__stat span { color: var(--ink-soft); }
.phero--light .phero__note { color: var(--ink-faint); }
.phero__logo--xl { height: 128px; margin-bottom: 30px; }

/* FEEL THE REAL SPIRIT · Roberto Carlos (video vertical destacado) */
.spirit { background: var(--navy); color: var(--paper); padding: 110px 0; overflow: hidden; }
.spirit__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.spirit__title { display: flex; flex-direction: column; font-weight: 800; line-height: .94; letter-spacing: -.02em; font-size: clamp(52px, 8vw, 122px); color: var(--accent); text-transform: uppercase; }
.spirit__sub { margin-top: 28px; color: rgba(255,255,255,.75); max-width: 430px; font-size: 16px; line-height: 1.65; }
.spirit__sub strong { color: var(--paper); }
.spirit__phone { display: flex; justify-content: center; }
.spirit__video {
  width: min(100%, 330px); aspect-ratio: 9/16; object-fit: cover;
  border-radius: 26px; background: #000;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 90px rgba(0,0,0,.5);
}

/* Nota al pie del impacto con link a prensa */
.impact__link { color: var(--paper); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Animación de títulos: palabras enmascaradas que suben */
.tt { display: inline-block; overflow: hidden; vertical-align: bottom; }
.tt__i { display: inline-block; will-change: transform; }

@media (max-width: 1024px) {
  .spirit__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .brand { width: 150px; height: 75px; }
  .phero__logo--xl { height: 88px; }
  .spirit { padding: 72px 0; }
  .spirit__title { font-size: clamp(46px, 15vw, 76px); }
  .spirit__video { width: min(80vw, 320px); }
  .mcar--quotes .quote blockquote { font-size: 16px; }
}

/* ====================================================================
   AJUSTES FINALES (logo XL, medios, World Challenge, ¿Por qué México?)
   ==================================================================== */
/* Logo de la Fundación aún más grande */
.phero__logo--xl { height: 170px; margin-bottom: 34px; }

/* Títulos animados: aire para descendentes (g, j, p, y) — nada se corta */
.tt { padding-bottom: .14em; margin-bottom: -.14em; }

/* Carrusel de medios: logos más grandes y títulos sin recorte inferior */
.mcarCard { width: min(80vw, 400px); }
.mcarCard__title { padding: 18px 20px 10px; line-height: 1.35; overflow: visible; }
.mcarCard__source { margin-top: auto; padding: 6px 20px 20px; }
.mcarCard__source img { height: 30px; max-width: 180px; }

/* Banda de fuerza: primera vez en México */
.wcpower {
  margin-top: 26px; padding: 34px 30px; border-radius: var(--r);
  background: var(--navy); color: var(--paper); text-align: center;
  font-size: clamp(19px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
.wcpower em { font-style: normal; color: var(--accent); font-weight: 800; }

/* ¿Por qué México? */
.why { background: var(--paper); }
.why .service { background: var(--paper-2); }
.why__cred { font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; line-height: 1.6; color: var(--ink); max-width: 900px; margin-bottom: 40px; }
.why__cred strong { color: var(--ink); }

@media (max-width: 760px) {
  .phero__logo--xl { height: 112px; }
  .wcpower { padding: 26px 20px; }
  .mcarCard { width: 84vw; }
}

/* ====================================================================
   NUMERALIA MÁS GRANDE (global) + jerarquía escaneable
   ==================================================================== */
.phero__stat strong { font-size: clamp(34px, 4.2vw, 52px); line-height: .95; }
.phero__stat span { font-size: 12px; }
.figure__num { font-size: clamp(44px, 5.4vw, 72px); }
.proj__ext { font-size: 15px; }

/* ---- Numeralia del World Challenge: panel de escala espectacular ---- */
.wcstats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-navy);
}
.wcstat {
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
  padding: clamp(30px, 4vw, 52px) 16px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.wcstat:nth-child(4) { border-right: 0; }  /* última columna (desktop) */
.wcstats__foot {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: clamp(22px, 3vw, 30px) 24px; text-align: center;
  font-size: clamp(17px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
.wcstats__foot em { font-style: normal; color: var(--accent); font-weight: 800; }
.wcstat strong {
  font-size: clamp(42px, 6vw, 78px); font-weight: 800;
  letter-spacing: -0.04em; line-height: .9; font-variant-numeric: tabular-nums;
}
.wcstat span {
  font-size: clamp(11px, 1vw, 13px); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
@media (max-width: 760px) {
  .wcstats { grid-template-columns: 1fr 1fr; }
  .wcstat { padding: 26px 8px; }
  .wcstat strong { font-size: clamp(28px, 8.5vw, 40px); }
  .wcstat span { font-size: 10px; letter-spacing: .07em; }
  .wcstat:nth-child(2), .wcstat:nth-child(4) { border-right: 0; }
  .wcstat:nth-child(1), .wcstat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ====================================================================
   TESTIMONIOS TRICOLOR (blanco · navy · dorado intercalados)
   ==================================================================== */
.mcar--quotes .quote:nth-child(3n+3) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mcar--quotes .quote:nth-child(3n+3) blockquote::before { color: var(--accent-ink); }
.mcar--quotes .quote:nth-child(3n+3) .quote__role { color: rgba(17,21,31,.72); border-top-color: rgba(17,21,31,.18); }

/* ====================================================================
   ¿POR QUÉ MÉXICO? — 3 cards numeralia grande + credencial
   ==================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.whycard { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease; }
.whycard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.whycard__n { display: block; font-size: clamp(46px, 5vw, 66px); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.03em; margin-bottom: 14px; }
.whycard__t { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.whycard__d { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.cred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.cred__stat { display: flex; flex-direction: column; gap: 4px; }
.cred__stat strong { font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--accent-deep); line-height: 1; letter-spacing: -0.02em; }
.cred__stat span { font-size: 15px; line-height: 1.45; color: var(--ink-soft); font-weight: 500; }
.why__cred { font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--ink); max-width: 640px; }
.why__cred strong { color: var(--accent-deep); }

@media (max-width: 760px) {
  .wcstats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; }
  .why__grid { grid-template-columns: 1fr; }
  .cred { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   HOME · trust bar · showreel · alianza · impacto · faq
   (referencia competitiva: escala visible, alianza-sello,
    prueba de impacto, video, FAQ para IA/SEO)
   ============================================================ */

/* --- Barra de cifras de agencia --- */
.trustbar { padding: 6px 0 46px; }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 40px;
}
.trustbar__item { display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.trustbar__item strong { font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; letter-spacing: -0.03em; line-height: .88; color: var(--ink); }
.trustbar__item span { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--ink-soft); max-width: 22ch; }

/* --- Showreel --- */
.reel { padding: 60px 0 76px; }
.reel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.reel__title { font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.03; margin: 8px 0 18px; }
.reel__lede { color: var(--ink-soft); font-size: 17px; line-height: 1.58; max-width: 42ch; margin-bottom: 28px; }
.reel__media { display: flex; justify-content: center; }
.reel__video {
  display: block; width: auto; height: auto; max-width: 340px; aspect-ratio: 9 / 16;
  max-height: 640px; object-fit: cover; background: #000;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-navy);
}

/* --- Alianza insignia --- */
.ally { padding: 20px 0 76px; }
.ally__inner {
  background: var(--navy); color: var(--paper); border-radius: var(--r-lg);
  padding: 54px 56px; border: 1px solid rgba(255,192,0,.30); box-shadow: var(--shadow-navy);
}
/* Sin logo de la Fundación (uso no autorizado, ver 2026-07): la sección se apoya
   solo en texto + cifras. .ally__inner--full = una sola columna, sin el sello. */
.ally__inner--full { display: block; }
.ally__title { font-size: clamp(23px, 2.7vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 6px 0 14px; color: var(--paper); }
.ally__txt { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.62; max-width: 62ch; margin-bottom: 24px; }
.ally__txt strong { color: var(--accent); }
.ally__txt em { font-style: italic; color: rgba(255,255,255,.9); }
.ally__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ally__ext { color: var(--accent); font-weight: 600; font-size: 14px; }
.ally__ext:hover { text-decoration: underline; }

/* --- Impacto (banda oscura) --- */
.impactband { background: var(--ink); color: var(--paper); padding: 94px 0; }
.impactband .section-head { margin-bottom: 48px; }
.impactband__lede { font-size: 16px; line-height: 1.62; color: rgba(255,255,255,.66); max-width: 42ch; }
.impactband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* --- FAQ --- */
.faq { padding: 94px 0; background: var(--paper-2); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { cursor: pointer; list-style: none; padding: 26px 46px 26px 0; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--ink); position: relative; transition: color .2s ease; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--ink-soft); transition: transform .28s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__q:hover { color: var(--bronze); }
/* Respuesta con deslizamiento (altura animada por JS; fallback nativo sin JS) */
.faq__a { overflow: hidden; transition: height .34s cubic-bezier(.4, 0, .2, 1); }
.faq__a p { padding: 2px 46px 30px 0; color: var(--ink-soft); font-size: 16px; line-height: 1.66; max-width: 76ch; }

/* --- Unidad de negocio: strip de cifras (oro = contexto Fundación RM) --- */
.ally { padding: 56px 0 84px; }
.ally__stats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 6px 0 26px; }
.ally__stat { display: flex; flex-direction: column; gap: 3px; }
.ally__stat strong { font-size: clamp(26px, 3vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: .95; color: var(--accent); }
.ally__stat span { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.6); max-width: 17ch; }
@media (max-width: 640px) {
  /* móvil: 2 imágenes, sin scroll largo (ocultamos el resto) */
  .igfeed__grid { grid-template-columns: repeat(2, 1fr); }
  .igcard:nth-child(n+3) { display: none; }
}

/* --- Botón de contacto flotante (aparece al pasar el hero) --- */
.floatcta {
  position: fixed; left: 0; bottom: 0; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 16px 26px; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border-radius: 0 14px 0 0;
  transform: translateY(110%); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .3s ease;
  box-shadow: 0 -8px 30px rgba(0,0,0,.28);
}
.floatcta.is-show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.floatcta__arr { transition: transform .25s ease; }
.floatcta:hover .floatcta__arr { transform: translateX(4px); }

/* --- WhatsApp flotante (abajo-derecha, aparece al pasar el hero) --- */
.wafab {
  position: fixed; right: 22px; bottom: 22px; z-index: 61;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,.42);
  transform: translateY(110%); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease, box-shadow .2s ease;
}
.wafab.is-show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.wafab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 32px rgba(37,211,102,.5); }
.wafab svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 560px) { .wafab { width: 50px; height: 50px; right: 16px; bottom: 16px; } .wafab svg { width: 27px; height: 27px; } }

/* --- Banner de cookies (mismo tratamiento glass que la pill del nav; abajo-centro
   para no chocar con .floatcta abajo-izquierda ni .wafab abajo-derecha) --- */
.cookiebar {
  position: fixed; left: 50%; bottom: 20px; z-index: 90;
  width: min(92vw, 420px);
  background: rgba(16,23,38,.86);
  -webkit-backdrop-filter: blur(18px) saturate(165%); backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  padding: 22px 24px;
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.cookiebar.is-show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cookiebar__txt { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.82); margin-bottom: 16px; }
.cookiebar__actions { display: flex; gap: 10px; }
.cookiebar__actions .btn { flex: 1; justify-content: center; padding: 11px 16px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .cookiebar { transition: opacity .3s ease; } }

/* --- Servicios: enlace a la página de detalle --- */
.services__more { margin-top: 48px; display: flex; justify-content: center; }

/* ----------------------- SOLUTIONS (soluciones por perfil, home) ----------------------- */
.solutions { background: var(--paper-2); padding: 130px 0; }
.solution__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solutionCard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; transition: translate .3s ease, box-shadow .3s ease; }
.solutionCard:hover { translate: 0 -5px; box-shadow: var(--shadow); }
.solutionCard__for { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.solutionCard__title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.solutionCard__txt { font-size: 15px; line-height: 1.6; color: var(--ink-soft); flex-grow: 1; }
.solutionCard__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.solutionCard__link .arr { transition: transform .25s ease; }
.solutionCard:hover .solutionCard__link .arr { transform: translateX(4px); }
@media (max-width: 900px) { .solution__grid { grid-template-columns: 1fr; } }

/* ----------------------- SOLUTION BLOCKS (servicios.html, detalle por perfil) ----------------------- */
.solutions-detail { padding: 100px 0 60px; background: var(--paper); }
.solutionBlock { padding: 56px 0; border-bottom: 1px solid var(--line); }
.solutionBlock:first-child { padding-top: 0; }
.solutionBlock:last-child { border-bottom: none; padding-bottom: 0; }
.solutionBlock__head { max-width: 640px; margin-bottom: 32px; }
.solutionBlock__tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.solutionBlock__title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 12px; }
.solutionBlock__lead { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.solutionBlock__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.solutionBlock__what h3, .solutionBlock__proof h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.solutionBlock__what ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.solutionBlock__what li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.solutionBlock__what li::before { content: "\2192"; position: absolute; left: 0; color: var(--bronze); font-weight: 700; }
.solutionBlock__proof { background: var(--paper-2); border-radius: var(--r); padding: 24px 26px; align-self: start; }
.solutionBlock__proof p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.solutionBlock__proof a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .solutionBlock__body { grid-template-columns: 1fr; } }

/* --- Proceso visual (pasos numerados) --- */
.process { padding: 30px 0 96px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step { position: relative; padding: 32px 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__n { display: block; font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--bronze); }
.step__t { font-size: 20px; font-weight: 700; margin: 16px 0 8px; letter-spacing: -0.01em; }
.step__d { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.step:not(:last-child)::after { content: "\2192"; position: absolute; top: 50%; right: -13px; transform: translateY(-50%); color: var(--ink-faint); font-size: 18px; z-index: 2; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:not(:last-child)::after { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* --- Metodología TRUE (línea de tiempo horizontal) --- */
.method { background: var(--ink); color: var(--paper); padding: 96px 0; overflow: hidden; }
.method__intro { color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.6; max-width: 46ch; }
.method__track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; padding-bottom: 36px; position: relative; }
.method__rail {
  position: absolute; bottom: 0; top: auto; left: 12.5%; right: 12.5%; height: 2px; transform-origin: left center;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,192,0,.6) 26%, rgba(255,192,0,.6) 74%, rgba(255,255,255,.1));
}
.method__phase {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg);
  padding: 34px 20px 26px; transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.method__phase:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.055); border-color: rgba(255,192,0,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.method__icon {
  position: relative; z-index: 2; width: 78px; height: 78px; border-radius: 50%;
  background: #fff; border: 3px solid rgba(255,192,0,.7); box-shadow: 0 0 0 8px var(--ink);
  display: grid; place-items: center; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.method__phase:hover .method__icon { transform: scale(1.08); box-shadow: 0 0 0 8px var(--ink), 0 0 0 11px rgba(255,192,0,.4); }
.method__icon img { width: 52px; height: 52px; object-fit: contain; }
.method__letter { display: block; font-size: clamp(50px, 5.8vw, 82px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; color: var(--paper); margin-top: 22px; }
.method__word { font-size: 18px; font-weight: 700; margin: 16px 0 0; letter-spacing: -0.01em; }
.method__word em { font-style: normal; font-weight: 500; color: var(--accent); }
.method__desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.60); margin-top: 9px; max-width: 30ch; }
.method__foot { margin-top: 60px; text-align: center; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: -0.01em; }
.method__foot em { font-style: italic; color: var(--accent); }

/* --- TRUE Cycle (home): 8 servicios, tipografía cinética blanco/dorado --- */
.true-cycle { position: relative; padding: 64px 0 72px; background: var(--navy); color: var(--paper); text-align: center; overflow: hidden; }
.true-cycle > .container { position: relative; z-index: 1; }
.true-cycle__bg { position: absolute; inset: 0; z-index: 0; }
.true-cycle__bgimg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; filter: grayscale(1) brightness(.4) contrast(1.05);
  transition: opacity 1.4s ease;
}
.true-cycle__bgimg.is-active { opacity: .32; }
@media (prefers-reduced-motion: reduce) { .true-cycle__bgimg { transition: none; } }
.true-cycle .section-kicker { color: var(--accent-deep); }
.true-cycle__nav { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 24px); margin: 8px 0 16px; }
.true-cycle__nav .true-cycle__stage { flex: 1 1 auto; max-width: 720px; margin: 0; }
.true-cycle__arrow {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: var(--paper); cursor: pointer; padding: 0;
  transition: border-color .25s ease, color .25s ease;
}
.true-cycle__arrow:hover, .true-cycle__arrow:focus-visible { border-color: var(--accent-deep); color: var(--accent-deep); }
.true-cycle__arrow:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.true-cycle__arrow svg { display: block; }
@media (max-width: 560px) { .true-cycle__arrow { width: 36px; height: 36px; } }
.true-cycle__stage { height: clamp(5.6rem, 13.5vw, 7.4rem); position: relative; overflow: hidden; margin: 8px 0 16px; }
.true-cycle__track { position: relative; height: 100%; }
.true-cycle__word {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(26px, 6vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--paper); opacity: 0; transform: translateY(40px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); pointer-events: none;
}
.true-cycle__word.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.true-cycle__word.is-exit { opacity: 0; transform: translateY(-40px); }
.true-cycle__bullets { min-height: 22px; position: relative; margin-bottom: 20px; }
.true-cycle__detail { display: block; position: absolute; inset: 0; font-size: 14.5px; color: rgba(255,255,255,.55); opacity: 0; transition: opacity .4s ease; letter-spacing: .01em; }
.true-cycle__detail.is-active { opacity: 1; }
.true-cycle__bar { width: 120px; height: 2px; background: rgba(255,255,255,.15); margin: 0 auto 22px; border-radius: 2px; overflow: hidden; }
.true-cycle__bar span { display: block; height: 100%; width: 0%; background: var(--accent-deep); }
.true-cycle__foot { margin-top: 8px; }
@media (min-width: 768px) { .true-cycle { padding: 84px 0 94px; } }

/* --- Misión y Visión --- */
.mv { padding: 20px 0 40px; }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 38px; }
.mv__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; }
.mv__txt { font-size: clamp(17px, 1.9vw, 21px); font-weight: 500; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.mv__txt em { font-style: normal; color: var(--bronze); font-weight: 600; }
@media (max-width: 760px) { .mv__grid { grid-template-columns: 1fr; } }

/* --- Sectores (a quién servimos) --- */
.sectors { padding: 26px 0 96px; }
.sectors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { list-style: none; display: flex; align-items: center; gap: 11px; padding: 22px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); font-size: 15.5px; font-weight: 600; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sector::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); flex-shrink: 0; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--paper-3); }
@media (max-width: 860px) { .sectors__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sectors__grid { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .method { padding: 76px 0; }
  .method__track { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .method__rail { display: none; }
  .method__phase {
    display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 16px; row-gap: 2px; text-align: left;
    padding: 22px 0; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0;
    background: none; box-shadow: none; transform: none;
  }
  .method__phase:first-child { border-top: 0; }
  .method__phase:hover { transform: none; background: none; box-shadow: none; }
  .method__phase:hover .method__icon { transform: none; box-shadow: none; }
  .method__icon { width: 54px; height: 54px; box-shadow: none; }
  .method__icon img { width: 32px; height: 32px; }
  .method__letter { font-size: 42px; margin: 0; }
  .method__word { grid-column: 1 / -1; margin: 10px 0 0; }
  .method__desc { grid-column: 1 / -1; max-width: none; margin-top: 4px; }
}

/* --- Responsive de las secciones nuevas --- */
@media (max-width: 860px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; padding: 28px 22px; }
  .reel__grid { grid-template-columns: 1fr; gap: 30px; }
  .reel__media { order: -1; }
  .reel__video { max-width: 280px; max-height: 62vh; }
  .ally__inner { grid-template-columns: 1fr; gap: 26px; padding: 36px 26px; }
  .ally__seal { max-width: 150px; padding: 24px; }
  .impactband__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__q { font-size: 17px; padding-right: 40px; }
  .igfeed { padding: 60px 0 68px; }
  .igcard { width: 210px; border-radius: 14px; }
  .igfeed__badge { width: 44px; height: 44px; }
  .floatcta { padding: 13px 18px; font-size: 12.5px; }
}

.gold { color: var(--accent); }

/* ======================= PRENSA (notas-de-prensa.html + fallback carrusel index) ======================= */
/* Insignia de medio (reemplaza el logo por un chip de texto, confiable y sin cargar imágenes) */
.mcarCard__outlet {
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: var(--r-pill); line-height: 1;
}
.mcarCard__source { justify-content: flex-start; }

/* Fallback cuando una nota no trae imagen (Facebook, medios con hotlink protegido) */
.mcarCard__media.is-empty, .prcard__media.is-empty {
  position: relative; background: linear-gradient(135deg, var(--navy), #1b2333);
}
.mcarCard__media.is-empty::after, .prcard__media.is-empty::after {
  content: "TRUE SPORTS · PRENSA";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.30); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-align: center;
}

/* Botón "ver todas las notas" bajo el carrusel del home */
.mediaq__more { display: flex; justify-content: center; margin-top: 30px; }
.mediaq__more .btn--outline { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mediaq__more .btn--outline:hover { background: #000; border-color: #000; }

/* Página de prensa: grid de tarjetas agrupadas por mes */
.prensa { background: var(--paper-2); padding: clamp(48px, 7vw, 90px) 0 100px; }
.prensa__month { display: flex; align-items: baseline; gap: 16px; margin: 0 0 20px; }
/* cada mes va envuelto en .prensa__block (para paginar por mes): la separación va ahí */
.prensa__block + .prensa__block { margin-top: 52px; }
.prensa__month-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.prensa__month-count { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.prensa__month::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }
.prensa__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.prcard {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.prcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--paper-3); }
.prcard__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-3); }
.prcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.prcard:hover .prcard__media img { transform: scale(1.05); }
.prcard__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.prcard__outlet { align-self: flex-start; display: flex; align-items: center; min-height: 24px; }
.prcard__outlet img { height: 22px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.prcard__outlet--txt {
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: var(--r-pill); line-height: 1;
}
.prcard__title { font-size: 16px; font-weight: 700; line-height: 1.32; letter-spacing: -0.005em; color: var(--ink); flex: 1; }
.prcard__date { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }

@media (max-width: 640px) {
  .prensa__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ======================= PAGINADOR (blog · galería · prensa) ======================= */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pager__btn {
  min-width: 44px; height: 44px; padding: 0 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pager__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager__btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); cursor: default; }
.pager__btn:disabled { opacity: .35; cursor: default; }
.pager__gap { color: var(--ink-faint); padding: 0 2px; user-select: none; }
@media (max-width: 560px) {
  .pager__btn { min-width: 40px; height: 40px; padding: 0 11px; font-size: 14px; }
}

/* ======================= HISTORIA (timeline fijo: el cuadro no se mueve, la lista sube) =======================
   .history__stage se fija en pantalla mientras se hace scroll (GSAP ScrollTrigger + pin, ver
   main.js — mismo patrón ya usado en .whatwe); dentro, .timeline (fill + lista) se traslada
   hacia arriba dentro de .history__frame (overflow:hidden). Conforme sube, cada .timeline__item
   recibe .is-active al cruzar la línea de lectura → el punto se enciende en dorado.
   Sin JS/reduced-motion: no se fija nada, el fill queda al 100% y todos los puntos encendidos
   (fallback: la lista se ve completa, estática, sin necesidad de scroll interno). */
.history { background: var(--paper); }
.history__stage {
  position: relative; overflow: hidden;
  height: clamp(560px, 88vh, 760px);
  display: flex; align-items: center;
}
/* padding-top/bottom explícitos (NO shorthand): el shorthand "padding: A 0" pone
   también left/right en 0 y anula el padding lateral que ya trae .container. */
.history__grid {
  display: flex; flex-direction: column; gap: 26px; width: 100%; height: 100%;
  padding-top: clamp(28px, 6vw, 40px); padding-bottom: clamp(28px, 6vw, 40px);
}
.history__intro { flex-shrink: 0; }
.history__intro .section-kicker { margin-bottom: 10px; }
.history__intro .section-head__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.history__intro .section-head__lede { max-width: 440px; }
.history__frame {
  position: relative; flex: 1; overflow: hidden; min-height: 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.timeline { position: absolute; top: 0; left: 0; right: 0; will-change: transform; }
.timeline__list { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline__list::before {
  content: ""; position: absolute; left: 54px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line);
}
.timeline__fill {
  position: absolute; left: 54px; top: 8px; width: 2px; height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  z-index: 1;
}

@media (min-width: 900px) {
  /* align-items:stretch (default) a propósito: .history__frame necesita heredar
     la altura completa del grid para que .timeline (position:absolute) tenga
     dónde recortarse — con flex-start colapsaba a 0px y el timeline desaparecía. */
  .history__grid { flex-direction: row; gap: 64px; }
  .history__intro { width: 300px; padding-top: 8px; flex-shrink: 0; }
  .history__frame { flex: 1; }
}
.timeline__item { position: relative; display: flex; gap: 28px; padding: 0 0 34px 0; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  position: relative; z-index: 2; flex-shrink: 0; width: 110px;
  font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
  padding-top: 2px;
}
.timeline__year::after {
  content: ""; position: absolute; left: 108px; top: 8px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--line);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.timeline__item.is-active .timeline__year::after {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,192,0,.18);
}
.timeline__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; margin: -10px -14px 4px; border-radius: var(--r-sm);
  transition: translate .25s ease, background .25s ease; }
.timeline__body strong { font-size: 17px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.35; transition: color .25s ease; }
.timeline__body span { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
/* Rollover (solo dispositivos con mouse): el cuerpo se desliza y resalta sin tocar el .reveal */
@media (hover: hover) {
  .timeline__item:hover .timeline__body { translate: 6px 0; background: var(--paper-2); }
  .timeline__item:hover .timeline__body strong { color: var(--accent-deep); }
}

/* Hito "Próximamente" (México Challenge 2026): distinto de los ya sucedidos */
.timeline__badge {
  display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
  background: var(--accent); padding: 4px 11px; border-radius: var(--r-pill); margin-bottom: 2px;
}
.timeline__item--upcoming .timeline__year::after {
  background: var(--paper); border: 2px dashed var(--accent);
  animation: timelinePulse 2.2s ease-in-out infinite;
}
.timeline__item--upcoming.is-active .timeline__year::after { background: var(--paper); }
@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,192,0,.45); }
  50% { box-shadow: 0 0 0 7px rgba(255,192,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .timeline__item--upcoming .timeline__year::after { animation: none; }
}

@media (max-width: 640px) {
  .timeline__list::before, .timeline__fill { left: 30px; }
  .timeline__item { gap: 18px; }
  .timeline__year { width: 62px; font-size: 16px; }
  .timeline__year::after { left: 60px; }
}
