/**
 * Contact Form 7 — underline fields + blue pill submit (opt-in: form.et-cf7).
 */

form.et-cf7 {
	margin: 0;
}

form.et-cf7 .et-cf7__grid {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
}

form.et-cf7 .et-cf7__field {
	margin: 0;
}

form.et-cf7 .et-cf7__field label {
	display: block;
	margin: 0;
	font-family: "Special Gothic", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #6b7280;
}

form.et-cf7 .et-cf7__field .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

form.et-cf7 .wpcf7-form-control:not(.wpcf7-submit) {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 10px 0 12px;
	border: 0;
	border-bottom: 1px solid #dce0e3;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: "Special Gothic", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #0b1220;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.25s ease;
}

form.et-cf7 .wpcf7-form-control:not(.wpcf7-submit):focus {
	border-bottom-color: #0b1220;
}

form.et-cf7 textarea.wpcf7-form-control {
	min-height: 96px;
	resize: vertical;
}

form.et-cf7 .et-cf7__actions {
	margin: 36px 0 0;
}

form.et-cf7 .et-cf7__consent {
	margin: 28px 0 0;
}

form.et-cf7 .et-cf7__consent .wpcf7-acceptance {
	display: block;
}

form.et-cf7 .et-cf7__consent .wpcf7-list-item {
	margin: 0;
}

form.et-cf7 .et-cf7__consent .wpcf7-list-item-label {
	display: inline;
	font-family: "Special Gothic", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #4b5563;
}

form.et-cf7 .et-cf7__consent .wpcf7-list-item-label a {
	color: #234df1;
	text-decoration: underline;
	text-underline-offset: 2px;
}

form.et-cf7 .et-cf7__consent .wpcf7-list-item-label a:hover {
	color: #19349e;
}

form.et-cf7 .et-cf7__consent input[type="checkbox"] {
	width: auto;
	margin: 0 10px 0 0;
	vertical-align: top;
	accent-color: #234df1;
	cursor: pointer;
}

/* Beat Hello Elementor reset: button/input hover → #c36
 * Blue pill (matches .et-btn--blue): Terminal Blue + white label + white arrow disc.
 */
form.et-cf7 input.wpcf7-submit.et-cf7-submit,
form.et-cf7 input.et-cf7-submit {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 12px 56px 12px 28px;
	border: 0;
	border-radius: 999px;
	background-color: #234df1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36' fill='none'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23FFFFFF'/%3E%3Cpath d='M14 18h8M19 14l4 4-4 4' stroke='%23234DF1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 36px 36px;
	box-shadow: 0 8px 24px rgba(35, 77, 241, 0.28);
	color: #fff;
	font-family: "Special Gothic", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

form.et-cf7 input.wpcf7-submit.et-cf7-submit:hover,
form.et-cf7 input.wpcf7-submit.et-cf7-submit:focus,
form.et-cf7 input.wpcf7-submit.et-cf7-submit:focus-visible,
form.et-cf7 input.wpcf7-submit.et-cf7-submit:active,
form.et-cf7 input.et-cf7-submit:hover,
form.et-cf7 input.et-cf7-submit:focus,
form.et-cf7 input.et-cf7-submit:focus-visible,
form.et-cf7 input.et-cf7-submit:active {
	background-color: #19349e;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36' fill='none'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23F2FC2A'/%3E%3Cpath d='M14 18h8M19 14l4 4-4 4' stroke='%230B1220' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	box-shadow: 0 10px 28px rgba(25, 52, 158, 0.35);
	color: #fff;
	outline: none;
}

@media (max-width: 767px) {
	form.et-cf7 .et-cf7__actions {
		display: block;
	}

	form.et-cf7 input.wpcf7-submit.et-cf7-submit,
	form.et-cf7 input.et-cf7-submit {
		display: flex;
		width: 100%;
		padding-left: 28px;
		padding-right: 56px;
	}
}

form.et-cf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-family: "Special Gothic", sans-serif;
	font-size: 13px;
	color: #b42318;
}

form.et-cf7 .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-family: "Special Gothic", sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

form.et-cf7 .wpcf7-spinner {
	margin-left: 12px;
}
