.apex-project-quote {
	box-sizing: border-box;
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(16px, 3vw, 36px);
	color: #15202e;
	font-family: inherit;
}

.apex-project-quote *,
.apex-project-quote *::before,
.apex-project-quote *::after {
	box-sizing: border-box;
}

.apex-project-quote__intro,
.apex-project-quote__form-page {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid #e4e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 35px rgb(20 30 45 / 6%);
}

.apex-project-quote--button {
	max-width: 1180px;
}

.apex-project-quote__eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	color: #946a43;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.apex-project-quote h2,
.apex-project-quote h3 {
	margin: 0 0 18px;
	color: #15202e;
	font-family: inherit;
	font-weight: 750;
	line-height: 1.18;
}

.apex-project-quote h2 {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.apex-project-quote h3 {
	margin-top: 30px;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.apex-project-quote p {
	margin: 0 0 18px;
	line-height: 1.6;
}

.apex-project-quote__timing {
	color: #596475;
	font-size: 0.94rem;
}

.apex-project-quote__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 52px;
	padding: 12px 22px;
	border: 1px solid #a47a54;
	border-radius: 9px;
	background: #a47a54;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.apex-project-quote__button:hover,
.apex-project-quote__button:focus-visible {
	background: #86603d;
	color: #fff;
}

.apex-project-quote__button:focus-visible,
.apex-project-quote input:focus-visible,
.apex-project-quote textarea:focus-visible,
.apex-project-quote a:focus-visible {
	outline: 3px solid #b98450;
	outline-offset: 3px;
}

.apex-project-quote__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.apex-project-quote__field {
	margin-bottom: 16px;
}

.apex-project-quote__field label {
	display: block;
	margin-bottom: 7px;
	font-weight: 650;
}

.apex-project-quote input:not([type='hidden']),
.apex-project-quote textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #cfd5dc;
	border-radius: 8px;
	background: #fff;
	color: #15202e;
	font: inherit;
}

.apex-project-quote textarea {
	min-height: 130px;
	resize: vertical;
}

.apex-project-quote__upload {
	padding: 16px;
	border: 1px dashed #aeb9c5;
	border-radius: 10px;
	background: #fafbfc;
}

.apex-project-quote__upload input {
	border: 0;
	background: transparent;
}

.apex-project-quote__upload small {
	display: block;
	margin-top: 8px;
	color: #596475;
}

.apex-project-quote__privacy {
	color: #596475;
	font-size: 0.87rem;
}

.apex-project-quote__privacy a {
	color: #865d38;
	text-decoration: underline;
}

.apex-project-quote__message {
	padding: 12px 14px;
	border: 1px solid #e9b7aa;
	border-radius: 8px;
	background: #fff6f3;
	color: #792b22;
}

.apex-project-quote__message--success {
	border-color: #abd8bf;
	background: #f2fbf5;
	color: #245e3a;
}

.apex-project-quote__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 650px) {
	.apex-project-quote {
		padding: 12px;
	}

	.apex-project-quote__fields {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.apex-project-quote__button {
		width: 100%;
	}
}
