/**
 * Contact page inquiry form — match footer inquiry form field styles.
 */

.contact-methodology .footer-right-form .inquiry-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-methodology .footer-right-form .inquiry-form .form-group {
	position: relative;
	margin: 0;
}

.contact-methodology .footer-right-form .inquiry-form .form-group input,
.contact-methodology .footer-right-form .inquiry-form .form-group textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 58px;
	padding: 18px 50px 18px 25px;
	background: #f9f9f9;
	border: 1px solid #eeeeee;
	border-radius: 15px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #111111;
	transition: border-color 0.3s ease, background-color 0.3s ease;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.contact-methodology .footer-right-form .inquiry-form .form-group input::placeholder,
.contact-methodology .footer-right-form .inquiry-form .form-group textarea::placeholder {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #555555;
	opacity: 1;
}

.contact-methodology .footer-right-form .inquiry-form .form-group input:focus,
.contact-methodology .footer-right-form .inquiry-form .form-group textarea:focus {
	outline: none;
	border-color: #d32323;
	background: #ffffff;
	box-shadow: none;
}

.contact-methodology .footer-right-form .inquiry-form .form-group textarea {
	min-height: 110px;
	height: auto;
	padding: 18px 25px;
	border-radius: 15px;
	resize: vertical;
}

.contact-methodology .footer-right-form .input-icon {
	right: 20px;
	left: auto;
}

.contact-methodology .footer-right-form .inquiry-form .form-row {
	display: grid;
	grid-template-columns: minmax(155px, 165px) minmax(0, 1fr);
	gap: 15px;
	align-items: stretch;
}

.contact-methodology .footer-right-form .form-group.country-select {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 58px;
	height: 58px;
	padding: 0 12px 0 10px;
	background: #f9f9f9;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	box-sizing: border-box;
	cursor: pointer;
}

.contact-methodology .footer-right-form .country-select .country-select-flag,
.contact-methodology .footer-right-form .country-select .flag {
	flex-shrink: 0;
	width: 20px;
	height: 15px;
	border-radius: 2px;
	pointer-events: none;
	display: none;
}

.contact-methodology .footer-right-form .country-select .country-code-select,
.contact-methodology .footer-right-form .country-select .country-code-select:focus {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	min-height: 0;
	height: 100%;
	margin: 0;
	padding: 0 0 0 4px;
	border: none;
	border-radius: 0;
	background: transparent;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #555555;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: none;
}

.contact-methodology .footer-right-form .country-select .chevron,
.contact-methodology .footer-right-form .country-select .country-select-chevron {
	flex-shrink: 0;
	margin-left: auto;
	font-size: 10px;
	line-height: 1;
	color: #555555;
	pointer-events: none;
}

.contact-methodology .footer-right-form .country-select:focus-within {
	border-color: #d32323;
	background: #ffffff;
	outline: none;
}

@media (max-width: 767px) {
	.contact-methodology .footer-right-form .inquiry-form .form-row {
		grid-template-columns: minmax(145px, 155px) minmax(0, 1fr);
		gap: 12px;
	}
}

@media (max-width: 479px) {
	.contact-methodology .footer-right-form .inquiry-form .form-row {
		grid-template-columns: 1fr;
	}
}

/**
 * Contact Form 7 output parity — keep the converted form visually identical
 * to the original static markup (CF7 wraps each field in .wpcf7-form-control-wrap
 * and renders icons via pseudo-elements instead of inline <img>).
 */
.contact-methodology .footer-right-form .wpcf7,
.contact-methodology .footer-right-form .wpcf7 form,
.contact-methodology .footer-right-form .wpcf7 p {
	margin: 0;
}

.contact-methodology .footer-right-form .inquiry-form .wpcf7-form-control-wrap {
	display: block;
	position: relative;
	width: 100%;
}

.contact-methodology .footer-right-form .cc-form-field-name .wpcf7-form-control-wrap::after,
.contact-methodology .footer-right-form .cc-form-field-email .wpcf7-form-control-wrap::after,
.contact-methodology .footer-right-form .cc-phone-field .wpcf7-form-control-wrap::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 28px;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
}

.contact-methodology .footer-right-form .cc-form-field-name .wpcf7-form-control-wrap::after {
	background-image: url("../images/user-icon.svg");
}

.contact-methodology .footer-right-form .cc-form-field-email .wpcf7-form-control-wrap::after {
	background-image: url("../images/mail-icon.svg");
}

.contact-methodology .footer-right-form .cc-phone-field .wpcf7-form-control-wrap::after {
	background-image: url("../images/call-icon.svg");
}

.contact-methodology .footer-right-form .country-select .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.contact-methodology .footer-right-form .country-select select.cf7-country-code,
.contact-methodology .footer-right-form .country-select select.cf7-country-code:focus {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	min-height: 0;
	height: 58px;
	margin: 0;
	padding: 0 24px 0 4px;
	border: none;
	border-radius: 0;
	background: transparent;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #555555;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: none;
}

.contact-methodology .footer-right-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: #d32323;
}

.contact-methodology .footer-right-form .wpcf7-form-control.wpcf7-not-valid:not(.cf7-country-code) {
	border-color: #d32323;
	background: #fffafa;
}

.contact-methodology .footer-right-form .country-select:has(.wpcf7-not-valid) {
	border-color: #d32323;
	background: #fffafa;
}

.contact-methodology .footer-right-form .country-select select.cf7-country-code.wpcf7-not-valid {
	border: none;
	background: transparent;
}

.contact-methodology .footer-right-form .wpcf7-response-output {
	margin: 12px 0 0;
	padding: 12px 16px;
	border-radius: 2px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.contact-methodology .footer-right-form .wpcf7 form.sent .wpcf7-response-output {
	border: 1px solid #46b450;
	background: #f0fff1;
	color: #1e4620;
	border-radius: 15px;
}

.contact-methodology .footer-right-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-methodology .footer-right-form .wpcf7 form.failed .wpcf7-response-output,
.contact-methodology .footer-right-form .wpcf7 form.aborted .wpcf7-response-output,
.contact-methodology .footer-right-form .wpcf7 form.spam .wpcf7-response-output {
	border: 1px solid #d32323;
	background: #fff5f5;
	color: #7a1212;
	border-radius: 15px;
}

.contact-methodology .footer-right-form .wpcf7-spinner {
	margin: 10px auto 0;
}

.contact-methodology .footer-right-form .cc-form-submit input.wpcf7-submit.submit-btn {
	width: 100%;
	padding: 18px;
	background: #d32323;
	color: #ffffff;
	border: none;
	border-radius: 15px;
	font-family: 'owners', sans-serif;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 1.3px;
	text-transform: capitalize;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.contact-methodology .footer-right-form .cc-form-submit input.wpcf7-submit.submit-btn:hover {
	background: #b21e1e;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(211, 35, 35, 0.2);
}
