/* =========================================================================
   LÍDERES DE LA BATALLA CULTURAL — lideresdelabatallacultural.com
   Mismo sistema de diseño editorial del sitio de Pedro Pablo Fernández:
   tipografía Franklin, fotografía a sangre, navy / rojo / crema.
   ========================================================================= */

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 100 900;          /* archivo variable */
  font-display: swap;
  src: url("../fonts/librefranklin.woff2") format("woff2");
}

:root {
  --navy:    #112742;
  --navy-2:  #0B1A2E;
  --red:     #BE2B23;
  --red-dk:  #9C211A;
  --cream:   #F5EFE3;
  --sand:    #E9DECB;
  --gold:    #B0843A;
  --ink:     #15212F;
  --muted:   #5C6675;
  --line:    #D8CDB8;
  --white:   #FFFFFF;

  --maxw: 1200px;
  --f: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }

.kicker {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 22px;
}
.kicker em { color: var(--red); font-style: normal; margin-right: 12px; }
.kicker--light { color: rgba(255,255,255,.7); }
.kicker--light em { color: #E8A23A; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f); font-weight: 700; font-size: .9rem; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1;
  padding: 17px 30px; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dk); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 19px 36px; font-size: .95rem; }
.btn--gold { background: #F0B73E; color: var(--navy); }
.btn--gold:hover { background: #D9A230; }
.btn--wa { background: #25D366; color: #0b3d1f; }
.arrow::after { content: "→"; font-weight: 600; }

/* ------------------------------------------------------------- Top bar */
.topbar {
  background: var(--navy-2); color: rgba(255,255,255,.78);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar .flag { display: inline-block; width: 46px; height: 4px;
  background: linear-gradient(90deg,#F0C419 0 33.33%,#1F4E9B 33.33% 66.66%,var(--red) 66.66%); }

/* --------------------------------------------------------------- Header */
.header { position: sticky; top: 0; z-index: 60; background: var(--cream); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-weight: 900; font-size: 1.16rem; letter-spacing: -.01em; color: var(--navy); text-transform: uppercase; }
.brand span { font-size: .62rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-top: 5px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { font-weight: 600; font-size: .92rem; color: var(--ink); }
.menu a:hover { color: var(--red); }
.menu .btn { color: #fff; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; }

/* ----------------------------------------------------------------- Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero__grid { display: block; min-height: 600px; }
.hero__text { position: relative; z-index: 2; align-self: center; max-width: 620px; padding: 92px 0 100px; }
.hero__text h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); font-weight: 900; letter-spacing: -.03em; }
.hero__text h1 .r { color: #F0B73E; display: block; }
.hero__text p { font-size: 1.2rem; color: rgba(255,255,255,.82); margin: 26px 0 34px; max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 49%; z-index: 1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(17,39,66,.25) 35%, rgba(17,39,66,0) 75%); }
.hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2;
  background: linear-gradient(90deg,#F0C419 0 33.33%,#1F4E9B 33.33% 66.66%,var(--red) 66.66%); }

/* ------------------------------------------------------- Statement band */
.statement { background: var(--cream); border-bottom: 1px solid var(--line); }
.statement .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.statement h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--navy); }
.statement h2 .red { color: var(--red); }
.statement p { color: #3c4654; font-size: 1.08rem; }
.statement p:last-child { margin-bottom: 0; }

/* ------------------------------------------- Valores (bloques editoriales) */
.issues { background: var(--cream); }
.issues__head { max-width: 720px; margin-bottom: 64px; }
.issues__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; color: var(--navy); }
.issues__head p { color: #3c4654; font-size: 1.12rem; margin-top: 14px; }
.issue { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; margin-bottom: 4px; border: 1px solid var(--line); background: var(--white); }
.issue:nth-child(even) .issue__img { order: 2; }
.issue__img { position: relative; min-height: 360px; }
.issue__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.issue__body { padding: 52px 56px; align-self: center; }
.issue__no { font-weight: 900; font-size: 1rem; color: var(--red); letter-spacing: .04em; }
.issue__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--navy); margin: 10px 0 14px; }
.issue__body p { color: #3c4654; margin: 0; font-size: 1.05rem; }
.issues__cta { margin-top: 40px; }

/* -------------------------------------------------- Banda batalla cultural */
.battle { position: relative; color: #fff; background: var(--navy-2); }
.battle__bg { position: absolute; inset: 0; }
.battle__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.battle__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,26,46,.82), rgba(11,26,46,.78)); }
.battle .wrap { position: relative; padding: 120px 28px; text-align: center; }
.battle blockquote { margin: 0 auto; max-width: 24ch; font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
.battle blockquote .y { color: #F0B73E; }
.battle cite { display: block; margin-top: 20px; font-style: normal; font-weight: 700;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.battle p { max-width: 56ch; margin: 24px auto 32px; color: rgba(255,255,255,.84); font-size: 1.12rem; }

/* ------------------------------------------- Cómo funciona (pasos y rangos) */
.how { background: var(--navy); color: #fff; }
.how__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.how__head h2 { font-size: clamp(1.9rem,4vw,2.8rem); font-weight: 900; }
.how__head p { color: rgba(255,255,255,.75); margin-top: 12px; font-size: 1.1rem; }
.steps3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.step3 { border-left: 3px solid #F0B73E; padding: 4px 0 4px 22px; }
.step3 .n { font-weight: 900; color: #F0B73E; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.step3 b { display: block; font-size: 1.25rem; font-weight: 800; margin: 8px 0 8px; }
.step3 span { color: rgba(255,255,255,.75); font-size: .98rem; }
.ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.rank { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 2px; padding: 40px 36px; text-align: center; }
.rank .num { font-weight: 900; font-size: 3rem; color: #F0B73E; line-height: 1; }
.rank h3 { font-size: 1.4rem; font-weight: 800; margin: 12px 0 10px; }
.rank p { color: rgba(255,255,255,.75); font-size: .98rem; margin: 0; }

/* ----------------------------------------------------------- Registro */
.join { background: var(--cream); }
.join .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.join__copy h2 { font-size: clamp(2rem,4.4vw,3.1rem); font-weight: 900; color: var(--navy); margin-bottom: 18px; }
.join__copy p { color: #3c4654; font-size: 1.1rem; }
.join__list { margin-top: 26px; border-top: 1px solid var(--line); }
.join__list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.join__list b { color: var(--navy); display: block; font-weight: 800; }
.join__list span { color: var(--muted); font-size: .96rem; }

.form { background: var(--navy); color: #fff; padding: 40px 38px; border-radius: 2px; }
.form h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.form > p { color: rgba(255,255,255,.72); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 7px; }
.field label i { font-style: normal; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.45); font-weight: 600; }
.field input, .field select {
  width: 100%; padding: 14px 15px; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 2px;
}
.field input:focus, .field select:focus { outline: 0; border-color: #F0B73E; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: rgba(255,255,255,.78); margin: 6px 0 20px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--red); }
.form .note { text-align: center; font-size: .78rem; color: rgba(255,255,255,.55); margin: 14px 0 0; }
.field-error { display: none; color: #F0B73E; font-size: .78rem; margin-top: 6px; }
.field.has-error input, .field.has-error select { border-color: #F0B73E; }
.field.has-error .field-error { display: block; }
.form-msg { display: none; margin-top: 16px; padding: 13px 15px; border-radius: 2px; font-size: .92rem; }
.form-msg.err { display: block; background: rgba(190,43,35,.25); border: 1px solid rgba(240,183,62,.5); color: #fff; }
.ref-pill { display: none; background: rgba(240,183,62,.14); border: 1px solid rgba(240,183,62,.45);
  color: #F0B73E; border-radius: 2px; padding: 11px 14px; font-size: .88rem; font-weight: 600; margin-bottom: 18px; }
.ref-pill b { letter-spacing: .08em; }

/* ----------------------------------------------------------------- Footer */
.footer { background: var(--navy-2); color: rgba(255,255,255,.66); padding: 70px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand b { color: #fff; }
.footer__about p { margin-top: 18px; max-width: 38ch; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer__top a { display: block; padding: 6px 0; color: rgba(255,255,255,.66); font-size: .95rem; }
.footer__top a:hover { color: #F0B73E; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; border-radius: 2px; }
.social a:hover { background: #fff; color: var(--navy); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* --------------------------------------------------------- Page hero (sub) */
.phero { background: var(--navy); color: #fff; padding: 84px 0 76px; position: relative; }
.phero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg,#F0C419 0 33.33%,#1F4E9B 33.33% 66.66%,var(--red) 66.66%); }
.phero h1 { font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 900; }
.phero p { color: rgba(255,255,255,.82); max-width: 62ch; margin-top: 16px; font-size: 1.14rem; }

/* ----------------------------------------------------------- Gracias */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 90px 0; }
.thanks .bar { width: 64px; height: 6px; background: var(--red); margin: 0 auto 28px; }
.thanks h1 { font-size: clamp(2.2rem,5vw,3.2rem); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.thanks p { color: #3c4654; max-width: 52ch; margin: 0 auto 30px; font-size: 1.12rem; }
.sharecard { background: var(--navy); color: #fff; border-radius: 2px; padding: 34px 32px; max-width: 620px; margin: 0 auto 30px; }
.sharecard .label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #F0B73E; }
.sharecard .link { display: block; font-size: clamp(.95rem, 2.6vw, 1.15rem); font-weight: 700; word-break: break-all; margin: 12px 0 20px; color: #fff; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------------------------------------------ Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none} html{scroll-behavior:auto} }

/* --------------------------------------------------------- Responsive */
@media (max-width: 980px){
  .hero{display:flex;flex-direction:column}
  .hero__photo{position:relative;width:100%;height:300px;order:-1}
  .hero__photo::after{background:linear-gradient(0deg,var(--navy),rgba(17,39,66,0) 62%)}
  .hero__text{padding:44px 0 56px;max-width:none}
  .statement .wrap, .join .wrap{grid-template-columns:1fr;gap:36px}
  .footer__top{grid-template-columns:1fr 1fr}
  .steps3{grid-template-columns:1fr}
  .ranks{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .section{padding:64px 0}
  .menu{position:absolute;top:78px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;
    background:var(--cream);border-bottom:1px solid var(--line);padding:10px 28px 22px;display:none}
  .menu.open{display:flex}
  .menu a{padding:14px 0;border-top:1px solid var(--line)}
  .menu .btn{margin-top:14px;justify-content:center}
  .burger{display:block}
  .issue, .issue:nth-child(even) .issue__img{grid-template-columns:1fr;order:0}
  .issue__img{min-height:230px}
  .issue__body{padding:34px 28px}
  .row2{grid-template-columns:1fr}
  .footer__top{grid-template-columns:1fr}
  .battle .wrap{padding:84px 28px}
}
/* Honeypot anti-bot (oculto a usuarios y lectores de pantalla) */
.hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
