/* Подвал и полоса условий над ним в оформлении «Плитки» (дизайн-код §5 «Пре-футер», «Подвал»).
   Подвал белый с линией сверху (был тёмный), полоса условий — четыре цветные плитки. */

/* ---------- полоса условий /include/benefits.php ---------- */
html body.lbt .lb-trust.lb-trust { margin: var(--lb-gap) 0 0; border: 0; background: none; color: var(--lb-ink); }
html body.lbt .lb-trust__inner {
	max-width: calc(var(--lb-wrap) + 2 * var(--lb-gut));
	padding: 0 var(--lb-gut);
	gap: 16px;
}
html body.lbt .lb-trust__inner > li { display: flex; }
html body.lbt .lb-trust__item.lb-trust__item {
	flex: 1;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 28px;
	border-radius: var(--lb-r);
	background: var(--lb-blue);
	transition: background-color var(--lb-t-fast);
}
html body.lbt .lb-trust__inner > li:nth-child(2) .lb-trust__item { background: var(--lb-sage); }
html body.lbt .lb-trust__inner > li:nth-child(3) .lb-trust__item { background: var(--lb-lav); }
html body.lbt .lb-trust__inner > li:nth-child(4) .lb-trust__item { background: var(--lb-mist); }
html body.lbt .lb-trust__item.lb-trust__item:hover,
html body.lbt .lb-trust__item.lb-trust__item:focus-visible { background: var(--lb-page); box-shadow: inset 0 0 0 1.5px var(--lb-ink); }
html body.lbt .lb-trust__icon { width: 28px; height: 28px; color: var(--lb-ink); }
html body.lbt .lb-trust__title.lb-trust__title { font: 700 20px/1.2 var(--lb-display); letter-spacing: var(--lb-track-head); color: var(--lb-ink); }
html body.lbt .lb-trust__text.lb-trust__text { margin-top: 6px; font: 400 15px/1.45 var(--lb-text); color: var(--lb-ink-2); }

/* ---------- подвал ---------- */
html body.lbt #footer.lb-foot {
	margin-top: 80px;
	padding: 56px 0 40px;
	border-top: 1px solid var(--lb-line);
	background: var(--lb-page);
	color: var(--lb-ink-2);
	font: 400 15px/1.5 var(--lb-text);
}
html body.lbt #footer .lb-foot__inner {
	max-width: calc(var(--lb-wrap) + 2 * var(--lb-gut));
	padding-left: var(--lb-gut);
	padding-right: var(--lb-gut);
	box-sizing: border-box;
}
html body.lbt #footer .lb-foot__inner:first-child { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px; }
html body.lbt #footer .lb-foot__head {
	margin: 0 0 14px;
	color: var(--lb-ink);
	font: 700 17px/1.2 var(--lb-display);
	letter-spacing: var(--lb-track-head);
	text-transform: none;
}
html body.lbt #footer .footerList { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
html body.lbt #footer .footerList li { float: none; width: auto; margin: 0; padding: 0; background: none; }
html body.lbt #footer a { color: var(--lb-ink-2); text-decoration: none; }
html body.lbt #footer a:hover { color: var(--lb-ink); text-decoration: underline; text-underline-offset: 3px; }

/* колонка контактов */
html body.lbt #footer .lb-foot__col--contacts { display: grid; gap: 10px; align-content: start; }
html body.lbt #footer .lb-foot__brand img { content: url(/i/logo-full.svg); width: 200px; height: auto; }
html body.lbt #footer .lb-foot__phone { color: var(--lb-ink); font: 700 22px/1.2 var(--lb-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
html body.lbt #footer .lb-foot__mail { color: var(--lb-ink); }
html body.lbt #footer .lb-foot__facts { margin: 4px 0 0; }
html body.lbt #footer .lb-foot__facts dt { margin-top: 8px; color: var(--lb-ink-3); font: 400 13px/1.4 var(--lb-text); }
html body.lbt #footer .lb-foot__facts dd { margin: 2px 0 0; color: var(--lb-ink-2); }
html body.lbt #footer .lb-foot__facts a { color: var(--lb-ink); text-decoration: underline; text-decoration-color: var(--lb-line); text-underline-offset: 3px; }
html body.lbt #footer .lb-foot__mp-label { color: var(--lb-ink-3); font: 400 13px/1.4 var(--lb-text); }
html body.lbt #footer .lb-foot__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
html body.lbt #footer .lb-foot__market {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--lb-r-pill);
	background: var(--lb-mist);
	color: var(--lb-ink);
	font: 500 14px/1 var(--lb-text);
}
html body.lbt #footer .lb-foot__market:hover { background: var(--lb-blue); text-decoration: none; }

/* правовая строка */
html body.lbt #footer .lb-foot__inner--legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--lb-line); }
html body.lbt #footer .lb-foot__legal :is(p, span, a) { color: var(--lb-ink-3); font: 400 13px/1.5 var(--lb-text); }
html body.lbt #footer .lb-foot__legal a:hover { color: var(--lb-ink); }
html body.lbt #footer .lb-foot__pay-label { color: var(--lb-ink-3); }

/* переключатель «полная / мобильная версия» */
html body.lbt #footer .lb-foot__inner--switch { margin-top: 16px; }

@media (max-width: 1200px) {
	html body.lbt #footer .lb-foot__inner:first-child { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	html body.lbt .lb-trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* значки в подвале нарисованы белыми под старый тёмный фон: на белом их не видно */
html body.lbt #footer .lb-foot__pay :is(.brand-logo_name_mir, .brand-logo_name_visa) { filter: brightness(0) opacity(.8); }
html body.lbt #footer .lb-foot__market svg[fill="#fff"] { fill: var(--lb-ink); }
