/* Base layout (Bootstrap solo per .container / .row / .col) */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-tap-highlight-color: transparent;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

body {
	margin: 0;
	font-family: var(--nenne-font-body);
	color: var(--nenne-color-text);
	background: var(--nenne-color-bg);
	line-height: var(--nenne-text-leading);
}

/* Solo screen reader — titolo pagina (SEO / accessibilità) */
.nenne-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

a {
	color: inherit;
}

:is(a, button, input, textarea, select, summary, [tabindex]:not([tabindex="-1"])):focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

img,
video {
	max-width: 100%;
	height: auto;
}

.nenne-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.nenne-menu a {
	text-decoration: none;
}

.nenne-page-header {
	padding: 2.5rem 0 1rem;
}

.nenne-page-header__title {
	margin: 0;
}

.nenne-content {
	padding: 1rem 0 3rem;
}

[data-section] {
	scroll-margin-top: var(--nenne-section-scroll-margin);
}

@media (min-width: 768px) {
	[data-section] {
		scroll-margin-top: calc(var(--nenne-section-scroll-margin) + 1.25rem);
	}
}

.nenne-contatti__grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.nenne-contatti__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.nenne-contatti__map iframe {
	width: 100%;
	min-height: 320px;
	border: 0;
}

/* CF7 — quiz, privacy, honeypot */

.nenne-cf7-security-honeypot {
	position: absolute !important;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nenne-cf7-quiz .wpcf7-form-control-wrap > label {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	margin: 0;
}

.nenne-cf7-quiz .wpcf7-quiz-label {
	font-family: var(--nenne-font-body);
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nenne-cf7-privacy .wpcf7-list-item {
	margin: 0;
}

.nenne-cf7-privacy label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	text-transform: none;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.45;
}

.nenne-cf7-privacy .wpcf7-list-item-label {
	line-height: 1.45;
	border: none;
	box-shadow: none;
	background: transparent;
	padding: 0;
	width: auto;
}

.nenne-cf7-privacy input[type="checkbox"],
.nenne-cf7-privacy .wpcf7-acceptance {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin-top: 0.1rem;
	flex: 0 0 auto;
	padding: 0;
	border: none;
	box-shadow: none;
	background: transparent;
	accent-color: var(--nenne-color-primary);
}

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