/* ==========================================================================
   NexRate — landing
   Mobile-first (360–430px) → tablet ≥700px → desktop ≥1000px (max 1200px)
   Palette dal logo ufficiale: bianco / off-white / nero #0E0E0E / verde #00BF63
   ========================================================================== */

/* ---------- Font (self-hosted, zero richieste a terzi) ---------- */
/* Kumbh Sans: il sans geometrico più vicino al lettering del logo */
@font-face {
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/kumbh-sans-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;
}

/* ---------- Token ---------- */
:root {
  --white: #ffffff;
  --off: #f5f6f7;
  --studio: #f1eff3;          /* fondo reale degli scatti in studio */
  --ink: #0e0e0e;
  --ink-2: #18191b;           /* superfici dentro le sezioni nere */
  --ink-soft: #595d62;        /* testo secondario su bianco */
  --green: #00bf63;           /* il punto del logo: CTA, stelle, accenti */
  --green-hover: #00ad5a;
  --green-ink: #007d45;       /* verde per testo su chiaro (AA) */
  --green-soft: rgba(0, 191, 99, .12);
  --line: rgba(14, 14, 14, .09);
  --line-strong: rgba(14, 14, 14, .18);
  --line-dark: rgba(255, 255, 255, .11);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --pad: 20px;                /* margine laterale */
  --maxw: 1200px;
  --section: 96px;            /* aria sopra e sotto ogni sezione */
  --head-gap: 40px;           /* titolo → contenuto */

  --shadow-sm: 0 1px 2px rgba(14, 14, 14, .04), 0 6px 18px rgba(14, 14, 14, .05);
  --shadow-md: 0 2px 4px rgba(14, 14, 14, .04), 0 18px 44px rgba(14, 14, 14, .10);
  --shadow-cta: 0 8px 22px rgba(0, 191, 99, .30);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset essenziale ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Kumbh Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.dark { background: var(--ink); color: #fff; }
.offwhite { background: var(--off); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase;
  color: var(--green-ink);
}
.dark .eyebrow { color: var(--green); }
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}

h1, h2, .h3 { text-wrap: balance; }
h1 {
  font-size: clamp(2.3rem, 10vw, 2.8rem);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 800;
}
h2 {
  font-size: clamp(1.95rem, 8vw, 2.35rem);
  line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
}
.h3 {
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  line-height: 1.12; letter-spacing: -.025em; font-weight: 800;
}
.lead { font-size: 1.125rem; line-height: 1.5; color: var(--ink-soft); }
.dark .lead { color: rgba(255, 255, 255, .72); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 12px 26px;
  border: 0; border-radius: var(--r-md);
  background: var(--green); color: var(--ink);
  font-size: 1.125rem; font-weight: 700; line-height: 1.2; letter-spacing: -.012em;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: scale(.985); }
.btn--block { display: flex; width: 100%; }
.btn--sm {
  min-height: 44px; padding: 8px 16px 8px 13px; gap: 8px;
  border-radius: var(--r-pill); font-size: .9375rem; box-shadow: none;
}
.btn--ghost { background: var(--white); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { background: var(--off); border-color: var(--ink); }
.btn--ghost .btn__wa { color: var(--green-ink); }
.dark .btn { box-shadow: 0 8px 26px rgba(0, 191, 99, .22); }
.btn__wa { width: 22px; height: 22px; flex: none; }
.btn--sm .btn__wa { width: 18px; height: 18px; }

.cta-note { margin-top: 12px; font-size: .875rem; color: var(--ink-soft); text-align: center; }
.dark .cta-note { color: rgba(255, 255, 255, .66); }

/* ---------- Header ---------- */
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
}
.logo { display: inline-flex; padding: 8px 0; color: var(--ink); }
.logo img { height: 24px; width: auto; }
.header__long { display: none; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero { padding-block: 16px 80px; }
.hero__title .l2 { display: block; color: var(--green-ink); }
.hero__lead { margin-top: 16px; max-width: 34ch; }
.hero__cta { margin-top: 26px; }

.hero__media {
  position: relative; margin-top: 34px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--studio);
  box-shadow: var(--shadow-md);
}
.hero__media img { width: 100%; }
.tap-badge {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  backdrop-filter: saturate(140%) blur(6px);
  box-shadow: 0 4px 16px rgba(14, 14, 14, .16);
  font-size: .8125rem; font-weight: 800; letter-spacing: .02em;
}
.tap-badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 191, 99, .55); }
  70% { box-shadow: 0 0 0 12px rgba(0, 191, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 191, 99, 0); }
}

/* ==========================================================================
   2. COME FUNZIONA
   mobile: titolo → demo → passi · desktop: titolo e passi a sinistra, demo a destra
   ========================================================================== */
.how { display: grid; grid-template-areas: "head" "demo" "steps"; }
.how__head { grid-area: head; }

/* Demo: foto vera dell'adesivo + telefono disegnato in CSS che fa il tap.
   Lo stato base è quello "a tap avvenuto": è ciò che resta con il motion ridotto. */
.demo {
  grid-area: demo; position: relative; container-type: inline-size;
  width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin-top: var(--head-gap);
  border-radius: var(--r-lg); overflow: hidden; background: var(--studio);
  box-shadow: var(--shadow-md);
}
.demo__photo { position: absolute; inset: 0; }
.demo__photo img { width: 100%; height: 100%; object-fit: cover; }

.demo__phone {
  position: absolute; right: 4%; top: 14%; width: 35%; aspect-ratio: 9 / 18.6;
  padding: 6px; padding: 1.7cqi;
  border-radius: 24px; border-radius: 6.4cqi;
  background: #141517;
  box-shadow: inset 0 0 0 1.5px #34373b, 0 28px 48px -12px rgba(14, 14, 14, .5);
  transform: translate(0, 0) rotate(-11deg); transform-origin: 50% 60%;
  animation: phone-tap 5.2s var(--ease) infinite;
}
.demo__screen {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 30% 11% 0;
  border-radius: 18px; border-radius: 4.8cqi;
  background: #fff;
}
.demo__screen::before {
  content: ''; position: absolute; top: 3.2%; left: 50%; width: 30%; height: 3%;
  transform: translateX(-50%); border-radius: 99px; background: #141517;
}
.demo__g { flex: none; width: 30%; height: auto; aspect-ratio: 1 / 1; }
.demo__bar {
  display: block; flex: none; height: 8px; height: 2.4cqi;
  border-radius: 99px; background: #e6e8eb;
}
.demo__bar--name { width: 74%; margin-top: 12%; background: #cdd1d6; }
.demo__bar--sub { width: 50%; margin-top: 5%; }
.demo__stars { display: flex; justify-content: center; gap: 4%; width: 100%; margin-top: 13%; }
.demo__stars svg {
  width: 16%; height: auto; aspect-ratio: 1 / 1; color: var(--green);
  animation: star-fill 5.2s var(--ease) infinite;
}
.demo__stars svg:nth-child(2) { animation-delay: .1s; }
.demo__stars svg:nth-child(3) { animation-delay: .2s; }
.demo__stars svg:nth-child(4) { animation-delay: .3s; }
.demo__stars svg:nth-child(5) { animation-delay: .4s; }
.demo__box {
  flex: none; width: 100%; height: 16%; margin-top: 12%;
  border: 1.5px solid #e6e8eb; border-radius: 8px; border-radius: 2.2cqi;
}
.demo__send { flex: none; width: 58%; height: 7%; margin-top: 10%; border-radius: 99px; background: var(--green); }
.demo__off {
  position: absolute; inset: 0; background: #1b1d20; opacity: 0;
  animation: screen-on 5.2s var(--ease) infinite;
}
.demo__waves {
  position: absolute; left: 44%; top: 22%; width: 10%; height: auto; aspect-ratio: 24 / 32;
  animation: waves 5.2s var(--ease) infinite;
}
.demo__waves path { animation: wave 1.3s var(--ease) infinite; }
.demo__waves path:nth-child(2) { animation-delay: .18s; }
.demo__waves path:nth-child(3) { animation-delay: .36s; }
.demo__ripple {
  position: absolute; left: 56%; top: 28%; width: 16%; aspect-ratio: 1 / 1; margin: -8% 0 0 -8%;
  border: 2px solid var(--green); border-radius: 50%; opacity: 0;
  animation: ripple 5.2s var(--ease) infinite;
}
/* la demo parte solo quando entra nello schermo */
.js .demo:not(.is-visible) * { animation-play-state: paused; }

@keyframes phone-tap {
  0%, 6%    { transform: translate(40%, 5%) rotate(-3deg); }
  26%, 80%  { transform: translate(0, 0) rotate(-11deg); }
  96%, 100% { transform: translate(40%, 5%) rotate(-3deg); }
}
@keyframes screen-on {
  0%, 30%   { opacity: 1; }
  40%, 82%  { opacity: 0; }
  94%, 100% { opacity: 1; }
}
@keyframes star-fill {
  0%, 44%   { color: #dcdfe3; transform: scale(.8); }
  52%, 84%  { color: var(--green); transform: scale(1); }
  94%, 100% { color: #dcdfe3; transform: scale(.8); }
}
@keyframes waves {
  0%, 18%   { opacity: 0; }
  26%, 42%  { opacity: 1; }
  52%, 100% { opacity: 0; }
}
@keyframes ripple {
  0%, 25%   { opacity: 0; transform: scale(.3); }
  29%       { opacity: .7; }
  48%, 100% { opacity: 0; transform: scale(2.4); }
}
@keyframes wave { 0%, 60%, 100% { opacity: .25; } 20% { opacity: 1; } }

/* Passi: icona + titolo + una riga, uniti da un trattino verticale */
.steps { grid-area: steps; margin-top: 44px; display: grid; gap: 26px; }
.step { position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: center; column-gap: 18px; }
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 28px; width: 2px;
  top: calc(50% + 34px); bottom: calc(-50% + 8px);
  border-radius: 2px; background: var(--line-strong);
}
.step__icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step__icon svg { width: 28px; height: 28px; }
.step__icon--star svg { width: 30px; height: 30px; color: var(--green); }
.step .wave { animation: wave 1.9s var(--ease) infinite; }
.step .wave + .wave { animation-delay: .25s; }
.step__t { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.step__d { margin-top: 2px; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }

/* ==========================================================================
   3. PERCHÉ CONTA (nero): una ricerca su Google e due risultati
   ========================================================================== */
.search {
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 440px; min-height: 58px; margin-top: 4px; padding: 0 22px;
  border-radius: var(--r-pill); background: var(--white); color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em;
}
.search__icon { width: 20px; height: 20px; flex: none; color: #70757a; }
.search__words { display: block; height: 1.4em; line-height: 1.4; overflow: hidden; }
.search__list { display: block; animation: words 13s var(--ease) infinite; }
.search__list > span { display: block; height: 1.4em; white-space: nowrap; }
.search__list > span::after {
  content: ''; display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -.2em;
  background: var(--green-ink); animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
/* 6 categorie + la prima ripetuta in fondo: il giro riparte senza salti */
@keyframes words {
  0%, 13%      { transform: translateY(0); }
  16.6%, 29.6% { transform: translateY(-1.4em); }
  33.3%, 46.3% { transform: translateY(-2.8em); }
  50%, 63%     { transform: translateY(-4.2em); }
  66.6%, 79.6% { transform: translateY(-5.6em); }
  83.3%, 96.3% { transform: translateY(-7em); }
  100%         { transform: translateY(-8.4em); }
}

.compare { margin-top: 20px; display: grid; gap: 12px; max-width: 440px; }
.compare__card {
  padding: 20px 20px 22px; border-radius: var(--r-md);
  background: var(--ink-2); border: 1px solid var(--line-dark);
}
.compare__card--rival { border-color: rgba(0, 191, 99, .4); }
.compare__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.compare__name {
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.compare__rating { font-size: 1rem; font-weight: 700; }
.compare__rating span { color: var(--green); }
.compare__score { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.compare__num {
  font-size: 3.25rem; font-weight: 800; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.compare__card--rival .compare__num { color: var(--green); }
.compare__label { font-size: 1rem; color: rgba(255, 255, 255, .68); }
.bar { display: block; margin-top: 14px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar__fill {
  display: block; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .38);
  width: var(--w, 50%);
}
.js .bar__fill { width: 0; transition: width 1.1s var(--ease) .15s; }
.js .is-visible .bar__fill { width: var(--w, 50%); }
.compare__card--rival .bar__fill { background: var(--green); }
.compare__vs {
  justify-self: center;
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: rgba(255, 255, 255, .45);
}
.compare__note { margin-top: 14px; font-size: .75rem; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   4. PRODOTTO
   ========================================================================== */
.products { margin-top: var(--head-gap); display: grid; gap: 20px; }
/* didascalia sotto la foto, non sopra: il prodotto resta tutto visibile */
.product {
  overflow: hidden; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.product picture { display: block; background: var(--studio); }
.product img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
/* su mobile titolo e riga uno sotto l'altro, a sinistra: a destra passa il WhatsApp sticky */
.product__label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 20px 18px;
}
.product__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.product__text { font-size: 1rem; line-height: 1.3; color: var(--ink-soft); }

.kit {
  margin-top: 20px; overflow: hidden;
  border-radius: var(--r-lg); background: var(--studio); box-shadow: var(--shadow-sm);
}
.kit__media img { width: 100%; }
.kit__body {
  padding: 26px 22px 28px; background: var(--white);
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.kit__text { margin-top: 8px; max-width: 32ch; }

/* ==========================================================================
   5. GOOGLE ADS VS NEXRATE (nero)
   ========================================================================== */
.confronto__title { max-width: 20ch; }
.roads { margin-top: var(--head-gap); display: grid; gap: 16px; }
.road {
  padding: 26px 22px 28px; border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid var(--line-dark);
}
.road--own {
  background: linear-gradient(160deg, rgba(0, 191, 99, .18), rgba(0, 191, 99, .03) 65%), var(--ink-2);
  border-color: rgba(0, 191, 99, .55);
  box-shadow: 0 24px 60px rgba(0, 191, 99, .08);
}
.road__tag {
  display: inline-block; padding: 6px 12px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78);
}
.road--own .road__tag { background: var(--green); color: var(--ink); }
.road__title {
  margin-top: 18px; font-size: clamp(1.75rem, 7.6vw, 2.4rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
}
.road--own .road__title { color: var(--green); }
.road__text { margin-top: 10px; max-width: 30ch; font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, .72); }

/* 12 mesi: 12 pagamenti contro uno solo */
.months { margin-top: 24px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.months i { position: relative; height: 30px; border-radius: 5px; background: rgba(255, 255, 255, .26); }
.months i::after {
  content: attr(data-m); position: absolute; left: 0; right: 0; top: calc(100% + 5px);
  font-size: .625rem; font-weight: 700; font-style: normal; line-height: 1; text-align: center;
  color: rgba(255, 255, 255, .42);
}
.months--own i { background: transparent; border: 1px dashed rgba(255, 255, 255, .18); }
.months--own i:first-child { background: var(--green); border: 0; }
.months--own i:first-child::after { color: var(--green); }
.js .months i { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .is-visible .months i { opacity: 1; transform: none; }
.months i:nth-child(2) { transition-delay: .04s; }
.months i:nth-child(3) { transition-delay: .08s; }
.months i:nth-child(4) { transition-delay: .12s; }
.months i:nth-child(5) { transition-delay: .16s; }
.months i:nth-child(6) { transition-delay: .2s; }
.months i:nth-child(7) { transition-delay: .24s; }
.months i:nth-child(8) { transition-delay: .28s; }
.months i:nth-child(9) { transition-delay: .32s; }
.months i:nth-child(10) { transition-delay: .36s; }
.months i:nth-child(11) { transition-delay: .4s; }
.months i:nth-child(12) { transition-delay: .44s; }

.road__example {
  display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255, 255, 255, .62);
}
.road__list { margin-top: 16px; display: grid; gap: 10px; }
.road__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.road__list svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--green); }

/* ==========================================================================
   6. PROVA SOCIALE
   ========================================================================== */
.proof { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  display: grid; gap: 10px; padding: 24px 20px 22px;
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat__n {
  font-size: clamp(3.4rem, 16vw, 4.75rem); font-weight: 800; letter-spacing: -.055em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.stat__plus { color: var(--green-ink); }
.stat__l { font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.case {
  padding: 24px 20px 22px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.case__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case__name { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.case__tag {
  flex: none; padding: 6px 10px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-ink);
  font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.case__grid { margin-top: 20px; display: grid; gap: 10px; }
.case__box { padding: 18px; border-radius: var(--r-md); background: var(--off); }
.case__box--now { background: var(--ink); color: #fff; }
.case__v { font-size: 1.875rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.case__box--now .case__v { color: var(--green); }
.case__s { margin-top: 4px; font-size: .9375rem; color: var(--ink-soft); }
.case__box--now .case__s { color: rgba(255, 255, 255, .72); }
.case__vs { justify-self: center; font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: var(--ink-soft); }
.case__note { margin-top: 16px; font-size: .8125rem; color: var(--ink-soft); }

/* ==========================================================================
   7. FAQ
   ========================================================================== */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; min-height: 64px;
}
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.faq__icon::before { width: 16px; height: 2px; }
.faq__icon::after { width: 2px; height: 16px; }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__panel { overflow: hidden; height: 0; transition: height .26s var(--ease); }
.faq__panel > div { padding-bottom: 20px; font-size: 1rem; color: var(--ink-soft); max-width: 52ch; }

/* ==========================================================================
   8. CTA FINALE (nero) + form facoltativo
   ========================================================================== */
.final__inner { max-width: 760px; }
.final__lead { margin-top: 16px; max-width: 34ch; }
.final__cta { margin-top: 32px; }

.callback { margin-top: 40px; max-width: 520px; border-top: 1px solid var(--line-dark); }
.callback__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, .82);
}
.callback__toggle::-webkit-details-marker { display: none; }
.callback__toggle::after {
  content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease);
}
.callback[open] .callback__toggle::after { transform: translateY(2px) rotate(-135deg); }
.callback__toggle:hover { color: #fff; }

.form-card {
  margin-bottom: 8px; padding: 22px 20px 20px;
  border-radius: var(--r-lg); background: var(--white); color: var(--ink);
}
.field + .field { margin-top: 14px; }
.field label { display: block; font-size: .8125rem; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white); font-size: 1rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input::placeholder { color: #767b80; }
.field input:focus { border-color: var(--green-ink); box-shadow: 0 0 0 4px var(--green-soft); outline: none; }
.field input:user-invalid { border-color: #d93025; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { margin-top: 20px; box-shadow: none; }
.form-hint { margin-top: 10px; font-size: .8125rem; color: var(--ink-soft); text-align: center; }
.form-status { margin-top: 10px; font-size: .9375rem; font-weight: 700; color: var(--green-ink); text-align: center; }
.form-status:empty { display: none; }
.form-note { margin-top: 10px; font-size: .75rem; line-height: 1.5; color: var(--ink-soft); text-align: center; }
.form-note a { display: inline-block; padding: 6px 2px; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
.footer { background: var(--white); padding-block: 36px; }
.footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer .logo img { height: 22px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: .9375rem; }
.footer__links a {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--ink-soft); text-decoration: none;
}
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line);
  display: grid; gap: 4px; font-size: .75rem; color: var(--ink-soft);
}

/* ---------- WHATSAPP STICKY (solo mobile) ----------
   Tondo con la sola icona: una pillola con la scritta copriva le didascalie a destra. */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--green); color: var(--ink);
  box-shadow: 0 10px 28px rgba(14, 14, 14, .22), 0 2px 6px rgba(14, 14, 14, .12);
  transform: translateY(calc(100% + 28px));
  transition: transform .28s var(--ease);
}
.fab[hidden] { display: none; }
.fab.is-on { transform: none; }
.fab__icon { width: 28px; height: 28px; }
@media (min-width: 900px) { .fab { display: none; } }

/* ---------- CONSENSO COOKIE (solo se il Meta Pixel è configurato) ---------- */
.consent {
  position: fixed; z-index: 60; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 460px; margin-inline: auto; padding: 16px;
  border-radius: var(--r-md); background: var(--ink); color: #fff;
  box-shadow: 0 12px 40px rgba(14, 14, 14, .3);
}
.consent__text { font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.consent__text a { color: #fff; }
.consent__actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__btn {
  min-height: 44px; border-radius: var(--r-pill); cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; font-weight: 700;
}
.consent__btn:hover { border-color: #fff; }

/* ---------- Motion di ingresso (solo con JS attivo) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js .reveal[data-delay="1"].is-visible { transition-delay: .07s; }
.js .reveal[data-delay="2"].is-visible { transition-delay: .14s; }

/* ==========================================================================
   TABLET  ≥ 700px
   ========================================================================== */
@media (min-width: 700px) {
  :root { --pad: 32px; --section: 120px; --head-gap: 52px; }
  h1 { font-size: clamp(3rem, 6.6vw, 4.5rem); }
  h2 { font-size: clamp(2.4rem, 4.8vw, 3.25rem); }
  .header { padding-block: 18px; }
  .logo img { height: 28px; }
  .header__short { display: none; }
  .header__long { display: inline; }

  .hero__lead { font-size: 1.25rem; }
  .hero__cta .btn, .final__cta .btn { display: inline-flex; width: auto; }
  .hero__cta .cta-note { text-align: left; }

  .steps { max-width: 520px; }

  /* ricerca e confronto al centro: è una sezione solo visiva */
  .why { text-align: center; }
  .search { max-width: 520px; margin-inline: auto; }
  .compare {
    grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
    max-width: 820px; margin-inline: auto; text-align: left;
  }

  /* tre card affiancate: un formato più largo taglierebbe lo stand */
  .products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .product__label { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px 16px; }

  .final__inner { text-align: center; }
  .final__lead { margin-inline: auto; }
  .callback { margin-inline: auto; text-align: left; }

  .roads { grid-template-columns: 1fr 1fr; gap: 20px; }
  .road { padding: 32px 30px 34px; }
  .road__title { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }

  .stats { max-width: 560px; }
  .case { padding: 30px; }
  .case__grid { grid-template-columns: 1fr auto 1fr; align-items: center; }

  .form-card { padding: 28px; }
}

/* ==========================================================================
   DESKTOP  ≥ 1000px
   ========================================================================== */
@media (min-width: 1000px) {
  :root { --pad: 40px; --section: 150px; --head-gap: 60px; }
  .header { padding-block: 22px; }
  .logo img { height: 30px; }

  .hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    padding-block: 40px 130px;
  }
  .hero__title { font-size: clamp(3.4rem, 5.2vw, 4.6rem); }
  .hero__media { margin-top: 0; }

  .how {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". demo" "head demo" "steps demo" ". demo";
    column-gap: 96px;
  }
  .demo { margin-top: 0; align-self: center; justify-self: end; }
  .steps { margin-top: 56px; }

  .compare { max-width: 900px; }
  .compare__card { padding: 26px 26px 28px; }
  .compare__num { font-size: 4rem; }

  .products { gap: 24px; }
  .product__label { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px 18px; }
  .kit { margin-top: 24px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; }
  .kit__body { padding: 48px; background: transparent; border: 0; }

  .roads { gap: 24px; }
  .road { padding: 40px 40px 42px; }

  .proof { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
  .case { padding: 36px; }

  .faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq { margin-top: 0; }

  .final__inner { max-width: 820px; }
  .final__cta { display: flex; align-items: center; justify-content: center; gap: 22px; }
  .final__cta .cta-note { margin: 0; }

  .footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__legal { grid-template-columns: auto 1fr; gap: 24px; }
}

/* ---------- Accessibilità: motion ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .bar__fill { width: var(--w, 50%); }
}
