/* =========================================================================
   StandUp! Srl - Design system
   Sito B2B: locker smart, totem digitali e software in cloud.
   Nessuna dipendenza esterna: niente Google Fonts (evita di mandare l'IP di
   ogni visitatore a Google prima del consenso) e niente framework CSS.
   ========================================================================= */

/* ---------- 1. Token ---------- */

:root {
  /* Blu petrolio campionato dal logo (img/logo-standup.png) e confermato dal
     CSS del sito attuale, dove ricorre come #1c6d8c. L'azzurro accento viene
     dalle ante dei locker nei render tecnici. */
  --brand: #1c6d8c;
  --brand-600: #175b76;
  --brand-700: #134a61;
  --brand-900: #0a2836;
  --brand-50: #eef4f8;
  --brand-100: #cfe3ec;

  --accent: #4fb3d4;
  --accent-50: #eaf6fb;

  --ink: #0f2029;
  --ink-2: #3a5563;
  --ink-3: #6a8494;
  --ink-4: #94a9b5;

  --line: #dee7ec;
  --line-strong: #c3d2da;

  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --bg-dark: #081d26;

  --ok: #1c7a55;
  --ok-bg: #e7f4ee;
  --warn: #9a6208;
  --warn-bg: #fdf2df;
  --err: #b02722;
  --err-bg: #fbecea;

  --t-hero: clamp(2.3rem, 1.3rem + 4.2vw, 4.25rem);
  --t-h1: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  --t-h2: clamp(1.6rem, 1.22rem + 1.7vw, 2.45rem);
  --t-h3: clamp(1.18rem, 1.05rem + 0.6vw, 1.48rem);
  --t-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.26rem);
  --t-body: 1.0625rem;
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;

  --sp-section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --wrap: 1200px;
  --wrap-narrow: 800px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(8, 29, 38, 0.06), 0 2px 8px rgba(8, 29, 38, 0.04);
  --sh: 0 2px 4px rgba(8, 29, 38, 0.05), 0 12px 28px rgba(8, 29, 38, 0.08);
  --sh-lg: 0 4px 8px rgba(8, 29, 38, 0.06), 0 24px 56px rgba(8, 29, 38, 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 78px;
}

/* ---------- 2. Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* L'attributo hidden vale display:none solo nel foglio del browser:
   qualunque display dichiarato qui (per esempio .notice { display: flex })
   lo batterebbe, lasciando in pagina riquadri vuoti. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.14;
  letter-spacing: -0.021em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-h1);
}
h2 {
  font-size: var(--t-h2);
}
h3 {
  font-size: var(--t-h3);
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-600);
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.35em;
}

strong,
b {
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--brand-100);
  color: var(--brand-900);
}

/* ---------- 3. Layout ---------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 2rem, var(--wrap));
  }
}

.wrap-narrow {
  width: min(100% - 2.5rem, var(--wrap-narrow));
  margin-inline: auto;
}

.section {
  padding-block: var(--sp-section);
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.section--dark {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.82);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.section--dark .eyebrow {
  color: var(--accent);
}

.center {
  text-align: center;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  background: var(--bg);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 4. Testo ricorrente ---------- */

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head {
  max-width: 47rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
}

.section-head.center {
  margin-inline: auto;
}

.lead {
  font-size: var(--t-lead);
  color: var(--ink-2);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- 5. Bottoni ---------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.75em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
  box-shadow: 0 1px 2px rgba(10, 40, 54, 0.2);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28, 109, 140, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary:hover {
  background: var(--brand-600);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: var(--brand);
  color: var(--brand-700);
  box-shadow: var(--sh-sm);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-900);
}

.btn--light:hover {
  background: #fff;
  color: var(--brand-700);
}

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn--lg {
  padding: 1.1em 2.15em;
  font-size: var(--t-body);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.btn svg {
  flex: none;
}

/* ---------- 6. Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(8, 29, 38, 0.06);
}

.site-header--overlay {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header--overlay:not(.is-stuck) .nav-link,
.site-header--overlay:not(.is-stuck) .nav-toggle {
  color: #fff;
}

.site-header--overlay:not(.is-stuck) .nav-link::after {
  background: #fff;
}

.site-header--overlay.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  flex: none;
  display: block;
  line-height: 0;
  margin-right: auto;
}

/* Nell'header si usa il marchio senza la riga "software for business
   solutions": a questa altezza sarebbe una macchia illeggibile. Il logo
   completo resta nel footer, dove c'e' spazio per leggerla.
   Il file compatto comprende tutto il marchio, dalle aste di "t" e "d"
   alla coda della "p": 40px qui danno lettere grandi quanto prima, quando
   il file era ritagliato stretto (e mozzava le aste). */
.brand img {
  width: auto;
  height: 40px;
}

@media (max-width: 560px) {
  .brand img {
    height: 34px;
  }
}

/* Il logo e' bicolore (blu + grigio): invertirlo darebbe due colori
   sbagliati. brightness(0) lo appiattisce a nero, invert(1) lo porta a
   bianco pieno: leggibile su qualsiasi fondo scuro, un file solo. */
.site-header--overlay:not(.is-stuck) .brand img,
.footer-brand img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.3rem + 1.1vw, 1.85rem);
}

.nav-link {
  position: relative;
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 550;
  text-decoration: none;
  padding-block: 6px;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover {
  color: var(--brand-700);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--brand-700);
  font-weight: 650;
}

.site-header--overlay:not(.is-stuck) .nav-link[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  margin-left: 0.4rem;
  /* Con sette voci nel menu il pulsante e' l'ultimo a trovare posto: senza
     questo andrebbe a capo su due righe ("Richiedi un / preventivo"). */
  flex: none;
  white-space: nowrap;
}

/* ---------- 6b. Selettore di lingua ----------
   Due bandierine con la sigla accanto: la bandiera sola e' ambigua (chi
   cerca l'inglese non guarda la Union Jack, guarda "EN"). Sull'header
   trasparente della home i colori reggono da soli, serve solo il bordo. */

.lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.4rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}

.lang__voce {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.lang__voce:hover {
  opacity: 1;
  background: var(--bg-soft);
  color: var(--brand-700);
}

.lang__voce.is-attiva {
  opacity: 1;
  color: var(--ink);
  background: var(--brand-50);
}

.lang__bandiera {
  flex: none;
  border-radius: 2px;
  border: 1px solid rgba(8, 29, 38, 0.18);
}

.site-header--overlay:not(.is-stuck) .lang {
  border-left-color: rgba(255, 255, 255, 0.28);
}

.site-header--overlay:not(.is-stuck) .lang__voce {
  color: rgba(255, 255, 255, 0.82);
}

.site-header--overlay:not(.is-stuck) .lang__voce:hover,
.site-header--overlay:not(.is-stuck) .lang__voce.is-attiva {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.site-header--overlay:not(.is-stuck) .lang__bandiera {
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  margin-inline: auto;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* 1240: con la voce «Lavanderie» il menu in riga, bottone compreso, chiede
   ~1225 px; sotto si passa al menu a tendina (08/10/2026) */
@media (max-width: 1240px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.75rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-link {
    color: var(--ink);
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-link::after {
    display: none;
  }

  .site-header--overlay:not(.is-stuck) .site-nav .nav-link {
    color: var(--ink);
  }

  .nav-cta {
    margin: 1.15rem 0 0;
  }

  .lang {
    margin: 1.15rem 0 0;
    padding: 0.9rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .site-header--overlay:not(.is-stuck) .lang .lang__voce {
    color: var(--ink-3);
  }

  .site-header--overlay:not(.is-stuck) .lang .lang__voce.is-attiva {
    color: var(--ink);
    background: var(--brand-50);
  }
}

/* ---------- 7. Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 800px);
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 2rem + 5vw, 5.5rem);
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Velo scuro + sfumatura dal basso: senza il primo strato il bianco del
   titolo scende sotto 4.5:1 di contrasto sulle zone chiare della foto. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(6, 24, 32, 0.95) 0%,
      rgba(6, 24, 32, 0.76) 36%,
      rgba(6, 24, 32, 0.46) 64%,
      rgba(6, 24, 32, 0.55) 100%
    ),
    linear-gradient(105deg, rgba(19, 74, 97, 0.55), rgba(6, 24, 32, 0.15));
}

/* Niente width qui: .wrap e' definito prima nel foglio, quindi una width su
   questa classe vincerebbe per ordine e il contenuto finirebbe attaccato al
   bordo sinistro della finestra. */
.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 42rem;
}

.hero h1 {
  font-size: var(--t-hero);
  letter-spacing: -0.032em;
  margin-bottom: 0.4em;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.82);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__badge svg {
  color: var(--accent);
  flex: none;
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 3rem;
  }

  .hero__actions {
    margin-bottom: 2rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__badges {
    gap: 0.55rem 1.1rem;
  }
}

/* Hero compatto per le pagine interne.
   Niente --header-h nel padding: qui l'header e' sticky, quindi occupa gia'
   il suo spazio nel flusso; sommarlo lascerebbe una fascia vuota. */
.page-hero {
  position: relative;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: linear-gradient(155deg, var(--brand-900), #0e3a4c 58%, #12475d);
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -12%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 179, 212, 0.24),
    rgba(79, 179, 212, 0) 62%
  );
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__inner h1,
.page-hero__inner .lead {
  max-width: 44rem;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero .eyebrow {
  color: var(--accent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.38);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- 8. Griglie ---------- */

.grid {
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  align-items: center;
}

/* Testo largo e immagine verticale stretta (video 9:16, foto 3:4): con due
   colonne uguali la figura diventerebbe altissima. */
.split--media-narrow {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

@media (max-width: 820px) {
  .split--media-narrow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Gruppo di bottoni affiancati, che vanno a capo su schermi stretti */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.page-hero__actions {
  margin-top: 1.75rem;
}

/* ---------- 9. Card ---------- */

.card {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-100);
  box-shadow: var(--sh);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--ink-3);
  font-size: var(--t-sm);
  margin: 0;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand);
}

.card--flat:hover {
  transform: none;
}

/* Card di prodotto con foto in testa */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-100);
  box-shadow: var(--sh);
}

.product-card__media {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__media--contain {
  padding: 1.25rem;
}

.product-card__media--contain img {
  object-fit: contain;
}

.product-card__body {
  padding: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__body p {
  color: var(--ink-3);
  font-size: var(--t-sm);
}

.product-card__link {
  margin-top: auto;
  padding-top: 1.15rem;
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--brand-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.product-card__link:hover {
  gap: 0.7rem;
}

.product-card__link svg {
  transition: transform 0.18s var(--ease);
}

/* ---------- 10. Elenco caratteristiche ---------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.55;
}

.feature-list svg {
  flex: none;
  margin-top: 4px;
  color: var(--brand);
}

.feature-list--2col {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem 1.5rem;
}

.section--dark .feature-list li {
  color: rgba(255, 255, 255, 0.86);
}

.section--dark .feature-list svg {
  color: var(--accent);
}

/* Elenco numerato per i processi */
.steps {
  display: grid;
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.step {
  position: relative;
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: 700;
}

.step h3 {
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  color: var(--ink-3);
  font-size: var(--t-sm);
}

/* ---------- 11. Numeri ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  background: #fff;
  padding: clamp(1.5rem, 1rem + 2vw, 2.35rem) 1.5rem;
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(1.85rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--brand);
  margin-bottom: 0.3rem;
}

.stat__label {
  font-size: var(--t-sm);
  color: var(--ink-3);
  line-height: 1.4;
}

/* ---------- 12. Media ---------- */

.media-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  background: var(--bg-soft);
}

.media-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-figure--contain img {
  object-fit: contain;
  padding: 1.25rem;
  background: #fff;
}

.media-figure figcaption {
  padding: 0.85rem 1.15rem;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--ink-3);
}

.gallery {
  display: grid;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

/* Foto scattate in verticale nei punti vendita: tagliarle a 3:2 lascerebbe
   solo una fascia centrale. */
.gallery--portrait {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery--portrait img {
  aspect-ratio: 3 / 4;
}

.media-figure--portrait {
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

.media-figure--portrait img {
  aspect-ratio: 3 / 4;
}

/* ---------- 11b. Fascia fiera ----------
   Evento in corso o imminente, in home. Sta dentro una card chiara: viene
   subito dopo l'hero scuro e deve staccare senza rubare la scena al titolo.
   js/main.js la rimuove dopo la data in js/config.js. */

.fiera {
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-50), #fff 62%);
  box-shadow: var(--sh);
}

/* Misura di lettura: la card e' larga quanto il contenitore, il testo no */
.fiera__testo {
  max-width: 62rem;
}

.fiera__logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.1rem;
}

.fiera h2 {
  margin-bottom: 1.1rem;
}

.fiera__dati {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.fiera__dati li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--brand-100);
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--brand-900);
}

.fiera__dati svg {
  flex: none;
  color: var(--brand);
}

.fiera .lead em {
  font-style: normal;
  font-weight: 650;
  color: var(--brand-700);
}

.fiera__nota {
  margin: 1.75rem 0 0;
  font-size: var(--t-sm);
  color: var(--ink-3);
  line-height: 1.55;
}

/* ---------- 12b. Video ----------
   Un video ospitato da Vimeo e' una richiesta ai loro server: finche' il
   visitatore non preme play si vede solo una foto locale, e nessun dato
   parte verso terzi. js/main.js sostituisce la foto con il player. */

.video {
  margin: 0;
  width: 100%;
}

.video--vertical {
  max-width: 360px;
  justify-self: center;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
}

.video--vertical .video__frame {
  aspect-ratio: 9 / 16;
}

.video__poster,
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__poster {
  object-fit: cover;
}

.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 0;
  background: linear-gradient(
    to top,
    rgba(6, 24, 32, 0.78) 0%,
    rgba(6, 24, 32, 0.25) 55%,
    rgba(6, 24, 32, 0.35) 100%
  );
  color: #fff;
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 650;
  cursor: pointer;
}

.video__play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding-left: 4px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(6, 24, 32, 0.35);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.video__play:hover .video__play-icon,
.video__play:focus-visible .video__play-icon {
  transform: scale(1.07);
  background: var(--brand);
  color: #fff;
}

.video__play:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
  border-radius: var(--r-lg);
}

.video figcaption {
  margin-top: 0.75rem;
  font-size: var(--t-xs);
  color: var(--ink-3);
  text-align: center;
  text-wrap: pretty;
}

/* ---------- 13. Citazione ---------- */

.quote {
  margin: 0;
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  background: var(--brand-50);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
}

.quote p {
  font-size: var(--t-lead);
  color: var(--brand-900);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.quote footer {
  font-size: var(--t-sm);
  color: var(--ink-3);
}

/* ---------- 14. Form ---------- */

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem);
  box-shadow: var(--sh);
}

.field {
  margin-bottom: 1.25rem;
}

.field-row {
  display: grid;
  gap: 0 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.field > label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--ink);
}

.field__hint {
  margin: -0.15rem 0 0.55rem;
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.5;
}

.field__opz {
  font-weight: 500;
  color: var(--ink-4);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: var(--t-body);
  line-height: 1.45;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  /* Sotto i 16px iOS zooma il campo al focus */
  min-height: 52px;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 2.9em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233a5563' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05em center;
  cursor: pointer;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-4);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 4px var(--err-bg);
}

.field__error {
  display: none;
  margin: 0.5rem 0 0;
  font-size: var(--t-sm);
  color: var(--err);
  font-weight: 550;
}

.field__error.is-visible {
  display: block;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* Gruppo di caselle ("Cosa ti interessa"): la legenda ha lo stesso aspetto
   delle etichette dei campi. */
.field-group {
  min-width: 0;
  padding: 0;
  border: 0;
}

.field-group legend {
  padding: 0;
  margin-bottom: 0.6rem;
  font-size: var(--t-sm);
  font-weight: 650;
  color: var(--ink);
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem 1.25rem;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.5;
}

.form-note svg {
  flex: none;
  margin-top: 1px;
  color: var(--ok);
}

/* ---------- 15. Messaggi ---------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r);
  border: 1px solid;
  font-size: var(--t-sm);
  line-height: 1.55;
}

.notice svg {
  flex: none;
  margin-top: 2px;
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 0.5rem;
}

.notice--ok {
  background: var(--ok-bg);
  border-color: #b5dfcb;
  color: #14563a;
}

.notice--warn {
  background: var(--warn-bg);
  border-color: #efd299;
  color: #7a4d06;
}

.notice--err {
  background: var(--err-bg);
  border-color: #f0c2bf;
  color: #8e1c17;
}

.notice--info {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-900);
}

.btn__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn__spinner {
  display: block;
}

.btn.is-loading .btn__label--idle {
  display: none;
}

.btn__label--busy {
  display: none;
}

.btn.is-loading .btn__label--busy {
  display: inline;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 16. Contatti ---------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-block:first-child {
  padding-top: 0;
}

.contact-block:last-child {
  border-bottom: 0;
}

.contact-block h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.contact-block h3 svg {
  color: var(--brand);
  flex: none;
}

.contact-block p {
  margin: 0;
  color: var(--ink-3);
  font-size: var(--t-sm);
}

.contact-block a {
  font-weight: 600;
}

/* ---------- 17. Fascia CTA ---------- */

.cta-band {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--brand-900);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 179, 212, 0.24),
    rgba(79, 179, 212, 0) 60%
  );
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--t-lead);
  margin-bottom: 2rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- 18. Footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--t-sm);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 1.15rem;
}

.footer-brand p {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--t-sm);
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-col a:hover,
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.48);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* ---------- 19. Banner cookie ---------- */

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, calc(100% + 32px));
  z-index: 150;
  width: min(100% - 24px, 680px);
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  font-size: var(--t-sm);
  transition: transform 0.32s var(--ease);
  visibility: hidden;
}

.cookie-bar.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

.cookie-bar h2 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.cookie-bar p {
  color: var(--ink-3);
  margin-bottom: 1.15rem;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-bar__actions .btn {
  padding: 0.72em 1.35em;
  font-size: var(--t-xs);
}

/* ---------- 20. Testi lunghi ---------- */

.prose {
  max-width: 70ch;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
}

.prose h3 {
  margin-top: 1.85rem;
  font-size: 1.12rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose li {
  color: var(--ink-2);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--t-sm);
}

.prose th,
.prose td {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-soft);
  font-weight: 650;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- 21. Tabella specifiche ---------- */

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--t-sm);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.spec-table thead th {
  background: var(--bg-soft);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:hover td {
  background: var(--bg-soft);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 22. Movimento ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 23. Stampa ---------- */

@media print {
  .site-header,
  .site-footer,
  .cookie-bar,
  .hero__actions,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
  }
}
