/* Importa Google Font Inter con tutti i pesi necessari */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;600&display=swap');

/* tipografia e layout semplici */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 36px;
  padding-top: 120px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 22.5px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  color: #111;
  background-color: #fdfdfd;
}

/* Titolo principale grande */
.primalinea {
  font-size: 81px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.085em;
  margin: 0 0 1.5rem;
}

/* Titoli H3 */
h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 22.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

/* Paragrafi */
p {
  font-weight: 300;
  font-size: 22.5px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

/* Testo in grassetto */
strong {
  font-weight: 500;
}

/* Testo in corsivo */
i, em {
  font-style: italic;
  font-weight: 300;
}

/* Responsive: mobile 100% della larghezza */
@media (max-width: 750px) {
  body {
    padding: 24px;
    padding-top: 120px;
  }
  
  .page {
    width: 100%;
    max-width: 100%;
  }
  
  .top-links {
    right: 24px;
  }
}

/* Desktop: 80% della larghezza, centrato */
.page {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}

.intro p {
  margin: 0 0 1.5rem;
}

hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid #101010;
}

/* Fascia bianca fissa in alto */
.language-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background-color: #fdfdfd;
  z-index: 999;
}

/* Container per i link in alto a destra - Desktop */
.top-links {
  position: fixed;
  top: 30px;
  right: calc(10% + 36px);
  z-index: 1000;
  display: flex;
  gap: 18px;
  align-items: center;
}

/* Link contatti */
.contact-link {
  padding: 0;
  background-color: transparent;
  color: inherit;
  text-decoration: underline;
  font-size: 22.5px;
  font-weight: 300;
  font-family: inherit;
  transition: opacity 0.15s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

/* Pulsante lingua */
.language-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22.5px;
  font-weight: 300;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  color: inherit;
  transition: opacity 0.15s ease;
}

.language-toggle:hover {
  opacity: 0.7;
}

[data-lang] {
  display: none;
}

[data-lang].active {
  display: inline;
}

/* link testuali */
.text-link {
  color: inherit;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 0.225em;
}

.text-link:hover {
  opacity: 0.7;
}

/* filtri */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 2.25rem 0;
}

.filter-button {
  border-radius: 12px;
  padding: 15px 27px;
  font-size: 22.5px;
  font-weight: 300;
  border: 1.5px solid #ccc;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease;
}

/* stato ON: × + sfondo chiaro */
.filter-button.is-on {
  background-color: #111;
  color: #fff;
  border-color: #111;
  font-weight: 500;
}

/* stato OFF: + + sfondo bianco */
.filter-button.is-off {
  background-color: #fff;
  color: #111;
  border-color: #ccc;
  font-weight: 300;
}

.filter-symbol {
  font-size: 1.65rem;
}

/* elenco puntato */
.bullets ul {
  padding-left: 1.8rem;
}

.bullets li {
  margin-bottom: 0.6rem;
  font-weight: 300;
  font-size: 22.5px;
  line-height: 1.5;
}

/* nasconde gli elementi filtrati via JS */
.bullets li.is-hidden {
  display: none;
}

