/* Подвал сайта (/inc/layout/site-footer.php). Подключается на всех страницах через canonical.php.
   Макет: логотип и три колонки (разделы, контакты, документы), линия, юридический текст мелко,
   крупная строка «Имеются противопоказания…». Цвета сайта: фон #EBEDFA, текст #232323, акцент #7786B8. */

.site_footer {
	padding: 56px 0 48px;
	background: #EBEDFA;
	color: #232323;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

	.sf_top {
		display: grid;
		grid-template-columns: 1fr 1.1fr 1.4fr 1.2fr;
		gap: 40px 32px;
		padding-bottom: 32px;
		border-bottom: 1px solid #BFC0C5;
	}

	.sf_logo img {
		display: block;
		width: 63px;
		height: auto;
	}

	.sf_col {
		display: flex;
		flex-direction: column;
		gap: 20px;
		min-width: 0;
	}

	.sf_title {
		font-size: 16px;
		font-weight: 500;
		line-height: 22px;
	}

	.sf_col ul {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin: 0;
		padding: 0;
		list-style: none;
		color: #6E7080;
		font-size: 16px;
		line-height: 22px;
	}

	.sf_col a {
		color: #6E7080;
		text-decoration: none;
		transition: color .2s ease-in-out;
	}

		.sf_col a:hover,
		.sf_col a:focus-visible {
			color: #7786B8;
		}

		.sf_col a:focus-visible,
		.sf_logo:focus-visible {
			outline: 2px solid #7786B8;
			outline-offset: 2px;
			border-radius: 4px;
		}

	.sf_col .sf_phone {
		color: #232323;
		font-size: 20px;
		font-weight: 600;
		white-space: nowrap;
	}

	.sf_col .sf_socials {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px;
	}

		.sf_socials a {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 48px;
			height: 48px;
			border-radius: 12px;
			background: #fff;
			color: #232323;
		}

			.sf_socials svg path {
				fill: currentColor;
			}

			.sf_socials svg,
			.sf_socials img {
				display: block;
				width: 24px;
				height: 24px;
			}

	.sf_legal {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding-top: 24px;
		color: #6E7080;
		font-size: 14px;
		line-height: 21px;
	}

		.sf_legal p {
			margin: 0;
		}

	.sf_warning {
		margin: 32px 0 0;
		color: #A9ABBA;
		font-size: 31px;
		font-weight: 400;
		letter-spacing: -0.06em;
		line-height: 1;
		text-transform: uppercase;
	}

@media (max-width: 1199px) {
	.sf_warning {
		font-size: 26px;
	}
}

@media (max-width: 991px) {
	.sf_top {
		grid-template-columns: 1fr 1fr;
	}

	.sf_logo {
		grid-column: 1 / -1;
	}

	.sf_warning {
		font-size: 22px;
		letter-spacing: -0.03em;
	}
}

@media (max-width: 767px) {
	.site_footer {
		padding: 40px 0 32px;
	}

	.sf_top {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.sf_warning {
		font-size: 18px;
		letter-spacing: 0;
		line-height: 1.25;
	}
}
