/* ТОМОЭ: подвал (все страницы) */
body.tomoe .footer{position:relative;overflow:hidden;margin:0;padding:clamp(56px,8vw,110px) 0 0;background:var(--t-bg-2);color:var(--t-grey);border-top:1px solid var(--t-line);font-family:var(--t-sans);letter-spacing:0;width:100%}
body.tomoe .footer::before{content:"";position:absolute;left:-10%;top:-20%;width:60%;height:80%;background:radial-gradient(closest-side,rgba(142,15,15,.22),transparent);pointer-events:none}
body.tomoe .footer .content{position:relative;z-index:1}
body.tomoe .footer a{color:var(--t-white);transition:color .25s}
body.tomoe .footer a:hover{color:var(--t-red)}
body.tomoe main{margin-bottom:0;padding-bottom:0}

/* верх: медаль + лозунг */
body.tomoe .footer .footer__top{display:flex;align-items:center;gap:clamp(32px,6vw,96px);padding-bottom:clamp(48px,6vw,88px);border-bottom:1px solid var(--t-line)}
body.tomoe .footer .footer__medal{position:relative;flex:0 0 auto;width:clamp(220px,26vw,380px);aspect-ratio:1/1;overflow:visible}
body.tomoe .footer .footer__medal::before{content:"";position:absolute;inset:-8%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,13,29,.28),rgba(142,15,15,.12) 60%,transparent);pointer-events:none}
body.tomoe .footer .footer__medal img{position:relative;display:block;width:100%;height:100%;animation:t-spin 40s linear infinite;filter:drop-shadow(0 0 14px rgba(255,13,29,.45))}
body.tomoe .footer .footer__medal canvas{position:absolute;inset:0;width:100%;height:100%}
body.tomoe .footer .footer__medal.is-3d img{opacity:0}
body.tomoe .footer .footer__lead{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(24px,3vw,40px)}
body.tomoe .footer .footer__slogan{margin:0;font-size:clamp(38px,6vw,88px);line-height:1.02;color:var(--t-white)}
body.tomoe .footer .footer__slogan .t-serif{display:inline}
body.tomoe .footer .footer__slogan .t-grot{color:var(--t-red);text-transform:uppercase;display:block}
body.tomoe .footer .footer__lead .btn-pill{color:#fff}

/* колонки */
body.tomoe .footer .footer__cols{display:grid;grid-template-columns:1fr 1.4fr 1.2fr;gap:clamp(32px,5vw,80px);padding:clamp(40px,5vw,72px) 0}
body.tomoe .footer .footer__h{margin:0 0 20px}
body.tomoe .footer .footer__menu a{display:inline-block;padding:6px 0;font-size:16px;text-decoration:none}
body.tomoe .footer .footer__menu div:first-child a{padding-top:0}
body.tomoe .footer .footer__links,body.tomoe .footer .footer__sched{list-style:none;margin:0;padding:0}
body.tomoe .footer .footer__links li{margin:0 0 14px}
body.tomoe .footer .footer__links a{display:inline-flex;align-items:center;gap:14px;font-size:16px;text-decoration:none}
body.tomoe .footer .footer__links svg{flex:0 0 22px;width:22px;height:22px;fill:currentColor}
body.tomoe .footer .footer__links em{font-style:normal;color:var(--t-grey);margin-left:6px;font-size:14px}
body.tomoe .footer .footer__addr{font-style:normal;color:var(--t-white);font-size:16px;line-height:1.5;margin:0 0 22px}
body.tomoe .footer .footer__sched li{display:flex;justify-content:space-between;gap:16px;max-width:280px;padding:10px 0;border-bottom:1px solid var(--t-line);font-size:15px}
body.tomoe .footer .footer__sched b{font-weight:500;color:var(--t-white)}
body.tomoe .footer .footer__sched span{font-family:var(--t-grot);letter-spacing:.06em;color:var(--t-red)}

/* низ */
body.tomoe .footer .footer__bottom{display:flex;justify-content:space-between;align-items:center;gap:12px 24px;flex-wrap:wrap;padding:22px 0 26px;border-top:1px solid var(--t-line);font-size:13px;color:var(--t-grey)}
body.tomoe .footer .footer__credit{margin:0;padding:0;border:0;text-align:right;font-size:13px;letter-spacing:0;color:var(--t-grey)}
body.tomoe .footer .footer__credit a{color:var(--t-white);border-bottom:1px solid rgba(255,13,29,.6);text-decoration:none}
body.tomoe .footer .footer__credit a:hover{color:var(--t-red);border-color:var(--t-red)}

@media (max-width:900px){
  body.tomoe .footer .footer__top{flex-direction:column;text-align:center}
  body.tomoe .footer .footer__medal{width:clamp(200px,58vw,260px)}
  body.tomoe .footer .footer__lead{align-items:center}
  body.tomoe .footer .footer__cols{grid-template-columns:1fr;gap:36px}
  body.tomoe .footer .footer__bottom{flex-direction:column;text-align:center}
  body.tomoe .footer .footer__credit{text-align:center}
}
@media (prefers-reduced-motion:reduce){body.tomoe .footer .footer__medal img{animation:none}}

/* сброс наследия старой темы */
body.tomoe .footer li::before{content:none;display:none}
body.tomoe .footer .footer__menu{display:block;width:auto;margin:0;padding:0}
body.tomoe .footer .footer__menu div{display:block;margin:0;padding:0;width:auto}
