/* ============================================================
   MARATHON FEDACHI 2026 — Sistema de diseño
   ============================================================ */

:root{
  /* Marca */
  --navy:        #16336F;   /* azul primario (logo) */
  --navy-700:    #102553;
  --navy-800:    #0B1C44;
  --navy-900:    #081634;   /* fondos profundos */
  --navy-950:    #050E22;
  --red:         #DD1A2D;   /* rojo MARATHON */
  --red-600:     #C2152A;
  --white:       #FFFFFF;
  --paper:       #F2F3F6;   /* off-white secciones */
  --paper-2:     #E7E9EF;
  --ink:         #0A1326;
  --line:        rgba(255,255,255,.14);
  --line-dark:   rgba(10,19,38,.12);

  /* Tipografía */
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --ui:      "Barlow Semi Condensed", system-ui, sans-serif;
  --body:    "Barlow", system-ui, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--body);
  background:var(--navy-950);
  color:var(--ink);
  line-height:1.55;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
::selection{ background:var(--red); color:#fff; }

.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }

/* Tipos utilitarios */
.eyebrow{
  font-family:var(--ui);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.26em;
  font-size:clamp(11px,1.05vw,13px);
  display:inline-flex; align-items:center; gap:.7em;
}
.eyebrow::before{ content:""; width:30px; height:2px; background:var(--red); display:inline-block; }
.eyebrow.no-bar::before{ display:none; }

.display{
  font-family:var(--display);
  font-weight:900;
  text-transform:uppercase;
  line-height:.86;
  letter-spacing:-0.01em;
  text-wrap:balance;
}

/* Motivo: barras diagonales (speed lines) */
.slashes{ display:inline-flex; gap:7px; transform:skewX(-18deg); }
.slashes i{ display:block; width:8px; height:34px; background:var(--red); }
.slashes i:nth-child(2){ background:var(--navy); opacity:.9; }
.slashes i:nth-child(3){ background:var(--red); opacity:.55; }
.slashes.sm i{ width:6px; height:24px; }
.slashes.white i{ background:rgba(255,255,255,.9); }
.slashes.white i:nth-child(2){ background:var(--red); opacity:1; }
.slashes.white i:nth-child(3){ background:rgba(255,255,255,.4); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:60;
  height:var(--header-h);
  display:flex; align-items:center;
  transition:background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; width:100%; }
.site-header.solid{ background:var(--navy-900); box-shadow:0 10px 40px rgba(0,0,0,.35); height:72px; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand img{ height:108px; width:auto; transition:height .35s ease; }
.solid .brand img{ height:86px; }

.nav{ display:flex; align-items:center; gap:30px; }
.nav a{
  font-family:var(--ui); font-weight:600; text-transform:uppercase;
  letter-spacing:.12em; font-size:13px; color:rgba(255,255,255,.82);
  position:relative; padding:6px 0; transition:color .2s; white-space:nowrap;
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--red); transition:width .25s ease;
}
.nav a:hover{ color:#fff; }
.nav a:hover::after{ width:100%; }
.nav a.active{ color:#fff; }
.nav a.active::after{ width:100%; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--ui); font-weight:700; text-transform:uppercase;
  letter-spacing:.1em; font-size:14px; line-height:1;
  padding:11px 26px; border-radius:100px; transition:transform .15s ease, background .25s, color .25s, box-shadow .25s;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover{ background:var(--red-600); box-shadow:0 12px 30px -8px rgba(221,26,45,.6); }
.btn-ghost{ background:transparent; color:#fff; box-shadow:inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-ghost:hover{ box-shadow:inset 0 0 0 2px #fff; background:rgba(255,255,255,.08); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-700); }
.btn-lg{ padding:14px 38px; font-size:15px; }
.btn .arrow{ transition:transform .2s; }
.btn:hover .arrow{ transform:translateX(4px); }

.hamb{ display:none; flex-direction:column; gap:5px; padding:8px; }
.hamb span{ width:26px; height:2px; background:#fff; transition:.3s; }

/* ============================================================
   HERO (3 variantes)
   ============================================================ */
.hero{ display:none; position:relative; min-height:100svh; color:#fff; isolation:isolate; }
.hero.is-active{ display:block; }

.hero-photo{ position:absolute; inset:0; z-index:-2; }
.hero-photo img{ width:100%; height:100%; object-fit:cover; }
.hero-grad{ position:absolute; inset:0; z-index:-1; }

/* Variante 1 — Aérea editorial */
#hero1 .hero-grad{
  background:
    linear-gradient(180deg, rgba(5,14,34,.55) 0%, rgba(5,14,34,0) 26%),
    linear-gradient(75deg, rgba(5,14,34,.88) 8%, rgba(5,14,34,.5) 46%, rgba(5,14,34,.1) 78%),
    linear-gradient(0deg, rgba(5,14,34,.35) 0%, rgba(5,14,34,0) 28%);
}
.hero-inner{
  min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end;
  padding-top:calc(var(--header-h) + 32px); padding-bottom:40px;
}
.hero-eyebrow{ color:#fff; margin-bottom:20px; white-space:nowrap; }
.hero h1{
  font-family:var(--display); font-weight:900; text-transform:uppercase;
  line-height:.83; letter-spacing:-.01em;
  font-size:clamp(3.4rem, 9.4vw, 9.2rem);
  margin-bottom:.12em;
}
.hero h1 .red{ color:var(--red); }
.hero h1 .out{ color:transparent; -webkit-text-stroke:2px rgba(255,255,255,.85); }
.hero-sub{
  font-family:var(--ui); font-weight:500; font-size:clamp(15px,1.5vw,19px);
  letter-spacing:.02em; color:rgba(255,255,255,.9); max-width:42ch; margin-bottom:26px;
}
.hero-sub b{ font-weight:700; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }

/* Bloque fecha/lugar inline */
.hero-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:26px; margin-bottom:24px; }
.meta-pill{ display:flex; align-items:center; gap:14px; }
.meta-pill .k{
  font-family:var(--ui); text-transform:uppercase; letter-spacing:.2em; font-size:11px;
  color:rgba(255,255,255,.6); line-height:1.3;
}
.meta-pill .v{
  font-family:var(--display); font-weight:800; text-transform:uppercase; font-size:26px; line-height:1; white-space:nowrap;
}
.meta-div{ width:1px; height:34px; background:rgba(255,255,255,.25); }

/* Countdown */
.countdown{ display:flex; gap:10px; }
.cd-cell{
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.16);
  border-radius:3px;
  padding:14px 6px 10px;
  min-width:78px; text-align:center;
}
.cd-cell .num{
  font-family:var(--display); font-weight:800; font-size:clamp(34px,4.4vw,52px); line-height:.9;
  font-variant-numeric:tabular-nums; letter-spacing:.01em;
}
.cd-cell .lbl{
  font-family:var(--ui); text-transform:uppercase; letter-spacing:.18em; font-size:10px;
  color:rgba(255,255,255,.65); margin-top:7px;
}
.cd-cell.accent{ background:var(--red); border-color:var(--red); }
.cd-cell.accent .lbl{ color:rgba(255,255,255,.85); }

.hero-bottom{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; flex-wrap:wrap; margin-top:30px; }
.hero-sponsors{ display:flex; align-items:center; gap:16px; }
.hero-sponsors .cap{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.2em; font-size:10px; color:rgba(255,255,255,.55); }
.hero-sponsors img{ height:42px; opacity:.95; }

.scroll-hint{ display:flex; align-items:center; gap:12px; font-family:var(--ui); text-transform:uppercase; letter-spacing:.2em; font-size:11px; color:rgba(255,255,255,.6); }
.scroll-hint .mouse{ width:22px; height:34px; border:2px solid rgba(255,255,255,.5); border-radius:12px; position:relative; }
.scroll-hint .mouse::after{ content:""; position:absolute; left:50%; top:6px; transform:translateX(-50%); width:3px; height:7px; border-radius:3px; background:#fff; animation:scrolldot 1.6s infinite; }
@keyframes scrolldot{ 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,9px)} 100%{opacity:0} }

/* Variante 2 — Split diagonal */
#hero2{ background:var(--navy-900); }
.hero-split{ display:grid; grid-template-columns:1.05fr .95fr; min-height:100svh; }
.hero-split .left{
  padding:calc(var(--header-h) + 30px) clamp(24px,5vw,80px) 40px;
  display:flex; flex-direction:column; justify-content:center; position:relative; z-index:2;
}
.hero-split .right{ position:relative; overflow:hidden; }
.hero-split .right img{ width:100%; height:100%; object-fit:cover; }
.hero-split .right::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(255deg, rgba(8,22,52,0) 55%, rgba(8,22,52,1) 99%);
}
.hero-split .right::after{
  content:""; position:absolute; left:-2px; top:-10%; bottom:-10%; width:120px; z-index:2;
  background:var(--navy-900); transform:skewX(-9deg); transform-origin:top;
}
.hero-split .corner-slash{ position:absolute; right:36px; bottom:36px; z-index:3; }

/* Variante 3 — Tipo protagonista / largada */
#hero3 .hero-grad{
  background:
    linear-gradient(180deg, rgba(5,14,34,.7) 0%, rgba(5,14,34,.25) 30%, rgba(5,14,34,.55) 62%, rgba(5,14,34,.96) 100%);
}
#hero3 .hero-inner{ justify-content:center; align-items:flex-start; text-align:left; }
#hero3 h1{ font-size:clamp(3rem,9.2vw,8.6rem); }
#hero3 .big-count{ display:flex; gap:0; margin:30px 0 34px; border:1px solid rgba(255,255,255,.18); border-radius:4px; overflow:hidden; width:fit-content; }
#hero3 .big-count .cd-cell{ background:transparent; border:none; border-right:1px solid rgba(255,255,255,.16); border-radius:0; min-width:100px; padding:20px 14px 16px; }
#hero3 .big-count .cd-cell:last-child{ border-right:none; }
#hero3 .big-count .cd-cell:nth-child(1){ background:var(--red); }

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
section{ position:relative; }
.sec{ padding:clamp(72px,9vw,140px) 0; }
.sec-dark{ background:var(--navy-900); color:#fff; }
.sec-navy{ background:var(--navy); color:#fff; }
.sec-paper{ background:var(--paper); color:var(--ink); }
.sec-white{ background:#fff; color:var(--ink); }

.sec-head{ margin-bottom:clamp(40px,5vw,68px); }
.sec-head .eyebrow{ margin-bottom:20px; }
.sec-title{
  font-family:var(--display); font-weight:900; text-transform:uppercase; line-height:.88;
  font-size:clamp(2.6rem,6.2vw,5.4rem); letter-spacing:-.01em;
}
.sec-title .red{ color:var(--red); }
.sec-paper .eyebrow, .sec-white .eyebrow{ color:var(--navy); }

/* ---------- EL EVENTO ---------- */
.evento-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,80px); align-items:center; }
.evento-copy p{ font-size:clamp(16px,1.5vw,19px); color:#3a4356; margin-bottom:18px; max-width:54ch; }
.evento-copy .lead{ font-size:clamp(19px,1.9vw,24px); color:var(--ink); font-weight:500; line-height:1.4; }
.evento-media{ position:relative; }
.evento-slider{ position:relative; width:100%; aspect-ratio:4/5; border-radius:4px; overflow:hidden; background:var(--navy-900); }
.evento-slider .es{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.1s ease; }
.evento-slider .es.active{ opacity:1; }
.es-dots{ position:absolute; left:0; right:0; bottom:16px; z-index:3; display:flex; gap:7px; justify-content:center; }
.es-dots button{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.45); transition:background .25s, width .25s; cursor:pointer; padding:0; }
.es-dots button.active{ background:#fff; width:22px; border-radius:4px; }
.es-dots button:hover{ background:rgba(255,255,255,.8); }
.evento-media img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:4px; }
.evento-media .tag{
  position:absolute; left:-10px; bottom:28px; background:var(--red); color:#fff;
  font-family:var(--ui); font-weight:700; text-transform:uppercase; letter-spacing:.14em; font-size:12px;
  padding:12px 20px;
}
.evento-media .frame-slash{ position:absolute; right:-14px; top:-14px; }

.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; margin-top:clamp(48px,6vw,84px); background:var(--paper-2); border:1px solid var(--paper-2); }
.stat{ background:var(--paper); padding:30px 24px; }
.stat .n{ font-family:var(--display); font-weight:900; font-size:clamp(2.4rem,4.4vw,3.6rem); line-height:1; color:var(--navy); }
.stat .n .red{ color:var(--red); }
.stat .t{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.14em; font-size:12px; color:#5a6478; margin-top:10px; }
.sec-dark .stats{ background:var(--line); border-color:var(--line); }
.sec-dark .stat{ background:var(--navy-900); }
.sec-dark .stat .n{ color:#fff; }
.sec-dark .stat .t{ color:rgba(255,255,255,.6); }

/* ---------- DISTANCIAS ---------- */
.dist-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.dist-card{
  position:relative; min-height:clamp(380px,46vw,560px); border-radius:4px; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end; color:#fff; isolation:isolate;
}
.dist-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.dist-card::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(8,22,52,.15) 0%, rgba(8,22,52,.35) 45%, rgba(5,14,34,.94) 100%); transition:background .4s; }
.dist-card:hover img{ transform:scale(1.07); }
.dist-card:hover::after{ background:linear-gradient(180deg, rgba(8,22,52,.25) 0%, rgba(8,22,52,.5) 40%, rgba(221,26,45,.6) 130%); }
.dist-card .body{ padding:26px 24px 24px; position:relative; }
.dist-card .num{ font-family:var(--display); font-weight:900; font-size:clamp(3.4rem,5vw,5rem); line-height:.84; letter-spacing:-.02em; }
.dist-card .num small{ font-size:.32em; font-weight:800; vertical-align:top; letter-spacing:.05em; margin-left:.1em; }
.dist-card .name{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.16em; font-size:13px; font-weight:700; margin-top:8px; color:rgba(255,255,255,.92); }
.dist-card .desc{ font-size:16px; color:rgba(255,255,255,.72); margin-top:12px; max-width:30ch; opacity:0; max-height:0; transition:opacity .35s, max-height .35s; }
.dist-card:hover .desc{ opacity:1; max-height:120px; }
.dist-card .more{ display:inline-flex; align-items:center; gap:.5em; margin-top:18px; font-family:var(--ui); font-weight:700; text-transform:uppercase; letter-spacing:.12em; font-size:12px; color:#fff; }
.dist-card .more .arrow{ color:var(--red); transition:transform .2s; }
.dist-card:hover .more .arrow{ transform:translateX(5px); }
.dist-card .rank{ position:absolute; top:18px; left:20px; font-family:var(--ui); font-weight:700; letter-spacing:.16em; font-size:11px; text-transform:uppercase; color:rgba(255,255,255,.7); }
.dist-card .sa-badge{ position:absolute; top:16px; right:16px; background:var(--red); color:#fff; font-family:var(--ui); font-weight:700; font-size:10px; letter-spacing:.12em; text-transform:uppercase; padding:6px 10px; border-radius:2px; }

/* ---------- RECORRIDO ---------- */
.recorrido-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(32px,4vw,64px); align-items:stretch; }
.map-box{ position:relative; border-radius:4px; overflow:hidden; min-height:440px; background:
  repeating-linear-gradient(135deg, #0c2150 0 14px, #0a1c44 14px 28px); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.map-box .placeholder{ text-align:center; color:rgba(255,255,255,.6); font-family:var(--ui); }
.map-box .placeholder .ico{ font-size:46px; margin-bottom:14px; }
.map-box .placeholder .ph-mono{ font-family:ui-monospace,Menlo,monospace; font-size:13px; letter-spacing:.05em; text-transform:uppercase; }
.map-box .route-tag{ position:absolute; top:18px; left:18px; background:var(--red); color:#fff; font-family:var(--ui); font-weight:700; font-size:11px; letter-spacing:.14em; text-transform:uppercase; padding:8px 14px; }
.recorrido-info .ri-list{ margin:8px 0 30px; border-top:1px solid var(--line); }
.recorrido-info .ri{ display:flex; gap:20px; padding:20px 0; border-bottom:1px solid var(--line); align-items:baseline; }
.recorrido-info .ri .ri-k{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.14em; font-size:12px; color:rgba(255,255,255,.55); min-width:130px; }
.recorrido-info .ri .ri-v{ font-family:var(--display); font-weight:700; text-transform:uppercase; font-size:clamp(20px,2vw,26px); line-height:1.05; }
.recorrido-info .ri .ri-v small{ display:block; font-family:var(--body); font-weight:400; text-transform:none; letter-spacing:0; font-size:14px; color:rgba(255,255,255,.6); margin-top:4px; }

/* ---------- BASES ---------- */
.bases-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.base-card{ background:var(--navy-700); border:1px solid rgba(255,255,255,.08); border-radius:4px; padding:30px 28px; transition:transform .25s, border-color .25s, background .25s; }
.base-card:hover{ transform:translateY(-4px); border-color:rgba(221,26,45,.55); background:var(--navy-800); }
.base-card .bc-num{ display:none; }
.base-card h3{ font-family:var(--display); font-weight:800; text-transform:uppercase; font-size:clamp(20px,2.1vw,26px); margin:10px 0 16px; letter-spacing:.01em; }
.base-card ul{ list-style:none; }
.base-card li{ font-size:16px; color:rgba(255,255,255,.82); padding:8px 0; border-bottom:1px solid rgba(255,255,255,.07); display:flex; justify-content:space-between; gap:14px; }
.base-card li:last-child{ border-bottom:none; }
.base-card li b{ color:#fff; font-weight:600; white-space:nowrap; }
.base-card p{ font-size:16px; color:rgba(255,255,255,.82); line-height:1.6; }

/* ---------- KIT ---------- */
.kit-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(36px,5vw,72px); align-items:center; }
.kit-visual{ position:relative; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.jersey{ position:relative; aspect-ratio:3/4; background:linear-gradient(160deg,var(--navy) 0%, var(--navy-800) 100%); border-radius:6px; overflow:hidden; display:flex; align-items:center; justify-content:center; box-shadow:0 30px 60px -28px rgba(0,0,0,.6); }
.jersey::before{ content:""; position:absolute; right:-30%; top:10%; width:60%; height:80%; transform:skewX(-18deg); background:repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.06) 18px 22px); }
.jersey .slash-deco{ position:absolute; left:18px; top:18px; }
.jersey .ph{ font-family:ui-monospace,Menlo,monospace; font-size:12px; letter-spacing:.04em; color:rgba(255,255,255,.55); text-align:center; text-transform:uppercase; padding:0 18px; }
.jersey .jr-label{ position:absolute; bottom:16px; left:0; right:0; text-align:center; font-family:var(--ui); text-transform:uppercase; letter-spacing:.18em; font-size:11px; color:rgba(255,255,255,.6); }
.kit-list{ }
.kit-list .ki{ display:flex; gap:18px; padding:18px 0; border-bottom:1px solid rgba(255,255,255,.1); align-items:flex-start; }
.kit-list .ki .kx{ font-family:var(--display); font-weight:800; color:var(--red); font-size:20px; min-width:34px; }
.kit-list .ki h4{ font-family:var(--ui); font-weight:700; text-transform:uppercase; letter-spacing:.08em; font-size:15px; margin-bottom:3px; }
.kit-list .ki p{ font-size:14px; color:rgba(255,255,255,.7); }

/* ---------- AUSPICIADORES ---------- */
.sponsors-tier{ margin-bottom:clamp(40px,5vw,64px); text-align:center; }
.sponsors-tier:last-child{ margin-bottom:0; }
.tier-cap{ font-family:var(--ui); font-weight:700; text-transform:uppercase; letter-spacing:.26em; font-size:12px; color:var(--navy); margin-bottom:26px; display:flex; align-items:center; justify-content:center; gap:16px; }
.tier-cap::before,.tier-cap::after{ content:""; height:1px; width:46px; background:rgba(255,255,255,.15); }
.tier-row{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px; }
.sponsor{
  background:#fff; border:1px solid var(--paper-2); border-radius:4px;
  height:118px; min-width:200px; flex:0 1 220px; display:flex; align-items:center; justify-content:center;
  padding:22px 28px; transition:transform .25px, box-shadow .25s; text-align:center;
}
.sponsor:hover{ transform:translateY(-4px); box-shadow:0 18px 36px -22px rgba(10,19,38,.35); }
.sponsor .s-name{ font-family:var(--display); font-weight:800; text-transform:uppercase; font-size:22px; color:var(--navy); letter-spacing:.02em; line-height:1; }
.sponsor .s-sub{ font-family:var(--ui); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#9aa3b4; margin-top:6px; }
.sponsor.lg{ flex-basis:300px; height:auto; }
.sponsor img{ max-height:74px; width:auto; object-fit:contain; }
.sponsor.dark{ background:transparent; border:none; padding:16px 28px; }
.sponsor.dark:hover{ background:transparent; box-shadow:none; transform:translateY(-3px); }
.sponsor.dark img{ max-height:74px; width:auto; object-fit:contain; filter:brightness(0) invert(1); }
.sponsor.dark.lg img{ max-height:90px; }
.sponsor-note{ text-align:center; margin-top:40px; font-family:var(--ui); font-size:13px; letter-spacing:.04em; color:#8a93a4; }

/* ---------- CONTACTO ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,80px); align-items:start; }
.contact-info .ci{ padding:22px 0; border-bottom:1px solid var(--line); }
.contact-info .ci .k{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.16em; font-size:11px; color:rgba(255,255,255,.5); margin-bottom:8px; }

/* Contact cards (sin form) */
.contact-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.contact-card{
  background:#fff; border:1px solid var(--paper-2); border-radius:8px;
  padding:28px 24px; text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; gap:12px;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}
.contact-card:hover{ transform:translateY(-5px); box-shadow:0 20px 40px -16px rgba(10,19,38,.18); border-color:var(--red); }
.contact-card:hover .cc-icon{ background:var(--red); color:#fff; }
.cc-icon{
  width:44px; height:44px; border-radius:50%; background:var(--paper);
  display:flex; align-items:center; justify-content:center; color:var(--navy);
  transition:background .25s, color .25s;
}
.cc-icon svg{ width:20px; height:20px; }
.cc-k{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.14em; font-size:11px; color:#6b7690; }
.cc-v{ font-family:var(--body); font-weight:600; font-size:clamp(13px,1.2vw,16px); color:var(--navy); word-break:break-all; }
.contact-info .ci .v{ font-family:var(--display); font-weight:700; text-transform:uppercase; font-size:clamp(20px,2.2vw,28px); }
.contact-info .ci .v a:hover{ color:var(--red); }
.socials{ display:flex; gap:12px; margin-top:26px; }
.socials a{ width:46px; height:46px; border:1px solid var(--line); border-radius:3px; display:flex; align-items:center; justify-content:center; font-family:var(--ui); font-weight:700; font-size:13px; transition:.2s; }
.socials a:hover{ background:var(--red); border-color:var(--red); }

.form{ background:var(--navy-700); border:1px solid rgba(255,255,255,.08); border-radius:6px; padding:clamp(28px,3.5vw,44px); }
.form .row{ margin-bottom:18px; }
.form label{ display:block; font-family:var(--ui); text-transform:uppercase; letter-spacing:.14em; font-size:11px; color:rgba(255,255,255,.6); margin-bottom:9px; }
.form input,.form textarea{
  width:100%; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.16); border-radius:3px;
  padding:14px 16px; color:#fff; font-family:var(--body); font-size:15px; transition:border-color .2s, background .2s;
}
.form input:focus,.form textarea:focus{ outline:none; border-color:var(--red); background:rgba(255,255,255,.08); }
.form textarea{ resize:vertical; min-height:120px; }
.form .btn{ width:100%; }
.form .ok{ text-align:center; color:#7ee0a0; font-family:var(--ui); letter-spacing:.05em; padding:8px 0; display:none; }

/* ---------- CTA BANNER ---------- */
.cta-band{ position:relative; overflow:hidden; background:var(--red); color:#fff; text-align:center; padding:clamp(56px,7vw,96px) 0; }
.cta-band h2{ font-family:var(--display); font-weight:900; text-transform:uppercase; font-size:clamp(2.4rem,5.5vw,4.6rem); line-height:.9; margin-bottom:24px; }
.cta-band .btn-white{ background:#fff; color:var(--red); }
.cta-band .btn-white:hover{ background:var(--navy-900); color:#fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--navy-950); color:rgba(255,255,255,.7); padding:clamp(56px,7vw,90px) 0 36px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--line); }
.footer-brand img{ height:64px; margin-bottom:22px; }
.footer-brand p{ font-size:14px; max-width:34ch; color:rgba(255,255,255,.55); }
.footer-col h4{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.18em; font-size:12px; color:#fff; margin-bottom:18px; }
.footer-col a{ display:block; font-size:14.5px; padding:7px 0; color:rgba(255,255,255,.62); transition:color .2s, padding .2s; }
.footer-col a:hover{ color:#fff; padding-left:5px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; padding-top:28px; font-family:var(--ui); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.42); }
.footer-bottom .produce{ display:flex; align-items:center; gap:10px; }

/* ============================================================
   SWITCHER de Hero (sólo revisión de diseño)
   ============================================================ */
.hero-switch{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%); z-index:80;
  display:flex; align-items:center; gap:4px; background:rgba(5,14,34,.82); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.16); border-radius:100px; padding:6px 6px 6px 18px;
  box-shadow:0 18px 40px rgba(0,0,0,.4);
}
.hero-switch .hs-label{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.18em; font-size:10.5px; color:rgba(255,255,255,.6); margin-right:8px; }
.hero-switch button{ font-family:var(--ui); font-weight:700; font-size:13px; color:#fff; width:38px; height:34px; border-radius:100px; transition:.2s; }
.hero-switch button.active{ background:var(--red); }
.hero-switch button:not(.active):hover{ background:rgba(255,255,255,.12); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s } .reveal.d2{ transition-delay:.16s } .reveal.d3{ transition-delay:.24s } .reveal.d4{ transition-delay:.32s }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } .scroll-hint .mouse::after{ animation:none; } }

/* ============================================================
   ¿QUÉ INCLUYE TU INSCRIPCIÓN?
   ============================================================ */
.includes-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.inc-card{ background:var(--navy-800); border:1px solid rgba(255,255,255,.08); border-radius:6px; padding:32px 28px; transition:transform .25s, border-color .25s, background .25s; }
.inc-card:hover{ transform:translateY(-5px); border-color:rgba(221,26,45,.55); background:var(--navy-700); }
.inc-ico{ width:50px; height:50px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.inc-ico svg{ width:24px; height:24px; }
.inc-card h4{ font-family:var(--ui); font-weight:700; text-transform:uppercase; letter-spacing:.05em; font-size:17px; margin-bottom:9px; color:#fff; }
.inc-card p{ font-size:16px; color:rgba(255,255,255,.72); line-height:1.6; }

/* Tabla de valores en Bases */
.val-table{ width:100%; border-collapse:collapse; margin-top:16px; }
.val-table th{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.14em; font-size:11px; color:rgba(255,255,255,.5); padding:0 0 10px; text-align:left; border-bottom:1px solid rgba(255,255,255,.15); }
.val-table th:not(:first-child){ text-align:right; }
.val-table td{ padding:11px 0; border-bottom:1px solid rgba(255,255,255,.07); font-size:15px; color:rgba(255,255,255,.85); vertical-align:middle; }
.val-table td:first-child{ font-family:var(--display); font-weight:800; font-size:18px; color:#fff; text-transform:uppercase; letter-spacing:.04em; }
.val-table td:not(:first-child){ text-align:right; font-weight:600; }
.val-table td:last-child{ color:rgba(255,255,255,.65); }
.val-table tr:last-child td{ border-bottom:none; }
.val-table thead th:nth-child(2){ color:var(--red); }

/* Formulario en modo claro */
.form-light{
  background:#fff;
  border:1px solid rgba(10,19,38,.1);
  border-radius:8px;
  box-shadow:0 8px 48px -12px rgba(10,19,38,.14), 0 2px 8px -2px rgba(10,19,38,.08);
}
.form-light label{ color:#5a6478; }
.form-light input,.form-light textarea,.form-light select{
  background:#f5f6f9 !important; border-color:rgba(10,19,38,.14); color:var(--ink) !important;
  border-radius:4px;
}
.form-light input::placeholder,.form-light textarea::placeholder{ color:#9aa3b4; }
.form-light input:focus,.form-light textarea:focus,.form-light select:focus{ border-color:var(--navy) !important; background:#fff !important; box-shadow:0 0 0 3px rgba(22,51,111,.12) !important; }
.form-light select{
  background-color:#f5f6f9 !important; color:var(--ink) !important; padding-right:44px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(10,19,38,0.5)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-position:calc(100% - 14px) center !important; background-size:20px 20px !important; background-repeat:no-repeat !important;
}
.form-light select option{ color:var(--ink); background:#fff; }
.form-light .captcha-q{ color:var(--navy); }
.form-light .err{ color:var(--red-600); }
.form-light .ok{ color:#1a7a44; }
.email-list .ci .v{ font-family:var(--body); font-weight:600; text-transform:none; letter-spacing:0; font-size:clamp(15px,1.5vw,18px); }
.email-list .ci .v a{ color:#fff; transition:color .2s; }
.email-list .ci .v a:hover{ color:var(--red); }
.form select{ width:100%; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.16); border-radius:3px; padding:14px 44px 14px 16px; color:#fff; font-family:var(--body); font-size:15px; transition:border-color .2s; -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-position:calc(100% - 14px) center; background-size:20px 20px; background-repeat:no-repeat; }
.form select:focus{ outline:none; border-color:var(--red); }
.form select option{ color:#0A1326; }
.captcha-row{ display:flex; align-items:center; gap:14px; }
.captcha-row input{ max-width:120px; }
.captcha-q{ font-family:var(--display); font-weight:800; color:#fff; font-size:22px; white-space:nowrap; letter-spacing:.02em; }
/* Validación de campos con error */
.form input.error,.form textarea.error,.form select.error{
  border-color:var(--red) !important;
  background:rgba(221,26,45,.07) !important;
}
.form-light input.error,.form-light textarea.error,.form-light select.error{
  border-color:var(--red) !important;
  background:rgba(221,26,45,.04) !important;
}
.form .field-err{ display:none; font-family:var(--ui); font-size:12px; color:var(--red); margin-top:5px; letter-spacing:.02em; }
.form input.error ~ .field-err,
.form textarea.error ~ .field-err,
.form select.error ~ .field-err{ display:block; }

/* Slideshow de fondo del hero */
.hero-photo .hp{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.6s ease; }
.hero-photo .hp.active{ opacity:1; }

/* Barra "Presenta" visible */
.hero-presents{ display:flex; align-items:center; gap:14px; margin-top:20px; width:fit-content; max-width:100%; }
.hero-presents .pl{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.22em; font-size:10px; color:rgba(255,255,255,.7); flex-shrink:0; border-right:1px solid rgba(255,255,255,.22); padding-right:14px; }
.hero-presents .presents-logo{ height:130px; max-width:100%; object-fit:contain; filter:drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
@media (max-width:560px){
  .hero-presents .presents-logo{ height:80px; }
}

/* Banda de info inferior del hero */
.hero-band{
  position:absolute; bottom:0; left:0; right:0; z-index:3;
  background:rgba(8,22,52,.28);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-top:1px solid rgba(255,255,255,.12);
}
.hero-band > .container{
  display:grid; grid-template-columns:auto auto 1fr;
  align-items:center; gap:clamp(16px,3vw,48px); padding:18px 0;
}
.hb-info{ display:flex; flex-direction:column; gap:7px; }
.hbi{ display:flex; align-items:baseline; gap:10px; }
.hbk{ font-family:var(--ui); text-transform:uppercase; letter-spacing:.2em; font-size:10px; color:rgba(255,255,255,.52); min-width:44px; }
.hbv{ font-family:var(--display); font-weight:800; text-transform:uppercase; font-size:clamp(17px,1.8vw,22px); line-height:1; color:#fff; white-space:nowrap; }
.hb-cd{ display:flex; gap:6px; border-left:1px solid rgba(255,255,255,.14); border-right:1px solid rgba(255,255,255,.14); padding:0 clamp(16px,3vw,48px); }
.hb-cd .cd-cell{ min-width:64px; padding:10px 6px 8px; background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.1); }
.hb-cd .cd-cell.accent{ background:var(--red); border-color:var(--red); }
.hb-cd .cd-cell .num{ font-size:clamp(26px,2.8vw,38px); }
.hb-right{ display:flex; align-items:center; justify-content:flex-end; gap:20px; flex-wrap:wrap; }
/* Decoración líneas gráficas en hero */
.hero-deco{
  position:absolute;
  right:-40px; bottom:90px;
  width:clamp(420px,56vw,720px);
  height:auto;
  opacity:1;
  z-index:1;
  pointer-events:none;
}
#hero1 .hero-inner{ justify-content:center; padding-bottom:130px; position:relative; z-index:2; }
#hero1 .hero-sub{ max-width:50%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border:1px solid rgba(255,255,255,.2); border-radius:4px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.6); transition:background .2s, border-color .2s, color .2s; }
.footer-social a svg{ width:16px; height:16px; }
.footer-social a:hover{ background:var(--red); border-color:var(--red); color:#fff; }

@media (max-width:1080px){
  .footer-top{ grid-template-columns:1fr 1fr; gap:36px; }
  .dist-grid{ grid-template-columns:repeat(2,1fr); }
  .bases-grid{ grid-template-columns:repeat(2,1fr); }
  .includes-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  .hero-band > .container{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto auto;
    gap:12px; padding:14px var(--gutter);
  }
  .hb-info{ flex-direction:row; gap:20px; grid-column:1/-1; }
  .hb-cd{ grid-column:1/-1; border:none; padding:0; justify-content:center; }
  .hb-right{ grid-column:1/-1; justify-content:center; }
  .nav, .header-cta{ display:none; }
  .hamb{ display:flex; }
  .site-header.menu-open .nav{
    display:flex; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:flex-start;
    gap:0; background:var(--navy-900); padding:10px var(--gutter) 24px; border-top:1px solid var(--line);
  }
  .site-header.menu-open .nav a{ width:100%; padding:15px 0; border-bottom:1px solid var(--line); }
  .evento-grid, .recorrido-grid, .kit-grid, .contact-grid{ grid-template-columns:1fr; }
  .contact-cards{ grid-template-columns:repeat(2,1fr); }
  .hero-split{ grid-template-columns:1fr; }
  .hero-split .right{ min-height:46svh; order:-1; }
  .hero-split .right::after{ display:none; }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .hero-meta{ gap:18px; }
}
@media (max-width:560px){
  .dist-grid{ grid-template-columns:1fr; }
  .bases-grid{ grid-template-columns:1fr; }
  .includes-grid{ grid-template-columns:1fr; }
  .contact-cards{ grid-template-columns:1fr; }
  .countdown{ flex-wrap:wrap; }
  .cd-cell{ min-width:64px; flex:1; }
  #hero3 .big-count{ width:100%; }
  #hero3 .big-count .cd-cell{ flex:1; min-width:0; }
  .footer-top{ grid-template-columns:1fr; }
  .hero-sponsors{ display:none; }
}
