/* Shared public footer. Namespaced to avoid the legacy theme's widget styles. */
.site-footer.firm-footer {
    background: var(--brand-primary, #262b3e);
    color: #e9eaf0;
    border-top: 2px solid var(--brand-accent, #c9b38c);
    font-size: 15px;
    line-height: 1.7;
}
.firm-footer-inner { width: calc(100% - 96px); max-width: 1680px; margin: 0 auto; }
.firm-footer a { color: #f0f0f4; text-decoration: none; }
.firm-footer a:hover { color: var(--brand-accent, #c9b38c); text-decoration: underline; text-underline-offset: 5px; }
.firm-footer a:focus-visible { outline: 2px solid var(--brand-accent, #c9b38c); outline-offset: 5px; border-radius: 1px; }
.firm-footer-invitation { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 58px 0 44px; border-bottom: 1px solid #ffffff30; }
.firm-footer-invitation h2 { margin: 0 0 14px; color: #fff; font: 400 clamp(30px, 2.7vw, 48px)/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.7px; }
.firm-footer-invitation p { margin: 0; color: #d9dce5; font-size: 17px; line-height: 1.65; }
.firm-footer .firm-footer-cta { display: inline-flex; align-items: center; justify-content: center; gap: 24px; flex: none; min-height: 58px; padding: 16px 24px; background: var(--brand-accent, #c9b38c); color: #202638; font-size: 15px; font-weight: 700; line-height: 1.5; transition: background-color .18s ease, box-shadow .18s ease; }
.firm-footer .firm-footer-cta:hover { color: #202638; background: #e1cca8; text-decoration: none; box-shadow: 0 0 0 1px #e1cca8; }
.firm-footer-icon { display: block; width: 22px; height: 22px; flex: none; }
.firm-footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .85fr 1.1fr; gap: 56px; padding: 54px 0 58px; }
.firm-footer-grid > * { min-width: 0; }
.firm-footer-logo { display: inline-block; max-width: 100%; }
.firm-footer-logo img { display: block; width: 340px; max-width: 100%; height: auto; aspect-ratio: 2160 / 600; object-fit: contain; object-position: left center; }
.firm-footer-about p { max-width: 360px; margin: 22px 0 0; color: #d9dce5; font-size: 15px; line-height: 1.85; }
.firm-footer-column h3 { margin: 0 0 24px; color: var(--brand-accent, #c9b38c); font: 400 24px/1.3 Georgia, 'Times New Roman', serif; }
.firm-footer ul { list-style: none; margin: 0; padding: 0; }
.firm-footer-column li + li { margin-top: 11px; }
.firm-footer-column a { display: inline-block; padding: 2px 0; font-size: 15px; }
.firm-footer-contact address { font-style: normal; margin: 0; }
.firm-footer-contact li { display: flex; gap: 13px; align-items: flex-start; line-height: 1.7; overflow-wrap: anywhere; }
.firm-footer-contact .firm-footer-icon { width: 20px; height: 20px; color: var(--brand-accent, #c9b38c); margin-top: 4px; }
.firm-footer-contact li span { padding: 2px 0; }
.firm-footer-secondary { display: grid; gap: 4px; margin: 24px 0 0 33px; overflow-wrap: anywhere; }
.firm-footer-secondary > span { color: #d9dce5; font-size: 13px; }
.firm-footer-socials { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.firm-footer-socials a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.firm-footer-socials .firm-footer-icon { width: 14px; height: 14px; }
.firm-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px 36px; padding: 25px 0 27px; border-top: 1px solid #ffffff30; }
.firm-footer-bottom p { margin: 0; color: #d9dce5; font-size: 13px; line-height: 1.7; }
.firm-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.firm-footer-bottom a { display: inline-block; padding: 5px 0; font-size: 13px; }
@media (max-width: 1399px) {
    .firm-footer-grid { gap: 36px; grid-template-columns: 1.2fr .65fr .85fr 1.15fr; }
    .firm-footer-invitation h2 { font-size: 38px; }
}
@media (max-width: 1199px) {
    .firm-footer-inner { width: calc(100% - 48px); }
    .firm-footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 72px; padding: 44px 0; }
    .firm-footer-invitation { gap: 32px; }
    .firm-footer-invitation h2 { font-size: 34px; }
    .firm-footer-invitation p { font-size: 15px; }
    .firm-footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .firm-footer-inner { width: calc(100% - 36px); }
    .firm-footer-invitation { flex-direction: column; align-items: flex-start; gap: 24px; padding: 38px 0 32px; }
    .firm-footer-invitation h2 { max-width: 560px; font-size: 34px; line-height: 1.2; letter-spacing: -.5px; }
    .firm-footer-invitation p { max-width: 440px; line-height: 1.75; }
    .firm-footer .firm-footer-cta { min-height: 54px; gap: 24px; padding: 14px 22px; }
    .firm-footer-grid { gap: 32px 28px; padding: 34px 0; }
    .firm-footer-about, .firm-footer-contact { grid-column: 1 / -1; }
    .firm-footer-logo img { width: 320px; }
    .firm-footer-about p { max-width: 460px; margin-top: 16px; }
    .firm-footer-column h3 { margin-bottom: 18px; font-size: 23px; }
    .firm-footer-column a { font-size: 14px; }
    .firm-footer-column li + li { margin-top: 9px; }
    .firm-footer-bottom { align-items: flex-start; gap: 16px; padding: 23px 0; }
    .firm-footer-bottom p { max-width: 380px; font-size: 12px; }
    .firm-footer-bottom ul { gap: 6px 23px; }
    .firm-footer-bottom a { font-size: 12px; }
}
@media (max-width: 359px) {
    .firm-footer-grid { column-gap: 18px; }
    .firm-footer-column h3 { font-size: 21px; }
    .firm-footer-column a { font-size: 13px; }
    .firm-footer-bottom nav { width: 100%; }
    .firm-footer-bottom ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .firm-footer .firm-footer-cta { transition: none; }
}
