/* ==========================================================================
   GEA Fun Experience — Design system "Open Air"
   Un solo foglio di stile. Mobile-first. Nessuna risorsa esterna.
   Indice
   01 Font            08 Pulsanti e link      15 Galleria / lightbox
   02 Token           09 Icone                16 Carosello
   03 Reset           10 Header e navigazione 17 Card
   04 Tipografia      11 Footer               18 Componenti di contenuto
   05 Layout          12 Hero                 19 Moduli (form)
   06 Sezioni         13 Prose                20 Filtri / collezioni
   07 Eyebrow, chip   14 Split, feature, tile 21 Dialog: ricerca, pdf
                                              22 Utility, motion, stampa
   ========================================================================== */

/* 01 — Font --------------------------------------------------------------- */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Lato-italic-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Lato-normal-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Lato-normal-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/Lato-normal-900.ttf) format('truetype');
}


/* 02 — Token -------------------------------------------------------------- */
:root {
  /* Colori di base */
  --ink: #0e1b2c;
  --ink-2: #16273d;
  --ink-3: #22364f;
  --brand: #03559d;
  --brand-bright: #0a6fc9;      /* hover/focus interattivo, AA su bianco (5.1:1) */
  --brand-soft: #e6eef7;
  --summer: #2ea65d;            /* riempimenti, icone, decorazioni */
  --summer-ink: #1e7d43;        /* testo verde AA su bianco/carta */
  --summer-soft: #e5f4ea;
  --winter: #38b6e8;
  --winter-ink: #0b6e99;
  --winter-soft: #e3f2fb;
  --sun: #ffb700;
  --sun-hover: #ffc633;
  --sun-soft: #fff4d6;
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --white: #ffffff;
  --line: #e4e2da;
  --line-strong: #cfccc1;
  --text: var(--ink);
  --muted: #5b6676;             /* 5.8:1 su bianco, 5.4:1 su carta */
  --on-dark: #ffffff;
  --on-dark-muted: #b9c3d0;
  --danger: #b3261e;
  --success: #1e7d43;

  /* Accento stagionale (default = tutto l'anno → blu brand) */
  --accent: var(--brand);
  --accent-ink: var(--brand);
  --accent-soft: var(--brand-soft);
  --accent-on-dark: #7cc0ff;

  /* Tipografia */
  --font-display: "Lato", ui-sans-serif, system-ui, Arial, sans-serif;
  --font-body: "Lato", ui-sans-serif, system-ui, Arial, sans-serif;
  --step--2: clamp(0.75rem, 0.73rem + 0.08vw, 0.8rem);
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.8vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.1rem, 1.55rem + 2.6vw, 3.75rem);
  --step-5: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.65;
  --measure: 68ch;

  /* Spaziatura */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --space-2xl: clamp(3rem, 2.2rem + 3.5vw, 5rem);
  --space-section: clamp(4rem, 2.8rem + 5.5vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);

  /* Forme */
  --radius-xs: 8px;
  --radius-s: 14px;
  --radius: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --shadow-s: 0 1px 2px rgb(14 27 44 / 0.06), 0 2px 8px rgb(14 27 44 / 0.05);
  --shadow: 0 2px 4px rgb(14 27 44 / 0.04), 0 12px 32px -8px rgb(14 27 44 / 0.14);
  --shadow-l: 0 4px 8px rgb(14 27 44 / 0.05), 0 28px 60px -16px rgb(14 27 44 / 0.25);
  --focus: 0 0 0 3px var(--white), 0 0 0 5.5px var(--brand-bright);

  /* Layout */
  --container: 1240px;
  --container-wide: 1440px;
  --container-narrow: 760px;
  --header-h: 76px;

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.25s;

  /* Pittogramma GEA (24 pallini dal logo) — usato come maschera decorativa */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 364 362'%3E%3Cg fill='black'%3E%3Ccircle cx='190' cy='14' r='14.6'/%3E%3Ccircle cx='258' cy='32.2' r='14.6'/%3E%3Ccircle cx='107.2' cy='50.2' r='23.4'/%3E%3Ccircle cx='175.3' cy='68.5' r='23.4'/%3E%3Ccircle cx='243.4' cy='86.8' r='23.4'/%3E%3Ccircle cx='311.5' cy='104.9' r='23.4'/%3E%3Ccircle cx='34.5' cy='103.7' r='14.6'/%3E%3Ccircle cx='89' cy='118.3' r='23.4'/%3E%3Ccircle cx='157.1' cy='136.6' r='32.2'/%3E%3Ccircle cx='225.2' cy='154.8' r='32.2'/%3E%3Ccircle cx='293.3' cy='173.1' r='23.4'/%3E%3Ccircle cx='16.1' cy='171.9' r='14.6'/%3E%3Ccircle cx='70.8' cy='186.4' r='23.4'/%3E%3Ccircle cx='138.8' cy='204.7' r='32.2'/%3E%3Ccircle cx='347.7' cy='187.7' r='14.6'/%3E%3Ccircle cx='206.9' cy='222.8' r='32.2'/%3E%3Ccircle cx='275' cy='241.2' r='23.4'/%3E%3Ccircle cx='52.5' cy='254.5' r='23.4'/%3E%3Ccircle cx='329.5' cy='255.7' r='14.6'/%3E%3Ccircle cx='120.6' cy='272.8' r='23.4'/%3E%3Ccircle cx='188.7' cy='291' r='23.4'/%3E%3Ccircle cx='256.8' cy='309.2' r='23.4'/%3E%3Ccircle cx='106' cy='327.1' r='14.6'/%3E%3Ccircle cx='174' cy='345.5' r='14.6'/%3E%3C/g%3E%3C/svg%3E");
}

/* Tema stagionale: <body data-season="summer|winter|all"> */
[data-season="summer"] {
  --accent: var(--summer);
  --accent-ink: var(--summer-ink);
  --accent-soft: var(--summer-soft);
  --accent-on-dark: #7fdca3;
}
[data-season="winter"] {
  --accent: var(--winter);
  --accent-ink: var(--winter-ink);
  --accent-soft: var(--winter-soft);
  --accent-on-dark: #8fd6f5;
}
[data-season="all"] {
  --accent: var(--brand);
  --accent-ink: var(--brand);
  --accent-soft: var(--brand-soft);
  --accent-on-dark: #7cc0ff;
}

/* 03 — Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  hanging-punctuation: first last;
}
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, canvas, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
img { font-style: italic; background-repeat: no-repeat; background-size: cover; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p, h1, h2, h3, h4, h5, h6, li, dt, dd, figcaption, blockquote { overflow-wrap: break-word; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* 04 — Tipografia --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 900;
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  color: inherit;
  text-wrap: balance;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.display { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
h1, .h1 { font-size: var(--step-4); line-height: var(--lh-tight); letter-spacing: -0.03em; font-weight: 700; }
h2, .h2 { font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.025em; }
h3, .h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; }
h4, .h4 { font-size: var(--step-1); line-height: 1.3; font-weight: 650; }
h5, h6 { font-size: var(--step-0); line-height: 1.35; font-weight: 650; letter-spacing: -0.005em; }
@media (max-width: 480px) {
  h1, .h1, .display, h2, .h2 { -webkit-hyphens: auto; hyphens: auto; }
}
p { text-wrap: pretty; }
.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}
.lead strong { color: var(--text); font-weight: 600; }
.small, small { font-size: var(--step--1); }
.muted { color: var(--muted); }
strong, b { font-weight: 600; }
.text-balance { text-wrap: balance; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: none; }

/* 05 — Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.stack > * + * { margin-top: var(--stack-space, 1em); }
.stack--s { --stack-space: 0.6em; }
.stack--l { --stack-space: var(--space-l); }
.stack--xl { --stack-space: var(--space-xl); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, 0.75rem);
}
.cluster--center { justify-content: center; }
.cluster--between { justify-content: space-between; }
.cluster--s { --cluster-gap: 0.5rem; }

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 260px)), 1fr)); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { --cols: 2; }
  .grid--5 { --cols: 3; }
}
@media (min-width: 960px) {
  .grid--3 { --cols: 3; }
  .grid--4 { --cols: 3; }
  .grid--5 { --cols: 5; }
}
@media (min-width: 1180px) {
  .grid--4 { --cols: 4; }
}
.grid--tight { --gap: 0.75rem; }
.grid--loose { --gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.grid--center { justify-items: center; text-align: center; }

/* 06 — Sezioni ------------------------------------------------------------ */
main { display: block; }
.section {
  position: relative;
  padding-block: var(--space-section);
  background: var(--section-bg, transparent);
  color: var(--section-fg, inherit);
}
.section--paper { --section-bg: var(--paper); }
.section--white { --section-bg: var(--white); }
.section--accent { --section-bg: var(--accent-soft); }
.section--sun { --section-bg: var(--sun-soft); }
.section--ink {
  --section-bg: var(--ink);
  --section-fg: var(--on-dark);
  --muted: var(--on-dark-muted);
  --line: rgb(255 255 255 / 0.14);
  --accent-ink: var(--accent-on-dark);
  --focus: 0 0 0 3px var(--ink), 0 0 0 5.5px var(--sun);
}
.section--tight { padding-block: var(--space-2xl); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--rounded {
  margin-inline: clamp(0px, 1.2vw, 16px);
  border-radius: var(--radius-l);
}
.section--overflow { overflow: hidden; }
.section + .section--paper.section--continue,
.section--white + .section--white.section--continue,
.section--paper + .section--paper.section--continue { padding-top: 0; }

/* Intestazione di sezione */
.section-head {
  display: grid;
  gap: var(--space-s);
  max-width: 820px;
  margin-bottom: var(--space-xl);
}
.section-head > * { margin: 0; }
.section-head__title { font-size: var(--step-3); }
.section-head .lead { margin-top: 0.25rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; }
@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    column-gap: var(--space-2xl);
  }
  .section-head--split > .eyebrow { grid-column: 1 / -1; }
  .section-head--split .lead,
  .section-head--split .section-head__aside { grid-column: 2; grid-row: 2; align-self: end; }
  .section-head--split .section-head__title { grid-column: 1; grid-row: 2; }
}
.section-head__aside { display: grid; gap: var(--space-s); justify-items: start; }
.section-foot {
  margin-top: var(--space-xl);
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center;
}
.section-foot--center { justify-content: center; }

/* 07 — Eyebrow, chip, tag, badge ----------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 0.7em; height: 0.7em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0.95em 0 0 -0.12em color-mix(in srgb, var(--accent) 45%, transparent);
  margin-right: 0.5em;
}
.eyebrow--plain::before { display: none; }
.eyebrow--summer { --accent: var(--summer); --accent-ink: var(--summer-ink); }
.eyebrow--winter { --accent: var(--winter); --accent-ink: var(--winter-ink); }
.section--ink .eyebrow--summer { --accent-ink: #7fdca3; }
.section--ink .eyebrow--winter { --accent-ink: #8fd6f5; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text);
  font-size: var(--step--1);
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
a.chip:hover, button.chip:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.chip__count { opacity: 0.6; font-weight: 500; font-variant-numeric: tabular-nums; }
.chip--soft { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.chip--summer { --accent-soft: var(--summer-soft); --accent-ink: var(--summer-ink); }
.chip--winter { --accent-soft: var(--winter-soft); --accent-ink: var(--winter-ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--ink { background: var(--ink); color: var(--white); }
.tag--white { background: rgb(255 255 255 / 0.92); color: var(--ink); }
.tag--summer { background: var(--summer-soft); color: var(--summer-ink); }
.tag--winter { background: var(--winter-soft); color: var(--winter-ink); }

/* 08 — Pulsanti e link ---------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-border: transparent;
  --btn-bg-hover: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary {
  --btn-bg: var(--sun);
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--sun-hover);
  box-shadow: 0 6px 18px -8px rgb(255 183 0 / 0.8);
}
.btn--primary:hover { box-shadow: 0 10px 24px -8px rgb(255 183 0 / 0.9); }
.btn--secondary {
  --btn-bg: var(--brand);
  --btn-fg: var(--white);
  --btn-bg-hover: var(--brand-bright);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: currentColor;
  --btn-bg-hover: var(--text);
}
.btn--ghost:hover { color: var(--white); border-color: var(--text); }
.section--ink .btn--ghost:hover, .on-dark .btn--ghost:hover { color: var(--ink); }
.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--paper-2);
}
.btn--sm { min-height: 40px; padding: 0.5rem 1.05rem; font-size: var(--step--2); }
.btn--lg { min-height: 56px; padding: 0.9rem 1.8rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 48px; }
.btn--icon.btn--sm { width: 40px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn .btn__meta { font-weight: 500; opacity: 0.7; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 650;
  color: var(--accent-ink);
  text-decoration: none;
  line-height: 1.3;
}
.link-arrow::after {
  content: "";
  width: 1.1em; height: 1.1em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--i-arrow-right) center / contain no-repeat;
  mask: var(--i-arrow-right) center / contain no-repeat;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--back::after { display: none; }
.link-arrow--back::before {
  content: "";
  width: 1.1em; height: 1.1em;
  background: currentColor;
  -webkit-mask: var(--i-arrow-left) center / contain no-repeat;
  mask: var(--i-arrow-left) center / contain no-repeat;
}

/* 09 — Icone (maschere CSS con SVG incorporati: funzionano anche da disco) */
:root {
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.8 4.8L19.5 7'/%3E%3C/svg%3E");
  --i-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12h-15M10.5 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
  --i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11.5M7 10.5l5 5 5-5M4.5 20h15'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 3.5h3.4l1.7 4.3-2.2 1.4a11.5 11.5 0 0 0 6.7 6.7l1.4-2.2 4.3 1.7v3.4a1.7 1.7 0 0 1-1.8 1.7A16.7 16.7 0 0 1 3.5 5.3a1.7 1.7 0 0 1 1.7-1.8z'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.8 6.8l8.2 6.2 8.2-6.2'/%3E%3C/svg%3E");
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.2s-6.8-5.7-6.8-11.3a6.8 6.8 0 0 1 13.6 0c0 5.6-6.8 11.3-6.8 11.3z'/%3E%3Ccircle cx='12' cy='9.9' r='2.4'/%3E%3C/svg%3E");
  --i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --i-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 3.5h5v12h12v5h-17z'/%3E%3Cpath d='M3.5 8h2.5M3.5 12h2.5M12 20.5V18M16 20.5V18'/%3E%3C/svg%3E");
  --i-hammer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.5 9.5l-8.4 8.4a1.6 1.6 0 0 0 2.3 2.3l8.4-8.4'/%3E%3Cpath d='M10 7l3.2-3.2c1.6-.6 3.4-.4 4.8.5l-1.7 1.7 3.6 3.6-3.4 3.4-1.8-1.8-1.5 1.5-3.2-3.2 1.5-1.5z'/%3E%3C/svg%3E");
  --i-board: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3.5' width='18' height='12.5' rx='2'/%3E%3Cpath d='M8.5 21l2-5M15.5 21l-2-5M7 8h6M7 11.5h9'/%3E%3C/svg%3E");
  --i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19.5C5 10.5 10 4.5 20 4.5c0 10-5.5 15-14 15z'/%3E%3Cpath d='M4 20.5c3.5-5 7-8 11-10'/%3E%3C/svg%3E");
  --i-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M5.3 18.7l1.6-1.6M17.1 6.9l1.6-1.6'/%3E%3C/svg%3E");
  --i-snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5v19M3.8 7.25l16.4 9.5M3.8 16.75l16.4-9.5M9.5 4l2.5 2 2.5-2M9.5 20l2.5-2 2.5 2M3.6 10.4l3-.6-1-3M20.4 13.6l-3 .6 1 3M5.6 17.2l1-3-3-.6M18.4 6.8l-1 3 3 .6'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 2.8v5.7c0 4.6-3.1 8.4-7.5 9.5-4.4-1.1-7.5-4.9-7.5-9.5V5.8z'/%3E%3Cpath d='M8.7 12.1l2.3 2.3 4.4-4.6'/%3E%3C/svg%3E");
  --i-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4c-1 2.6-6.4 8.3-8.5 9.8l-1.5-1.5C11.6 10.2 17.4 5 20 4z'/%3E%3Cpath d='M10 12.5c-2.6-.2-4.4 1.4-4.5 3.7-.1 1.4-.8 2.5-2 3.1 3.6 1 8.2-.2 8.2-4.5'/%3E%3C/svg%3E");
  --i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.2v13.6c0 .8.9 1.3 1.6.8l10.2-6.8a1 1 0 0 0 0-1.6L9.6 4.4C8.9 3.9 8 4.4 8 5.2z' fill='black'/%3E%3C/svg%3E");
  --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.6'/%3E%3Cpath d='M15.8 15.8l4.7 4.7'/%3E%3C/svg%3E");
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E");
  --i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  --i-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  --i-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v4.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 4 18.5v-11A1.5 1.5 0 0 1 5.5 6H10'/%3E%3C/svg%3E");
  --i-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.5 9h3.2v10.5H4.5zM6.1 3.8a1.85 1.85 0 1 1 0 3.7 1.85 1.85 0 0 1 0-3.7zM9.8 9h3v1.45c.45-.85 1.6-1.75 3.3-1.75 3.5 0 4.1 2.3 4.1 5.2v5.6h-3.2v-5c0-1.2 0-2.75-1.7-2.75s-1.95 1.3-1.95 2.65v5.1H9.8z'/%3E%3C/svg%3E");
  --i-pdf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M8.5 13h7M8.5 16.5h4.5'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.6v.2'/%3E%3C/svg%3E");
  --i-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.6 3.2-5.8 6.5-5.8s5.9 2.2 6.5 5.8M15.5 4.8a3.5 3.5 0 0 1 0 6.4M17.5 14.6c2.2.7 3.6 2.6 4 5.4'/%3E%3C/svg%3E");
  --i-mountain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 19.5l6.5-12 4.5 8 2.5-4 5.5 8z'/%3E%3Cpath d='M7 11.5l2 1.5 1.8-1.5'/%3E%3C/svg%3E");
  --i-expand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 18.5v-5.3C4 9 6.2 6.3 10.2 5.5l.8 1.7C8.6 8 7.5 9.6 7.4 11.6H10.5v6.9zm9.5 0v-5.3c0-4.2 2.2-6.9 6.2-7.7l.8 1.7c-2.4.8-3.5 2.4-3.6 4.4H20v6.9z'/%3E%3C/svg%3E");
  --i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.2l3.3 2'/%3E%3C/svg%3E");
  --i-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5l-5.5 2v13l5.5-2 6 2 5.5-2v-13l-5.5 2z'/%3E%3Cpath d='M9 4.5v13M15 6.5v13'/%3E%3C/svg%3E");
  --i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3C/svg%3E");
  --i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E");
  --i-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.6' fill='black'/%3E%3C/svg%3E");
  --i-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20.5h18M5 20.5V9l7-5 7 5v11.5M9 20.5v-6h6v6M9 10.5h.01M15 10.5h.01'/%3E%3C/svg%3E");
  --i-tree: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-6M12 3c3.6 0 6 2.8 6 6.2 0 3.3-2.6 5.8-6 5.8s-6-2.5-6-5.8C6 5.8 8.4 3 12 3z'/%3E%3Cpath d='M12 15l-2.5-2.5M12 13l2.5-2.5'/%3E%3C/svg%3E");
  --i-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E");
}
.icon {
  --icon: var(--i-arrow-right);
  display: inline-block;
  flex: none;
  width: var(--icon-size, 1.25em);
  height: var(--icon-size, 1.25em);
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  vertical-align: -0.2em;
}
.icon--check { --icon: var(--i-check); }
.icon--arrow-right { --icon: var(--i-arrow-right); }
.icon--arrow-left { --icon: var(--i-arrow-left); }
.icon--arrow-up-right { --icon: var(--i-arrow-up-right); }
.icon--download { --icon: var(--i-download); }
.icon--phone { --icon: var(--i-phone); }
.icon--mail { --icon: var(--i-mail); }
.icon--pin { --icon: var(--i-pin); }
.icon--calendar { --icon: var(--i-calendar); }
.icon--ruler { --icon: var(--i-ruler); }
.icon--hammer { --icon: var(--i-hammer); }
.icon--board { --icon: var(--i-board); }
.icon--leaf { --icon: var(--i-leaf); }
.icon--sun { --icon: var(--i-sun); }
.icon--snow { --icon: var(--i-snow); }
.icon--shield { --icon: var(--i-shield); }
.icon--brush { --icon: var(--i-brush); }
.icon--play { --icon: var(--i-play); }
.icon--search { --icon: var(--i-search); }
.icon--menu { --icon: var(--i-menu); }
.icon--close { --icon: var(--i-close); }
.icon--chevron-down { --icon: var(--i-chevron-down); }
.icon--chevron-right { --icon: var(--i-chevron-right); }
.icon--chevron-left { --icon: var(--i-chevron-left); }
.icon--external { --icon: var(--i-external); }
.icon--linkedin { --icon: var(--i-linkedin); }
.icon--pdf { --icon: var(--i-pdf); }
.icon--info { --icon: var(--i-info); }
.icon--users { --icon: var(--i-users); }
.icon--mountain { --icon: var(--i-mountain); }
.icon--expand { --icon: var(--i-expand); }
.icon--plus { --icon: var(--i-plus); }
.icon--quote { --icon: var(--i-quote); }
.icon--clock { --icon: var(--i-clock); }
.icon--map { --icon: var(--i-map); }
.icon--grid { --icon: var(--i-grid); }
.icon--heart { --icon: var(--i-heart); }
.icon--target { --icon: var(--i-target); }
.icon--building { --icon: var(--i-building); }
.icon--tree { --icon: var(--i-tree); }
.icon--compass { --icon: var(--i-compass); }
.icon--sm { --icon-size: 1em; }
.icon--lg { --icon-size: 1.6em; }
.icon--xl { --icon-size: 2rem; }

/* Bollo icona: icona su disco colorato */
.icon-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--badge-size, 3.25rem);
  height: var(--badge-size, 3.25rem);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.icon-badge .icon { --icon-size: 48%; width: 48%; height: 48%; }
.icon-badge--solid { background: var(--accent); color: var(--white); }
.icon-badge--ink { background: var(--ink); color: var(--white); }
.icon-badge--sun { background: var(--sun); color: var(--ink); }
.icon-badge--sm { --badge-size: 2.5rem; }
.icon-badge--lg { --badge-size: 4rem; }

/* Pittogramma decorativo a pallini */
.dots {
  position: absolute;
  z-index: 0;
  width: var(--dots-size, 220px);
  aspect-ratio: 364 / 362;
  background: var(--dots-color, var(--accent));
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
  opacity: var(--dots-opacity, 1);
  pointer-events: none;
}

/* 10 — Header e navigazione ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(247 246 242 / 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgb(14 27 44 / 0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  height: var(--header-h);
  transition: height var(--dur) var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  color: var(--brand);
  text-decoration: none;
  border-radius: 10px;
}
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform 0.6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.04); }
.brand__word { width: 150px; height: auto; }
.site-header.is-scrolled .brand__mark { width: 36px; height: 36px; }
@media (min-width: 1280px) { .brand__word { width: 170px; } }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: background var(--dur) var(--ease);
}
.icon-btn:hover { background: rgb(14 27 44 / 0.07); }
.icon-btn .icon { --icon-size: 22px; }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

/* Navigazione principale: una sola struttura, desktop = mega menu, mobile = drawer */
.nav__list, .nav__sub, .mega__list { list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-pill);
}
.nav__link .icon { --icon-size: 1em; transition: transform var(--dur) var(--ease); }
.nav__link[aria-expanded="true"] .icon--chevron-down { transform: rotate(180deg); }
.nav__panel-head { display: none; }
.nav__extra { display: none; }

.menu-toggle { display: inline-grid; }

@media (max-width: 1079.98px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav__panel-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 var(--gutter);
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .nav__list { padding: 0.5rem var(--gutter) 1rem; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link {
    width: 100%;
    min-height: 60px;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.015em;
  }
  .nav__item.is-current > .nav__link { color: var(--accent-ink); }
  .mega, .dropdown { padding: 0 0 1.25rem; }
  .mega__col + .mega__col { margin-top: 1.25rem; }
  .mega__head { margin-bottom: 0.35rem; }
  .mega__list a, .dropdown a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
  }
  .nav__sub { padding-left: 1rem; border-left: 2px solid var(--line); margin: 0 0 0.5rem 0.25rem; }
  .nav__sub a { min-height: 44px; color: var(--muted) !important; font-size: var(--step--1); }
  .mega__promo { display: none; }
  .nav__extra {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--paper);
  }
  .nav__extra a:not(.btn) { color: var(--muted); text-decoration: none; display: inline-flex; gap: 0.6rem; align-items: center; min-height: 44px; }
  .nav.is-open ~ .header-actions .menu-toggle { visibility: hidden; }
}

@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .nav { margin-left: clamp(1rem, 3vw, 3rem); }
  .nav__list { display: flex; align-items: center; gap: 0.15rem; }
  .nav__item { position: static; }
  .nav__item--dd { position: relative; }
  .nav__link {
    position: relative;
    min-height: 44px;
    padding: 0.55rem 0.95rem;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: rgb(14 27 44 / 0.06); }
  .nav__item.is-current > .nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--accent);
  }
  .mega, .dropdown {
    position: absolute;
    top: calc(100% + 1px);
    z-index: 120;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-l);
    animation: menu-in 0.22s var(--ease-out);
  }
  .mega {
    left: 50%;
    width: min(1180px, calc(100vw - 2 * var(--gutter)));
    transform: translateX(-50%);
    border-radius: 0 0 var(--radius-l) var(--radius-l);
    border-top: 0;
    display: grid;
    grid-template-columns: 1.55fr 1fr 0.85fr;
    gap: 0;
    overflow: hidden;
  }
  .mega[hidden] { display: none; }
  .mega__col { padding: 1.75rem 1.75rem 2rem; }
  .mega__col--summer { background: linear-gradient(180deg, var(--summer-soft), var(--white) 55%); }
  .mega__col--winter { background: linear-gradient(180deg, var(--winter-soft), var(--white) 55%); border-left: 1px solid var(--line); }
  .mega__col--summer .mega__list { columns: 2; column-gap: 1.5rem; }
  .mega__list > li { break-inside: avoid; }
  .mega__head { margin-bottom: 0.9rem; }
  .mega__list a {
    display: block;
    padding: 0.38rem 0;
    color: var(--ink);
    font-weight: 600;
    font-size: var(--step--1);
    text-decoration: none;
    line-height: 1.35;
  }
  .mega__list a:hover { color: var(--brand-bright); text-decoration: underline; }
  .nav__sub { margin: 0 0 0.45rem; padding: 0 0 0 0.75rem; border-left: 2px solid var(--line); }
  .nav__sub a { padding: 0.2rem 0 !important; font-weight: 450 !important; color: var(--muted) !important; }
  .nav__sub a:hover { color: var(--brand-bright) !important; }
  .mega__promo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.75rem;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
  }
  .mega__promo .dots { --dots-size: 240px; --dots-color: var(--brand-bright); --dots-opacity: 0.55; top: -50px; right: -60px; }
  .mega__promo > * { position: relative; }
  .mega__promo p { color: var(--on-dark-muted); font-size: var(--step--1); line-height: 1.5; }
  .mega__promo-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; }
  .dropdown {
    left: 0;
    min-width: 290px;
    padding: 0.6rem;
    border-radius: var(--radius);
    margin-top: 6px;
  }
  .dropdown[hidden] { display: none; }
  .dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-s);
    color: var(--ink);
    font-size: var(--step--1);
    font-weight: 550;
    text-decoration: none;
  }
  .dropdown a:hover { background: var(--paper); color: var(--brand); }
  .dropdown__all { border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.4rem; }
  .dropdown__all a { color: var(--brand); font-weight: 650; }
}
@keyframes menu-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgb(14 27 44 / 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.nav-backdrop.is-visible { opacity: 1; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* Breadcrumb */
.breadcrumbs { font-size: var(--step--1); color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before {
  content: "";
  width: 0.85em; height: 0.85em;
  background: currentColor;
  opacity: 0.5;
  -webkit-mask: var(--i-chevron-right) center / contain no-repeat;
  mask: var(--i-chevron-right) center / contain no-repeat;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 550; }
.breadcrumbs-bar { padding-top: var(--space-m); }

/* 11 — Footer ------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: var(--step--1);
  --focus: 0 0 0 3px var(--ink), 0 0 0 5.5px var(--sun);
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.site-footer .dots { --dots-size: 520px; --dots-color: var(--brand); --dots-opacity: 0.35; right: -150px; top: -120px; }
.footer-top {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  padding-block: var(--space-2xl) var(--space-xl);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1fr auto; align-items: end; }
}
.footer-top__title {
  max-width: 18ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.footer-top__title em { font-style: normal; color: var(--sun); }
.footer-main {
  position: relative;
  display: grid;
  gap: var(--space-xl) var(--space-l);
  padding-block: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-main { grid-template-columns: 1.35fr 0.9fr 1fr 1.15fr; } }
.footer-logo { width: 150px; height: auto; margin-bottom: 1.25rem; }
.footer-col__title {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.footer-list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-muted); }
.footer-list a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 0.6rem; font-style: normal; line-height: 1.5; }
.footer-contact__row { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact__row .icon { margin-top: 0.15em; color: var(--accent-on-dark); }
.footer-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--step--2);
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.footer-legal a { color: var(--on-dark-muted); display: inline-flex; min-height: 32px; align-items: center; }
.footer-news p { margin-bottom: 1rem; line-height: 1.55; }
.site-footer .footer-news .btn--light { color: var(--btn-fg); }

/* 12 — Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--space-section);
  overflow: hidden;
  isolation: isolate;
}
.hero--paper { background: var(--paper); }
.hero--white { background: var(--white); }
.hero__inner { position: relative; display: grid; gap: var(--space-xl); align-items: center; }
.hero__body { display: grid; gap: 1.25rem; justify-items: start; max-width: 680px; }
.hero__body > * { margin: 0; }
.hero__title { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.035em; }
.hero__title--m { font-size: var(--step-4); line-height: 1.06; }
.hero__lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero .breadcrumbs { margin-bottom: 0.25rem; }

/* Hero split: testo + immagine incorniciata (max ~680px) */
@media (min-width: 960px) {
  .hero--split .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 5vw, 5rem); }
}
.hero__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 640px;
}
.hero__media .dots { --dots-size: clamp(120px, 18vw, 200px); top: -28px; right: -24px; z-index: 2; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 12% -6% -6% 12%;
  z-index: -1;
  border-radius: var(--radius-l);
  background: var(--accent-soft);
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--1x1 { aspect-ratio: 1; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--contain img { object-fit: contain; background: var(--white); }
.frame--flat { box-shadow: none; }
.frame figcaption, .frame__caption {
  position: absolute;
  left: 0.75rem; bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  font-size: var(--step--2);
  font-weight: 550;
  line-height: 1.35;
}
.hero__badge {
  position: absolute;
  left: -14px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 270px;
  padding: 0.8rem 1.1rem 0.8rem 0.8rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-l);
  font-size: var(--step--1);
  line-height: 1.35;
  font-weight: 550;
}
@media (max-width: 600px) { .hero__badge { left: 10px; bottom: 10px; max-width: 220px; font-size: var(--step--2); } }

/* Hero mosaico: 3-4 foto */
.mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(70px, 9vw, 112px);
  gap: clamp(0.5rem, 1vw, 0.9rem);
  width: 100%;
  max-width: 680px;
  justify-self: center;
}
.mosaic > :not(.dots) { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow-s); margin: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic > :nth-child(1 of :not(.dots)) { grid-column: 1 / 5; grid-row: 1 / 4; border-radius: var(--radius-l); }
.mosaic > :nth-child(2 of :not(.dots)) { grid-column: 5 / 7; grid-row: 1 / 3; }
.mosaic > :nth-child(3 of :not(.dots)) { grid-column: 5 / 7; grid-row: 3 / 5; }
.mosaic > :nth-child(4 of :not(.dots)) { grid-column: 2 / 5; grid-row: 4 / 6; }
.mosaic:not(:has(> :nth-child(4 of :not(.dots)))) > :nth-child(1 of :not(.dots)) { grid-row: 1 / 5; }
.mosaic .dots { --dots-size: 150px; left: -30px; bottom: -20px; z-index: -1; }
@media (min-width: 960px) {
  .hero--mosaic .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
}

/* Hero compatto (pagine legali, normative, utility) */
.hero--compact { padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem) clamp(2rem, 1.5rem + 2.5vw, 3.5rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.hero--compact .hero__title { font-size: var(--step-4); line-height: 1.06; max-width: 22ch; }
.hero--compact .hero__body { max-width: 860px; }
.hero--compact .dots { --dots-size: clamp(160px, 22vw, 300px); --dots-opacity: 0.12; right: max(-60px, -4vw); top: 50%; translate: 0 -50%; }
.hero--compact.hero--center .hero__body { margin-inline: auto; justify-items: center; text-align: center; }

/* Hero "due stagioni" (home) */
.hero--seasons { padding-top: clamp(2rem, 1.5rem + 3vw, 4.5rem); padding-bottom: var(--space-2xl); }
.hero--seasons .hero__head { display: grid; gap: 1.25rem; justify-items: start; max-width: 1040px; margin-bottom: var(--space-xl); }
.hero--seasons .hero__title { font-size: clamp(2.2rem, 1.45rem + 3.4vw, 4.6rem); line-height: 1.03; }
.seasons { display: grid; gap: var(--gap); }
@media (min-width: 860px) { .seasons { grid-template-columns: 1fr 1fr; } }
.season-card {
  --accent: var(--summer);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(340px, 30vw + 160px, 560px);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border-radius: var(--radius-l);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.season-card--winter { --accent: var(--winter); }
.season-card__media { position: absolute; inset: 0; z-index: -2; }
.season-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.season-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(14 27 44 / 0) 30%, rgb(14 27 44 / 0.78) 100%), linear-gradient(0deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
.season-card:hover .season-card__media img { transform: scale(1.04); }
.season-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.94);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.season-card__label .icon-badge { --badge-size: 2rem; background: var(--accent); color: var(--white); }
.season-card__title { font-family: var(--font-display); font-size: var(--step-3); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.season-card__text { max-width: 44ch; margin-top: 0.5rem; color: rgb(255 255 255 / 0.88); font-size: var(--step--1); }
.season-card__go {
  display: inline-grid;
  place-items: center;
  position: absolute;
  right: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  bottom: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.season-card:hover .season-card__go { transform: rotate(-45deg); }
.season-card__body { padding-right: 70px; }

/* Statement (citazione-manifesto dopo l'hero) */
.statement { display: grid; gap: var(--space-l); }
.statement__text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 34ch;
  text-wrap: pretty;
}
.statement__text strong { font-weight: inherit; }
.statement__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 960px) {
  .statement { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--space-2xl); }
  .statement__text { max-width: 30ch; font-size: var(--step-3); line-height: 1.18; }
  .statement__mark { grid-row: span 2; }
}
.statement__mark { width: clamp(64px, 8vw, 104px); aspect-ratio: 364/362; background: var(--accent); -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; }

/* 13 — Prose (testo lungo) ------------------------------------------------ */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose > :is(h2, h3, h4, h5, h6) { margin-top: 1.9em; }
.prose > :is(h2, h3, h4, h5, h6) + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--step-3); }
.prose h3 { font-size: var(--step-2); }
.prose h4 { font-size: var(--step-1); }
.prose h5, .prose h6 { font-size: var(--step-0); }
.prose a:not(.btn):not(.link-arrow):not(.chip) {
  color: var(--accent-ink);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-decoration-thickness: 1.5px;
}
.prose a:not(.btn):not(.link-arrow):not(.chip):hover { text-decoration-color: currentColor; }
.prose a strong { font-weight: inherit; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose ul > li::marker { color: var(--accent); }
.prose ol > li::marker { color: var(--accent-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.prose blockquote {
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: var(--step-1);
  line-height: 1.5;
}
.prose figure img, .prose > img { border-radius: var(--radius); }
.prose figcaption { margin-top: 0.6rem; color: var(--muted); font-size: var(--step--1); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose em { font-style: italic; }
.prose code { font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 6px; background: var(--paper-2); }
.prose .table-wrap { margin-block: 1.5em; }
.prose--wide { max-width: none; }
.prose--center { margin-inline: auto; }
.prose--lg { font-size: var(--step-1); line-height: 1.6; }
.section--ink .prose a:not(.btn):not(.link-arrow) { color: var(--accent-on-dark); }

/* 14 — Split, feature, tile, stat, steps ---------------------------------- */
.split { display: grid; gap: var(--space-xl); align-items: center; }
.split__body { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.split__body > * { margin: 0; }
.split__body .prose { max-width: 62ch; }
.split__media { position: relative; min-width: 0; width: 100%; max-width: 640px; justify-self: center; }
.split__media .dots { --dots-size: 140px; z-index: 2; }
.split__media .dots--tl { top: -26px; left: -26px; }
.split__media .dots--br { bottom: -26px; right: -26px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .split--reverse > .split__media { order: -1; }
  .split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .split--wide-media { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .split--top { align-items: start; }
  .split--sticky > .split__media { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

/* Feature: card con icona */
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section--white .feature { background: var(--paper); border-color: transparent; }
.section--ink .feature { background: var(--ink-2); border-color: rgb(255 255 255 / 0.08); }
.feature > * { margin: 0; }
.feature__title { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.015em; }
.feature__text { color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
.feature__link { margin-top: auto; padding-top: 0.25rem; }
a.feature { text-decoration: none; color: inherit; }
a.feature:hover, .feature--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature--center { align-items: center; text-align: center; }
.feature--plain { padding: 0; background: none !important; border: 0 !important; }
.feature--row { flex-direction: row; align-items: flex-start; gap: 1rem; }
.feature--row > div { display: grid; gap: 0.35rem; }

/* Tile: card con immagine di sfondo e titolo sovrapposto */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: var(--tile-h, 360px);
  padding: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  border-radius: var(--radius-l);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-decoration: none;
  background: var(--ink);
}
.tile__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(14 27 44 / 0.05) 0%, rgb(14 27 44 / 0.25) 40%, rgb(14 27 44 / 0.88) 100%);
  transition: background var(--dur) var(--ease);
}
.tile:hover .tile__media img, .tile:focus-within .tile__media img { transform: scale(1.05); }
.tile__kicker {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--sun);
  color: var(--ink);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tile__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile__text { margin-top: 0.5rem; color: rgb(255 255 255 / 0.86); font-size: var(--step--1); line-height: 1.55; max-width: 40ch; }
.tile__arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.tile:hover .tile__arrow { background: var(--sun); transform: rotate(-45deg); }
.tile--short { --tile-h: 280px; }
.tile--tall { --tile-h: 440px; }
.tile--square { min-height: 0; aspect-ratio: 1; }

/* Statistiche */
.stats { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { display: grid; gap: 0.35rem; padding-top: 1.1rem; border-top: 2px solid var(--accent); }
.stat__value { font-family: var(--font-display); font-size: var(--step-4); font-weight: 900; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: 0.5em; letter-spacing: -0.01em; }
.stat__label { color: var(--muted); font-size: var(--step--1); line-height: 1.45; max-width: 28ch; }

/* Steps / metodo / timeline */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); counter-reset: step; }
@media (min-width: 760px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: step;
}
.section--white .step { background: var(--paper); border-color: transparent; }
.step > * { margin: 0; }
.step__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 900;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
}
.step__num::before { content: counter(step, decimal-leading-zero); font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
.step__title { font-size: var(--step-1); }
.step__text { color: var(--muted); font-size: var(--step--1); }
.step__media { margin: -0.25rem -0.25rem 0.25rem; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4/3; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step .link-arrow { margin-top: auto; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: var(--space-l); counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 1.2rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-left: 3.6rem; counter-increment: tl; display: grid; gap: 0.4rem; }
.timeline__item > * { margin: 0; }
.timeline__item::before {
  content: counter(tl);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
}
.timeline__item[data-label]::before { content: attr(data-label); font-size: 0.7rem; }
.timeline__title { font-size: var(--step-1); }
.timeline__text { color: var(--muted); }

/* Method strip (Consulenza → Progettazione → Installazione) */
.method { display: grid; gap: var(--gap); list-style: none; padding: 0; margin: 0; counter-reset: method; }
@media (min-width: 760px) { .method { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.method__item {
  position: relative;
  counter-increment: method;
}
.method__link {
  position: relative;
  display: grid;
  gap: 0.6rem;
  height: 100%;
  padding: 1.6rem 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.section--white .method__link { background: var(--paper); border-color: transparent; }
.section--ink .method__link { background: var(--ink-2); border-color: rgb(255 255 255 / 0.08); }
.method__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.method__top { display: flex; align-items: center; justify-content: space-between; }
.method__n { font-family: var(--font-display); font-weight: 900; font-size: var(--step--1); color: var(--muted); letter-spacing: 0.08em; }
.method__n::before { content: "0" counter(method) " / 03"; }
.method__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.method__text { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.method__link .link-arrow { margin-top: 0.4rem; }
@media (min-width: 760px) {
  .method__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%; right: calc(var(--gap) / -2 - 14px);
    z-index: 2;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 0 4px var(--paper);
    translate: 0 -50%;
  }
  .method__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%; right: calc(var(--gap) / -2 - 8px);
    z-index: 3;
    width: 16px; height: 16px;
    background: var(--ink);
    -webkit-mask: var(--i-chevron-right) center / contain no-repeat;
    mask: var(--i-chevron-right) center / contain no-repeat;
    translate: 0 -50%;
  }
  .section--white .method__item:not(:last-child)::after { box-shadow: 0 0 0 4px var(--white); }
  .section--ink .method__item:not(:last-child)::after { box-shadow: 0 0 0 4px var(--ink); }
}

/* Checklist con spunte */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 2.1rem; line-height: 1.5; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.45rem; height: 1.45rem;
  border-radius: 50%;
  background: var(--accent-soft);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.3rem; top: calc(0.05em + 0.3rem);
  width: 0.85rem; height: 0.85rem;
  background: var(--accent-ink);
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}
.section--ink .checklist li::before { background: rgb(255 255 255 / 0.1); }
.checklist--2 { gap: 0.7rem 2rem; }
@media (min-width: 720px) { .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist--cards li { padding: 1rem 1.1rem 1rem 3.2rem; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); }
.checklist--cards li::before { left: 1rem; top: 1rem; }
.checklist--cards li::after { left: 1.3rem; top: 1.3rem; }
.section--white .checklist--cards li { background: var(--paper); border-color: transparent; }

/* Lista di elementi con titolo in grassetto (es. "Scivoli – Ideali per…") */
.deflist { display: grid; gap: 0; margin: 0; }
.deflist > div { display: grid; gap: 0.25rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.deflist > div:last-child { border-bottom: 1px solid var(--line); }
.deflist dt { font-weight: 650; }
.deflist dd { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .deflist > div { grid-template-columns: minmax(180px, 0.4fr) 1fr; gap: 1.5rem; } }

/* 15 — Galleria e lightbox ----------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(0.5rem, 0.4rem + 0.5vw, 0.9rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) { .gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery__item {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), filter var(--dur) var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute;
  right: 0.6rem; bottom: 0.6rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery__item::before {
  content: "";
  position: absolute;
  right: calc(0.6rem + 9px); bottom: calc(0.6rem + 9px);
  z-index: 1;
  width: 18px; height: 18px;
  background: var(--ink);
  -webkit-mask: var(--i-expand) center / contain no-repeat;
  mask: var(--i-expand) center / contain no-repeat;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
.gallery__item:hover::before, .gallery__item:focus-visible::before { opacity: 1; }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem 0.85rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgb(14 27 44 / 0.75));
  color: var(--white);
  font-size: var(--step--2);
  font-weight: 550;
  line-height: 1.35;
}
.gallery--square .gallery__item { aspect-ratio: 1; }
.gallery--contain .gallery__item img { object-fit: contain; background: var(--white); }
/* Mosaico: prima immagine grande */
@media (min-width: 720px) {
  .gallery--mosaic { grid-auto-flow: dense; }
  .gallery--mosaic .gallery__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
  .gallery--mosaic .gallery__item:nth-child(6n + 1) { aspect-ratio: auto; }
}
.gallery__more { margin-top: var(--space-m); display: flex; justify-content: center; }
.gallery [data-overflow] { display: none; }
.gallery.is-expanded [data-overflow] { display: block; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgb(9 17 28 / 0.96);
  color: var(--white);
  --focus: 0 0 0 3px rgb(9 17 28), 0 0 0 5.5px var(--sun);
  animation: fade-in 0.2s var(--ease);
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem clamp(0.75rem, 2vw, 1.5rem); }
.lightbox__count { font-variant-numeric: tabular-nums; font-size: var(--step--1); color: var(--on-dark-muted); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(0.5rem, 5vw, 5rem); touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-xs); box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); user-select: none; animation: fade-in 0.25s var(--ease); }
.lightbox__caption { padding: 0.9rem clamp(1rem, 4vw, 3rem) 1.4rem; text-align: center; color: var(--on-dark-muted); font-size: var(--step--1); min-height: 3.5rem; max-width: 80ch; margin-inline: auto; }
.lightbox__btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
  transition: background var(--dur) var(--ease);
}
.lightbox__btn:hover { background: rgb(255 255 255 / 0.2); }
.lightbox__btn .icon { --icon-size: 22px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.lightbox__nav--prev { left: clamp(0.4rem, 1.5vw, 1.25rem); }
.lightbox__nav--next { right: clamp(0.4rem, 1.5vw, 1.25rem); }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: -3.75rem; translate: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 16 — Carosello ---------------------------------------------------------- */
.carousel { position: relative; --slide-w: min(82%, 380px); }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide-w);
  gap: var(--gap);
  margin: 0;
  padding: 0.25rem 0 1.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.carousel__track > * { scroll-snap-align: start; min-width: 0; }
.carousel--wide { --slide-w: min(88%, 560px); }
.carousel--narrow { --slide-w: min(70%, 280px); }
.carousel__controls { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.25rem; }
.carousel__btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.carousel__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.carousel__btn[disabled] { opacity: 0.35; pointer-events: none; }
.carousel__btn .icon { --icon-size: 20px; }
.section-head + .carousel .carousel__controls { margin-top: -0.25rem; }
/* Bleed: il carosello esce dal container a destra */
.carousel--bleed .carousel__track { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }

/* 17 — Card --------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.section--white .card { border-color: var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:focus-within { box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); margin: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--accent-soft);
}
.card__placeholder::after { content: ""; width: 34%; aspect-ratio: 364/362; background: var(--accent); opacity: 0.35; -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; }
.card__badges { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.card__body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.card__body > * { margin: 0; }
.card__eyebrow { font-size: var(--step--2); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.card__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 900; line-height: 1.22; letter-spacing: -0.015em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__title a:focus-visible { box-shadow: none; }
.card:has(.card__title a:focus-visible) { box-shadow: var(--focus); }
.card__text { color: var(--muted); font-size: var(--step--1); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; margin-top: auto; padding-top: 0.5rem; color: var(--muted); font-size: var(--step--2); }
.card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.card__meta .icon { --icon-size: 1.1em; }
.card__go {
  position: absolute;
  right: 1rem; bottom: 1rem;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover .card__go { background: var(--sun); transform: rotate(-45deg); }
.card__go .icon { --icon-size: 18px; }
.card--project .card__body { padding-right: 3.75rem; }
.card--project .card__media { aspect-ratio: 4 / 3; }

/* Card pagina */
.card--page .card__media { aspect-ratio: 3 / 2; }

/* Card prodotto */
.card--product { border-radius: var(--radius-s); }
.card--product .card__media { aspect-ratio: 1; background: var(--white); border-bottom: 1px solid var(--line); }
.card--product .card__media img { object-fit: contain; padding: 6%; }
.card--product:hover .card__media img { transform: scale(1.05); }
.card--product .card__body { padding: 0.9rem 1rem 1.05rem; gap: 0.3rem; }
.card--product .card__title { font-size: var(--step-0); font-weight: 650; line-height: 1.25; }
.card__code { font-size: var(--step--2); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.card--product .card__meta { padding-top: 0.35rem; }

/* Card catalogo (copertina quadrata) */
.card--catalog { background: transparent; border: 0; overflow: visible; }
.card--catalog:hover { box-shadow: none; transform: none; }
.card--catalog .card__media {
  aspect-ratio: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card--catalog:hover .card__media { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-l); }
.card--catalog:hover .card__media img { transform: none; }
.card--catalog .card__body { padding: 1.1rem 0.15rem 0; }
.card--catalog .card__text { -webkit-line-clamp: 4; }

/* Card orizzontale (rassegna stampa, download) */
.card--row { flex-direction: row; align-items: stretch; }
.card--row .card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 160px; }

/* Card stampa/press: logo testata + titolo */
.card--press .card__media { aspect-ratio: 822 / 538; }
.card--press .card__eyebrow { color: var(--muted); }

/* 18 — Componenti di contenuto ------------------------------------------- */
/* Team */
.team { display: grid; gap: var(--space-l) var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.person { display: grid; justify-items: center; gap: 0.35rem; text-align: center; }
.person > * { margin: 0; }
.person__photo {
  width: min(100%, 180px);
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 900; letter-spacing: -0.015em; }
.person__role { color: var(--muted); font-size: var(--step--1); }
.person__link { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 0.25rem; border-radius: 50%; color: var(--brand); background: var(--brand-soft); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.person__link:hover { background: var(--brand); color: var(--white); }

/* Citazione / testimonianza */
.quote {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
}
.quote::before {
  content: "";
  width: 2.5rem; height: 2.5rem;
  background: var(--accent);
  -webkit-mask: var(--i-quote) center / contain no-repeat;
  mask: var(--i-quote) center / contain no-repeat;
}
.quote__text { font-family: var(--font-display); font-size: var(--step-2); font-weight: 900; line-height: 1.3; letter-spacing: -0.015em; }
.quote__text em { font-style: normal; }
.quote__text p + p { margin-top: 0.75em; }
.quote__author { display: flex; align-items: center; gap: 0.85rem; font-size: var(--step--1); font-style: normal; color: var(--muted); }
.quote__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote__author strong { display: block; color: var(--text); font-size: var(--step-0); }
.quote--plain { background: none; border: 0; padding: 0; }
.quote--accent { background: var(--accent-soft); border-color: transparent; }

/* Logo wall */
.logo-wall { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); list-style: none; padding: 0; margin: 0; }
.logo-wall__item {
  display: grid; place-items: center;
  aspect-ratio: 3 / 2;
  padding: 1.25rem;
  border-radius: var(--radius-s);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.logo-wall__item:hover { border-color: transparent; box-shadow: var(--shadow); }
.logo-wall__item img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.logo-wall__item:hover img { filter: none; opacity: 1; }
.logo-wall--color .logo-wall__item img { filter: none; opacity: 1; }

/* Tabella responsive */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { box-shadow: var(--focus); }
.table { width: 100%; min-width: 560px; font-size: var(--step--1); line-height: 1.5; }
.table th, .table td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th {
  position: sticky; top: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper) 70%, white); }
.table tbody th { font-weight: 600; }
.table caption { caption-side: top; text-align: left; padding: 1rem 1.1rem 0.5rem; color: var(--muted); font-size: var(--step--1); }
.table-note { margin-top: 0.6rem; color: var(--muted); font-size: var(--step--2); }
@media (max-width: 640px) {
  .table--stack { min-width: 0; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .table--stack td { display: grid; grid-template-columns: 9rem 1fr; gap: 0.75rem; padding: 0.35rem 1rem; border: 0; }
  .table--stack td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.05em; }
}

/* Accordion / FAQ */
.accordion { display: grid; gap: 0.75rem; }
.accordion__item {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section--white .accordion__item { background: var(--paper); border-color: transparent; }
.accordion__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion__item > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 4.25rem 1rem 1.4rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  list-style: none;
  border-radius: var(--radius);
}
.accordion__item > summary::after {
  content: "";
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 36px; height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.accordion__item > summary::before {
  content: "";
  position: absolute;
  right: calc(1.1rem + 9px); top: 50%;
  z-index: 1;
  width: 18px; height: 18px;
  margin-top: -9px;
  background: var(--accent-ink);
  -webkit-mask: var(--i-plus) center / contain no-repeat;
  mask: var(--i-plus) center / contain no-repeat;
  transition: transform var(--dur) var(--ease);
}
.accordion__item[open] > summary::before { transform: rotate(45deg); }
.accordion__item > summary :is(h2, h3, h4) { font: inherit; letter-spacing: inherit; margin: 0; }
.accordion__body { padding: 0 1.4rem 1.5rem; }
.accordion__body > * + * { margin-top: 0.9em; }
.accordion__body ul { padding-left: 1.3em; }
.accordion__body li + li { margin-top: 0.35em; }
.accordion__body li::marker { color: var(--accent); }

/* Tabs */
.tabs__list {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: var(--space-l);
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  width: max-content;
  max-width: 100%;
}
.tabs__tab {
  flex: none;
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs__panel:focus-visible { border-radius: var(--radius); }

/* Callout / nota */
.callout {
  --callout-c: var(--brand);
  --callout-bg: var(--brand-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--callout-bg);
  border-left: 4px solid var(--callout-c);
}
.callout::before {
  content: "";
  width: 1.6rem; height: 1.6rem;
  background: var(--callout-c);
  -webkit-mask: var(--i-info) center / contain no-repeat;
  mask: var(--i-info) center / contain no-repeat;
}
.callout > * { grid-column: 2; margin: 0; }
.callout > :first-child { grid-row: 1; }
.callout > * + * { margin-top: 0.4rem; }
.callout__title { font-weight: 900; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; }
.callout--norm { --callout-c: var(--ink); --callout-bg: var(--paper-2); }
.callout--norm::before { -webkit-mask-image: var(--i-shield); mask-image: var(--i-shield); }
.callout--accent { --callout-c: var(--accent-ink); --callout-bg: var(--accent-soft); }
.callout--sun { --callout-c: #8a5a00; --callout-bg: var(--sun-soft); }
.callout a { color: inherit; font-weight: 600; }

/* Scheda "in breve" (progetti) */
.facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.facts__title { padding: 1rem 0 0.5rem; font-size: var(--step--2); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts__row { position: relative; padding-block: 0.95rem; border-top: 1px solid var(--line); }
.facts__row:has(.icon-badge) { padding-left: 3.3rem; min-height: 4.3rem; }
.facts__row .icon-badge { position: absolute; left: 0; top: 0.95rem; }
.facts__row:first-of-type { border-top: 0; }
.facts__title + .facts__row { border-top: 0; }
.facts__row .icon-badge { --badge-size: 2.4rem; }
.facts dt { font-size: var(--step--2); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; font-weight: 550; line-height: 1.45; }
.facts dd ul { padding-left: 1.1em; margin: 0; font-weight: 450; }
.facts__cta { padding: 0.5rem 0 1.1rem; }
@media (min-width: 960px) { .facts--sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Video click-to-load */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}
.video__poster { position: absolute; inset: 0; z-index: -1; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.video:not(:has(.video__poster))::before {
  content: "";
  position: absolute;
  right: -6%; top: -18%;
  z-index: -1;
  width: 55%;
  aspect-ratio: 364/362;
  background: var(--brand);
  opacity: 0.55;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: clamp(1rem, 0.75rem + 2vw, 2rem);
  text-align: left;
  color: var(--white);
  background: linear-gradient(180deg, transparent 35%, rgb(14 27 44 / 0.7));
}
.video__icon {
  display: grid; place-items: center;
  width: clamp(56px, 6vw, 76px); height: clamp(56px, 6vw, 76px);
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5);
  transition: transform var(--dur) var(--ease);
}
.video__icon .icon { --icon-size: 40%; width: 40%; height: 40%; margin-left: 8%; }
.video__play:hover .video__icon { transform: scale(1.08); }
.video__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 900; line-height: 1.2; max-width: 32ch; }
.video__note { font-size: var(--step--2); color: rgb(255 255 255 / 0.78); max-width: 52ch; line-height: 1.45; }
.video iframe, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--vertical { aspect-ratio: 9 / 16; max-width: 420px; }

/* Mappa click-to-load */
.map {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgb(14 27 44 / 0.14) 1.3px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--brand-soft), var(--summer-soft));
}
.map__placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
}
.map__placeholder .icon-badge { --badge-size: 4rem; background: var(--white); color: var(--brand); box-shadow: var(--shadow); }
.map__placeholder p { max-width: 46ch; color: var(--muted); font-size: var(--step--1); }
.map__address { font-family: var(--font-display); font-size: var(--step-1); font-weight: 900; color: var(--ink) !important; }

/* Slider prima/dopo */
.compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 3px; margin-left: -1.5px;
  background: var(--white);
  pointer-events: none;
}
.compare__handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--white) center / 26px no-repeat;
  box-shadow: var(--shadow);
}
.compare__handle::before {
  content: "";
  position: absolute; top: 50%; left: 50%; z-index: 1;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare:has(.compare__range:focus-visible) { box-shadow: var(--focus); }
.compare__label { position: absolute; top: 1rem; z-index: 1; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: rgb(14 27 44 / 0.75); color: var(--white); font-size: var(--step--2); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.compare__label--before { left: 1rem; }
.compare__label--after { right: 1rem; }

/* Download list */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.download {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-s);
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.section--white .download { background: var(--paper); border-color: transparent; }
.download:hover { border-color: transparent; box-shadow: var(--shadow); }
.download__icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-xs); background: #fdecea; color: var(--danger); }
.download__body { display: grid; gap: 0.1rem; min-width: 0; flex: 1; }
.download__title { font-weight: 600; line-height: 1.35; }
.download__meta { color: var(--muted); font-size: var(--step--2); }
.download__action { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); transition: background var(--dur) var(--ease); }
.download:hover .download__action { background: var(--sun); }

/* Contact list (icona + testo) */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; align-items: center; gap: 0.9rem; }
.contact-list .icon-badge { --badge-size: 2.75rem; }
.contact-list a { color: inherit; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); font-weight: 500; font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; }

/* Panel: riquadro bianco generico */
.panel {
  position: relative;
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
}
.section--white .panel { background: var(--paper); border-color: transparent; }
.panel--ink { background: var(--ink); color: var(--white); border: 0; --muted: var(--on-dark-muted); }
.panel--accent { background: var(--accent-soft); border: 0; }
.panel--shadow { border: 0; box-shadow: var(--shadow-l); }

/* Fascia CTA */
.cta-band {
  position: relative;
  display: grid;
  gap: var(--space-l);
  align-items: center;
  padding: clamp(2rem, 1.25rem + 4vw, 4.5rem);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  --muted: var(--on-dark-muted);
  --focus: 0 0 0 3px var(--ink), 0 0 0 5.5px var(--sun);
}
.cta-band .dots { --dots-size: clamp(220px, 30vw, 420px); --dots-color: var(--accent); --dots-opacity: 0.9; right: -60px; bottom: -110px; z-index: -1; }
[data-season="all"] .cta-band .dots, .cta-band .dots { --dots-color: color-mix(in srgb, var(--accent) 80%, white); }
.cta-band__title { font-size: var(--step-3); line-height: 1.08; color: var(--white); max-width: 22ch; }
.cta-band__text { color: var(--on-dark-muted); max-width: 52ch; margin-top: 0.75rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band__contacts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.25rem; font-size: var(--step--1); }
.cta-band__contacts a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--white); text-decoration: none; min-height: 36px; }
.cta-band__contacts a:hover { color: var(--sun); text-decoration: underline; }
.cta-band__contacts .icon { color: var(--sun); }
@media (min-width: 960px) {
  .cta-band { grid-template-columns: 1fr auto; padding-right: clamp(14rem, 22vw, 20rem); }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
}
.cta-band--light { background: var(--accent-soft); color: var(--ink); --muted: #4a5565; }
.cta-band--light .cta-band__title { color: var(--ink); }
.cta-band--light .cta-band__text { color: var(--muted); }
.cta-band--light .cta-band__contacts a { color: var(--ink); }
.cta-band--light .cta-band__contacts .icon { color: var(--accent-ink); }
.cta-band--light .dots { --dots-color: var(--accent); --dots-opacity: 0.35; }

/* Newsletter band */
.newsletter {
  display: grid;
  gap: var(--space-xl);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.newsletter__intro { display: grid; gap: 1rem; align-content: start; }
.newsletter__intro > * { margin: 0; }
.newsletter__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 0.5rem; }
.newsletter__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .newsletter { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); } }

/* Sub-navigazione di famiglia (es. In legno / In metallo / …) */
.subnav { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.subnav a { flex: none; }

/* Pagina 404 */
.error-page { display: grid; gap: var(--space-xl); align-items: center; min-height: 60vh; }
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 14vw, 14rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--brand);
}
.error-page__code span { display: inline-block; width: 0.78em; aspect-ratio: 364/362; vertical-align: -0.04em; background: var(--sun); -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; animation: spin-slow 30s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (min-width: 960px) { .error-page { grid-template-columns: auto 1fr; gap: clamp(3rem, 6vw, 6rem); } }

/* Scheda prodotto */
.product { display: grid; gap: var(--space-xl); }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.product__gallery { display: grid; gap: 0.75rem; min-width: 0; }
@media (min-width: 960px) { .product__gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.product__main {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.product__main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.product__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.product__thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--line);
  cursor: zoom-in;
  transition: border-color var(--dur) var(--ease);
}
.product__thumb:hover { border-color: var(--accent); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__info { display: grid; gap: 1.25rem; justify-items: start; min-width: 0; }
.product__info > * { margin: 0; }
.product__title { font-size: var(--step-4); line-height: 1.04; }
.product__code { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.product__code b { color: var(--text); font-weight: 650; letter-spacing: 0.03em; }
.product__specs { width: 100%; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.product__specs .prose { max-width: none; font-size: var(--step--1); }
.product__specs .prose h2 { font-size: var(--step-2); }
.product__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* 19 — Moduli ------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field__label, .field legend { font-size: var(--step--1); font-weight: 600; color: var(--text); padding: 0; }
.field__req { color: var(--danger); margin-left: 0.15em; }
.field__hint { font-size: var(--step--2); color: var(--muted); }
.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 150px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8a93a0; }
.input:hover, .textarea:hover, .select:hover { border-color: #aeb4bd; }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { border-color: var(--brand-bright); box-shadow: 0 0 0 4px rgb(10 111 201 / 0.18); border-radius: var(--radius-s); }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: var(--step--2); font-weight: 550; }
.field__error:empty { display: none; }
.options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option { position: relative; display: inline-flex; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--step--1);
  font-weight: 550;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.option span::before {
  content: "";
  width: 1rem; height: 1rem;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  transition: inherit;
}
.option input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.option input:checked + span::before { border-color: var(--sun); background: var(--sun) ; box-shadow: inset 0 0 0 2px var(--ink); }
.option input:focus-visible + span { box-shadow: var(--focus); }
.option:hover span { border-color: var(--ink); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
.consent input { width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; accent-color: var(--brand); cursor: pointer; }
.consent a { color: var(--brand); font-weight: 600; }
.consent strong { color: var(--text); }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form__note { font-size: var(--step--2); color: var(--muted); }
.form__status {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-s);
  font-size: var(--step--1);
  line-height: 1.5;
}
.form__status:empty { display: none; }
.form__status.is-success { background: var(--summer-soft); color: #145c31; }
.form__status.is-error { background: #fdecea; color: #8c1d18; }
.form__status.is-info { background: var(--brand-soft); color: var(--brand); }
.form.is-sending [type="submit"] { opacity: 0.6; pointer-events: none; }
.form-card { padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card__title { font-size: var(--step-2); margin-bottom: 0.4rem; }
.form-card__lead { color: var(--muted); font-size: var(--step--1); margin-bottom: 1.4rem; }

/* 20 — Filtri e collezioni ----------------------------------------------- */
.filter-bar {
  display: grid;
  gap: 0.9rem;
  margin-bottom: var(--space-l);
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.section--white .filter-bar { background: var(--paper); border-color: transparent; }
.filter-bar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.filter-bar__label { flex: none; min-width: 4.5rem; font-size: var(--step--2); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.filter-bar__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .filter-bar__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -1rem; padding-right: 1rem; padding-bottom: 2px; }
  .filter-bar__label { width: 100%; }
}
.search-field { position: relative; flex: 1 1 260px; max-width: 420px; }
.search-field .input { padding-left: 2.9rem; border-radius: var(--radius-pill); min-height: 48px; }
.search-field::before {
  content: "";
  position: absolute; left: 1.1rem; top: 50%; z-index: 1;
  width: 1.2rem; height: 1.2rem; margin-top: -0.6rem;
  background: var(--muted);
  -webkit-mask: var(--i-search) center / contain no-repeat;
  mask: var(--i-search) center / contain no-repeat;
  pointer-events: none;
}
.collection__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1rem; color: var(--muted); font-size: var(--step--1); }
.collection__reset { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.collection__empty { padding: 2.5rem 1rem; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.collection__more { display: flex; justify-content: center; margin-top: var(--space-l); }
[data-collection-items] > .is-filtered-out, [data-collection-items] > .is-paged-out { display: none !important; }

/* 21 — Dialog: ricerca e PDF --------------------------------------------- */
.search {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: clamp(0.75rem, 6vh, 5rem) clamp(0.75rem, 3vw, 2rem) 1rem;
  background: rgb(14 27 44 / 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in 0.18s var(--ease);
}
.search__panel {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 2rem));
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.search__form { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0.75rem 0.75rem 1.25rem; border-bottom: 1px solid var(--line); }
.search__form .icon { color: var(--muted); }
.search__input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: none; font-size: var(--step-1); font-family: var(--font-display); font-weight: 900; }
.search__input:focus-visible { box-shadow: none; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__results { overflow-y: auto; padding: 0.5rem; overscroll-behavior: contain; }
.search__hint { padding: 1.25rem 1rem; color: var(--muted); font-size: var(--step--1); }
.search__hint .chips { margin-top: 0.75rem; }
.search__list { list-style: none; padding: 0; margin: 0; }
.search__item a {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-s);
  color: inherit;
  text-decoration: none;
}
.search__item a:hover, .search__item a:focus-visible, .search__item a.is-active { background: var(--paper); box-shadow: none; }
.search__item-cat { font-size: var(--step--2); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.search__item-title { font-weight: 650; line-height: 1.3; }
.search__item-desc { color: var(--muted); font-size: var(--step--1); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search mark { background: var(--sun-soft); color: inherit; border-radius: 3px; padding: 0 0.1em; }

/* PDF viewer */
.pdf {
  display: grid;
  gap: var(--space-l);
  align-items: center;
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--line);
}
.section--white .pdf { background: var(--paper); border-color: transparent; }
@media (min-width: 760px) { .pdf { grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); } }
.pdf__cover {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-l);
  cursor: pointer;
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease);
}
.pdf__cover:hover { transform: rotate(0) translateY(-4px); }
.pdf__cover img { width: 100%; height: 100%; object-fit: cover; }
.pdf__placeholder {
  position: absolute; inset: 0;
  display: grid; align-content: space-between;
  padding: 1.5rem;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.pdf__placeholder::after { content: ""; position: absolute; right: -20%; bottom: -20%; width: 80%; aspect-ratio: 364/362; background: var(--accent); opacity: 0.8; -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; }
.pdf__placeholder strong { position: relative; z-index: 1; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; }
.pdf__body { display: grid; gap: 1rem; justify-items: start; }
.pdf__body > * { margin: 0; }
.pdf__title { font-size: var(--step-3); }
.pdf__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pdf__note { font-size: var(--step--2); color: var(--muted); }

.viewer {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #0b1522;
  color: var(--white);
  --focus: 0 0 0 3px #0b1522, 0 0 0 5.5px var(--sun);
  animation: fade-in 0.2s var(--ease);
}
.viewer__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem clamp(0.6rem, 2vw, 1.25rem); border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.viewer__title { flex: 1; min-width: 0; font-weight: 600; font-size: var(--step--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__actions { display: flex; gap: 0.5rem; flex: none; }
.viewer__frame { position: relative; min-height: 0; background: #525659; }
.viewer__frame iframe, .viewer__frame object { width: 100%; height: 100%; border: 0; display: block; }
.viewer__fallback { display: grid; place-content: center; justify-items: center; gap: 1rem; height: 100%; padding: 2rem; text-align: center; background: #0b1522; }
.viewer__fallback p { max-width: 42ch; color: var(--on-dark-muted); }
@media (max-width: 640px) { .viewer__actions .btn__label { display: none; } .viewer__actions .btn { padding-inline: 0; width: 44px; } }

/* 22 — Utility, motion, stampa ------------------------------------------- */
.on-dark { color: var(--white); --muted: var(--on-dark-muted); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: var(--space-s) !important; }
.mt-m { margin-top: var(--space-m) !important; }
.mt-l { margin-top: var(--space-l) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-l { margin-bottom: var(--space-l) !important; }
.w-100 { width: 100%; }
.maxw-prose { max-width: var(--measure); }
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded-l { border-radius: var(--radius-l); overflow: hidden; }
.divider { border: 0; border-top: 1px solid var(--line); margin-block: var(--space-xl); }
.relative { position: relative; }
.nowrap { white-space: nowrap; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: revert; } .hide-desktop { display: none; } }

/* Reveal allo scroll (attivo solo con JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-backdrop, .skip-link, .search, .cta-band, .newsletter, .carousel__controls, .gallery__more, .filter-bar, .collection__more, .video, .map, .menu-toggle, .dots, form { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero { padding-block: 1.25rem !important; background: none !important; color: #000 !important; }
  .section--ink { --section-fg: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  .card, .feature, .tile, .panel { break-inside: avoid; box-shadow: none !important; }
  .tile { color: #000; min-height: 0; background: none; }
  .tile::before, .tile__media { display: none; }
  .tile__title, .tile__text { color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  img { max-width: 60% !important; break-inside: avoid; }
  .gallery { grid-template-columns: repeat(4, 1fr) !important; }
  .gallery img { max-width: 100% !important; }
}

/* 23 — Integrazioni ------------------------------------------------------ */
/* Timeline con miniatura tonda al posto del numero */
.timeline:has(.timeline__thumb)::before { left: 1.85rem; }
.timeline__item:has(.timeline__thumb) { padding-left: 5rem; min-height: 3.75rem; align-content: center; }
.timeline__item:has(.timeline__thumb)::before { left: 2.35rem; top: 2.35rem; z-index: 1; width: 1.6rem; height: 1.6rem; font-size: 0.78rem; box-shadow: 0 0 0 3px var(--white); }
.timeline__thumb { position: absolute; left: 0; top: 0; width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line); }
.timeline__item .link-arrow { font-size: var(--step--1); }
/* Metodo con immagine */
.method__media { display: block; margin: -1.6rem -1.6rem 0.4rem; aspect-ratio: 16 / 10; overflow: hidden; }
.method__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.method__link:hover .method__media img { transform: scale(1.04); }
.method__link:has(.method__media) { overflow: hidden; }
/* Statistiche con icona */
.stat__value .icon { --icon-size: 0.82em; color: var(--accent-ink); vertical-align: -0.05em; }
.section--ink .stat { border-top-color: var(--sun); }
.section--ink .stat__label strong { color: var(--white); font-weight: 550; }
/* Sezione con titolo-link */
.section-head__title a { color: inherit; text-decoration: none; }
.section-head__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
/* Hero: sub-navigazione */
.hero .subnav { margin-top: 0.75rem; max-width: 100%; }
/* Lista contatti in pannello */
.panel .facts__title { padding-top: 0; }
.panel .contact-list li > span:last-child { font-weight: 550; }
/* Liste generiche */
.split__body > .checklist, .split__body > .deflist { width: 100%; }
/* Il blur dell'header crea un contenitore per gli elementi fixed: va tolto quando il drawer è aperto */
.site-header:has(.nav.is-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
.season-card__body, .season-card__title, .season-card__text { display: block; }
.mega__promo .mega__promo-title { color: var(--white); font-size: var(--step-2); line-height: 1.1; }
@media (min-width: 960px) {
  .section-head--split .section-head__aside:has(> .link-arrow:only-child),
  .section-head--split .section-head__aside:has(> .btn:only-child) { justify-items: end; }
}
@media (min-width: 760px) { .subnav { flex-wrap: wrap; overflow: visible; } }
.hero__badge { bottom: auto; top: 28px; }
@media (max-width: 600px) { .hero__badge { top: auto; bottom: 52px; } }
.gallery__item > a { display: block; width: 100%; height: 100%; }
.filter-bar__row { align-items: flex-start; } .filter-bar__label { padding-top: 0.7rem; }
.option input[type="radio"] + span::before { border-radius: 50%; }
main { overflow-x: clip; }
.collection, .filter-bar > *, .filter-bar__row { min-width: 0; }
.filter-bar { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 639.98px) {
  .grid:has(> .card--product) { --cols: 2; --gap: 0.75rem; }
  .card--product .card__body { padding: 0.75rem 0.8rem 0.9rem; }
  .card--product .card__title { font-size: 0.95rem; }
  .card--product .card__meta { display: none; }
}

/* Lato Google Fonts: titoli Black, testo Regular. */
body { font-weight: 400; }
h1, h2, .h1, .h2, .display { font-weight: 900; }

/* Correzioni mobile verificate a 320, 390 e 768 px. */
.viewer { grid-template-columns: minmax(0, 1fr); }
.viewer__bar { min-width: 0; }
@media (max-width: 479.98px) {
  .site-header__inner { gap: 0.5rem; }
  .site-header .brand { min-width: 0; gap: 0.4rem; flex: 0 1 auto; }
  .site-header .brand__mark,
  .site-header.is-scrolled .brand__mark { width: 32px; height: 32px; }
  .site-header .brand__word { width: clamp(112px, 34vw, 150px); min-width: 0; }
  .header-actions { gap: 0.25rem; flex-shrink: 0; }
  h1, h2, .h1, .h2, .display { -webkit-hyphens: none; hyphens: none; overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
  .viewer__actions .btn { min-height: 44px; flex-shrink: 0; }
  .lightbox__caption { padding-inline: 4rem; overflow-wrap: anywhere; }
}

/* Etichette accessibili anche quando i comandi sono mostrati come icone. */
@media (max-width: 640px) {
  .viewer__actions .btn__label { display: inline; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .filter-bar .chip { min-height: 44px; }
}
button.chip[aria-pressed="true"]:hover,
a.chip[aria-current]:hover,
.chip.is-active:hover { color: var(--white); border-color: var(--ink); }