/* ==========================================================================
   Salutia — Design system "Ink & Signal"
   CSS3 puro, mobile-first. Base identica ad Avvenio: cambia solo l'accento
   (teal/verde salute al posto del blu cobalto) e le tinte derivate.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Token (CSS custom properties)
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --ink: #0F1E2E;          /* testo e sezioni scure */
  --ink-soft: #28394C;     /* testo secondario */
  --cobalt: #0F7A6E;       /* teal/verde salute — accento brand unico */
  --cobalt-700: #0A5E55;   /* hover */
  --cobalt-50: #E9F5F3;    /* tinta chiarissima accento */
  --cobalt-100: #CFE9E4;   /* bordo tinta */
  --surface: #FFFFFF;
  --surface-alt: #F4F8F7;  /* sezioni alternate, card — tinta verde-grigia */
  --line: #E0EEEC;         /* bordi 1px */
  --line-strong: #ADD8D1;  /* bordo card in hover */
  --positive: #0EA66B;     /* solo delta positivi nei numeri */

  /* Testo derivato */
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --text-invert: #FFFFFF;
  --text-invert-soft: #AFC0D4;

  /* Tipografia */
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --rhythm: clamp(4.5rem, 9vw, 8rem);   /* ritmo verticale fra sezioni */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  /* Ombre piatte leggere */
  --shadow-sm: 0 1px 2px rgba(15, 30, 46, 0.04);
  --shadow: 0 8px 28px rgba(15, 30, 46, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 30, 46, 0.12);

  /* Transizioni */
  --ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset minimale + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

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

a {
  color: var(--cobalt);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover { color: var(--cobalt-700); text-decoration: underline; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

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

strong { font-weight: 600; color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--text-invert);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout helper
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--rhythm); }
.section--alt { background: var(--surface-alt); }
.section--ink { background: var(--ink); color: var(--text-invert-soft); }
.section--ink h2,
.section--ink h3 { color: var(--text-invert); }
.section--ink strong { color: var(--text-invert); }

/* Intestazioni centrate (look agenzia) */
.section--center > .container > .eyebrow,
.section--center > .container > h2,
.section--center > .container > .section__intro { text-align: center; }
.section--center > .container > .section__intro { margin-inline: auto; }

.section__intro { max-width: 60ch; }
.section__intro--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 1.5rem; height: 2px;
  background: var(--cobalt);
  border-radius: 2px;
}
.section--center > .container > .eyebrow { justify-content: center; }
.section--ink .eyebrow { color: #4FC2B4; }
.section--ink .eyebrow::before { background: #4FC2B4; }

.lede { font-size: 1.15rem; color: var(--text-muted); }

/* Definizione answer-first + sintesi citabile (sezione "Cos'è il marketing…") */
.definition__answer {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
  max-width: 64ch;
}
.tldr {
  margin: 2.4rem 0 0;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.tldr li {
  margin: 0;
  padding-left: 2.1rem;
  position: relative;
  color: var(--text-muted);
}
.tldr li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: var(--cobalt-50);
  color: var(--cobalt);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
@media (min-width: 760px) {
  .tldr { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

/* CTA di sezione: bottone centrato sotto il contenuto (rimanda al form) */
.section-cta { margin-top: clamp(2.2rem, 5vw, 3.2rem); text-align: center; }
.feature__cta { margin-top: 1.8rem; }
/* CTA su band scura → arancione (azione, coerente con l'hero) */
.section--ink .btn--primary {
  background: #C8470F;
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(200, 71, 15, 0.42);
}
.section--ink .btn--primary:hover { background: #A53A0C; color: #FFFFFF; transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   4. Bottoni
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cobalt);
  color: var(--text-invert);
  box-shadow: 0 8px 20px rgba(15, 122, 110, 0.25);
}
.btn--primary:hover { background: var(--cobalt-700); color: var(--text-invert); box-shadow: 0 10px 26px rgba(15, 122, 110, 0.32); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--cobalt);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt-700); }

.btn--on-ink {
  background: #fff;
  color: var(--ink);
}
.btn--on-ink:hover { background: var(--cobalt-50); color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   5. Header (sticky, leggero)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.wordmark:hover { color: var(--ink); text-decoration: none; }
.wordmark__dot { color: var(--cobalt); }

.site-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.97rem;
}
.site-nav a:hover { color: var(--cobalt); text-decoration: none; }

/* Azioni a destra: CTA "Contatti" (sempre visibile) + hamburger (solo mobile) */
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-cta { display: inline-flex; padding: 0.62rem 1.1rem; font-size: 0.92rem; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.no-js .nav-toggle { display: none; }

/* Nav mobile: pannello a tendina sotto la barra */
.site-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.3rem var(--gutter) 0.7rem;
}
.site-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.site-nav li:last-child { border-bottom: 0; }
.site-nav ul a { display: block; padding: 0.95rem 0.2rem; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .header-cta { padding: 0.95rem 1.6rem; font-size: 1rem; }
  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul { flex-direction: row; gap: 1.6rem; padding: 0; }
  .site-nav li { border: 0; }
  .site-nav ul a { display: inline; padding: 0; }
}
/* Nav lunghe (pillar): stringi leggermente tra 860 e 1080px per evitare wrap */
@media (min-width: 860px) and (max-width: 1080px) {
  .site-nav ul { gap: 1.05rem; }
  .site-nav a, .nav-drop__toggle { font-size: 0.9rem; }
}

/* --- Menu a tendina "Professioni" --- */
.nav-item--dropdown { position: relative; }
.nav-drop__toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--ease);
}
.nav-drop__toggle:hover { color: var(--cobalt); }
.nav-drop__toggle svg { width: 12px; height: 12px; flex: none; transition: transform var(--ease); }
.nav-drop__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Sotto-lista: reset delle regole ereditate da .site-nav ul */
.site-nav ul.nav-drop { list-style: none; margin: 0; }
.site-nav ul.nav-drop li { margin: 0; border: 0; }

@media (min-width: 860px) {
  .site-nav ul.nav-drop {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 0;
    min-width: 300px;
    padding: 0.55rem;
    margin-top: 0.9rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
    z-index: 110;
  }
  /* Ponte invisibile: mantiene l'hover nel varco tra voce e pannello */
  .site-nav ul.nav-drop::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -0.9rem;
    height: 0.9rem;
  }
  .nav-item--dropdown:hover .nav-drop,
  .nav-item--dropdown:focus-within .nav-drop,
  .nav-drop__toggle[aria-expanded="true"] + .nav-drop {
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul.nav-drop a {
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    color: var(--ink-soft);
    white-space: nowrap;
  }
  .site-nav ul.nav-drop a:hover {
    background: var(--cobalt-50);
    color: var(--cobalt-700);
    text-decoration: none;
  }
}

@media (max-width: 859.98px) {
  /* Nel pannello mobile la tendina diventa una sotto-lista collassabile */
  .nav-drop__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0.2rem;
    font-size: 0.97rem;
  }
  .site-nav ul.nav-drop {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 0.4rem 1rem;
  }
  .nav-drop__toggle[aria-expanded="true"] + .nav-drop { display: flex; }
  .site-nav ul.nav-drop a { padding: 0.6rem 0.2rem; }
  /* Senza JS il pannello mobile non si apre comunque: nessun fallback extra */
}

/* --------------------------------------------------------------------------
   6. Hero (conversione) + mock report
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(55% 75% at 90% -5%, rgba(64, 191, 175, 0.55) 0%, transparent 58%),
    radial-gradient(48% 65% at 4% 118%, rgba(15, 122, 110, 0.42) 0%, transparent 60%),
    linear-gradient(158deg, #06302B 0%, #0A5E55 56%, #0F7A6E 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: 1rem; }
.hero__sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1.8rem; max-width: 34rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.trust-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
.trust-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  flex: none;
}

/* Stat strip in stile agenzia (numeri onesti) — barra full-width sotto la griglia */
.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem clamp(1.5rem, 4vw, 3rem);
  margin: clamp(2.4rem, 5vw, 3.4rem) 0 0;
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 620px) { .hero__stats { grid-template-columns: repeat(3, 1fr); } }
.hero__stats dt, .hero__stats dd { margin: 0; }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--cobalt);
  line-height: 1;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  max-width: 19ch;
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* --- Hero su sfondo teal scuro: adattamento di testi, CTA e statistiche --- */
.hero .eyebrow { color: #8FD9CE; }
.hero .eyebrow::before { background: #8FD9CE; }
.hero h1 { color: #FFFFFF; }
.hero__sub { color: rgba(255, 255, 255, 0.86); }
/* CTA primaria hero: arancione (complementare al teal), testo bianco AA (4.8:1) */
.hero .btn--primary {
  background: #C8470F;
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(200, 71, 15, 0.42);
}
.hero .btn--primary:hover { background: #A53A0C; color: #FFFFFF; transform: translateY(-1px); }
.hero .link-arrow { color: #FFFFFF; }
.hero .link-arrow:hover { color: var(--cobalt-50); }
.hero .trust-row { color: rgba(255, 255, 255, 0.82); }
.hero .trust-row li::before { background: #4FE0A6; }
.hero__stats { border-top-color: rgba(255, 255, 255, 0.22); }
.hero .stat__num { color: #FFFFFF; }
.hero .stat__label { color: rgba(255, 255, 255, 0.80); }
.hero :focus-visible { outline-color: #FFFFFF; }
/* Report: più profondità su sfondo scuro */
.hero .report { box-shadow: 0 30px 70px rgba(4, 30, 27, 0.45); }

/* ---- Mock report (elemento signature) con cornice browser ---- */
.report {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 380px; /* riserva spazio: niente layout shift */
}
.report__chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.report__dots { display: flex; gap: 0.4rem; flex: none; }
.report__dots span { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E3; }
.report__dots span:nth-child(1) { background: #FF6058; }
.report__dots span:nth-child(2) { background: #FFBE2F; }
.report__dots span:nth-child(3) { background: #2BC840; }
.report__url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.report__url svg { width: 11px; height: 11px; }

.report__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  background: var(--ink);
  color: var(--text-invert);
}
.report__bar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.report__bar-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 4px rgba(14,166,107,0.18);
}
.report__period { font-size: 0.8rem; color: var(--text-invert-soft); }

.report__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.metric {
  background: var(--surface);
  padding: 1.1rem 1.2rem 1.2rem;
}
.metric__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.metric__delta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--positive);
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}
.metric__delta--down-good { color: var(--positive); }
.sparkline { margin-top: 0.7rem; display: block; width: 100%; height: 32px; }
.sparkline path.line { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sparkline path.area { fill: rgba(15,122,110,0.08); stroke: none; }

.report__foot {
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* --------------------------------------------------------------------------
   7. Band marquee (strip entità/keyword scorrevoli) — firma agenzia
   -------------------------------------------------------------------------- */
.band { padding-block: 1.15rem; }
.band--tags { background: var(--ink); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  gap: 0.7rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: #D2ECE8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: #4FC2B4; flex: none; }

/* --------------------------------------------------------------------------
   8. Pills (capability, specializzazioni, keyword locali)
   -------------------------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.pills--center { justify-content: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  transition: border-color var(--ease), color var(--ease), transform var(--ease);
}
a.pill:hover { border-color: var(--cobalt); color: var(--cobalt-700); text-decoration: none; transform: translateY(-1px); }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); flex: none; }
.pill__check { color: var(--positive); font-weight: 700; }
.pill--accent {
  background: var(--cobalt-50);
  border-color: var(--cobalt-100);
  color: var(--cobalt-700);
  font-family: var(--font-display);
}
.pills__label {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1.6rem 0 0.2rem;
}

/* --------------------------------------------------------------------------
   9. Card generiche (trasparenza, risultati)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .card-grid--2 { grid-template-columns: 1fr 1fr; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--cobalt-50);
  color: var(--cobalt);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); }

.services__closer {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. Servizi — card ricche con mini-mockup (SERP / annuncio / GBP / articolo)
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .svc-grid { grid-template-columns: 1fr 1fr; } }

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }

.svc-card__visual {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.4rem;
}
.svc-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.svc-card__head .card__icon { margin: 0; }
.svc-card h3 { margin: 0; }
.svc-card p { color: var(--text-muted); flex: 1; }
.svc-card__cta {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--ease);
}
.svc-card:hover .svc-card__cta { gap: 0.7rem; }

/* ---- mini SERP (organico) ---- */
.mini-serp__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.mini-serp__bar svg { width: 14px; height: 14px; flex: none; color: var(--cobalt); }
.serp-result { display: flex; gap: 0.6rem; align-items: flex-start; }
.serp-rank {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}
.serp-body { flex: 1; min-width: 0; }
.serp-url { font-size: 0.7rem; color: var(--positive); }
.serp-title { font-size: 0.86rem; color: var(--cobalt); font-weight: 600; margin: 0.12rem 0 0.4rem; }
.serp-line { height: 6px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.serp-line.w-90 { width: 90%; }
.serp-line.w-70 { width: 70%; }

/* ---- mini annuncio (Google Ads) ---- */
.mini-ad { font-size: 0.78rem; }
.ad-top { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.45rem; }
.ad-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0.05rem 0.35rem;
  background: var(--surface);
}
.ad-url { font-size: 0.72rem; color: var(--ink-soft); }
.ad-title { font-size: 0.86rem; color: var(--cobalt); font-weight: 600; margin: 0 0 0.4rem; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.ad-chip {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--cobalt-50);
  color: var(--cobalt-700);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}

/* ---- mini Google Business Profile (scheda locale) ---- */
.mini-gbp { font-size: 0.8rem; }
.gbp-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.gbp-rating { color: #F2A93B; font-size: 0.85rem; letter-spacing: 0.06em; margin: 0.3rem 0 0.25rem; }
.gbp-count { color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0; }
.gbp-meta { color: var(--text-muted); font-size: 0.74rem; margin-bottom: 0.75rem; }
.gbp-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gbp-chip {
  font-size: 0.68rem; font-weight: 600;
  color: var(--cobalt-700); background: var(--surface);
  border: 1px solid var(--cobalt-100); border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.gbp-chip--primary { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }

/* ---- mini articolo (content marketing) ---- */
.mini-article { font-size: 0.8rem; }
.art-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--cobalt-700); background: var(--cobalt-50);
  border-radius: 5px; padding: 0.15rem 0.5rem; margin-bottom: 0.55rem;
}
.art-title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--ink); line-height: 1.25; margin-bottom: 0.7rem;
}
.art-foot { display: block; margin-top: 0.6rem; font-size: 0.7rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   11. Metodo Lente (3 step numerati)
   -------------------------------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -20px; left: 1.7rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(15, 122, 110, 0.3);
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); }
.step h3 .step__kw { color: var(--cobalt); }

/* --------------------------------------------------------------------------
   12. Blocco guida (SEO long-form) + indice
   -------------------------------------------------------------------------- */
.guide__layout { display: grid; gap: 2.5rem; }
@media (min-width: 940px) {
  .guide__layout { grid-template-columns: 250px 1fr; align-items: start; }
}

.toc {
  position: static;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 940px) {
  .toc { position: sticky; top: 90px; }
}
.toc__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin-bottom: 0.55rem; }
.toc a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: block;
  padding-left: 0.8rem;
  border-left: 2px solid transparent;
  transition: border-color var(--ease), color var(--ease);
}
.toc a:hover, .toc a[aria-current="true"] { color: var(--cobalt); text-decoration: none; border-left-color: var(--cobalt); }

.guide__body > article { scroll-margin-top: 90px; }
.guide__body article + article { margin-top: 2.6rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.guide__body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.guide__answer { font-weight: 500; color: var(--ink); font-size: 1.1rem; }
.guide__body article p { color: var(--text-muted); }
.guide__body article p strong { color: var(--ink); }

.kw-example {
  font-style: normal;
  background: var(--cobalt-50);
  color: var(--cobalt-700);
  padding: 0.05em 0.45em;
  border-radius: 6px;
  font-size: 0.92em;
  white-space: nowrap;
}

.inline-cta {
  margin-top: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.inline-cta p { margin: 0; font-weight: 500; color: var(--ink); }

/* --------------------------------------------------------------------------
   13. Risultati / prova sociale
   -------------------------------------------------------------------------- */
.result-card { text-align: left; }
.result-card .result__metric {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--cobalt);
  margin-bottom: 0.3rem;
  line-height: 1.1;
}
.result-card .result__context { color: var(--text-muted); margin: 0; }

.seen-on {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.seen-on__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  opacity: 0.7;
}
.seen-on__logos span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
}

.testimonial {
  margin-top: 2.5rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cobalt);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  max-width: 62ch;
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote { margin: 0 0 0.8rem; font-size: 1.15rem; color: var(--ink); }
.testimonial cite { font-style: normal; color: var(--text-muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   14. Chi siamo / E-E-A-T
   -------------------------------------------------------------------------- */
.author {
  display: grid;
  gap: 1.8rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .author { grid-template-columns: 170px 1fr; }
}
.author__photo {
  width: 170px; height: 170px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-alt);
  overflow: hidden;
}
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.author__role { color: var(--cobalt); font-weight: 600; margin-bottom: 0.8rem; }
.author p { color: var(--text-muted); }

/* Banner immagine reale del team in #chi-siamo */
.chi-banner { margin: 0 0 2.5rem; }
.chi-banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Feature row — testo + immagine reale affiancati
   -------------------------------------------------------------------------- */
.feature { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
@media (min-width: 820px) { .feature { grid-template-columns: 1.05fr 0.95fr; } }
.feature--reverse .feature__media { order: -1; }
.feature__text { max-width: 46ch; }
.feature__media { margin: 0; }
.feature__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   15. FAQ (accordion)
   -------------------------------------------------------------------------- */
.faq { margin-top: 2.5rem; max-width: 800px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.25rem 3rem 1.25rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  display: block;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 1.3rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--cobalt);
  border-bottom: 2px solid var(--cobalt);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--ease);
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-35%) rotate(-135deg); }
.faq__a {
  overflow: hidden;
  color: var(--text-muted);
}
.faq__a-inner { padding: 0 1.4rem 1.4rem; }
.faq__a p { margin: 0; }
.no-js .faq__a { max-height: none !important; }

/* --------------------------------------------------------------------------
   16. Form
   -------------------------------------------------------------------------- */
.form-section .form-wrap {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .form-section .form-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 560px) {
  .form-grid .span-2 { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.field .req { color: var(--cobalt); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(15, 122, 110, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--error input,
.field--error select,
.field--error textarea { border-color: #D64545; }
.field__error {
  color: #B92B2B;
  font-size: 0.85rem;
  min-height: 1em;
}

.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.consent input { width: auto; margin-top: 0.2rem; }
.consent label { font-weight: 400; font-size: 0.9rem; color: var(--text-muted); }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-aside ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.form-aside li {
  margin: 0;
  padding-left: 1.9rem;
  position: relative;
  color: var(--text-muted);
}
.form-aside li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--positive);
  font-weight: 700;
}
.form-aside li strong { display: block; color: var(--ink); }

.form-status {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.form-status[hidden] { display: none; }
.form-status--ok { background: #E6F7F0; color: #075E3C; border: 1px solid #B6E6D2; }
.form-status--err { background: #FCEDED; color: #8E1F1F; border: 1px solid #F3C8C8; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-invert-soft);
  padding-block: 3.5rem 2rem;
}
.site-footer a { color: #C2E2DC; }
.site-footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  gap: 2rem;
}
@media (min-width: 720px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
}
.footer .wordmark { color: #fff; }
.footer__tagline { max-width: 34ch; margin-top: 0.8rem; color: var(--text-invert-soft); }
.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   18. Blog / articolo
   -------------------------------------------------------------------------- */
.article-container { max-width: 760px; margin-inline: auto; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cobalt); text-decoration: none; }
.breadcrumb .sep { margin: 0 0.4rem; opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Breadcrumb su hero scuro (pillar verticali) */
.hero .breadcrumb { color: rgba(255, 255, 255, 0.72); margin-bottom: 2rem; }
.hero .breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.hero .breadcrumb a:hover { color: #FFFFFF; }
.hero .breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.92); }

.article-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.article-lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin-top: 1.2rem;
}
.article-meta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.3rem;
}

.article-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
}
.article-body h4 {
  font-size: 1.05rem;
  margin-top: 1.9rem;
  margin-bottom: 0.5rem;
}
.article-body ol { margin: 1.2rem 0; padding-left: 1.5rem; }
.article-body ol li { color: var(--text-muted); margin-bottom: 0.5rem; padding-left: 0.3rem; }
.article-body ol li::marker { color: var(--cobalt); font-weight: 700; }
.article-body p { color: var(--text-muted); }
.article-body p strong { color: var(--ink); }
.article-body ul { margin: 1.2rem 0; padding-left: 0; list-style: none; }
.article-body ul li {
  color: var(--text-muted);
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.7rem;
}
.article-body ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
}
.article-body .inline-cta { margin-top: 2.6rem; }

.post-card { display: flex; flex-direction: column; height: 100%; }
a.post-card, a.post-card:hover { text-decoration: none; color: inherit; }
.post-card__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.7rem;
}
.post-card__title { margin-bottom: 0.6rem; }
.post-card__excerpt { color: var(--text-muted); flex: 1; margin: 0; }
.post-card__link {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- Audit gratuito (blocco prioritario sotto la hero dei pillar) --- */
.section--audit { padding-block: clamp(2.5rem, 5vw, 4rem); }
.audit-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--cobalt);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.audit-card h2 { margin-bottom: 0.35em; }
.audit-card .tldr { margin-top: 1.8rem; }
.audit-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.audit-card__note {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
  max-width: 46ch;
}

/* --- Workflow verticale "Come analizziamo il tuo mercato" (pillar) --- */
.workflow {
  list-style: none;
  counter-reset: wf;
  margin: 2.6rem auto 0;
  padding: 0;
  max-width: 620px;
  text-align: left;
}
.workflow li { counter-increment: wf; margin: 0; }
.workflow__step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.workflow__step::before {
  content: counter(wf);
  flex: none;
  width: 36px; height: 36px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--cobalt-50);
  color: var(--cobalt-700);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.workflow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.workflow__step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
/* Freccia di collegamento tra le tappe */
.workflow li:not(:last-child)::after {
  content: "↓";
  display: block;
  text-align: center;
  color: var(--cobalt);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.55rem 0;
}
/* Tappa finale = Strategia: evidenziata */
.workflow li:last-child .workflow__step {
  background: var(--cobalt);
  border-color: var(--cobalt);
  box-shadow: 0 12px 28px rgba(15, 122, 110, 0.3);
}
.workflow li:last-child .workflow__title { color: #fff; }
.workflow li:last-child .workflow__step p { color: rgba(255, 255, 255, 0.88); }
.workflow li:last-child .workflow__step::before {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Griglia a 4 colonne (statistiche, card compatte) */
.card-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .card-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --- Tabella confronto "Agenzia generalista vs Salutia" --- */
.compare-wrap { max-width: 880px; margin: 2.6rem auto 0; overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}
.compare th, .compare td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-alt);
}
.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 26%;
  background: var(--surface-alt);
}
.compare td { color: var(--text-muted); width: 37%; }
/* Colonna Salutia evidenziata */
.compare thead th:last-child,
.compare td:last-child {
  background: var(--cobalt-50);
  color: var(--cobalt-700);
  font-weight: 500;
}
.compare thead th:last-child { color: var(--cobalt-700); }

/* --- Sezione "Cosa NON facciamo": liste ❌ / ✔ --- */
.nolist, .yeslist {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}
.nolist li, .yeslist li {
  margin: 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-muted);
}
.nolist li::before, .yeslist li::before {
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.nolist li::before {
  content: "✕";
  background: #FCEDED;
  color: #B92B2B;
}
.yeslist li::before {
  content: "✓";
  background: #E6F7F0;
  color: var(--positive);
}
.yeslist li strong, .nolist li strong { color: var(--ink); }

/* Badge "In arrivo" sulle card professioni non ancora live */
.card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.8rem;
}

/* Heading di categoria nella listing blog */
.blog-cat-title {
  margin-top: 3rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.blog-cat-title:first-of-type { margin-top: 2.4rem; }

/* --------------------------------------------------------------------------
   19. Accessibilità / motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; }
}

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