/* Caratteri ospitati sul sito (nessuna richiesta a Google) */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic.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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif.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;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-tight.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;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-tight.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;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-tight.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono.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;
}

/* Identità del sito originale neuralisai.net + lime del logo */
:root {
  --bg: #0f1110;
  --panel: #131514;
  --card: #171a18;
  --line: #2b312e;
  --fg: #e2e8e4;
  --cream: #f3efe6;
  --muted: #939f97;
  --lime: #d9ff0e;
  --lime-dim: rgba(217, 255, 14, .14);
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--bg); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--bg); padding: 8px 14px; font: 500 13px var(--mono); z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--panel { background: var(--panel); border-block: 1px solid var(--line); }
.section__cta { margin-top: 40px; }

/* tipografia */
h1, .h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.005em; }
h1 em, .h2 em { color: var(--lime); }
h1 { font-size: clamp(44px, 6.6vw, 88px); }
.h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 18ch; margin-bottom: 32px; }
.h2--sm { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
h3 { font: 600 20px/1.3 var(--sans); margin-bottom: 10px; color: var(--cream); }
.lead { color: var(--muted); font-size: 17px; max-width: 54ch; margin: -16px 0 28px; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow--center { display: flex; align-items: center; justify-content: center; gap: 14px; }
.eyebrow--center::before, .eyebrow--center::after { content: ""; width: 32px; height: 1px; background: var(--line); }
.micro { font: 400 12px var(--mono); letter-spacing: .08em; color: var(--muted); margin-top: 16px; }

/* pulsanti: compatti, testo normale, freccia che avanza al passaggio */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--lime); color: var(--bg); text-decoration: none; border: 0; border-radius: 2px; padding: 13px 20px; font: 600 15px/1.2 var(--sans); letter-spacing: -0.005em; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.btn::after { content: "→"; font-family: var(--mono); font-weight: 400; transition: transform .2s; }
/* hover: il lime sfuma al nero con bordo lime, così resta visibile anche sui fondi scuri */
.btn:hover { background: #0f1110; color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.btn:hover::after { transform: translateX(3px); }
.btn--ghost { background: none; color: var(--fg); padding: 13px 4px; border-radius: 0; box-shadow: inset 0 -1px 0 var(--line); }
/* senza sfondo: resta trasparente, al passaggio si accendono di lime scritta e linea */
.btn--ghost:hover { background: none; color: var(--lime); box-shadow: inset 0 -1px 0 var(--lime); }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--sm::after { display: none; }
/* il pulsante in alto a destra resta com'è: si accende */
.btn--sm:hover { background: #e6ff5c; color: #0f1110; box-shadow: 0 0 24px rgba(217, 255, 14, .22); }
.btn--block { display: flex; width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(15, 17, 16, .96); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav__logo img { width: 150px; }
/* selettore lingua: visibile anche su mobile */
.nav__end { display: flex; align-items: center; gap: 16px; flex: none; }
.lang { font: 500 12px var(--mono); letter-spacing: .14em; color: var(--muted); text-decoration: none; padding: 8px 4px; transition: color .2s; }
.lang:hover { color: var(--lime); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--lime); }

/* hero */
/* lo sfondo scende dietro la linea e si spegne circa 1 cm sopra // Il caos */
.hero { --oltre: 182px; position: relative; padding-top: 72px; }
/* sfondo come l'originale: foto al 30%, sfumatura 40% → 70% → pieno, particelle sopra */
/* come nell'originale lo sfondo copre la prima schermata */
.hero__bg, .hero__net { height: 100vh; min-height: 640px; bottom: auto !important; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15, 17, 16, .4) 0%, rgba(15, 17, 16, .55) 50%, rgba(15, 17, 16, .85) 85%, #0f1110 100%); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: none; margin: 0 auto 22px; }
.hero__sub { color: var(--muted); font-size: clamp(18px, 2vw, 20px); max-width: 56ch; margin: 0 auto 30px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* firma: il segnale */
.signal { position: relative; z-index: 1; margin: 0; height: 120px; }
.signal svg { width: 100%; height: 100%; overflow: visible; }
.signal path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* il battito si rivela con una maschera, la linea è sempre intera */
.signal__peak { stroke: var(--lime); stroke-width: 1.25; filter: drop-shadow(0 0 4px rgba(217, 255, 14, .45)); clip-path: inset(-80px 100% -80px 0); animation: draw 10s linear .4s infinite; }
.signal__label { position: absolute; right: 5%; top: -18px; font: 500 clamp(14px, 1.6vw, 18px) var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--lime); opacity: 0; animation: label 10s linear .4s infinite; white-space: nowrap; }
/* ciclo di 10 s: 6 s il battito, 0,5 s compare la scritta, 3 s fermo, 0,5 s svanisce e riparte */
@keyframes draw {
  0%   { clip-path: inset(-80px 100% -80px 0); opacity: 1; }
  60%  { clip-path: inset(-80px -80px -80px 0); opacity: 1; }
  95%  { clip-path: inset(-80px -80px -80px 0); opacity: 1; }
  100% { clip-path: inset(-80px -80px -80px 0); opacity: 0; }
}
@keyframes label {
  0%, 60% { opacity: 0; }
  65%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.proof li { padding: 24px 28px 36px 0; }
.proof li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.proof strong { display: block; font: 400 44px/1 var(--display); color: var(--cream); margin-bottom: 10px; }
.proof small { font-size: .42em; color: var(--muted); }
.proof span { font-size: 15px; color: var(--muted); }

/* diagnosi */
.pain__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.pain .h2 { margin-bottom: 0; }
.pain__list li { padding: 16px 0 16px 40px; border-top: 1px solid var(--line); position: relative; font-size: 18px; color: var(--muted); }
.pain__list li:last-child { border-bottom: 1px solid var(--line); }
.pain__list li::before { content: "×"; position: absolute; left: 4px; top: 14px; font: 400 22px var(--mono); color: var(--muted); }
.pain__list strong { color: var(--cream); font-weight: 600; }

/* card servizi */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(217, 255, 14, .45); transform: translateY(-3px); }
.card p { color: var(--muted); flex: 1; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; }

.sites__label { font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin: 28px 0 12px; }
.lead + .sites__label { margin-top: 0; }

/* apertura a tutta schermata */
.hero { display: flex; align-items: center; min-height: calc(100vh - 192px); padding: 56px 0; }
.hero .hero__bg, .hero .hero__net { height: calc(100% + var(--oltre)); min-height: 0; }
.hero .hero__inner { width: 100%; }


.h2--wide { max-width: none; }
.h2--wide em { display: block; }
.pain .h2 em { display: block; }

/* aree di servizio */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.area h3 { font: 400 clamp(26px, 2.6vw, 32px)/1.1 var(--display); margin-bottom: 6px; }
.area__lead { color: var(--cream); font-size: 16px; margin-bottom: 14px; }
.area li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.5; }
.area li strong { color: var(--cream); font-weight: 600; }
#servizi .crm { margin-top: 16px; }
#servizi .lead { max-width: none; }

/* team */
.team--last { margin-bottom: 0; }
.team__def { max-width: 62ch; margin-bottom: 28px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.team li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.team li:first-child { border-top: 2px solid var(--cream); }
.team h3 { font-size: 17px; margin-bottom: 8px; }
.team p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* pulsante WhatsApp fisso: chiuso mostra l'icona, al passaggio o al focus si apre */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; flex-direction: row-reverse; align-items: center; height: 54px; max-width: 54px; overflow: hidden; border-radius: 27px; background: #25d366; color: #0f1110; text-decoration: none; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); transition: max-width .3s ease; }
.wa-float svg { flex: none; width: 28px; height: 28px; margin: 0 13px; }
.wa-float span { white-space: nowrap; padding-left: 20px; font: 600 15px var(--sans); opacity: 0; transition: opacity .2s ease; }
.wa-float:hover, .wa-float:focus-visible { max-width: 260px; }
.wa-float:hover span, .wa-float:focus-visible span { opacity: 1; }
.wa-float:focus-visible { outline-offset: 4px; }

/* landing di conversione: stessa identità del sito, struttura propria */
.cv-top { border-bottom: 1px solid var(--line); }
.cv-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.cv-top__tel { font: 500 13px var(--mono); color: var(--cream); text-decoration: none; }
.cv-top__tel:hover { color: var(--lime); }
.cv-hero { background: radial-gradient(ellipse 60% 70% at 15% 0%, rgba(243, 239, 230, .04), transparent 70%); padding: 56px 0 72px; }
.cv-hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.cv-hero h1 { font-size: clamp(38px, 5.2vw, 68px); margin-bottom: 20px; }
.cv-hero h1 em { display: block; }
.cv-hero__sub { font-size: clamp(18px, 1.9vw, 21px); color: var(--fg); max-width: 34ch; margin-bottom: 24px; }
.cv-hero .checks { margin-bottom: 0; color: var(--muted); }
.cv-form__title { font: 400 28px/1.1 var(--display); color: var(--cream); margin-bottom: 18px; scroll-margin-top: 24px; }
.cv-board-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.cv-board-wrap .h2 em { display: block; }
.cv-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; margin-bottom: 14px; }
.cv-switch button { background: none; border: 0; color: var(--muted); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; cursor: pointer; }
.cv-switch button[aria-pressed="true"] { background: var(--lime); color: var(--bg); }
.cv-board__note { color: var(--muted); min-height: 3em; max-width: 40ch; }
.cv-board { position: relative; height: 360px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cv-chip { position: absolute; left: var(--cx); top: var(--cy); z-index: var(--cz); transform: rotate(var(--cr)) scale(var(--cs)); font: 500 16px var(--mono); color: var(--fg); background: var(--bg); border: 1px dashed #4a524d; box-shadow: 0 6px 16px rgba(0, 0, 0, .6); padding: 10px 14px; white-space: nowrap; transition: left .9s cubic-bezier(.65, 0, .35, 1), top .9s cubic-bezier(.65, 0, .35, 1), transform .9s cubic-bezier(.65, 0, .35, 1), color .5s, border-color .5s, box-shadow .5s; }
.cv-board.is-ordine .cv-chip { left: var(--ox); top: var(--oy); transform: none; width: 40%; color: var(--lime); border: 1px solid rgba(217, 255, 14, .4); box-shadow: none; }
.cv-test { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.cv-test .h2 em { display: block; }
.cv-test__lead { margin-bottom: 0; }
.cv-test__list li { border-top: 1px solid var(--line); }
.cv-test__list li:last-child { border-bottom: 1px solid var(--line); }
.cv-test__list label { display: flex; align-items: center; gap: 14px; padding: 14px 4px; font-size: 17px; color: var(--cream); cursor: pointer; }
.cv-test__list label:hover { color: var(--lime); }
.cv-test__list input { flex: none; width: 20px; height: 20px; accent-color: var(--lime); }
.cv-test__result { margin-top: 20px; display: grid; gap: 14px; justify-items: start; }
.cv-test__result strong { font: 400 32px/1 var(--display); color: var(--lime); margin-right: 8px; }
.cv-test__result span { color: var(--muted); }
.cv-team { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cv-team li { padding: 20px 20px 0 0; }
.cv-team li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.cv-team strong { display: block; color: var(--cream); font-weight: 600; margin-bottom: 6px; }
.cv-team span { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }
.cv-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cv-faq p { color: var(--muted); font-size: 16px; }
.cv-end { background: var(--lime); color: var(--bg); padding: 64px 0; }
.cv-end__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cv-end h2 { font: 400 clamp(32px, 4.4vw, 56px)/1.05 var(--display); max-width: 18ch; }
.cv-end__btn { background: var(--bg); color: var(--lime); box-shadow: none; }
.cv-end__btn:hover { background: var(--lime); color: #0f1110; box-shadow: inset 0 0 0 1px #0f1110; }
.cv-end__btn:hover::after { transform: translateX(3px); }

/* ordine: sotto la linea animata il sito è già chiaro, la linea fa da confine */
/* taglio netto: il caos è nero, dal calcolatore in poi è tutto chiaro */
.ordine { --bg: #f6f2ea; --panel: #eee9dd; --card: #fffdf8; --line: #d8d2c4; --fg: #2b2d2a; --cream: #15170f; --muted: #5a615b; background: var(--bg); color: var(--fg); }
.section--panel.ordine { background: var(--panel); }
/* sul chiaro il lime non si legge come testo: diventa un evidenziatore */
.ordine .h2 em { color: var(--cream); background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; }
.ordine .h2--wide em { display: inline; }
.ordine .btn { color: #0f1110; box-shadow: 0 0 0 1px #15170f; }
.ordine .btn:hover { background: #0f1110; color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.ordine .crm__link:hover, .ordine summary:hover h3 { color: var(--cream); }
.ordine .crm__link:hover { border-color: var(--cream); }
.ordine :focus-visible { outline-color: #15170f; }
/* calcolatore chiaro: il risultato è un riquadro lime con cifra scura, il pulsante diventa nero per non fare due blocchi lime */
.ordine .term { background: var(--card); color: var(--fg); }
/* landing: il risultato del test parla come quello del calcolatore */
.ordine .cv-test .h2 em { display: inline; }
.ordine .cv-test__list label:hover { color: var(--cream); background: var(--panel); }
.ordine .cv-test__list input { accent-color: #15170f; }
.ordine .cv-test__result { --muted: #2b2d2a; padding: 16px 20px; background: var(--lime); border-radius: var(--r); }
.ordine .cv-test__result strong { color: #15170f; }
.ordine .calc__total { --muted: #2b2d2a; background: var(--lime); border-color: var(--lime); border-radius: var(--r); }
.ordine .calc__total strong { color: #15170f; }
.ordine .calc .btn, .ordine .cv-test__result .btn { background: #15170f; color: var(--lime); box-shadow: none; }
.ordine .calc .btn:hover, .ordine .cv-test__result .btn:hover { background: var(--lime); color: #0f1110; box-shadow: inset 0 0 0 1px #15170f; }
/* cursori: sul chiaro il lime da solo si vede poco, la parte piena è scura e il pallino lime */
.ordine .calc input[type=range] { -webkit-appearance: none; appearance: none; display: block; height: 24px; background: transparent; cursor: pointer; --pct: 0%; }
.ordine .calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #15170f var(--pct), #d8d2c4 var(--pct)); }
.ordine .calc input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #15170f var(--pct), #d8d2c4 var(--pct)); }
.ordine .calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--lime); border: 2px solid #15170f; }
.ordine .calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); border: 2px solid #15170f; }

/* perché neuralis */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why__item { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.why__item h3 { font: 400 clamp(26px, 2.6vw, 32px)/1.1 var(--display); margin-bottom: 12px; }
.why__item > p { color: var(--muted); flex: 1; margin-bottom: 24px; }
.why__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.why__flow li, .why__both span { font: 500 12px var(--mono); color: var(--fg); border: 1px solid var(--line); background: var(--bg); padding: 7px 10px; }
.why__flow li:not(:last-child)::after { content: "→"; color: var(--muted); position: relative; left: 19px; margin-left: -6px; }
.why__flow li:not(:last-child) { margin-right: 14px; }
.why__flow li:last-child { color: var(--cream); border-color: var(--muted); }
.why__both { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.why__both b { color: var(--muted); font: 500 16px var(--mono); }

/* servizi a righe: nome, descrizione, tag */

/* fascia CRM */
.crm { margin-top: 16px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 40px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; }
.crm__text { color: var(--muted); font-size: 16px; }
.crm__text strong { display: block; color: var(--cream); font-size: 17px; margin-bottom: 2px; }
.crm__link { display: inline-block; margin-top: 8px; color: var(--cream); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--muted); }
.crm__link:hover { color: var(--lime); border-color: var(--lime); }
.crm__list { display: flex; flex-wrap: wrap; gap: 6px; }
.crm__list li { font: 500 12px var(--mono); letter-spacing: .04em; color: var(--fg); border: 1px solid var(--line); background: var(--bg); padding: 6px 10px; }
.crm__list li:last-child { color: var(--cream); border-color: var(--muted); }

/* siti */

/* autopilot */
.flow__n { font: 500 13px var(--mono); color: var(--lime); padding-top: 4px; }

/* terminale (calcolatore e form) */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.calc .lead { margin-bottom: 0; }
.term { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.term__body { padding: 24px 26px; }
.term label { display: flex; justify-content: space-between; gap: 12px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.term output { color: var(--cream); white-space: nowrap; }
input[type=range] { width: 100%; accent-color: var(--lime); margin-bottom: 20px; }
.calc__total { margin: 18px 0; padding: 16px 20px; border: 1px solid var(--line); background: var(--card); }
.calc__total span { display: block; font: 400 12px var(--mono); letter-spacing: .1em; color: var(--muted); }
.calc__total strong { display: block; font: 400 clamp(48px, 6vw, 64px)/1.1 var(--display); color: var(--lime); }

/* metodo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 24px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps__n { display: block; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 16px; }
.steps p { color: var(--muted); font-size: 16px; }

/* chi siamo */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text h3 { margin: 26px 0 6px; font-size: 17px; }
.about__text p:not(.about__def) { color: var(--muted); font-size: 16px; }
/* i primi clienti: dichiarato apertamente, è una leva e non una scusa */
.primi { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; }
.primi h3 { font: 400 clamp(22px, 2.4vw, 28px)/1.15 var(--display); color: var(--cream); margin-bottom: 8px; }
.primi p { color: var(--muted); font-size: 16px; max-width: 76ch; }
.cv-team + .primi { margin-top: 28px; }
.values { display: grid; gap: 10px; margin-bottom: 24px; }
.values li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.values h3 { font-size: 16px; margin-bottom: 4px; }
.values p { color: var(--muted); font-size: 15px; }
.about__def { font-size: 19px; line-height: 1.55; color: var(--cream); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { color: var(--muted); }

/* faq */
.faq { max-width: 860px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary h3 { margin: 0; font-size: 17px; font-weight: 500; transition: color .2s; }
summary:hover h3 { color: var(--lime); }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 26px var(--mono); color: var(--muted); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 18px; max-width: 66ch; font-size: 16px; }

/* contatto */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact .lead { margin-bottom: 28px; }
.checks { display: grid; gap: 8px; margin-bottom: 24px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "→"; position: absolute; left: 0; color: var(--muted); font-family: var(--mono); }
.contact__direct { font-style: normal; display: grid; gap: 6px; font: 400 14px var(--mono); }
.contact__direct a { color: var(--cream); text-decoration: none; border-bottom: 1px solid transparent; justify-self: start; }
.contact__direct a:hover { color: var(--lime); border-color: var(--lime); }
.contact__direct span { color: var(--muted); }
.form input, .form textarea { width: 100%; font: 16px var(--sans); color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; margin-bottom: 16px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.form .micro a { color: var(--fg); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__wa { margin-top: 8px; }
.form__status { margin-top: 14px; padding: 12px 14px; font-size: 15px; color: #0f1110; background: var(--lime); border-radius: 2px; }
.form__status.is-error { color: var(--fg); background: none; border: 1px solid var(--line); }
.form button[type=submit]:disabled { opacity: .6; cursor: wait; }

/* footer: colonne ordinate, riga legale in basso */
/* lo spazio sotto evita che il pulsante WhatsApp fisso copra la riga legale */
.footer { border-top: 1px solid var(--line); padding-bottom: 88px; font-size: 15px; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer__grid > div, .footer__grid > nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__logo { width: 150px; margin-bottom: 8px; }
.footer__title { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; font-size: 13px; }
.footer__grid + .footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom nav { display: flex; gap: 18px; }
.footer--min { padding-top: 10px; }

/* pagine legali e 404 */
.legal { max-width: 820px; padding-top: 88px; padding-bottom: 120px; }
.legal .h2 { margin-bottom: 24px; }
.legal__intro { font-size: 19px; color: var(--cream); margin-bottom: 12px; }
.legal h2 { font: 600 20px/1.3 var(--sans); color: var(--cream); margin: 48px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a { color: var(--cream); }
.legal a:hover { color: var(--lime); }
.legal strong { color: var(--cream); font-weight: 600; }
.legal__list { margin-bottom: 12px; }
.legal__list li { color: var(--muted); padding: 4px 0 4px 18px; position: relative; }
.legal__list li::before { content: "→"; position: absolute; left: 0; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.legal--center { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.legal--center .btn { color: var(--bg); margin-top: 24px; }
.legal--center .btn:hover { color: var(--lime); }

/* comparsa */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .signal__peak { animation: none; clip-path: none; }
  .signal__label { animation: none; opacity: 1; }
  .card:hover { transform: none; }
  .cv-chip { transition: none; }
  .wa-float, .wa-float span { transition: none; }
}

/* responsive */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .team { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 32px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 48px; }
  .hero__inner h1 { font-size: clamp(32px, 10.2vw, 44px); }
  .eyebrow--center::before, .eyebrow--center::after { display: none; }
  .signal { height: 90px; }
  .crm { grid-template-columns: 1fr; padding: 18px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { padding: 22px 20px; }
  .proof, .cards, .sites, .steps, .pain__inner, .autopilot, .calc, .about, .contact__inner { grid-template-columns: 1fr; }
  .proof li, .proof li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps__n { margin-bottom: 14px; }
  .pain__inner, .autopilot, .calc, .about, .contact__inner { gap: 40px; }
  .h2 { margin-bottom: 24px; }
  .term__body { padding: 22px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .nav__logo img { width: 124px; }
  .card { padding: 22px 20px; }
  .proof strong { font-size: 38px; }
  .proof li, .proof li + li { padding: 18px 0; }
}

/* mobile compatto: stessi contenuti, meno scroll */
@media (max-width: 760px) {
  .cv-hero { padding: 32px 0 44px; }
  .cv-hero__inner, .cv-board-wrap, .cv-test { grid-template-columns: 1fr; gap: 24px; }
  .cv-hero h1 { font-size: clamp(30px, 9vw, 40px); margin-bottom: 12px; }
  .cv-hero .checks { display: none; }
  .cv-board { height: 300px; }
  .cv-chip { font-size: 13px; padding: 7px 9px; }
  .cv-board.is-ordine .cv-chip { width: 42%; }
  .cv-test__list label { font-size: 15px; padding: 11px 2px; }
  .cv-team { grid-template-columns: 1fr; }
  .cv-team li, .cv-team li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cv-faq { grid-template-columns: 1fr; gap: 16px; }
  .cv-end { padding: 40px 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; padding-bottom: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer { font-size: 14px; padding-bottom: 78px; }
  .footer__grid a { overflow-wrap: anywhere; }
  .wa-float { right: 14px; bottom: 14px; }
  .team { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
  .team li { padding: 12px 14px; }
  .team h3 { font-size: 16px; margin-bottom: 3px; }
  .team p { font-size: 14px; }
  .team__def { margin-bottom: 14px; }
  .hero { --oltre: 94px; min-height: 0; padding: 48px 0 52px; }
  .areas { grid-template-columns: 1fr; gap: 10px; }
  .area { padding: 16px; }
  .area h3 { font-size: 24px; }
  .area__lead { font-size: 15px; margin-bottom: 8px; }
  .area li { padding: 8px 0; font-size: 14px; }

  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .h2 { font-size: 30px; margin-bottom: 18px; }
  .h2--sm { font-size: 28px; }
  .lead { font-size: 16px; margin: -8px 0 18px; }
  .eyebrow { margin-bottom: 12px; }
  h3 { font-size: 18px; margin-bottom: 6px; }

  .proof li, .proof li + li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; padding: 12px 0; }
  .proof strong { font-size: 32px; margin: 0; }
  .proof span { font-size: 14px; line-height: 1.4; }

  .pain__inner, .autopilot, .calc, .about, .contact__inner { gap: 20px; }
  .pain__list li { font-size: 16px; padding: 12px 0 12px 30px; }
  .pain__list li::before { top: 9px; }

  .crm { margin-top: 12px; padding: 14px; gap: 10px; }
  .crm__text, .crm__text strong { font-size: 15px; }
  .crm__list { gap: 4px; }
  .crm__list li { font-size: 11px; padding: 4px 7px; }

  .why__grid { gap: 10px; }
  .why__item { padding: 16px; }
  .why__item h3 { font-size: 23px; margin-bottom: 6px; }
  .why__item > p { font-size: 15px; margin-bottom: 12px; }
  .why__flow { gap: 5px; }
  .why__flow li, .why__both span { font-size: 11px; padding: 5px 7px; }
  .why__flow li:not(:last-child) { margin-right: 12px; }

  .sites__label { margin: 18px 0 8px; font-size: 11px; }


  .term__body { padding: 16px; }
  input[type=range] { margin-bottom: 12px; }
  .calc__total { margin: 12px 0; padding: 12px 14px; }
  .calc__total strong { font-size: 42px; }

  .steps li, .steps li + li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 12px 0; }
  .steps__n { grid-row: span 2; margin: 2px 0 0; font-size: 12px; }
  .steps h3 { margin-bottom: 2px; }
  .steps p { font-size: 15px; }

  .about__def { font-size: 16px; }
  .about__text h3 { margin: 14px 0 3px; font-size: 16px; }
  .about__text p:not(.about__def) { font-size: 15px; }
  .values { gap: 8px; margin-bottom: 12px; }
  .values li { padding: 10px 14px; }
  .values h3 { font-size: 15px; margin-bottom: 2px; }
  .values p { font-size: 14px; }
  .facts > div { grid-template-columns: 76px 1fr; gap: 10px; padding: 7px 0; font-size: 14px; }

  summary { padding: 12px 34px 12px 0; }
  summary h3 { font-size: 16px; }
  summary::after { top: 5px; }
  details p { font-size: 15px; padding-bottom: 12px; }

  .contact .lead { margin-bottom: 14px; }
  .checks { gap: 4px; margin-bottom: 14px; font-size: 15px; }
  .form input, .form textarea { padding: 10px 12px; margin-bottom: 10px; }

}
