/* =========================================================================
   METROPARK — подвал 2026 (desktop): бегущая строка брендов + тёмный подвал в 4 колонки.
   Резиновый: min(1240px, 100% − поля). Старое `* { font-size:10px; color:#444 }` → шрифт/цвет явно.
   ========================================================================= */
.mp-foot, .mp-foot * { box-sizing: border-box; font-family: "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif; }
.mp-foot { position: relative; width: 100%; clear: both; }
.mp-foot ul { list-style: none; margin: 0; padding: 0; }
.mp-foot svg, .mp-foot svg * { color: inherit !important; }
.mp-foot__in { width: min(1240px, 100% - clamp(32px, 5vw, 64px)); margin: 0 auto; }

/* ---------- бегущая строка брендов ---------- */
.mp-brands {
	position: relative; overflow: hidden; padding: 22px 0; background: #fff;
	border-top: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6;
}
/* мягкое затухание краёв — белыми накладками (маска пропускала пёстрый фон страницы) */
.mp-brands::before, .mp-brands::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 9vw, 160px); z-index: 2; pointer-events: none; }
.mp-brands::before { left: 0; background: linear-gradient(90deg, #fff 15%, rgba(255, 255, 255, 0)); }
.mp-brands::after { right: 0; background: linear-gradient(270deg, #fff 15%, rgba(255, 255, 255, 0)); }
.mp-brands__track { display: flex; width: max-content; animation: mp-marquee calc(var(--n, 30) * 2.4s) linear infinite; }
.mp-brands:hover .mp-brands__track, .mp-brands:focus-within .mp-brands__track { animation-play-state: paused; }
.mp-brands__list { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); padding-right: clamp(28px, 3.4vw, 56px); }
.mp-brands__list li { flex: none; }
.mp-brands__list a { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 4px; border-radius: 10px; transition: transform .3s; }
.mp-brands__list img {
	display: block; max-height: 44px; width: auto; max-width: 150px;
	filter: grayscale(1); opacity: .6; transition: filter .35s, opacity .35s;
}
.mp-brands__list a:hover { transform: translateY(-2px); }
.mp-brands__list a:hover img, .mp-brands__list a:focus-visible img { filter: none; opacity: 1; }
.mp-brands__list a:focus-visible { outline: 2px solid #2b8de0; outline-offset: 4px; }
@keyframes mp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- основной подвал ---------- */
.mp-foot__main { background: #080626; color: #c9cbe0; padding: clamp(40px, 4.5vw, 64px) 0 clamp(32px, 3.5vw, 48px); position: relative; overflow: hidden; }
.mp-foot__main::before {   /* мягкое фирменное свечение */
	content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 140%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(43, 141, 224, .16), transparent 70%);
}
.mp-foot__main .mp-foot__in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.1fr; gap: clamp(24px, 3vw, 48px); }
.mp-foot__h { margin: 0 0 16px; font-size: 13px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; }

.mp-foot__logo { display: inline-block; line-height: 0; }
.mp-foot__logo img { width: 230px; max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .95; transition: opacity .2s; }
.mp-foot__logo:hover img { opacity: 1; }
.mp-foot__tag { margin: 12px 0 18px; font-size: 14px !important; line-height: 1.5; color: #9fa3c4 !important; }
.mp-foot__social { display: flex; gap: 8px; }
.mp-foot__social a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
	transition: background .2s, transform .2s, border-color .2s;
}
.mp-foot__social svg { width: 19px; height: 19px; fill: currentColor; }
.mp-foot__social a:hover { background: #ec5870; border-color: #ec5870; transform: translateY(-2px); }

.mp-foot__nav { display: grid; gap: 10px; }
.mp-foot__nav a, .mp-foot__nav a:visited {
	position: relative; font-size: 14.5px !important; color: #c9cbe0 !important; text-decoration: none; transition: color .2s, padding .2s;
}
.mp-foot__nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: #ec5870; transition: width .2s; }
.mp-foot__nav a:hover { color: #fff !important; padding-left: 14px; }
.mp-foot__nav a:hover::before { width: 8px; }

.mp-foot__contacts { display: grid; gap: 12px; margin-bottom: 16px; }
.mp-foot__contacts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px !important; line-height: 1.45; color: #c9cbe0 !important; }
.mp-foot__contacts li * { font-size: 14.5px !important; color: #c9cbe0 !important; }
.mp-foot__contacts svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: #2b8de0; color: #2b8de0 !important; }
.mp-foot__contacts a { text-decoration: none; transition: color .2s; }
.mp-foot__contacts a:hover { color: #fff !important; }
.mp-foot__muted { color: #7f84a8 !important; }
/* статус в подвале — на тёмном фоне */
.mp-status--foot { background: rgba(22, 163, 74, .14) !important; border-color: rgba(22, 163, 74, .35) !important; }
.mp-status--foot .mp-status__state { color: #4ade80 !important; }
.mp-status--foot .mp-status__time { color: #a7c9b4 !important; }
.mp-status--foot.is-closed { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .14) !important; }
.mp-status--foot.is-closed .mp-status__state { color: #e5e7eb !important; }
.mp-status--foot.is-closed .mp-status__time { color: #9fa3c4 !important; }

.mp-foot__text { margin: 0 0 16px; font-size: 14px !important; line-height: 1.5; color: #9fa3c4 !important; }
.mp-foot__btn, .mp-foot__btn:visited {
	display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; margin: 0 8px 8px 0;
	border-radius: 999px; background: #ec5870; color: #fff !important; text-decoration: none;
	font-size: 13.5px !important; font-weight: 700; letter-spacing: .03em; transition: background .2s, transform .2s;
}
.mp-foot__btn:hover { background: #d43d57; transform: translateY(-1px); }
.mp-foot__btn--ghost, .mp-foot__btn--ghost:visited { background: transparent; border: 1px solid rgba(255, 255, 255, .28); }
.mp-foot__btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.mp-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* ---------- нижняя строка ---------- */
.mp-foot__bar { background: #05041a; border-top: 1px solid rgba(255, 255, 255, .06); }
.mp-foot__in--bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.mp-foot__in--bar > span:first-child { font-size: 13px !important; color: #7f84a8 !important; }
/* LiveInternet продолжает считать, но без пустой рамки в подвале */
.mp-foot__counter { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) { .mp-foot__main .mp-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.mp-foot__main .mp-foot__in { grid-template-columns: minmax(0, 1fr); }
	.mp-brands__list img { max-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.mp-brands { overflow-x: auto; }
	.mp-brands__track { animation: none; }
}
