div[data-site-header]{min-height:76px;background:#fff;border-bottom:1px solid #e5e9ed}
/* =========================================================
   Manuales Operativos — cabecera y footer compartidos
   ========================================================= */
.mo-site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #e5e9ed;
}
.mo-header-inner{
  width:min(1180px,calc(100% - 40px));
  min-height:76px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:28px;
}
.mo-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#101820;
  text-decoration:none;
  font-size:18px;
  letter-spacing:-.3px;
}
.mo-brand-icon{
  width:38px;
  height:38px;
  border-radius:8px;
  background:#122231;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
}
.mo-nav-cta{
  margin-left:auto;
  color:#101820;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  padding:11px 17px;
  border:1px solid #101820;
  border-radius:7px;
  transition:.18s ease;
}
.mo-nav-cta:hover{
  background:#122231;
  color:#fff;
}

.mo-site-footer{
  background:#0c151c;
  color:#d6dadd;
  padding:58px 0 25px;
}
.mo-footer-inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}
.mo-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:50px;
}
.mo-brand-footer{color:#fff}
.mo-site-footer p{
  font-size:13px;
  color:#98a2aa;
}
.mo-footer-column{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.mo-footer-column>strong{
  color:#fff;
  margin-bottom:4px;
}
.mo-footer-column a{
  color:#aab3ba;
  text-decoration:none;
  font-size:13px;
}
.mo-footer-column a:hover{color:#fff}
.mo-footer-cookie-link{
  border:0;
  background:transparent;
  color:#aab3ba;
  padding:0;
  text-align:left;
  cursor:pointer;
  font:inherit;
  font-size:13px;
}
.mo-footer-cookie-link:hover{color:#fff}
.mo-footer-bottom{
  border-top:1px solid #273038;
  margin-top:40px;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  color:#77838c;
  font-size:12px;
}

@media(max-width:650px){
  .mo-header-inner,
  .mo-footer-inner{
    width:min(100% - 28px,1180px);
  }
  .mo-header-inner{min-height:68px}
  .mo-brand{font-size:15px}
  .mo-brand-icon{width:34px;height:34px}
  .mo-nav-cta{font-size:13px;padding:9px 13px}
  .mo-footer-grid{
    grid-template-columns:1fr 1fr;
    gap:34px 24px;
  }
  .mo-footer-grid>div:first-child{
    grid-column:1/-1;
  }
  .mo-footer-bottom{
    display:block;
  }
  .mo-footer-bottom span{
    display:block;
  }
  .mo-footer-bottom span+span{
    margin-top:6px;
  }
}


/* ---------- Cookie consent ---------- */
.cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:100;background:#fff;border:1px solid #dfe4e7;border-radius:14px;box-shadow:0 24px 70px rgba(8,20,29,.22);padding:22px}
.cookie-banner[hidden],.cookie-settings[hidden]{display:none}
.cookie-inner{width:min(1120px,100%);margin:auto;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center}
.cookie-copy strong{display:block;font-size:16px;margin-bottom:5px}
.cookie-copy p{font-size:13px;color:#59656e;margin:0;max-width:760px}
.cookie-copy a{font-weight:800;text-decoration:underline;text-underline-offset:2px}
.cookie-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.cookie-btn{border:1px solid #122231;background:#122231;color:#fff;padding:11px 16px;border-radius:7px;font-weight:800;font-size:13px;cursor:pointer;min-width:120px}
.cookie-btn.reject{background:#fff;color:#122231}
.cookie-btn.settings{background:#eef1f2;color:#101820;border-color:#d8dee2}
.cookie-settings{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:20px}
.cookie-settings-backdrop{position:absolute;inset:0;background:rgba(4,12,18,.68)}
.cookie-settings-card{position:relative;width:min(620px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:14px;padding:30px;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.cookie-settings-card h2{font-family:Georgia,'Times New Roman',serif;margin:4px 0 8px}
.cookie-settings-card>p{color:#65717d;font-size:14px}
.cookie-setting-row{display:flex;justify-content:space-between;gap:24px;padding:18px 0;border-top:1px solid #e5e9ed}
.cookie-setting-row h3{font-size:15px;margin:0 0 4px}
.cookie-setting-row p{font-size:12px;color:#65717d;margin:0}
.cookie-always{font-size:11px;font-weight:800;text-transform:uppercase;color:#94743d;white-space:nowrap}
.cookie-switch{position:relative;width:48px;height:27px;flex:0 0 auto}
.cookie-switch input{opacity:0;width:0;height:0}
.cookie-slider{position:absolute;cursor:pointer;inset:0;background:#c8d0d5;border-radius:99px;transition:.2s}
.cookie-slider:before{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;background:white;border-radius:50%;transition:.2s;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.cookie-switch input:checked+.cookie-slider{background:#122231}
.cookie-switch input:checked+.cookie-slider:before{transform:translateX(21px)}
.cookie-settings-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}
.cookie-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:27px;cursor:pointer}
.cookie-status{font-size:12px;background:#f6f7f5;border-radius:7px;padding:10px 12px;margin-top:16px;color:#53606a}

@media(max-width:760px){
  .cookie-banner{left:10px;right:10px;bottom:10px;padding:17px}
  .cookie-inner{grid-template-columns:1fr;gap:16px}
  .cookie-actions{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}
  .cookie-btn{min-width:0}
  .cookie-btn.settings{grid-column:1/-1}
  .legal-content{padding-top:45px}
  .legal-table{display:block;overflow-x:auto}
}
