/* =========================================================
   KAPASIGMA ONE PAGE — main.css
   ========================================================= */

:root {
	--forest: #354d2e;
	--emerald-mid: #4f7345;
	--emerald-dark: #5c8650;
	--emerald: #7fab72;
	--emerald-light: #aecaa6;
	--accent: #2e4a54;
	--slate: #7291a3;
	--slate-light: #a3b7c3;
	--slate-dark: #4f6572;
	--mint: #eef0e7;
	--paper: #fbfdfb;
	--white: #ffffff;
	--ink: #212b1e;
	--ink-muted: #5b6455;
	--border: #dde2d4;
	--font-display: 'Space Grotesk', 'Inter', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
	--container: 1180px;
	--radius: 18px;
	--shadow: 0 14px 34px rgba(56, 70, 52, 0.12);
	--transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	line-height: 1.65;
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
	color: var(--forest);
}
p { margin: 0 0 16px; }
button { font-family: inherit; cursor: pointer; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

section { position: relative; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--emerald);
	margin-bottom: 16px;
}
.eyebrow::before {
	content: '';
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--slate);
	flex: none;
}

.section-head {
	max-width: 640px;
	margin: 0 auto 56px;
	text-align: center;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { color: var(--ink-muted); font-size: 17px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 28px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 15px;
	font-family: var(--font-display);
	border: 2px solid transparent;
	transition: all var(--transition);
	white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark { border-color: var(--forest); color: var(--forest); }
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }

/* ---------- Fade-in animations ---------- */
[data-animate] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
.stagger [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.stagger [data-animate]:nth-child(2) { transition-delay: 0.13s; }
.stagger [data-animate]:nth-child(3) { transition-delay: 0.21s; }
.stagger [data-animate]:nth-child(4) { transition-delay: 0.29s; }
.stagger [data-animate]:nth-child(5) { transition-delay: 0.37s; }
.stagger [data-animate]:nth-child(6) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
	[data-animate] { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Lingua IT/EN ---------- */
.lang-switch {
	display: flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	padding: 3px;
}
.lang-switch button {
	border: 2px solid transparent;
	background: var(--mint);
	color: var(--forest);
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.65;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.lang-switch button:hover { transform: scale(1.1); opacity: 1; }
.lang-switch button.is-active {
	background: var(--accent);
	color: var(--white);
	border-color: var(--forest);
	opacity: 1;
	transform: scale(1.14) rotate(-6deg);
}

/* ---------- Barra fissa minimale (logo + lingua), niente menu ---------- */
.top-bar {
	position: fixed;
	top: 20px; left: 0; right: 0;
	z-index: 999;
	pointer-events: none;
}
.top-bar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.top-bar .lang-switch {
	pointer-events: auto;
	background: rgba(251,253,251,0.9);
	backdrop-filter: blur(6px);
	box-shadow: var(--shadow);
	border-radius: 100px;
}
.top-bar-brand {
	display: flex;
	align-items: center;
	pointer-events: auto;
	gap: 10px;
}
.top-bar-brand img.custom-logo { max-height: 34px; width: auto; display: block; }
.top-bar-brand .site-title { display: block; }
.brand-logo-img {
	max-height: 92px;
	width: auto;
	display: block;
	filter: drop-shadow(0 0 2px rgba(255,255,255,0.9)) drop-shadow(0 0 10px rgba(255,255,255,0.65)) drop-shadow(0 6px 14px rgba(16,40,28,0.22));
}
.top-bar .lang-switch { padding: 4px; }

/* ---------- Pulsante flottante "Contattaci" ---------- */
.floating-cta {
	position: fixed;
	right: 24px; bottom: 24px;
	z-index: 998;
	background: var(--slate-light);
	color: var(--forest);
	padding: 15px 26px;
	border-radius: 100px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 14.5px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 10px 26px rgba(16,40,28,0.28);
	transition: transform var(--transition), background var(--transition);
}
.floating-cta:hover { background: var(--emerald); color: var(--white); transform: translateY(-2px); }
.floating-cta svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
	.top-bar { top: 14px; }
	.brand-logo-img { max-height: 58px; }
	.floating-cta { right: 16px; bottom: 16px; padding: 13px 20px; font-size: 13.5px; }
}

/* ---------- Hero ---------- */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	background: radial-gradient(120% 100% at 15% 0%, #2e6b3f 0%, var(--emerald-dark) 55%, #14311a 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	padding: 140px 0 100px;
}
.hero.has-custom-bg::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(155deg, rgba(16,40,28,0.86) 0%, rgba(21,122,77,0.72) 100%);
}
.hero-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.5;
}
.hero-blob-1 {
	width: 420px; height: 420px;
	right: -120px; top: -100px;
	background: radial-gradient(circle at 30% 30%, var(--emerald-light), transparent 70%);
}
.hero-blob-2 {
	width: 320px; height: 320px;
	left: -100px; bottom: -120px;
	background: radial-gradient(circle at 60% 60%, var(--slate-light), transparent 70%);
	opacity: 0.22;
}
.hero-content { position: relative; z-index: 3; max-width: 780px; }
.hero .eyebrow { color: var(--white); }
.hero .eyebrow::before { background: var(--white); }
.hero h1 {
	color: var(--white);
	font-size: clamp(36px, 5.4vw, 60px);
	margin-bottom: 22px;
}
.hero h1 em {
	font-style: normal;
	color: var(--emerald-light);
}
.hero p.lead {
	color: rgba(255,255,255,0.85);
	font-size: 19px;
	max-width: 600px;
	margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Servizi: card circolari che ruotano al clic ---------- */
.services { padding: 140px 0 130px; background: var(--paper); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	align-items: center;
	column-gap: 24px;
	row-gap: 70px;
	max-width: 1180px;
	margin: 0 auto;
}
.service-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 1;
}
.service-tile:hover { z-index: 6; }
/* Posizioni leggermente sfalsate in verticale, per un effetto "a mosaico" non rigido */
.service-tile.pos-1 { transform: translate(10px, 22px); }
.service-tile.pos-2 { transform: translate(-18px, -20px); }
.service-tile.pos-3 { transform: translate(24px, -8px); }
.service-tile.pos-4 { transform: translate(-14px, 24px); }
.service-tile.pos-5 { transform: translate(16px, -26px); }
.service-tile.pos-6 { transform: translate(-22px, 12px); }

.service-flip {
	width: 270px;
	height: 270px;
	perspective: 1400px;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-flip:hover { transform: scale(1.08); }
.service-tile--lg { margin: 0 -20px; }
.service-tile--lg .service-flip { width: 360px; height: 360px; }

.service-flip-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.7s cubic-bezier(0.4, 0.15, 0.2, 1);
}
.service-flip.is-flipped .service-flip-inner { transform: rotateY(180deg); }
.service-face {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	cursor: pointer;
	border: none;
	font-family: inherit;
}
.service-front {
	background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%);
	box-shadow: var(--shadow);
}
.service-icon {
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 14px;
	flex: none;
}
.service-icon svg { width: 46px; height: 46px; stroke: var(--white); stroke-width: 1.6; }
.service-front h3 { font-size: 18px; margin: 0; line-height: 1.3; color: var(--white); }
.service-tile--lg .service-icon svg { width: 60px; height: 60px; }
.service-tile--lg .service-front h3 { font-size: 22px; }
.service-tile--lg .service-back p { font-size: 16px; }
.service-back {
	background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%);
	color: var(--white);
	transform: rotateY(180deg);
	box-shadow: var(--shadow);
}
.service-back p {
	font-size: 14.5px;
	line-height: 1.5;
	margin: 0;
	color: rgba(255,255,255,0.94);
}
.service-back-link {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.6);
	padding-bottom: 2px;
	cursor: pointer;
	position: relative;
	z-index: 3;
}
.service-back-link:hover { border-color: #fff; }
.service-tile--lg .service-back-link { font-size: 12.5px; margin-top: 14px; }
/* ---------- Chi siamo ---------- */
.about {
	padding: 110px 0;
	background: var(--mint);
}
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}
.about-text h2 { font-size: clamp(28px, 3.4vw, 38px); }
.about-text p { color: var(--ink-muted); font-size: 16.5px; }
.about-text p a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--emerald); text-underline-offset: 2px; }
.about-text p a:hover { color: var(--emerald-dark); }
.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 32px;
}
.about-stat {
	background: var(--white);
	border-radius: var(--radius);
	padding: 22px;
	border: 1px solid var(--border);
}
.about-stat .num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 28px;
	color: var(--emerald);
	display: block;
}
.about-stat .label { font-size: 13px; color: var(--ink-muted); }
.about-visual-wrap { text-align: center; }
.about-mascot {
	width: 88%;
	max-width: 420px;
	height: auto;
	filter: drop-shadow(0 14px 26px rgba(16,40,28,0.22));
}

/* ---------- Contatti (sezione integrata, non pagina separata) ---------- */
.contact-section { padding: 120px 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro h2 { font-size: clamp(28px, 3.4vw, 38px); }
.contact-intro p { color: var(--ink-muted); font-size: 16.5px; }
.contact-perk {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 22px;
	padding: 16px 18px;
	background: var(--mint);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}
.contact-perk svg { width: 22px; height: 22px; stroke: var(--emerald); flex: none; margin-top: 2px; }
.contact-perk strong { display: block; font-size: 14.5px; color: var(--forest); }
.contact-perk span.perk-text { font-size: 13.5px; color: var(--ink-muted); }

.contact-info-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-info-row { display: flex; gap: 16px; align-items: center; }
.contact-info-row .icon {
	width: 58px; height: 58px; flex: none;
	border-radius: 16px;
	background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
}
.contact-info-row:nth-of-type(2) .icon { background: linear-gradient(155deg, var(--emerald) 0%, var(--slate) 100%); }
.contact-info-row .icon svg { width: 27px; height: 27px; stroke: var(--white); stroke-width: 1.8; }
.contact-info-row a, .contact-info-row span.value { font-size: 16px; color: var(--forest); font-weight: 600; line-height: 1; }
.contact-social { display: flex; gap: 10px; margin-top: 24px; }
.contact-social a {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--forest);
	display: flex; align-items: center; justify-content: center;
	transition: background var(--transition), transform var(--transition);
}
.contact-social a:hover { background: var(--emerald); transform: translateY(-2px); }
.contact-social svg { width: 16px; height: 16px; stroke: var(--white); }

.contact-form-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 36px;
	box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--forest); }
.form-group input, .form-group textarea {
	border: 1.5px solid var(--border);
	border-radius: 12px;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color var(--transition);
	width: 100%;
	background: var(--paper);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--emerald); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-notice { padding: 13px 16px; border-radius: 10px; font-size: 14px; }
.form-notice.ok { background: #e4f6ec; color: #157a4d; }
.form-notice.error { background: #fdecea; color: #b3311c; }

.consent-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: var(--ink-muted);
	line-height: 1.5;
	cursor: pointer;
}
.consent-check input[type="checkbox"] {
	margin-top: 3px;
	width: 16px; height: 16px;
	flex: none;
	accent-color: var(--emerald);
}
.consent-check .consent-text { flex: 1 1 auto; }
.consent-check a { color: var(--forest); text-decoration: underline; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-mid); color: rgba(255,255,255,0.85); padding: 64px 0 0; position: relative; overflow: hidden; }
.dot-footer-1 { width: 90px; height: 90px; left: 6%; top: 12%; background: var(--slate-light); opacity: 0.25; }
.dot-footer-2 { width: 55px; height: 55px; right: 12%; top: 30%; background: var(--emerald-light); opacity: 0.3; }
.dot-footer-3 { width: 130px; height: 130px; right: -40px; bottom: -30px; background: var(--slate); opacity: 0.22; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-img {
	max-height: 46px;
	width: auto;
	margin-bottom: 16px;
	filter: drop-shadow(0 0 2px rgba(255,255,255,0.85)) drop-shadow(0 0 8px rgba(255,255,255,0.55));
}
.footer-col h4 {
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 18px;
	font-weight: 600;
}
.footer-col p, .footer-col address { font-style: normal; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.68); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.68); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
	padding: 20px 0;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
	font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom ul a:hover { color: var(--white); }

/* ---------- Pagina generica (es. Privacy) ---------- */
.page-hero {
	padding: 170px 0 80px;
	background: linear-gradient(155deg, var(--forest) 0%, var(--emerald-dark) 100%);
	text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 0; }
.generic-page { padding: 90px 0 100px; }
.generic-page .container { max-width: 800px; }
.generic-page h2 { font-size: 21px; margin-top: 34px; }
.generic-page p, .generic-page li { color: var(--ink-muted); font-size: 15.5px; }
.generic-page ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 1200;
	background: var(--emerald-mid);
	box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
	transform: translateY(100%);
	transition: transform 0.5s ease;
	max-height: 40vh;
	overflow-y: auto;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	text-align: left;
}
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); flex: 1 1 500px; text-align: left; }
.cookie-banner p a { color: var(--white); text-decoration: underline; font-weight: 600; white-space: nowrap; margin-left: 4px; }
.cookie-banner .btn { flex: 0 0 auto; padding: 12px 24px; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-visual-wrap { max-width: 320px; margin: 0 auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr; }

	/* Griglia servizi a 2 colonne: 6 elementi si dividono sempre in 3 righe complete, mai orfani */
	.services-grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; column-gap: 24px; }
	.service-tile--lg { margin: 0; }
	.service-flip { width: 200px; height: 200px; }
	.service-tile--lg .service-flip { width: 250px; height: 250px; }
	.service-tile.pos-1, .service-tile.pos-2, .service-tile.pos-3,
	.service-tile.pos-4, .service-tile.pos-5, .service-tile.pos-6 { transform: translateY(0); }
}

@media (max-width: 640px) {
	.hero { padding: 120px 0 80px; min-height: auto; }
	.services { padding: 90px 0; }
	.services-grid { row-gap: 34px; column-gap: 14px; }
	.service-flip { width: 155px; height: 155px; }
	.service-tile--lg .service-flip { width: 195px; height: 195px; }
	.service-icon { margin-bottom: 8px; }
	.service-icon svg { width: 30px; height: 30px; }
	.service-front h3 { font-size: 13px; }
	.service-back p { font-size: 11px; }
	.service-tile--lg .service-icon svg { width: 38px; height: 38px; }
	.service-tile--lg .service-front h3 { font-size: 15px; }
	.service-tile--lg .service-back p { font-size: 12.5px; }
	.service-face { padding: 14px; }
	.about, .contact-section { padding: 80px 0; }
	.about-stats { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.form-row { grid-template-columns: 1fr; }
	.contact-form-card { padding: 24px; }
	.cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: left; padding: 16px 20px; gap: 14px; }
	.cookie-banner p { flex: 0 1 auto; }
	.cookie-banner .btn { width: 100%; justify-content: center; }
}

/* ---------- Cerchietti decorativi con parallasse ---------- */
.floating-dot {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
	opacity: 0.35;
}
.services .container, .about .container, .contact-section .container {
	position: relative;
	z-index: 2;
}
.dot-1 { width: 130px; height: 130px; left: 4%; top: 10%; background: var(--emerald-light); opacity: 0.55; }
.dot-2 { width: 85px; height: 85px; right: 8%; top: 50%; background: var(--accent); opacity: 0.5; }
.dot-3 { width: 170px; height: 170px; right: -50px; bottom: 6%; background: var(--emerald); opacity: 0.3; }
.dot-4 { width: 100px; height: 100px; left: 2%; top: 18%; background: var(--slate); opacity: 0.4; }
.dot-5 { width: 60px; height: 60px; left: 20%; bottom: 12%; background: var(--emerald-dark); opacity: 0.4; }
.dot-6 { width: 110px; height: 110px; right: 14%; top: 8%; background: var(--accent); opacity: 0.3; }
.services, .about, .contact-section { overflow: hidden; }

@media (max-width: 640px) {
	.floating-dot { opacity: 0.25; }
	.dot-1 { width: 80px; height: 80px; }
	.dot-2 { width: 55px; height: 55px; }
	.dot-3 { width: 100px; height: 100px; }
	.dot-4 { width: 65px; height: 65px; }
	.dot-5 { width: 40px; height: 40px; }
	.dot-6 { width: 70px; height: 70px; }
}

/* ---------- Leggero cambio di tonalità (verde su verde) agganciato allo scroll ---------- */
:root { --scroll-hue: 0deg; }
.hue-shift {
	filter: hue-rotate(var(--scroll-hue));
	transition: filter 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
	.hue-shift { filter: none !important; }
}

/* ---------- Badge "tocca un cerchio" più evidente ---------- */
.tap-hint {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 8px;
	padding: 10px 20px;
	background: var(--mint);
	border: 1.5px solid var(--border);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
	color: var(--forest);
}
.tap-hint svg { width: 17px; height: 17px; stroke: var(--emerald-dark); flex: none; }

/* ---------- Sfumature diverse per ciascun cerchio servizio (verde sempre predominante) ---------- */
.service-tile.pos-1 .service-front, .service-tile.pos-1 .service-back {
	background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%);
}
.service-tile.pos-2 .service-front, .service-tile.pos-2 .service-back {
	background: linear-gradient(155deg, var(--emerald) 0%, var(--slate) 100%);
}
.service-tile.pos-3 .service-front, .service-tile.pos-3 .service-back {
	background: linear-gradient(155deg, var(--emerald-light) 0%, var(--emerald) 100%);
}
.service-tile.pos-4 .service-front, .service-tile.pos-4 .service-back {
	background: linear-gradient(155deg, var(--emerald) 0%, var(--accent) 100%);
}
.service-tile.pos-5 .service-front, .service-tile.pos-5 .service-back {
	background: linear-gradient(155deg, var(--emerald-dark) 0%, var(--slate) 100%);
}
.service-tile.pos-6 .service-front, .service-tile.pos-6 .service-back {
	background: linear-gradient(155deg, var(--forest) 0%, var(--accent) 100%);
}

/* ============================
   PAGINA PREZZI
   ============================ */

/* ---------- Pallini decorativi (nomi dedicati, non condivisi con la home) ---------- */
.price-dot-1 { width: 120px; height: 120px; left: 6%; top: 20%; background: var(--emerald-light); opacity: 0.4; }
.price-dot-2 { width: 70px; height: 70px; right: 10%; top: 15%; background: var(--slate); opacity: 0.3; }
.price-dot-3 { width: 90px; height: 90px; left: 4%; bottom: 10%; background: var(--emerald); opacity: 0.25; }
.price-dot-4 { width: 60px; height: 60px; right: 6%; top: 8%; background: var(--accent); opacity: 0.3; }
.price-dot-5 { width: 80px; height: 80px; right: 4%; bottom: 12%; background: var(--slate); opacity: 0.22; }
.price-dot-6 { width: 100px; height: 100px; left: 6%; top: 10%; background: rgba(255,255,255,0.5); opacity: 0.5; }
.price-dot-7 { width: 60px; height: 60px; right: 8%; bottom: 15%; background: var(--emerald-light); opacity: 0.4; }
.price-dot-8 { width: 90px; height: 90px; left: 8%; top: 20%; background: var(--emerald-light); opacity: 0.3; }

.pricing-hero, .pricing-circles, .management, .pricing-faq, .final-cta { overflow: hidden; }
.pricing-hero .container, .pricing-circles .container, .management .container,
.pricing-faq .container, .final-cta .container { position: relative; z-index: 2; }

/* ---------- Hero pagina ---------- */
.pricing-hero { padding: 170px 0 90px; background: var(--mint); text-align: center; }
.pricing-hero .container { max-width: 700px; }
.pricing-hero h1 { font-size: clamp(30px, 4.2vw, 46px); }
.pricing-hero p.lead { color: var(--ink-muted); font-size: 18px; }

/* ---------- Cerchi a rotazione (stessa meccanica dei servizi in home) ---------- */
.pricing-circles { padding: 90px 0 110px; background: var(--mint); }
.pricing-circles-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	justify-items: center; align-items: start; column-gap: 24px; row-gap: 60px;
	max-width: 1040px; margin: 0 auto;
}
.price-tile { display: flex; flex-direction: column; align-items: center; }
.price-flip { width: 250px; height: 250px; perspective: 1400px; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.price-flip:hover { transform: scale(1.05); }
.price-flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.4,0.15,0.2,1); }
.price-flip.is-flipped .price-flip-inner { transform: rotateY(180deg); }
.price-face {
	position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 26px; cursor: pointer; border: none; font-family: inherit;
	box-shadow: var(--shadow);
}
.price-front { color: var(--white); }
.price-front .price-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 6px; }
.price-front .price-value { font-family: var(--font-mono); font-size: 14px; opacity: 0.92; margin-bottom: 10px; }
.price-front .price-blurb { font-size: 13px; line-height: 1.45; opacity: 0.92; }
.price-back { color: var(--white); transform: rotateY(180deg); }
.price-back ul { text-align: left; font-size: 12.5px; line-height: 1.6; margin-bottom: 14px; list-style: none; padding: 0; }
.price-back li { padding-left: 14px; position: relative; margin-bottom: 4px; }
.price-back li::before { content: '•'; position: absolute; left: 0; opacity: 0.7; }
.price-back .see-more { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: underline; opacity: 0.9; }

.pos-1 .price-front, .pos-1 .price-back { background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%); }
.pos-2 .price-front, .pos-2 .price-back { background: linear-gradient(155deg, var(--emerald) 0%, var(--slate) 100%); }
.pos-3 .price-front, .pos-3 .price-back { background: linear-gradient(155deg, var(--forest) 0%, var(--accent) 100%); }

.price-tile-hint { margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Schede dettagliate ---------- */
.pricing-detail { padding: 100px 0; background: var(--paper); }
.detail-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.detail-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.detail-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.detail-card-head { padding: 28px 26px; color: var(--white); }
.detail-card:nth-child(1) .detail-card-head { background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%); }
.detail-card:nth-child(2) .detail-card-head { background: linear-gradient(155deg, var(--emerald) 0%, var(--slate) 100%); }
.detail-card:nth-child(3) .detail-card-head { background: linear-gradient(155deg, var(--forest) 0%, var(--accent) 100%); }
.detail-card-head span.num { font-family: var(--font-mono); font-size: 12px; opacity: 0.75; display: block; margin-bottom: 6px; }
.detail-card-head h3 { color: var(--white); font-size: 22px; margin-bottom: 4px; }
.detail-card-head .price { font-family: var(--font-mono); font-size: 14px; opacity: 0.9; }
.detail-card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.detail-card-body p.intro { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 18px; }
.detail-card-body ul { flex: 1; margin-bottom: 20px; list-style: none; padding: 0; }
.detail-card-body li { font-size: 14px; color: var(--ink); padding-left: 20px; position: relative; margin-bottom: 9px; }
.detail-card-body li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald-dark); font-weight: 700; }
.detail-card-body .ideal { font-size: 13px; color: var(--ink-muted); font-style: italic; border-top: 1px solid var(--border); padding-top: 14px; margin: 0; }
.price-disclaimer { max-width: 640px; margin: 44px auto 0; text-align: center; color: var(--ink-muted); font-size: 14px; }

/* ---------- Servizi di gestione ---------- */
.management { padding: 100px 0; background: var(--mint); }
.management-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.management-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.management-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mgmt-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.mgmt-card .mgmt-icon { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-dark) 100%); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.mgmt-card .mgmt-icon svg { width: 21px; height: 21px; stroke: var(--white); }
.mgmt-card h4 { font-size: 16px; margin-bottom: 4px; }
.mgmt-card .mgmt-price { font-family: var(--font-mono); font-size: 12.5px; color: var(--emerald-dark); font-weight: 600; margin-bottom: 10px; }
.mgmt-card p { font-size: 13.5px; color: var(--ink-muted); margin: 0; }

/* ---------- FAQ (colorata) ---------- */
.pricing-faq { padding: 100px 0; background: linear-gradient(155deg, var(--forest) 0%, var(--emerald-mid) 100%); color: var(--white); }
.pricing-faq .eyebrow { color: var(--emerald-light); }
.pricing-faq .eyebrow::before { background: var(--emerald-light); }
.pricing-faq .faq-head h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); }
.pricing-faq .faq-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.pricing-faq .faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.pricing-faq .faq-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; overflow: hidden; }
.pricing-faq .faq-item summary {
	padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px;
	cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pricing-faq .faq-item summary::-webkit-details-marker { display: none; }
.pricing-faq .faq-item summary::after { content: '+'; font-size: 22px; color: var(--emerald-light); flex: none; transition: transform 0.25s ease; }
.pricing-faq .faq-item[open] summary::after { transform: rotate(45deg); }
.pricing-faq .faq-item p { padding: 0 24px 20px; color: rgba(255,255,255,0.82); font-size: 14.5px; margin: 0; }

/* ---------- CTA finale ---------- */
.final-cta { padding: 110px 0; background: var(--paper); text-align: center; }
.final-cta .container { max-width: 620px; }
.final-cta h2 { font-size: clamp(28px, 3.8vw, 42px); }
.final-cta p { color: var(--ink-muted); font-size: 17px; }
.final-cta .tagline { font-family: var(--font-display); font-weight: 600; color: var(--forest); font-size: 17px; margin-top: 8px; line-height: 1.6; }

@media (max-width: 980px) {
	.detail-grid { grid-template-columns: 1fr; }
	.management-grid { grid-template-columns: repeat(2, 1fr); }
	.pricing-circles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.pricing-circles-grid { grid-template-columns: 1fr; }
	.price-flip { width: 220px; height: 220px; }
	.management-grid { grid-template-columns: 1fr; }
}
