/* Header y footer globales - propuesta de diseño 2026 */
.site-header-shell{width:100%;background:#fff;border-bottom:1px solid #ece9ef}
.site-header{width:min(1480px,92%);height:94px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 20px}
.site-header-logo img{width:190px;max-width:48vw;display:block}
.site-menu-btn{width:52px;height:52px;border:0;background:transparent;color:#493480;border-radius:12px;display:grid;place-items:center}
.site-menu-btn i{font-size:38px;line-height:1}
.site-menu-btn:hover{background:#f7f4fa}
.site-offcanvas{--bs-offcanvas-width:min(380px,88vw)}
.site-offcanvas .offcanvas-header{color:#493480;border-bottom:1px solid #eee}
.site-offcanvas .offcanvas-body{display:flex;flex-direction:column;gap:8px}
.site-offcanvas .offcanvas-body a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:12px;color:#493480;text-decoration:none;font-weight:800}
.site-offcanvas .offcanvas-body a:hover{background:#493480;color:#fff}
.site-footer{background:#493480;color:#fff;padding:42px 5%}
.site-footer-inner{width:min(1420px,100%);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:35px}
.site-footer h3,.site-footer h4{margin:0 0 5px;color:#fff;font-weight:900}.site-footer h3{font-size:30px}.site-footer h4{font-size:18px}
.site-footer p{margin:0;color:rgba(255,255,255,.9);font-style:italic;font-size:17px;line-height:1.25}
.site-footer-social{display:flex;gap:14px;align-items:center}.site-footer-social a{color:#fff;font-size:34px;text-decoration:none}.site-footer-social a:hover{transform:translateY(-2px)}
@media(max-width:768px){.site-header{width:100%;height:70px;padding:0 26px}.site-header-logo img{width:145px}.site-menu-btn{width:42px;height:42px}.site-menu-btn i{font-size:31px}.site-footer{padding:28px 26px}.site-footer-inner{align-items:flex-end}.site-footer h3{font-size:23px}.site-footer p{font-size:14px}.site-footer-contact h4{font-size:14px;text-align:right}.site-footer-social{gap:10px}.site-footer-social a{font-size:27px}}
@media(max-width:480px){.site-footer-inner{gap:18px}.site-footer h3{font-size:20px}.site-footer p{font-size:12px}.site-footer-social{flex-wrap:wrap;justify-content:flex-end;max-width:170px}.site-footer-social a{font-size:24px}}


/* CONTEXTUAL BACK NAVIGATION - 2026 */
.page-back-wrap{
    width:min(1480px,92%);
    margin:18px auto 0;
}
.page-back-link,
.patient-context-back{
    display:inline-flex;
    align-items:center;
    gap:9px;
    width:max-content;
    border:0;
    background:transparent;
    color:#493480;
    text-decoration:none;
    font:inherit;
    font-size:13px;
    font-weight:850;
    letter-spacing:.12em;
    text-transform:uppercase;
    cursor:pointer;
    padding:8px 2px;
    transition:transform .2s ease,color .2s ease;
}
.page-back-link i,
.patient-context-back i{
    font-size:22px;
    line-height:1;
}
.page-back-link:hover,
.page-back-link:focus-visible,
.patient-context-back:hover,
.patient-context-back:focus-visible{
    color:#2f2157;
    transform:translateX(-3px);
}
.page-back-link:focus-visible,
.patient-context-back:focus-visible{
    outline:3px solid rgba(73,52,128,.18);
    outline-offset:3px;
    border-radius:8px;
}
.patient-context-back-wrap{
    width:100%;
    margin:0 0 18px;
}
@media(max-width:768px){
    .page-back-wrap{width:calc(100% - 40px);margin-top:12px}
    .page-back-link,.patient-context-back{font-size:11px;letter-spacing:.1em}
    .page-back-link i,.patient-context-back i{font-size:20px}
}
