:root {
  --arancio: #f7931e;
  --marrone: #6b4a2b;
  --sfondo-riso: #f8f2e7;
  --testo: #2e2a26;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sfondo-riso);
  color: var(--testo);
}

/* HEADER / NAV */

.header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--marrone);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: var(--marrone);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--arancio);
  transition: width 0.2s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* LAYOUT GENERALE PAGINE */

.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

h1, h2, h3 {
  color: var(--marrone);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0 2rem;
}

.hero-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.18);
  background: #000;
}

.hero-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  margin-bottom: 7.0 rem;
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(247,147,30,0.12);
  color: var(--arancio);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--arancio);
  color: #fff;
  border: none;
}

.btn-outline {
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--marrone);
  background: transparent;
}

/* SEZIONI */

.section {
  margin-top: 2.5rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* LISTE */

ul.check {
  list-style: none;
  padding-left: 0;
}

ul.check li::before {
  content: "✓";
  color: var(--arancio);
  margin-right: 0.5rem;
}

/* TABELLA DATI / CONTATTI */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 0.5rem 0.3rem;
  text-align: left;
}

.data-table th {
  width: 140px;
  font-weight: 600;
  color: var(--marrone);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.9);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-links a {
  margin-right: 0.75rem;
  text-decoration: none;
  color: var(--marrone);
}

.footer-links a:hover {
  text-decoration: underline;
}


.footer-social a {
  margin-left: 0.75rem;
  text-decoration: none;
  color: var(--arancio);
  font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

.product-card {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
}

.product-card img {
  width: 100%;
  max-height: 300px;   /* altezza massima, ma non obbligatoria */
  object-fit: contain; /* mostra tutta l’immagine, senza tagliarla */
  background: #f8f2e700; /* colore “riso” dietro, se la foto non riempie tutto */
  border-radius: 10px;
}

@media (max-width: 600px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 50%;
  }
}

..audio-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.4rem;
  border-radius: 50%;
  border: none;
  background: rgba(248, 242, 231, 0.7); /* colore riso con opacità 70% */
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-toggle img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}