.mats-hero {
  background: var(--ocean-blue);
  background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
  padding: 60px 5%;
  text-align: center;
  color: white;
  border-bottom: 8px dashed white;
}
.mats-hero h2 { font-family: 'Fredoka One', cursive; font-size: 3rem; margin: 0; }

/* Griglia Materiali */
.mats-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mats-section {
  background: white;
  border-radius: 30px;
  padding: 30px;
  border: 5px solid #eee;
  transition: 0.3s;
}
.mats-section:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.mats-section h3 { 
  font-family: 'Fredoka One', cursive; 
  display: flex; 
  align-items: center; 
  gap: 15px;
  margin-top: 0;
}

/* Lista file */
.file-list { list-style: none; padding: 0; margin-top: 20px; }
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f9f9f9;
  border-radius: 15px;
  margin-bottom: 10px;
  transition: 0.2s;
  border: 2px solid transparent; 
}
.file-item:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--sky-blue); }

.file-info { display: flex; align-items: center; gap: 12px; }
.file-info i { font-size: 1.4rem; }

.btn-download {
  background: var(--grass-green);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

/* Varianti colori */
.sec-stampa { border-color: var(--viola-uici); }
.sec-stampa h3 { color: var(--viola-uici); }
.sec-com { border-color: var(--sunny-yellow); }
.sec-com h3 { color: var(--orange-punch); }
.sec-prt { border-color: var(--dark-blue); }
.sec-prt h3 { color: var(--sky-blue); }
.sec-multimedia { border-color: var(--grass-green); }
.sec-multimedia h3 { color: var(--grass-green); }

