/* Site footer — keep light gray + brand red tone */
.xy-site-footer.footer-bar,
footer.xy-site-footer {
	position: relative;
	margin-top: 0;
	padding-top: 0;
	color: #666;
	background: linear-gradient(180deg, #f7f6f3 0%, #f3f3f0 48%, #eeede9 100%);
	border-top: 0;
}

.xy-site-footer::before {
	content: "";
	display: block;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, rgba(179, 33, 35, 0.25) 18%, var(--main-color, #b32123) 50%, rgba(221, 40, 33, 0.85) 72%, transparent 100%);
}

.xy-site-footer .xy-footer-main {
	padding: 52px 0 28px;
}

.xy-site-footer a {
	color: #666;
	text-decoration: none;
	transition: color 0.22s ease;
}

.xy-site-footer a:hover {
	color: var(--main-color, #b32123);
}

.xy-site-footer .xy-footer-grid {
	display: flex;
	flex-wrap: wrap;
}

@media (min-width: 768px) {
	.xy-site-footer .xy-footer-grid > [class*="col-"] {
		flex: 1 1 0;
		max-width: 20%;
		width: 20%;
	}
}

.xy-site-footer .xy-footer-grid > [class*="col-"] {
	margin-bottom: 28px;
}

.xy-site-footer .title {
	margin: 0 0 16px;
	font-size: 1.075rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.35;
	color: #333;
}

.xy-site-footer .title > a {
	display: inline-block;
	color: inherit;
	padding-bottom: 8px;
	border-bottom: 2px solid rgba(179, 33, 35, 0.35);
	transition: color 0.22s ease, border-color 0.22s ease;
}

.xy-site-footer .title > a:hover {
	color: var(--main-color, #b32123);
	border-bottom-color: var(--main-color, #b32123);
}

.xy-site-footer .xy-footer-contact > .title {
	display: inline-block;
	padding-bottom: 8px;
	border-bottom: 2px solid rgba(179, 33, 35, 0.35);
}

.xy-site-footer .xy-footer-contact {
	text-align: left;
}

.xy-site-footer .list-unstyled {
	margin: 0;
	padding: 0;
	list-style: none;
}

.xy-site-footer .list-unstyled li {
	padding: 5px 0;
	font-size: 1.025rem;
	line-height: 1.55;
}

.xy-site-footer .list-unstyled a {
	position: relative;
	display: inline-block;
	padding-left: 0;
	transition: color 0.22s ease, padding-left 0.22s ease;
}

.xy-site-footer .list-unstyled a:hover {
	padding-left: 6px;
	color: var(--main-color, #b32123);
}

.xy-site-footer .footer-address {
	margin: 0;
	font-style: normal;
}

.xy-site-footer .address-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 1.025rem;
	line-height: 1.55;
	color: #666;
}

.xy-site-footer .address-item--brand {
	margin-bottom: 10px;
}

.xy-site-footer .address-item--brand b {
	font-size: 1.175rem;
	font-weight: 700;
	color: #333;
	letter-spacing: 0.02em;
}

.xy-site-footer .address-item--text {
	color: #777;
}

.xy-site-footer .address-ico {
	flex: 0 0 20px;
	width: 20px;
	height: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: transparent;
	color: var(--main-color, #b32123);
	margin-top: 0;
}

.xy-site-footer .address-ico .icon {
	margin: 0;
	font-size: 18px;
	line-height: 1;
	color: inherit;
}

.xy-site-footer .address-item a {
	word-break: break-word;
}

.xy-site-footer .social-link {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	justify-content: flex-start;
}

.xy-site-footer .social-link:empty {
	display: none;
}

.xy-site-footer .social-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--main-color, #b32123);
	background: var(--main-color, #b32123);
	color: #fff;
	box-shadow: 0 2px 6px rgba(179, 33, 35, 0.25);
	transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.xy-site-footer .social-link a .icon {
	font-size: 1.15rem;
	color: #fff;
	line-height: 1;
}

.xy-site-footer .social-link a:hover {
	background: var(--sub-color, #dd2821);
	border-color: var(--sub-color, #dd2821);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(179, 33, 35, 0.35);
}

.xy-site-footer .social-link a:hover .icon {
	color: #fff;
}

.xy-site-footer .xy-footer-cert {
	margin-top: 8px;
	padding-top: 22px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.xy-site-footer .cert {
	max-width: 560px;
	margin: 0 auto;
}

.xy-site-footer .cert .col {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
}

.xy-site-footer .cert img {
	display: block;
	max-width: 72px;
	width: 100%;
	height: auto;
	margin: 0 auto;
	filter: grayscale(0.15);
	opacity: 0.92;
	transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}

.xy-site-footer .cert a:hover img,
.xy-site-footer .cert img:hover {
	opacity: 1;
	filter: none;
	transform: translateY(-2px);
}

.xy-site-footer .footer-bottom {
	padding: 18px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.35);
	color: #777;
	text-align: center;
	font-size: 0.8125rem;
	line-height: 1.7;
}

.xy-site-footer .footer-bottom a.xy-footer-sitemap {
	display: inline-block;
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px solid rgba(0, 0, 0, 0.12);
	color: #777;
}

.xy-site-footer .footer-bottom a.xy-footer-sitemap:hover {
	color: var(--main-color, #b32123);
}

@media (max-width: 991.98px) {
	.xy-site-footer .xy-footer-main {
		padding: 40px 0 18px;
	}
}

@media (max-width: 767.98px) {
	.xy-site-footer .xy-footer-main {
		padding: 32px 0 12px;
	}

	.xy-site-footer .xy-footer-grid > [class*="col-"]:not(.xy-footer-contact) {
		display: none;
	}

	.xy-site-footer .xy-footer-contact {
		margin-bottom: 12px;
	}

	.xy-site-footer .xy-footer-cert {
		padding-top: 16px;
	}

	.xy-site-footer .cert img {
		max-width: 56px;
	}
}
