/**
 * Contatti — layout sezioni pagina.
 */

/* Navbar overlay: blend difference fin dall’inizio (sfondo chiaro, senza hero). */
body.nenne-body--contatti .nenne-site-header--overlay .nenne-site-header__menu-link,
body.nenne-body--contatti .nenne-site-header--overlay .nenne-site-header__logo-link,
body.nenne-body--contatti .nenne-site-header--overlay .nenne-site-header__logo-text,
body.nenne-body--contatti .nenne-site-header--overlay .nenne-site-header__burger {
	transition:
		color 0.45s ease,
		border-color 0.45s ease,
		opacity 0.45s ease;
}

body.nenne-body--contatti .nenne-site-header--overlay .nenne-site-header__logo-img {
	transition: filter 0.45s ease;
}

body.nenne-body--contatti:not(.nenne-mobile-nav-open)
	.nenne-site-header--overlay.nenne-site-header--blend {
	mix-blend-mode: difference;
}

.nenne-contatti-form .nenne-title--2,
.nenne-contatti-info .nenne-title--2 {
	max-width: 900px;
	text-align: center;
	margin-inline: auto;
}

.nenne-contatti-info.nenne-section {
	padding-top: 0;
}

.nenne-contatti-form .nenne-text,
.nenne-contatti-info .nenne-text {
	max-width: 650px;
	text-align: center;
	margin-inline: auto;
}

.nenne-contatti-form .nenne-text + .nenne-contatti-form__form {
	margin-top: var(--nenne-gap-text-buttons);
}

.nenne-contatti-form__form {
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
	text-align: start;
}

.nenne-contatti-form__form .wpcf7 {
	margin: 0;
}

/* Form CF7 — stessa base visuale usata nelle altre pagine. */
.nenne-contatti-form .nenne-cf7 {
	width: 100%;
	text-align: start;
}

.nenne-contatti-form .nenne-cf7__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.nenne-contatti-form .nenne-cf7__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
	}
}

.nenne-contatti-form .nenne-cf7__field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	margin: 0;
}

.nenne-contatti-form .nenne-cf7__field--full {
	grid-column: 1 / -1;
}

.nenne-contatti-form .nenne-cf7__label {
	font-family: var(--nenne-font-body);
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--nenne-color-text);
}

.nenne-contatti-form .nenne-cf7-quiz .wpcf7-quiz-label {
	color: var(--nenne-color-text);
}

.nenne-contatti-form .nenne-cf7-privacy .wpcf7-form-control.wpcf7-acceptance,
.nenne-contatti-form .nenne-cf7-privacy input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	padding: 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	accent-color: var(--nenne-color-primary);
}

.nenne-contatti-form .nenne-cf7-privacy .wpcf7-form-control.wpcf7-acceptance:focus,
.nenne-contatti-form .nenne-cf7-privacy input[type="checkbox"]:focus {
	border: none;
	box-shadow: none;
	outline: none;
}

.nenne-contatti-form .nenne-cf7__control,
.nenne-contatti-form .wpcf7-form-control:not(.wpcf7-submit) {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 1rem 1.25rem;
	font-family: var(--nenne-font-body);
	font-size: 18px;
	line-height: 1.4;
	font-weight: 300;
	letter-spacing: -0.02em;
	color: var(--nenne-color-text);
	background-color: transparent;
	border: 1px solid #141414;
	border-radius: var(--nenne-cf7-field-radius);
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nenne-contatti-form .nenne-cf7__control::placeholder,
.nenne-contatti-form .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
	color: var(--nenne-color-text-muted);
	opacity: 1;
}

.nenne-contatti-form .nenne-cf7__control:focus,
.nenne-contatti-form .wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: none;
	border-color: var(--nenne-color-accent);
	box-shadow: 0 0 0 1px var(--nenne-color-accent);
}

.nenne-contatti-form .wpcf7-select {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23141414' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.25rem center;
	padding-right: 3rem;
}

.nenne-contatti-form .nenne-cf7__control--textarea,
.nenne-contatti-form textarea.wpcf7-form-control {
	min-height: 8.5rem;
	resize: vertical;
	line-height: 1.5;
}

.nenne-contatti-form .nenne-cf7__actions {
	margin: 0;
	margin-top: var(--nenne-gap-text-buttons);
	text-align: center;
}

.nenne-contatti-form .wpcf7-form .wpcf7-submit.nenne-btn {
	display: inline-flex;
	width: auto;
	min-width: min(100%, 280px);
	cursor: pointer;
}

.nenne-contatti-form .wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	font-size: 14px;
	color: var(--nenne-color-accent);
}

.nenne-contatti-form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 1rem 1.25rem;
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
	border: 1px solid #141414;
	border-radius: var(--nenne-cf7-field-radius);
}

.nenne-contatti-info__blocks {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	text-align: center;
}

@media (min-width: 992px) {
	.nenne-contatti-info__blocks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: start;
	}

	.nenne-contatti-info__block .nenne-title--2 {
		font-size: clamp(2rem, 2.6vw, 2.4rem);
		line-height: 1.15;
	}
}

.nenne-contatti-info__block .nenne-title--2 + .nenne-text,
.nenne-contatti-info__block .nenne-title--2 + .nenne-wysiwyg {
	margin-top: var(--nenne-gap-title-text);
}

.nenne-contatti-info__block .nenne-text a,
.nenne-contatti-info__block .nenne-wysiwyg a {
	color: inherit;
	text-decoration: none;
}

.nenne-contatti-info__block .nenne-text a:hover,
.nenne-contatti-info__block .nenne-wysiwyg a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
	animation:  0.3s ease-in-out;

}

.nenne-contatti-info__link-wrap {
	margin-top: var(--nenne-gap-text-buttons);
}

.nenne-contatti-info__map iframe {
	width: 100%;
	min-height: clamp(320px, 55vh, 620px);
	min-height: clamp(320px, 55svh, 620px);
	border: 0;
}

/* CTA finale stile Home */
.nenne-home-cta {
	background-color: var(--nenne-home-cta-bg, var(--nenne-color-bg));
}

.nenne-home-cta__inner {
	text-align: center;
}

.nenne-home-cta .nenne-title--2 {
	margin-inline: auto;
	max-width: 900px;
}

.nenne-home-cta .nenne-text {
	margin-inline: auto;
	max-width: 650px;
}

.nenne-home-cta .nenne-btn-group {
	justify-content: center;
}

@media (max-width: 767.98px) {
	.nenne-contatti-form .nenne-title--2,
	.nenne-contatti-info .nenne-title--2,
	.nenne-home-cta .nenne-title--2,
	.nenne-contatti-form .nenne-text,
	.nenne-contatti-info .nenne-text,
	.nenne-home-cta .nenne-text,
	.nenne-contatti-info .nenne-wysiwyg,
	.nenne-home-cta .nenne-wysiwyg {
		text-align: start;
		margin-inline: 0;
	}

	.nenne-contatti-info__blocks,
	.nenne-home-cta__inner {
		text-align: start;
	}

	.nenne-contatti-info__blocks{
		gap: 2rem;
	}

	.nenne-home-cta .nenne-btn-group {
		justify-content: flex-start;
	}
}

.nenne-home-cta--custom-accent {
	--nenne-home-cta-btn-label: var(--nenne-home-cta-bg, var(--nenne-color-bg));
}

.nenne-home-cta--custom-accent .nenne-title,
.nenne-home-cta--custom-accent .nenne-text,
.nenne-home-cta--custom-accent .nenne-wysiwyg,
.nenne-home-cta--custom-accent .nenne-wysiwyg a {
	color: var(--nenne-home-cta-accent);
}

.nenne-home-cta--custom-accent .nenne-btn--filled {
	background-color: var(--nenne-home-cta-accent);
	border-color: var(--nenne-home-cta-accent);
	color: var(--nenne-home-cta-btn-label);
}

.nenne-home-cta--custom-accent .nenne-btn--outline {
	background-color: transparent;
	color: var(--nenne-home-cta-accent);
	border-color: var(--nenne-home-cta-accent);
}

.nenne-home-cta--custom-accent .nenne-btn--underline {
	color: var(--nenne-home-cta-accent);
}
