:root{--ink:#121826;--muted:#566074;--navy:#16243D;--gold:#F2C14E;--font:"Avenir Next","Segoe UI Variable Display","Segoe UI",Roboto,system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:17px/1.55 var(--font);color:var(--ink);background:#F4F5F7}
a{color:inherit}
h1,h2,h3{letter-spacing:-.025em;line-height:1.05;margin:0}
.wrap{max-width:1040px;margin:0 auto;padding:0 22px}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

/* Portada */
.top{position:relative;overflow:hidden;background:var(--navy);color:#fff;padding:22px 0 0}
.top:before{content:"";position:absolute;right:-90px;top:-40px;width:520px;height:520px;opacity:.9;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 92' fill='none' stroke-width='11'%3E%3Cpath d='M10 38 60 8l50 30' stroke='%23F2C14E'/%3E%3Cpath d='M10 60 60 30l50 30' stroke='%232563EB'/%3E%3Cpath d='M10 82 60 52l50 30' stroke='%23fff' stroke-opacity='.35'/%3E%3C/svg%3E")}
.bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px}
.logo{font-weight:850;font-size:1.35rem;letter-spacing:-.02em;text-decoration:none}
.cta{display:inline-block;background:var(--gold);color:#1a1a1a;font-weight:800;text-decoration:none;border-radius:14px;padding:12px 20px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}
.cta.big{padding:16px 26px;font-size:1.05rem}
.intro{position:relative;display:grid;gap:32px;padding:56px 0 64px}
.intro h1{font-size:clamp(2.5rem,8vw,4.6rem);font-weight:850;max-width:12ch}
.intro p.lead{font-size:1.2rem;max-width:34ch;color:#D8DFEE;margin:18px 0 0}
.live{background:#fff;color:var(--ink);border-radius:26px;padding:22px;max-width:420px;box-shadow:0 24px 50px -24px rgba(0,0,0,.55)}
.live h2{font-size:1.15rem;color:var(--navy);margin-bottom:12px}
.seg{display:flex;gap:8px;margin-bottom:12px}
.seg button{flex:1;border:2px solid #D9DEE8;background:#fff;border-radius:14px;padding:10px;font:inherit;font-weight:700;color:var(--ink);cursor:pointer}
.seg button[aria-pressed=true]{border-color:#2563EB;background:#DCE7FA;color:#0F2A5C}
.live label{display:block;font-weight:700;color:#0F2A5C;margin:6px 0}
.live input{width:100%;padding:14px;border:2px solid #D9DEE8;border-radius:14px;font:inherit;font-size:1.15rem}
.live input:focus{outline:none;border-color:#2563EB}
.out{min-height:96px;margin-top:14px;background:#0F2A5C;color:#fff;border-radius:18px;padding:14px 16px}
.out b{display:block;font-size:2.6rem;line-height:1;font-weight:850;letter-spacing:-.03em}
.out span{color:var(--gold);font-weight:700}
.out small{display:block;color:#C9D6F3;margin-top:6px}
.meter{display:flex;gap:3px;margin-top:10px}
.meter i{flex:1;height:16px;background:rgba(255,255,255,.2);clip-path:polygon(0 70%,50% 0,100% 70%,100% 100%,50% 30%,0 100%)}
.meter i.on{background:var(--gold)}
.note{font-size:.8rem;color:var(--muted);margin:10px 0 0}

/* Cuerpos */
.corp{padding:64px 0;color:#fff}
.corp .wrap{display:grid;gap:26px}
.corp h2{font-size:clamp(2rem,6vw,3rem);font-weight:850}
.corp p{margin:0;max-width:44ch}
.corp ul{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.corp li{position:relative;padding:14px 16px 14px 58px;border-radius:16px;background:rgba(255,255,255,.12)}
.corp li:before{content:"";position:absolute;left:16px;top:14px;width:28px;height:24px;background:var(--k3);clip-path:polygon(0 70%,50% 0,100% 70%,100% 100%,50% 30%,0 100%)}
.corp small{opacity:.85}
#pn{--k3:#F5C242;background:linear-gradient(160deg,#0F2A5C 40%,#1D4ED8)}
#gc{--k3:#E3B93C;background:linear-gradient(160deg,#12402A 40%,#1F7A45)}
#fas{--k3:#F4C430;background:linear-gradient(160deg,#46421F 45%,#8E2630)}
@media(min-width:820px){
  .intro{grid-template-columns:1.1fr .9fr;align-items:center}
  .corp .wrap{grid-template-columns:.9fr 1.1fr;gap:56px;align-items:start}
}

/* Resto */
.sec{padding:64px 0}
.sec h2{font-size:clamp(1.8rem,5vw,2.6rem);font-weight:850;margin-bottom:14px}
.cols{display:grid;gap:18px;margin-top:22px}
.box{background:#fff;border-radius:22px;padding:22px}
.box h3{font-size:1.25rem;margin-bottom:8px}
.box p{margin:0;color:var(--muted)}
.free{border-left:8px solid #2F9E5B}.prem{border-left:8px solid var(--gold)}
@media(min-width:820px){.cols{grid-template-columns:1fr 1fr}}
.src{background:#E9ECF3;border-radius:22px;padding:22px;margin-top:20px}
.src p{margin:6px 0;color:#2c3547}
footer{background:var(--navy);color:#C9D1E3;padding:34px 0 46px;font-size:.9rem}
footer a{color:#fff}
footer p{max-width:70ch}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.ctarow{margin:26px 0 0}.corp-lead{margin-top:12px!important}.srct{font-size:1.15rem;margin-bottom:6px}.sec-lead{max-width:52ch;color:var(--muted);margin:0}
.bar,.intro{z-index:1}
@media(max-width:819px){.top:before{width:300px;height:300px;right:-110px;top:70px;opacity:.28}}
@media(min-width:820px){.top:before{right:-170px;top:-130px}}

.secnav{position:relative;display:flex;gap:6px;overflow-x:auto;margin-top:14px;padding-bottom:2px;scrollbar-width:none}
.secnav a{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;font-weight:700;text-decoration:none;color:#fff}
.secnav a:hover{background:rgba(255,255,255,.12)}
#pn,#gc,#fas,#entrena{scroll-margin-top:12px}
