/* ==========================================================
   CCTV Quote Builder
   ========================================================== */

.quote-page-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem 4rem;
}

.quote-hero {
	text-align: center;
	padding: 3rem 0 2rem;
}

	.quote-hero h1 {
		font-size: 2.5rem;
		margin-bottom: 0.5rem;
	}

	.quote-hero p {
		color: #6c757d;
	}

/* ---------- Layout ---------- */
.quote-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2rem;
	align-items: start;
}

/* ---------- Builder steps ---------- */
.quote-step {
	border: none;
	border-bottom: 1px solid #e9ecef;
	padding: 0 0 1.75rem;
	margin: 0 0 1.75rem;
}

	.quote-step legend {
		font-size: 1.15rem;
		font-weight: 600;
		margin-bottom: 1rem;
		float: none;
		width: auto;
	}

.quote-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #0d6efd;
	color: #fff;
	font-size: 0.85rem;
	margin-right: 0.5rem;
}

.quote-optional {
	color: #6c757d;
	font-weight: 400;
	font-size: 0.85rem;
}

.quote-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.quote-option {
	position: relative;
	cursor: pointer;
}

	.quote-option input {
		position: absolute;
		opacity: 0;
		width: 0;
		height: 0;
	}

.quote-option-label {
	display: block;
	padding: 0.65rem 1.1rem;
	border: 2px solid #dee2e6;
	border-radius: 0.5rem;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
	white-space: nowrap;
}

	.quote-option-label small {
		display: block;
		color: #6c757d;
		font-size: 0.75rem;
		white-space: normal;
	}

.quote-option input:checked + .quote-option-label {
	border-color: #0d6efd;
	background: #f0f6ff;
}

.quote-option input:focus-visible + .quote-option-label {
	outline: 2px solid #0d6efd;
	outline-offset: 2px;
}

.quote-option-wide {
	display: block;
}

.quote-hint {
	color: #6c757d;
	font-size: 0.875rem;
	margin: 0.85rem 0 0;
}

/* ---------- Estimate panel ---------- */
.quote-summary {
	background: #f8f9fa;
	border-radius: 0.5rem;
	padding: 1.5rem;
	position: sticky;
	top: 1.5rem;
}

.quote-summary-heading {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6c757d;
	margin-bottom: 0.5rem;
}

.quote-total {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
}

.quote-estimate-note {
	font-size: 0.8rem;
	color: #495057;
	background: #fff3cd;
	border-left: 3px solid #ffc107;
	padding: 0.6rem 0.75rem;
	border-radius: 0.25rem;
	margin: 0.75rem 0 1rem;
}

.quote-lines {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
}

	.quote-lines li {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.35rem 0;
		border-bottom: 1px dashed #dee2e6;
	}

.quote-consult {
	font-size: 0.9rem;
	color: #495057;
	background: #e7f1ff;
	padding: 0.85rem;
	border-radius: 0.375rem;
	margin-bottom: 1rem;
}

/* ---------- Lead form ---------- */
.quote-form-heading {
	font-size: 1rem;
	margin: 1.25rem 0 0.85rem;
}

.quote-field {
	margin-bottom: 0.85rem;
}

	.quote-field label {
		display: block;
		font-size: 0.8rem;
		color: #495057;
		margin-bottom: 0.25rem;
	}

	.quote-field input,
	.quote-field textarea {
		width: 100%;
		padding: 0.55rem 0.7rem;
		border: 1px solid #ced4da;
		border-radius: 0.375rem;
		font-size: 0.9rem;
	}

.quote-callback {
	font-size: 0.85rem;
	text-align: center;
	margin: 0.85rem 0 0;
	color: #6c757d;
}

/* ---------- Inclusions ---------- */
.quote-inclusions {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e9ecef;
}

	.quote-inclusions h2 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	.quote-inclusions ul {
		line-height: 1.8;
	}

.quote-disclaimer {
	font-size: 0.85rem;
	color: #6c757d;
	margin-top: 1.25rem;
}

/* ---------- Success ---------- */
.quote-success {
	text-align: center;
	background: #f8f9fa;
	border-radius: 0.5rem;
	padding: 3rem 1.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.quote-layout {
		grid-template-columns: 1fr;
	}

	.quote-summary {
		position: static;
	}
}
