/* Shared UI pilot: existing footer classes, scoped by this page's stylesheet. */
.site-footer{background:var(--green);color:var(--paper);padding-block:44px 24px;border-top:0}
.footer-body{grid-template-columns:minmax(150px,1.05fr) minmax(100px,.65fr) minmax(140px,.9fr) minmax(180px,1.15fr) minmax(180px,1fr);gap:24px}
.footer-identity,.footer-column{min-width:0}
.site-footer .footer-brand{font-size:30px;line-height:1.1;letter-spacing:-1.2px}
.site-page .site-footer .brand span{color:var(--paper)}
.site-footer .footer-identity p{font-size:15px;color:#d1d9cf;line-height:1.65;margin-top:18px;max-width:28ch}
.footer-column-title{font:600 12px/1.6 var(--sans);letter-spacing:1.5px;text-transform:uppercase;color:#c5d0bf;margin-bottom:12px}
.site-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0;font-size:15px}
.site-footer nav a{text-decoration:none;min-height:44px;line-height:1.5;padding-block:8px;max-width:100%}
.site-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.site-footer :is(a,button):focus-visible{outline-color:#f1cd86;outline-offset:4px}
.site-footer .footer-contacts{padding:0;margin:0;border:0}
.site-footer .footer-contacts>a{text-decoration:none;font-size:15px;min-height:44px;line-height:1.5}
.site-footer .footer-contacts .footer-phone{font-size:18px;font-weight:600}
.site-footer .footer-messengers{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin-top:2px}
.site-footer .footer-messengers a{font-size:14px;min-height:44px}
.site-footer .footer-meta{grid-template-columns:auto minmax(0,1fr);gap:36px;border-top:1px solid #668073;margin-top:32px;padding-top:20px;align-items:start}
.footer-signature{font-size:12px;font-weight:600;letter-spacing:.4px;padding-top:3px}
.site-footer .site-footer-note{padding:0;font-size:12px;line-height:1.7;color:#d1d9cf;max-width:95ch}
.back-to-top{position:fixed;right:calc(20px + env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));z-index:4;display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;padding:0;border:1px solid #80998b;border-radius:50%;background:var(--paper);color:var(--green);cursor:pointer;transition:background-color .15s,transform .15s}
.back-to-top[hidden]{display:none}
.back-to-top:hover{background:#e5eadf;transform:translateY(-2px)}
.back-to-top:focus-visible{outline:3px solid #a66e26;outline-offset:4px}
@media(max-width:1279px){
 .footer-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px}
 .footer-identity{grid-column:1/-1}
 .site-footer .footer-identity p{max-width:46ch}
}
@media(max-width:700px){
 .site-footer{padding-block:32px 20px}
 .footer-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
 .footer-identity,.footer-documents,.footer-contact-column{grid-column:1/-1}
 .site-footer .footer-identity p{max-width:34ch}
 .footer-column-title{margin-bottom:8px}
 .site-footer nav a{text-decoration:none;font-size:14px}
 .site-footer .footer-messengers{flex-direction:row;flex-wrap:wrap;gap:0 22px}
 .site-footer .footer-meta{display:block;margin-top:28px;padding-top:18px}
 .site-footer .site-footer-note{margin-top:12px}
 .back-to-top{right:calc(14px + env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){
 .back-to-top{transition:none}
 .back-to-top:hover{transform:none}
}

.site-footer .footer-documents{margin:0;padding:0;border:0}
.site-footer .footer-legal{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0;font-size:14px}
.site-footer .footer-legal a{font-size:14px;min-height:44px;line-height:1.6;overflow-wrap:anywhere}

/* Consolidation A: scoped shared controls, without changing layout/menu logic. */
.site-page .header nav>.primary-nav-link{font-size:15px;font-weight:500}
.site-page .header .contact-phone{text-decoration:none}
.site-page .header .contact-phone:hover{text-decoration:underline;text-underline-offset:4px}
.site-page .header a.button:is(:hover,:focus-visible){text-decoration:none;border-bottom:1px solid var(--green)}
.site-page .header a.button:focus-visible{outline:3px solid #a66e26;outline-offset:4px}
.site-footer a:focus-visible{text-decoration:underline;text-underline-offset:5px}
.site-footer .footer-messengers a{text-decoration:none}
.site-footer nav a:hover,.site-footer .footer-contacts>a:hover,.site-footer .footer-messengers a:hover{text-decoration:underline}

/* Mobile UX 01: no floating control over a mobile service CTA. */
@media(max-width:960px){.back-to-top{display:none}}
