/* Devantia: estilos compartidos de cabecera y pie. Editar aquí para aplicar cambios a todas las páginas. */
/* DEVANTIA — cabecera y pie compartidos con las paginas de nivel.
   CSS extraido de devantia_l1_base_digital.html; solo aplica a <header class="site">
   y <footer class="site"> para no alterar el contenido de las paginas legales. */
header.site, footer.site {
 --ink:#0f172a; --navy:#041e47; --deep:#083675; --brand:#1572b6; --cyan:#3ac9da;
 --cyan-ink:#0e7185; --tint:#e7f1fb; --tint2:#f4f8fd; --line:#dde7f1; --mute:#54657c; --paper:#fff;
 --disp:'Fraunces',Georgia,serif; --body:'Inter',system-ui,sans-serif;
 font-family:var(--body); line-height:1.5;
}
header.site *,footer.site *{box-sizing:border-box;}
header.site .wrap, footer.site .wrap{max-width:1280px; margin:0 auto; padding:0 32px;}
header.site{position:sticky; top:0; z-index:60; background:rgba(4,30,71,.82); backdrop-filter:blur(12px); border-bottom:1px solid rgba(255,255,255,.10);}
header.site .wrap{display:flex; align-items:center; justify-content:space-between; height:74px;}
header.site .logo{display:inline-flex; align-items:center; text-decoration:none;}
header.site .logo-img{height:40px; width:auto; display:block;}
header.site nav.links{display:flex; gap:30px;}
header.site nav.links a{font-size:.92rem; color:#bcd0ea; text-decoration:none; transition:color .2s;}
header.site nav.links a:hover{color:#fff;}
header.site .nav-cta{font-size:.86rem; font-weight:700; color:var(--navy); background:var(--cyan); padding:.62rem 1.1rem; border-radius:9px; text-decoration:none; transition:transform .2s,background .2s;}
header.site .nav-cta:hover{transform:translateY(-1px); background:#5fdcec;}
@media (max-width:920px){header.site nav.links{display:none;}}
footer.site{background:#03142d; color:#90a6c4; border-top:1px solid rgba(255,255,255,.08);}
footer.site .foot-creds{border-bottom:1px solid rgba(255,255,255,.08); padding:18px 0;}
footer.site .foot-creds .wrap{display:flex; flex-wrap:wrap; gap:10px 30px; font-size:.8rem; color:#8aa0bf;}
footer.site .foot-creds b{color:#bcd0ea; font-weight:600;}
footer.site .foot-main{padding:56px 0 42px;}
footer.site .foot-grid{display:grid; grid-template-columns:1fr; gap:40px;}
@media (min-width:760px){footer.site .foot-grid{grid-template-columns:1.7fr 1fr 1fr 1fr; gap:44px;}}
footer.site .foot-brand .logo-img{height:34px; margin-bottom:18px;}
footer.site .foot-brand p{font-size:.9rem; color:#90a6c4; line-height:1.6; max-width:38ch;}
footer.site .foot-col h4{font-size:.74rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#bcd0ea; margin-bottom:15px;}
footer.site .foot-col a{display:block; font-size:.9rem; color:#90a6c4; text-decoration:none; margin-bottom:11px; transition:color .2s;}
footer.site .foot-col a:hover{color:#fff;}
footer.site .foot-col .plain{color:#7e93b2;}
footer.site .foot-bottom{border-top:1px solid rgba(255,255,255,.08); padding:22px 0;}
footer.site .foot-bottom .wrap{display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:.8rem; color:#8aa0bf;}
footer.site .foot-bottom .lg a{color:#8aa0bf; text-decoration:none; margin-left:20px;}
footer.site .foot-bottom .lg a:hover{color:#fff;}
header.site .hidden{display:none !important;}
header.site .menu-btn{display:none; flex-direction:column; gap:5px; width:42px; height:42px; align-items:center; justify-content:center; background:transparent; border:1px solid rgba(255,255,255,.18); border-radius:10px; cursor:pointer;}
header.site .menu-btn .hamburger-line{display:block; width:20px; height:2px; background:#dbe8f7; border-radius:2px; transition:transform .25s, opacity .25s;}
header.site .logo .logo-text{font-family:var(--disp); font-weight:600; font-size:1.4rem; letter-spacing:.04em; color:#fff;}
header.site .mobile-menu{display:flex; flex-direction:column; padding:8px 22px 18px; background:rgba(4,30,71,.98); border-top:1px solid rgba(255,255,255,.08);}
header.site .mobile-menu a{color:#cdddf0; text-decoration:none; font-size:1rem; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.07);}
header.site .mobile-menu a.m-cta{color:var(--navy); background:var(--cyan); border:none; border-radius:9px; text-align:center; font-weight:700; margin-top:14px; padding:13px;}
@media (max-width:920px){header.site .menu-btn{display:flex;}header.site .nav-cta{display:none;}}

/* Interacciones del menú, comunes a todas las páginas. */
header.site #menu-btn.menu-open .hamburger-line:nth-child(1){transform:translateY(7px) rotate(45deg);}
header.site #menu-btn.menu-open .hamburger-line:nth-child(2){opacity:0;}
header.site #menu-btn.menu-open .hamburger-line:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media (min-width:1101px){header.site #mobile-menu{display:none !important;}}


/* Seis enlaces de navegación: no apretarlos a resoluciones intermedias. */
@media (max-width:1100px){
  header.site nav.links{display:none;}
  header.site .menu-btn{display:flex;}
  header.site .nav-cta{display:none;}
}
/* Las hojas originales ocultan #mobile-menu con !important desde 921px; 
   recuperar su visibilidad entre 921 y 1100px cuando se abre. */
@media (min-width:921px) and (max-width:1100px){
  header.site #mobile-menu:not(.hidden){display:flex !important;}
}
@media (min-width:1101px){
  header.site nav.links{gap:clamp(14px,1.8vw,24px);}
  header.site nav.links a{font-size:.89rem;white-space:nowrap;}
}
