/* Full-width header and footer with balanced navigation columns. */
.site-header,.page-home .site-header{background:#fff}
.site-header .header-row{display:grid;grid-template-columns:minmax(max-content,.85fr) auto minmax(130px,1fr);column-gap:32px;width:calc(100% - 64px);max-width:none}
.header-row>.brand{justify-self:start}
.header-row>.desktop-nav{justify-self:center;gap:38px}
.header-actions{justify-self:end;display:flex;align-items:center;gap:12px;white-space:nowrap}
.header-actions .header-contact{display:inline-flex;background:transparent;color:#24354c;padding-inline:12px;transition:color .18s,transform .18s}
.header-actions .header-contact:hover{color:var(--blue);transform:translateY(-2px)}
.header-support{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 16px;border:1px solid var(--blue);border-radius:2px;background:var(--blue);color:#fff;font-size:16px;line-height:24px;transition:background .18s,transform .18s,box-shadow .18s}
.header-support svg{width:21px;height:21px;flex-shrink:0}
.header-support:hover{background:#003eae;border-color:#003eae;transform:translateY(-2px);box-shadow:0 5px 14px #0052d91f}
footer{background:#fff;border-top:1px solid #e2e8f1}
footer>.container{width:calc(100% - 64px);max-width:none}
footer .footer-top{grid-template-columns:minmax(320px,1.6fr) minmax(170px,.8fr) minmax(150px,.7fr) minmax(220px,1fr);gap:clamp(28px,4vw,88px);padding-block:52px}
footer .footer-top>div{min-width:0;background:transparent}
footer .footer-top>div:first-child>p{max-width:560px;color:#4d5a6e;line-height:1.9}
footer .footer-top h3{margin-bottom:18px}
footer .footer-top>div>a:not(.brand){color:#48556b;transition:color .16s,transform .16s}
footer .footer-top>div>a:not(.brand):hover{color:var(--blue);transform:translateX(3px)}
footer .footer-top a.footer-telegram{display:flex;align-items:center;gap:12px;margin:0 0 18px;color:var(--blue)}
.footer-telegram svg{width:36px;height:36px;flex:0 0 36px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.footer-telegram span{display:flex;flex-direction:column;gap:2px;min-width:0}
.footer-telegram small{font-size:15px;color:#566279}
.footer-telegram strong{font-size:20px;font-weight:500;overflow-wrap:anywhere}
.footer-contact>p{margin:0 0 16px;font-size:16px}
.footer-contact .button{font-size:16px;min-height:42px;padding:8px 20px}
footer .copyright{border-color:#e2e8f1;color:#657187}
.commerce-jumps a.is-active{color:#fff;background:var(--blue)}
@media(max-width:1320px) and (min-width:981px){
 .site-header .header-row{grid-template-columns:auto minmax(0,1fr) auto;gap:20px}
 .header-row>.desktop-nav{justify-self:center;gap:20px}
 footer .footer-top{grid-template-columns:minmax(270px,1.4fr) repeat(2,minmax(140px,.8fr)) minmax(190px,1fr);gap:24px}
}
@media(max-width:980px){
 .site-header .header-row{display:flex;justify-content:space-between}
 footer .footer-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
 footer .footer-top>div:first-child{grid-column:1/-1}
 footer .footer-top>div:first-child>p{max-width:720px}
}
@media(max-width:700px){
 .site-header .header-row,footer>.container{width:calc(100% - 32px)}
 footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px;padding-block:36px}
 footer .footer-top>.footer-contact{grid-column:1/-1;padding-top:24px;border-top:1px solid #e2e8f1}
 footer .copyright{flex-direction:column;gap:6px}
}
@media(prefers-reduced-motion:reduce){footer .footer-top>div>a:not(.brand){transition:none}}
