/* Estilos exclusivos de la página Departamentos */
.santo-dept{--sd-navy:#003366;--sd-dark:#001a38;--sd-gold:#c7a45b;--sd-blue:#2678b8;--sd-sky:#eaf5ff;--sd-purple:#6b4ba3;color:#263f56;overflow:clip}
.santo-dept *,.santo-dept *::before,.santo-dept *::after{box-sizing:border-box}
.santo-dept #directorio{scroll-margin-top:90px}
.santo-dept .santo-dept-hero{position:relative;isolation:isolate;overflow:hidden;padding:115px 0 125px;background:linear-gradient(120deg,#001a38 0%,#003366 65%,#34458b 100%);color:#fff}
.santo-dept .santo-dept-hero-inner{position:relative;z-index:2}
.santo-dept .santo-dept-eyebrow,.santo-dept .santo-dept-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:2px;color:#dfc487;margin-bottom:22px}
.santo-dept .santo-dept-hero h1{max-width:850px;font-size:clamp(43px,6vw,76px);line-height:1.1;font-weight:800;color:#fff;margin:0 0 25px}
.santo-dept .santo-dept-hero h1 em{font-style:normal;color:#dfc487}
.santo-dept .santo-dept-hero p{max-width:650px;color:#e0edfb;font-size:17px;line-height:1.9;margin-bottom:30px}
.santo-dept .santo-dept-hero-link{display:inline-flex;align-items:center;gap:12px;padding:14px 23px;background:#dfc487;color:#002b58;border-radius:9px;font-weight:800;text-decoration:none;transition:transform .2s,background .2s}
.santo-dept .santo-dept-hero-link:hover{transform:translateY(-3px);background:#f1dca9;color:#002b58}
.santo-dept .santo-dept-hero-orb{position:absolute;right:-120px;top:-140px;width:470px;height:470px;border-radius:50%;border:85px solid rgba(255,255,255,.05);pointer-events:none}
.santo-dept .santo-dept-directory{padding:90px 0 110px;background:linear-gradient(180deg,#f4f9fe,#fff)}
.santo-dept .santo-dept-heading{text-align:center;max-width:750px;margin:0 auto 38px}
.santo-dept .santo-dept-heading h2{font-size:clamp(30px,4vw,47px);font-weight:800;color:var(--sd-navy);margin:0 0 16px}
.santo-dept .santo-dept-heading p{font-size:16px;color:#5f7388;line-height:1.8}
.santo-dept .santo-dept-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:18px}
.santo-dept .santo-dept-filter{appearance:none;border:1px solid #d2e2ef;background:#fff;color:#345572;padding:11px 17px;border-radius:999px;font-size:13px;font-weight:700;cursor:pointer;transition:background .2s,color .2s,transform .2s,border-color .2s}
.santo-dept .santo-dept-filter:hover{border-color:#6b4ba3;color:#563589;transform:translateY(-2px)}
.santo-dept .santo-dept-filter.is-active{background:var(--sd-navy);color:#fff;border-color:var(--sd-navy);box-shadow:0 7px 18px rgba(0,51,102,.15)}
.santo-dept .santo-dept-filter:focus-visible{outline:3px solid #b08add;outline-offset:3px}
.santo-dept .santo-dept-result{text-align:center;color:#718398;font-size:13px;margin-bottom:38px}
.santo-dept .santo-dept-list{display:grid;gap:36px}
.santo-dept .santo-dept-section{padding:36px;background:#fff;border:1px solid #e1eaf2;border-radius:22px;box-shadow:0 15px 45px rgba(0,51,102,.06);scroll-margin-top:110px}
.santo-dept .santo-dept-section[hidden]{display:none!important}
.santo-dept .santo-dept-section-header{display:flex;align-items:flex-start;gap:20px;margin-bottom:27px}
.santo-dept .santo-dept-section-icon{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:17px;background:linear-gradient(145deg,#e3f3ff,#eee7fb);color:#5e4d99;font-size:27px}
.santo-dept .santo-dept-section-title>span{display:block;color:#aa8646;font-size:11px;letter-spacing:1.8px;font-weight:800;margin-bottom:6px}
.santo-dept .santo-dept-section-title h3{color:var(--sd-navy);font-size:clamp(26px,3vw,36px);font-weight:800;margin:0 0 8px}
.santo-dept .santo-dept-section-title p{color:#64798c;line-height:1.75;margin:0}
.santo-dept .santo-dept-group{overflow:hidden;border-radius:15px;background:#e9f3fb;margin-bottom:26px}
.santo-dept .santo-dept-group-photo{position:relative;min-height:230px;background:#e4eff8}
.santo-dept .santo-dept-group-photo img{display:block;width:100%;max-height:580px;object-fit:contain;margin:auto}
.santo-dept .santo-dept-group-label{padding:14px 20px;background:var(--sd-navy);color:#fff;font-weight:700;font-size:14px}
.santo-dept .santo-dept-group-label i{color:#dfc487;margin-right:9px}
.santo-dept .santo-dept-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.santo-dept .santo-dept-person{overflow:hidden;background:#fff;border:1px solid #e1eaf2;border-radius:16px;box-shadow:0 9px 25px rgba(0,51,102,.04);transition:transform .25s,box-shadow .25s}
.santo-dept .santo-dept-person:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(0,51,102,.11)}
.santo-dept .santo-dept-person-photo{height:295px;position:relative;background:linear-gradient(150deg,#d7edfa,#e7e1f7);overflow:hidden}
.santo-dept .santo-dept-person-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.santo-dept .santo-dept-person-content{padding:23px 22px 26px}
.santo-dept .santo-dept-person-role{display:block;color:#8865a6;text-transform:uppercase;letter-spacing:1px;font-weight:800;font-size:11px;margin-bottom:9px}
.santo-dept .santo-dept-person-content h4{color:var(--sd-navy);font-size:23px;line-height:1.25;font-weight:800;margin:0 0 13px}
.santo-dept .santo-dept-person-content blockquote{font-style:italic;color:#5e7185;font-size:14px;line-height:1.75;margin:0;border-left:3px solid var(--sd-gold);padding-left:12px}
.santo-dept .santo-dept-people-single{grid-template-columns:minmax(0,750px)}
.santo-dept .santo-dept-people-single .santo-dept-person{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:stretch}
.santo-dept .santo-dept-people-single .santo-dept-person-photo{height:300px}
.santo-dept .santo-dept-people-single .santo-dept-person-content{display:flex;flex-direction:column;justify-content:center;padding:30px}
.santo-dept .santo-dept-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;position:absolute;inset:0;padding:20px;color:#5e83a7;font-size:13px;font-weight:700}
.santo-dept .santo-dept-placeholder[hidden]{display:none!important}
.santo-dept .santo-dept-placeholder i{font-size:48px;opacity:.7}
.santo-dept .santo-dept-placeholder-group{position:relative;min-height:300px}
.santo-dept .santo-dept-closing{padding:85px 0;background:linear-gradient(125deg,#001a38,#003366);color:#fff;text-align:center}
.santo-dept .santo-dept-closing span{display:block;color:#dfc487;font-size:12px;letter-spacing:2px;font-weight:800;margin-bottom:20px}
.santo-dept .santo-dept-closing h2{max-width:800px;margin:0 auto 22px;color:#fff;font-size:clamp(30px,4.5vw,54px);font-weight:800;line-height:1.2}
.santo-dept .santo-dept-closing p{color:#dfc487;font-size:18px;font-weight:700;margin:0}
@media(max-width:991.98px){.santo-dept .santo-dept-people{grid-template-columns:repeat(2,minmax(0,1fr))}.santo-dept .santo-dept-people-single{grid-template-columns:minmax(0,750px)}}
@media(max-width:575.98px){.santo-dept .santo-dept-hero{padding:75px 0}.santo-dept .santo-dept-directory{padding:65px 0}.santo-dept .santo-dept-section{padding:23px 18px}.santo-dept .santo-dept-section-header{gap:12px}.santo-dept .santo-dept-section-icon{flex-basis:52px;width:52px;height:52px;font-size:22px}.santo-dept .santo-dept-people{grid-template-columns:1fr}.santo-dept .santo-dept-people-single .santo-dept-person{display:block}.santo-dept .santo-dept-person-photo,.santo-dept .santo-dept-people-single .santo-dept-person-photo{height:310px}.santo-dept .santo-dept-filters{justify-content:flex-start}.santo-dept .santo-dept-filter{font-size:12px;padding:10px 14px}.santo-dept .santo-dept-closing{padding:70px 0}}
@media(prefers-reduced-motion:reduce){.santo-dept .santo-dept-filter,.santo-dept .santo-dept-person,.santo-dept .santo-dept-hero-link{transition:none}}

/* Easter egg de Sistemas: estilos aislados */
.santo-dept [data-santo-easter-egg]{cursor:pointer}
.santo-dept [data-santo-easter-egg]:focus-visible{outline:3px solid #c7a45b;outline-offset:3px}
.santo-dept .santo-dept-egg-overlay[hidden],.santo-dept .santo-dept-egg-credit[hidden]{display:none!important}
.santo-dept .santo-dept-egg-overlay{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px;background:rgba(0,20,43,.78)}
.santo-dept .santo-dept-egg-dialog{position:relative;width:min(100%,430px);max-height:95vh;overflow-y:auto;background:#fff;border-radius:20px;padding:28px;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.28)}
.santo-dept .santo-dept-egg-kicker{color:#a6813e;font-size:11px;font-weight:800;letter-spacing:2px}
.santo-dept .santo-dept-egg-dialog h2{color:#003366;font-size:30px;font-weight:800;margin:8px 0}
.santo-dept .santo-dept-egg-dialog>p{font-size:14px;color:#61758a}
.santo-dept .santo-dept-egg-close{position:absolute;top:8px;right:12px;background:transparent;border:0;color:#003366;font-size:32px;cursor:pointer}
.santo-dept .santo-dept-egg-board{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:288px;margin:20px auto}
.santo-dept .santo-dept-egg-board button{aspect-ratio:1;border:2px solid #d9e7f3;border-radius:12px;background:#f1f7fc;color:#003366;font-size:42px;font-weight:800;cursor:pointer}
.santo-dept .santo-dept-egg-board button:focus-visible{outline:3px solid #c7a45b}
.santo-dept .santo-dept-egg-board button:disabled{cursor:default;opacity:1}
.santo-dept .santo-dept-egg-status{font-weight:700;color:#003366!important}
.santo-dept .santo-dept-egg-credit{padding:16px;border:1px solid #dfc487;border-radius:12px;background:#fffaf0;color:#003366}
.santo-dept .santo-dept-egg-credit strong{display:block;margin-bottom:8px}
.santo-dept .santo-dept-egg-credit p{margin-bottom:6px}
.santo-dept .santo-dept-egg-restart{margin-top:14px;background:#003366;color:white;border:0;border-radius:9px;padding:12px 22px;font-weight:700;cursor:pointer}
