/* Site-wide quote modal - reuses .quote__form styling (already defined
   for the homepage's embedded form) inside a centered popup, matching
   the same overlay pattern as the quote success modal. */
.quote-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(5, 5, 5, 0.75);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	transition: opacity .25s ease;
	overflow-y: auto;
}
.quote-modal-overlay.is-visible { opacity: 1; }
.quote-modal-overlay[hidden] { display: none; }

.quote-modal {
	position: relative;
	width: 100%;
	max-width: 620px;
	max-height: 90vh;
	overflow-y: auto;
	background: var(--hcw-bg-2, #0c0c0c);
	border: 1px solid var(--hcw-line);
	padding: 2rem;
	margin: auto;
	transform: translateY(12px) scale(0.98);
	transition: transform .3s cubic-bezier(0.16,1,0.3,1);
}
.quote-modal-overlay.is-visible .quote-modal {
	transform: translateY(0) scale(1);
}
.quote-modal h3 {
	font-family: "Cabinet Grotesk", sans-serif; font-weight: 800; color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.05; margin: 0.5rem 0 0;
}
.quote-modal-lede {
	color: var(--hcw-text-dim); font-size: 14px; line-height: 1.5; margin: 0.5rem 0 1.5rem;
}

.quote-modal-close {
	position: absolute; top: 0.75rem; right: 0.75rem;
	background: transparent; border: none; color: rgba(255,255,255,0.6);
	font-size: 24px; line-height: 1; cursor: pointer; padding: 0.4rem;
	transition: color .2s ease;
}
.quote-modal-close:hover { color: #fff; }

.quote-modal-success { text-align: left; }
.quote-modal-success h3 { margin-top: 1rem; }
.quote-modal-success p { color: var(--hcw-text-dim); margin: 0.75rem 0 1.5rem; }

body.quote-modal-open { overflow: hidden; }
