/* Font self-hosted (no third-party request, no consent needed) */

/* Plus Jakarta Sans · latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jakarta-400-700i-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans · latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jakarta-400-700i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans · latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jakarta-400-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans · latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jakarta-400-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plexmono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plexmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexmono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexmono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexmono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   DafiPro — Design system "Officina di precisione"
   Luce, carta tecnica, misure. Niente effetti gratuiti.

   - Superfici chiare (carta) + fasce inchiostro per il ritmo
   - Blu del marchio come colore d'azione, arancio come segnale
   - Plus Jakarta Sans (testo) + IBM Plex Mono (etichette, misure)
   - Font ospitati sul nostro server: zero richieste a terzi
   - Mobile first · 640 / 900 / 1100 · prefers-reduced-motion
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Token ---------- */
:root {
  /* superfici */
  --paper:        #F6F7FA;
  --paper-warm:   #F1F3F7;
  --surface:      #FFFFFF;
  --ink:          #0B1020;
  --ink-soft:     #131A2E;

  /* testo */
  --t-strong:     #0B1020;
  --t-body:       #3D4659;
  --t-muted:      #5B6579;
  --t-on-ink:     #E7EAF2;
  --t-on-ink-mut: #98A2B8;

  /* marchio */
  --blue:         #1E5BFF;
  --blue-deep:    #1747C7;
  --blue-light:   #93B0FF;
  --blue-wash:    #EDF2FF;
  --blue-line:    #C9D8FF;

  /* segnale */
  --signal:       #C2410C;
  --signal-vivid: #EA580C;
  --signal-wash:  #FFF1E8;
  --ok:           #0F7A4F;
  --ok-wash:      #E8F6EF;

  /* linee */
  --line:         #E2E6EE;
  --line-soft:    #EBEEF4;
  --line-ink:     rgba(255,255,255,.12);

  /* tipografia */
  --sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'Cascadia Mono', Consolas, monospace;

  /* geometria */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --wrap: 1180px;
  --pad-sec: clamp(72px, 8vw, 128px);

  /* spazi */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --shadow-sm: 0 1px 2px rgba(11,16,32,.05);
  --shadow:    0 2px 4px rgba(11,16,32,.04), 0 12px 32px -12px rgba(11,16,32,.12);
  --shadow-lg: 0 4px 8px rgba(11,16,32,.05), 0 24px 56px -20px rgba(11,16,32,.20);
  --ease: cubic-bezier(.2,.7,.3,1);
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-body);
  background: var(--paper);
  overflow-x: hidden;
  word-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--t-strong);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.022em;
  word-spacing: .06em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); letter-spacing: -.014em; word-spacing: .04em; line-height: 1.25; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.008em; word-spacing: .02em; line-height: 1.35; }
p  { text-wrap: pretty; }
strong { color: var(--t-strong); font-weight: 700; }

/* ---------- Accessibilità ---------- */
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 3000;
  background: var(--blue-deep); color: #fff;
  padding: 12px 20px; border-radius: var(--r-sm);
  font-weight: 700; transition: top .18s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.section--ink :focus-visible { outline-color: var(--blue-light); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: 24px; }

.section { padding-block: var(--pad-sec); position: relative; }
.section--tight { padding-block: clamp(48px, 5vw, 80px); }
.section--paper { background: var(--paper); }
.section--warm  { background: var(--paper-warm); }
.section--white { background: var(--surface); }
.section--ink {
  background: var(--ink);
  color: var(--t-on-ink);
  --t-strong: #FFFFFF;
  --t-body: var(--t-on-ink);
  --t-muted: var(--t-on-ink-mut);
  --line: var(--line-ink);
  --line-soft: rgba(255,255,255,.08);
  --surface: rgba(255,255,255,.045);
}
.section--ink h1, .section--ink h2,
.section--ink h3, .section--ink h4 { color: #fff; }

/* separatore fra fasce chiare */
.section + .section:not(.section--ink):not(.section--warm) { border-top: 1px solid var(--line-soft); }

/* ---------- Motivo "foglio tecnico" ---------- */
.blueprint { position: relative; isolation: isolate; }
.blueprint::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,16,32,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,16,32,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 12%, transparent 78%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 12%, transparent 78%);
}
.section--ink.blueprint::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.075) 1px, transparent 1px);
}

/* riga con tacche, come una scala di misura */
.ticks {
  height: 9px; width: 100%;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 14px 9px, 100% 1px;
  background-position: 0 0, 0 0;
  background-repeat: repeat-x, no-repeat;
  opacity: .9;
}

/* ---------- Etichette e occhielli ---------- */
.rail {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--t-muted); margin-bottom: var(--s4);
}
.rail::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 160px; }
.rail-num { color: var(--blue); }
.section--ink .rail-num { color: var(--blue-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-wash);
  border: 1px solid var(--blue-line);
  padding: 7px 14px; border-radius: 999px;
}
.section--ink .eyebrow {
  color: var(--blue-light);
  background: rgba(30,91,255,.14);
  border-color: rgba(147,176,255,.3);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); flex: none;
  box-shadow: 0 0 0 3px var(--ok-wash);
}
.section--ink .eyebrow .dot { box-shadow: 0 0 0 3px rgba(15,122,79,.25); }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .rail { justify-content: center; }
.sec-head.center .rail::after { display: none; }
.sec-lead {
  margin-top: var(--s4);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--t-muted); line-height: 1.7;
}

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: -.004em; word-spacing: .04em;
  cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { flex: none; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11,16,32,.08), 0 8px 20px -10px rgba(30,91,255,.7); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); transform: translateY(-1px); }

.btn--ghost { background: var(--surface); color: var(--t-strong); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--t-strong); transform: translateY(-1px); }
.section--ink .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E7EAF2; transform: translateY(-1px); }

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .88rem; border-radius: 9px; }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--blue-deep); font-size: .95rem;
  border-bottom: 1px solid transparent; transition: border-color .18s var(--ease);
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--ink .link-arrow { color: var(--blue-light); }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(246,247,250,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246,247,250,.96); }

.hdr { display: flex; align-items: center; gap: var(--s5); height: 72px; }

/* marchio: simbolo + testo vivo, così usa il font del sito */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { height: 28px; width: auto; flex: none; color: var(--blue); }
.brand-word {
  font-size: 1.32rem; font-weight: 800; letter-spacing: -.035em;
  color: var(--t-strong); line-height: 1;
}
.brand-word span { font-weight: 500; opacity: .55; }
.site-footer .brand-mark { color: var(--blue-light); }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word span { opacity: .6; }

.nav { display: none; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 8px;
  font-size: .94rem; font-weight: 600; color: var(--t-muted);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover { color: var(--t-strong); background: rgba(11,16,32,.045); }
.nav a.is-active { color: var(--t-strong); }
.nav a { position: relative; }
.nav a.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.hdr-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.nav + .hdr-actions { margin-left: var(--s4); }
.hdr-tel { display: none; font-family: var(--mono); font-size: .86rem; font-weight: 500; color: var(--t-muted); padding: 8px 12px; }
.hdr-tel:hover { color: var(--t-strong); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--t-strong); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; border-top: 1px solid var(--line);
  background: var(--surface); padding: var(--s4) 24px var(--s6);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 4px;
  font-size: 1.05rem; font-weight: 700; color: var(--t-strong);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.is-active { color: var(--blue-deep); }
.mobile-menu .btn { margin-top: var(--s5); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 112px); position: relative; }
.hero-inner { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
.hero h1 { margin-top: var(--s5); }
.hero .hl { color: var(--blue); }
.hero-lead {
  margin-top: var(--s5); max-width: 620px;
  font-size: clamp(1.08rem, 1.7vw, 1.26rem); line-height: 1.68; color: var(--t-muted);
}
.hero .cta-row { margin-top: var(--s7); }

.hero-proof {
  display: grid; gap: var(--s4); margin-top: var(--s7);
  padding-top: var(--s6); border-top: 1px solid var(--line);
}
.hero-proof li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--t-muted); }
.hero-proof svg { flex: none; margin-top: 3px; color: var(--ok); }
.hero-proof strong { display: block; color: var(--t-strong); font-weight: 700; }

/* pannello destro: scheda tecnica */
.panel {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: var(--paper-warm);
}
.panel-title { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t-muted); }
.panel-body { padding: var(--s5); }

/* barre tipo Gantt, decorative */
.plan-rows { display: grid; gap: 12px; }
.plan-row { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 12px; }
@media (min-width: 640px) { .plan-row { grid-template-columns: 108px 1fr; } }
.plan-label { font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--t-muted); letter-spacing: .02em; }
.plan-track { position: relative; height: 26px; border-radius: 7px; background: var(--paper-warm); overflow: hidden; }
.plan-track::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 14.28% 100%;
}
.plan-bar {
  position: absolute; top: 4px; bottom: 4px; border-radius: 5px;
  background: var(--blue); opacity: .92;
}
.plan-bar.is-done { background: var(--ok); }
.plan-bar.is-late { background: var(--signal-vivid); }
.plan-bar.is-plan { background: var(--blue-line); }
.plan-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--signal-vivid); opacity: .85; }

.panel-foot {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5);
  padding: var(--s4) var(--s5); border-top: 1px solid var(--line-soft); background: var(--paper-warm);
}
.legend { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--t-muted); }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }

/* ============================================================
   GRIGLIE E SCHEDE
   ============================================================ */
.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s6);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card--hover:hover { border-color: var(--blue-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.section--ink .card { background: rgba(255,255,255,.04); border-color: var(--line-ink); }
.section--ink .card--hover:hover { border-color: rgba(147,176,255,.42); background: rgba(255,255,255,.07); }
.card h3 { margin-bottom: var(--s3); }
.card p { color: var(--t-muted); font-size: .96rem; }
.card > * + p { margin-top: var(--s3); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: var(--s5);
  background: var(--blue-wash); color: var(--blue-deep); border: 1px solid var(--blue-line);
}
.section--ink .card-icon { background: rgba(30,91,255,.16); border-color: rgba(147,176,255,.28); color: var(--blue-light); }
.card-icon--signal { background: var(--signal-wash); border-color: #FBD5BC; color: var(--signal); }
.card-icon--ok { background: var(--ok-wash); border-color: #BFE5D3; color: var(--ok); }

/* scheda di valore numerata */
.vstack { display: grid; gap: var(--s5); }
.vcard {
  display: grid; gap: var(--s5); align-items: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(24px, 3.2vw, 40px);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.vcard:hover { border-color: var(--blue-line); box-shadow: var(--shadow); }
.vcard-num {
  font-family: var(--mono); font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 500;
  line-height: 1; letter-spacing: -.02em; color: var(--blue);
  padding-bottom: var(--s4); border-bottom: 1px solid var(--line);
}
.vcard h3 { margin-bottom: var(--s4); }
.vcard-cols { display: grid; gap: var(--s5); margin-top: var(--s5); }
.vcard-cols > div { padding-left: var(--s4); border-left: 2px solid var(--line); }
.vcard-cols > div.is-solution { border-left-color: var(--blue); }
.vcard-cols h4 {
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--t-muted);
  margin-bottom: var(--s2);
}
.vcard-cols p { font-size: .96rem; color: var(--t-muted); }
.is-solution h4 { color: var(--blue-deep); }

/* righe "scheda tecnica": etichetta + testo */
.spec { border-top: 1px solid var(--line); }
.spec-row {
  display: grid; gap: var(--s2) var(--s5);
  padding-block: var(--s5); border-bottom: 1px solid var(--line);
}
.spec-row h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.35; color: var(--t-strong); }
.spec-row p { color: var(--t-muted); font-size: .96rem; }
.spec-key {
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}

/* elenco con spunta */
.checks { display: grid; gap: var(--s4); }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--t-muted); }
.checks svg { flex: none; margin-top: 4px; color: var(--ok); }
.checks strong { color: var(--t-strong); }

/* passi numerati */
.steps { display: grid; gap: var(--s5); counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s6);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: var(--s4);
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: .82rem; font-weight: 600;
}
.section--ink .step-num { background: var(--blue); }
.step h3 { margin-bottom: var(--s3); font-size: 1.08rem; }
.step p { color: var(--t-muted); font-size: .95rem; }

/* blocco testo + visuale */
.split { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
.split--flip .split-media { order: -1; }
.split-body h2 { margin-bottom: var(--s4); }
.split-body > p { color: var(--t-muted); font-size: 1.05rem; }
.split-body .checks { margin-top: var(--s6); }

/* profili / destinatari */
.persona {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--s6);
  display: flex; flex-direction: column; gap: var(--s4);
}
.persona-role {
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--signal);
}
.persona p { color: var(--t-muted); font-size: .96rem; }
.persona .checks { margin-top: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line-soft); }
.persona .checks li { font-size: .92rem; }

/* citazione / affermazione forte */
.statement {
  border-left: 3px solid var(--blue); padding-left: clamp(20px, 3vw, 32px);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem); line-height: 1.45;
  font-weight: 700; letter-spacing: -.018em; word-spacing: .05em; color: var(--t-strong);
}
.narrative p { font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.75; color: var(--t-muted); }
.narrative p + p { margin-top: var(--s5); }
.narrative .lead-strong { color: var(--t-strong); font-weight: 700; }

/* tag / pillole */
.pills { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pill {
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper-warm); border: 1px solid var(--line); color: var(--t-muted);
}
.section--ink .pill { background: rgba(255,255,255,.06); }

/* collegamenti con altri programmi */
.connectors { display: grid; }
.connector {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding-block: 14px; border-bottom: 1px solid var(--line-soft);
}
.connector:first-child { padding-top: 0; }
.connector:last-child { border-bottom: 0; padding-bottom: 0; }
.connector-name {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: .98rem; line-height: 1.35; color: var(--t-strong);
}
.connector-name::before {
  content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 3px var(--ok-wash);
}
.connector-dir {
  flex: none; white-space: nowrap;
  font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-deep); background: var(--blue-wash); border: 1px solid var(--blue-line);
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5);
  padding-block: var(--s5); cursor: pointer; list-style: none;
  font-size: 1.06rem; font-weight: 700; color: var(--t-strong); letter-spacing: -.01em; word-spacing: .03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 13px; height: 13px; margin-top: 8px;
  border-right: 2px solid var(--t-muted); border-bottom: 2px solid var(--t-muted);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] summary { color: var(--blue-deep); }
.faq-answer { padding-bottom: var(--s5); max-width: 74ch; color: var(--t-muted); }
.faq-answer p + p { margin-top: var(--s3); }

/* ---------- Fascia CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 58ch; margin: var(--s4) auto 0; font-size: 1.08rem; color: var(--t-muted); }
.cta-band .eyebrow { font-size: .74rem; max-width: none; margin: 0 0 var(--s5); }
.cta-band .cta-row { justify-content: center; margin-top: var(--s7); }
.cta-note { margin-top: var(--s5); font-size: .88rem; color: var(--t-muted); }

/* ============================================================
   INTESTAZIONE DI PAGINA
   ============================================================ */
.page-head { padding-block: clamp(56px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.page-head h1 { max-width: 17ch; margin-top: var(--s5); }
.page-head .hl { color: var(--blue); }
.page-head p {
  margin-top: var(--s5); max-width: 62ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.68; color: var(--t-muted);
}
.page-head .cta-row { margin-top: var(--s6); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--t-muted);
}
.crumbs a:hover { color: var(--t-strong); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ============================================================
   CONTATTI / FORM
   ============================================================ */
.contact-layout { display: grid; gap: clamp(40px, 5vw, 64px); align-items: start; }

.contact-channel {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding: var(--s5); border: 1px solid var(--line);
  border-radius: var(--r); background: var(--surface);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-channel:hover { border-color: var(--blue-line); transform: translateY(-2px); }
.contact-channel svg { flex: none; color: var(--blue-deep); margin-top: 2px; }
.contact-channel h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.35; margin-bottom: 2px; }
.contact-channel p { font-size: .95rem; color: var(--t-muted); }
.contact-channel .value { font-family: var(--mono); font-size: .95rem; font-weight: 500; color: var(--blue-deep); }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.form-card > p { margin-top: var(--s2); color: var(--t-muted); }
.form-card form { margin-top: var(--s6); }
.form-card .form-status { margin-top: var(--s5); margin-bottom: 0; }
.form-grid { display: grid; gap: var(--s5); }
.form-row { display: grid; gap: var(--s5); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .9rem; font-weight: 700; color: var(--t-strong); }
.field .req { color: var(--signal); }
.hint { font-size: .82rem; line-height: 1.5; color: var(--t-muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  font-size: .97rem; color: var(--t-strong);
  transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #646E83; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: var(--surface);
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,91,255,.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--signal); }
.field-error { font-size: .85rem; font-weight: 600; color: var(--signal); }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  padding: var(--s4); border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper);
}
.consent input[type="checkbox"] { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--blue); cursor: pointer; }
.consent label { font-size: .88rem; line-height: 1.6; color: var(--t-muted); font-weight: 400; }
.consent a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  padding: 14px 16px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 600;
  border: 1px solid; margin-bottom: var(--s5);
}
.form-status.is-error { background: var(--signal-wash); border-color: #FBD5BC; color: var(--signal); }
.form-status.is-ok { background: var(--ok-wash); border-color: #BFE5D3; color: var(--ok); }
.form-note { margin-top: var(--s5); font-size: .85rem; color: var(--t-muted); text-align: center; }
.form-note a { color: var(--blue-deep); font-weight: 600; }

/* ============================================================
   PAGINE LEGALI / TESTO LUNGO
   ============================================================ */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: var(--s8); margin-bottom: var(--s4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s6); margin-bottom: var(--s3); }
.prose p { margin-bottom: var(--s4); color: var(--t-body); }
.prose ul { list-style: none; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.prose ul li { position: relative; padding-left: 22px; color: var(--t-body); }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: .7em;
  width: 6px; height: 6px; border-radius: 2px; background: var(--blue);
}
.prose a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--t-strong); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--s5); font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t-muted); font-weight: 600; }
.table-scroll { overflow-x: auto; margin-bottom: var(--s5); }
.prose .meta { font-family: var(--mono); font-size: .8rem; color: var(--t-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--t-on-ink-mut); padding-block: var(--s9) var(--s6); }
.foot-grid { display: grid; gap: var(--s7); }
.foot-brand .brand { margin-bottom: var(--s4); }
.foot-brand p { font-size: .94rem; line-height: 1.7; max-width: 38ch; }
.foot-col h2 {
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: var(--s4);
}
.foot-col a { display: block; padding-block: 7px; font-size: .94rem; color: var(--t-on-ink-mut); transition: color .16s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-maker {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s5);
  padding: 8px 14px; border: 1px solid var(--line-ink); border-radius: 999px;
  font-size: .84rem; color: var(--t-on-ink-mut); transition: border-color .16s var(--ease), color .16s var(--ease);
}
.foot-maker:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: center;
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line-ink);
  font-size: .86rem;
}
.foot-bottom a { color: var(--blue-light); font-weight: 600; }
.foot-legal { display: block; margin-top: 6px; font-size: .78rem; opacity: .8; }
.foot-bottom a:hover { color: #fff; }

/* ============================================================
   MOVIMENTO
   ============================================================ */
/* nascosti solo se JavaScript è attivo: senza script il contenuto resta visibile */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-1 { transition-delay: .07s; }
.reveal-2 { transition-delay: .14s; }
.reveal-3 { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   BREAKPOINT
   ============================================================ */
/* telefoni stretti: intestazione compatta, così logo, invito e menu stanno su una riga */
@media (max-width: 479px) {
  .wrap, .wrap-narrow { padding-inline: 16px; }
  .hdr { gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { height: 24px; }
  .brand-word { font-size: 1.15rem; }
  .hdr-actions .btn--sm { padding: 8px 12px; font-size: .82rem; }
  .mobile-menu { padding-inline: 16px; }
  .eyebrow { font-size: .66rem; letter-spacing: .07em; padding: 7px 12px; }
  .cta-row .btn { width: 100%; }
}

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .vcard-cols { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: 200px 1fr; }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1.05fr; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s6); }
}

@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
  .hdr-tel { display: inline-flex; align-items: center; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .hero-proof { grid-template-columns: 1fr; gap: var(--s3); }
  .hero-proof strong { display: inline; }
  .hero-proof strong::after { content: ' ·'; font-weight: 400; color: var(--t-muted); }
  .vcard { grid-template-columns: 120px 1fr; }
  .vcard-num { align-self: stretch; border-bottom: none; border-right: 1px solid var(--line); padding-bottom: 0; padding-right: var(--s5); }
}

@media print {
  .site-header, .mobile-menu, .site-footer, .cta-row, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
