:root {
  --gold: #ecc600;
  --gold-light: #f5dc4a;
  --gold-dark: #b89a00;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --text-primary: #f0f0f0;
  --text-secondary: #9a9a9a;
  --text-muted: #5a5a5a;
  --border-subtle: rgba(236, 198, 0, 0.12);
  --border-gold: rgba(236, 198, 0, 0.3);
  --focus-ring: #f0f0f0;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Focus da tastiera */
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2000; background: var(--gold); color: var(--bg-primary); font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 20px; }
.skip-link:focus { top: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px;
}

.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

/* Reveals: nascosti solo se JavaScript è attivo */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Shimmer dividers */
.shimmer-divider { position: relative; height: 1px; width: 100%; overflow: hidden; }
.shimmer-divider::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: shimmerSlide 4s infinite ease-in-out;
}
@keyframes shimmerSlide { 0% { left: -100%; } 100% { left: 100%; } }

/* ═══ NAVIGATION ═══ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.4s ease; }
.nav.scrolled { background: rgba(10,10,10,0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.nav-logo { display: block; }
.nav-logo-img { height: 38px; width: auto; transition: height 0.4s ease, filter 0.3s ease; filter: brightness(1.1); }
.nav.scrolled .nav-logo-img { height: 30px; }
.nav-logo-img:hover { filter: brightness(1.3) drop-shadow(0 0 8px rgba(236,198,0,0.4)); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); transition: color 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s var(--ease-out-expo); }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; background: none; border: none; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,0.97); backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; padding: 12px 24px; gap: 0; border-bottom: 1px solid var(--border-subtle); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a::after { display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ═══ HERO ═══ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(236,198,0,0.05) 0%, transparent 70%), radial-gradient(ellipse 50% 80% at 80% 20%, rgba(236,198,0,0.04) 0%, transparent 60%), linear-gradient(180deg, var(--bg-primary) 0%, #080808 100%); z-index: 0; }

.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(236,198,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(236,198,0,0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 80%); z-index: 0; }

/* Aurora orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0; animation: orbFloat linear infinite; }
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(236,198,0,0.12), transparent 70%); top: 10%; left: 60%; animation-duration: 18s; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(236,198,0,0.08), transparent 70%); top: 50%; left: 10%; animation-duration: 22s; animation-delay: 3s; }
.orb-3 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(255,220,80,0.06), transparent 70%); top: 30%; left: 40%; animation-duration: 15s; animation-delay: 6s; }
@keyframes orbFloat { 0% { opacity: 0; transform: translate(0,0) scale(0.8); } 15% { opacity: 1; } 50% { transform: translate(60px,-40px) scale(1.15); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-30px,30px) scale(0.9); } }

/* Particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; background: var(--gold); opacity: 0; pointer-events: none; }
.particle-sm { width: 2px; height: 2px; animation: particleRise 7s infinite ease-in-out; }
.particle-md { width: 3px; height: 3px; animation: particleRise 9s infinite ease-in-out; box-shadow: 0 0 6px rgba(236,198,0,0.6); }
.particle-lg { width: 4px; height: 4px; animation: particleRise 11s infinite ease-in-out; box-shadow: 0 0 12px rgba(236,198,0,0.5), 0 0 24px rgba(236,198,0,0.2); }
@keyframes particleRise { 0% { opacity: 0; transform: translateY(0) scale(0.5); } 10% { opacity: 0.8; } 40% { opacity: 0.5; } 70% { opacity: 0.2; transform: translateY(-200px) translateX(20px) scale(1.2); } 100% { opacity: 0; transform: translateY(-350px) translateX(-10px) scale(0.3); } }

/* Hero content */
.hero-content { position: relative; z-index: 2; max-width: 800px; padding-top: 100px; padding-bottom: 100px; }

.hero-logo { margin-bottom: 40px; opacity: 0; animation: heroLogoIn 1.2s 0.1s var(--ease-out-expo) forwards; }
.hero-logo img { height: 64px; width: auto; filter: drop-shadow(0 0 20px rgba(236,198,0,0.3)) drop-shadow(0 0 60px rgba(236,198,0,0.1)); transition: filter 0.4s ease; }
.hero-logo img:hover { filter: drop-shadow(0 0 24px rgba(236,198,0,0.5)) drop-shadow(0 0 80px rgba(236,198,0,0.2)); }
@keyframes heroLogoIn { from { opacity: 0; transform: translateY(20px) scale(0.95); filter: blur(4px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(236,198,0,0.06); border: 1px solid var(--border-gold); border-radius: 100px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; opacity: 0; animation: fadeInUp 0.8s 0.4s var(--ease-out-expo) forwards; }
.hero-badge svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }

.hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 28px; opacity: 0; animation: fadeInUp 0.8s 0.6s var(--ease-out-expo) forwards; }
.hero h1 .accent { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% auto; animation: shimmerText 4s linear infinite; }
@keyframes shimmerText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); line-height: 1.8; max-width: 580px; margin-bottom: 40px; opacity: 0; animation: fadeInUp 0.8s 0.8s var(--ease-out-expo) forwards; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeInUp 0.8s 1.0s var(--ease-out-expo) forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.4s var(--ease-out-expo); position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.6s ease; }
.btn:hover::before { left: 100%; }
.btn-primary { background: var(--gold); color: #0a0a0a; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(236,198,0,0.3), 0 0 60px rgba(236,198,0,0.1); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); box-shadow: 0 0 20px rgba(236,198,0,0.1); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-small { font-size: 0.72rem; padding: 12px 24px; }

/* Scroll indicator */
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0; animation: fadeInUp 0.8s 1.3s var(--ease-out-expo) forwards; z-index: 2; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite ease-in-out; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ═══ PILLARS ═══ */
.pillars { padding: 120px 0; position: relative; }
.pillars-header { text-align: center; margin-bottom: 64px; }
.pillars-header .section-subtitle { margin: 0 auto; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 36px 28px; position: relative; overflow: hidden; transition: all 0.5s var(--ease-out-expo); }
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.4s ease; }
.pillar-card::after { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(236,198,0,0.12), transparent 70%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.pillar-card:hover { background: var(--bg-card-hover); border-color: var(--border-gold); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(236,198,0,0.05); }
.pillar-card:hover::before { opacity: 1; }
.pillar-card:hover::after { opacity: 1; }

.pillar-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; background: rgba(236,198,0,0.06); border: 1px solid rgba(236,198,0,0.12); }
.pillar-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.pillar-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ STATS ═══ */
.stats { padding: 80px 0; background: var(--bg-secondary); position: relative; overflow: hidden; }
.stats-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-display); font-size: clamp(4rem,12vw,10rem); font-weight: 900; color: rgba(236,198,0,0.03); letter-spacing: 0.05em; white-space: nowrap; pointer-events: none; user-select: none; }
.stats-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 200px; background: radial-gradient(ellipse, rgba(236,198,0,0.06), transparent 70%); pointer-events: none; animation: statsGlowPulse 5s infinite ease-in-out; }
@keyframes statsGlowPulse { 0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); } }

.stats-grid { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 32px 28px; min-width: 170px; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; text-shadow: 0 0 30px rgba(236,198,0,0.2); font-variant-numeric: tabular-nums; }
.stat-suffix { font-size: 0.7em; }
.stat-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; }
@media (max-width: 768px) { .stats-grid { gap: 0; } .stat-item { min-width: 140px; padding: 20px 16px; } }

/* ═══ TIMELINE ═══ */
.timeline-section { padding: 120px 0; position: relative; overflow: hidden; }
.timeline-section::after { content: ''; position: absolute; top: 30%; right: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(236,198,0,0.04), transparent 70%); border-radius: 50%; filter: blur(60px); pointer-events: none; animation: orbFloat 20s infinite ease-in-out; }
.timeline-header { text-align: center; margin-bottom: 80px; }
.timeline-header .section-subtitle { margin: 0 auto; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; list-style: none; }
.timeline::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background: linear-gradient(to bottom, transparent, var(--border-gold) 5%, var(--border-gold) 95%, transparent); }
.timeline::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 80px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); animation: timelineGlow 4s infinite ease-in-out; z-index: 1; }
@keyframes timelineGlow { 0% { top: -80px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.timeline-item { display: flex; align-items: flex-start; margin-bottom: 48px; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item:nth-child(odd) { flex-direction: row; padding-right: calc(50% + 40px); text-align: right; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; padding-left: calc(50% + 40px); text-align: left; }

.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-primary); border: 2px solid var(--border-gold); z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--gold); transition: all 0.6s var(--ease-out-expo); }
.timeline-item.visible .timeline-dot { background: var(--gold); color: var(--bg-primary); box-shadow: 0 0 20px rgba(236,198,0,0.35), 0 0 50px rgba(236,198,0,0.1); }

.timeline-connector { position: absolute; top: 21px; width: 20px; height: 2px; background: var(--border-gold); }
.timeline-item:nth-child(odd) .timeline-connector { right: calc(50% - 22px); }
.timeline-item:nth-child(even) .timeline-connector { left: calc(50% - 22px); }

.timeline-content { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 28px 24px; position: relative; transition: all 0.5s var(--ease-out-expo); width: 100%; }
.timeline-content::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.6s var(--ease-out-expo); }
.timeline-item.visible .timeline-content::after { width: 100%; }
.timeline-content:hover { border-color: var(--border-gold); background: var(--bg-card-hover); box-shadow: 0 10px 40px rgba(0,0,0,0.3), 0 0 20px rgba(236,198,0,0.04); }
.timeline-content h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

@media (max-width: 768px) {
  .timeline::before, .timeline::after { left: 22px; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { flex-direction: row; padding-right: 0; padding-left: 64px; text-align: left; }
  .timeline-dot { left: 22px; width: 38px; height: 38px; font-size: 0.78rem; }
  .timeline-connector { display: none; }
}

/* Avviso difformità */
.notice { max-width: 900px; margin: 64px auto 0; background: var(--bg-card); border: 1px solid var(--border-gold); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.notice-text { display: flex; gap: 20px; align-items: flex-start; flex: 1 1 360px; }
.notice-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(236,198,0,0.06); border: 1px solid rgba(236,198,0,0.12); }
.notice-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.notice h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.notice p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ FOOTER ═══ */
.footer { padding: 80px 0 40px; background: var(--bg-secondary); position: relative; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 36px; width: auto; opacity: 0.85; filter: brightness(1.05); transition: opacity 0.3s, filter 0.3s; }
.footer-logo img:hover { opacity: 1; filter: brightness(1.2) drop-shadow(0 0 8px rgba(236,198,0,0.3)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.footer h4 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-info p { font-size: 0.88rem; color: var(--text-secondary); line-height: 2; display: block; }
.footer-info a { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; display: block; padding: 8px 0; transition: color 0.3s; }
.footer-info a:hover { color: var(--gold); }
.footer-info strong { color: var(--text-primary); }
.footer-info .gap { margin-top: 12px; }
.footer-cta .btn { margin-top: 8px; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: 0.78rem; color: var(--text-secondary); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-gold); padding: 8px 0; display: inline-block; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* Noise */
.noise-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.03; 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)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; }

@media (max-width: 768px) {
  .hero-logo img { height: 48px; }
  .hero-content { padding-top: 100px; padding-bottom: 64px; }
  .hero-scroll { display: none; }
}
@media (max-width: 480px) { .hero-logo img { height: 40px; } }

/* Movimento ridotto: tutto fermo, particelle nascoste */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-logo, .hero-badge, .hero h1, .hero-sub, .hero-cta, .hero-scroll { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-particles, .hero-orbs, .stats-glow, .timeline::after { display: none; }
  .timeline-item .timeline-dot { background: var(--gold); color: var(--bg-primary); }
}
.cookie-prefs { font-family: inherit; font-size: 0.78rem; color: var(--text-secondary); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-gold); padding: 8px 0; transition: color 0.3s; }
.cookie-prefs:hover { color: var(--gold); }

/* Logo nella barra nascosto finché è visibile il logo grande dell'hero (niente logo doppio) */
.nav-logo { transition: opacity .4s var(--ease-out-expo), visibility .4s; }
.nav.logo-hidden .nav-logo { opacity: 0; visibility: hidden; pointer-events: none; }
