/* Shared MPP footer. Keep every rule scoped to this component. */
.mpp-footer {
    background: radial-gradient(ellipse at 100% 0, #173c61 0, transparent 45%), #0c1c2d;
    border-top: 4px solid #3c90e5;
    color: #fff;
    font-size: 15px;
    line-height: 1.65;
}
.mpp-footer *, .mpp-footer *::before, .mpp-footer *::after { box-sizing: border-box; }
.mpp-footer .mpp-footer__inner { width: min(100%, 1300px); margin: 0 auto; padding: 0 40px; }
.mpp-footer a { color: #fff; text-decoration: none; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease; }
.mpp-footer a:hover { color: #9bceff; text-decoration: underline; text-underline-offset: 5px; }
.mpp-footer a:focus-visible { outline: 3px solid #9bceff; outline-offset: 4px; border-radius: 3px; }
.mpp-footer h2 { margin: 0 0 14px; font-size: 16px; line-height: 1.4; font-weight: 700; color: #fff; }
.mpp-footer p { margin: 0; overflow-wrap: anywhere; }
.mpp-footer ul { list-style: none; padding: 0; margin: 0; }
.mpp-footer .mpp-footer__invitation { padding: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid #34495f; }
.mpp-footer .mpp-footer__invitation h2 { font-size: clamp(24px, 2.6vw, 34px); max-width: 600px; margin-bottom: 10px; }
.mpp-footer .mpp-footer__invitation p { color: #d3dfeb; font-size: 17px; }
.mpp-footer .mpp-footer__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.mpp-footer .mpp-footer__button { display: inline-flex; min-height: 52px; padding: 12px 22px; align-items: center; justify-content: center; background: #3c90e5; border: 1px solid #3c90e5; border-radius: 6px; color: #081b2e; font-weight: 700; text-align: center; }
.mpp-footer .mpp-footer__button:hover { color: #081b2e; background: #9bceff; border-color: #9bceff; text-decoration: none; }
.mpp-footer .mpp-footer__button--outline { background: transparent; color: #fff; border-color: #8aa8c5; flex-direction: column; }
.mpp-footer .mpp-footer__button span { display: block; font-size: 13px; font-weight: 400; }
.mpp-footer .mpp-footer__main { display: grid; grid-template-columns: 1.15fr 1.2fr .8fr 1.1fr; gap: 34px; padding: 44px 0; }
.mpp-footer .mpp-footer__main > *, .mpp-footer .mpp-footer__licenses > * { min-width: 0; }
.mpp-footer .mpp-footer__main nav li a { display: flex; min-height: 44px; align-items: center; padding: 6px 0; }
.mpp-footer .mpp-footer__badge { display: block; width: 100px; max-width: 100%; height: auto; margin: 0 0 18px; }
.mpp-footer .mpp-footer__brand h2 { font-size: 22px; }
.mpp-footer .mpp-footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mpp-footer .mpp-footer__social a { display: inline-flex; align-items: center; min-height: 44px; }
.mpp-footer .mpp-footer__community { border-top: 1px solid #34495f; padding: 30px 0; }
.mpp-footer .mpp-footer__chambers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mpp-footer .mpp-footer__chambers a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 112px; padding: 18px 24px; border: 1px solid #47627c; border-radius: 6px; }
.mpp-footer .mpp-footer__chambers img { display: block; width: auto; max-width: 100%; height: 72px; object-fit: contain; }
.mpp-footer .mpp-footer__chamber--light { background: #fff; }
.mpp-footer .mpp-footer__licenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 6px 0 30px; }
.mpp-footer .mpp-footer__license { padding: 24px; border: 1px solid #47627c; border-radius: 6px; background: #13283d; }
.mpp-footer .mpp-footer__license h2 { color: #a6d3ff; font-size: 15px; }
.mpp-footer .mpp-footer__license p { font-size: 15px; line-height: 1.9; }
.mpp-footer .mpp-footer__related { border-top: 1px solid #34495f; padding: 24px 0; }
.mpp-footer .mpp-footer__related h2 { margin: 0 0 6px; font-size: 14px; color: #d3dfeb; }
.mpp-footer .mpp-footer__related ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.mpp-footer .mpp-footer__related a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.mpp-footer .mpp-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 24px 0 32px; border-top: 1px solid #34495f; font-size: 13px; color: #d3dfeb; }
.mpp-footer .mpp-footer__bottom p + p { margin-top: 6px; }
.mpp-footer .mpp-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.mpp-footer .mpp-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1050px) {
    .mpp-footer .mpp-footer__invitation { align-items: flex-start; flex-direction: column; }
    .mpp-footer .mpp-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 600px) {
    .mpp-footer .mpp-footer__inner { padding: 0 20px; }
    .mpp-footer .mpp-footer__invitation { padding: 32px 0; }
    .mpp-footer .mpp-footer__actions { width: 100%; flex-direction: column; }
    .mpp-footer .mpp-footer__main { grid-template-columns: 1fr; padding: 32px 0; gap: 28px; }
    .mpp-footer .mpp-footer__chambers, .mpp-footer .mpp-footer__licenses { grid-template-columns: 1fr; }
    .mpp-footer .mpp-footer__chambers a { min-height: 112px; }
    .mpp-footer .mpp-footer__license { padding: 20px 16px; }
    .mpp-footer .mpp-footer__license p { font-size: 14px; }
    .mpp-footer .mpp-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .mpp-footer a { transition: none; }
}
