@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: #fcfcfb; color: #1d1f24; font-family: 'Instrument Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #4b5265; }
a:hover { color: #1d1f24; }
input, select, textarea { font-family: inherit; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
@keyframes entris-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.btn-dark { background: #1d1f24; color: #ffffff; text-decoration: none; border: none; border-radius: 999px; font-weight: 500; font-family: inherit; cursor: pointer; }
.btn-dark:hover { background: #33363d; color: #ffffff; }
.btn-light { border: 1px solid #e3e2de; background: #ffffff; color: #4b5265; text-decoration: none; border-radius: 999px; font-weight: 500; }
.btn-light:hover { background: #f6f5f2; color: #1d1f24; }

/* Campo honeypot anti-spam: invisibile agli utenti, i bot lo compilano. */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Banner cookie: Accetta/Rifiuta di pari evidenza, in fondo alla pagina. */
#cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 720px; margin: 0 auto; background: #ffffff; border: 1px solid #e3e2de; border-radius: 14px; box-shadow: 0 8px 30px rgba(29,31,36,0.12); padding: 18px 20px; }
.cookie-banner-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner-text { margin: 0; flex: 1 1 320px; font-size: 13.5px; line-height: 1.55; color: #4b5265; }
.cookie-banner-actions { display: flex; gap: 10px; flex: none; }
.cookie-btn { padding: 10px 20px; font-size: 14px; cursor: pointer; }
/* "Accetta" primario ed evidenziato; "Rifiuta" resta un pulsante visibile
   e della stessa dimensione, come richiede il Garante (pari facilità). */
#cookie-accept { font-weight: 600; box-shadow: 0 6px 18px rgba(29,31,36,0.22); }
@media (max-width: 520px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

@media (max-width: 860px) {
  .nav-links { display: none !important; }
}
/* In vista a due colonne riserva al titolo l'altezza di due righe,
   così i corpi testo delle due schede partono allineati anche quando
   un titolo va a capo e l'altro no. Sotto i 760px le schede si impilano
   e l'allineamento orizzontale non serve. */
@media (min-width: 761px) {
  .pair-card-title { min-height: 2.5em; }
}
@media (max-width: 760px) {
  .grid-stack { grid-template-columns: 1fr !important; gap: 24px !important; }
  .img-hero { height: 420px !important; }
  .img-badge { height: 420px !important; }
  .img-evac { height: 300px !important; }
  .compliance-row { grid-template-columns: 1fr !important; gap: 8px !important; padding: 18px 20px !important; }
  .compliance-head { display: none !important; }
  .radio-row { flex-direction: column !important; }
}
