/* ============================================================
   SIAVISO — landing estática (siaviso.com.ar)
   Paleta y tipografía alineadas al material de venta (InHouse)
   ============================================================ */

:root{
  --navy:#0C1C47;
  --navy-2:#142A66;
  --navy-3:#1B3478;
  --hl:#7D8CFF;
  --azul:#0B5FA3;
  --indigo:#4E5FD9;
  --tinta:#141E3A;
  --gris:#5A6478;
  --gris-claro:#8E97AE;
  --linea:#DDE3F0;
  --panel:#F1F4FB;
  --chip-bg:#EEF1FB;
  --chip-bd:#D6DCF2;
  --chip-tx:#2F3F78;
  --ok:#13855F;
  --ok-bg:#E4F5EE;
  --warn:#9A6300;
  --warn-bg:#FDF3DA;
  --crit:#B3261E;
  --crit-bg:#FCE8E6;
  --whatsapp:#25D366;
  --grad: linear-gradient(135deg,var(--azul),#556EFE);
  --shadow-lg: 0 24px 60px -24px rgba(12,28,71,.35);
  --shadow-sm: 0 10px 28px -18px rgba(12,28,71,.3);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Public Sans',system-ui,-apple-system,sans-serif;
  color:var(--tinta);
  background:#fff;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;text-wrap:balance;font-weight:700;color:var(--navy)}
p{margin:0}
ul{list-style:none}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{position:relative}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- utilidades ---------- */
.eyebrow{
  font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--indigo);margin-bottom:10px;display:flex;align-items:center;gap:8px;
}
.eyebrow::before{content:"";width:16px;height:2px;background:var(--indigo);border-radius:2px;flex:none}
.eyebrow.on-navy{color:var(--hl)}
.eyebrow.on-navy::before{background:var(--hl)}

.section-head{max-width:640px;margin-bottom:44px}
.section-head h2{font-size:clamp(1.6rem,3.2vw,2.35rem);line-height:1.18;letter-spacing:-.01em;margin-bottom:12px}
.section-head p{color:var(--gris);font-size:1.02rem;line-height:1.6}
.section-pad{padding:88px 0}
@media (max-width:720px){.section-pad{padding:64px 0}}

.chip{
  display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:600;
  color:var(--chip-tx);background:var(--chip-bg);border:1px solid var(--chip-bd);
  border-radius:999px;padding:6px 14px;white-space:nowrap;
}
.chips{display:flex;flex-wrap:wrap;gap:8px}

/* ---------- botones ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-weight:600;font-size:1rem;padding:14px 26px;border-radius:999px;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--whatsapp);color:#fff;box-shadow:0 14px 30px -14px rgba(37,211,102,.55)}
.btn-primary:hover{background:#1fbd5a;box-shadow:0 18px 36px -14px rgba(37,211,102,.65)}
.btn-ghost-light{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.35)}
.btn-ghost-light:hover{background:rgba(255,255,255,.16)}
.btn-outline{background:transparent;color:var(--navy);border:1.5px solid var(--linea)}
.btn-outline:hover{border-color:var(--indigo);color:var(--indigo)}
.btn-sm{padding:10px 18px;font-size:.9rem}
.btn svg{width:20px;height:20px;flex:none}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:50;background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Poppins',sans-serif;font-weight:700;font-size:1.1rem;color:#fff}
.brand .dot{width:11px;height:11px;border-radius:50%;background:var(--grad);flex:none;box-shadow:0 0 0 4px rgba(125,140,255,.18)}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-links a{font-size:.92rem;font-weight:500;color:rgba(255,255,255,.78);transition:color .15s ease}
.nav-links a:hover{color:#fff}
.header-actions{display:flex;align-items:center;gap:14px}
.nav-toggle{display:none;width:40px;height:40px;border-radius:10px;align-items:center;justify-content:center;background:rgba(255,255,255,.08)}
.nav-toggle svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round}

@media (max-width:880px){
  .nav-links{
    position:fixed;inset:72px 0 auto 0;background:var(--navy);
    flex-direction:column;align-items:flex-start;gap:0;
    padding:8px 24px 20px;border-bottom:1px solid rgba(255,255,255,.08);
    transform:translateY(-12px);opacity:0;pointer-events:none;transition:transform .2s ease, opacity .2s ease;
  }
  .nav-links a{width:100%;padding:14px 0;border-top:1px solid rgba(255,255,255,.08)}
  body.nav-open .nav-links{transform:translateY(0);opacity:1;pointer-events:auto}
  .nav-toggle{display:flex}
  .header-actions .btn-sm-desktop{display:none}
}

/* ============ HERO ============ */
.hero{
  background:radial-gradient(1100px 520px at 82% -10%, rgba(125,140,255,.22), transparent 60%),
             radial-gradient(700px 420px at 10% 110%, rgba(11,95,163,.28), transparent 60%),
             var(--navy);
  color:#fff;padding:76px 0 96px;overflow:hidden;
}
.hero .container{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero-pill{
  display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--navy);
  border-radius:999px;padding:7px 16px 7px 12px;font-family:'Poppins',sans-serif;
  font-weight:700;font-size:.85rem;letter-spacing:.03em;margin-bottom:18px;
}
.hero-pill .dot{width:9px;height:9px;border-radius:50%;background:var(--grad)}
.hero-sub{font-size:.78rem;letter-spacing:.05em;color:rgba(255,255,255,.6);margin-bottom:20px;max-width:420px}
.hero h1{font-size:clamp(2.1rem,4.6vw,3.35rem);line-height:1.1;letter-spacing:-.015em;color:#fff;margin-bottom:20px}
.hero h1 .hl{color:var(--hl)}
.hero-lead{font-size:1.08rem;line-height:1.65;color:rgba(255,255,255,.86);max-width:520px;margin-bottom:32px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:40px}
.hero-stats{display:flex;flex-wrap:wrap;gap:32px;margin-bottom:26px}
.stat{display:flex;align-items:center;gap:12px}
.stat-ic{width:44px;height:44px;border-radius:13px;background:rgba(125,140,255,.16);border:1px solid rgba(125,140,255,.4);display:flex;align-items:center;justify-content:center;flex:none}
.stat-ic svg{width:22px;height:22px;stroke:var(--hl);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.stat b{display:block;font-family:'Poppins',sans-serif;font-size:1.7rem;font-weight:700;color:#fff;line-height:1.05}
.stat span{display:block;margin-top:2px;font-size:.82rem;color:rgba(255,255,255,.72);max-width:190px;line-height:1.35}
.hero-chips{display:flex;flex-wrap:wrap;gap:9px}
.hchip{
  display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:9px 16px 9px 11px;
  font-size:.82rem;color:rgba(255,255,255,.86);line-height:1.3;
}
.hchip svg{width:15px;height:15px;stroke:var(--hl);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* teléfono / chat mockup */
.phone-wrap{display:flex;justify-content:center}
.phone{
  width:100%;max-width:340px;background:#fff;border-radius:26px;padding:18px 16px 22px;
  box-shadow:var(--shadow-lg);position:relative;
}
.phone::before{
  content:"";position:absolute;inset:-14px;border-radius:34px;
  background:linear-gradient(160deg, rgba(125,140,255,.35), rgba(11,95,163,0) 60%);
  z-index:-1;filter:blur(2px);
}
.ph-head{display:flex;align-items:center;gap:10px;padding:2px 2px 14px;border-bottom:1px solid var(--linea);margin-bottom:14px}
.ph-av{width:34px;height:34px;border-radius:50%;background:var(--grad);color:#fff;font-family:'Poppins',sans-serif;font-weight:700;font-size:.78rem;display:flex;align-items:center;justify-content:center;flex:none}
.ph-head b{display:block;font-size:.92rem;font-weight:700;color:var(--navy)}
.ph-head small{display:block;font-size:.74rem;color:var(--gris-claro)}
.bub{background:var(--panel);border-radius:14px 14px 14px 3px;padding:11px 13px;font-size:.85rem;line-height:1.5;margin-bottom:10px;max-width:96%;color:var(--tinta)}
.bub.out{background:#DDF4E6;border-radius:14px 14px 3px 14px;margin-left:auto}
.bub .meta{display:block;text-align:right;font-size:.68rem;color:var(--gris-claro);margin-top:5px}
.st{display:inline-block;font-weight:700;border-radius:5px;padding:0 5px;margin:0 1px;font-size:.85em}
.st.tarde{color:var(--warn);background:var(--warn-bg)}
.st.aus{color:var(--crit);background:var(--crit-bg)}

/* ============ PASOS (cómo funciona) ============ */
.pasos{display:flex;flex-direction:column}
.paso{display:grid;grid-template-columns:56px 1fr;gap:20px;padding:26px 0;border-top:1px solid var(--linea)}
.paso:first-child{border-top:none;padding-top:0}
.paso .n{font-family:'Poppins',sans-serif;font-weight:700;font-size:1.6rem;color:var(--indigo);line-height:1.1;letter-spacing:-.01em}
.paso h3{font-size:1.18rem;font-weight:700;line-height:1.3;margin-bottom:8px;color:var(--navy)}
.paso p{font-size:.98rem;line-height:1.6;color:var(--gris);max-width:640px;margin-bottom:12px}

/* ============ COMUNICACIÓN ============ */
.comms{background:var(--panel)}
.comms .container{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:start}
.comms p.lead-p{font-size:1rem;line-height:1.65;color:var(--gris);margin-bottom:16px}
.comms strong{color:var(--tinta)}
.comms .note{margin-top:16px;font-size:.88rem;line-height:1.55;color:var(--gris-claro)}
.comms .phone{margin-top:4px}

/* ============ MÓDULOS ============ */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mod{border:1px solid var(--linea);border-radius:var(--radius-md);padding:26px 24px;background:#fff;transition:box-shadow .2s ease, transform .2s ease}
.mod:hover{box-shadow:var(--shadow-sm);transform:translateY(-3px)}
.mod .ic{width:38px;height:38px;border-radius:11px;background:var(--grad);margin-bottom:16px;display:flex;align-items:center;justify-content:center}
.mod .ic svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mod h4{font-size:1.06rem;font-weight:700;margin-bottom:8px;color:var(--navy)}
.mod p{font-size:.92rem;line-height:1.55;color:var(--gris)}

/* ============ PILARES ============ */
.pilares-section{background:var(--navy);color:#fff}
.pilares-section .section-head p{color:rgba(255,255,255,.68)}
.pilares{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.pilar{border:1px solid rgba(255,255,255,.14);border-radius:var(--radius-md);padding:26px 26px 24px;background:rgba(255,255,255,.04)}
.pilar .k{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--hl)}
.pilar h3{font-size:1.2rem;font-weight:700;line-height:1.28;margin:8px 0 10px;color:#fff}
.pilar p{font-size:.94rem;line-height:1.58;color:rgba(255,255,255,.78)}
.pilar ul{margin-top:14px}
.pilar li{font-size:.9rem;line-height:1.5;padding-left:16px;position:relative;margin-bottom:9px;color:rgba(255,255,255,.86)}
.pilar li::before{content:"";position:absolute;left:0;top:.6em;width:7px;height:2px;background:var(--hl);border-radius:1px}

/* ============ OTRAS FUNCIONES ============ */
.crecer{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cre{border-top:3px solid var(--indigo);padding-top:16px}
.cre .tag{display:inline-block;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--indigo);background:var(--chip-bg);border-radius:5px;padding:3px 9px;margin-bottom:10px}
.cre h4{font-size:1.04rem;font-weight:700;margin-bottom:8px;color:var(--navy)}
.cre p{font-size:.92rem;line-height:1.55;color:var(--gris)}

/* ============ POR QUÉ SE LLAMA ASÍ ============ */
.wordplay{max-width:640px;margin:0 auto;text-align:center;background:var(--panel);border-radius:var(--radius-lg);padding:52px 44px}
.wordplay .ww{font-family:'Poppins',sans-serif;font-weight:700;font-size:clamp(2.1rem,5vw,3.1rem);letter-spacing:-.01em;line-height:1;margin-bottom:14px}
.wordplay .ww .a{color:var(--indigo)}
.wordplay .ww .b{color:var(--tinta)}
.wordplay-url{display:inline-block;font-weight:600;color:var(--azul);font-size:1.05rem}
.wordplay-url:hover{text-decoration:underline}
.wordplay-tag{margin-top:14px;font-size:.86rem;letter-spacing:.02em;color:var(--gris-claro)}
@media (max-width:620px){.wordplay{padding:36px 24px}}

/* ============ MODAL: PEDIR DEMO ============ */
.modal-overlay{
  position:fixed;inset:0;z-index:100;background:rgba(10,17,45,.6);
  display:flex;align-items:center;justify-content:center;padding:20px;
  opacity:0;pointer-events:none;transition:opacity .2s ease;
}
.modal-overlay.open{opacity:1;pointer-events:auto}
.modal{
  background:#fff;border-radius:var(--radius-lg);padding:36px 32px;
  width:100%;max-width:420px;position:relative;box-shadow:var(--shadow-lg);
  transform:translateY(12px);transition:transform .2s ease;
  max-height:90vh;overflow-y:auto;
}
.modal-overlay.open .modal{transform:none}
.modal-close{
  position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--gris);background:var(--panel);
}
.modal-close:hover{color:var(--navy)}
.modal-close svg{width:18px;height:18px}
.modal h3{font-size:1.3rem;margin-bottom:8px;color:var(--navy)}
.modal-sub{font-size:.92rem;color:var(--gris);line-height:1.5;margin-bottom:22px}
.demo-form{display:flex;flex-direction:column;gap:14px}
.demo-form label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600;color:var(--tinta)}
.demo-form input{
  font-family:inherit;font-size:.96rem;padding:11px 14px;border-radius:var(--radius-sm);
  border:1.5px solid var(--linea);color:var(--tinta);background:#fff;
}
.demo-form input:focus{outline:none;border-color:var(--indigo)}
.demo-form .btn{margin-top:6px;width:100%}
.modal-msg{font-size:.86rem;text-align:center;min-height:1.2em}
.modal-msg.ok{color:var(--ok)}
.modal-msg.err{color:var(--crit)}
body.modal-open{overflow:hidden}

/* ============ CIERRE / DEMO ============ */
.cierre{
  background:radial-gradient(900px 460px at 85% 0%, rgba(125,140,255,.2), transparent 60%), var(--navy);
  color:#fff;border-radius:28px;padding:64px 56px;
  display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;
}
.cierre h2{font-size:clamp(1.6rem,3vw,2.1rem);color:#fff;margin-bottom:14px;line-height:1.22}
.cierre p{font-size:1rem;line-height:1.6;color:rgba(255,255,255,.82);margin-bottom:26px;max-width:520px}
.cierre .adapt-line{font-weight:700;color:var(--hl);margin-top:-14px}
.firma-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius-md);padding:26px}
.firma-card .names{font-family:'Poppins',sans-serif;font-weight:700;font-size:1.02rem;color:#fff;line-height:1.5;margin-bottom:6px}
.firma-card .org{font-size:.86rem;color:rgba(255,255,255,.68);margin-bottom:16px}
.firma-card .btn{width:100%}
@media (max-width:880px){.cierre{grid-template-columns:1fr;padding:44px 28px}}

/* ============ FOOTER ============ */
.site-footer{background:#0A1638;color:rgba(255,255,255,.7);padding:48px 0 28px}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-brand .brand{margin-bottom:10px}
.footer-brand p{font-size:.88rem;line-height:1.6;color:rgba(255,255,255,.55);max-width:320px}
.footer-cta{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.footer-cta span{font-size:.82rem;color:rgba(255,255,255,.55)}
.wa-link{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#fff;font-size:.98rem}
.wa-link svg{width:18px;height:18px;stroke:var(--whatsapp)}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:22px;font-size:.82rem;color:rgba(255,255,255,.45)}
.footer-bottom a{color:rgba(255,255,255,.75);font-weight:600}
.footer-bottom a:hover{color:#fff}

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float{
  position:fixed;bottom:22px;right:22px;z-index:60;
  width:58px;height:58px;border-radius:50%;background:var(--whatsapp);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 14px 30px -10px rgba(37,211,102,.6);
  transition:transform .18s ease;
}
.wa-float:hover{transform:scale(1.06)}
.wa-float svg{width:30px;height:30px;fill:#fff}

/* ============ reveal on scroll ============ */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ============ responsive ============ */
@media (max-width:980px){
  .hero .container{grid-template-columns:1fr;gap:44px}
  .phone-wrap{max-width:320px;margin:0 auto}
  .comms .container{grid-template-columns:1fr}
  .grid3{grid-template-columns:repeat(2,1fr)}
  .pilares{grid-template-columns:1fr}
  .crecer{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .grid3{grid-template-columns:1fr}
  .crecer{grid-template-columns:1fr}
  .hero-ctas{flex-direction:column;align-items:stretch}
  .hero-ctas .btn{width:100%}
  .hero-stats{gap:22px}
  .footer-top{flex-direction:column}
}
