/**
 * Biltmore Motors — site footer (DigitalBid-inspired, light theme)
 */

footer.biltmore-site-footer {
	--bf-bg: #fafafa;
	--bf-bg-2: #f4f5f7;
	--bf-bg-card: #ffffff;
	--bf-text: #0a0b0d;
	--bf-text-secondary: #5c6370;
	--bf-text-muted: #8b919a;
	--bf-border: #e8eaed;
	--bf-brand: #ff2800;
	--bf-brand-soft: rgba(255, 40, 0, 0.08);
	--bf-brand-border: rgba(255, 40, 0, 0.35);
	--bf-warm: #ffb020;
	--bf-warm-soft: rgba(255, 176, 32, 0.12);
	--bf-grad-brand: linear-gradient(135deg, #ff2800 0%, #ff6b35 100%);
	--bf-shadow-md: 0 8px 24px rgba(10, 11, 13, 0.08);
	--bf-mono: "SF Mono", "Consolas", "Monaco", monospace;
	--bf-transition: 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
	--bf-max-w: 1320px;
	--bf-fs-base: 15px;
	--bf-fs-md: 16px;
	--bf-fs-sm: 14px;
	--bf-fs-xs: 12px;
	--bf-section-py: 60px;
	--bf-card-pad: 36px 32px;
	--bf-grid-gap: 36px;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	font-size: var(--bf-fs-base);
	line-height: 1.65;
	color: var(--bf-text);

	background:
		radial-gradient(circle at 12% 8%, var(--bf-brand-soft) 0%, transparent 32%),
		radial-gradient(circle at 88% 0%, var(--bf-warm-soft) 0%, transparent 28%),
		linear-gradient(180deg, var(--bf-bg) 0%, var(--bf-bg-2) 100%);
	border-top: 1px solid var(--bf-border);
	padding: var(--bf-section-py) 0 0;
	position: relative;
	overflow: hidden;
	margin: 0;
}

footer.biltmore-site-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--bf-warm) 28%, var(--bf-brand) 72%, transparent 100%);
	opacity: 0.65;
}

footer.biltmore-site-footer::after {
	content: "";
	position: absolute;
	right: -140px;
	bottom: -180px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: var(--bf-brand-soft);
	filter: blur(18px);
	opacity: 0.45;
	pointer-events: none;
}

footer.biltmore-site-footer .biltmore-footer-shell {
	position: relative;
	z-index: 1;
	max-width: var(--bf-max-w);
	margin: 0 auto;
	padding: 0 32px;
}

footer.biltmore-site-footer .biltmore-footer-grid {
	display: grid;
	grid-template-columns: minmax(320px, 1.45fr) repeat(3, minmax(180px, 1fr));
	gap: var(--bf-grid-gap);
	margin-bottom: 32px;
	padding: var(--bf-card-pad);
	border: 1px solid var(--bf-border);
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--bf-shadow-md);
	backdrop-filter: blur(18px);
}

footer.biltmore-site-footer .biltmore-footer-brand {
	padding-right: 16px;
}

footer.biltmore-site-footer .biltmore-footer-logo {
	margin-bottom: 22px;
}

footer.biltmore-site-footer .biltmore-footer-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--bf-text) !important;
	font-size: 1.25rem !important;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.2 !important;
}

footer.biltmore-site-footer .biltmore-footer-logo-link img {
	display: block;
	max-height: 46px;
	width: auto;
}

footer.biltmore-site-footer .biltmore-footer-brand p {
	font-size: var(--bf-fs-md) !important;
	color: var(--bf-text-secondary) !important;
	margin: 0 0 24px !important;
	max-width: 440px;
	line-height: 1.65 !important;
}

footer.biltmore-site-footer .biltmore-footer-contact-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: min(100%, 440px);
	padding: 18px 20px;
	border: 1px solid var(--bf-brand-border);
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(255, 40, 0, 0.06), transparent 44%),
		#fff;
	color: var(--bf-text) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 42px rgba(10, 11, 13, 0.06);
	transition: transform var(--bf-transition), border-color var(--bf-transition), box-shadow var(--bf-transition);
	text-decoration: none !important;
}

footer.biltmore-site-footer .biltmore-footer-contact-btn:hover {
	transform: translateY(-2px);
	border-color: var(--bf-brand);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 24px 54px rgba(10, 11, 13, 0.1);
	color: var(--bf-text) !important;
}

footer.biltmore-site-footer .biltmore-footer-contact-btn span {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

footer.biltmore-site-footer .biltmore-footer-contact-btn strong {
	font-size: var(--bf-fs-md) !important;
	letter-spacing: -0.025em;
	font-weight: 600;
	line-height: 1.35 !important;
}

footer.biltmore-site-footer .biltmore-footer-contact-btn small {
	font-size: var(--bf-fs-sm) !important;
	color: var(--bf-text-muted) !important;
	line-height: 1.45 !important;
}

footer.biltmore-site-footer .biltmore-footer-contact-btn i {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--bf-grad-brand);
	color: #fff;
	font-size: 1rem;
	box-shadow: 0 10px 24px rgba(255, 40, 0, 0.25);
}

footer.biltmore-site-footer .biltmore-footer-col {
	padding-top: 4px;
}

footer.biltmore-site-footer .biltmore-footer-col h4 {
	font-family: var(--bf-mono);
	font-size: var(--bf-fs-xs) !important;
	font-weight: 700;
	color: var(--bf-text-muted) !important;
	margin: 0 0 18px !important;
	padding: 0;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.3 !important;
}

footer.biltmore-site-footer .biltmore-footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

footer.biltmore-site-footer .biltmore-footer-col ul li {
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
}

footer.biltmore-site-footer .biltmore-footer-col ul li::before {
	display: none !important;
	content: none !important;
}

footer.biltmore-site-footer .biltmore-footer-col ul li a {
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: var(--bf-fs-base) !important;
	font-weight: 500;
	color: var(--bf-text-secondary) !important;
	line-height: 1.45 !important;
	transition: var(--bf-transition);
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	position: static !important;
	margin: 0 !important;
}

footer.biltmore-site-footer .biltmore-footer-col ul li a::after {
	display: none !important;
	content: none !important;
}

footer.biltmore-site-footer .biltmore-footer-col ul li a:hover {
	background: var(--bf-bg-2);
	color: var(--bf-text) !important;
	transform: translateX(3px);
}

footer.biltmore-site-footer .biltmore-footer-bottom {
	padding: 22px 0 36px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

footer.biltmore-site-footer .biltmore-footer-bottom p {
	font-size: var(--bf-fs-sm) !important;
	color: var(--bf-text-muted) !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

footer.biltmore-site-footer .biltmore-footer-bottom-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

footer.biltmore-site-footer .biltmore-footer-bottom-links a {
	font-size: var(--bf-fs-sm) !important;
	color: var(--bf-text-muted) !important;
	transition: var(--bf-transition);
	text-decoration: none !important;
	line-height: 1.5 !important;
	padding: 4px 0;
}

footer.biltmore-site-footer .biltmore-footer-bottom-links a::after {
	display: none !important;
	content: none !important;
}

footer.biltmore-site-footer .biltmore-footer-bottom-links a:hover {
	color: var(--bf-text) !important;
}

@media (max-width: 991px) {
	footer.biltmore-site-footer {
		--bf-grid-gap: 28px;
		--bf-card-pad: 32px 28px;
	}

	footer.biltmore-site-footer .biltmore-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	footer.biltmore-site-footer .biltmore-footer-brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	footer.biltmore-site-footer {
		--bf-section-py: 44px;
		--bf-grid-gap: 24px;
		--bf-card-pad: 28px 22px;
		padding-top: var(--bf-section-py);
	}

	footer.biltmore-site-footer .biltmore-footer-shell {
		padding: 0 20px;
	}

	footer.biltmore-site-footer .biltmore-footer-grid {
		grid-template-columns: 1fr;
		border-radius: 24px;
		margin-bottom: 28px;
	}

	footer.biltmore-site-footer .biltmore-footer-contact-btn {
		width: 100%;
	}

	footer.biltmore-site-footer .biltmore-footer-bottom {
		flex-direction: column;
		gap: 20px;
		text-align: center;
		align-items: center;
		padding-bottom: 32px;
	}
}
