/* =========================================================
   KICKERS ACADEMY · Versión profesional
   ========================================================= */
:root {
  --red: #c8102e;
  --red-dark: #9b0c23;
  --navy: #0b1030;
  --navy-2: #141a44;
  --ink: #0f1226;
  --muted: #5d6178;
  --line: #e6e7ee;
  --paper: #f5f6f9;
  --white: #fff;
  --green: #25d366;
  --radius: 14px;
  --head: "Barlow Condensed", "Oswald", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: .98; letter-spacing: .5px; }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h3 { font-size: 1.35rem; letter-spacing: .6px; }
.red { color: var(--red); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1.2px; padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-wa { background: var(--green); color: #fff; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-sm { padding: .6rem 1.2rem; font-size: .95rem; }
.link { font-family: var(--head); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; color: var(--red); display: inline-flex; gap: .4rem; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, box-shadow .3s, padding .3s; padding: 1.1rem 0; }
.top.solid { background: rgba(11,16,48,.96); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(0,0,0,.18); padding: .6rem 0; }
.nav { display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1; }
.brand small { display: block; font-size: .7rem; letter-spacing: 3px; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 3px; }
.menu { display: flex; gap: 1.6rem; list-style: none; margin-left: auto; }
.menu a { color: rgba(255,255,255,.82); font-family: var(--head); text-transform: uppercase; letter-spacing: 1.3px; font-size: 1rem; font-weight: 500; position: relative; padding: .3rem 0; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--red); transition: right .3s var(--ease); }
.menu a:hover { color: #fff; }
.menu a:hover::after, .menu a.active::after { right: 0; }
.menu a.active { color: #fff; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger::before { top: 14px; } .burger span { top: 21px; } .burger::after { top: 28px; }
.open .burger::before { transform: translateY(7px) rotate(45deg); }
.open .burger span { opacity: 0; }
.open .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; width: 70%; height: 100%; object-fit: cover; object-position: 20% 8%; transform: scale(1.05); transform-origin: 40% 0%; animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 30%, rgba(11,16,48,.92) 36%, rgba(11,16,48,.72) 44%, rgba(11,16,48,.4) 52%, rgba(11,16,48,.14) 60%, rgba(11,16,48,0) 68%), linear-gradient(0deg, rgba(11,16,48,.92) 0%, rgba(11,16,48,0) 34%), linear-gradient(180deg, rgba(11,16,48,.55) 0%, rgba(11,16,48,0) 18%); }
.hero .wrap { position: relative; z-index: 2; padding: 8.5rem 0 3.4rem; }
.tag { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; font-size: .95rem; font-weight: 600; color: #fff; }
.tag::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero .tags { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.tag.soft { color: rgba(255,255,255,.7); }
.tag.soft::before { display: none; }
.hero h1 { font-size: clamp(3.2rem, 6.2vw, 6rem); margin: 1.2rem 0 1.4rem; }
.hero .copy { max-width: 540px; display: block; padding: 0; font-size: inherit; }
.hero .actions .btn { padding: .85rem 1.35rem; font-size: 1rem; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 42ch; margin-bottom: 2.2rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-band { margin-top: 3.6rem; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.hero-band div { padding: 1.3rem 1.2rem 0 0; }
.hero-band strong { display: block; font-family: var(--head); font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1; }
.hero-band span { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.65); }

/* ---------- Franja de anuncio ---------- */
.notice { background: var(--red); color: #fff; }
.notice .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; flex-wrap: wrap; }
.notice strong { font-family: var(--head); text-transform: uppercase; font-size: 1.6rem; letter-spacing: 1px; font-weight: 700; display: block; line-height: 1.1; }
.notice span { color: rgba(255,255,255,.85); }

/* ---------- Secciones ---------- */
.sec { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.sec.grey { background: var(--paper); }
.sec.dark { background: var(--navy); color: #fff; }
.head { margin-bottom: 3.5rem; max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; }
.head .num { display: flex; align-items: center; gap: .8rem; font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; font-weight: 600; color: var(--red); font-size: .95rem; margin-bottom: 1rem; }
.head.center .num { justify-content: center; }
.head .num b { color: var(--ink); font-weight: 700; }
.dark .head .num b { color: #fff; }
.head p { margin-top: 1.2rem; font-size: 1.12rem; color: var(--muted); }
.dark .head p { color: rgba(255,255,255,.7); }

/* Historia */
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.story-img { position: sticky; top: 100px; }
.story-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 57% 60%; border-radius: var(--radius); }
.story-img figcaption { position: absolute; left: -1px; bottom: 2rem; background: var(--red); color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; padding: .9rem 1.3rem; font-size: .95rem; border-radius: 0 8px 8px 0; }
.story-img figcaption strong { display: block; font-size: 2.4rem; letter-spacing: 1px; line-height: 1; }
.story-text p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.05rem; }
.story-text p:first-of-type { color: var(--ink); font-size: 1.2rem; }
.pull { margin: 2rem 0; padding: 1.6rem 0 1.6rem 1.8rem; border-left: 4px solid var(--red); font-family: var(--head); text-transform: uppercase; font-size: 1.65rem; line-height: 1.15; letter-spacing: .4px; }
.pull cite { display: block; margin-top: .7rem; font-family: var(--body); text-transform: none; font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.tl { list-style: none; margin-top: 2.4rem; border-top: 1px solid var(--line); }
.tl li { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.tl b { font-family: var(--head); font-size: 1.45rem; color: var(--red); line-height: 1.2; }
.tl span { color: var(--muted); }

/* Nosotros */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.1rem; }
.about-text p strong { color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.2rem; }
.pillars div { background: #fff; padding: 1.4rem; }
.pillars b { font-family: var(--head); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .6px; display: block; margin-bottom: .3rem; }
.pillars b::before { content: ""; display: block; width: 26px; height: 3px; background: var(--red); margin-bottom: .8rem; }
.pillars span { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; }
.founder { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 560px; display: flex; align-items: flex-end; background: var(--navy); }
.founder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 12%; transition: transform .8s var(--ease); }
.founder:hover img { transform: scale(1.04); }
.founder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,16,48,.97) 8%, rgba(11,16,48,.55) 45%, transparent 70%); }
.founder > div { position: relative; z-index: 2; padding: 2rem; }
.founder .role { font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; color: #ff5a6e; font-size: .9rem; font-weight: 600; }
.founder h3 { font-size: 2.6rem; margin: .3rem 0 .8rem; }
.founder p { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.chips span { border: 1px solid rgba(255,255,255,.3); padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; letter-spacing: .3px; }

/* Filosofía */
.philo-quote { font-family: var(--head); text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; max-width: 22ch; margin-bottom: 4rem; }
.philo-quote em { font-style: normal; color: var(--red); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.values div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.5rem; }
.values i { font-style: normal; font-family: var(--head); font-size: 3.2rem; font-weight: 700; color: var(--red); line-height: 1; display: block; margin-bottom: 1rem; }
.values h3 { margin-bottom: .7rem; font-size: 1.4rem; }
.values p { color: rgba(255,255,255,.68); font-size: .95rem; }

/* Metodología */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stage { padding: 2rem 1.6rem; border-right: 1px solid var(--line); position: relative; background: #fff; transition: background .3s; }
.stage:last-child { border-right: 0; }
.stage:hover { background: var(--paper); }
.stage .age { font-family: var(--head); font-size: 2.3rem; font-weight: 700; line-height: 1; color: var(--red); }
.stage .lvl { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); display: block; margin: .4rem 0 1.2rem; }
.stage h3 { margin-bottom: .6rem; }
.stage p { font-size: .93rem; color: var(--muted); }
.stage-bar { height: 4px; background: var(--line); margin-top: 1.5rem; border-radius: 4px; overflow: hidden; }
.stage-bar i { display: block; height: 100%; background: var(--red); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 4rem 0; }
.principles h3 { font-size: 1.3rem; margin-bottom: .5rem; display: flex; gap: .7rem; align-items: center; }
.principles h3::before { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 2px; transform: rotate(45deg); flex-shrink: 0; }
.principles p { color: var(--muted); font-size: .97rem; }
.phases { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); }
.phases-title { font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; font-size: .95rem; color: rgba(255,255,255,.6); margin-bottom: 1.8rem; display: block; }
.phases ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: f; position: relative; }
.phases li { counter-increment: f; position: relative; padding-top: 3.6rem; }
.phases li::before { content: counter(f, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--head); font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; }
.phases li::after { content: ""; position: absolute; top: 1.2rem; left: 3.6rem; right: 0; height: 1px; background: rgba(255,255,255,.2); }
.phases li:last-child::after { display: none; }
.phases strong { display: block; font-family: var(--head); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .5px; margin-bottom: .4rem; }
.phases span { color: rgba(255,255,255,.7); font-size: .93rem; }

/* Competencias */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--navy); color: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; }
.feature-text { padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.feature .yr { font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; color: #ff5a6e; font-weight: 600; }
.feature h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: .6rem 0 1rem; }
.feature .champ { display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem; background: var(--red); padding: .35rem .9rem; border-radius: 999px; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-size: .9rem; margin-bottom: 1.2rem; }
.feature p { color: rgba(255,255,255,.75); }
.feature-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-height: 420px; }
.feature-pics figure { position: relative; overflow: hidden; }
.feature-pics img { width: 100%; height: 100%; object-fit: cover; }
.feature-pics figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(11,16,48,.85); padding: .35rem .8rem; border-radius: 6px; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-size: .9rem; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 1.2rem; grid-auto-flow: dense; }
.mosaic figure, .gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.mosaic img, .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img, .gallery figure:hover img { transform: scale(1.06); }
.big { grid-column: span 2; grid-row: span 2; }
.tall { grid-row: span 2; }
.wide { grid-column: span 2; }

/* Internacional */
.intl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.intl-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.intl-card:hover { box-shadow: 0 24px 50px rgba(11,16,48,.12); transform: translateY(-4px); }
.slider { position: relative; aspect-ratio: 16/10; background: var(--navy); overflow: hidden; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.slider img.on { opacity: 1; }
.slider img.fit { object-fit: contain; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.sl-btn:hover { background: var(--red); color: #fff; }
.sl-prev { left: 14px; } .sl-next { right: 14px; }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.sl-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.sl-dots i.on { width: 22px; border-radius: 4px; background: #fff; }
.intl-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.place { font-family: var(--head); text-transform: uppercase; letter-spacing: 2.5px; font-size: .88rem; color: var(--red); font-weight: 600; }
.intl-body h3 { font-size: 1.9rem; }
.intl-body p { color: var(--muted); }
.story-box { background: var(--paper); border-left: 3px solid var(--red); padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; font-size: .95rem; }
.story-box strong { color: var(--ink); }
.intl-body .link { margin-top: auto; align-self: flex-start; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: .9rem; grid-auto-flow: dense; }

/* News (generado por noticias.js) */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.news-card:hover { box-shadow: 0 20px 44px rgba(11,16,48,.1); transform: translateY(-4px); }
.news-photo { aspect-ratio: 16/10; overflow: hidden; background: var(--navy); position: relative; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-nophoto { display: grid; place-items: center; background: var(--red); }
.news-nophoto img { width: auto; height: 120px; object-fit: contain; }
.news-slider img[hidden] { display: none; }
.ns-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.3rem; cursor: pointer; }
.ns-btn:hover { background: var(--red); color: #fff; }
.ns-prev { left: 10px; } .ns-next { right: 10px; }
.ns-count { position: absolute; right: 10px; bottom: 10px; background: rgba(11,16,48,.75); color: #fff; font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; }
.news-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.news-meta { display: flex; align-items: center; gap: .8rem; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.news-tag { background: var(--red); color: #fff; padding: .15rem .6rem; border-radius: 4px; font-family: var(--head); letter-spacing: 1.2px; font-size: .82rem; }
.news-body h3 { font-size: 1.45rem; }
.news-body p { color: var(--muted); font-size: .94rem; }
.news-link { margin-top: auto; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.2px; color: var(--red); font-weight: 600; }

/* Horarios */
.sched { border-top: 2px solid var(--ink); }
.sched-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 60px; align-items: center; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .3s var(--ease); }
.sched-row:hover { background: var(--paper); padding-left: 1rem; }
.sched-row strong { font-family: var(--head); font-size: 2rem; text-transform: uppercase; line-height: 1; }
.sched-row small { display: block; color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.sched-row .d { font-weight: 600; }
.sched-row .t { color: var(--muted); }
.sched-row .t.tbd { font-size: .9rem; }
.sched-row .go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); font-size: 1.1rem; transition: background .2s, color .2s; justify-self: end; }
.sched-row:hover .go { background: var(--red); color: #fff; border-color: var(--red); }
.sched-row.sat strong { color: var(--red); }

/* Matrícula */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.plan { border-radius: var(--radius); padding: clamp(2rem, 4vw, 2.8rem); border: 1px solid var(--line); background: #fff; }
.plan.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan .lbl { font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; font-size: .9rem; color: var(--red); font-weight: 600; }
.plan.featured .lbl { color: #ff5a6e; }
.plan h3 { font-size: 2.4rem; margin: .5rem 0 .4rem; }
.plan .price { font-family: var(--head); font-size: 4rem; font-weight: 700; line-height: 1; margin: .3rem 0; }
.plan .price small { font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: 1px; }
.plan .sub { color: var(--muted); }
.plan.featured .sub { color: rgba(255,255,255,.65); }
.plan ul { list-style: none; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.plan.featured ul { border-color: rgba(255,255,255,.15); }
.plan li { padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.plan.featured li { border-color: rgba(255,255,255,.15); }
.plan li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.family { margin-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 1.8rem; border-radius: var(--radius); background: var(--paper); }
.family strong { font-family: var(--head); text-transform: uppercase; font-size: 1.4rem; display: block; }
.family span { color: var(--muted); }

/* Valores agregados */
.extras { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.extras div { padding: 1.6rem 1.4rem 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .3s; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.extras div:hover { background: var(--navy); color: #fff; }
.extras i { font-style: normal; font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--red); letter-spacing: 1px; }
.extras b { font-family: var(--head); text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; letter-spacing: .4px; font-weight: 600; }

/* Uniformes */
.launch { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.launch::before { content: "10"; position: absolute; right: -2rem; top: 50%; transform: translateY(-50%); font-family: var(--head); font-weight: 700; font-size: 34rem; line-height: .8; color: rgba(255,255,255,.07); }
.launch .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.launch .tag::before { background: #fff; }
.launch h2 { margin: 1rem 0 1.2rem; }
.launch p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 48ch; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.6rem; }
.cd div { background: rgba(0,0,0,.18); border-radius: 12px; padding: 1.2rem .5rem; text-align: center; }
.cd strong { display: block; font-family: var(--head); font-size: 3rem; font-weight: 700; line-height: 1; }
.cd span { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.75); }
.launch .when { font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; display: block; }

/* Compromiso */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.promises div { padding-top: 1.6rem; border-top: 3px solid var(--red); }
.promises strong { font-family: var(--head); font-size: 4rem; font-weight: 700; line-height: 1; display: block; margin-bottom: .6rem; }
.promises h3 { margin-bottom: .5rem; }
.promises p { color: var(--muted); }

/* Inscripción */
.signup { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.signup ul { list-style: none; margin-top: 2rem; }
.signup li { padding: .7rem 0 .7rem 2rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.signup li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.field input, .field select { font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); background: #fff; }
.form .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .9rem; }
.form-msg { display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-size: .95rem; }
.form-msg.ok { display: block; background: #e7f8ee; color: #146c3a; }
.form-msg.err { display: block; background: #fdecee; color: #9b0c23; }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer { background: #070a20; color: rgba(255,255,255,.7); padding: 4.5rem 0 2rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot p { margin-top: 1rem; max-width: 36ch; font-size: .95rem; }
.foot h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; color: #fff; font-size: 1.05rem; margin-bottom: 1rem; font-weight: 600; }
.foot ul { list-style: none; display: grid; gap: .5rem; font-size: .95rem; }
.foot a:hover { color: #fff; }
.copy { padding-top: 1.6rem; font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Animación al hacer scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .hero-bg { animation: none; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu { position: fixed; inset: 0 0 0 auto; width: min(340px, 85vw); flex-direction: column; gap: 0; background: var(--navy); padding: 6rem 2rem 2rem; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .open .menu { transform: none; }
  .menu a { display: block; font-size: 1.5rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .burger { display: block; z-index: 2; }
  .nav > .btn { display: none; }
  .values, .stages, .phases ol { grid-template-columns: repeat(2, 1fr); }
  .stage:nth-child(2) { border-right: 0; }
  .stage:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .phases li:nth-child(2)::after { display: none; }
  .extras { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  .hero-bg { position: relative; left: 0; width: 100%; height: 62svh; min-height: 380px; object-position: 38% 30%; animation: none; transform: none; }
  .hero::after { inset: 0 0 auto 0; height: max(62svh, 380px); background: linear-gradient(180deg, rgba(11,16,48,.6) 0%, rgba(11,16,48,0) 22%), linear-gradient(0deg, var(--navy) 0%, rgba(11,16,48,0) 38%); }
  .hero .wrap { padding: 0 0 3.5rem; margin-top: -5.5rem; }
  .hero .copy { max-width: none; }
  .story, .about, .feature, .intl, .plans, .signup, .launch .wrap, .foot { grid-template-columns: 1fr; }
  .story-img { position: relative; top: 0; }
  .founder { display: block; min-height: 0; }
  .founder img { position: relative; height: 440px; object-position: 45% 15%; }
  .founder::after { inset: 0 0 auto 0; height: 440px; background: linear-gradient(0deg, var(--navy) 0%, rgba(11,16,48,0) 35%); }
  .founder > div { padding: 0 1.6rem 2rem; margin-top: -2.5rem; }
  .hero-band { grid-template-columns: repeat(2, 1fr); }
  .principles, .promises { grid-template-columns: 1fr; gap: 1.8rem; }
  .mosaic, .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .news-grid { grid-template-columns: 1fr; }
  .sched-row { grid-template-columns: 1fr 1.15fr; row-gap: .15rem; padding: 1.2rem 0; }
  .sched-row > div { grid-row: 1 / span 2; align-self: center; }
  .sched-row .d { grid-column: 2; align-self: end; }
  .sched-row .t { grid-column: 2; align-self: start; font-size: .92rem; }
  .sched-row strong { font-size: 1.7rem; }
  .sched-row .go { display: none; }
  .launch::before { font-size: 20rem; }
}
@media (max-width: 560px) {
  .values, .stages, .phases ol, .pillars { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr 1fr; }
  .extras div { min-height: 118px; padding: 1.1rem 1rem 1.2rem; }
  .extras b { font-size: 1.1rem; }
  .stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .phases li::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-pics { min-height: 300px; }
  .cd strong { font-size: 2.2rem; }
  .hero .btn { width: 100%; justify-content: center; }
}

/* Accesibilidad */
.skip { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: .7rem 1.1rem; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .hero :focus-visible, .top :focus-visible, .launch :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }

/* Perfil del fundador */
.profile { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.profile-bg { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; width: 70%; height: 100%; object-fit: cover; object-position: 45% 15%; }
.profile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 30%, rgba(11,16,48,.92) 36%, rgba(11,16,48,.72) 44%, rgba(11,16,48,.4) 52%, rgba(11,16,48,.14) 60%, rgba(11,16,48,0) 68%), linear-gradient(180deg, rgba(11,16,48,.55) 0%, rgba(11,16,48,0) 20%); }
.profile .wrap { position: relative; z-index: 2; padding: 8rem 0 4rem; }
.profile .copy { max-width: 540px; display: block; padding: 0; font-size: inherit; }
.profile h1 { font-size: clamp(3.2rem, 7vw, 6rem); margin: 1rem 0 1.3rem; }
.profile h1 em { font-style: normal; color: var(--red); }
.profile .lead { color: rgba(255,255,255,.8); font-size: 1.08rem; margin-bottom: 1rem; }
.back { display: block; width: fit-content; margin-bottom: 1.6rem; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.7); }
.back:hover { color: #fff; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cv-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: #fff; }
.cv-col h3 { font-size: 1.6rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.cv-col ul { list-style: none; }
.cv-col li { padding: .9rem 0 .9rem 1.2rem; border-bottom: 1px solid var(--line); position: relative; }
.cv-col li:last-child { border-bottom: 0; }
.cv-col li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.cv-col strong { display: block; font-family: var(--head); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .4px; }
.cv-col span { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) {
  .profile { display: block; min-height: 0; }
  .profile-bg { position: relative; left: 0; width: 100%; height: 60svh; min-height: 380px; }
  .profile::after { inset: 0 0 auto 0; height: max(60svh, 380px); background: linear-gradient(180deg, rgba(11,16,48,.6) 0%, rgba(11,16,48,0) 22%), linear-gradient(0deg, var(--navy) 0%, rgba(11,16,48,0) 38%); }
  .profile .wrap { padding: 0 0 3.5rem; margin-top: -4rem; }
  .profile .copy { max-width: none; }
  .cv { grid-template-columns: 1fr; }
}

/* Filosofía: camino de etapas animado */
.philo-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.philo-top .philo-quote { margin-bottom: 0; }
.path-art svg { width: 100%; height: auto; overflow: visible; }
.path-art figcaption, .board figcaption { margin-top: 1rem; font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; color: rgba(255,255,255,.55); text-align: center; }
.pa-guide { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2; stroke-dasharray: 4 8; }
.pa-line { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: paDraw 8s ease-in-out infinite; }
@keyframes paDraw { 0%, 10% { stroke-dashoffset: 1; opacity: 1; } 75% { stroke-dashoffset: 0; opacity: 1; } 92% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }
.pa-node circle { fill: var(--navy); stroke: rgba(255,255,255,.35); stroke-width: 2; animation: paNode 8s infinite; }
.pa-node text { fill: rgba(255,255,255,.75); font-family: var(--head); font-size: 15px; letter-spacing: 1px; text-anchor: middle; font-weight: 600; }
.n2 circle { animation-delay: 1.9s; } .n3 circle { animation-delay: 3.9s; } .n4 circle { animation-delay: 5.2s; }
@keyframes paNode { 0%, 9% { fill: var(--navy); stroke: rgba(255,255,255,.35); } 13%, 70% { fill: var(--red); stroke: #fff; } 85%, 100% { fill: var(--navy); stroke: rgba(255,255,255,.35); } }
.pa-ball { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }

/* Metodología: pizarra táctica animada */
.method-top { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 3.5rem; }
.method-top .head { margin-bottom: 0; }
.board { background: var(--navy); border-radius: var(--radius); padding: 1rem 1rem 1.1rem; box-shadow: 0 30px 60px rgba(11,16,48,.18); }
.board svg { width: 100%; height: auto; display: block; }
.bd-bg { fill: #10183f; }
.bd-lines rect, .bd-lines circle, .bd-lines line { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.bd-lines .goal { stroke: #fff; stroke-width: 4; }
.ar { fill: none; stroke: #fff; stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; animation: arDraw 8s linear infinite; }
.a1 { animation-name: ar1; } .a2 { animation-name: ar2; } .a3 { animation-name: ar3; } .a4 { animation-name: ar4; }
@keyframes ar1 { 0%, 10% { stroke-dashoffset: 1; opacity: 1; } 20%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ar2 { 0%, 30% { stroke-dashoffset: 1; opacity: 1; } 40%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ar3 { 0%, 52% { stroke-dashoffset: 1; opacity: 1; } 62%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ar4 { 0%, 70% { stroke-dashoffset: 1; opacity: 1; } 78%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.run { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-dasharray: .03 .03; opacity: .9; animation: runFade 8s linear infinite; }
@keyframes runFade { 0%, 28% { opacity: 0; } 32%, 55% { opacity: .9; } 62%, 100% { opacity: 0; } }
.bd-team circle { fill: var(--red); stroke: #fff; stroke-width: 2; }
.bd-rival circle { fill: rgba(255,255,255,.15); stroke: rgba(255,255,255,.7); stroke-width: 2; }
.bd-ball { fill: #fff; stroke: #10183f; stroke-width: 1.5; }
.bd-goal { fill: #fff; font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: 2px; opacity: 0; animation: goal 8s linear infinite; }
@keyframes goal { 0%, 77% { opacity: 0; } 80%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.board figcaption { color: rgba(255,255,255,.6); }

@media (max-width: 860px) {
  .philo-top, .method-top { grid-template-columns: 1fr; gap: 2rem; }
  .path-art { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-line, .ar { animation: none; stroke-dashoffset: 0; }
  .pa-node circle { animation: none; fill: var(--red); }
  .bd-goal, .run { animation: none; }
}
