/* Quote / contact forms (2026-11-17, replaces Gravity Forms) - same look as the old forms. Contrast: labels/text
   #1a1a1a, placeholders #5e5e5e (6.5:1), errors #b00020 (6.9:1), white on #C70000 button (6.2:1). */
.cti-lead-form,
.cti-lead-form__confirmation {
	box-sizing: border-box;
	max-width: 720px;
	margin: 0 auto 24px;
	text-align: left;
}

.cti-lead-form__field {
	margin: 0 0 16px;
}

.cti-lead-form__label {
	display: block;
	margin: 0 0 6px;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 600;
}

.cti-lead-form__req,
.cti-lead-form__error {
	color: #b00020;
}

.cti-lead-form input[type="text"],
.cti-lead-form input[type="email"],
.cti-lead-form input[type="tel"],
.cti-lead-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #8a8a8a;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #1a1a1a;
	font-size: 16px;
	line-height: 1.4;
}

.cti-lead-form textarea {
	min-height: 140px;
	resize: vertical;
}

.cti-lead-form ::placeholder {
	color: #5e5e5e;
	opacity: 1;
}

.cti-lead-form input:focus-visible,
.cti-lead-form textarea:focus-visible,
.cti-lead-form__submit:focus-visible {
	border-color: #1a1a1a;
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

.cti-lead-form [aria-invalid="true"] {
	border-color: #b00020;
}

.cti-lead-form input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px;
	border: 1px dashed #8a8a8a;
	border-radius: 8px;
	background: #fafafa;
	color: #1a1a1a;
	font-size: 15px;
}

.cti-lead-form__rules {
	margin: 6px 0 0;
	color: #4a4a4a;
	font-size: 14px;
}

.cti-lead-form__error {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 600;
}

.cti-lead-form__errors {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-left: 4px solid #b00020;
	background: #fdf0f2;
	color: #1a1a1a;
	font-size: 15px;
}

.cti-lead-form__hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cti-lead-form__footer {
	display: flex;
	justify-content: flex-start;
}

.cti-lead-form__submit {
	min-width: 240px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 8px;
	background: var( --cst-red, #c70000 );
	color: #fff;
	font-family: var( --font-heading, inherit );
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.cti-lead-form__submit:hover,
.cti-lead-form__submit:focus {
	background: #a30000;
	color: #fff;
}

.cti-lead-form__submit[disabled] {
	opacity: 0.75;
	cursor: wait;
}

.cti-lead-form__confirmation {
	padding: 16px 18px;
	border-left: 4px solid #1f7a3a;
	background: #eef8f1;
	color: #1a1a1a;
	font-size: 16px;
}

@media ( max-width: 600px ) {
	.cti-lead-form__submit {
		width: 100%;
	}
}
