/* ==========================================================================
   AM Pre-Footer Nationwide Command & Dispatch Dock - By INFXO
   ========================================================================== */

.am-prefooter-section {
	padding: 40px 0 70px;
	background: #ffffff;
	font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
}

.am-prefooter-section .am-pf-banner {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background: radial-gradient(circle at 15% 20%, #8e1851 0%, #4d0b2b 52%, #190711 100%);
	color: #ffffff;
	padding: 52px 46px;
	box-shadow: 0 30px 70px -22px rgba(77, 11, 43, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.am-prefooter-section .am-pf-ecg {
	position: absolute;
	inset: 0;
	opacity: 0.18;
	pointer-events: none;
}
.am-prefooter-section .am-pf-ecg svg {
	width: 100%;
	height: 100%;
}
.am-prefooter-section .am-pf-ecg path {
	fill: none;
	stroke: #ff85b8;
	stroke-width: 2.2;
	stroke-dasharray: 1600;
	stroke-dashoffset: 1600;
	animation: amPfEcgPulse 5.5s linear infinite;
}
@keyframes amPfEcgPulse {
	0% { stroke-dashoffset: 1600; }
	100% { stroke-dashoffset: 0; }
}

.am-prefooter-section .am-pf-watermark {
	position: absolute;
	inset-inline-end: 24px;
	bottom: -36px;
	font-size: 210px;
	font-weight: 900;
	line-height: 1;
	color: rgba(255, 255, 255, 0.035);
	pointer-events: none;
	user-select: none;
}

.am-prefooter-section .am-pf-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 38px;
	align-items: center;
}

.am-prefooter-section .am-pf-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	padding: 6px 15px;
	border-radius: 9999px;
	font-size: 12.5px;
	font-weight: 700;
	color: #fce7f3;
	margin-bottom: 16px;
}

.am-prefooter-section .am-pf-pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.24);
	flex-shrink: 0;
}

.am-prefooter-section .am-pf-title {
	font-size: clamp(25px, 3.1vw, 38px);
	font-weight: 900;
	line-height: 1.28;
	color: #ffffff;
	margin: 0 0 14px;
}

.am-prefooter-section .am-pf-desc {
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
	max-width: 54ch;
	margin: 0 0 24px;
}

.am-prefooter-section .am-pf-branches {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 28px;
}

/* Override Woodmart global button rectangular styles */
.am-prefooter-section button.am-pf-branch-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	background: rgba(255, 255, 255, 0.08) !important;
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	color: #ffffff !important;
	padding: 8px 18px !important;
	min-height: unset !important;
	height: auto !important;
	line-height: 1.4 !important;
	border-radius: 9999px !important;
	font-family: 'Cairo', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: all 0.22s ease !important;
}

.am-prefooter-section button.am-pf-branch-btn:hover,
.am-prefooter-section button.am-pf-branch-btn.active {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #711240 !important;
	border-color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
}

.am-prefooter-section .am-pf-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.am-prefooter-section a.am-pf-btn-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #ffffff !important;
	color: #711240 !important;
	padding: 13px 26px;
	border-radius: 9999px !important;
	font-size: 14.5px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.am-prefooter-section a.am-pf-btn-wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
	color: #4d0b2b !important;
}
.am-prefooter-section a.am-pf-btn-wa svg {
	color: #16a34a;
	flex-shrink: 0;
}

.am-prefooter-section a.am-pf-btn-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.24) !important;
	color: #ffffff !important;
	padding: 12px 22px;
	border-radius: 9999px !important;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.22s ease, border-color 0.22s ease;
}
.am-prefooter-section a.am-pf-btn-call:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
}

.am-prefooter-section .am-pf-status-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 22px;
	padding: 28px;
}

.am-prefooter-section .am-pf-status-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.am-prefooter-section .am-pf-status-city {
	font-size: 20px;
	font-weight: 900;
	color: #ffffff;
}

.am-prefooter-section .am-pf-live-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(16, 185, 129, 0.18);
	border: 1px solid rgba(16, 185, 129, 0.42);
	color: #6ee7b7;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.am-prefooter-section .am-pf-metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 18px;
}

.am-prefooter-section .am-pf-metric {
	background: rgba(0, 0, 0, 0.24);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 14px;
}
.am-prefooter-section .am-pf-metric small {
	display: block;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.68);
	margin-bottom: 3px;
}
.am-prefooter-section .am-pf-metric strong {
	font-size: 15.5px;
	font-weight: 800;
	color: #ffffff;
}

.am-prefooter-section .am-pf-note {
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.84);
	margin: 0;
}

@media (max-width: 960px) {
	.am-prefooter-section .am-pf-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}
}

@media (max-width: 640px) {
	.am-prefooter-section {
		padding: 28px 0 48px;
	}
	.am-prefooter-section .am-pf-banner {
		padding: 28px 20px;
		border-radius: 22px;
	}
	.am-prefooter-section .am-pf-metrics {
		grid-template-columns: 1fr;
	}
	.am-prefooter-section a.am-pf-btn-wa,
	.am-prefooter-section a.am-pf-btn-call {
		width: 100%;
	}
}