/**
 * SFM AI Suite - Frontend Modernization & Conversion Styling
 * Suzuki Fort Motors Dealership
 */

/* Floating Quick Action Hub */
.sfm-floating-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999999;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sfm-fab-main {
	background: #da291c; /* Suzuki Red */
	color: #ffffff;
	border: none;
	border-radius: 50px;
	padding: 14px 22px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(218, 41, 28, 0.45);
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sfm-fab-main:hover {
	background: #b91c1c;
	transform: scale(1.04);
}

.sfm-floating-menu {
	display: none;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	transition: all 0.3s ease;
}

.sfm-floating-menu.active {
	display: flex;
}

.sfm-fab {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 50px;
	background: #ffffff;
	color: #1e293b;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 1px solid #e2e8f0;
	cursor: pointer;
	transition: all 0.2s ease;
}

.sfm-fab:hover {
	transform: translateX(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.sfm-fab-whatsapp {
	background: #25d366;
	color: #ffffff;
	border-color: #22c55e;
}

.sfm-fab-call {
	background: #0056b3;
	color: #ffffff;
	border-color: #004494;
}

.sfm-fab-action {
	background: #ffffff;
	color: #0056b3;
}

/* Modal Overlay & Card */
.sfm-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(4px);
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.sfm-modal-card {
	background: #ffffff;
	max-width: 500px;
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
	position: relative;
	padding: 28px;
	box-sizing: border-box;
	animation: sfmModalPop 0.25s ease-out;
}

@keyframes sfmModalPop {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

.sfm-modal-close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 26px;
	background: none;
	border: none;
	cursor: pointer;
	color: #64748b;
}

.sfm-modal-header h3 {
	margin: 8px 0 4px 0;
	font-size: 20px;
	color: #1e293b;
}

.sfm-modal-header p {
	margin: 0 0 18px 0;
	font-size: 13px;
	color: #64748b;
}

.sfm-modal-group {
	margin-bottom: 14px;
}

.sfm-modal-group label {
	display: block;
	font-size: 13px;
	margin-bottom: 5px;
	color: #334155;
}

/* Calculator Widget */
.sfm-calculator-widget {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	padding: 28px;
	margin: 24px 0;
	font-family: inherit;
}

.sfm-calc-tag {
	display: inline-block;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
}

.sfm-calc-header h3 {
	margin: 8px 0 4px 0;
	font-size: 22px;
	color: #1e293b;
}

.sfm-calc-header p {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 20px 0;
}

.sfm-calc-body {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 28px;
}

@media (max-width: 768px) {
	.sfm-calc-body {
		grid-template-columns: 1fr;
	}
}

.sfm-calc-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.sfm-range {
	width: 100%;
	margin-top: 8px;
}

.sfm-radio-group {
	display: flex;
	gap: 16px;
	margin-top: 6px;
	font-size: 13px;
}

.sfm-calc-summary-card {
	background: #f8fafc;
	border: 2px dashed #0056b3;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	margin-bottom: 16px;
}

.sfm-summary-label {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
	color: #64748b;
}

.sfm-summary-val {
	font-size: 26px;
	font-weight: 800;
	color: #0056b3;
	margin-top: 6px;
}

.sfm-breakdown-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
}

/* AEO Accordion & FAQ Styling */
.sfm-aeo-block {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 24px;
	margin: 28px 0;
}

.sfm-aeo-block h3 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 20px;
	color: #1e293b;
}

.sfm-faq-item {
	border-bottom: 1px solid #e2e8f0;
	padding: 12px 0;
}

.sfm-faq-item:last-child {
	border-bottom: none;
}

.sfm-faq-question {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0056b3;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sfm-faq-question:after {
	content: '+';
	font-size: 18px;
	font-weight: 700;
	color: #64748b;
}

.sfm-faq-question.active:after {
	content: '−';
}

.sfm-faq-answer {
	margin-top: 8px;
	font-size: 14px;
	color: #475569;
	line-height: 1.6;
}

/* Smart Interlinking */
.sfm-smart-link {
	color: #0056b3;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 600;
	transition: color 0.15s ease;
}

.sfm-smart-link:hover {
	color: #da291c;
}

.sfm-link-external:after {
	content: ' ↗';
	font-size: 11px;
}

/* Branch Cards Grid */
.sfm-branches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 24px 0;
}

.sfm-branch-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sfm-branch-card h4 {
	margin-top: 0;
	color: #0056b3;
	font-size: 18px;
}
