/* ERPAS study-case footer — aligned with the main-site footer */
body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
main{flex:1 0 auto}

.site-footer{
    margin-top:auto;
    padding:54px 0 24px;
    background:#0f1426;
    color:#fff;
    border-top:1px solid rgba(255,255,255,.06);
}
.erp-footer-grid{
    display:grid;
    grid-template-columns:minmax(260px,1.6fr) repeat(4,minmax(130px,1fr));
    gap:36px;
    padding-bottom:36px;
}
.erp-footer-brand{padding-right:18px}
.erp-footer-logo{
    display:inline-block;
    margin-bottom:14px;
    color:#fff;
    text-decoration:none;
    font-size:25px;
    line-height:1;
    font-weight:850;
    letter-spacing:-.025em;
}
.erp-footer-brand p{
    margin:0;
    max-width:360px;
    color:rgba(255,255,255,.58);
    font-size:13px;
    line-height:1.75;
}
.site-footer h2{
    margin:0 0 16px;
    color:#fff;
    font-size:12px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.075em;
    text-transform:uppercase;
}
.site-footer ul{
    display:grid;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}
.site-footer li{font-size:13px;color:rgba(255,255,255,.58)}
.site-footer a{
    color:rgba(255,255,255,.68);
    text-decoration:none;
    transition:color .18s ease;
}
.site-footer a:hover,.site-footer a:focus-visible{color:#fff}
.erp-footer-contact li{
    display:flex;
    gap:9px;
    align-items:flex-start;
}
.erp-footer-contact svg{
    flex:0 0 15px;
    width:15px;
    height:15px;
    margin-top:3px;
    fill:rgba(255,255,255,.48);
}
.erp-footer-contact a{overflow-wrap:anywhere}
.erp-footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.16);
    color:rgba(255,255,255,.48);
    font-size:12px;
}
.erp-footer-bottom a{color:rgba(255,255,255,.72)}

@media(max-width:980px){
    .erp-footer-grid{grid-template-columns:1.5fr repeat(2,1fr)}
    .erp-footer-brand{grid-row:span 2}
}
@media(max-width:700px){
    .site-footer{padding-top:42px}
    .erp-footer-grid{grid-template-columns:1fr 1fr;gap:30px 24px}
    .erp-footer-brand{grid-column:1/-1;grid-row:auto;padding-right:0}
    .erp-footer-brand p{max-width:520px}
}
@media(max-width:480px){
    .erp-footer-grid{grid-template-columns:1fr}
    .erp-footer-brand{grid-column:auto}
    .erp-footer-bottom{flex-direction:column}
}
