.wpcf7 form .wpcf7-response-output {
	display: none !important;
}

.wpcf7-form-control.wpcf7-not-valid {
	border-color: #c0392b !important;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

.wpcf7-not-valid-tip {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin-top: .35rem;
	font-size: .85rem;
	line-height: 1.3;
	color: #c0392b;
}

.wpcf7-not-valid-tip::before {
	content: "!";
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 50%;
	background: #c0392b;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
}

.wpcf7 form:has(button[type="submit"]) .wpcf7-spinner {
	display: none;
}

.wpcf7 form.submitting [type="submit"] {
	pointer-events: none;
}

.wpcf7 form.submitting input[type="submit"] {
	opacity: .6;
}

.wpcf7 form.submitting button[type="submit"] {
	position: relative;
	color: transparent !important;
}

.wpcf7 form.submitting button[type="submit"]::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: cf7-spin .7s linear infinite;
}

@keyframes cf7-spin {
	to { transform: rotate(360deg); }
}

.cf7-popup {
	--cf7-accent: #c8870c;
	--cf7-text: #1f2937;
	box-sizing: border-box;
	width: min(calc(100vw - 2rem), 400px);
	max-width: none;
	padding: 2rem 1.5rem 1.5rem;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: var(--cf7-text);
	text-align: center;
	box-shadow: 0 20px 50px rgba(15, 23, 42, .25);
}

.cf7-popup:modal {
	position: fixed;
	inset: 0;
	margin: auto;
	height: fit-content;
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.cf7-popup::backdrop {
	background: rgba(15, 23, 42, .55);
	overflow: hidden;
	overscroll-behavior: contain;
}

.cf7-popup[data-type="success"] { --cf7-state: #2e9e5b; }
.cf7-popup[data-type="invalid"] { --cf7-state: #d48806; }
.cf7-popup[data-type="error"] { --cf7-state: #c0392b; }

.cf7-popup__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--cf7-state) 14%, #fff);
}

.cf7-popup__icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: var(--cf7-state);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cf7-popup__title {
	margin: 0 0 .5rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
}

.cf7-popup__text {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #4b5563;
}

.cf7-popup form {
	margin: 0;
}

.cf7-popup__btn {
	min-width: 140px;
	min-height: 44px;
	padding: .6rem 1.75rem;
	border: 0;
	border-radius: 999px;
	background: var(--cf7-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.cf7-popup__btn:hover {
	filter: brightness(.93);
}

.cf7-popup__btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--cf7-accent) 45%, #fff);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
	.cf7-popup[open] {
		animation: cf7-pop .22s ease-out;
	}
	.cf7-popup[open]::backdrop {
		animation: cf7-fade .22s ease-out;
	}
}

@keyframes cf7-pop {
	from { opacity: 0; transform: translateY(12px) scale(.97); }
}

@keyframes cf7-fade {
	from { opacity: 0; }
}

@media (max-width: 575.98px) {
	.cf7-popup {
		padding: 1.75rem 1.25rem 1.25rem;
	}
	.cf7-popup__btn {
		width: 100%;
	}
}
