
/* Round 10 — unified site footer */
.site-footer{box-sizing:border-box;width:100%;margin:0;padding:30px 0 34px;border-top:1px solid #44363c;background:#141319;color:#c5bdb4;font:14px/1.65 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.site-footer .footer-inner{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:32px;width:min(1180px,calc(100% - 56px));max-width:1180px;margin:0 auto;padding:0}
.site-footer .footer-brand{min-width:0}
.site-footer .footer-name{display:block;color:#f0e7dc;font-size:23px;font-weight:720;letter-spacing:-.03em;line-height:1.2;margin:0 0 10px}
.site-footer .footer-description{max-width:49ch;margin:0;color:#c5bdb4;line-height:1.65;font-size:14px}
.site-footer .footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px 20px;margin:2px 0 0;padding:0;font:inherit}
.site-footer .footer-links a{color:#e1d8ce;font-weight:550;text-decoration:none;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.site-footer .footer-links a:hover,.site-footer .footer-links a[aria-current=page]{color:#eca77b}
.site-footer .footer-links a:focus-visible{outline:2px solid #eca77b;outline-offset:4px;border-radius:2px}
body.ux-page .site-footer .footer-inner{width:min(1080px,100%)}
@media(max-width:850px){.site-footer .footer-inner{grid-template-columns:1fr;gap:20px}.site-footer .footer-links{justify-content:flex-start;gap:10px 18px}}
@media(max-width:620px){.site-footer{padding:24px 0 28px}.site-footer .footer-inner{width:calc(100% - 32px);gap:18px}.site-footer .footer-name{font-size:21px}.site-footer .footer-links{gap:10px 16px}.site-footer .footer-links a{font-size:14px}}
@media print{.site-footer{display:none!important}}

/* Round 18 — outer footer follows the same grid as the homepage, visible statistics informer */
@media screen {
body .site-footer {box-sizing:border-box;width:min(1180px,calc(100% - 56px));max-width:1180px;margin:24px auto 28px;padding:24px 0 16px;border:1px solid #44363c;border-radius:12px;background:#141319;overflow:hidden;}
body .site-footer .footer-inner,body.ux-page .site-footer .footer-inner {box-sizing:border-box;width:100%;max-width:none;padding:0 24px;gap:20px 32px;margin:0;}
.site-footer .footer-metrika {grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;min-height:44px;padding:12px 0 0;border-top:1px solid #352b30;}
.site-footer .footer-metrika a {display:inline-flex;align-items:center;justify-content:center;min-height:31px;text-decoration:none;}
.site-footer .footer-metrika a:focus-visible {outline:2px solid #eca77b;outline-offset:4px;}
.site-footer .footer-metrika img {display:block;width:88px;height:31px;max-width:100%;object-fit:contain;}
@media(max-width:850px){body .site-footer .footer-inner,body.ux-page .site-footer .footer-inner{grid-template-columns:1fr;gap:16px;}}
@media(max-width:620px){body .site-footer{width:calc(100% - 32px);margin:16px auto 20px;padding:18px 0 12px;}body .site-footer .footer-inner,body.ux-page .site-footer .footer-inner{width:100%;padding:0 16px;gap:16px;}.site-footer .footer-metrika{padding-top:10px;}}
}
