/* STUDIO PLAZA — integración técnica V13. Cabecera común en las seis páginas. */
[hidden], .sp-legacy-header[hidden] { display: none !important; }
#sp-site-header, #sp-site-header * { box-sizing:border-box; }
#sp-site-header {
  --sp-azul:#3366ff; --sp-navy:#0b1326;
  position:sticky;top:0;z-index:80;display:block;width:100%;min-height:86px;
  background:rgba(255,255,255,.97);color:var(--sp-navy);
  border-bottom:1px solid #e9edf5;box-shadow:0 2px 15px rgba(10,24,55,.035);
  font-family:Arial, Helvetica, sans-serif;backdrop-filter:blur(14px);
}
#sp-site-header a { text-decoration:none; }
#sp-site-header .sp-head-inner { height:86px;width:min(1380px,calc(100% - 64px));margin:auto;display:flex;align-items:center;gap:25px; }
#sp-site-header .sp-brand { flex:none;display:inline-flex;align-items:center;width:158px;line-height:0; }
#sp-site-header .sp-brand img {display:block;width:100%;height:auto;max-height:73px;object-fit:contain;}
#sp-site-header .sp-site-nav {margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:clamp(15px,2.1vw,31px);}
#sp-site-header .sp-site-nav > a:not(.sp-mobile-cta){display:inline-flex;align-items:center;white-space:nowrap;position:relative;height:86px;font-size:13px;font-weight:850;letter-spacing:.035em;color:#15223e;line-height:1.2;transition:color .18s ease;}
#sp-site-header .sp-site-nav > a:hover,
#sp-site-header .sp-site-nav > a[aria-current="page"] {color:var(--sp-azul);}
#sp-site-header .sp-site-nav > a[aria-current="page"]::after {content:"";position:absolute;height:3px;border-radius:6px;background:var(--sp-azul);left:0;right:0;bottom:15px;}
#sp-site-header .sp-talk {display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;flex:none;min-height:44px;padding:0 23px;border-radius:40px;color:#fff;background:var(--sp-azul);font-size:12px;font-weight:850;letter-spacing:.04em;transition:transform .18s ease,background .18s ease;}
#sp-site-header .sp-talk:hover {background:#204cdb;transform:translateY(-2px);}
#sp-site-header .sp-mobile-toggle {display:none;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid #dce2ef;border-radius:50px;background:#fff;color:#12213e;font-weight:850;font-size:12px;cursor:pointer;}
#sp-site-header .sp-mobile-toggle span{font-size:20px;line-height:1;}
#sp-site-header .sp-mobile-cta {display:none;}
#sp-site-header a:focus-visible,#sp-site-header button:focus-visible{outline:3px solid #ffcc00;outline-offset:3px;}
html{scroll-padding-top:100px;}
@media(max-width:1100px){
  #sp-site-header .sp-head-inner {width:calc(100% - 48px);height:78px;}
  #sp-site-header {min-height:78px;}
  #sp-site-header .sp-brand{width:144px;}
  #sp-site-header .sp-site-nav {display:none;position:absolute;top:100%;right:24px;left:24px;flex-direction:column;gap:0;align-items:stretch;justify-content:initial;margin:0;padding:12px;background:#fff;border:1px solid #e4e8f2;box-shadow:0 18px 42px rgba(10,20,45,.13);border-radius:0 0 18px 18px;max-height:min(76vh,640px);overflow-y:auto;}
  #sp-site-header .sp-site-nav.sp-open{display:flex;}
  #sp-site-header .sp-site-nav > a:not(.sp-mobile-cta){height:auto;min-height:50px;padding:14px 16px;border-radius:9px;font-size:14px;}
  #sp-site-header .sp-site-nav > a[aria-current="page"]{background:#edf2ff;}
  #sp-site-header .sp-site-nav > a[aria-current="page"]::after{display:none;}
  #sp-site-header .sp-talk{margin-left:auto;}
  #sp-site-header .sp-mobile-toggle{display:inline-flex;}
}
@media(max-width:600px){
  #sp-site-header,#sp-site-header .sp-head-inner{min-height:70px;height:70px;}
  #sp-site-header .sp-head-inner{width:calc(100% - 28px);gap:10px;}
  #sp-site-header .sp-brand{width:122px;}
  #sp-site-header .sp-talk{display:none;}
  #sp-site-header .sp-mobile-toggle{margin-left:auto;min-width:46px;width:46px;padding:0;border-radius:50%;font-size:0;}
  #sp-site-header .sp-site-nav{left:14px;right:14px;}
  #sp-site-header .sp-site-nav .sp-mobile-cta{display:block;height:auto;min-height:48px;margin-top:6px;text-align:center;line-height:48px;border-radius:9px;color:#fff;background:var(--sp-azul);font-size:14px;font-weight:850;}
}
@media(prefers-reduced-motion:reduce){#sp-site-header *{transition:none!important}}

/* RC4 / Cabecera: enlace oficial Instagram y llamada desde HABLEMOS. */
#sp-site-header .sp-instagram{width:40px;height:40px;flex:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce2ef;border-radius:50%;background:#fff;color:#2856e2;transition:background .18s ease,border-color .18s ease,transform .18s ease;}
#sp-site-header .sp-instagram:hover{background:#edf2ff;border-color:#9eb5fb;transform:translateY(-2px)}
#sp-site-header .sp-instagram svg{display:block;width:19px;height:19px;flex:none}
@media(max-width:1100px){#sp-site-header .sp-instagram{margin-left:auto}#sp-site-header .sp-talk{margin-left:0}}
@media(max-width:600px){#sp-site-header .sp-instagram{width:38px;height:38px;margin-left:auto}#sp-site-header .sp-mobile-toggle{margin-left:0}}
