/* Footer Styles */
.site-footer {
	background: url("../img/bg-footer.png") no-repeat center;
	background-size: cover;
	color: var(--kc-white);
	padding: 80px 24px 10px;
	width: 100%;
}

.footer-container {
	max-width: 1440px;
	margin: 0 auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 48px;
	padding-bottom: 50px;
}

.footer-column h3 {
	color: var(--kc-gold);
	font-size: clamp(0.875rem, 0.787rem + 0.3756vw, 1.125rem) !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 24px;
}

/* Column 1: Branding */
.footer-brand .brand-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.footer-brand .brand-logo {
	width: 48px;
	height: 48px;
	background-color: var(--kc-navy-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-brand .brand-name {
	font-size: clamp(0.875rem, 0.787rem + 0.3756vw, 1.125rem) !important;
	font-weight: 800;
	line-height: 1.2;
	color: var(--kc-white);
}

.footer-brand .brand-slogan {
	font-size: 14px;
	color: var(--kc-gray-light);
	margin-bottom: 24px;
	max-width: 300px;
}

.footer-social-icons {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	color: var(--kc-gray-light);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
	background: var(--kc-gold);
	color: var(--kc-navy-dark) !important;
	border-color: var(--kc-gold);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Navigation Lists */
.footer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: start;
}

.footer-nav-link {
	color: var(--kc-white);
	font-size: 14px;
	transition: all 0.3s ease;
}

.footer-nav-link:hover {
	color: var(--kc-gold);
	padding-left: 4px;
}

/* Contact Info */
.contact-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: var(--kc-gray-light);
}

.contact-item .material-symbols-outlined {
	color: var(--kc-white);
	font-size: 20px;
}

/* Copyright Area */
.footer-bottom {
	margin-top: 60px;
	padding-top: 24px;
	border-top: 1px solid var(--kc-navy-dark);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.copyright-text {
	font-size: 12px;
	color: var(--kc-gray-dark);
}

.footer-legal-links {
	display: flex;
	gap: 24px;
}

.legal-link {
	font-size: 12px;
	color: var(--kc-gray-dark);
	transition: color 0.3s ease;
}

.legal-link:hover {
	color: var(--kc-white);
}


@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}

@media (max-width: 640px) {
	.footer-grid {
		display: flex;
		flex-direction: column;
	}

	.site-footer {
		padding: 60px 16px 10px;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* Sticky Bottom Mobile Navigation Bar */
.sflow-mobile-bottom-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--kc-navy-dark, #0c1830);
	border-top: 2px solid var(--kc-gold, #FFC107);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	z-index: 99999;
	padding: 10px 12px;
	box-sizing: border-box;
}

.sflow-mbb-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.sflow-mbb-row {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

/* Hàng 1: 2 Hotlines */
.sflow-mbb-hotlines {
	gap: 10px;
}

.sflow-mbb-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none !important;
	box-sizing: border-box;
	border-radius: 6px;
	font-weight: 700;
	transition: all 0.25s ease;
}

.sflow-mbb-phone {
	flex: 1;
	background: var(--kc-gold, #FFC107);
	color: var(--kc-navy-dark, #0c1830) !important;
	padding: 10px 8px;
	font-size: 14px;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
}

.sflow-mbb-phone svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	animation: sflow-shake 2.5s infinite;
	transform-origin: center;
}

.sflow-mbb-phone:active {
	transform: scale(0.97);
	opacity: 0.9;
}

/* Hàng 2: Địa chỉ Garage */
.sflow-mbb-address-row {
	width: 100%;
}

.sflow-mbb-address {
	width: 100%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--kc-white, #ffffff) !important;
	padding: 8px 10px;
	font-size: 13px;
	/* Tăng kích thước chữ địa chỉ */
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.sflow-mbb-address svg {
	color: var(--kc-gold, #FFC107);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	animation: sflow-bounce 2.5s infinite;
	transform-origin: bottom center;
}

.sflow-mbb-address span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 24px);
}

/* Hiển thị trên mobile, ẩn social float */
@media (max-width: 768px) {
	.sflow-mobile-bottom-bar {
		display: block;
	}

	/* Tăng khoảng cách bottom của body để không bị đè nút */
	body {
		padding-bottom: 95px !important;
	}

	/* Ẩn social float bar */
	.sflow-module-social {
		display: none !important;
	}
}

/* Animations */
@keyframes sflow-shake {

	0%,
	90%,
	100% {
		transform: rotate(0deg);
	}

	92%,
	96% {
		transform: rotate(-15deg);
	}

	94%,
	98% {
		transform: rotate(15deg);
	}
}

@keyframes sflow-bounce {

	0%,
	80%,
	100% {
		transform: translateY(0);
	}

	90% {
		transform: translateY(-5px);
	}
}