.header .brand{flex:0 1 auto;min-width:0;padding:0;border-radius:5px;background:transparent}
.header .brand img{display:block;width:clamp(96px,15vw,150px);height:auto;filter:none}
.header-in{min-height:88px}
.site-footer{margin-top:clamp(2rem,5vw,4rem);border-top:1px solid var(--line);background:#1b152d}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.2fr);gap:clamp(1rem,4vw,3rem);padding-block:clamp(1.4rem,4vw,2.5rem)}
.footer-grid h2{font-size:1rem;font-weight:900;margin:0 0 .5rem;color:var(--ink)}
.footer-grid p,.footer-list{color:var(--muted);font-size:.84rem}
.footer-grid p{max-width:48ch}
.footer-address{font-style:normal;color:var(--muted);font-size:.84rem;line-height:1.9;max-width:48ch;border-inline-start:2px solid currentColor;padding-inline-start:.65rem;margin-top:.85rem}.footer-address strong{color:var(--ink)}
.footer-list{display:flex;flex-wrap:wrap;align-items:baseline;gap:.38rem .6rem;margin:0;padding:0;list-style:none}
.footer-list a{display:inline-flex;align-items:center;min-height:35px;line-height:1.5}
.footer-phone{color:var(--lime);font-size:1.12rem;font-weight:900;white-space:nowrap}
.footer-links a{padding:.22rem .56rem;border:1px solid var(--line);border-radius:8px}
.site-footer a:hover{color:var(--lime);text-decoration:underline;text-underline-offset:.22em}
@media(max-width:650px){.header-in{min-height:64px}.footer-grid{grid-template-columns:1fr;gap:1.1rem;padding-bottom:calc(6rem + env(safe-area-inset-bottom,0px))}.footer-grid>:not(:first-child){border-top:1px solid var(--line);padding-top:.9rem}.footer-list a{min-height:44px}}
