/* Rediseño público v178: minimalista, negro + fucsia */
body.pub{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#060607;color:#f4f4f6;-webkit-text-size-adjust:100%}
body.pub h1,body.pub h2,body.pub h3,.pub .brand{font-family:Manrope,Inter,system-ui,sans-serif}
.pub .reveal{opacity:1!important;transform:none!important;transition:none!important}
.pub{--pk:#E843EE;--card:#101013;--bd:#26262c}

/* Encabezado */
.pnav-wrap{position:sticky;top:0;z-index:60;background:rgba(6,6,7,.96);border-bottom:1px solid #1b1b20}
.pnav{max-width:1200px;margin:auto;height:76px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.pnav .brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:18px;letter-spacing:-.3px;color:#fff}
.pnav .brand img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.pnav .brand b{color:var(--pk);font-weight:800}
.pnav-links{display:flex;align-items:center;gap:26px;font-size:15px;font-weight:500}
.pnav-links>a:not(.pbtn){color:#d9d9de}
.pnav-links>a:not(.pbtn):hover{color:#fff}
.pbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:12px;font-weight:700;font-size:15px;border:1px solid transparent;cursor:pointer}
.pbtn.solid{background:var(--pk);color:#12040f}
.pbtn.solid:hover{background:#f15bf6}
.pbtn.ghost{border-color:#4a4a52;color:#fff;background:transparent}
.pbtn.ghost:hover{border-color:#fff}
.pbtn.big{min-height:54px;padding:0 28px;font-size:16px;border-radius:14px}
.pbtn i{font-style:normal}
.pnav-toggle{display:none;background:none;border:0;width:48px;height:48px;padding:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.pnav-toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:2px}

/* Portada */
.phero{position:relative;max-width:1200px;margin:auto;padding:96px 24px 88px;min-height:520px;display:flex;align-items:center;overflow:hidden}
.phero::before{content:"";position:absolute;right:-10%;top:-20%;width:70%;height:140%;background:linear-gradient(115deg,transparent 40%,rgba(232,67,238,.16) 50%,transparent 62%);pointer-events:none}
.phero-art{position:absolute;right:2%;top:50%;transform:translateY(-50%);width:min(46%,520px);pointer-events:none}
.phero-art svg{display:block;width:100%;height:auto}
.phero-copy{position:relative;z-index:2;max-width:640px}
.phero h1{font-size:clamp(40px,6vw,72px);line-height:1.03;letter-spacing:-.035em;margin:0 0 22px;font-weight:800}
.phero h1 span{color:var(--pk);display:block}
.plead{font-size:clamp(17px,2vw,20px);line-height:1.55;color:#cfcfd5;margin:0 0 32px;max-width:520px}
.pbtns{display:flex;gap:14px;flex-wrap:wrap}
.pstrip{background:#0d0d10;border-top:1px solid #1b1b20;border-bottom:1px solid #1b1b20}
.pstrip-in{max-width:1200px;margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;font-size:15px;color:#d4d4da}
.pstrip svg{width:22px;height:22px;fill:none;stroke:var(--pk);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-5px;margin-right:10px}
.pstrip .sep{width:1px;height:20px;background:#34343b}

/* Secciones */
.psec{padding:88px 24px;background:#060607;color:#f4f4f6;overflow:visible;position:relative}
.psec+.psec{border-top:1px solid #131317}
.pwrap{max-width:1040px;margin:auto}
.ptitle{font-size:clamp(28px,4vw,40px);letter-spacing:-.03em;margin:0 0 12px;font-weight:800;position:relative;padding-bottom:16px}
.ptitle::after{content:"";position:absolute;left:0;bottom:0;width:30px;height:3px;border-radius:2px;background:var(--pk)}
.psub{color:#a9a9b1;font-size:17px;line-height:1.6;margin:8px 0 36px;max-width:600px}
.ptitle+*:not(.psub){margin-top:30px}
.pnote{color:#8c8c95;font-size:14px;margin:26px 0 0}
.pcard{background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:24px}
.pcard svg{width:30px;height:30px;fill:none;stroke:var(--pk);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:14px}
.pcard h3{font-size:18px;margin:0 0 6px}
.pcard p{margin:0;color:#b5b5bd;font-size:15px;line-height:1.55}
.pcard strong{color:#fff}
.preqs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ppagos{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.psteps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pstep{display:flex;gap:16px;align-items:flex-start;background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:24px}
.pnum{flex:none;width:34px;height:34px;border-radius:50%;background:var(--pk);color:#12040f;font-weight:800;display:grid;place-items:center}
.pstep h3{font-size:18px;margin:2px 0 6px}
.pstep p{margin:0;color:#b5b5bd;font-size:15px;line-height:1.55}

/* Ayuda (FAQ) */
.pub .ayuda-section{background:#060607;padding:88px 24px}
.pub .ayuda-section .pwrap{max-width:860px}
.pub .ayuda-buscador{max-width:none;margin:28px 0 24px}
.pub .ayuda-buscador input{background:var(--card);border:1px solid var(--bd);border-radius:12px;padding:15px 16px;font-size:16px;color:#fff;width:100%}
.pub .ayuda-categorias{grid-template-columns:repeat(4,1fr);max-width:none;margin:0 0 28px;gap:10px}
.pub .ayuda-cat-card{background:var(--card);border:1px solid var(--bd);border-radius:12px;padding:14px;min-height:64px;transition:none}
.pub .ayuda-cat-card:hover{transform:none}
.pub .ayuda-cat-card.active{border-color:var(--pk);background:#1a101b}
.pub .ayuda-preguntas{max-width:none}
.pub .ayuda-pregunta{min-height:56px;font-size:16px}
.pub .ayuda-final{margin-top:40px;text-align:left}
.pub .ayuda-final .btn{display:inline-flex;align-items:center;min-height:48px;border-radius:12px;background:var(--pk);color:#12040f;font-weight:700}

/* Solicitud */
.pub .application-section{background:#0b0b0d}
.pub .application-section .pwrap{max-width:860px}
.pub .application{background:var(--card);border:1px solid var(--bd);border-radius:18px;padding:32px;box-shadow:none;margin-top:8px}
.pub .application h3{font-size:19px;margin:30px 0 14px}
.pub .application h3:first-child{margin-top:0}
.pub .application input,.pub .application select{border-radius:12px;min-height:50px;font-size:16px}
.pub .application .submit,.pub .inversor-form .submit{width:100%;min-height:54px;border-radius:14px;background:var(--pk);color:#12040f;font-weight:800;font-size:16px;border:0}

/* Inversores */
.pub .inversores-section{background:#060607;padding:88px 24px}
.pub .inversores-section .section-head{max-width:760px;margin:0 0 36px}
.pub .inversores-section .section-head h2{font-size:clamp(28px,4vw,40px);letter-spacing:-.03em;margin:0 0 14px}
.pub .inversores-section .kicker{display:none}
.pub .inversores-bloques{max-width:1040px;margin:0 auto 40px;gap:16px}
.pub .inversor-card{background:var(--card);border-radius:16px;border-color:var(--bd)}
.pub .inversores-form-wrap{background:var(--card);border-radius:18px;max-width:860px;padding:32px}
.pub .inversores-portal-teaser .btn{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:12px;background:var(--pk);color:#12040f;font-weight:700}

/* Contacto y pie */
.pub .pcontact{text-align:center;background:#0b0b0d;padding:80px 24px}
.pub .pcontact .ptitle{display:inline-block}
.pub .pcontact .ptitle::after{left:50%;transform:translateX(-50%)}
.pub .pcontact .socials{margin-top:34px}
.pub .socials a{min-height:52px;border-radius:12px;background:var(--card);border-color:var(--bd);transition:none}
.pub .socials a:hover{transform:none}
.pfoot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:26px 24px;max-width:1200px;margin:auto;color:#7b7b84;font-size:13px}
.pfoot a{color:#9a9aa2;text-decoration:underline}

/* Celulares */
@media(max-width:860px){
  .pnav{height:68px;padding:0 16px}
  .pnav .brand{font-size:16px}
  .pnav .brand img{width:38px;height:38px}
  .pnav-toggle{display:flex}
  .pnav-links{display:none;position:absolute;left:0;right:0;top:100%;background:#0b0b0d;border-bottom:1px solid #1b1b20;padding:12px 16px 20px;flex-direction:column;align-items:stretch;gap:0}
  .pnav-links.abierto{display:flex}
  .pnav-links>a:not(.pbtn){padding:16px 4px;border-bottom:1px solid #1b1b20;font-size:17px}
  .pnav-links .pbtn{margin-top:12px;min-height:52px}
  .phero{padding:48px 16px 56px;min-height:0;display:block}
  .phero-art{position:relative;right:auto;top:auto;transform:none;width:68%;max-width:300px;margin:0 0 -12px auto}
  .phero-copy{max-width:none}
  .pbtns{flex-direction:column}
  .pbtns .pbtn{width:100%}
  .pstrip-in{flex-direction:column;align-items:flex-start;gap:10px;padding:18px 16px}
  .pstrip .sep{display:none}
  .psec,.pub .ayuda-section,.pub .inversores-section{padding:60px 16px}
  .preqs,.psteps,.ppagos{grid-template-columns:1fr}
  .pub .ayuda-categorias{grid-template-columns:1fr 1fr}
  .pub .application,.pub .inversores-form-wrap{padding:20px 16px}
  .pub .grid,.pub .uploads,.pub .inversor-form .grid{grid-template-columns:1fr}
  .pub .inversores-bloques{grid-template-columns:1fr}
  .pub .socials a{width:100%}
  .pfoot{justify-content:center;text-align:center}
}
html{scroll-padding-top:84px}
@media(max-width:860px){.phero::before{display:none}}
