:root {
  --accent: #f4a300;
  --border: #ddd;
  --gray-bg: #f5f5f5;
  --text-color: #111;
  --bg-color: #fff;
}

/* Sezioni generali */
.section {
  padding: 4rem 1.5rem;
}
.section.alt {
  background: var(--gray-bg);
}
.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.section-divider {
  height: 3px;
  background: var(--accent);
  opacity: .9;
  margin: -0.1rem auto 3rem;
  width: 80px;
  border-radius: 2px;
}

/* HERO */
.hero-home {
  position: relative;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  color: #fff;
  background: url("/www/immagini/classici-home.jpg") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero-home h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-home p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

/* PRODUZIONI */
.produzioni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.produzione-img {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}
.produzione-img img {
  width: 100%;
  display: block;
  transition: transform .3s ease;
}
.produzione-img:hover img {
  transform: scale(1.06);
}

/* STATISTICHE */
.stats h2 {
  margin-bottom: 3rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
}
.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.stats-grid .number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* PATROCINI */
.subtitle {
  text-align: center;
  margin-bottom: 2rem;
}
.patrocini-logos {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.patrocinio img {
  max-height: 60px;
  opacity: .85;
  transition: transform .3s ease;
}
.patrocinio img:hover {
  transform: scale(1.05);
}
.patrocinio p {
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--text-color);
}

/* SOSTEGNO */
.support-wrapper {
  display: flex;
  justify-content: center;
}
.support-logo {
  max-height: 90px;
}

/* RECENSIONI */
.recensioni-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.recensioni-carousel blockquote {
  flex: 0 0 280px;
  background: rgba(249,249,249,.9);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  font-style: italic;
  scroll-snap-align: start;
}
.recensioni-carousel footer {
  margin-top: .5rem;
  font-size: .9rem;
  color: #555;
  font-style: normal;
}

/* CONTATTI */
.contatti {
  text-align: center;
}
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.contatto-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.contatto-box h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
}
.contatto-box p {
  margin: 0.5rem 0;
}
.contatto-box a {
  color: var(--accent);
  text-decoration: none;
}
.contatto-box a:hover {
  text-decoration: underline;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  .hero-home {
    padding: 6rem 1rem 4rem;
  }
  .produzioni-grid {
    gap: 1.2rem;
  }
  .stats-grid {
    gap: 1.2rem;
  }
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  :root {
    --border: #333;
    --gray-bg: #1c1c1c;
    --text-color: #eee;
    --bg-color: #121212;
  }

  body {
    background: var(--bg-color);
    color: var(--text-color);
  }

  .section.alt {
    background: var(--gray-bg);
  }

  .patrocinio p {
    color: #aaa;
  }

  .recensioni-carousel blockquote {
    background: rgba(30,30,30,.9);
    color: #eee;
  }

  .recensioni-carousel footer {
    color: #bbb;
  }

  .contatto-box {
    background: #1c1c1c;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
  }
}
