/* PC Expert: punto d'ingresso del CSS. Eleventy unisce i moduli, nell'ordine qui sotto, in
   _site/css/style.css (vedi eleventy.config.js). L'ordine è quello del cascade: non riordinare
   senza verificare con npm run check:css-parity. Gli url() nei moduli sono relativi al modulo. */
/* Token del sistema visivo: colori (tema chiaro su :root, scuro su html[data-theme='dark']),
   tipografia, raggi, ombre, vetro (dock, lente), icone, ritmo delle sezioni, easing.
   Raggi concentrici: pannello --r-panel > card --r-card > controlli --r-ctrl; pulsanti a pillola.
   Sotto 700px e 560px alcuni token si riducono (blocchi in fondo). Riferimento: DESIGN.md. */
:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #fffdfa;
  --surface-2: #eeebe5;
  --surface-3: #e7e4dc;
  --orange: #ff8300;
  --orange-hover: #eb7300;
  --red: #f0131c;
  --highlight-gradient: linear-gradient(95deg, #ffa333, #ff6a2b 55%, #f0131c);
  --dark: #202121;
  --dark-soft: #2e2e2c;
  --white: #fcfaf4;
  --r-sm: 6px;
  --radius: var(--r-ctrl);
  --container: 100%;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --title-font: var(--body-font);
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);
  --body-font:
    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --tab-active: #a85200;
  --gutter: 16px;
  --r-panel: 32px;
  --r-card: 24px;
  --r-ctrl: 14px;
  --panel: var(--surface-2);
  --ink: #1d1d1b;
  --muted: #5b5a56;
  --line: rgba(40, 32, 18, 0.14);
  --shadow: 0 1px 2px rgba(30, 24, 10, 0.04), 0 14px 38px rgba(30, 24, 10, 0.07);
  accent-color: var(--orange);
  --glass-bg: color-mix(in srgb, var(--surface) 82%, transparent);
  --glass-sheen: rgba(255, 255, 255, 0.5);
  --glass-rim: rgba(255, 255, 255, 0.95);
  --glass-rim-low: rgba(40, 32, 18, 0.07);
  --glass-edge-hi: rgba(255, 255, 255, 0.95);
  --glass-edge-lo: rgba(40, 32, 18, 0.16);
  --glass-inner: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 1px 2px rgba(20, 16, 8, 0.08), 0 12px 34px rgba(20, 16, 8, 0.16);
  --lens-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.4));
  --lens-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 1px 3px rgba(20, 16, 8, 0.14);
  --lens-lift-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 8px 22px rgba(20, 16, 8, 0.22);
  --icon-box: 44px;
  --icon-glyph: 22px;
  --icon-radius: 14px;
  --icon-bg: linear-gradient(145deg, rgba(255, 131, 0, 0.16), rgba(240, 19, 28, 0.08));
  --icon-ring: 0 0 0 1px rgba(255, 131, 0, 0.22) inset;
  --band-pad: clamp(72px, 6vw + 32px, 160px);
  --band-pad-slim: clamp(64px, 4vw + 32px, 120px);
  --anthracite: #202121;
  --anthracite-hover: #393b3b;
  --on-accent: #151515;
  --on-dark-muted: #d6d2c8;
  --on-dark: #fdf9ef;
  --hero-scrim: linear-gradient(rgba(12, 15, 16, 0.42), rgba(12, 15, 16, 0.66));
  --r-pill: 999px;
  --dur-press: 160ms;
  --dur-hover: 200ms;
}
html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #161818;
  --surface: #202222;
  --surface-2: #2b2d2c;
  --surface-3: #343636;
  --dark: #0c0f10;
  --dark-soft: #222526;
  --tab-active: #ff9d3d;
  --panel: #1c1e1e;
  --ink: #f5f3ee;
  --muted: #b9b5ab;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 44px rgba(0, 0, 0, 0.35);
  --glass-bg: color-mix(in srgb, var(--surface-2) 80%, transparent);
  --glass-sheen: rgba(255, 255, 255, 0.1);
  --glass-rim: rgba(255, 255, 255, 0.3);
  --glass-rim-low: rgba(255, 255, 255, 0.05);
  --glass-edge-hi: rgba(255, 255, 255, 0.5);
  --glass-edge-lo: rgba(255, 255, 255, 0.1);
  --glass-inner: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 38px rgba(0, 0, 0, 0.55);
  --lens-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  --lens-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.35);
  --lens-lift-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 8px 22px rgba(0, 0, 0, 0.5);
}
@media (max-width: 700px) {
  :root {
    --gutter: 10px;
    --r-panel: 28px;
    --r-card: 20px;
    --r-ctrl: 12px;
  }
}
@media (max-width: 560px) {
  :root {
    --icon-box: 40px;
    --icon-glyph: 20px;
    --icon-radius: 12px;
  }
}
/* Inter (SIL OFL 1.1), self-hosted: nessuna richiesta a Google. Licenza in assets/fonts/OFL-Inter.txt */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-wght.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Reset ed elementi HTML: box-sizing, html/body (sfondo, colore, font del tema, scorrimento con
   spazio per il dock), controlli dei form, link, immagini, focus visibile, selezione. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 132px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background 0.3s,
    color 0.3s;
  font-size: var(--fs-md);
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: 'cv11', 'ss03';
  letter-spacing: -0.011em;
}
button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
textarea {
  font: inherit;
  border-radius: var(--r-ctrl);
}
select {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
/* Dopo i `font: inherit`: sotto i 16px iOS Safari zooma la pagina al focus. */
input,
textarea,
select {
  font-size: max(1rem, 16px);
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
label {
  -webkit-tap-highlight-color: transparent;
}
/* Focus da tastiera di base: resta anche dove una pagina lo ridefinisce (es. modulo Aziende),
   così ogni nuovo controllo ha un focus visibile. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
::selection {
  background: var(--orange);
  color: #171717;
}
/* Tipografia: titoli h1-h3 con tracking più stretto al crescere del corpo, evidenziazione in
   gradiente (em/span nei titoli), testo, eyebrow. */
.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow-light {
  color: var(--on-dark-muted);
}
h1 {
  font-family: var(--title-font);
  color: inherit;
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
h2 {
  margin-top: 0;
  font-family: var(--title-font);
  color: inherit;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
h3 {
  margin-top: 0;
  font-family: var(--title-font);
  color: inherit;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.017em;
  text-wrap: balance;
}
p {
  margin-top: 0;
  text-wrap: pretty;
}
h1 em {
  font-style: normal;
}
h2 em,
h1 span,
h2 span {
  font-style: normal;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
strong {
  font-weight: 600;
}
/* Utility: [hidden], testo solo per screen reader, link per saltare al contenuto. */
[hidden] {
  display: none !important;
}
.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: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  z-index: 200;
  background: var(--orange);
  color: #1d1d1d;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
/* Layout: contenitore .shell, sezioni, intestazioni di sezione, coppie di CTA. */
.shell {
  width: min(calc(100% - 84px), var(--container));
  margin-inline: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}
.section-heading h2 {
  margin: 0;
  max-width: 910px;
}
.section-lead {
  margin: 23px 0 0;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.cta-pair {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 1250px) {
  .shell {
    width: min(calc(100% - 64px), var(--container));
  }
}
@media (max-width: 800px) {
  .shell {
    width: min(calc(100% - 42px), var(--container));
  }
  .section-heading {
    margin-bottom: 32px;
    display: block;
  }
}
@media (max-width: 560px) {
  .shell {
    width: calc(100% - 32px);
  }
}
/* Pannelli: ogni sezione di <main> e il footer sono pannelli staccati dal bordo (--gutter) con
   raggio --r-panel; nel tema scuro un filo di luce sul bordo alto li solleva dallo sfondo.
   Hero e dock sono due layer sovrapposti: la prima sezione lascia spazio al dock e all'area di
   sicurezza (notch, safe-area laterali). Fasce scure con respiro verticale unico (--band-pad). */
main > section {
  margin: 0 var(--gutter) var(--gutter);
  border-radius: var(--r-panel);
  border: 0;
  box-shadow: none;
  margin-inline: max(var(--gutter), env(safe-area-inset-left, 0px))
    max(var(--gutter), env(safe-area-inset-right, 0px));
  transition: background-color 300ms ease;
}
main
  > section:not(
    .service-ribbon,
    .problem-band,
    .business-problem,
    .checkup-section,
    .refurb-section,
    .visit-band
  ) {
  background: var(--panel);
}
main > section.section-plain {
  background: transparent;
}
main > section.section {
  padding-block: clamp(56px, 7vw, 96px);
}
main > section:first-child {
  margin-top: calc(env(safe-area-inset-top, 0px) + var(--gutter));
}
main > section:first-child::before {
  content: '';
  display: block;
  height: 128px;
}
main > section.hero-home {
  background-color: var(--anthracite);
  background-image: var(--hero-scrim), var(--hero-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 55%;
}
main > section.hero-page {
  background-color: var(--anthracite);
  background-image: var(--hero-scrim), var(--hero-image);
  background-size: cover;
  background-position: center 75%;
  background-repeat: no-repeat;
}
main > section.service-ribbon {
  background: var(--orange);
  color: var(--on-accent);
  padding: clamp(22px, 2.6vw, 32px) 0;
}
html[data-theme='dark'] main > section:not(.hero-home, .hero-page, .service-ribbon) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
main > section.problem-band {
  padding-block: var(--band-pad-slim);
}
main > section.refurb-section {
  padding-block: var(--band-pad);
}
@media (max-width: 700px) {
  main > section .shell {
    width: calc(100% - 40px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    view-transition-name: page;
  }
}
@media (prefers-reduced-motion: reduce) {
  main > section {
    transition: none;
  }
}
/* Icone Lucide (lucide.dev, ISC): sprite inline per pagina generato da {% icon %}; sorgenti in
   src/assets/icons/. Le dimensioni specifiche stanno nei componenti. */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}
.icon-fill {
  fill: currentColor;
}
/* Pulsanti: .button + varianti (orange, ink, outline, outline-light, glass, lg, full).
   Press immediato (scale .97); hover solo con puntatore preciso. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform var(--dur-press) var(--ease-out),
    border 0.2s,
    color 0.2s;
  font-weight: 600;
  border-radius: var(--r-pill);
}
.button:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}
.button-orange {
  background: var(--orange);
  color: var(--on-accent);
}
@media (hover: hover) and (pointer: fine) {
  .button-orange:hover {
    background: #fba126;
  }
}
.button-ink {
  background: var(--anthracite);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .button-ink:hover {
    background: var(--anthracite-hover);
  }
}
.button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .button-outline:hover {
    background: var(--ink);
    color: var(--bg);
  }
}
.button-outline-light {
  border-color: #858584;
  background: transparent;
  color: white;
}
@media (hover: hover) and (pointer: fine) {
  .button-outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.12);
  }
}
.button-lg {
  min-height: 57px;
  padding-inline: 27px;
}
.button-full {
  width: 100%;
}
.button .icon {
  width: 18px;
  height: 18px;
  vertical-align: 0;
}
.button-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
}
@media (hover: hover) and (pointer: fine) {
  .button-glass:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}
.button .arw > .icon {
  width: 14px;
  height: 14px;
}
@media (prefers-reduced-transparency: reduce) {
  .button-glass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #23262a;
  }
}
@media (hover: hover) and (pointer: fine) {
  .button-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(255, 131, 0, 0.75);
  }
  .button-orange:active {
    transform: scale(0.97);
    box-shadow: none;
  }
  .button {
    transition-property: background, border-color, color, transform, box-shadow;
    transition-duration:
      var(--dur-hover), var(--dur-hover), var(--dur-hover), var(--dur-press), 260ms;
    transition-timing-function: ease, ease, ease, var(--ease-out), var(--ease-out);
  }
  .button:active {
    transition-duration: 100ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button-orange:hover {
    transform: none;
  }
}
/* Controlli dei form condivisi: campi, scelte a pillola, consenso, note. */
.inline-form {
  display: flex;
  gap: 7px;
  max-width: 550px;
  flex: 1;
}
.inline-form input,
.form-fields input {
  width: 100%;
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  height: 49px;
  padding: 10px 15px;
  border-radius: var(--r-ctrl);
  outline-color: var(--orange);
}
.inline-form input::placeholder,
.form-fields input::placeholder {
  color: #898986;
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
}
.choice span {
  display: block;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--r-ctrl);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition:
    background 0.2s,
    border 0.2s,
    color 0.2s;
}
.choice input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.choice input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-fields label {
  font-size: var(--fs-xs);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.consent-line {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted);
  margin: 9px 0 24px;
  cursor: pointer;
}
.consent-line input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
  margin-top: 0;
}
.form-note {
  min-height: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 12px 0 0;
}
@media (max-width: 560px) {
  .inline-form {
    flex-direction: column;
  }
  .inline-form .button {
    width: 100%;
  }
  .form-fields {
    grid-template-columns: 1fr;
  }
  .choice span {
    font-size: var(--fs-xs);
    padding: 9px 10px;
  }
}
/* Header e dock di navigazione in vetro, unico per desktop e mobile: logo e azioni sopra, voci
   sotto, sempre visibili anche durante lo scorrimento. La lente segue la voce corrente,
   si solleva alla pressione ([data-lift]) e segue il dito 1:1 durante lo scorrimento ([data-drag]).
   Attributi e variabili --lens-* sono scritti da js/main.js. Fallback per trasparenza e
   contrasto ridotti. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  pointer-events: none;
  height: 0;
  padding-top: 0;
}
.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--gutter) + 14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 32px;
}
html[data-theme='dark'] .site-header .brand-logo {
  background: none;
  padding: 0;
  filter: brightness(0) invert(1);
}
.dock {
  position: relative;
  align-items: center;
  isolation: isolate;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: 46px 56px;
  row-gap: 2px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding: 5px 8px;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--glass-sheen) 0%, transparent 45%), var(--glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(1.9) brightness(1.04);
  backdrop-filter: blur(28px) saturate(1.9) brightness(1.04);
  box-shadow:
    inset 0 1px 0 var(--glass-rim),
    inset 0 -1px 0 var(--glass-rim-low),
    inset 0 0 18px 2px var(--glass-inner),
    var(--glass-shadow);
  transition:
    grid-template-rows 280ms var(--ease-drawer),
    background-color 300ms ease,
    box-shadow 300ms ease;
}
.dock-links {
  position: relative;
  display: flex;
  grid-row: 2;
  grid-column: 1 / -1;
}
.label-short {
  display: inline;
}
.dock-sep {
  width: 1px;
  height: 22px;
  margin: 0 8px 0 12px;
  background: var(--line);
}
.tab-lens {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: var(--lens-w, 0);
  height: var(--lens-h, 0);
  border-radius: var(--r-pill);
  opacity: 0;
  transform: translate(var(--lens-x, 0), var(--lens-y, 0)) scale(1);
  transition:
    transform 340ms var(--ease-drawer),
    width 340ms var(--ease-drawer),
    opacity var(--dur-press) ease-out,
    background var(--dur-hover) ease-out,
    box-shadow var(--dur-hover) ease-out;
  background: var(--lens-bg);
  box-shadow: var(--lens-shadow);
}
.dock[data-ready] .tab-lens {
  opacity: 1;
}
.dock[data-instant] .tab-lens {
  transition: none;
}
.dock[data-lift] .tab-lens {
  transform: translate(var(--lens-x, 0), var(--lens-y, 0)) scale(1.12, 1.1);
  transition-duration:
    var(--dur-hover), var(--dur-hover), var(--dur-press), var(--dur-hover), var(--dur-hover);
  background: var(--lens-bg);
  box-shadow: var(--lens-lift-shadow);
}
.dock-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--dur-hover) ease-out,
    background var(--dur-hover) ease-out,
    transform var(--dur-press) var(--ease-out);
  flex: 1 1 0;
  min-width: 0;
  min-height: 56px;
  flex-direction: column;
  gap: 3px;
  padding: 6px 2px 5px;
  font-size: 0.6875rem;
  letter-spacing: 0;
  line-height: 1;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.dock-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.006em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}
.dock-link:active,
.dock-action:active {
  transform: scale(0.97);
}
.dock-link:focus-visible,
.dock-action:focus-visible {
  outline-offset: -3px;
}
.dock-link .icon {
  width: 22px;
  height: 22px;
}
.dock-action .icon {
  width: 18px;
  height: 18px;
}
.dock-action [data-theme-icon] {
  display: inline-flex;
}
.dock-link.is-current {
  color: var(--tab-active);
}
.dock-cta {
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  color: var(--tab-active);
}
.dock > .dock-sep {
  display: none;
}
.dock > .brand {
  grid-row: 1;
  grid-column: 1;
  padding-left: 10px;
  transition:
    opacity 180ms ease-out,
    visibility 180ms,
    color var(--dur-hover) ease-out,
    background var(--dur-hover) ease-out,
    transform var(--dur-press) var(--ease-out);
}
.dock > [data-theme-toggle] {
  grid-row: 1;
  grid-column: 2;
}
.dock > .dock-cta {
  grid-row: 1;
  grid-column: 3;
  min-height: 40px;
  padding: 0 14px;
}
.label-full {
  display: none;
}
.dock > .dock-action {
  transition:
    color var(--dur-hover) ease-out,
    background var(--dur-hover) ease-out,
    transform var(--dur-press) var(--ease-out);
}
.site-header::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  pointer-events: none;
}
.dock::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    150deg,
    var(--glass-edge-hi) 0%,
    transparent 30%,
    transparent 70%,
    var(--glass-edge-lo) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
}
.dock[data-drag] .tab-lens {
  transition-duration: 0ms, var(--dur-hover), var(--dur-press), var(--dur-hover), var(--dur-hover);
}
.dock[data-drag] .dock-link {
  -webkit-user-drag: none;
}
.dock[data-drag] .dock-link[data-scrub] {
  color: var(--tab-active);
}
@media (max-width: 560px) {
  .brand-logo {
    height: 26px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .dock-link:hover,
  .dock-action:hover {
    color: var(--ink);
  }
  .dock-link.is-current:hover {
    color: var(--tab-active);
  }
  .dock-cta:hover {
    background: color-mix(in srgb, var(--orange) 26%, transparent);
    color: var(--tab-active);
  }
}
@media (max-width: 1250px) and (min-width: 1081px) {
  .dock-action {
    padding-inline: 10px;
  }
}
@media (max-width: 400px) {
  .dock {
    padding-inline: 4px;
  }
  .dock-link {
    font-size: 0.625rem;
    letter-spacing: -0.01em;
  }
}
@media (max-width: 700px) {
  .site-header .shell {
    width: calc(100% - 2 * max(var(--gutter), env(safe-area-inset-left, 0px)));
  }
  .dock {
    max-width: none;
    width: calc(100% - 28px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .dock {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .dock::before {
    display: none;
  }
}
@media (prefers-contrast: more) {
  .dock {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow:
      inset 0 0 0 1.5px var(--ink),
      var(--glass-shadow);
  }
  .dock::before {
    display: none;
  }
  .dock-link,
  .dock-action {
    color: var(--ink);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dock,
  .tab-lens {
    transition: none;
  }
}
/* Card dei percorsi nella hero della home (Privati, Gaming, ...) con cerchio della freccia.
   Viene prima di hero.css: .hero-home .path-card ne ridefinisce il materiale. */
.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px;
  border-radius: var(--r-card);
}
.path-index {
  margin-bottom: 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
}
.path-card strong {
  line-height: 1.2;
  max-width: 200px;
  font-size: var(--fs-lg);
  font-weight: 600;
}
.path-card small {
  color: var(--muted);
  font-size: var(--fs-xs);
  margin-top: 5px;
  max-width: 205px;
}
.path-arrow {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  right: 12px;
  top: 10px;
  border-radius: 50%;
  transition:
    background var(--dur-hover) ease-out,
    color var(--dur-hover) ease-out;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.path-arrow .arw {
  transition: transform 260ms var(--ease-drawer);
}
.path-card:focus-visible .path-arrow {
  background: var(--orange);
  color: var(--on-accent);
}
.path-arrow .arw > .icon {
  width: 16px;
  height: 16px;
}
@media (hover: hover) and (pointer: fine) {
  .path-card:hover .path-arrow {
    background: var(--orange);
    color: var(--on-accent);
  }
}
/* Hero della home e delle pagine interne: testi centrati in asse con il dock, scene illustrative
   generate come sfondo (--hero-image per pagina, versione mobile sotto 700px; mai presentate come
   foto del negozio), token di colore chiari sopra l'immagine, ingresso a cascata solo in CSS. */
.hero-home {
  padding: clamp(40px, 6vw, 80px) 0;
  padding-block: clamp(48px, 6vw, 88px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 0;
  --ink: #fcfaf4;
  --muted: #dedbd5;
  --line: #777975;
  --orange-hover: #ffac52;
  color: var(--ink);
  --hero-image: url('../assets/images/hero-home-laboratorio.webp');
}
.hero-home-inner {
  display: grid;
  min-height: 0;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: 1fr;
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  align-items: center;
  text-align: center;
}
.hero-copy h1 {
  margin: 0 0 20px;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
  text-align: left;
}
.hero-lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  max-width: 60ch;
}
.hero-page {
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  padding-block: clamp(56px, 8vw, 104px);
  text-align: center;
  --ink: #fcfaf4;
  --muted: #dedbd5;
  --line: #777975;
  --orange-hover: #ffac52;
  color: var(--ink);
  --hero-image: inherit;
}
.hero-page-inner > * {
  max-width: none;
  animation: hero-fade 150ms ease-out both;
}
.hero-page h1 {
  margin: 0 0 20px;
}
.hero-page .hero-lead {
  margin: 0 0 28px;
  color: var(--muted);
}
.hero-copy .hero-lead {
  margin-bottom: 32px;
}
html[data-theme='dark'] .hero-home {
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(255, 131, 0, 0.3), transparent 70%),
    radial-gradient(45% 70% at 92% 18%, rgba(240, 19, 28, 0.2), transparent 70%),
    radial-gradient(50% 60% at 60% 110%, rgba(255, 131, 0, 0.12), transparent 70%), #161818;
  background-color: var(--anthracite);
  background-image: var(--hero-scrim), var(--hero-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 55%;
}
.hero-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange) 32%, transparent);
  color: #ffac52;
}
.hero-copy h1 em {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-home .path-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out),
    border-color var(--dur-hover) ease-out;
  background: rgba(22, 24, 24, 0.88);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
html[data-theme='dark'] .hero-home .path-card {
  background: rgba(22, 24, 24, 0.88);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.hero-home .path-card:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}
.hero-page-inner {
  max-width: 780px;
}
.hero-page .cta-pair {
  justify-content: center;
}
.hero-copy .eyebrow {
  width: fit-content;
}
.page-privati {
  --hero-image: url('../assets/images/hero-privati.webp');
}
.page-gaming {
  --hero-image: url('../assets/images/hero-gaming.webp');
}
.page-assistenza {
  --hero-image: url('../assets/images/hero-assistenza.webp');
}
.page-servizi-contatti {
  --hero-image: url('../assets/images/hero-servizi.webp');
}
.page-privacy,
.page-404 {
  --hero-image: url('../assets/images/hero-pc-expert-custom.webp');
}
.hero-home .hero-lead {
  color: var(--muted);
}
.hero-page .eyebrow {
  color: #ffac52;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(var(--hero-shift, 12px));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-copy > * {
  animation: hero-fade 150ms ease-out both;
}
@media (max-width: 1080px) {
  .hero-paths {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .hero-home-inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero-paths {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .hero-home .shell {
    width: min(calc(100% - 32px), var(--container));
  }
  .hero-copy {
    padding: 28px 0 0;
  }
  .hero-paths {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .hero-home .shell {
    width: calc(100% - 40px);
  }
  .hero-home {
    --hero-image: url('../assets/images/hero-home-laboratorio-mobile.webp');
  }
  .page-privati {
    --hero-image: url('../assets/images/hero-privati-mobile.webp');
  }
  .page-gaming {
    --hero-image: url('../assets/images/hero-gaming-mobile.webp');
  }
  .page-assistenza {
    --hero-image: url('../assets/images/hero-assistenza-mobile.webp');
  }
  .page-servizi-contatti {
    --hero-image: url('../assets/images/hero-servizi-mobile.webp');
  }
  .page-privacy,
  .page-404 {
    --hero-image: url('../assets/images/hero-pc-expert-custom-mobile.webp');
  }
}
@media (hover: hover) and (pointer: fine) {
  .hero-home .path-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
    box-shadow: 0 18px 40px rgba(255, 131, 0, 0.22);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-home .path-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .path-card,
  .hero-home .path-card:hover {
    transform: none;
    transition: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    --hero-shift: 12px;
    animation: hero-in 450ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 60ms);
  }
  .hero-page-inner > * {
    --hero-shift: 8px;
    animation: hero-in 350ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 50ms);
  }
  :is(.hero-copy, .hero-page-inner) > :nth-child(2) {
    --i: 1;
  }
  :is(.hero-copy, .hero-page-inner) > :nth-child(3) {
    --i: 2;
  }
  :is(.hero-copy, .hero-page-inner) > :nth-child(4) {
    --i: 3;
  }
  :is(.hero-copy, .hero-page-inner) > :nth-child(5) {
    --i: 4;
  }
}
/* Servizi rapidi (home): pannello arancio, tile scure e CTA coerenti con i .button; frecce in
   cerchio come .tile-go del footer. */
.ribbon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ribbon-head > div {
  font-size: var(--fs-xs);
  display: flex;
  align-items: center;
  gap: 9px;
}
.ribbon-head a {
  font-weight: 600;
  font-size: var(--fs-xs);
}
.ribbon-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ribbon-items > a {
  display: flex;
  gap: 16px;
  min-width: 0;
}
.ribbon-icon {
  justify-content: center;
}
.ribbon-items strong {
  display: block;
  font-size: var(--fs-md);
  line-height: 1.3;
  white-space: nowrap;
}
.ribbon-items small {
  display: block;
  font-size: var(--fs-xs);
  margin-top: 3px;
  line-height: 1.3;
}
.ribbon-icon .icon {
  width: var(--icon-glyph);
  height: var(--icon-glyph);
  stroke-width: 1.6;
}
.service-ribbon .ribbon-head {
  margin-bottom: 16px;
}
.service-ribbon .ribbon-head > div {
  font-weight: 700;
  color: var(--on-accent);
}
.service-ribbon .ribbon-head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  background: var(--anthracite);
  color: #fff;
  transition:
    background 0.2s,
    transform var(--dur-press) var(--ease-out);
  padding: 2px 2px 2px 16px;
  min-height: 36px;
}
@media (hover: hover) and (pointer: fine) {
  .service-ribbon .ribbon-head a:hover {
    background: var(--anthracite-hover);
    color: #fff;
  }
}
.service-ribbon .ribbon-head a:active {
  transform: scale(0.97);
}
.service-ribbon .ribbon-items {
  gap: 10px;
}
.service-ribbon .ribbon-items > a {
  align-items: center;
  min-height: 78px;
}
.service-ribbon .ribbon-items > a:nth-child(odd),
.service-ribbon .ribbon-items > a:nth-child(even),
.service-ribbon .ribbon-items > a:nth-child(3) {
  padding: 14px 18px;
  border: 0;
  border-radius: var(--r-card);
  background: var(--anthracite);
  color: #fff;
  transition:
    background 0.2s,
    transform var(--dur-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .service-ribbon .ribbon-items > a:hover {
    background: var(--anthracite-hover);
  }
}
.service-ribbon .ribbon-items > a:active {
  transform: scale(0.97);
}
.service-ribbon .ribbon-icon {
  display: grid;
  place-items: center;
  flex: 0 0 var(--icon-box);
  width: var(--icon-box);
  height: var(--icon-box);
  border: 0;
  border-radius: var(--icon-radius);
  background: var(--icon-bg);
  box-shadow: var(--icon-ring);
  color: var(--orange);
}
.service-ribbon .ribbon-items small {
  color: #c9c6be;
}
.service-ribbon .rib-arr {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  align-self: center;
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition:
    transform 260ms var(--ease-drawer),
    background var(--dur-hover) ease-out,
    color var(--dur-hover) ease-out;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.service-ribbon .ribbon-head a > span {
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition:
    transform 260ms var(--ease-drawer),
    background var(--dur-hover) ease-out,
    color var(--dur-hover) ease-out;
  width: 28px;
  height: 28px;
  margin-left: 0;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.service-ribbon .rib-arr .arw > .icon,
.service-ribbon .ribbon-head a > span .arw > .icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 1250px) {
  .ribbon-items > a {
    gap: 12px;
  }
  .ribbon-items strong {
    font-size: var(--fs-sm);
  }
}
@media (max-width: 1080px) {
  .ribbon-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ribbon-items > a {
    gap: 9px;
  }
  .ribbon-items strong {
    font-size: var(--fs-sm);
  }
  .ribbon-items small,
  .ribbon-head > div,
  .ribbon-head a {
    font-size: var(--fs-xs);
  }
}
@media (hover: hover) and (pointer: fine) {
  .service-ribbon .ribbon-items > a:hover .rib-arr,
  .service-ribbon .ribbon-head a:hover > span {
    transform: translate(2px, -2px);
    background: var(--orange);
    color: var(--on-accent);
  }
}
@media (max-width: 700px) {
  .service-ribbon .ribbon-items {
    gap: 8px;
  }
  .service-ribbon .ribbon-items > a {
    min-height: 72px;
  }
  .service-ribbon .ribbon-items > a:nth-child(odd),
  .service-ribbon .ribbon-items > a:nth-child(even),
  .service-ribbon .ribbon-items > a:nth-child(3) {
    padding: 14px;
  }
  .service-ribbon .rib-arr {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-ribbon .ribbon-items > a:active,
  .service-ribbon .ribbon-head a:active,
  .service-ribbon .ribbon-items > a:hover .rib-arr,
  .service-ribbon .ribbon-head a:hover > span {
    transform: none;
  }
}
/* Card dei pilastri (home): slot foto (placeholder finché il cliente non fornisce le foto: le
   regole .pillar-image img restano per quel momento) e CTA uniforme. */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
.pillar-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(32, 33, 33, 0.35);
  }
}
.pillar-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 24px 24px 26px;
}
.pillar-kicker {
  font-size: var(--fs-xs);
  color: var(--orange-hover);
  font-weight: 600;
  margin-bottom: 12px;
}
.pillar-content h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.pillar-content p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
  margin-bottom: 26px;
}
.pillar-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pillar-image.is-placeholder {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--orange) 9%, var(--surface-2));
  color: var(--orange-hover);
}
.pillar-content .button {
  margin-top: auto;
}
@media (hover: hover) and (pointer: fine) {
  .pillar-card:hover .button-outline {
    background: var(--ink);
    color: var(--bg);
  }
}
@media (hover: hover) and (pointer: fine) {
  .pillar-card:hover .pillar-image img {
    transform: scale(1.02);
  }
}
@media (max-width: 1250px) {
  .pillar-image {
    height: 210px;
  }
}
@media (max-width: 1080px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-image {
    height: 260px;
  }
}
@media (max-width: 560px) {
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pillar-image {
    height: auto;
  }
}
.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms var(--ease-out);
}
.pillar-image.is-placeholder .icon {
  width: 48px;
  height: 48px;
  stroke-width: 1.4;
}
@media (max-width: 560px) {
  .pillar-content p {
    font-size: var(--fs-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pillar-card {
    transition: none;
  }
  .pillar-card:hover {
    transform: none;
  }
}
/* Fiducia e prova sociale (home): bento con numero grande, proof card, fascia visita. */
.trust-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  align-items: stretch;
}
.trust-number {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  padding: 40px;
  border: 0;
  border-radius: var(--r-card);
  background: var(--orange);
  color: #171717;
  min-height: 440px;
}
.huge-number {
  font-weight: 700;
  line-height: 1;
}
.trust-text {
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust-text h2 {
  margin-bottom: 23px;
}
.trust-text > p:not(.eyebrow) {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 550px;
  line-height: 1.75;
}
.trust-text .accent-dot {
  color: var(--red) !important;
}
.trust-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 0;
  margin-top: auto;
  padding-top: 36px;
}
.trust-foot strong {
  font-weight: 600;
  display: block;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
}
.trust-foot span {
  font-size: var(--fs-xs);
}
.proof-inner {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 60px;
}
.proof-inner .section-heading {
  margin: 0;
}
.proof-card {
  background: var(--surface);
  padding: 41px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--r-card);
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
}
.proof-badge-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  color: var(--orange-hover);
}
.proof-badge-icon .icon {
  width: 16px;
  height: 16px;
}
.proof-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 26px 0 10px;
  max-width: 22ch;
}
.proof-card > p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0 0 30px;
  color: var(--muted);
}
.visit-band {
  background: var(--orange);
  padding: 60px 0;
  color: #181818;
}
.visit-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.visit-band .eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #3a1d00;
}
.visit-band h2 {
  margin-bottom: 15px;
}
.visit-band p {
  font-weight: 600;
  margin: 0;
  font-size: var(--fs-md);
}
.trust-number > p {
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.3;
  max-width: 15em;
  margin: 0 0 8px;
}
.trust-number .eyebrow {
  color: #171717;
  opacity: 0.75;
  margin: 0 0 auto;
}
.trust-number > * {
  position: relative;
  z-index: 1;
}
.trust-number .huge-number {
  font-size: clamp(6rem, 11vw, 9rem);
  letter-spacing: -0.06em;
  margin: 0 0 -4px -6px;
  color: #171717;
}
.trust-number .huge-number span {
  color: #171717;
  opacity: 0.55;
  font-size: 0.4em;
  margin-left: 4px;
  vertical-align: top;
  letter-spacing: 0;
}
.trust-number .button {
  align-self: flex-start;
}
.trust-foot > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 24px;
}
.trust-foot > div > span:last-child {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.4;
}
.trust-icon {
  display: grid !important;
  margin: 0 0 22px !important;
  color: var(--orange-hover) !important;
  place-items: center;
  flex: 0 0 var(--icon-box);
  width: var(--icon-box);
  height: var(--icon-box);
  border: 0;
  border-radius: var(--icon-radius);
  background: var(--icon-bg);
  box-shadow: var(--icon-ring);
}
.trust-icon .icon {
  width: var(--icon-glyph);
  height: var(--icon-glyph);
  stroke-width: 1.6;
}
@media (max-width: 1080px) {
  .proof-inner {
    gap: 30px;
  }
}
@media (max-width: 800px) {
  .proof-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    align-items: stretch;
  }
  .trust-foot,
  .proof-card {
    max-width: 700px;
  }
}
@media (max-width: 560px) {
  .trust-foot span {
    font-size: var(--fs-xs);
  }
  .proof-card {
    padding: 25px;
  }
  .visit-band {
    padding: 45px 0;
  }
  .visit-band-inner {
    display: block;
  }
  .visit-band .button {
    margin-top: 22px;
  }
}
@media (max-width: 1000px) {
  .trust-layout {
    grid-template-columns: 1fr;
  }
  .trust-number {
    min-height: 340px;
    padding: 30px;
    border-bottom: 0;
  }
  .trust-text {
    padding: 8px 0 0;
  }
  .trust-foot {
    margin-top: 0;
  }
}
@media (max-width: 640px) {
  .trust-foot {
    grid-template-columns: 1fr;
  }
  .trust-foot > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    padding: 16px;
  }
  .trust-icon {
    grid-row: span 2;
    margin: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trust-foot > div {
    transition: none;
  }
  .trust-foot > div:hover {
    transform: none;
  }
}
/* Azioni fisse: contatto WhatsApp flottante e torna su (stesso vetro del dock, compare con
   scala e opacità). */
.floating-contact:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}
.scroll-top:active {
  transform: scale(0.97);
}
.floating-contact {
  position: fixed;
  bottom: 26px;
  right: 27px;
  z-index: 48;
  background: var(--orange);
  color: #171717;
  border: 1px solid transparent;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 17px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-weight: 600;
  transition:
    transform var(--dur-press) var(--ease-out),
    opacity 0.2s;
  border-radius: var(--r-pill);
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 27px;
  z-index: 20;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  border: 0;
  border-radius: 50%;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  background:
    linear-gradient(160deg, var(--glass-sheen, rgba(255, 255, 255, 0.4)) 0%, transparent 45%),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(1.9) brightness(1.04);
  backdrop-filter: blur(28px) saturate(1.9) brightness(1.04);
  box-shadow:
    inset 0 1px 0 var(--glass-rim),
    inset 0 -1px 0 var(--glass-rim-low),
    inset 0 0 12px 1px var(--glass-inner, transparent),
    var(--glass-shadow);
  transform: translateY(8px) scale(0.85);
  transition:
    opacity 220ms ease-out,
    transform 340ms var(--ease-drawer);
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.floating-contact .icon {
  vertical-align: 0;
}
.scroll-top .icon {
  width: 20px;
  height: 20px;
  transition: transform 260ms var(--ease-drawer);
}
.scroll-top.is-visible:active {
  transform: scale(0.94);
  transition-duration: 100ms;
}
.floating-contact .arw > .icon {
  width: 14px;
  height: 14px;
}
.floating-contact .icon-fill {
  stroke: none;
  width: 20px;
  height: 20px;
}
@media (max-width: 560px) {
  .floating-contact {
    right: 14px;
    bottom: 14px;
    min-height: 49px;
    padding: 9px 14px;
  }
  .scroll-top {
    left: 13px;
    bottom: 17px;
    width: 44px;
    height: 44px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .scroll-top.is-visible:hover {
    color: var(--ink);
  }
  .scroll-top.is-visible:hover .icon {
    transform: translateY(-3px);
  }
  .floating-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(255, 131, 0, 0.75);
  }
  .floating-contact:active {
    transform: scale(0.97);
    box-shadow: none;
    transition-duration: 100ms;
  }
  .floating-contact {
    transition-property: background, border-color, color, transform, box-shadow;
    transition-duration:
      var(--dur-hover), var(--dur-hover), var(--dur-hover), var(--dur-press), 260ms;
    transition-timing-function: ease, ease, ease, var(--ease-out), var(--ease-out);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top,
  .scroll-top.is-visible {
    transform: none;
    transition: opacity var(--dur-hover) ease;
  }
  .scroll-top .icon {
    transition: none;
    transform: none !important;
  }
  .floating-contact:hover {
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .scroll-top {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .scroll-top {
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }
}

/* Nascosto mentre la CTA principale è in vista; l'attributo inert (impostato dal JS) lo toglie anche da tastiera. */
.floating-contact[data-hidden] {
  opacity: 0;
  pointer-events: none;
}
/* Frecce e CTA, sistema unico di motion: .arw (generato da {% icon "arrow-up-right" %}) impila due
   frecce in un cerchio; all'hover o al focus dell'antenato a/button la prima esce in alto a destra e
   la seconda rientra (stagger 40ms, solo transform). Dove il cerchio esiste già (.tile-go, .rib-arr,
   .path-arrow, pillola del ribbon) .arw resta trasparente.
   Viene dopo i componenti: le sue misure prevalgono su quelle di .floating-contact .icon,
   .rib-arr .icon e .path-arrow .icon. */
.arw {
  display: inline-grid;
  flex: none;
  overflow: hidden;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 12%, transparent);
  vertical-align: middle;
  transition: background var(--dur-hover) ease-out;
}
.arw > .icon {
  grid-area: 1 / 1;
  vertical-align: 0;
  transition: transform 380ms var(--ease-drawer);
  width: 14px;
  height: 14px;
}
.arw > .icon:last-child {
  transition-delay: 40ms;
  transform: translate(-150%, 150%);
}
:is(a, button):is(:focus-visible) .arw > .icon:first-child {
  transition-delay: 0ms;
}
:is(a, button):focus-visible .arw > .icon:first-child {
  transform: translate(150%, -150%);
}
:is(a, button):focus-visible .arw > .icon:last-child {
  transform: none;
  transition-delay: 40ms;
}
@media (hover: hover) and (pointer: fine) {
  :is(a, button):hover .arw > .icon:first-child {
    transform: translate(150%, -150%);
  }
  :is(a, button):hover .arw > .icon:last-child {
    transform: none;
  }
  :is(a, button):hover .arw {
    background: color-mix(in srgb, currentColor 20%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .arw > .icon {
    transition: none;
    transform: none !important;
  }
  .arw > .icon:last-child {
    display: none;
  }
}
/* Footer: pannello scuro unico, CTA grande (a destra del titolo sopra 900px), tile in vetro,
   wordmark SVG (textLength distribuisce le lettere da bordo a bordo). */
.site-footer {
  margin: 0 var(--gutter) var(--gutter);
  border-radius: var(--r-panel);
  border: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #121414;
  color: #f0ede6;
  margin-inline: max(var(--gutter), env(safe-area-inset-left, 0px))
    max(var(--gutter), env(safe-area-inset-right, 0px));
  margin-bottom: max(var(--gutter), env(safe-area-inset-bottom, 0px));
  transition: background-color 300ms ease;
  padding-top: clamp(88px, 9vw, 160px);
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto;
  height: 90%;
  z-index: -1;
  background:
    radial-gradient(40% 55% at 22% 30%, rgba(255, 131, 0, 0.26), transparent 70%),
    radial-gradient(34% 50% at 82% 10%, rgba(240, 19, 28, 0.16), transparent 70%);
  pointer-events: none;
}
.footer-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-hero h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.2rem + 5.6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
  color: var(--on-dark);
}
.footer-hero h2 span {
  display: block;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}
.footer-tiles {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-block: clamp(40px, 6vw, 72px) 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
}
.footer-tile {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  height: 100%;
  min-height: 188px;
  padding: 24px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  transition:
    transform 260ms var(--ease-drawer),
    background var(--dur-hover) ease-out;
}
.footer-tile:active {
  transform: scale(0.98);
}
.tile-icon {
  display: grid;
  place-items: center;
  flex: 0 0 var(--icon-box);
  width: var(--icon-box);
  height: var(--icon-box);
  border: 0;
  border-radius: var(--icon-radius);
  background: var(--icon-bg);
  box-shadow: var(--icon-ring);
  color: var(--orange);
  margin-bottom: 22px;
}
.tile-icon .icon {
  width: var(--icon-glyph);
  height: var(--icon-glyph);
  stroke-width: 1.6;
}
.tile-label {
  font-size: var(--fs-lg);
  font-weight: 650;
  letter-spacing: -0.012em;
  color: var(--on-dark);
}
.tile-value {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: #b4b1aa;
}
.tile-go {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition:
    transform 260ms var(--ease-drawer),
    background var(--dur-hover) ease-out,
    color var(--dur-hover) ease-out;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #8a8781;
  font-size: var(--fs-xs);
}
.footer-bottom > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover {
    color: var(--orange);
  }
}
.footer-mark {
  text-align: center;
  font-size: clamp(3.5rem, 15.5vw, 15rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  overflow: visible;
  transform: translateY(14%);
  user-select: none;
  font-family: inherit;
  font-weight: 800;
}
.footer-mark-wrap {
  container-type: inline-size;
  overflow: hidden;
}
:is(.tile-go, .rib-arr, .path-arrow, .ribbon-head a > span) .arw {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none !important;
  overflow: hidden;
}
.tile-go .arw > .icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 700px) {
  .site-footer .shell {
    width: calc(100% - 40px);
  }
}
@media (min-width: 901px) {
  .footer-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 48px;
    align-items: end;
  }
  .footer-hero .eyebrow {
    grid-column: 1 / -1;
  }
  .footer-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    padding-bottom: 0.4em;
  }
}
@media (hover: hover) and (pointer: fine) {
  .footer-tile:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .footer-tile:hover .tile-go {
    transform: translate(2px, -2px);
    background: var(--orange);
    color: var(--on-accent);
  }
}
@media (max-width: 900px) {
  .footer-tiles {
    grid-template-columns: 1fr;
  }
  .footer-tile {
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .footer-actions .button {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom > div {
    flex-wrap: wrap;
  }
  .tile-icon {
    margin-bottom: 14px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .footer-tile {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #23262a;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-tile,
  .tile-go,
  .site-footer {
    transition: none;
  }
}
/* Pagina Privati: catalogo con filtri (categoria e condizione), schede prodotto, ricondizionati,
   toner. */
.filter-chip:active {
  transform: scale(0.97);
}
.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
}
.catalog-head h2 {
  margin: 0 0 18px;
}
.catalog-disclaimer {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 660px;
  line-height: 1.65;
  margin: 0;
}
.catalog-count {
  font-size: var(--fs-sm);
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 4px;
}
.catalog-count span {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  margin-right: 2px;
}
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-chip {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  padding: 8px 16px;
  min-height: 44px;
  font-size: var(--fs-sm);
  transition:
    background 0.2s,
    color 0.2s,
    border 0.2s,
    transform var(--dur-press) var(--ease-out);
  font-weight: 600;
  border-radius: var(--r-pill);
}
@media (hover: hover) and (pointer: fine) {
  .filter-chip:hover {
    color: var(--ink);
    background: color-mix(in srgb, var(--ink) 6%, transparent);
  }
}
.filter-chip.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  font-weight: 600;
}
.filter-group-secondary {
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.filter-group-secondary .filter-chip {
  min-height: 38px;
  padding: 6px 16px;
}
@media (hover: hover) and (pointer: fine) {
  .filter-group-secondary .filter-chip:hover {
    background: transparent;
  }
}
.filter-group-secondary .filter-chip.is-active {
  background: var(--surface);
  color: var(--ink);
  border-color: transparent;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.product-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
  border-radius: var(--r-card);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -18px rgba(32, 33, 33, 0.28);
  }
}
/* Segnaposto immagine prodotto (wireframe): sostituire con <img> quando le immagini saranno pronte. */
.product-media {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: calc(var(--r-card) - 8px);
  border: 1px dashed var(--line);
  background:
    linear-gradient(
      to top right,
      transparent calc(50% - 0.5px),
      var(--line) 50%,
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      to bottom right,
      transparent calc(50% - 0.5px),
      var(--line) 50%,
      transparent calc(50% + 0.5px)
    ),
    color-mix(in srgb, var(--muted) 6%, transparent);
}
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.product-meta > span:first-child {
  color: var(--orange-hover);
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
}
.product-meta > span:last-child {
  color: var(--muted);
  font-weight: 500;
}
.product-card h3 {
  margin: 22px 0 8px;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 360px;
}
.product-card > p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
  min-height: 40px;
  margin-bottom: 26px;
}
.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.product-price {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
}
.product-price small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
}
.empty-products {
  padding: 40px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: var(--r-card);
}
.refurb-section {
  background: var(--anthracite);
  color: white;
}
.refurb-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 80px;
  align-items: end;
}
.refurb-lead h2 {
  margin: 0 0 23px;
}
.refurb-lead > p:last-child {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: #c6c2b9;
  max-width: 480px;
}
.refurb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.refurb-steps > div {
  border-top: 1px solid #5a5b58;
  padding-top: 17px;
}
.refurb-steps span {
  color: var(--orange);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.refurb-steps h3 {
  margin: 28px 0 12px;
}
.refurb-steps p {
  font-size: var(--fs-sm);
  color: #c6c2b9;
  line-height: 1.7;
}
.toner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.toner-inner h2 {
  margin: 0 0 14px;
}
.toner-inner p:last-child {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
}
@media (max-width: 1250px) {
  .refurb-inner {
    gap: 45px;
  }
}
@media (max-width: 800px) {
  .refurb-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .toner-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    display: block;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-controls {
    flex-direction: column;
  }
  .refurb-steps {
    gap: 16px;
  }
  .toner-inner .inline-form {
    margin-top: 28px;
    max-width: none;
  }
}
@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .catalog-head {
    display: block;
  }
  .catalog-count {
    margin-top: 20px;
  }
  .catalog-controls {
    align-items: flex-start;
  }
  .filter-group {
    gap: 5px;
  }
  .filter-chip {
    padding: 7px 11px;
    font-size: var(--fs-xs);
  }
  .product-card > p {
    min-height: 0;
  }
  .refurb-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .refurb-steps h3 {
    margin: 12px 0 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
  .product-card:hover {
    transform: none;
  }
}
/* Pagina Gaming: processo in quattro passi e modulo di preventivo. */
.process-section .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-section .process-grid > div {
  position: relative;
  padding: 28px 26px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition:
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
}
.process-section .step-number {
  display: block;
  margin: 0 0 56px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-section .process-grid h3 {
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.process-section .process-grid p {
  margin-bottom: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.estimate-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.estimate-copy {
  position: sticky;
  top: 110px;
}
.estimate-copy h2 {
  margin: 25px 0 24px;
}
.estimate-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--fs-md);
  max-width: 500px;
  line-height: 1.7;
}
.estimate-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
  border-radius: var(--r-card);
}
.form-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 19px;
}
.form-header > span:last-child {
  color: var(--orange);
  font-size: var(--fs-h3);
}
.estimate-form fieldset {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
  min-width: 0;
}
.estimate-form legend {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: 13px;
}
@media (hover: hover) {
  .process-section .process-grid > div:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}
.process-section .process-grid > div:active {
  transform: scale(0.99);
  transition-duration: 100ms;
}
@media (prefers-reduced-motion: reduce) {
  .process-section .process-grid > div,
  .process-section .process-grid > div:hover,
  .process-section .process-grid > div:active {
    transform: none;
    transition: none;
  }
}
@media (max-width: 1080px) {
  .estimate-layout {
    gap: 35px;
  }
  .estimate-form {
    padding: 25px;
  }
}
@media (max-width: 800px) {
  .estimate-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .estimate-copy {
    position: static;
  }
}
@media (max-width: 560px) {
  .process-grid > div {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 15px;
  }
  .step-number {
    grid-row: span 2;
  }
  .process-section .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-section .process-grid > div {
    padding: 22px 20px;
  }
  .process-section .step-number {
    margin: 0;
    font-size: 1.75rem;
  }
  .process-grid h3 {
    margin: 0 0 8px;
  }
  .process-grid p {
    margin: 0 0 12px;
  }
  .estimate-form {
    padding: 19px;
  }
  .estimate-form fieldset {
    margin-bottom: 24px;
  }
}
@media (min-width: 561px) and (max-width: 1000px) {
  .process-section .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.build-gallery-section .build-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.build-gallery-card {
  margin: 0;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}
.build-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .build-gallery-card:hover img {
    transform: scale(1.03);
  }
}
@media (prefers-reduced-motion: reduce) {
  .build-gallery-card img {
    transition: none;
  }
  .build-gallery-card:hover img {
    transform: none;
  }
}
@media (max-width: 1080px) {
  .build-gallery-section .build-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .build-gallery-section .build-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* Pagina Assistenza: fascia problema, elenco riparazioni, stato riparazione. */
.tracking-form input {
  width: 100%;
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  height: 49px;
  padding: 10px 15px;
  border-radius: var(--r-ctrl);
  outline-color: var(--orange);
}
.tracking-form input::placeholder {
  color: #898986;
}
.problem-band {
  background: #242525;
  color: #fff;
  padding: 56px 0;
}
.problem-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 45px;
  align-items: center;
}
.problem-inner h2 {
  margin: 0;
}
.problem-inner > p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 360px;
  color: #d4d1ca;
  margin: 0;
}
.repair-list {
  border-top: 2px solid var(--ink);
}
.repair-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.repair-row:active {
  opacity: 0.6;
  transition: none;
}
.repair-num {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--orange-hover);
}
.repair-name h3 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.repair-name p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.5;
}
.repair-go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.tracking-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 75px;
  align-items: end;
}
.tracking-inner h2 {
  margin: 0 0 23px;
}
.tracking-inner p {
  color: var(--muted);
  max-width: 600px;
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0;
}
.tracking-form {
  background: var(--surface);
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.tracking-form > label {
  font-size: var(--fs-sm);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.tracking-input-row {
  display: flex;
  gap: 7px;
}
.tracking-form small {
  color: var(--muted);
  font-size: var(--fs-xs);
  display: block;
  margin-top: 15px;
}
@media (hover: hover) {
  .repair-row:hover {
    padding-left: 8px;
  }
  .repair-row:hover .repair-go {
    background: var(--orange);
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .repair-row {
    transition: none;
  }
  .repair-row:hover {
    padding-left: 0;
  }
}
@media (max-width: 1080px) {
  .problem-inner {
    grid-template-columns: 1fr 1fr;
  }
  .problem-inner > .button {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 800px) {
  .tracking-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .problem-inner {
    gap: 25px;
  }
}
@media (max-width: 560px) {
  .tracking-input-row {
    flex-direction: column;
  }
  .tracking-input-row .button {
    width: 100%;
  }
  .problem-inner {
    grid-template-columns: 1fr;
  }
  .problem-inner > .button {
    grid-column: auto;
  }
  .tracking-form {
    padding: 22px;
  }
}
/* Pagina Aziende, layout editoriale: blocco problema, servizi come pill di vetro che si impilano
   allo scroll (stesso materiale del dock; --cover scritto da js/main.js fa arretrare la pill
   coperta; sopra 800px titolo e pila condividono il centro verticale), timeline dei passi che si
   disegna una volta, modulo di check-up in vetro. */
.page-aziende {
  --hero-image: url('../assets/images/hero-aziende.webp');
}
.page-aziende .az-statement {
  text-align: center;
  padding: clamp(88px, 13vw, 180px) 0 clamp(72px, 10vw, 130px);
  background: var(--surface-2);
  color: var(--ink);
}
.page-aziende .az-statement-head {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.page-aziende .az-statement h2 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.page-aziende .az-risks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0;
  max-width: 1000px;
  margin-inline: auto;
}
.page-aziende .az-risks li {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: baseline;
  display: block;
  padding: 8px clamp(16px, 3vw, 40px);
  border-bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.page-aziende .az-risks h3 {
  margin: 0;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  color: var(--tab-active);
}
.page-aziende .az-risks p {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  margin-inline: auto;
  color: var(--muted);
}
.page-aziende .az-services {
  background: var(--bg);
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 140px);
  position: relative;
  overflow: clip;
  isolation: isolate;
}
.page-aziende .az-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: stretch;
}
.page-aziende .az-services-head {
  position: sticky;
  top: 104px;
  align-self: start;
}
.page-aziende .az-services h2,
.page-aziende .az-steps-section h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.page-aziende .az-checkup h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  margin-bottom: 24px;
}
.page-aziende .az-service-list {
  list-style: none;
  margin: 0;
  border-top: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 8vh, 80px);
  align-items: center;
}
.page-aziende .az-service-list li {
  --cover: 0;
  position: sticky;
  top: calc(104px + var(--i) * 22px);
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px 22px;
  border: 0;
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(14px) saturate(1.7);
  backdrop-filter: blur(14px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 var(--glass-rim),
    inset 0 -1px 0 var(--glass-rim-low),
    inset 0 0 0 1px var(--glass-rim-low),
    var(--glass-shadow);
  color: var(--ink);
  transform-origin: 50% 0;
}
.page-aziende .az-icon {
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  grid-row: 1 / span 2;
  padding: 0;
  border-radius: var(--r-pill);
  color: var(--tab-active);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim);
}
.page-aziende .az-service-list h3 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  letter-spacing: -0.028em;
  align-self: end;
  margin: 0;
  font-weight: 650;
}
.page-aziende .az-service-list p {
  max-width: 46ch;
  align-self: start;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.45;
}
.page-aziende .az-steps-section {
  background: var(--surface-2);
  padding: clamp(72px, 10vw, 140px) 0;
}
.page-aziende .az-steps-head {
  margin-bottom: clamp(40px, 6vw, 80px);
}
.page-aziende .az-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 64px);
}
.page-aziende .az-steps::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: var(--highlight-gradient);
  transform-origin: left center;
}
.page-aziende .az-steps li {
  position: relative;
  padding-top: 40px;
}
.page-aziende .az-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--surface-2);
}
.page-aziende .az-steps h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.page-aziende .az-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 34ch;
}
.page-aziende .az-checkup {
  background: #161818;
  color: #fcfaf4;
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.page-aziende .az-checkup::before {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -15vw;
  top: -20vw;
  background: radial-gradient(closest-side, rgba(255, 131, 0, 0.28), transparent);
  pointer-events: none;
}
.page-aziende .az-checkup-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
}
.page-aziende .az-checkup-inner > div > p:last-child {
  color: #ceccc5;
  line-height: 1.7;
  max-width: 50ch;
}
.page-aziende .az-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 28px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 32px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.7);
  backdrop-filter: blur(14px) saturate(1.7);
}
.page-aziende .az-form > label:not(.consent-line) {
  color: #f7f3eb;
  font-weight: 600;
  font-size: var(--fs-sm);
}
.page-aziende .az-form input:not([type='checkbox']),
.page-aziende .az-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  font-size: var(--fs-md);
  transition: border-color var(--dur-press) var(--ease-out);
}
.page-aziende .az-form select option {
  color: #1e1e1c;
}
.page-aziende .az-form input:focus,
.page-aziende .az-form select:focus {
  border-bottom-color: var(--orange);
  outline: none;
}
.page-aziende .az-form input::placeholder {
  color: #a9a69d;
}
.page-aziende .az-form .consent-line {
  margin: 0;
  color: #d5d2cb;
}
.has-js .az-steps::before {
  transform: scaleX(0);
  transition: transform 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.has-js .az-steps.is-visible::before {
  transform: scaleX(1);
}
.page-aziende .az-statement .eyebrow {
  color: var(--tab-active);
}
.page-aziende .az-risks li:first-child {
  border-left: 0;
}
.page-aziende .az-services::before {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  width: 38vw;
  height: 38vw;
  right: -6vw;
  top: 8%;
  background: radial-gradient(closest-side, var(--orange), transparent);
  opacity: 0.5;
}
.page-aziende .az-services::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  width: 30vw;
  height: 30vw;
  right: 14vw;
  bottom: -4%;
  background: radial-gradient(closest-side, var(--red), transparent);
  opacity: 0.32;
}
.page-aziende .az-service-list li:nth-child(1) {
  --i: 0;
}
.page-aziende .az-service-list li:nth-child(2) {
  --i: 1;
}
.page-aziende .az-service-list li:nth-child(3) {
  --i: 2;
}
.page-aziende .az-service-list li:nth-child(4) {
  --i: 3;
}
.page-aziende .az-service-list li > div {
  display: contents;
}
.has-js .az-service-list li .az-icon {
  opacity: 0;
  transition:
    opacity 380ms var(--ease-out),
    transform 380ms var(--ease-out);
  transform: scale(0.8);
}
.has-js .az-service-list li h3,
.has-js .az-service-list li p {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 380ms var(--ease-out),
    transform 380ms var(--ease-out);
}
.has-js .az-service-list li.is-in .az-icon {
  opacity: 1;
  transform: none;
}
.has-js .az-service-list li.is-in h3 {
  opacity: 1;
  transform: none;
  transition-delay: 60ms;
}
.has-js .az-service-list li.is-in p {
  opacity: 1;
  transform: none;
  transition-delay: 110ms;
}
.page-aziende .az-service-list li:nth-child(n) {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  scale: calc(1 - var(--cover) * 0.03);
  opacity: max(0.5, calc(1 - var(--cover) * 0.18));
  margin: 0 0 calc((3 - var(--i)) * 22px);
  min-height: 112px;
  max-width: 540px;
  padding: 20px clamp(28px, 3.5vw, 44px);
  width: 100%;
}
.page-aziende .az-icon .icon {
  width: 22px;
  height: 22px;
}
.has-js .az-steps > li,
.has-js .az-steps.is-visible > li {
  opacity: 1;
  transform: none;
  transition: none;
}
.has-js .az-steps .az-dot {
  opacity: 0;
  scale: 0.3;
  transition:
    opacity 260ms var(--ease-out),
    scale 520ms var(--ease-out);
}
.has-js .az-steps h3,
.has-js .az-steps p {
  opacity: 0;
  translate: 0 10px;
  transition:
    opacity 420ms var(--ease-out),
    translate 420ms var(--ease-out);
}
.has-js .az-steps.is-visible .az-dot {
  opacity: 1;
  scale: 1;
}
.has-js .az-steps.is-visible h3,
.has-js .az-steps.is-visible p {
  opacity: 1;
  translate: 0 0;
}
.has-js .az-steps.is-visible li:nth-child(1) .az-dot {
  transition-delay: 0ms;
}
.has-js .az-steps.is-visible li:nth-child(1) h3 {
  transition-delay: 90ms;
}
.has-js .az-steps.is-visible li:nth-child(1) p {
  transition-delay: 150ms;
}
.has-js .az-steps.is-visible li:nth-child(2) .az-dot {
  transition-delay: 420ms;
}
.has-js .az-steps.is-visible li:nth-child(2) h3 {
  transition-delay: 510ms;
}
.has-js .az-steps.is-visible li:nth-child(2) p {
  transition-delay: 570ms;
}
.has-js .az-steps.is-visible li:nth-child(3) .az-dot {
  transition-delay: 820ms;
}
.has-js .az-steps.is-visible li:nth-child(3) h3 {
  transition-delay: 910ms;
}
.has-js .az-steps.is-visible li:nth-child(3) p {
  transition-delay: 970ms;
}
@media (max-width: 700px) {
  .page-aziende {
    --hero-image: url('../assets/images/hero-aziende-mobile.webp');
  }
}
@media (prefers-reduced-transparency: reduce) {
  .page-aziende .az-service-list li {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (max-width: 800px) {
  .page-aziende .az-risks li {
    grid-template-columns: 1fr;
    gap: 6px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 24px 0 0;
    border-top-color: var(--line);
  }
  .page-aziende .az-services-layout,
  .page-aziende .az-checkup-inner {
    grid-template-columns: 1fr;
  }
  .page-aziende .az-services-head {
    position: static;
    top: auto;
  }
  .page-aziende .az-steps {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-left: 34px;
  }
  .page-aziende .az-steps::before {
    left: 6px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform-origin: center top;
  }
  .has-js .az-steps::before {
    transform: scaleY(0);
  }
  .has-js .az-steps.is-visible::before {
    transform: scaleY(1);
  }
  .page-aziende .az-steps li {
    padding-top: 0;
  }
  .page-aziende .az-dot {
    left: -34px;
    top: 6px;
  }
  .page-aziende .az-risks {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.page-aziende .az-risks li {
  border-left-color: var(--line);
}
@media (max-width: 800px) {
  .page-aziende .az-risks li:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .page-aziende .az-service-list li {
    top: calc(84px + var(--i) * 16px);
    border-radius: 44px;
    gap: 6px 16px;
  }
  .page-aziende .az-service-list {
    gap: clamp(28px, 6vh, 56px);
  }
  .page-aziende .az-service-list li:nth-child(n) {
    margin: 0 0 calc((3 - var(--i)) * 16px);
    min-height: 96px;
    max-width: none;
    padding: 16px 22px;
  }
}
@media (min-width: 801px) {
  .page-aziende .az-service-list li:nth-child(n) {
    top: max(104px, calc(50vh - 89px + var(--i) * 22px));
  }
  .page-aziende .az-services-head {
    height: fit-content;
    top: max(104px, calc(50vh - 89px));
    translate: none;
  }
}
/* Pagina Servizi e contatti: card dei servizi in negozio (rispondono quando sono il target di un
   link), visita, mappa caricata solo su richiesta, recapiti. */
.walk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.walk-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-margin-top: 110px;
  border-radius: var(--r-card);
}
.walk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.walk-top > span:last-child {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
}
.walk-icon {
  display: grid;
  place-items: center;
  flex: 0 0 var(--icon-box);
  width: var(--icon-box);
  height: var(--icon-box);
  border: 0;
  border-radius: var(--icon-radius);
  background: var(--icon-bg);
  box-shadow: var(--icon-ring);
  color: var(--orange);
}
.walk-card h3 {
  margin: 39px 0 26px;
}
.walk-desc strong {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--orange-hover);
}
.walk-desc p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin: 7px 0 22px;
  color: var(--muted);
}
.visit-heading h2 {
  margin: 0 0 38px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  min-height: 515px;
}
.visit-info {
  background: #222323;
  color: #faf8ef;
  padding: 42px;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
}
.visit-info-header {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e8b982;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.visit-info h3 {
  margin: 32px 0 14px;
}
.visit-info > p {
  max-width: 410px;
  font-size: var(--fs-sm);
  color: #d1cec5;
  line-height: 1.7;
}
.hours {
  margin-top: 27px;
  border-top: 1px solid #4c4d4c;
}
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 19px;
  border-bottom: 1px solid #4c4d4c;
  padding: 14px 0;
  font-size: var(--fs-sm);
}
.hours strong {
  font-size: var(--fs-sm);
  max-width: 235px;
  text-align: right;
}
.hours span {
  color: #c9c7be;
}
.visit-actions {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.map-area {
  min-height: 515px;
  background: #e3ded3;
  border-radius: var(--r-card);
  overflow: hidden;
}
.map-frame {
  height: 100%;
  position: relative;
  min-height: 515px;
  border-radius: var(--r-card);
  overflow: hidden;
}
.map-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 515px;
  display: block;
  position: absolute;
  inset: 0;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  margin-top: 38px;
}
.contact-methods > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.contact-methods .eyebrow {
  margin-bottom: 7px;
}
.contact-methods strong {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
}
.contact-methods > div > span:last-child {
  font-size: var(--fs-sm);
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .contact-methods a:hover {
    color: var(--orange);
  }
}
.walk-icon .icon {
  width: var(--icon-glyph);
  height: var(--icon-glyph);
  stroke-width: 1.6;
}
@media (prefers-reduced-motion: no-preference) {
  .walk-card:target {
    animation: target-ping 900ms var(--ease-out) 200ms both;
  }
  @keyframes target-ping {
    0% {
      border-color: var(--line);
    }
    30% {
      border-color: var(--orange);
    }
    100% {
      border-color: var(--line);
    }
  }
}
@media (max-width: 1080px) {
  .walk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .visit-info {
    padding: 35px;
  }
  .map-area,
  .map-frame {
    min-height: 400px;
  }
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .walk-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .walk-card {
    padding: 25px;
  }
  .walk-card h3 {
    margin: 21px 0;
  }
  .walk-desc p {
    margin-bottom: 16px;
  }
  .visit-info {
    padding: 25px;
  }
  .visit-actions .button {
    width: 100%;
  }
  .hours > div,
  .hours strong {
    font-size: var(--fs-xs);
  }
  .map-area,
  .map-frame,
  .map-frame iframe {
    min-height: 365px;
  }
  .contact-methods {
    grid-template-columns: 1fr 1fr;
    gap: 28px 15px;
  }
  .contact-methods strong {
    font-size: var(--fs-md);
  }
}
.shop-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.shop-gallery-card {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}
.shop-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 560px) {
  .shop-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* Privacy e 404. */
.legal-shell {
  max-width: 900px;
}
.legal-shell h2 {
  margin: 47px 0 13px;
}
.legal-shell p {
  line-height: 1.9;
  font-size: var(--fs-md);
  color: var(--muted);
}
.legal-notice {
  background: var(--surface-2);
  padding: 24px 27px;
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--r-ctrl) var(--r-ctrl) 0;
}
.legal-notice strong {
  font-size: var(--fs-md);
}
.legal-notice p {
  margin: 8px 0 0;
}
.legal-shell > .button {
  margin-top: 26px;
}
/* Motion progressivo: ingresso delle sezioni allo scroll (data-reveal / data-reveal-group,
   classi scritte da js/main.js solo senza reduced motion), View Transitions tra pagine, riduzione
   globale delle animazioni con prefers-reduced-motion.
   Sta in fondo al cascade: lo stato nascosto prima dell'ingresso deve prevalere su :hover e
   :active di card e righe. */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 350ms var(--ease-out),
    transform 350ms var(--ease-out);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.has-js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 350ms var(--ease-out),
    transform 350ms var(--ease-out);
}
.has-js [data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--rv, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  .site-header {
    view-transition-name: site-header;
  }
  ::view-transition-new(page) {
    animation: page-in 260ms var(--ease-out) both;
  }
  @keyframes page-out {
    to {
      opacity: 0;
    }
  }
  @keyframes page-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}
