.section_contact.wp-block-acf.has_bg {
	background-size: 100% auto;
	background-position: bottom;
}
.section_contact .container {
	max-width: 1156px;
}
.section_contact_inner .contact_form_box {
	margin-top: 100px;
}

.section_contact_inner .contact_form_box .contact_form_text {
	margin-bottom: 30px;
}

/* thank-you message, shown after sending */
.thankyou_content .success_message {
	position: relative;
	display: flex;
	align-items: center;
	gap: 13px;
}
.thankyou_content .success_message::before {
	/* thin drawn circle + check */
	content: "";
	flex: none;
	width: 34px;
	height: 34px;
	background: var(--wp--preset--color--darkgreen);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18.6' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M13.2 20.6l4.6 4.6 9-10' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18.6' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M13.2 20.6l4.6 4.6 9-10' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / contain no-repeat;
}
.thankyou_content.is-visible .success_message::before {
	animation: ty-check 700ms var(--ease-overshoot) 150ms both;
}
@keyframes ty-check {
	from {
		opacity: 0;
		transform: scale(0.6) rotate(-20deg);
	}
}
.thankyou_content .section_description {
	max-width: 100%;
}
.thankyou_content {
	opacity: 0;
	visibility: hidden;
	transition: 0.4s var(--ease-out);
	transition-property: opacity, max-height;
	max-height: 0;
	padding-bottom: 23%;
}
.thankyou_content.is-visible {
	opacity: 1;
	visibility: visible;
	max-height: 900px;
}
@media only screen and (max-width: 768px) {
	.section_contact_inner .contact_form_box {
		margin-top: 50px;
	}
}

/* ===================================
	Styled select (blocks/contact/script.js)
	Closed: matches the form's other boxed fields. Open: a soft rounded panel that fades,
	unblurs and drops in; hover/keyboard highlight; green check on the chosen option.
=================================== */
.xs {
	position: relative;
	margin-top: 17px; /* same spacing the native select had inside its label */
	font-family: var(--wp--preset--font-family--body);
	letter-spacing: normal;
	text-transform: none;
	font-weight: 400;
}
.xs .xs-native {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	margin: 0;
}
.xs-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 3.45rem;
	padding: 0 0.8em;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--black);
	color: var(--wp--preset--color--black);
	font-size: 14px;
	cursor: pointer;
	user-select: none;
	transition:
		border-color var(--dur-micro) var(--ease-out),
		box-shadow var(--dur-short) var(--ease-out);
}
.xs-trigger.is-placeholder .xs-value {
	color: var(--wp--preset--color--darkblue);
}
@media (hover: hover) and (pointer: fine) {
	.xs-trigger:hover {
		border-color: var(--wp--preset--color--darkgreen);
	}
}
.xs-trigger:focus-visible,
.xs.is-open .xs-trigger {
	outline: none;
	border-color: var(--wp--preset--color--darkgreen);
	box-shadow: 0 0 0 3px rgba(50, 208, 84, 0.25);
}
.xs-trigger.is-invalid {
	border-color: #d63638;
}
.xs-value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.xs-chevron {
	display: flex;
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--wp--preset--color--darkblue);
	transition: transform var(--dur-short) var(--ease-out);
}
.xs-chevron svg,
.xs-check svg {
	width: 100%;
	height: 100%;
}
.xs.is-open .xs-chevron {
	transform: rotate(180deg);
}

.xs-list {
	position: absolute;
	z-index: 50;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 320px;
	overflow-y: auto;
	padding: 6px;
	background: var(--wp--preset--color--white);
	border: 1px solid rgba(25, 39, 43, 0.08);
	border-radius: 12px;
	box-shadow:
		0 16px 40px -12px rgba(25, 39, 43, 0.28),
		0 2px 6px rgba(25, 39, 43, 0.06);
	transform-origin: top center;
	/* closed */
	visibility: hidden;
	opacity: 0;
	transform: translate3d(0, -6px, 0) scale(0.98);
	filter: blur(4px);
	pointer-events: none;
	transition:
		opacity 150ms var(--ease-in),
		transform 150ms var(--ease-in),
		filter 150ms var(--ease-in),
		visibility 0s linear 150ms;
}
.xs.is-open .xs-list {
	visibility: visible;
	opacity: 1;
	transform: none;
	filter: none;
	pointer-events: auto;
	transition:
		opacity 260ms var(--ease-out),
		transform 320ms var(--ease-out),
		filter 260ms var(--ease-out),
		visibility 0s;
}
.xs-option {
	position: relative;
	display: flex;
	align-items: center;
	padding: 10px 12px 10px 36px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--wp--preset--color--black);
	cursor: pointer;
	transition: background-color var(--dur-micro) var(--ease-out);
}
.xs-option.is-placeholder {
	display: none;
	color: var(--wp--preset--color--darkblue);
}
.xs-option.is-active {
	background-color: #eff5f1;
}
.xs-check {
	position: absolute;
	left: 12px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	color: var(--wp--preset--color--darkgreen);
	opacity: 0;
	transform: scale(0.6);
	transition:
		opacity var(--dur-micro) var(--ease-out),
		transform var(--dur-short) var(--ease-out);
}
.xs-option[aria-selected="true"] .xs-check {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.xs-list,
	.xs.is-open .xs-list {
		transform: none;
		filter: none;
	}
}

/* Field focus: instead of the site-wide keyboard ring (a box around the underlined fields), the
	underline itself turns green and thickens; the message box gets the same soft ring as the
	styled select. Works for mouse and keyboard. */
form.wpcf7-form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea) {
	transition:
		border-color var(--dur-short) var(--ease-out),
		box-shadow var(--dur-short) var(--ease-out);
}
form.wpcf7-form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea):focus,
form.wpcf7-form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea):focus-visible {
	outline: none;
}
form.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus {
	border-bottom-color: var(--wp--preset--color--darkgreen);
	box-shadow: inset 0 -1px 0 0 var(--wp--preset--color--darkgreen);
}
form.wpcf7-form textarea:focus {
	border-color: var(--wp--preset--color--darkgreen);
	box-shadow: 0 0 0 3px rgba(50, 208, 84, 0.25);
}
