.vilifa-contact {
	--va-green: #145e39;
	--va-mint: #e9f3ec;
}

.vilifa-contact .va-contact-panel { padding: 120px 0 140px; }

.vilifa-contact .va-form {
	position: relative;
	isolation: isolate;
	background-color: var(--va-mint);
	width: min(650px, calc(100% - 40px));
	margin: 0 auto;
	padding: 65px 60px 80px;
}

.vilifa-contact .va-form::before,
.vilifa-contact .va-form::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	width: 64%;
	background: center / contain no-repeat;
}

.vilifa-contact .va-form::before {
	bottom: 10%;
	left: -24%;
	width: 30%;
	height: 64%;
	background-image: url(contact/contact-left-leaf.svg);
}

.vilifa-contact .va-form::after {
	right: -27%;
	top: 1%;
	height: 96%;
	background-image: url(contact/contact-right-leaf.svg);
}

.vilifa-contact .va-form h2 { font-size: 36px; margin-bottom: 50px; }
.vilifa-contact .va-form .ff-el-form-control { min-height: 55px; }
.vilifa-contact .va-form .fluentform button.ff-btn-submit {
	min-height: 56px;
	background-color: var(--va-green);
}

.vilifa-contact .va-form .fluentform button.ff-btn-submit:hover {
	background-color: #a74712;
}

.vc-details {
	width: min(1200px, calc(100% - 40px));
	margin: 65px auto 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 45px;
	color: #131313;
}

.vc-details .wp-block-group { display: flex; align-items: center; gap: 15px; }
.vc-details .wp-block-image { flex: 0 0 50px; }
.vc-details img {
	width: 50px;
	height: 50px;
	padding: 13px;
	border-radius: 50%;
	background: var(--va-green);
}
.vc-details a { color: inherit; overflow-wrap: anywhere; }
.vc-details a:hover { color: var(--theme-link-hover-color); }

.vilifa-contact .vc-panorama { max-width: 1920px; height: 530px; margin: 0 auto; overflow: hidden; }
.vilifa-contact .vc-panorama img { display: block; width: 100%; height: 100%; object-fit: cover; }

.va-faq { padding-block: 120px 140px; }
.va-faq .va-container { max-width: 910px; }
.vilifa-contact .va-faq h2 { text-align: center; font-size: clamp(30px, 4vw, 40px); }
.va-faq .vc-faq-list { margin-top: 40px; border-radius: 20px; background: var(--va-mint); padding: 40px 60px 60px; }
.vc-faq-list details { border-bottom: 1px solid #c8d6ce; }
.vc-faq-list summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding-block: 14px;
	color: var(--va-ink);
	font-size: 22px;
	font-weight: 600;
}
.vc-faq-list summary::-webkit-details-marker { display: none; }
.vc-faq-list summary::after { content: "+"; flex-shrink: 0; font-size: 26px; }
.vc-faq-list details[open] summary::after { content: "−"; }
.vilifa-contact .vc-faq-list p { margin-bottom: 18px; }

@media (max-width: 767px) {
	.vilifa-contact .va-contact-panel { padding: 80px 0; }
	.vilifa-contact .va-form { padding: 34px 22px 40px; }
	.vilifa-contact .va-form::before, .vilifa-contact .va-form::after { display: none; }
	.vilifa-contact .vc-panorama { height: clamp(220px, 55vw, 360px); }
	.vilifa-contact .va-form h2 { font-size: 30px; margin-bottom: 24px; }
	.vilifa-contact .va-form .ff-el-form-control { min-height: 46px; }
	.vc-details { grid-template-columns: 1fr; gap: 24px; margin-top: 45px; }
	.vc-details .wp-block-image { flex-basis: 44px; }
	.vc-details img { width: 44px; height: 44px; padding: 11px; }
	.va-faq { padding-block: 80px; }
	.va-faq .vc-faq-list { padding: 22px 20px 30px; margin-top: 25px; }
	.vc-faq-list summary { font-size: 17px; }
}

/* Keep labels available to assistive technology while matching the form layout. */
.vilifa-contact .va-form .ff-el-input--label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
