/* ============================================================
   Vestuario · página de presentación
   Mismos tokens de plataforma que la demo (identidad V1 Voltaje: verde #00FF85 sobre negro).
   ============================================================ */
:root {
  --bg: #f4f5f4; --bg2: #ffffff; --surface: #ffffff; --surface2: #eef0ee; --ink: #0A0A0A; --muted: #5a615c; --line: #dfe3e0;
  --acento: #007A40; --acento-t: #007A40; --marca: #00FF85; --ok-t: #007A40;
  --nav-bg: rgba(244, 245, 244, .82); --brillo: rgba(0, 255, 133, .18);
  --sombra: 0 30px 60px -30px rgba(10, 10, 10, .35), 0 0 0 1px rgba(10, 10, 10, .06);
  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --num: "Space Grotesk", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-tema="oscuro"] {
  --bg: #0A0A0A; --bg2: #0F0F0F; --surface: #141414; --surface2: #1D1D1D; --ink: #F5F7F5; --muted: #A1A7A3; --line: #2A2A2A;
  --acento: #00FF85; --acento-t: #5CFFAE; --marca: #00FF85; --ok-t: #5CFFAE;
  --nav-bg: rgba(10, 10, 10, .78); --brillo: rgba(0, 255, 133, .14);
  --sombra: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--fuente); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--acento) 75%, #fff); outline-offset: 3px; border-radius: 8px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 16px; border-radius: 10px; z-index: 99; }
.saltar:focus { left: 8px; }
.cont { width: min(1200px, 100% - 40px); margin: 0 auto; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.img-cla { display: none; }
:root[data-tema="claro"] .img-osc { display: none; } :root[data-tema="claro"] .img-cla { display: block; }

/* navegación */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav-i { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-s { width: 34px; height: 34px; display: block; }
.logo-t { font: 700 22px/1 var(--num); letter-spacing: -.03em; }
.nav-l { display: flex; gap: 4px; margin-right: 8px; }
.nav-l a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-l a:hover { color: var(--ink); background: var(--surface2); }
.tema { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, filter .15s; }
.btn:hover { filter: brightness(1.08); } .btn:active { transform: scale(.98); }
.btn-p { background: #00FF85; color: #0A0A0A; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 28px -12px rgba(0, 255, 133, .55); }
.btn-p:hover { background: #5CFFAE; filter: none; }
.btn-s { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-g { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }

/* hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 640px; background: radial-gradient(50% 60% at 78% 0%, var(--brillo), transparent 70%), radial-gradient(40% 50% at 8% 10%, color-mix(in srgb, var(--acento) 10%, transparent), transparent 70%); pointer-events: none; }
.hero .cont { position: relative; }
.kick { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acento-t); margin-bottom: 14px; }
h1 { font: 700 clamp(38px, 6vw, 76px)/1.03 var(--num); letter-spacing: -.045em; max-width: 22ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.nota { margin-top: 16px; font-size: 14px; color: var(--muted); }
.vitrina { position: relative; margin-top: 44px; display: flex; align-items: flex-end; gap: 0; }
.marco-pc { margin: 0; width: 100%; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--sombra); }
.marco-barra { display: flex; align-items: center; gap: 7px; padding: 0 14px; height: 36px; background: var(--surface2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.marco-barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.marco-barra span { margin-left: 10px; }
.marco-cel { margin: 0; position: absolute; right: -8px; bottom: -34px; width: 22%; min-width: 190px; border-radius: 30px; overflow: hidden; border: 6px solid #0A0A0A; box-shadow: var(--sombra); background: #0c0f16; }
.marco-cel img { width: 100%; }

/* secciones */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid var(--line); }
h2 { font: 700 clamp(30px, 4.2vw, 50px)/1.08 var(--num); letter-spacing: -.04em; max-width: 20ch; }
.sub { color: var(--muted); font-size: 18px; max-width: 680px; margin-top: 16px; }
.dos { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.tilde { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.tilde li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink); font-size: 16.5px; }
.tilde .i { color: var(--acento-t); margin-top: 2px; }
.foto-ficha { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--sombra); border: 1px solid var(--line); }

/* de a uno */
.de-a { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 0; align-items: center; margin-top: 48px; }
.de { display: flex; flex-direction: column; gap: 12px; }
.de li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.de b { font: 600 17px var(--num); letter-spacing: -.01em; }
.de span { color: var(--muted); font-size: 15px; }
.flecha { display: grid; place-items: center; color: var(--acento-t); } .flecha .i { width: 32px; height: 32px; }
.a-uno { background: linear-gradient(160deg, color-mix(in srgb, var(--acento) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--acento) 45%, var(--line)); border-radius: 20px; padding: 28px; box-shadow: var(--sombra); }
.a-uno > b { display: block; font: 700 24px var(--num); letter-spacing: -.03em; margin: 14px 0 12px; }
.a-uno ul { display: flex; flex-direction: column; gap: 10px; }
.a-uno li { position: relative; padding-left: 22px; font-size: 16px; }
.a-uno li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 6px; border-left: 2.5px solid var(--acento-t); border-bottom: 2.5px solid var(--acento-t); transform: rotate(-45deg) translateY(-3px); }

/* grillas */
.grilla { display: grid; gap: 16px; margin-top: 40px; }
.mods { grid-template-columns: repeat(4, 1fr); }
.mod, .rol, .val { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.mod .i { width: 28px; height: 28px; color: var(--acento-t); margin-bottom: 4px; }
.mod h3, .rol h3, .val h3 { font: 600 18px/1.25 var(--num); letter-spacing: -.02em; }
.mod p, .rol p, .val p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.tag { align-self: flex-start; margin-top: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.tag.ok { background: color-mix(in srgb, #0ca30c 14%, var(--surface)); color: var(--ok-t); border: 1px solid color-mix(in srgb, #0ca30c 32%, transparent); }
.tag.pr { background: var(--surface2); color: var(--muted); border: 1px solid var(--line); }
.mod .tag { margin-top: 10px; }
.roles { grid-template-columns: repeat(5, 1fr); }
.valores { grid-template-columns: repeat(4, 1fr); }
.deportes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; }
.dep { background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.dep b { font: 600 22px var(--num); letter-spacing: -.03em; }
.dep span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.dep.on { border-style: solid; border-color: color-mix(in srgb, var(--acento) 55%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--acento) 14%, var(--surface)), var(--surface)); }
.tenant { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 16px; }
.t-lin { display: flex; align-items: center; gap: 10px; } .t-lin b { font: 700 20px var(--num); letter-spacing: -.03em; }
.t-lin .logo-s { width: 30px; height: 30px; }
.t-club { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); }
.t-club b { display: block; font-weight: 600; } .t-club span { color: var(--muted); font-size: 14px; }
.t-nota { color: var(--muted); font-size: 14px; }
.final { padding: 100px 0; text-align: center; background: radial-gradient(60% 100% at 50% 100%, var(--brillo), transparent 70%); border-top: 1px solid var(--line); }
.final h2, .final .sub { margin-inline: auto; } .final .btn { margin-top: 28px; }
.pie { border-top: 1px solid var(--line); padding: 28px 0; }
.pie-i { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pie p { color: var(--muted); font-size: 14px; }

@media (max-width: 1099px) {
  .mods { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); } .valores { grid-template-columns: repeat(2, 1fr); }
  .deportes { grid-template-columns: repeat(3, 1fr); }
  .dos { grid-template-columns: 1fr; gap: 32px; }
  .nav-l { display: none; }
  .marco-cel { width: 24%; min-width: 150px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cont { width: calc(100% - 32px); }
  .hero { padding: 44px 0 24px; }
  .sec { padding: 64px 0; }
  .mods, .roles, .valores { grid-template-columns: 1fr; }
  .deportes { grid-template-columns: repeat(2, 1fr); }
  .de-a { grid-template-columns: 1fr; gap: 12px; } .flecha { transform: rotate(90deg); padding: 4px 0; }
  .vitrina { flex-direction: column; align-items: center; margin-top: 36px; }
  .marco-cel { position: relative; right: auto; bottom: auto; margin-top: -24px; width: 200px; }
  .btn-g { width: 100%; }
  .nav-i { gap: 8px; } .nav .btn-p { padding: 0 14px; font-size: 14.5px; }
  .logo-t { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
