/**
 * Site alt bilgisi — menü renkleriyle (--nav-bg / --nav-text) uyumlu
 */
.site-footer {
	--ft-bg: var(--nav-bg, #272d31);
	--ft-ink: var(--nav-text, #ffffff);
	--ft-muted: rgba(255, 255, 255, 0.84);
	--ft-line: rgba(255, 255, 255, 0.12);
	margin: 0 0 -40px;
	padding: 0;
	background-color: var(--ft-bg);
	background-image: linear-gradient(165deg, rgba(8, 12, 18, 0.62), rgba(8, 12, 18, 0.84));
	color: var(--ft-muted);
	font-family: 'OpenSansRegular', sans-serif;
	position: relative;
}

.site-footer::before {
	content: "";
	display: block;
	height: 3px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.15));
}

.site-footer__main {
	padding: 36px 0 12px;
}

.site-footer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ft-line);
}

.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: #fff;
	border-radius: 12px;
	padding: 8px 12px;
	line-height: 0;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.site-footer__logo img {
	display: block;
	max-height: 46px;
	max-width: 168px;
	width: auto;
	height: auto;
}

.site-footer__name {
	margin: 0 0 6px;
	font-family: 'OpenSansSemiBold', sans-serif;
	font-size: 16px;
	line-height: 1.3;
	color: var(--ft-ink);
}

.site-footer__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}

.site-footer__contacts a {
	color: var(--ft-muted);
	font-size: 13px;
	text-decoration: none;
}

.site-footer__contacts a:hover,
.site-footer__contacts a:focus {
	color: var(--ft-ink);
}

.site-footer__contacts .fa {
	margin-right: 6px;
	opacity: 0.85;
}

.site-footer__social {
	flex: 0 0 auto;
	text-align: right;
}

.site-footer__social-label {
	display: block;
	margin-bottom: 8px;
	font-family: 'OpenSansSemiBold', sans-serif;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.site-footer__social-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.site-footer__social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid var(--ft-line);
	background: rgba(255, 255, 255, 0.1);
	color: var(--ft-ink);
	font-size: 15px;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-footer__social-links a:hover,
.site-footer__social-links a:focus {
	background: #fff;
	color: var(--ft-bg);
	transform: translateY(-1px);
}

.site-footer__col {
	margin-bottom: 22px;
}

.site-footer h2 {
	margin: 0 0 12px;
	padding: 0;
	font-family: 'OpenSansSemiBold', sans-serif;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ft-ink);
}

.site-footer h2::after {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin-top: 8px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.45);
}

.site-footer__col a {
	display: block;
	width: auto;
	padding: 5px 0;
	font-family: 'OpenSansRegular', sans-serif;
	font-size: 14px;
	line-height: 1.35;
	color: var(--ft-muted);
	text-decoration: none;
	transition: color 0.15s ease, padding-left 0.15s ease;
}

.site-footer__col a:hover,
.site-footer__col a:focus {
	color: var(--ft-ink);
	padding-left: 4px;
}

.site-footer__bar {
	border-top: 1px solid var(--ft-line);
	background: rgba(0, 0, 0, 0.18);
	padding: 16px 0 20px;
}

.site-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}

.site-footer__copy {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}

.site-footer__copy .fa {
	margin-right: 6px;
}

.site-footer__pay {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	background: #fff;
	border-radius: 10px;
	padding: 6px 10px;
}

.site-footer__pay img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 100%;
}

#back-top {
	z-index: 1030;
}

#back-top a {
	width: 46px;
}

#back-top span {
	width: 46px;
	height: 46px;
	margin: 0;
	border-radius: 14px;
	background: var(--nav-bg, #272d31);
	box-shadow: 0 10px 24px rgba(16, 20, 24, 0.28);
	position: relative;
}

#back-top span::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 19px;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(45deg);
}

#back-top a:hover span,
#back-top a:focus span {
	background: #111518;
}

@media (max-width: 767px) {
	.site-footer__main {
		padding-top: 26px;
	}

	.site-footer__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.site-footer__brand {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__social,
	.site-footer__social-links {
		text-align: left;
		justify-content: flex-start;
	}

	.site-footer__col a {
		padding: 8px 0;
	}

	.site-footer__bar-inner {
		justify-content: center;
		text-align: center;
	}

	.site-footer__pay img {
		height: auto;
		max-height: 34px;
	}
}
