* { margin: 0; padding: 0; box-sizing: border-box; }
	  html { scroll-behavior: smooth; }
	  body { font-family: 'Nunito Sans', sans-serif; background: #ffffff; color: #000000; overflow-x: hidden; }

	  /* Scrollbar */
	  ::-webkit-scrollbar { width: 6px; }
	  ::-webkit-scrollbar-track { background: #ffffff; }
	  ::-webkit-scrollbar-thumb { background: #007377; border-radius: 3px; }

	  /* Hero */
	  .hero-gradient {
			background:
				 radial-gradient(ellipse at 20% 50%, rgba(0,115,119,0.1) 0%, transparent 50%),
				 radial-gradient(ellipse at 80% 20%, rgba(0,115,119,0.06) 0%, transparent 40%),
				 linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.7) 60%, #ffffff 100%);
	  }

	  /* Grid overlay */
	  .grid-lines {
			position: absolute; inset: 0; pointer-events: none;
			background-image:
				 linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
				 linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
			background-size: 80px 80px;
	  }

	  /* Noise texture */
	  .noise::before {
			content: ''; position: absolute; inset: 0; pointer-events: none;
			background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
			background-repeat: repeat; background-size: 256px 256px;
	  }

	  /* Glass */
	  .glass {
			background: rgba(255, 255, 255, 0.8);
			backdrop-filter: blur(24px);
			-webkit-backdrop-filter: blur(24px);
			border: 1px solid rgba(0,0,0,0.06);
	  }
	  .glass-light {
			background: #f8f9fa;
			backdrop-filter: blur(12px);
			border: 1px solid #e9ecef;
	  }

	  /* Buttons */
	  .btn-primary {
			background: linear-gradient(135deg, #007377 0%, #005a5e 100%);
			color: #fff; padding: 16px 36px; border-radius: 12px;
			font-weight: 700; font-size: 16px; border: none; cursor: pointer;
			transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
			position: relative; overflow: hidden;
	  }
	  .btn-primary::before {
			content: ''; position: absolute; inset: 0;
			background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
			opacity: 0; transition: opacity 0.4s;
	  }
	  .btn-primary:hover {
			transform: translateY(-3px);
			box-shadow: 0 16px 40px rgba(0,115,119,0.4);
	  }
	  .btn-primary:hover::before { opacity: 1; }

	  .btn-outline {
			background: transparent; color: #000000;
			padding: 16px 36px; border-radius: 12px;
			font-weight: 600; font-size: 16px; cursor: pointer;
			border: 1px solid rgba(0,0,0,0.2);
			transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
	  }
	  .btn-outline:hover {
			border-color: #007377; color: #007377;
			transform: translateY(-3px);
			box-shadow: 0 12px 30px rgba(0,115,119,0.15);
	  }

	  /* Section reveal */
	  .reveal { opacity: 0; transform: translateY(50px); }
	  .reveal.active { opacity: 1; transform: translateY(0); transition: all 0.8s cubic-bezier(0.4,0,0.2,1); }

	  /* Image gallery */
	  .gallery-item {
			overflow: hidden; border-radius: 16px; cursor: pointer;
			position: relative;
	  }
	  .gallery-item img {
			width: 100%; height: 100%; object-fit: cover;
			transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
	  }
	  .gallery-item:hover img { transform: scale(1.08); }
	  .gallery-item::after {
			content: ''; position: absolute; inset: 0;
			background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35) 100%);
			pointer-events: none;
	  }

	  /* Lightbox */
	  .lightbox {
			position: fixed; inset: 0; z-index: 9999;
			background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
			display: none; align-items: center; justify-content: center;
			cursor: pointer;
	  }
	  .lightbox.active { display: flex; }
	  .lightbox img {
			max-width: 90vw; max-height: 85vh; object-fit: contain;
			border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.15);
	  }
	  .lightbox-close {
			position: absolute; top: 24px; right: 24px;
			width: 48px; height: 48px; border-radius: 50%;
			background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.1);
			color: #000000; cursor: pointer; display: flex; align-items: center; justify-content: center;
			transition: all 0.3s;
	  }
	  .lightbox-close:hover { background: rgba(0,0,0,0.12); }
	  .lightbox-nav {
			position: absolute; top: 50%; transform: translateY(-50%);
			width: 52px; height: 52px; border-radius: 50%;
			background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.1);
			color: #000000; cursor: pointer; display: flex; align-items: center; justify-content: center;
			transition: all 0.3s; font-size: 20px;
	  }
	  .lightbox-nav:hover { background: rgba(0,115,119,0.15); border-color: #007377; color: #007377; }
	  .lightbox-prev { left: 24px; }
	  .lightbox-next { right: 24px; }

	  /* Property cards */
	  .prop-card {
			background: #ffffff;
			border: 1px solid #e9ecef;
			border-radius: 24px; overflow: hidden;
			transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
			box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	  }
	  .prop-card:hover {
			border-color: rgba(0,115,119,0.3);
			transform: translateY(-8px);
			box-shadow: 0 24px 50px rgba(0,0,0,0.08);
	  }

	  /* Step card */
	  .step-card {
			position: relative; padding-left: 80px;
	  }
	  .step-number {
			position: absolute; left: 0; top: 0;
			width: 56px; height: 56px; border-radius: 16px;
			background: linear-gradient(135deg, #007377, #005a5e);
			display: flex; align-items: center; justify-content: center;
			font-family: 'Nunito Sans', sans-serif; font-weight: 700; font-size: 22px;
			color: #ffffff;
			box-shadow: 0 8px 24px rgba(0,115,119,0.3);
	  }
	  .step-line {
			position: absolute; left: 27px; top: 56px; bottom: -32px;
			width: 2px; background: linear-gradient(180deg, #007377, transparent);
	  }

	  /* FAQ — stile matrix-shop (faq.css) */
	  #faq { background: var(--color-bg); padding: clamp(56px, 8vw, 96px) 0; }
	  .faq-list { max-width: 860px; margin: 0 auto; }
	  .faq-item {
		background: #fff; border-radius: var(--radius-card); margin-bottom: 12px;
		border: 1px solid var(--color-border); overflow: hidden;
		border-left: 3px solid transparent;
		transition: border-color .3s ease, box-shadow .3s ease, background .2s ease;
	  }
	  .faq-item:hover {
		border-color: var(--color-primary-soft);
		background: var(--color-primary-soft);
	  }
	  .faq-item.active {
		border-left-color: var(--color-primary);
		border-color: var(--color-primary);
		background: #fff;
		box-shadow: var(--shadow-sm);
	  }
	  .faq-item.active:hover {
		background: var(--color-primary-soft);
	  }
	  .faq-q {
		width: 100%; text-align: left; padding: 22px 24px; font-size: 16px; font-weight: 700;
		display: flex; justify-content: space-between; align-items: center; gap: 16px;
		color: var(--color-black); background: transparent; cursor: pointer;
		font-family: var(--font-family);
		border: 0;
		transition: color .2s ease;
	  }
	  .faq-item:hover .faq-q { color: var(--color-primary-dark); }
	  .faq-q .faq-num {
		font-size: 13px; font-weight: 800; color: var(--color-primary);
		margin-right: 4px; opacity: .5; font-variant-numeric: tabular-nums;
		transition: opacity .2s ease;
	  }
	  .faq-item:hover .faq-q .faq-num,
	  .faq-item.active .faq-q .faq-num { opacity: 1; }
	  .faq-q .icon {
		flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
		background: var(--color-primary-soft); color: var(--color-primary);
		display: inline-flex; align-items: center; justify-content: center;
		font-size: 14px;
		transition: transform .35s cubic-bezier(.4,0,.2,1), background .2s ease, color .2s ease;
	  }
	  .faq-q .icon svg { width: 14px; height: 14px; }
	  .faq-item.active .faq-q .icon {
		transform: rotate(180deg);
		background: var(--color-primary); color: #fff;
	  }
	  .faq-item.active .faq-q { color: var(--color-primary-dark); }
	  .faq-a-wrap {
		display: grid; grid-template-rows: 0fr;
		transition: grid-template-rows .4s cubic-bezier(.4,0,.2,1);
	  }
	  .faq-item.active .faq-a-wrap { grid-template-rows: 1fr; }
	  .faq-a {
		overflow: hidden;
	  }
	  .faq-a-inner {
		padding: 0 24px 0 24px; color: var(--color-text-muted); font-size: 15px; line-height: 1.7;
		opacity: 0; transform: translateY(-6px);
		transition: opacity .3s ease .05s, transform .3s ease .05s, padding .35s ease;
	  }
	  .faq-item.active .faq-a-inner {
		padding: 0 24px 24px 24px; opacity: 1; transform: translateY(0);
	  }

	  /* Form */
	  .form-input {
			background: #ffffff;
			border: 1px solid #e9ecef;
			border-radius: 12px; padding: 16px 20px;
			color: #000000; font-size: 16px; font-family: 'Nunito Sans', sans-serif;
			width: 100%; transition: all 0.3s;
	  }
	  .form-input:focus {
			outline: none; border-color: #007377;
			box-shadow: 0 0 0 3px rgba(0,115,119,0.15);
	  }
	  .form-input::placeholder { color: #adb5bd; }

	  /* Badge */
	  .badge-teal {
			background: rgba(0,115,119,0.1);
			color: #005a5e;
			border: 1px solid rgba(0,115,119,0.2);
			padding: 6px 14px; border-radius: 999px;
			font-size: 12px;
			font-weight: 800;
			letter-spacing: 0.05em;
			text-transform: uppercase;
			backdrop-filter: blur(6px);
	  }	
	  .badge-red {
			background: rgba(239,68,68,0.1);
			color: #dc2626;
			border: 1px solid rgba(239,68,68,0.2);
			padding: 6px 14px; border-radius: 999px;
			font-size: 12px;
			font-weight: 800;
			letter-spacing: 0.05em;
			text-transform: uppercase;
			position: relative;
			backdrop-filter: blur(6px);
	  }
	  .badge-teal.white {
			background: rgba(160,160,160,0.3);
			border: 1px solid #999;
			color: #e0e0e0;
	  }

	  /* Glow pulse */
	  @keyframes pulseGlow {
			0%, 100% { box-shadow: 0 0 20px rgba(0,115,119,0.15); }
			50% { box-shadow: 0 0 40px rgba(0,115,119,0.3); }
	  }
	  .glow-pulse { animation: pulseGlow 3s ease-in-out infinite; }

	  /* Floating */
	  @keyframes float {
			0%, 100% { transform: translateY(0); }
			50% { transform: translateY(-12px); }
	  }

	  /* Parallax image pan */
	  @keyframes slowPan {
			0% { transform: scale(1.15) translate(0, 0); }
			33% { transform: scale(1.15) translate(-2%, -1%); }
			66% { transform: scale(1.15) translate(1%, -2%); }
			100% { transform: scale(1.15) translate(0, 0); }
	  }

	  /* Count animation */
	  .count-up { font-variant-numeric: tabular-nums; }

	  /* Nav */
	  .nav-blur {
			background: rgba(255,255,255,0.7);
			backdrop-filter: blur(20px);
			-webkit-backdrop-filter: blur(20px);
			border-bottom: 1px solid rgba(0,0,0,0.04);
			transition: all 0.4s;
	  }
	  .nav-blur.scrolled {
			background: rgba(255,255,255,0.95);
			border-bottom-color: rgba(0,0,0,0.08);
			box-shadow: 0 1px 12px rgba(0,0,0,0.06);
	  }

	  /* Map */
	  .map-container {
			border-radius: 24px; overflow: hidden;
			border: 1px solid #e9ecef;
	  }

	  /* CTA section glow */
	  .cta-glow {
			background:
				 radial-gradient(ellipse at center, rgba(0,115,119,0.15) 0%, transparent 70%),
				 linear-gradient(135deg, #007377, #005a5e);
	  }

	  /* Teal underline accent */
	  .teal-accent { position: relative; display: inline-block; }
	  .teal-accent::after {
			content: ''; position: absolute;
			bottom: -4px; left: 0; width: 100%; height: 3px;
			background: linear-gradient(90deg, #007377, transparent);
			border-radius: 2px;
	  }

	  /* Responsive */
	  @media (max-width: 768px) {
			.hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; line-height: 1.1 !important; }
			.step-card { padding-left: 64px; }
			.step-number { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
			.step-line { left: 21px; }
	  }

	  /* Reduced motion */
	  @media (prefers-reduced-motion: reduce) {
			*, *::before, *::after {
				animation: none !important;
			}
	  }

	  /* ===== Allineamento tipografico matrix-shop ===== */
	  :root {
		--color-primary: #007377;
		--color-primary-dark: #004F52;
		--color-primary-soft: #E6F2F2;
		--color-black: #000000;
		--color-text: #111111;
		--color-text-muted: #555555;
		--color-bg: #F7F7F4;
		--color-border: #E4E4E0;
		--radius-card: 12px;
		--shadow-sm: 0 2px 8px rgba(0,0,0,.06);
		--font-display: 'Bricolage Grotesque', 'Nunito Sans', sans-serif;
		--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
		--font-family: var(--font-body);
		--font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
	  }
	  body {
		font-family: var(--font-body);
		font-size: 16px;
		line-height: 1.6;
		color: var(--color-text);
		font-feature-settings: 'ss01', 'cv01', 'cv02';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	  }
	  h1, h2, h3, h4, h5 {
		font-family: var(--font-display);
		font-weight: 600;
		line-height: 1.15;
		letter-spacing: -0.02em;
		font-variation-settings: 'opsz' 144;
	  }
	  .section-eyebrow {
		display: inline-block;
		font-size: 0.75rem; font-weight: 700;
		text-transform: uppercase; letter-spacing: 0.12em;
		color: var(--color-primary);
		margin-bottom: 16px;
	  }
	  .section-title {
		font-size: clamp(1.875rem, 3.5vw, 2.75rem);
		font-weight: 500;
		margin-bottom: 16px;
	  }
	  .section-title em { font-style: italic; font-weight: 400; color: var(--color-primary); }
	  .section-lede { font-size: 1.0625rem; color: #111111; line-height: 1.65; }
	  .hero-title { font-size: clamp(2.25rem, 3.8vw, 4rem); }
	  .hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.5rem); }

	  /* ===== Hero C (Cinematica): box glass editoriale ===== */
	  .hero-glass {
		position: relative;
		background:
		  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"),
		  radial-gradient(120% 90% at 50% 0%, rgba(178,240,242,.28) 0%, rgba(178,240,242,0) 48%),
		  radial-gradient(60% 140px at 50% 100%, rgba(0,115,119,.12) 0%, rgba(0,115,119,0) 70%),
		  linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.58) 100%);
		backdrop-filter: blur(18px) saturate(1.25);
		-webkit-backdrop-filter: blur(18px) saturate(1.25);
		border: 1px solid rgba(255,255,255,.75);
		border-radius: 28px;
		box-shadow:
		  0 30px 80px rgba(0,20,21,.28),
		  0 2px 8px rgba(0,20,21,.08),
		  inset 0 1px 0 rgba(255,255,255,.95);
		padding: 40px 56px;
		animation: glassIn 1.1s cubic-bezier(.22,1,.36,1) both;
	  }
	  /* Schermi bassi (laptop): compatta ulteriormente per stare in viewport */
	  @media (max-height: 760px) {
		.hero-glass { padding: 28px 44px; }
		.hero-glass h1 { font-size: 2.75rem; margin-bottom: 12px; }
		.hero-glass p { font-size: .95rem; margin-bottom: 16px; }
		.ed-value { font-size: 1.7rem; }
		.ed-value em { font-size: 2rem; }
		.ed-grid { gap: 24px; }
	  }
	  @keyframes glassIn {
		from { opacity: 0; transform: translateY(28px) scale(.985); }
		to   { opacity: 1; transform: translateY(0) scale(1); }
	  }
	  /* Cornice interna a filetto, squadrata: contrasto editoriale col vetro morbido */
	  .hero-glass::before {
		content: ''; position: absolute; inset: 16px; pointer-events: none;
		border: 1px solid rgba(0,115,119,.20);
	  }
	  /* Tacche d'angolo teal sulla cornice, come crocini di stampa */
	  .hero-glass::after {
		content: ''; position: absolute; inset: 16px; pointer-events: none;
		background:
		  linear-gradient(#007377,#007377) left top    / 20px 2px,
		  linear-gradient(#007377,#007377) left top    / 2px 20px,
		  linear-gradient(#007377,#007377) right top   / 20px 2px,
		  linear-gradient(#007377,#007377) right top   / 2px 20px,
		  linear-gradient(#007377,#007377) left bottom / 20px 2px,
		  linear-gradient(#007377,#007377) left bottom / 2px 20px,
		  linear-gradient(#007377,#007377) right bottom/ 20px 2px,
		  linear-gradient(#007377,#007377) right bottom/ 2px 20px;
		background-repeat: no-repeat;
	  }
	  @media (max-width: 768px) {
		.hero-glass { padding: 40px 24px; border-radius: 20px; }
		.hero-glass::before, .hero-glass::after { inset: 10px; }
	  }

	  /* Titolo centrale: stesso identico verde (gradiente) dei bottoni */
	  .hero-title-green {
		background: linear-gradient(135deg, #007377 0%, #005a5e 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	  }

	  /* Potenzialita': indice editoriale tipografico (stile luxury real estate) */
	  .ed-grid {
		display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px; max-width: 820px;
	  }
	  .ed-item {
		display: block; position: relative; padding-top: 16px;
		text-decoration: none; cursor: pointer;
		text-align: center;
		animation: edUp .9s cubic-bezier(.22,1,.36,1) both;
		animation-delay: var(--d, 0s);
	  }
	  @keyframes edUp {
		from { opacity: 0; transform: translateY(22px); }
		to   { opacity: 1; transform: translateY(0); }
	  }
	  .ed-rule {
		position: absolute; top: 0; left: 0; right: 0; height: 1px;
		background: rgba(0,0,0,.15);
		transition: background .35s ease;
	  }
	  .ed-rule::after {
		content: ''; position: absolute; top: 0; left: 0; height: 1px; width: 0;
		background: #007377; transition: width .45s cubic-bezier(.22,1,.36,1);
	  }
	  .ed-item:hover .ed-rule::after { width: 100%; }
	  .ed-label {
		display: block; font-size: 13.5px; font-weight: 800;
		letter-spacing: .2em; text-transform: uppercase;
		color: rgba(0,0,0,.55); margin-bottom: 12px;
		transition: color .35s ease;
	  }
	  .ed-item:hover .ed-label { color: #007377; }
	  .ed-value {
		display: block; color: #000; line-height: 1; margin-bottom: 8px;
		font-size: 2.25rem; font-weight: 300; letter-spacing: -0.01em;
	  }
	  .ed-value em {
		font-family: 'Cormorant Garamond', Georgia, serif;
		font-style: italic; font-weight: 600;
		font-size: 2.6rem; letter-spacing: 0;
	  }
	  .ed-sub {
		font-size: .9375rem; color: rgba(0,0,0,.6);
		display: inline-flex; align-items: center; gap: 7px;
		transition: color .35s ease;
	  }
	  .ed-item:hover .ed-sub { color: #000; }
	  @media (max-width: 768px) {
		.ed-grid { grid-template-columns: 1fr; gap: 18px; max-width: 100%; }
		.ed-item { padding-top: 12px; }
		.ed-value { font-size: 1.9rem; }
		.ed-value em { font-size: 2.2rem; }
	  }

	  /* Dati d'asta in fondo alla box: filetto di separazione */
	  .glass-bar {
		margin-top: 28px; padding-top: 22px;
		border-top: 1px solid rgba(0,0,0,.1);
	  }
	  @media (max-height: 760px) {
		.glass-bar { margin-top: 18px; padding-top: 14px; }
	  }

	  /* Mobile stretto: il reCAPTCHA (304px fissi) + p-8 sfora il viewport,
		 riduci il padding del box form per evitare scroll orizzontale */
	  @media (max-width: 420px) {
		#contatti .glass.rounded-3xl { padding: 20px 16px; }
	  }

	  /* ═══════════ Hero Cinematica (dark full-bleed) ═══════════ */
	  .hero-cine { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; }
	  .hero-cine__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
	  .hero-cine__bg--desktop { object-position: center 62%; transform-origin: center 62%; animation: kenburns 24s ease-in-out infinite alternate; }
	  .hero-cine__bg--mobile  { object-position: center 32%; }
	  @keyframes kenburns {
		from { transform: scale(1.06); }
		to   { transform: scale(1.14) translate(-1%, -1.5%); }
	  }
	  .hero-cine__scrim { position: absolute; inset: 0; pointer-events: none;
		background: linear-gradient(180deg, rgba(0,12,13,.18) 0%, rgba(0,12,13,0) 26%, rgba(0,12,13,0) 48%, rgba(0,14,15,.72) 100%); }
	  .hero-cine__scrim--mobile { background: linear-gradient(180deg, rgba(0,12,13,.34) 0%, rgba(0,12,13,0) 28%, rgba(0,12,13,.05) 46%, rgba(0,12,13,.82) 82%, rgba(0,10,11,.92) 100%); }

	  /* eyebrow live */
	  .live-dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
	  .live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: livePulse 2s ease-out infinite; }
	  .live-dot.is-closed { background: #e0463a; }
	  .live-dot.is-closed::after { background: #e0463a; animation: none; opacity: 0; }
	  @keyframes livePulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }

	  /* titolo cinematica */
	  .cine-title { line-height: 1.0; letter-spacing: -0.025em; text-shadow: 0 2px 30px rgba(0,10,11,.35); margin: 0; }
	  .cine-title .t1 { display: block; font-family: 'Bricolage Grotesque','Nunito Sans',sans-serif; font-weight: 800; color: #fff; font-size: clamp(40px, 5.4vw, 74px); }
	  .cine-title .t2 { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -0.005em; color: rgba(255,255,255,.96); margin-top: 2px; font-size: clamp(38px, 5.2vw, 71px); }
	  /* "Colline Toscane" stilizzato come "Country House" (dritto, non corsivo) ma in linea con "sulle" */
	  .cine-title .t2 .t1 { display: inline; font-size: inherit; font-style: normal; }

	  /* barra d'asta */
	  .cine-bar { background: linear-gradient(180deg, rgba(4,18,19,0) 0%, rgba(4,18,19,.55) 35%); border-top: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
	  .bar-lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.62); margin-bottom: 2px; }
	  .cine-discount { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-weight: 800; font-size: 13px; letter-spacing: .01em; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }

	  /* bottoni hero */
	  .cine-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: all .18s ease; text-decoration: none; padding: 15px 28px; font-size: 16.5px; }
	  .cine-btn--ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
	  .cine-btn--ghost:hover { background: rgba(255,255,255,.12); }
	  .cine-btn--solid { background: #007377; color: #fff; border: none; box-shadow: 0 12px 30px rgba(0,115,119,.35); }
	  .cine-btn--solid:hover { background: #005a5e; }
	  .cine-btn--solid:active, .cine-btn--ghost:active { transform: translateY(2px); }

	  /* nav sticky (scrolled): voci di menu con effetto "pillola" all'hover, come matrix-shop */
	  /* da scrolled i link hanno padding interno (pillola): riduco il gap del contenitore
	     cosi' lo spazio testo-testo resta simile a quello sopra la hero (senza padding) */
	  #navbar.scrolled .ch-nav-links { gap: 0.25rem; }
	  #navbar.scrolled .ch-nav-link { padding: 8px 13px; border-radius: 8px; transition: background .15s ease, color .15s ease; }
	  #navbar.scrolled .ch-nav-link:hover { background: var(--color-primary-soft); color: var(--color-primary-dark) !important; }

	  /* nav: bottone "Scopri tutte le aste" (ghost con logo esagonale, da matrix-shop) */
	  .ch-nav-explore { padding: 8px 16px; border: 1.5px solid rgba(0,115,119,.35); border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--color-primary-dark); transition: background .15s ease, color .15s ease, border-color .15s ease; }
	  .ch-nav-explore:hover { background: var(--color-primary-soft); border-color: var(--color-primary); color: var(--color-primary-dark); }
	  .ch-nav-explore-logo { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
	  /* sopra la hero il bottone resta nascosto: appare solo col nav sticky (scrolled) */
	  .nav-over-hero .ch-nav-explore { display: none !important; }

	  /* navbar: tema scuro sopra la hero */
	  .nav-over-hero { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom-color: transparent !important; box-shadow: none !important; }
	  /* leggibilità del testo bianco senza fascia scura */
	  .nav-over-hero a:not(.btn-primary), .nav-over-hero .auth-widget-btn, .nav-over-hero #mobile-menu-btn { text-shadow: 0 1px 12px rgba(0,10,11,.45); }
	  .nav-over-hero .nav-logo-dark { filter: drop-shadow(0 1px 10px rgba(0,10,11,.4)); }
	  .nav-logo-dark { display: none; }
	  .nav-over-hero .nav-logo-light { display: none; }
	  .nav-over-hero .nav-logo-dark { display: block; }
	  .nav-over-hero a:not(.btn-primary) { color: rgba(255,255,255,.82) !important; }
	  .nav-over-hero a:not(.btn-primary):hover { color: #fff !important; }
	  .nav-over-hero .auth-widget-btn { border-color: rgba(255,255,255,.55); color: #fff; }
	  .nav-over-hero .auth-widget-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
	  .nav-over-hero .auth-user-name { color: #fff; }
	  .nav-over-hero .auth-logout-btn { color: rgba(255,255,255,.8); }
	  .nav-over-hero #mobile-menu-btn { color: #fff; }
	  .nav-over-hero #mobile-menu { border-top-color: rgba(255,255,255,.18); }
	  /* menu mobile aperto sopra l'hero: sfondo bianco + testo scuro per leggibilità */
	  .nav-over-hero.menu-open { background: rgba(255,255,255,.97) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; box-shadow: 0 1px 12px rgba(0,0,0,.06) !important; }
	  .nav-over-hero.menu-open .nav-logo-light { display: block; }
	  .nav-over-hero.menu-open .nav-logo-dark { display: none; }
	  .nav-over-hero.menu-open a:not(.btn-primary) { color: #6b7280 !important; text-shadow: none !important; }
	  .nav-over-hero.menu-open a:not(.btn-primary):hover { color: #000 !important; }
	  .nav-over-hero.menu-open .auth-widget-btn { border-color: #007377; color: #007377; text-shadow: none !important; }
	  .nav-over-hero.menu-open .auth-widget-btn:hover { background: #007377; color: #fff; }
	  .nav-over-hero.menu-open #mobile-menu-btn { color: #6b7280 !important; text-shadow: none !important; }
	  .nav-over-hero.menu-open #mobile-menu { border-top-color: rgba(0,0,0,.05); }
 

   /* Variabili matrix-shop inlinate, ridotte allo scope del form */
   .ms-contact-form {
     --color-primary: #007377;
     --color-primary-dark: #004F52;
     --color-text: #111111;
     --color-text-muted: #555555;
     --color-border: #E4E4E0;
     --color-border-strong: #C9C9C3;
     --color-error: #B00020;
     --color-success: #2E7D32;
     --color-black: #000000;
     --radius-btn: 8px;
     --font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     font-family: var(--font-family);
     color: var(--color-text);
     text-align: left;
   }

   /* Form fields */
   .ms-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
   @media (max-width: 640px) { .ms-contact-form .form-row { grid-template-columns: 1fr; } }
   .ms-contact-form .form-field { margin-bottom: 16px; }
   .ms-contact-form .form-field label { display: block; font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
   .ms-contact-form .form-field .req { color: var(--color-error); }
   .ms-contact-form .form-field input,
   .ms-contact-form .form-field textarea {
     width: 100%; padding: 12px 14px; border: 1.5px solid var(--color-border);
     border-radius: var(--radius-btn); font: inherit; font-size: 0.9375rem;
     background: #fff; transition: border-color .15s, box-shadow .15s;
     font-family: var(--font-family);
   }
   .ms-contact-form .form-field input:hover:not(:focus),
   .ms-contact-form .form-field textarea:hover:not(:focus) { border-color: var(--color-border-strong); }
   .ms-contact-form .form-field input:focus,
   .ms-contact-form .form-field textarea:focus {
     outline: none;
     border-color: var(--color-primary);
     box-shadow: inset 0 0 0 1px var(--color-primary);
   }
   .ms-contact-form .form-field textarea { resize: vertical; min-height: 100px; }
   .ms-contact-form .form-field input.is-invalid,
   .ms-contact-form .form-field textarea.is-invalid {
     border-color: #dc2626;
     box-shadow: inset 0 0 0 1px #dc2626;
     background: #fff5f5;
   }
   .ms-contact-form .privacy-notice { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 16px; }

   /* Checkbox privacy (stile auth-checkboxes) */
   .ms-contact-form .ms-checkboxes { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; margin-bottom: 16px; }
   .ms-contact-form .ms-checkboxes label { font-size: 0.8125rem; color: var(--color-text-muted); display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
   .ms-contact-form .ms-checkboxes input[type="checkbox"] { margin-top: 2px; accent-color: var(--color-primary); }
   .ms-contact-form .ms-checkboxes a { color: var(--color-primary); font-weight: 700; }

   /* Messaggi form */
   .ms-contact-form .form-msg {
     padding: 10px 14px; border-radius: 8px;
     font-size: 0.8125rem; font-weight: 600; text-align: center;
     margin-bottom: 16px;
   }
   .ms-contact-form .form-msg.hidden { display: none; }
   .ms-contact-form .form-msg-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--color-error); }
   .ms-contact-form .form-msg-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--color-success); }

   /* reCAPTCHA */
   .ms-contact-form #info-recaptcha { margin-top: 8px; margin-bottom: 16px; }

   /* Bottone (btn / btn-primary / btn-xl matrix-shop) */
   .ms-contact-form .btn {
     display: inline-flex; align-items: center; justify-content: center; gap: 8px;
     padding: 16px 32px; min-height: 48px;
     border-radius: var(--radius-btn); font-weight: 700; font-size: 1rem;
     text-decoration: none; cursor: pointer; transition: all .2s ease;
     border: 2px solid transparent;
     letter-spacing: 0.01em;
     font-family: var(--font-family);
   }
   .ms-contact-form .btn-primary { background: var(--color-primary); color: #fff; }
   .ms-contact-form .btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
   .ms-contact-form .btn-primary:disabled { opacity: .6; cursor: default; }
   .ms-contact-form .btn-xl { padding: 20px 44px; font-size: 1.125rem; }
   .ms-contact-form .btn i { margin-right: 8px; }
   .ms-contact-form .btn i:last-child:not(:first-child) { margin-right: 0; margin-left: 8px; }

   /* Stato success */
   .ms-contact-form .modal-success { padding: 40px 8px; text-align: center; }
   .ms-contact-form .modal-success.hidden { display: none; }
   .ms-contact-form .modal-success i { font-size: 56px; color: var(--color-success); margin-bottom: 16px; display: block; }
   .ms-contact-form .modal-success h4 { font-size: 1.375rem; color: var(--color-black); margin-bottom: 8px; }
   .ms-contact-form .modal-success p { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 0; }

   /* Select: stessi stili degli input */
   .ms-contact-form .form-field select {
     width: 100%; padding: 12px 14px; border: 1.5px solid var(--color-border);
     border-radius: var(--radius-btn); font: inherit; font-size: 0.9375rem;
     background: #fff; transition: border-color .15s, box-shadow .15s;
     font-family: var(--font-family);
   }
   .ms-contact-form .form-field select:hover:not(:focus) { border-color: var(--color-border-strong); }
   .ms-contact-form .form-field select:focus {
     outline: none; border-color: var(--color-primary);
     box-shadow: inset 0 0 0 1px var(--color-primary);
   }

   /* Selettore tipo richiesta: informazioni / prenota visione / programma chiamata */
   .ms-contact-form .req-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
   .ms-contact-form .req-tab {
     flex: 1 1 0; min-width: 150px; padding: 11px 12px;
     border: 1.5px solid var(--color-border); border-radius: var(--radius-btn);
     background: #fff; font-size: 0.8125rem; font-weight: 700; color: var(--color-text-muted);
     cursor: pointer; transition: all .2s;
     display: inline-flex; align-items: center; justify-content: center; gap: 7px;
     font-family: var(--font-family);
   }
   .ms-contact-form .req-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
   .ms-contact-form .req-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

   /* Campi extra per tipo richiesta, errore campo e contatore messaggio */
   .ms-contact-form .req-extra.hidden { display: none; }
   .ms-contact-form .form-field-error { display: block; font-size: 12px; color: var(--color-error); margin-top: 4px; }
   .ms-contact-form .msg-counter { display: block; text-align: right; font-size: 12px; color: #999; margin-top: 4px; }
   .ms-contact-form .msg-counter.hidden { display: none; }
 

   /* Auth widget (navbar) */
   .auth-widget-btn {
     padding: 10px 20px; background: none; border: 1.5px solid #007377;
     color: #007377; border-radius: 8px; font-size: 0.875rem;
     font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
     min-height: 40px; line-height: 1;
     transition: all .2s; white-space: nowrap;
     font-family: 'Nunito Sans', sans-serif;
   }
   .auth-widget-btn:hover { background: #007377; color: #fff; }
   .auth-widget-user { display: flex; align-items: center; gap: 8px; }
   .auth-user-name { font-size: 0.8125rem; font-weight: 700; color: #004F52; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
   .auth-logout-btn { background: none; border: none; color: #555555; cursor: pointer; padding: 4px 8px; font-size: 0.875rem; }
   .auth-logout-btn:hover { color: #007377; }
   @media (max-width: 768px) {
     .auth-widget-btn { padding: 6px 10px; font-size: 0.6875rem; min-height: 32px; gap: 4px; }
     .auth-user-name { font-size: 0.6875rem; max-width: 80px; }
   }

   /* Modale (overlay/dialog) */
   .modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
   .modal-overlay.hidden { display: none; }
   .modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
   .modal-dialog { position: relative; z-index: 1; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); width: 100%; max-width: 520px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; animation: modalSlideIn .3s cubic-bezier(.16,1,.3,1); }
   @keyframes modalSlideIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
   .modal-auth { max-width: 480px; }
   .modal-header { background: #004F52; color: #fff; padding: 24px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-radius: 16px 16px 0 0; position: sticky; top: 0; z-index: 2; }
   .modal-header h3 { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 2px; }
   .modal-subtitle { font-size: 0.8125rem; color: rgba(255,255,255,.75); margin: 0; }
   .modal-close { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; font-size: 1.125rem; flex-shrink: 0; border: 0; outline: none; padding: 0; cursor: pointer; transition: background .15s, box-shadow .15s; }
   .modal-close:hover { background: rgba(255,255,255,.25); }
   .modal-close:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
   .modal-body { padding: 28px 28px 0; }
   .modal-footer { padding: 20px 28px 28px; }

   /* Social login */
   .auth-social { padding: 20px 28px 0; display: flex; flex-direction: column; gap: 10px; }
   .btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; font-weight: 700; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
   .btn-google { background: #fff; border: 1.5px solid #dadce0; color: #3c4043; }
   .btn-google:hover { background: #f7f8f8; border-color: #c0c0c0; }
   .btn-facebook { background: #1877F2; color: #fff; }
   .btn-facebook:hover { background: #166bdb; }
   .auth-divider { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
   .auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #E4E4E0; }
   .auth-divider span { font-size: 0.75rem; font-weight: 700; color: #555555; text-transform: uppercase; letter-spacing: 1px; }

   /* Switch login/register */
   .auth-switch { text-align: center; font-size: 0.8125rem; color: #555555; margin-top: 12px; }
   .auth-switch a { color: #007377; font-weight: 700; text-decoration: none; }
   .auth-switch a:hover { text-decoration: underline; }
   .ms-contact-form .btn-secondary { background: #fff; color: #111111; border-color: #C9C9C3; }
   .ms-contact-form .btn-secondary:hover { border-color: #007377; color: #007377; }
   #register-recaptcha { margin-top: 8px; }
 

   #procedura, #calendario {
     --color-primary: #007377;
     --color-primary-dark: #004F52;
     --color-primary-soft: #E6F2F2;
     --color-black: #000000;
     --color-text-muted: #555555;
     --color-bg: #f8f9fa;
     --color-surface: #FFFFFF;
     --color-border: #E4E4E0;
     --color-warning: #B45309;
     --radius-card: 12px;
     --radius-pill: 999px;
     --shadow-md: 0 8px 24px rgba(0,0,0,.10);
     --font-display: 'Bricolage Grotesque', 'Nunito Sans', sans-serif;
     --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
   }

   /* Section head */
   .section-head { margin-bottom: 56px; max-width: 720px; }
   .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
   .section-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary); margin-bottom: 16px; }
   .section-title { font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 500; margin-bottom: 16px; color: var(--color-black); }
   .section-title em { font-style: italic; font-weight: 400; color: var(--color-primary); }
   .section-lede { font-size: 1.0625rem; color: #111111; line-height: 1.65; }
   .lede-nowrap { display: inline-block; white-space: nowrap; position: relative; left: 50%; transform: translateX(-50%); }
   @media (max-width: 991px) {
     .lede-nowrap { display: inline; white-space: normal; position: static; transform: none; }
   }

   /* Come Partecipare — Steps */
   .steps-phases { display: flex; gap: 0; margin-bottom: 8px; }
   .phase-label {
     flex: 3; font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
     letter-spacing: 1.5px; color: var(--color-primary-dark);
     display: flex; align-items: center; gap: 10px;
     padding-bottom: 12px;
     border-bottom: 2px solid var(--color-primary);
   }
   .phase-label-2 { flex: 1; color: var(--color-warning); border-bottom-color: var(--color-warning); }
   .phase-badge {
     display: inline-flex; align-items: center; white-space: nowrap;
     padding: 4px 12px; border-radius: 999px;
     background: var(--color-primary); color: #fff;
     font-size: 0.6875rem; font-weight: 800; letter-spacing: 1px;
   }
   .phase-badge-alt { background: var(--color-warning); }
   .step-v2-phase-tag { display: none; }
   .steps-row {
     display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
     list-style: none; margin: 24px 0 0; padding: 0;
   }
   .step-v2 {
     position: relative; display: flex; flex-direction: column;
     padding: 28px 24px;
     background: var(--color-surface);
     border: 1px solid var(--color-border);
     border-left: none;
     transition: all .25s;
   }
   .step-v2:first-child { border-left: 1px solid var(--color-border); border-radius: var(--radius-card) 0 0 var(--radius-card); }
   .step-v2:last-child { border-radius: 0 var(--radius-card) var(--radius-card) 0; }
   .step-v2:hover { background: #fff; box-shadow: var(--shadow-md); z-index: 2; }
   .step-v2-phase2 { border-top: 3px solid var(--color-warning); }
   .step-v2-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
   .step-v2-icon {
     width: 48px; height: 48px; border-radius: 14px;
     background: var(--color-primary-soft); color: var(--color-primary-dark);
     font-size: 1.25rem;
     display: flex; align-items: center; justify-content: center;
     flex-shrink: 0; transition: all .25s;
   }
   .step-v2:hover .step-v2-icon { background: var(--color-primary); color: #fff; }
   .step-v2-icon-alt { background: rgba(180,83,9,.08); color: var(--color-warning); }
   .step-v2:hover .step-v2-icon-alt { background: var(--color-warning); color: #fff; }
   .step-v2-num {
     font-family: var(--font-display); font-size: 2rem; font-weight: 900;
     color: var(--color-primary); line-height: 1; letter-spacing: -0.04em;
   }
   .step-v2-phase2 .step-v2-num { color: var(--color-warning); }
   .step-v2-connector { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; z-index: 3; }
   .step-v2-connector::before { content: ""; position: absolute; top: 50%; left: 0; width: 24px; height: 2px; background: var(--color-primary); transform: translateY(-50%); }
   .step-v2-connector::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--color-primary); border-right: 2px solid var(--color-primary); transform: translateY(-50%) rotate(45deg); }
   .step-v2-body { flex: 1; display: flex; flex-direction: column; }
   .step-v2-body h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; color: var(--color-black); line-height: 1.3; }
   .step-v2-body p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.6; flex: 1; }
   .step-v2-body p a { color: var(--color-primary); font-weight: 700; }
   .step-v2-detail {
     display: flex; align-items: flex-start; gap: 8px;
     padding: 10px 14px;
     background: var(--color-bg); border-radius: 8px;
     font-size: 0.75rem; font-weight: 600; color: var(--color-primary-dark);
     line-height: 1.5; margin-top: auto;
   }
   .step-v2-detail i { margin-top: 2px; flex-shrink: 0; color: var(--color-primary); font-size: 0.8125rem; }
   .step-v2-phase2 .step-v2-detail { background: rgba(180,83,9,.06); color: #7a3a04; }
   .step-v2-phase2 .step-v2-detail i { color: var(--color-warning); }
   .procedura-cta { display: flex; justify-content: center; margin-top: 40px; }
   @media (max-width: 900px) {
     .steps-phases { flex-direction: column; gap: 8px; }
     .phase-label { flex: auto; }
     .phase-label-2 { display: none; }
     .step-v2-phase-tag {
       display: flex; align-items: center; gap: 8px;
       font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
       letter-spacing: 1.5px; color: var(--color-warning);
       margin-bottom: 16px; padding-bottom: 12px;
       border-bottom: 2px solid var(--color-warning);
     }
     .steps-row { grid-template-columns: 1fr; }
     .step-v2 { border-left: 1px solid var(--color-border); border-radius: 0; }
     .step-v2:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
     .step-v2:last-child { border-radius: 0 0 var(--radius-card) var(--radius-card); }
     .step-v2-connector { right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%) rotate(90deg); }
   }
   @media (max-width: 640px) {
     .steps-phases { gap: 6px; margin-bottom: 12px; }
     .phase-label { font-size: 0.6875rem; padding-bottom: 8px; gap: 6px; }
     .phase-badge { font-size: 0.625rem; padding: 3px 10px; }
     .step-v2 { padding: 20px 18px; }
     .step-v2-header { margin-bottom: 14px; gap: 10px; }
     .step-v2-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.0625rem; }
     .step-v2-num { font-size: 1.625rem; }
     .step-v2-body h3 { font-size: 1rem; margin-bottom: 8px; }
     .step-v2-body p { font-size: 0.8125rem; margin-bottom: 12px; }
     .step-v2-detail { padding: 8px 12px; font-size: 0.6875rem; }
   }

   /* Timeline — Calendario e scadenze */
   .timeline { position: relative; margin-top: 64px; padding: 0; width: 90%; margin-left: auto; margin-right: auto; }
   .timeline-track { position: absolute; top: 32px; left: 10%; right: 10%; height: 3px; background: #E8E8E8; z-index: 0; overflow: hidden; }
   .timeline-track-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--color-primary); box-shadow: 0 0 18px rgba(0, 115, 119, 0.45); will-change: width; }
   .timeline-items { display: flex; align-items: flex-start; position: relative; z-index: 1; gap: 0; }
   .timeline-item { flex: 1 1 0; min-width: 0; text-align: center; padding: 0 12px 0; transition: opacity .3s ease; opacity: 0.55; }
   .timeline-item.active { opacity: 1; }
   .timeline-dot {
     width: 48px; height: 48px; border-radius: 50%;
     background: #fff; border: 3px solid #E8E8E8;
     margin: 0 auto 12px;
     display: inline-flex; align-items: center; justify-content: center;
     font-size: 20px; color: var(--color-text-muted);
     transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
     will-change: transform;
     position: relative;
   }
   .timeline-item.active .timeline-dot {
     background: var(--color-primary); border-color: var(--color-primary); color: #fff;
     box-shadow: 0 0 0 6px rgba(0, 115, 119, 0.15), 0 8px 20px rgba(0, 115, 119, 0.32);
   }
   .timeline-item.current .timeline-dot::after {
     content: ''; position: absolute; inset: -6px; border-radius: 50%;
     border: 2px solid var(--color-primary);
     animation: pulse-ring 2s ease-out infinite;
   }
   @keyframes pulse-ring {
     0%   { transform: scale(1);   opacity: 0.75; }
     100% { transform: scale(1.7); opacity: 0; }
   }
   .timeline-date { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-primary-dark); font-weight: 600; margin-bottom: 6px; }
   .timeline-label { font-size: 0.9375rem; font-weight: 700; color: var(--color-black); margin-bottom: 6px; line-height: 1.25; }
   .timeline-sub { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.45; }
   @media (max-width: 900px) {
     .timeline-items { flex-wrap: wrap; }
     .timeline-item { flex: 0 0 50%; padding: 0 6px 24px; }
     .timeline-track { display: none; }
   }
   @media (max-width: 560px) {
     .timeline-item { flex: 0 0 100%; }
   }

   /* Footer (da matrix-shop) */
   .site-footer {
     --color-primary: #007377;
     background: #000000; color: rgba(255,255,255,.85);
     padding: 64px 0 0; font-size: 0.875rem;
   }
   .site-footer .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
   @media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
   @media (max-width: 500px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
   .site-footer .footer-col h5 {
     color: #fff; font-family: 'Nunito Sans', sans-serif; font-size: 0.75rem;
     text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-weight: 800;
   }
   .site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
   .site-footer .footer-col li { padding: 4px 0; }
   .site-footer .footer-col a { color: rgba(255,255,255,.75); text-decoration: none; }
   .site-footer .footer-col a:hover { color: #00999e; text-decoration: underline; }
   .site-footer .footer-brand-link { display: inline-block; margin-bottom: 16px; }
   .site-footer .footer-brand-img { height: 40px; width: auto; }
   .site-footer .footer-col p { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
   .site-footer .footer-lang-select {
     display: block;
     width: 100%;
     margin-top: 16px;
     background: transparent;
     color: #fff;
     border: 1px solid rgba(255,255,255,.45);
     border-radius: 4px;
     padding: 12px 16px;
     font-size: 0.9375rem;
     font-family: inherit;
     line-height: 1.3;
     cursor: pointer;
     transition: border-color .15s ease;
   }
   .site-footer .footer-lang-select:hover,
   .site-footer .footer-lang-select:focus {
     border-color: rgba(255,255,255,.8);
     outline: none;
   }
   .site-footer .footer-lang-select option { background: #1a1a1a; color: #fff; }
   .site-footer .footer-legal {
     border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
     background: rgba(255,255,255,.03); font-size: 0.75rem; text-align: center;
     color: rgba(255,255,255,.65);
   }
   .site-footer .footer-legal a { color: rgba(255,255,255,.75); margin: 0 8px; }
   .site-footer .social-row {
     display: flex; gap: 14px; margin-top: 16px;
   }
   .site-footer .social-row a {
     width: 38px; height: 38px; border-radius: 50%;
     background: rgba(255,255,255,.08);
     display: inline-flex; align-items: center; justify-content: center;
     color: #fff; text-decoration: none; transition: background .2s ease, color .2s ease;
   }
   .site-footer .social-row a:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
   .site-footer .social-row i { font-size: 0.9375rem; }

/* ============== Mobile bottom nav (immersive edge-to-edge + hex FAB) — da terre-cortesi-moncaro ============== */
.mobile-nav { display: none; }

@media (max-width: 768px) {
  /* la bottom nav sostituisce l'hamburger sotto i 768px */
  #navbar #mobile-menu-btn,
  #navbar #mobile-menu { display: none !important; }

  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 110;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    background: #ffffff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 26px rgba(15, 23, 42, .08);
    align-items: center;
    justify-content: space-around;
  }

  .mnav-item,
  .mnav-item:link,
  .mnav-item:visited,
  .mnav-item:hover,
  .mnav-item:focus {
    position: relative;
    flex: 1 1 0;
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    height: 52px;
    border-radius: 12px;
    text-decoration: none;
    color: #4b5563;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease, transform .15s cubic-bezier(.34, 1.56, .64, 1);
  }
  .mnav-item i {
    font-size: 1.25rem;
    line-height: 1;
    color: inherit;
    transition: color .2s ease, transform .2s ease;
  }
  .mnav-item-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .mnav-item:hover { color: var(--color-primary, #007377); }
  .mnav-item:hover i { transform: translateY(-1px); }
  .mnav-item:active { transform: scale(.92); }
  .mnav-item:focus-visible {
    color: var(--color-primary, #007377);
    outline: 2px solid var(--color-primary, #007377);
    outline-offset: -2px;
  }

  .mnav-spacer {
    flex: 0 0 64px;
    pointer-events: none;
  }

  .mnav-fab {
    position: absolute;
    left: 50%;
    bottom: calc(8px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: 60px; height: 60px;
    background: linear-gradient(160deg, #4dc1c5 0%, var(--color-primary, #007377) 50%, var(--color-primary-dark, #004F52) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    color: #ffffff;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 8px 18px rgba(0, 79, 82, .45)) drop-shadow(0 3px 6px rgba(0, 0, 0, .15));
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), filter .25s ease;
  }
  .mnav-fab i {
    font-size: 1.375rem;
    color: #ffffff;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  }
  .mnav-fab-logo {
    width: 24px; height: 24px;
    color: #ffffff;
    fill: currentColor;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  }
  .mnav-fab:hover {
    transform: translateX(-50%) translateY(-2px);
    filter: drop-shadow(0 12px 22px rgba(0, 79, 82, .55)) drop-shadow(0 5px 10px rgba(0, 0, 0, .18));
  }
  .mnav-fab:active { transform: translateX(-50%) scale(.94); }
  .mnav-fab:focus-visible {
    outline: 2px solid var(--color-primary, #007377);
    outline-offset: 4px;
  }
  .mobile-nav.is-open .mnav-fab i { transform: rotate(135deg); }
  .mobile-nav.is-open .mnav-fab-logo { transform: scale(.92); }

  .mnav-speeddial {
    position: absolute;
    left: 50%;
    bottom: calc(100px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: 240px; height: 64px;
    pointer-events: none;
    z-index: 2;
  }
  .mnav-speeddial-bg {
    position: absolute;
    inset: 0;
    filter:
      drop-shadow(0 10px 28px rgba(0, 50, 53, .45))
      drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
    pointer-events: none;
  }
  .mnav-blob {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background:
      radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 50%),
      radial-gradient(circle at 50% 115%, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 62%),
      linear-gradient(160deg, #007074 0%, #004f52 50%, #00383b 100%);
    transform: translate(-50%, 90%) scale(.4);
    transition:
      width .5s cubic-bezier(.34, 1.56, .64, 1),
      height .5s cubic-bezier(.34, 1.56, .64, 1),
      transform .55s cubic-bezier(.34, 1.56, .64, 1);
  }
  /* Pill rettangolare orizzontale — elemento singolo */
  .mnav-blob-pill {
    border-radius: 28px;
  }
  .mobile-nav.is-open .mnav-blob-pill {
    width: 240px; height: 50px;
    transform: translate(-50%, -50%);
    transition-delay: .08s;
  }
  /* Divider verticale al centro della pill */
  .mnav-blob-pill::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 24px;
    transform: translate(-50%, -50%);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .32) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity .35s ease .4s;
    pointer-events: none;
  }
  .mobile-nav.is-open .mnav-blob-pill::after {
    opacity: 1;
  }

  .mnav-speeddial-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 2;
    pointer-events: none;
  }

  .mnav-action,
  .mnav-action:link,
  .mnav-action:visited {
    position: relative;
    display: inline-flex; flex-direction: row;
    align-items: center; justify-content: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    pointer-events: none;
    opacity: 0;
    transform: translate(0, 60px) scale(.4) rotate(-90deg);
    -webkit-tap-highlight-color: transparent;
    transition:
      opacity .35s ease,
      transform .55s cubic-bezier(.34, 1.56, .64, 1),
      color .25s ease;
  }
  /* secondo chip in mirror: label sx, icona dx (simmetria della pill) */
  .mnav-speeddial-content .mnav-action:last-child {
    flex-direction: row-reverse;
  }
  .mnav-action-icon {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .35);
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 55%),
      linear-gradient(160deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .02) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .18),
      inset 0 -1px 0 rgba(0, 0, 0, .25),
      0 2px 8px rgba(0, 0, 0, .2);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .mnav-action-icon::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(77, 208, 211, .35);
    opacity: 0;
    transform: scale(.5);
    transition: opacity .3s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: none;
  }
  .mnav-action-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(77, 208, 211, .3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }
  .mnav-action i {
    font-size: 0.9375rem;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
  }
  .mnav-action-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1;
    color: rgba(255, 255, 255, .92);
    white-space: nowrap;
    opacity: 0;
    transition: color .25s ease, opacity .12s ease;
  }
  .mobile-nav.is-open .mnav-action .mnav-action-label { opacity: 1; }
  .mnav-action:hover { color: #4dd0d3; }
  .mnav-action:hover .mnav-action-icon {
    background-color: rgba(77, 208, 211, .12);
    border-color: rgba(77, 208, 211, .55);
    box-shadow: 0 0 14px rgba(77, 208, 211, .3);
  }
  .mnav-action:hover .mnav-action-icon::before { opacity: 1; transform: scale(1); }
  .mnav-action:hover .mnav-action-icon::after { opacity: 1; }
  .mnav-action:hover i { transform: scale(1.12) rotate(-6deg); }
  .mnav-action:hover .mnav-action-label { color: #4dd0d3; }
  .mnav-action:active { transform: scale(.92) !important; }

  .mobile-nav.is-open .mnav-action {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    pointer-events: auto;
  }
  .mobile-nav.is-open .mnav-action .mnav-action-icon {
    animation: mnavActionPulse 2.4s ease-in-out infinite;
  }
  .mobile-nav.is-open .mnav-action:nth-child(1) { transition-delay: .38s; }
  .mobile-nav.is-open .mnav-action:nth-child(2) { transition-delay: .48s; }
  .mobile-nav.is-open .mnav-action:nth-child(3) { transition-delay: .58s; }
  .mobile-nav.is-open .mnav-action:nth-child(1) .mnav-action-label { transition-delay: .85s; }
  .mobile-nav.is-open .mnav-action:nth-child(2) .mnav-action-label { transition-delay: .95s; }
  .mobile-nav.is-open .mnav-action:nth-child(3) .mnav-action-label { transition-delay: 1.05s; }
  .mobile-nav.is-open .mnav-action:nth-child(1) .mnav-action-icon { animation-delay: 0s; }
  .mobile-nav.is-open .mnav-action:nth-child(2) .mnav-action-icon { animation-delay: .3s; }
  .mobile-nav.is-open .mnav-action:nth-child(3) .mnav-action-icon { animation-delay: .6s; }

  @keyframes mnavActionPulse {
    0%, 100% {
      border-color: rgba(255, 255, 255, .35);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -1px 0 rgba(0, 0, 0, .25),
        0 2px 8px rgba(0, 0, 0, .2),
        0 0 0 0 rgba(77, 208, 211, 0);
    }
    50% {
      border-color: rgba(255, 255, 255, .65);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .25),
        0 2px 10px rgba(0, 0, 0, .25),
        0 0 12px 0 rgba(77, 208, 211, .35);
    }
  }

  .mnav-fab::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-primary, #007377);
    transform: translate(-50%, -50%) scale(.5);
    opacity: 0;
    pointer-events: none;
  }
  .mobile-nav.is-open .mnav-fab::after {
    animation: mnavFabRipple .8s cubic-bezier(.22, 1, .36, 1);
  }
  @keyframes mnavFabRipple {
    0%   { opacity: .8; transform: translate(-50%, -50%) scale(.5); }
    100% { opacity: 0;  transform: translate(-50%, -50%) scale(2.4); }
  }

  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mnav-item, .mnav-item i,
  .mnav-fab, .mnav-fab i, .mnav-fab::after, .mnav-speeddial,
  .mnav-blob, .mnav-action, .mnav-action::before, .mnav-action::after {
    transition: none !important;
    animation: none !important;
  }
}
