/* 3.9 - scoped footer, ornament and back to top */
@media(min-width:851px){
 .footer{position:relative;isolation:isolate;overflow:hidden}
 .footer::before{content:"";position:absolute;pointer-events:none;right:-105px;top:12px;width:390px;height:390px;opacity:.18;background:url('../images/subtle-flourish.svg') no-repeat center/contain;z-index:0;transform:rotate(-12deg)}
 .footer::after{content:"";position:absolute;pointer-events:none;left:25%;bottom:-170px;width:390px;height:390px;border:1px solid rgba(197,218,190,.13);border-radius:50%;z-index:0}
 .footer>.shell{position:relative;z-index:1}
}
.footer-social{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 18px}
.footer-social a{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(232,241,230,.2);background:rgba(255,255,255,.045);border-radius:999px;padding:8px 13px;font-size:.82rem;font-weight:650;transition:background .2s,border-color .2s,transform .2s}
.footer-social a:hover{transform:translateY(-2px);background:rgba(255,255,255,.1);border-color:rgba(232,241,230,.42);color:#fff}
.footer-social svg{display:block;width:17px;height:17px}
.footer-privacy-link{font-size:.86rem;text-decoration:underline;text-decoration-color:rgba(255,255,255,.28);text-underline-offset:4px}
@media(max-width:580px){
 .footer-bottom{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;text-align:left!important;white-space:nowrap;font-size:clamp(.56rem,2.4vw,.72rem)!important}
 .footer-bottom span{min-width:0;letter-spacing:-.015em}
 .footer-social{margin:16px 0}
}
.site-header .header-actions .phone-link strong{font-weight:450!important}
.oko-scroll-top{position:fixed;right:26px;bottom:27px;z-index:35;width:46px;height:46px;display:grid;place-items:center;border:1px solid #d3e4d5;background:#e9f1e8;color:#284e3c;border-radius:50%;box-shadow:0 12px 25px rgba(25,47,36,.13);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px);transition:opacity .22s,visibility .22s,transform .22s,background .22s}
.oko-scroll-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.oko-scroll-top:hover{background:#dcebdc;transform:translateY(-3px)}
.oko-scroll-top svg{width:20px;height:20px;display:block;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:850px){.oko-scroll-top{bottom:calc(105px + env(safe-area-inset-bottom));right:17px;width:43px;height:43px}}
@media(prefers-reduced-motion:reduce){.oko-scroll-top{transition:none}}
/* Footer links should remain horizontal, despite the generic shortcut-list rule. */
.footer-grid .footer-social a{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;white-space:nowrap}
.footer-grid .footer-social a span{display:inline-flex;align-items:center}
.footer-grid .footer-social a svg{width:17px;height:17px;flex-shrink:0}
