/* Sbobino — foglio unico.
   Ottanio della locandina, giallo d'antimonio, ciano di provetta.
   Tutto squadrato: nessun angolo arrotondato, separazione a filo di 1px. */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('../fonts/dm-mono-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --fondo: #061d25;
  --fondo-2: #0b2e38;
  --fondo-3: #04161c;
  --testo: #f7f1e3;
  --testo-morbido: #d8e6e5;
  --tenue: #a9c6c8;
  --tenue-2: #7ea0a4;
  --giallo: #f2b233;
  --giallo-chiaro: #ffc85a;
  --ciano: #3fd0c9;
  --linea: rgba(63, 208, 201, 0.22);
  --linea-tenue: rgba(63, 208, 201, 0.13);
  --linea-forte: rgba(63, 208, 201, 0.55);
  --pannello: rgba(11, 46, 56, 0.55);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --misura: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 50% -10%, #0d3a46 0%, transparent 55%),
    linear-gradient(180deg, #07202a 0%, var(--fondo) 38%, #051a21 100%);
  background-attachment: fixed;
  color: var(--testo);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(63, 208, 201, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 208, 201, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 0%, #000 15%, transparent 88%);
  mask-image: radial-gradient(120% 95% at 50% 0%, #000 15%, transparent 88%);
}

main, .piede { position: relative; z-index: 1; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.14; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ciano); text-decoration: none; }
a:hover { color: var(--giallo); }
button { font: inherit; color: inherit; }

::selection { background: var(--giallo); color: #061d25; }

:focus-visible {
  outline: 2px solid var(--giallo);
  outline-offset: 3px;
}

.solo-lettori,
.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.salta {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--giallo);
  color: #061d25;
  padding: 10px 16px;
  font-weight: 700;
  transition: top .15s ease;
}
.salta:focus { top: 12px; color: #061d25; }

.contenitore {
  width: min(var(--misura), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.contenitore-stretto { width: min(780px, 100% - 2 * var(--gutter)); }

/* ------------------------------------------------------------------ scena */

.scena {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.elica {
  position: absolute;
  top: -70px;
  right: -46px;
  height: 1240px;
  width: auto;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
}

.formula {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(63, 208, 201, 0.14);
  white-space: nowrap;
}
.f1 { left: 2.5%; top: 15%; }
.f2 { right: 2.5%; top: 44%; }
.f3 { left: 3%;   top: 56%; }
.f4 { left: 4%;   top: 82%; }
.f5 { right: 4%;  top: 74%; }
.f6 { right: 3%;  top: 20%; }

/* ------------------------------------------------------------------ barra */

.barra {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--linea-tenue);
  background: rgba(4, 22, 28, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.marchio {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--testo);
  min-width: 0;
}
.marchio:hover { color: var(--testo); }
.marchio-segno { display: block; flex-shrink: 0; }
.marchio-segno .atomo { width: 36px; height: 36px; color: var(--ciano); }
.marchio-testo { display: grid; gap: 1px; min-width: 0; }
.marchio-nome {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.marchio-claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.84rem;
  line-height: 1;
  color: var(--giallo);
}

.menu { margin-left: auto; }
.menu ul { display: flex; gap: 2px; list-style: none; }
.menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--tenue);
  border: 1px solid transparent;
  white-space: nowrap;
}
.menu a:hover { color: var(--testo); border-color: var(--linea); background: rgba(63, 208, 201, 0.05); }
.menu a[aria-current="page"] { color: var(--testo); border-color: var(--linea-forte); background: rgba(63, 208, 201, 0.08); }

.barra-cta {
  flex-shrink: 0;
  padding: 9px 16px;
  background: var(--giallo);
  color: #061d25;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--giallo);
  transition: background .18s ease, color .18s ease;
}
.barra-cta:hover { background: var(--giallo-chiaro); color: #061d25; border-color: var(--giallo-chiaro); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--linea);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tenue);
  cursor: pointer;
}
.menu-btn-linee,
.menu-btn-linee::before,
.menu-btn-linee::after {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.menu-btn-linee::before,
.menu-btn-linee::after { content: ""; position: absolute; left: 0; }
.menu-btn-linee::before { top: -5px; }
.menu-btn-linee::after { top: 5px; }

/* ------------------------------------------------------------------- eroe */

.eroe {
  position: relative;
  padding: clamp(40px, 7vw, 82px) 0 0;
  text-align: center;
  overflow: hidden;
}
.eroe::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 90%;
  background: radial-gradient(48% 55% at 50% 45%, rgba(63, 208, 201, 0.16), transparent 72%);
  pointer-events: none;
}
.eroe .contenitore { position: relative; }

.occhiello {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ciano);
}
.occhiello::before,
.occhiello::after {
  content: "";
  width: clamp(18px, 4vw, 44px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.titolo {
  margin-top: 0.14em;
  font-weight: 800;
  font-size: clamp(3.1rem, 14.2vw, 10.2rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.titolo-parola { display: block; }

.claim {
  margin-top: 0.1em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 4.6vw, 3rem);
  line-height: 1;
  color: var(--giallo);
  letter-spacing: 0.01em;
}

.eroe-testo {
  max-width: 58ch;
  margin: 1.7rem auto 0;
  color: var(--tenue);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}

.azioni {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2.1rem;
}

.bottone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--giallo);
  color: #061d25;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--giallo);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.bottone:hover {
  background: var(--giallo-chiaro);
  border-color: var(--giallo-chiaro);
  color: #061d25;
  transform: translateY(-1px);
}
.bottone:active { transform: translateY(0); }
.bottone-vuoto {
  background: transparent;
  color: var(--testo);
  border-color: var(--linea-forte);
}
.bottone-vuoto:hover {
  background: rgba(63, 208, 201, 0.08);
  border-color: var(--ciano);
  color: var(--testo);
}
.bottone-pieno { width: 100%; margin-top: 18px; }

/* -------------------------------------------------------- tavola periodica */

.tavola-blocco {
  margin-top: clamp(38px, 6vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--linea-tenue);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tavola { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.cella {
  position: relative;
  width: 74px;
  padding: 12px 8px 9px;
  border: 1px solid var(--linea);
  background: rgba(6, 29, 37, 0.55);
  text-align: center;
  transition: border-color .18s ease, background .18s ease;
}
.cella:hover { border-color: var(--linea-forte); background: rgba(63, 208, 201, 0.06); }
.cella-numero {
  position: absolute;
  top: 4px; left: 6px;
  font-family: var(--mono);
  font-size: 0.54rem;
  color: var(--tenue-2);
}
.cella-simbolo { display: block; font-weight: 700; font-size: 1.16rem; line-height: 1.15; }
.cella-nome {
  display: block;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tenue-2);
}
.cella.forte {
  border-color: var(--giallo);
  background: rgba(242, 178, 51, 0.1);
  box-shadow: inset 0 0 0 1px rgba(242, 178, 51, 0.14);
}
.cella.forte .cella-simbolo { color: var(--giallo); }

.tavola-nota {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tenue-2);
  text-align: center;
}

/* --------------------------------------------------------------- sezioni */

.sezione {
  position: relative;
  padding: clamp(54px, 8vw, 100px) 0;
  border-top: 1px solid var(--linea-tenue);
}
.sezione-prima { padding-top: clamp(32px, 4.5vw, 52px); }
.sezione-scura {
  background: linear-gradient(180deg, rgba(4, 22, 28, 0.55), rgba(4, 22, 28, 0.16));
}
.sezione-scura .sezione-testata { margin-bottom: clamp(26px, 3.5vw, 40px); }

.sezione-testata { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }

.numero {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--giallo);
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ciano);
  letter-spacing: 0;
}
.sezione-testo {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--tenue);
  font-size: 1.02rem;
}

/* ---------------------------------------------------------------- schede */

.griglia-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scheda {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 20px;
  border: 1px solid var(--linea);
  background: linear-gradient(180deg, rgba(11, 46, 56, 0.62), rgba(6, 29, 37, 0.38));
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.griglia-2.singola { grid-template-columns: minmax(0, 620px); }
.scheda::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--giallo);
}
.scheda:hover {
  border-color: var(--linea-forte);
  background: linear-gradient(180deg, rgba(13, 58, 70, 0.75), rgba(6, 29, 37, 0.45));
  transform: translateY(-2px);
}
.scheda-segno {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tenue-2);
}
.scheda h3 { font-size: clamp(1.18rem, 1.9vw, 1.45rem); line-height: 1.2; }
.scheda-titolo { color: var(--testo); }
.scheda-titolo:hover { color: var(--giallo); }
.scheda-testo { color: var(--tenue); font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chip {
  padding: 4px 9px;
  border: 1px solid rgba(63, 208, 201, 0.2);
  background: rgba(63, 208, 201, 0.045);
  font-size: 0.73rem;
  color: var(--tenue);
  line-height: 1.35;
}

.scheda-piede {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--linea-tenue);
}

.freccia {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ciano);
  border-bottom: 1px solid rgba(63, 208, 201, 0.4);
  padding-bottom: 1px;
}
.freccia::after { content: " →"; }
.freccia:hover { color: var(--giallo); border-color: rgba(242, 178, 51, 0.5); }

.scheda-prezzo {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--giallo);
  white-space: nowrap;
}

/* ----------------------------------------------------------------- passi */

.passi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  list-style: none;
}
.passo { border-top: 1px solid rgba(242, 178, 51, 0.45); padding-top: 18px; }
.passo-numero {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--giallo);
}
.passo h3 { margin: 0.7em 0 0.5em; font-size: 1.08rem; line-height: 1.3; }
.passo p { color: var(--tenue); font-size: 0.93rem; }

.nota {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(30px, 4.5vw, 46px);
  padding: 24px;
  border: 1px solid rgba(63, 208, 201, 0.28);
  border-left: 2px solid var(--ciano);
  background: linear-gradient(90deg, rgba(63, 208, 201, 0.07), rgba(63, 208, 201, 0.01));
}
.nota-larga { margin-top: 30px; }
.nota-atomo { flex-shrink: 0; width: 44px; height: 44px; color: var(--ciano); }
.nota h3 { font-size: 1.06rem; margin-bottom: 0.45em; }
.nota p { color: var(--tenue); font-size: 0.94rem; max-width: 74ch; }
.nota p + p { margin-top: 0.8em; }

/* ---------------------------------------------------------------- prezzo */

.prezzo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--linea);
  background: linear-gradient(135deg, rgba(11, 46, 56, 0.7), rgba(4, 22, 28, 0.45));
}
.prezzo-testo h2 { margin-bottom: 0.55em; }
.prezzo-testo p { max-width: 58ch; color: var(--tenue); margin-bottom: 1.1rem; }
.prezzo-testo .bottone { margin-top: 0.4rem; }
.prezzo-nota {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ciano);
}

.timbro {
  padding: 20px 26px;
  border: 2px solid var(--giallo);
  transform: rotate(-3deg);
  text-align: center;
  color: var(--giallo);
  justify-self: end;
}
.timbro-piccolo {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 178, 51, 0.82);
}
.timbro-grande {
  display: block;
  margin: 6px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 0.98;
}

/* ------------------------------------------------------------------ FAQ */

.elenco-domande { border-top: 1px solid var(--linea-tenue); }
.domanda { border-bottom: 1px solid var(--linea-tenue); }
.domanda summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}
.domanda summary::-webkit-details-marker { display: none; }
.domanda summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--giallo);
  flex-shrink: 0;
  transition: transform .18s ease;
}
.domanda[open] summary::after { content: "−"; }
.domanda summary:hover { color: var(--giallo); }
.risposta { padding: 0 0 20px; }
.risposta p { color: var(--tenue); font-size: 0.95rem; max-width: 72ch; }
.dopo-elenco { margin-top: 22px; }

/* --------------------------------------------------------------- chiamata */

.chiamata {
  position: relative;
  padding: clamp(52px, 8vw, 92px) 0;
  border-top: 1px solid var(--linea-tenue);
  text-align: center;
  background: radial-gradient(70% 130% at 50% 0%, rgba(63, 208, 201, 0.1), transparent 72%);
}
.chiamata-interno {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.chiamata h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; }
.chiamata h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--giallo);
}
.chiamata p { max-width: 56ch; color: var(--tenue); }
.chiamata .numero { margin-bottom: 0; }

/* ----------------------------------------------------------------- testate */

.testata {
  position: relative;
  padding: clamp(38px, 6vw, 72px) 0 clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--linea-tenue);
}
.testata .occhiello { justify-content: flex-start; }
.testata .occhiello::before { display: none; }
.testata .occhiello::after { display: none; }
.testata h1 {
  margin-top: 0.25em;
  font-size: clamp(1.95rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.testata-testo {
  max-width: 64ch;
  margin-top: 18px;
  color: var(--tenue);
  font-size: clamp(1rem, 1.3vw, 1.06rem);
}
.testata .azioni { justify-content: flex-start; margin-top: 1.7rem; }
.testata-404 { min-height: 46vh; display: flex; align-items: center; }

.briciole { padding: 14px var(--gutter) 0; }
.briciole-interno { width: min(var(--misura), 100%); margin-inline: auto; }
.briciole-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tenue-2);
}
.briciole-lista li { display: flex; align-items: center; gap: 8px; }
.briciole-lista li + li::before { content: "/"; color: rgba(126, 160, 164, 0.6); }
.briciole a { color: var(--tenue-2); }
.briciole a:hover { color: var(--ciano); }

/* ------------------------------------------------------------------ corpo */

.corpo-due {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.prosa > * + * { margin-top: 1.05em; }
.prosa p { color: var(--testo-morbido); }
.prosa h2 {
  margin-top: 2.1em;
  padding-top: 0.7em;
  border-top: 1px solid var(--linea-tenue);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.prosa h3 { margin-top: 1.6em; font-size: 1.12rem; }
.prosa > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prosa ul, .prosa ol { margin: 1.1em 0 1.1em 1.15em; }
.prosa li { margin: 0.45em 0; color: var(--testo-morbido); }
.prosa strong { color: var(--testo); }
.prosa em { color: var(--testo); }
.prosa a { border-bottom: 1px solid rgba(63, 208, 201, 0.4); }

.elenco-segni { list-style: none; margin: 1.2em 0 0; padding: 0; }
.elenco-segni li {
  position: relative;
  margin: 0;
  padding: 13px 0 13px 26px;
  border-bottom: 1px dashed var(--linea-tenue);
  font-size: 0.95rem;
  color: var(--testo-morbido);
}
.elenco-segni li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.55em;
  width: 7px; height: 7px;
  background: var(--giallo);
}

.scheda-lato {
  position: sticky;
  top: 88px;
  padding: 22px;
  border: 1px solid var(--linea);
  background: rgba(11, 46, 56, 0.5);
}
.lato-blocco + .lato-blocco {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--linea-tenue);
}
.lato-titolo {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--giallo);
}
.scheda-lato p { font-size: 0.9rem; color: var(--tenue); }
.scheda-lato .lato-prezzo { color: var(--testo-morbido); }
.lato-mail, .piede-mail { overflow-wrap: anywhere; display: inline-block; max-width: 100%; }
.lato-argomenti .chips { margin-top: 4px; }
.lato-argomenti .chip { font-size: 0.68rem; }

/* --------------------------------------------------------------- locandina */

.locandina {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  margin: 44px 0 0;
  padding: 20px;
  border: 1px solid var(--linea);
  background: rgba(11, 46, 56, 0.42);
}
.locandina picture { display: block; }
.locandina img {
  width: 100%;
  height: auto;
  border: 1px solid var(--linea-tenue);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.locandina-titolo {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--giallo);
}
.locandina figcaption p { color: var(--tenue); font-size: 0.93rem; }
.locandina figcaption p + p { margin-top: 10px; }
.locandina figcaption strong { color: var(--giallo); }

/* ----------------------------------------------------------------- modulo */

.modulo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--linea);
  background: rgba(11, 46, 56, 0.4);
}
.campo { display: flex; flex-direction: column; gap: 8px; }
.modulo label, .campo > label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tenue);
}
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(63, 208, 201, 0.3);
  border-radius: 0;
  background: rgba(4, 22, 28, 0.7);
  color: var(--testo);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color .15s ease, background .15s ease;
}
.campo textarea { min-height: 150px; resize: vertical; }
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--giallo);
  background: rgba(4, 22, 28, 0.9);
  outline: none;
}
.campo input[aria-invalid="true"],
.campo textarea[aria-invalid="true"] { border-color: #ff8f7a; }
.campo-consenso { flex-direction: row; align-items: flex-start; gap: 10px; }
.campo-consenso input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--giallo); }
.campo-consenso label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tenue);
  line-height: 1.5;
}
.modulo-errore { color: #ffb4a3; font-size: 0.86rem; }
.modulo-errore:focus { outline: none; }
.modulo-errore:empty { display: none; }
.modulo-nota { color: var(--tenue-2); font-size: 0.8rem; line-height: 1.55; }
.modulo-nota a { overflow-wrap: anywhere; }

.campo-nascosto {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.modulo-esito {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(63, 208, 201, 0.45);
  border-left: 3px solid var(--ciano);
  background: linear-gradient(90deg, rgba(63, 208, 201, 0.1), rgba(63, 208, 201, 0.02));
}
.esito-titolo {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--giallo);
}
.esito-testo { color: var(--testo-morbido); font-size: 0.97rem; }
.esito-piede { font-size: 0.9rem; }

.modulo.inviato .campo,
.modulo.inviato .modulo-nota { display: none; }

[hidden] { display: none !important; }

/* ------------------------------------------------------------------ piede */

.piede {
  border-top: 1px solid var(--linea);
  background: rgba(4, 22, 28, 0.72);
}
.piede-interno {
  width: min(var(--misura), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(22px, 4vw, 40px);
  padding: clamp(34px, 5vw, 54px) 0;
}
.piede-marchio {
  font-size: 1.06rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.piede-marchio span {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--giallo);
}
.piede-frase { margin-top: 12px; max-width: 36ch; color: var(--tenue-2); font-size: 0.85rem; }
.piede-titolo {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--giallo);
}
.piede-nav ul { list-style: none; display: grid; gap: 8px; }
.piede-nav a, .piede-mail { color: var(--tenue); font-size: 0.87rem; }
.piede-nav a:hover, .piede-mail:hover { color: var(--giallo); }
.piede-nota { margin-top: 8px; color: var(--tenue-2); font-size: 0.78rem; }
.piede-contatto { min-width: 0; }
.piede-basso {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 16px var(--gutter);
  border-top: 1px solid var(--linea-tenue);
  color: var(--tenue-2);
  font-size: 0.77rem;
}
.piede-basso a { color: var(--tenue); }
.piede-basso a:hover { color: var(--giallo); }

/* ----------------------------------------------------------------- mobile */

@media (max-width: 980px) {
  .griglia-2 { grid-template-columns: 1fr; }
  .passi { grid-template-columns: 1fr; gap: 22px; }
  .prezzo { grid-template-columns: 1fr; }
  .timbro { justify-self: start; transform: rotate(-2deg); }
  .corpo-due { grid-template-columns: 1fr; }
  .scheda-lato { position: static; }
  .piede-interno { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .barra { flex-wrap: wrap; }
  .menu {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    display: none;
    margin: 6px 0 4px;
    border-top: 1px solid var(--linea-tenue);
  }
  .menu.aperto { display: block; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { padding: 13px 4px; border-bottom: 1px solid var(--linea-tenue); border-left: 0; border-right: 0; border-top: 0; font-size: 0.95rem; }
  .menu-btn { display: flex; }
  .barra-cta { display: none; }
  .no-js .menu { display: block; }
  .no-js .menu-btn { display: none; }
  .no-js .menu a { border-bottom: 1px solid var(--linea-tenue); }
  .formula { display: none; }
  .elica { right: -140px; opacity: 0.34; }
}

@media (max-width: 620px) {
  .titolo { font-size: clamp(2.9rem, 17vw, 4.6rem); }
  .cella { width: 58px; padding: 10px 4px 7px; }
  .cella-simbolo { font-size: 1rem; }
  .cella-nome { font-size: 0.48rem; letter-spacing: 0.04em; }
  .tavola { gap: 6px; }
  .eroe { padding-top: 30px; }
  .piede-interno { grid-template-columns: 1fr; }
  .nota { flex-direction: column; gap: 14px; padding: 20px; }
  .azioni { flex-direction: column; align-items: stretch; }
  .azioni .bottone { width: 100%; }
  .testata .azioni { flex-direction: column; align-items: stretch; }
  .domanda summary { font-size: 0.97rem; }
  .piede-basso { flex-direction: column; }
  .locandina { grid-template-columns: 1fr; }
  .locandina picture { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
