/* Footer copied from source/Простоспец.dc.html; constant inline styles below are verbatim.
   The host supplies its containing block and external gap: 12px + 44px spacer + 12px.
   Existing body/main flex keeps the footer pinned on short pages. */
.new-footer-host{box-sizing:border-box;width:100%;max-width:1250px;padding:0 14px 14px;margin:68px auto 0;overflow-x:clip}
.new-footer{font-family:var(--font);font-weight:400;min-width:0;background:transparent}
.new-footer__root{position:relative; z-index:1; margin:auto -14px -14px; padding:40px 24px 32px; border-top:1px solid var(--line2); display:flex; flex-direction:column; align-items:center; gap:26px}
.new-footer__mobile{width:100%; display:flex; flex-direction:column; gap:14px}
.new-footer__groups{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px}
.new-footer__group{display:flex; flex-direction:column; gap:2px; padding:8px 6px 10px; border-radius:18px; background:var(--card); box-shadow:inset 0 0 0 1px var(--line2)}
.new-footer__heading{padding:4px 10px 6px; font-size:11.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted2)}
.new-footer__mobile-brand{display:flex; justify-content:center; padding:10px 4px 0}
.new-footer__mobile-copyright{text-align:center; font-size:13px; color:var(--muted); margin-top:-4px}
.new-footer__mobile-powered{display:flex; justify-content:center; padding-top:4px}
.new-footer__badge-mobile{display:flex; align-items:center; gap:10px; padding:8px 14px 8px 10px; border-radius:14px; box-shadow:inset 0 0 0 1px var(--line2); color:var(--muted)}
.new-footer__badge-image{width:64px; height:35px; flex:none; background-size:contain; background-position:center; background-repeat:no-repeat}
.new-footer__badge-text{font-size:12.5px; line-height:1.3}
.new-footer__nav{display:flex; flex-wrap:wrap; justify-content:center; column-gap:clamp(18px, 2.4vw, 32px); row-gap:10px; font-size:15px; font-weight:500}
.new-footer__desktop{width:100%; max-width:1250px; box-sizing:border-box; padding:0 8px; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:20px}
.new-footer__desktop-brand{display:flex; flex-direction:column; align-items:center; gap:12px}
.new-footer__desktop-copyright{font-size:14px; color:var(--muted)}
.new-footer__desktop-powered{display:flex; justify-content:flex-end}
.new-footer__badge-desktop{display:flex; align-items:center; gap:10px; padding:8px 14px 8px 10px; border-radius:14px; box-shadow:inset 0 0 0 1px var(--line2); color:var(--muted); transition:box-shadow .2s, color .2s}
.new-footer [data-m="mob"]{display:none}
.new-footer__link{color:var(--ink2);text-decoration:none;transition:color .18s}
.new-footer__link:hover{color:var(--accent)}
.new-footer [data-m="mob"] .new-footer__link{display:block; padding:8px 10px; font-size:14.5px; line-height:1.3; color:var(--ink2)}
.new-footer__brand{display:flex;max-width:100%}
.new-footer__logo{height:clamp(27px, 2.9vw, 35px);width:auto;max-width:100%;object-fit:contain;vertical-align:middle}
.new-footer-badge{max-width:100%;text-decoration:none}
.new-footer-badge img{object-fit:contain;filter:grayscale(1) contrast(1.05);opacity:0.75;transition:filter .3s,opacity .3s}
.new-footer-badge span{max-width:140px}
.new-footer-badge:hover,.new-footer-badge:active,.new-footer-badge:focus-visible{box-shadow:inset 0 0 0 1px var(--dash);color:var(--ink2);text-decoration:none}
.new-footer-badge:hover img,.new-footer-badge:active img,.new-footer-badge:focus-visible img{filter:none;opacity:1}
.new-footer a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){
 .new-footer{padding:40px 12px;margin-top:0}
 .new-footer [data-m="desk"]{display:none}
 .new-footer [data-m="mob"]{display:flex}
 .new-footer__groups{grid-template-columns:minmax(0,1fr)}
 .new-footer__logo{height:31px}
}
/* Reserve space for the persistent navigation through the real header breakpoint. */
@media(max-width:1023px){.new-footer{padding-bottom:calc(104px + env(safe-area-inset-bottom, 0px))}}
