/* Página del Reto de Diciembre 2026. Paleta y tipografía de SISTEMA-DISENO.md. */
:root {
  --negro: #000; --grafito: #0e0f12; --linea: rgba(240,241,245,.13); --acero: #9a9ea8; --plata: #c9ccd3; --blanco: #f0f1f5;
  --wt: #3d5afe; --caja: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--negro); color: var(--blanco); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
.caja { width: 100%; max-width: var(--caja); margin: 0 auto; padding: 0 40px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 0 34px; border: 0; border-radius: 999px;
  background: #fff; color: #000; font: 700 17px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--plata); }
.btn:active { transform: scale(.985); }
.btn:focus-visible, .metodo:focus-visible, .copiar:focus-visible, .solo-wt:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-azul { min-height: 54px; margin-top: 16px; padding: 0 26px; font-size: 16px; }
.btn-ancho { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Héroe ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #02060a; isolation: isolate; }
.escena { position: absolute; inset: 0; z-index: -2; }
.escena img, .escena canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fondo { object-fit: cover; object-position: 60% 50%; }
#agua { opacity: 0; transition: opacity .5s; }
#agua.listo { opacity: 1; }
#particulas { pointer-events: none; }
.hero-sombra { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,3,6,.62) 0, rgba(0,3,6,.34) 34%, transparent 58%), linear-gradient(to bottom, transparent 66%, #000 100%); }
.hero-in { width: 100%; max-width: var(--caja); margin: 0 auto; padding: 0 40px clamp(36px, 6.5vh, 76px); }
.cinta { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--blanco); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.cinta-ok { width: 8px; height: 8px; border-radius: 50%; background: #30d158; flex: none; }
.hero h1 { margin-top: 14px; font-size: clamp(50px, min(5.1vw, 9.4vh), 84px); text-shadow: 0 2px 30px rgba(0,0,0,.65); }
.lead { margin-top: 14px; font-size: clamp(18px, min(1.55vw, 2.5vh), 23px); line-height: 1.4; color: var(--blanco); text-shadow: 0 1px 14px rgba(0,0,0,.85); }
.oferta { display: flex; align-items: center; gap: 22px; margin-top: clamp(12px, 2.2vh, 24px); }
.precio { width: clamp(220px, min(23vw, 37vh), 370px); margin: -6px 0 -14px -14px; flex: none; }
.oferta p { font-size: clamp(15px, 1.2vw, 18px); color: var(--plata); line-height: 1.4; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.oferta strong { color: #fff; font-weight: 700; }
.acciones { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: clamp(16px, 2.6vh, 28px); }
.solo-wt { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; text-decoration: none; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.solo-wt img { height: 25px; width: auto; }

/* ---------- Fechas ---------- */
.fechas { border-bottom: 1px solid var(--linea); background: #000; }
.fechas-in { display: grid; grid-template-columns: .7fr 1fr 1.15fr 1.4fr; }
.fechas-in > div { padding: 30px 26px; border-left: 1px solid var(--linea); }
.fechas-in > div:first-child { border-left: 0; padding-left: 0; }
.fechas b { display: block; font-size: 31px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.fechas span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--acero); }

/* ---------- Pasos ---------- */
.pasos { padding: 110px 0; background: #000; }
.pasos-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.pasos header { position: sticky; top: 110px; }
.pasos h2 { font-size: clamp(46px, 5.2vw, 76px); }
.pasos header p { max-width: 390px; margin-top: 22px; font-size: 18px; color: var(--acero); }
.pasos ol { list-style: none; }
.pasos li { display: grid; grid-template-columns: 66px 1fr; padding: 30px 0; border-top: 1px solid var(--linea); }
.pasos li:last-child { border-bottom: 1px solid var(--linea); }
.num { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--acero); }
.pasos li:first-child .num { color: #fff; }
.pasos h3 { font-size: 25px; letter-spacing: -.02em; line-height: 1.2; }
.pasos li p { margin-top: 7px; font-size: 16.5px; color: var(--acero); }

/* ---------- Incluye ---------- */
.incluye { background: linear-gradient(to bottom, #000, #06090d 40%, #000); padding: 40px 0 110px; }
.incluye-in { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
/* Laptop y celular con capturas completas, como en los flyers aprobados. */
.equipos { position: relative; padding-left: 13%; padding-bottom: 34px; }
.laptop { position: relative; width: 100%; }
.tapa { position: relative; padding: 2.1% 1.7% 1.7%; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #1c1e24, #0c0d10); border: 1px solid rgba(201,204,211,.32); border-bottom: 0; }
.camara { position: absolute; top: .75%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2b2e35; }
.laptop .pantalla { overflow: hidden; border-radius: 3px; background: #000; }
.laptop .pantalla img { width: 100%; }
.base { position: relative; width: 108%; height: 15px; margin-left: -4%; border-radius: 2px 2px 13px 13px; background: linear-gradient(180deg, #d6d8de 0, #9a9ea8 34%, #4e5159 100%); box-shadow: 0 26px 46px -14px rgba(0,0,0,.95); }
.base i { position: absolute; top: 0; left: 50%; width: 15%; height: 5px; transform: translateX(-50%); border-radius: 0 0 7px 7px; background: #5f626b; }
.cel { position: absolute; left: 0; bottom: 34px; z-index: 2; width: 24%; padding: 1.15%; border-radius: 13% / 6.2%; background: #08090b; border: 1px solid rgba(201,204,211,.42); box-shadow: 0 24px 54px rgba(0,0,0,.95), 0 0 0 3px #17191e; }
.cel .pantalla { overflow: hidden; border-radius: 11% / 5.2%; background: #000; }
.cel .pantalla img { width: 100%; }
.isla { position: absolute; top: 2.3%; left: 50%; z-index: 1; width: 31%; height: 2.1%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.incluye figcaption { position: absolute; left: 13%; bottom: 0; font-size: 13px; color: var(--acero); }
.incluye h2 { font-size: clamp(38px, 4.1vw, 60px); }
.incluye h2 span { background: linear-gradient(180deg, #fff 20%, var(--plata)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.incluye-txt > p { margin-top: 22px; font-size: 18px; color: var(--plata); }
.familias { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.familias li { padding: 8px 16px; border: 1px solid rgba(240,241,245,.35); border-radius: 999px; font-size: 15px; font-weight: 600; }
.incluye-txt .dinamicas { color: var(--acero); font-size: 16px; }

/* ---------- Inscripción ---------- */
.inscripcion { padding: 90px 0 80px; border-top: 1px solid var(--linea); background: var(--grafito); scroll-margin-top: 60px; }
.ins-cab h2 { font-size: clamp(46px, 5.2vw, 76px); }
.ins-cab p { margin-top: 14px; max-width: 590px; font-size: 18px; color: var(--acero); }
.ins-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; margin-top: 50px; align-items: start; }
.pago, .datos { min-width: 0; }
.ins-grid h3 { display: flex; align-items: center; gap: 12px; font-size: 24px; margin-bottom: 22px; letter-spacing: -.02em; }
.ins-grid h3 span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.metodos { display: flex; border: 1px solid var(--linea); border-radius: 12px; padding: 4px; }
.metodo { flex: 1; min-height: 46px; border: 0; border-radius: 9px; background: none; color: var(--acero); font: 600 15px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.metodo.activo { background: #fff; color: #000; }
.panel { margin-top: 22px; }
.panel small { display: block; font-size: 13px; color: var(--acero); margin-bottom: 8px; }
.panel code { display: block; font: 600 15.5px/1.4 ui-monospace, 'Cascadia Mono', Consolas, monospace; overflow-wrap: anywhere; }
.qr-fila { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; }
.qr-fila img { border-radius: 10px; background: #fff; padding: 6px; }
.copiar { margin-top: 12px; min-height: 40px; padding: 0 20px; border: 1px solid rgba(240,241,245,.35); border-radius: 999px; background: none; color: var(--blanco); font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.copiar:hover { border-color: #fff; }
.nota { margin-top: 16px; font-size: 14.5px; color: var(--acero); }

.datos { padding-left: 56px; border-left: 1px solid var(--linea); }
.campo { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--plata); }
.campo input[type=text], .campo input[type=email], .campo input[type=tel], .campo select { display: block; width: 100%; height: 52px; margin-top: 7px; padding: 0 16px; border: 1px solid rgba(240,241,245,.2); border-radius: 10px; background: #000; color: #fff; font: 500 16px 'Plus Jakarta Sans', sans-serif; }
.campo input::placeholder { color: #6d7079; font-weight: 400; }
.campo input:focus, .campo select:focus { outline: 0; border-color: #fff; }
.tel { display: grid; grid-template-columns: 180px 1fr; gap: 10px; }
.subir { position: relative; display: flex; align-items: center; gap: 12px; min-height: 66px; margin-top: 7px; padding: 12px 16px; border: 1px dashed rgba(240,241,245,.35); border-radius: 10px; color: var(--plata); font-weight: 500; font-size: 15px; cursor: pointer; overflow-wrap: anywhere; }
.subir:hover, .subir.ok { border-color: #fff; color: #fff; }
.subir svg { flex: none; }
.subir input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-bottom: 14px; font-size: 14.5px; color: var(--plata); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: #fff; }
.check a { color: #fff; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso { margin-top: 30px; padding: 16px 20px; border: 1px solid #ff453a; border-radius: 10px; font-size: 15.5px; font-weight: 500; }
.enviado, .cerrado { margin-top: 44px; padding: 44px 40px; border: 1px solid var(--linea); border-radius: 14px; background: #000; }
.enviado h3, .cerrado h3 { margin-top: 16px; font-size: 32px; }
.cerrado h3 { margin-top: 0; font-size: 26px; }
.enviado p { margin-top: 10px; font-size: 17px; color: var(--acero); }
.legal { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--linea); font-size: 12px; line-height: 1.65; color: #7c8089; }

/* ---------- Barra fija en celular ---------- */
.barra-movil { display: none; }

@media (max-width: 960px) {
  .caja, .hero-in { padding-left: 20px; padding-right: 20px; }
  .fechas-in { grid-template-columns: 1fr 1fr; }
  .fechas-in > div { padding: 22px 16px; border-top: 1px solid var(--linea); }
  .fechas-in > div:nth-child(-n+2) { border-top: 0; }
  .fechas-in > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fechas b { font-size: 26px; }
  .fechas span { font-size: 13.5px; }
  .pasos { padding: 70px 0; }
  .pasos-in, .incluye-in, .ins-grid { grid-template-columns: 1fr; gap: 36px; }
  .pasos header { position: static; }
  .pasos li { grid-template-columns: 50px 1fr; padding: 24px 0; }
  .pasos h3 { font-size: 22px; }
  .incluye { padding: 10px 0 70px; }
  .incluye-txt { order: -1; }
  .inscripcion { padding: 64px 0 104px; }
  .datos { padding-left: 0; padding-top: 36px; border-left: 0; border-top: 1px solid var(--linea); }
  .hero-sombra { background: linear-gradient(to bottom, transparent 44%, rgba(0,3,6,.72) 58%, #000 76%); }
  .hero-in { padding-bottom: 86px; }
  .hero h1 { margin-top: 8px; font-size: clamp(40px, 11.6vw, 76px); }
  .lead { margin-top: 8px; font-size: clamp(15.5px, 4.35vw, 20px); }
  .precio { width: min(42vw, 230px); margin: -4px 0 -10px -10px; }
  .oferta { gap: 10px; margin-top: 2px; }
  .oferta p { font-size: 14.5px; }
  .acciones { gap: 12px; margin-top: 10px; }
  .acciones .btn { width: 100%; min-height: 56px; }
  .btn-azul { padding: 0 20px; font-size: 15.5px; white-space: nowrap; }
  .solo-wt { width: 100%; justify-content: center; font-size: 15px; }
  .barra-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.92); border-top: 1px solid var(--linea); text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .2s; }
  .barra-movil.oculta { transform: translateY(110%); }
  .barra-movil b { font-size: 19px; font-weight: 800; margin-right: 5px; }
  .barra-movil i { flex: none; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; color: #000; font-style: normal; font-weight: 700; }
}
@media (max-width: 480px) {
  /* En esta página de campaña, el botón Ingresar no cabe junto al menú y se oculta en celular. */
  .eco-nav-end .eco-nav-sign-btn { display: none; }
}
@media (max-width: 420px) {
  .tel { grid-template-columns: 138px 1fr; }
  .qr-fila { grid-template-columns: 104px 1fr; gap: 14px; }
  .qr-fila img { width: 104px; height: 104px; }
  .panel code { font-size: 13.5px; }
}
