@charset "UTF-8";
/* =============================================================================
   VECTES ENERGY CONSULTING SRL — Foglio di stile pubblico
   Scritto a mano. Nessun framework, nessun build step.
   -----------------------------------------------------------------------------
   INDICE
   01 · Font
   02 · Custom properties (palette, spazi, raggi, ombre, tempi, tipografia)
   03 · Reset
   04 · Tipografia di base
   05 · Layout: container, sezioni, griglie
   06 · Elementi editoriali (.v-eyebrow, .v-title, .v-lead, .v-prose)
   07 · Bottoni e link d'azione
   08 · Header, navigazione, pannello mobile
   09 · Breadcrumb
   10 · Hero
   11 · Striscia credibilità
   12 · Card servizio e griglie servizi
   13 · Indice categorie appiccicoso
   14 · Metodo (step numerati) e diagramma
   15 · Statistiche
   16 · Team
   17 · Scheda servizio (2 colonne + sidebar sticky)
   18 · Banda CTA
   19 · Form contatti + box informazioni
   20 · Pagine editoriali e 404
   21 · Footer
   22 · Divisori decorativi
   23 · Utility
   24 · Media query
   25 · prefers-reduced-motion
   26 · Stampa
============================================================================= */

/* =============================================================================
   01 · FONT
============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

/* =============================================================================
   02 · CUSTOM PROPERTIES
============================================================================= */

:root {
  /* --- Palette di marca (campionata dal logo — non modificare i valori) --- */
  --c-navy-900: #0b2438;
  --c-navy-800: #10314c;
  --c-navy-700: #143b5a;
  --c-navy-600: #1b4c74;
  --c-navy-500: #2a6597;
  --c-teal-700: #0f6e68;
  --c-teal-600: #14867e;
  --c-teal-500: #17958c;
  --c-teal-400: #2fafa4;
  --c-teal-200: #a7ded8;
  --c-slate-600: #5a6b76;
  --c-slate-500: #6c797f;
  --c-slate-300: #aebac2;
  --c-slate-100: #e6ebef;
  --c-slate-50: #f4f7f9;
  --c-white: #ffffff;
  --c-ink: #16222c;

  /* --- Ruoli semantici -----------------------------------------------------
     I ruoli isolano i componenti dai valori grezzi: il testo corrente usa
     --t-body, non --c-ink. Sui fondi scuri i ruoli vengono ridefiniti
     localmente da .v-section--dark / .v-footer.                             */
  --t-strong: var(--c-navy-700);        /* titoli */
  --t-body: var(--c-ink);               /* testo corrente */
  --t-muted: var(--c-slate-600);        /* testo secondario — AA su bianco 5.5:1 */
  --t-accent: var(--c-teal-700);        /* link e accenti testuali — AA 6.1:1 */
  --t-invert: var(--c-white);

  --bg-page: var(--c-white);
  --bg-soft: var(--c-slate-50);
  --bg-dark: var(--c-navy-900);
  --bd-hair: var(--c-slate-100);
  --bd-strong: var(--c-slate-300);

  /* Gradiente di marca (dalla freccia del logo) */
  --grad-brand: linear-gradient(140deg, #17958c 0%, #1b656a 60%, #143b5a 100%);
  --grad-dark: linear-gradient(165deg, #10314c 0%, #0b2438 55%, #0b2438 100%);

  /* Velature dell'accento (fondi tenui, badge, stati) */
  --tint-teal-04: rgba(23, 149, 140, 0.04);
  --tint-teal-08: rgba(23, 149, 140, 0.08);
  --tint-teal-14: rgba(23, 149, 140, 0.14);
  --tint-navy-06: rgba(20, 59, 90, 0.06);
  --tint-light-08: rgba(255, 255, 255, 0.08);
  --tint-light-14: rgba(255, 255, 255, 0.14);

  /* --- Spaziature: scala 4px ------------------------------------------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --sp-11: 80px;
  --sp-12: 104px;

  /* Ritmo verticale delle sezioni */
  --sp-section: clamp(64px, 9vw, 132px);
  --sp-section-sm: clamp(48px, 6vw, 88px);

  /* --- Misure --- */
  --w-container: 1200px;
  --w-narrow: 780px;
  --w-prose: 68ch;
  --w-prose-legal: 72ch;
  --h-header: 84px;
  --h-header-compact: 66px;

  /* --- Raggi --- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 22px;
  --r-pill: 999px;

  /* --- Ombre: bassissime, mai drammatiche --- */
  --sh-xs: 0 1px 2px rgba(11, 36, 56, 0.04);
  --sh-sm: 0 2px 6px rgba(11, 36, 56, 0.05);
  --sh-md: 0 6px 20px -6px rgba(11, 36, 56, 0.12);
  --sh-lg: 0 18px 46px -18px rgba(11, 36, 56, 0.28);
  --sh-header: 0 1px 0 rgba(11, 36, 56, 0.06), 0 8px 24px -16px rgba(11, 36, 56, 0.22);

  /* --- Tempi e curve --- */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur-1: 180ms;
  --dur-2: 220ms;
  --dur-3: 260ms;

  /* --- Tipografia --- */
  --ff-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --ff-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-2xs: 0.75rem;      /* 12 */
  --fs-xs: 0.8125rem;     /* 13 */
  --fs-sm: 0.875rem;      /* 14 */
  --fs-base: 1rem;        /* 16 */
  --fs-md: clamp(1rem, 0.25vw + 0.94rem, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 0.45vw + 0.97rem, 1.1875rem);
  --fs-lead: clamp(1.125rem, 0.6vw + 1rem, 1.3125rem);
  --fs-h5: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
  --fs-h4: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
  --fs-h3: clamp(1.1875rem, 0.6vw + 1.05rem, 1.4375rem);
  --fs-h2: clamp(1.75rem, 1.7vw + 1.12rem, 2.625rem);
  --fs-h1: clamp(2.0625rem, 2.6vw + 1.3rem, 3.25rem);
  --fs-display: clamp(2.25rem, 2.9vw + 1.35rem, 3.5rem);
  --fs-stat: clamp(2.5rem, 3vw + 1.4rem, 3.75rem);

  --lh-tight: 1.08;
  --lh-snug: 1.22;
  --lh-title: 1.3;
  --lh-body: 1.65;

  --ls-display: -0.028em;
  --ls-title: -0.018em;
  --ls-eyebrow: 0.13em;

  /* Offset per ancore sotto l'header appiccicoso */
  --anchor-offset: calc(var(--h-header-compact) + 24px);
}

/* =============================================================================
   03 · RESET
============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--t-body);
  font-family: var(--ff-text);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul[class],
ol[class] {
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--t-accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--bd-hair);
  margin: var(--sp-8) 0;
}

:focus-visible {
  outline: 2px solid var(--c-teal-600);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.v-section--dark :focus-visible,
.v-footer :focus-visible {
  outline-color: var(--c-teal-200);
}

::selection {
  background: var(--c-teal-200);
  color: var(--c-navy-900);
}

/* Salta al contenuto */
.v-skip {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  z-index: 999;
  transform: translateY(-160%);
  background: var(--c-navy-700);
  color: var(--c-white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform var(--dur-2) var(--ease);
}

.v-skip:focus {
  transform: translateY(0);
  text-decoration: none;
}

/* =============================================================================
   04 · TIPOGRAFIA DI BASE
============================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display);
  color: var(--t-strong);
  font-weight: 600;
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

h5 {
  font-size: var(--fs-h5);
}

strong,
b {
  font-weight: 600;
  color: var(--t-strong);
}

small {
  font-size: var(--fs-sm);
}

code,
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--c-slate-50);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-xs);
  padding: 0.1em 0.35em;
}

.v-num,
.v-stat__value,
table td,
table th {
  font-variant-numeric: tabular-nums;
}

/* =============================================================================
   05 · LAYOUT
============================================================================= */

.u-container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.u-container--narrow {
  max-width: calc(var(--w-narrow) + var(--sp-6) * 2);
}

.u-container--wide {
  max-width: 1340px;
}

.v-main {
  display: block;
  min-height: 40vh;
}

.v-section {
  position: relative;
  padding-block: var(--sp-section);
}

.v-section--sm {
  padding-block: var(--sp-section-sm);
}

.v-section--tight-top {
  padding-top: 0;
}

.v-section--tight-bottom {
  padding-bottom: 0;
}

.v-section--muted {
  background-color: var(--bg-soft);
}

.v-section--hairline {
  border-top: 1px solid var(--bd-hair);
}

/* Sezione scura, con reticolo in sovrimpressione.
   Il pattern SVG è opzionale: il colore di fondo garantisce il risultato
   anche se il file non esiste ancora. */
.v-section--dark {
  --t-strong: var(--c-white);
  --t-body: #dbe4ea;
  --t-muted: var(--c-slate-300);
  --t-accent: var(--c-teal-200);
  --bd-hair: rgba(255, 255, 255, 0.12);
  --bd-strong: rgba(255, 255, 255, 0.24);
  background-color: var(--bg-dark);
  background-image: var(--grad-dark);
  color: var(--t-body);
  isolation: isolate;
}

.v-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 320px 320px;
  background-position: center top;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.v-section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 74% at 88% 8%, rgba(23, 149, 140, 0.22), transparent 70%),
    radial-gradient(48% 60% at 4% 96%, rgba(42, 101, 151, 0.22), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.v-section--dark h1,
.v-section--dark h2,
.v-section--dark h3,
.v-section--dark h4 {
  color: var(--c-white);
}

.v-section__head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.v-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.v-section__head--split {
  max-width: none;
  display: grid;
  gap: var(--sp-5);
  align-items: end;
}

.v-section__head p {
  margin-top: var(--sp-4);
}

/* Griglie */
.v-grid {
  display: grid;
  gap: var(--sp-6);
}

.v-grid--2 {
  grid-template-columns: 1fr;
}

.v-grid--3 {
  grid-template-columns: 1fr;
}

.v-grid--4 {
  grid-template-columns: 1fr;
}

.v-grid--gap-lg {
  gap: var(--sp-7);
}

/* Impaginazione a due colonne (contenuto + colonna laterale) */
.v-split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* =============================================================================
   06 · ELEMENTI EDITORIALI
============================================================================= */

.v-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
  font-family: var(--ff-text);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--t-accent);
  line-height: 1.3;
}

.v-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.v-section__head--center .v-eyebrow {
  justify-content: center;
}

.v-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  color: var(--t-strong);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

.v-title--display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: 700;
}

.v-title--sm {
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-title);
}

.v-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--t-muted);
  max-width: 62ch;
  margin: 0;
  text-wrap: pretty;
}

.v-section__head--center .v-lead {
  margin-inline: auto;
}

.v-text {
  color: var(--t-muted);
  max-width: var(--w-prose);
}

/* Contenitore per HTML redazionale proveniente dal database */
.v-prose {
  max-width: var(--w-prose);
  color: var(--t-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
}

.v-prose > * + * {
  margin-top: var(--sp-5);
}

.v-prose p {
  text-wrap: pretty;
}

.v-prose h2 {
  font-size: var(--fs-h3);
  margin-top: var(--sp-9);
  letter-spacing: var(--ls-title);
}

.v-prose h3 {
  font-size: var(--fs-h4);
  margin-top: var(--sp-8);
}

.v-prose h4 {
  font-size: var(--fs-h5);
  margin-top: var(--sp-7);
  text-transform: none;
}

.v-prose h2:first-child,
.v-prose h3:first-child {
  margin-top: 0;
}

.v-prose ul,
.v-prose ol {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: var(--sp-3);
}

.v-prose ul > li {
  position: relative;
  padding-left: var(--sp-7);
}

.v-prose ul > li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c-teal-500);
  transform: rotate(45deg);
}

.v-prose ol {
  counter-reset: v-prose-ol;
}

.v-prose ol > li {
  position: relative;
  padding-left: var(--sp-8);
  counter-increment: v-prose-ol;
}

.v-prose ol > li::before {
  content: counter(v-prose-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-teal-700);
  font-variant-numeric: tabular-nums;
}

.v-prose a {
  color: var(--t-accent);
  text-decoration: underline;
  text-decoration-color: var(--c-teal-200);
}

.v-prose a:hover {
  text-decoration-color: currentColor;
}

.v-prose blockquote {
  border-left: 3px solid var(--c-teal-500);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
  color: var(--t-muted);
  font-size: var(--fs-lg);
}

.v-prose table {
  font-size: var(--fs-sm);
}

.v-prose th,
.v-prose td {
  border-bottom: 1px solid var(--bd-hair);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  vertical-align: top;
}

.v-prose--legal {
  max-width: var(--w-prose-legal);
  font-size: var(--fs-base);
}

.v-prose--legal > * + * {
  margin-top: var(--sp-4);
}

.v-prose--legal h2 {
  font-size: var(--fs-h4);
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--bd-hair);
}

.v-prose--legal h3 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-top: var(--sp-6);
}

.v-section--dark .v-prose {
  color: var(--t-body);
}

/* Lista puntata "check" — highlights, elenchi di garanzie */
.v-checklist {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.v-checklist li {
  position: relative;
  padding-left: var(--sp-8);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--t-body);
}

.v-checklist .v-icon {
  position: absolute;
  left: 0;
  top: 0.16em;
  width: 18px;
  height: 18px;
  color: var(--c-teal-700);
}

.v-section--dark .v-checklist .v-icon {
  color: var(--c-teal-400);
}

/* Lista sobria a filetti */
.v-linklist {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
}

.v-linklist li + li {
  border-top: 1px solid var(--bd-hair);
}

.v-linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  color: var(--t-strong);
  font-weight: 500;
  font-size: var(--fs-base);
  line-height: 1.45;
  transition: color var(--dur-1) var(--ease);
}

.v-linklist a:hover {
  color: var(--c-teal-700);
  text-decoration: none;
}

.v-linklist a .v-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--c-slate-300);
  transition: transform var(--dur-2) var(--ease), color var(--dur-1) var(--ease);
}

.v-linklist a:hover .v-icon {
  color: var(--c-teal-600);
  transform: translateX(4px);
}

.v-linklist a[aria-current="page"] {
  color: var(--c-teal-700);
}

/* Icone */
.v-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  vertical-align: middle;
  color: inherit;
}

.v-icon--sm {
  width: 16px;
  height: 16px;
}

.v-icon--md {
  width: 20px;
  height: 20px;
}

.v-icon--lg {
  width: 28px;
  height: 28px;
}

.v-icon--xl {
  width: 34px;
  height: 34px;
}

/* Badge quadrato che ospita l'icona di servizio */
.v-icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--tint-teal-08);
  color: var(--c-teal-700);
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.v-icon-badge--lg {
  width: 72px;
  height: 72px;
  border-radius: var(--r-xl);
}

.v-section--dark .v-icon-badge {
  background: var(--tint-light-08);
  color: var(--c-teal-200);
}

/* Etichetta / pillola */
.v-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px var(--sp-3);
  border-radius: var(--r-pill);
  border: 1px solid var(--bd-hair);
  background: var(--c-white);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--t-muted);
  line-height: 1.4;
}

.v-tag--accent {
  border-color: var(--c-teal-200);
  background: var(--tint-teal-08);
  color: var(--c-teal-700);
}

.v-section--dark .v-tag {
  background: var(--tint-light-08);
  border-color: var(--bd-hair);
  color: var(--c-slate-300);
}

/* =============================================================================
   07 · BOTTONI
============================================================================= */

.v-btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-navy-700);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px var(--sp-6);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-text);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    transform var(--dur-1) var(--ease);
}

.v-btn:hover {
  text-decoration: none;
}

.v-btn:active {
  transform: translateY(1px);
}

.v-btn .v-icon {
  width: 17px;
  height: 17px;
  transition: transform var(--dur-2) var(--ease);
}

.v-btn:hover .v-icon:last-child {
  transform: translateX(4px);
}

.v-btn--primary {
  --btn-bg: var(--c-teal-700);
  --btn-fg: var(--c-white);
  --btn-bd: var(--c-teal-700);
}

.v-btn--primary:hover {
  --btn-bg: var(--c-navy-700);
  --btn-bd: var(--c-navy-700);
}

.v-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-navy-700);
  --btn-bd: var(--c-slate-300);
}

.v-btn--ghost:hover {
  --btn-bd: var(--c-navy-700);
  --btn-bg: var(--tint-navy-06);
}

.v-btn--light {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-navy-800);
  --btn-bd: var(--c-white);
}

.v-btn--light:hover {
  --btn-bg: var(--c-teal-200);
  --btn-bd: var(--c-teal-200);
  --btn-fg: var(--c-navy-900);
}

.v-btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--c-white);
  --btn-bd: rgba(255, 255, 255, 0.38);
}

.v-btn--outline-light:hover {
  --btn-bd: var(--c-white);
  --btn-bg: var(--tint-light-08);
}

.v-btn--sm {
  padding: 9px var(--sp-4);
  font-size: var(--fs-sm);
}

.v-btn--lg {
  padding: 16px var(--sp-7);
  font-size: var(--fs-lg);
}

.v-btn--block {
  display: flex;
  width: 100%;
}

/* Link d'azione testuale con freccia */
.v-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--t-accent);
  line-height: 1.4;
}

.v-link .v-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-2) var(--ease);
}

.v-link:hover {
  text-decoration: none;
}

.v-link:hover .v-icon {
  transform: translateX(4px);
}

.v-link span {
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease);
}

.v-link:hover span {
  border-bottom-color: currentColor;
}

.v-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.v-actions--center {
  justify-content: center;
}

/* =============================================================================
   08 · HEADER E NAVIGAZIONE
============================================================================= */

.v-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bd-hair);
  transition: box-shadow var(--dur-3) var(--ease), background-color var(--dur-3) var(--ease);
}

.v-header.is-scrolled {
  box-shadow: var(--sh-header);
  background: rgba(255, 255, 255, 0.97);
}

.v-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: var(--h-header-compact);
  transition: height var(--dur-3) var(--ease);
}

.v-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.v-header__brand:hover {
  text-decoration: none;
}

.v-header__logo {
  width: auto;
  height: 42px;
  transition: height var(--dur-3) var(--ease);
}

.v-header__nav {
  display: none;
}

.v-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-nav__link {
  position: relative;
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-navy-700);
  letter-spacing: -0.003em;
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}

.v-nav__link::after {
  content: "";
  position: absolute;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-teal-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-2) var(--ease);
}

.v-nav__link:hover {
  color: var(--c-teal-700);
  text-decoration: none;
}

.v-nav__link:hover::after,
.v-nav__link.is-active::after {
  transform: scaleX(1);
}

.v-nav__link.is-active {
  color: var(--c-navy-900);
  font-weight: 600;
}

.v-header__actions {
  display: none;
  align-items: center;
  gap: var(--sp-3);
}

/* Pulsante hamburger */
.v-burger {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: var(--r-md);
  color: var(--c-navy-700);
  border: 1px solid var(--bd-hair);
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.v-burger:hover {
  background: var(--c-slate-50);
  border-color: var(--bd-strong);
}

.v-burger .v-icon {
  width: 22px;
  height: 22px;
}

.v-burger__close {
  display: none;
}

.v-burger[aria-expanded="true"] .v-burger__open {
  display: none;
}

.v-burger[aria-expanded="true"] .v-burger__close {
  display: block;
}

/* Pannello mobile */
.v-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.v-mobile.is-open {
  visibility: visible;
  pointer-events: auto;
}

.v-mobile__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 36, 56, 0.5);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}

.v-mobile.is-open .v-mobile__scrim {
  opacity: 1;
}

.v-mobile__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 88vw);
  background: var(--c-white);
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.v-mobile.is-open .v-mobile__panel {
  transform: translateX(0);
}

.v-mobile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--bd-hair);
  min-height: var(--h-header-compact);
}

.v-mobile__logo {
  height: 38px;
  width: auto;
}

.v-mobile__body {
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-7);
  align-content: start;
  flex: 1 1 auto;
}

.v-mobile__nav {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-mobile__nav li + li {
  border-top: 1px solid var(--bd-hair);
}

.v-mobile__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-navy-700);
  letter-spacing: var(--ls-title);
}

.v-mobile__link:hover {
  text-decoration: none;
  color: var(--c-teal-700);
}

.v-mobile__link.is-active {
  color: var(--c-teal-700);
}

.v-mobile__link .v-icon {
  color: var(--c-slate-300);
  width: 16px;
  height: 16px;
}

.v-mobile__foot {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-top: 1px solid var(--bd-hair);
  background: var(--c-slate-50);
}

.v-mobile__meta {
  display: grid;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--t-muted);
}

.v-mobile__meta a {
  color: var(--t-accent);
  font-weight: 500;
}

/* =============================================================================
   09 · BREADCRUMB
============================================================================= */

.v-breadcrumb {
  font-size: var(--fs-sm);
  color: var(--t-muted);
}

.v-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
}

.v-breadcrumb li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--c-slate-300);
  border-top: 1.5px solid var(--c-slate-300);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.v-breadcrumb a {
  color: var(--t-muted);
  font-weight: 500;
}

.v-breadcrumb a:hover {
  color: var(--c-teal-700);
}

.v-breadcrumb [aria-current="page"] {
  color: var(--t-strong);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46ch;
}

.v-section--dark .v-breadcrumb a,
.v-section--dark .v-breadcrumb {
  color: var(--c-slate-300);
}

.v-section--dark .v-breadcrumb [aria-current="page"] {
  color: var(--c-white);
}

.v-section--dark .v-breadcrumb a:hover {
  color: var(--c-teal-200);
}

/* =============================================================================
   10 · HERO
============================================================================= */

.v-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
}

.v-hero__inner {
  position: relative;
  z-index: 1;
}

/* --- Hero home: testo + grafica ------------------------------------------ */
.v-hero--home {
  padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 116px);
  background:
    radial-gradient(120% 88% at 92% -12%, var(--tint-teal-08), transparent 62%),
    linear-gradient(180deg, #fbfdfe 0%, var(--c-white) 46%);
  border-bottom: 1px solid var(--bd-hair);
}

.v-hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.v-hero__copy {
  max-width: 42rem;
}

.v-hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--c-navy-800);
  margin: 0;
  text-wrap: balance;
}

.v-hero__title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.v-hero__subtitle {
  margin-top: var(--sp-6);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--t-muted);
  max-width: 34rem;
  text-wrap: pretty;
}

.v-hero__actions {
  margin-top: var(--sp-8);
}

.v-hero__meta {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--bd-hair);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--t-muted);
}

.v-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.v-hero__meta-item .v-icon {
  width: 16px;
  height: 16px;
  color: var(--c-teal-600);
}

/* Figura dell'hero: se hero-graphic.svg manca resta la composizione CSS. */
.v-hero__figure {
  position: relative;
  order: 2;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.v-hero__figure::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(23, 149, 140, 0.16), rgba(20, 59, 90, 0.06) 58%, transparent 72%);
}

.v-hero__art {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero-graphic.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* --- Hero pagine interne: compatta --------------------------------------- */
.v-hero--page {
  --t-strong: var(--c-white);
  --t-muted: var(--c-slate-300);
  --bd-hair: rgba(255, 255, 255, 0.14);
  background-color: var(--c-navy-900);
  background-image: var(--grad-dark);
  color: #dbe4ea;
  padding-block: clamp(32px, 4vw, 48px) clamp(48px, 6vw, 84px);
}

.v-hero--page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 300px 300px;
  opacity: 0.4;
  pointer-events: none;
}

.v-hero--page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 82% 0%, rgba(23, 149, 140, 0.22), transparent 68%);
  pointer-events: none;
}

.v-hero--page .v-hero__title,
.v-hero--page h1 {
  color: var(--c-white);
  font-size: var(--fs-h1);
  line-height: var(--lh-snug);
}

.v-hero--page .v-eyebrow {
  color: var(--c-teal-200);
}

.v-hero--page .v-hero__subtitle {
  color: var(--c-slate-300);
  max-width: 56ch;
}

.v-hero__breadcrumb {
  margin-bottom: clamp(20px, 3vw, 36px);
}

/* Hero della scheda servizio: icona grande + sommario */
.v-hero--service .v-hero__head {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
}

.v-hero--service .v-icon-badge {
  background: var(--tint-light-14);
  color: var(--c-teal-200);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.v-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-teal-200);
}

.v-hero__cat:hover {
  color: var(--c-white);
  text-decoration: none;
}

/* =============================================================================
   11 · STRISCIA CREDIBILITÀ
============================================================================= */

.v-credbar {
  border-bottom: 1px solid var(--bd-hair);
  background: var(--c-white);
  padding-block: var(--sp-7);
}

.v-credbar__inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}

.v-credbar__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-slate-600);
  line-height: 1.5;
}

.v-credbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-credbar__list li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-navy-700);
  white-space: nowrap;
}

.v-credbar__list .v-icon {
  width: 16px;
  height: 16px;
  color: var(--c-teal-500);
}

/* =============================================================================
   12 · CARD SERVIZIO
============================================================================= */

.v-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  transition:
    border-color var(--dur-2) var(--ease),
    transform var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}

.v-card--service {
  gap: var(--sp-5);
}

.v-card--service:hover,
.v-card--service:focus-within {
  border-color: var(--c-teal-400);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.v-card--service:hover .v-icon-badge,
.v-card--service:focus-within .v-icon-badge {
  background: var(--tint-teal-14);
  color: var(--c-teal-700);
}

.v-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
  margin: 0;
  text-wrap: balance;
}

/* Il link copre l'intera card: l'area cliccabile è tutta la scheda,
   ma nell'albero di accessibilità resta un solo link con testo esplicito. */
.v-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.v-card__link {
  color: inherit;
}

.v-card__link:hover {
  color: var(--c-teal-700);
  text-decoration: none;
}

.v-card__summary {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--t-muted);
  flex: 1 1 auto;
}

.v-card__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-teal-700);
}

.v-card__foot .v-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-2) var(--ease);
}

.v-card--service:hover .v-card__foot .v-icon,
.v-card--service:focus-within .v-card__foot .v-icon {
  transform: translateX(4px);
}

.v-card--dark {
  background: var(--tint-light-08);
  border-color: var(--bd-hair);
}

.v-card--flat {
  border-color: var(--bd-hair);
  background: var(--c-white);
}

/* Griglia dei servizi */
.v-services-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

/* Blocco categoria nella pagina servizi */
.v-cat {
  scroll-margin-top: var(--anchor-offset);
}

.v-cat + .v-cat {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--bd-hair);
}

.v-cat__head {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  max-width: 760px;
}

.v-cat__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  color: var(--t-strong);
  margin: 0;
}

.v-cat__count {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-slate-600);
}

/* =============================================================================
   13 · INDICE CATEGORIE APPICCICOSO
============================================================================= */

.v-catnav {
  position: sticky;
  top: var(--h-header-compact);
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--bd-hair);
}

.v-catnav__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: var(--sp-3);
}

.v-catnav__inner::-webkit-scrollbar {
  display: none;
}

.v-catnav__label {
  flex: 0 0 auto;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-slate-600);
  padding-right: var(--sp-2);
  border-right: 1px solid var(--bd-hair);
  display: none;
}

.v-catnav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-catnav__link {
  display: inline-block;
  white-space: nowrap;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-slate-600);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.v-catnav__link:hover {
  background: var(--c-slate-50);
  color: var(--c-navy-700);
  text-decoration: none;
}

.v-catnav__link.is-active {
  background: var(--tint-teal-08);
  color: var(--c-teal-700);
  font-weight: 600;
}

/* =============================================================================
   14 · METODO (STEP NUMERATI)
============================================================================= */

.v-method {
  counter-reset: v-step;
}

/* Gli <ol><li> arrivano dal database dentro .v-method: vengono stilizzati
   come schede numerate senza richiedere markup aggiuntivo. */
.v-method ol {
  display: grid;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: v-step;
}

.v-method ol > li {
  counter-increment: v-step;
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--t-muted);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.v-method ol > li:hover {
  border-color: var(--c-teal-200);
  box-shadow: var(--sh-sm);
}

.v-method ol > li::before {
  content: counter(v-step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--sp-4);
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--c-teal-500);
  line-height: 1;
}

.v-method ol > li::after {
  content: "";
  position: absolute;
  left: var(--sp-6);
  right: var(--sp-6);
  top: calc(var(--sp-7) + 2.6em);
  height: 1px;
  background: var(--bd-hair);
  display: none;
}

.v-method ol > li strong,
.v-method ol > li b {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
  line-height: 1.34;
}

.v-method ol > li p {
  margin: 0;
}

.v-method ol > li p + p {
  margin-top: var(--sp-3);
}

/* Blocchi di principio: <ul><li><strong>Titolo</strong> — testo</li>
   proveniente dal database, reso come elenco di schede a filetto. */
.v-blocks ul {
  display: grid;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-blocks ul > li {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--bd-hair);
  border-left: 3px solid var(--c-teal-500);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--t-muted);
}

.v-blocks ul > li strong,
.v-blocks ul > li b {
  display: block;
  margin-bottom: var(--sp-1);
  font-family: var(--ff-display);
  font-size: var(--fs-h5);
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
}

.v-blocks p {
  margin: 0 0 var(--sp-5);
  color: var(--t-muted);
  max-width: var(--w-prose);
}

/* Figura opzionale del diagramma di metodo */
.v-figure {
  margin: 0;
}

.v-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

.v-figure--wide {
  max-width: 1000px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.v-figure--wide img {
  border-radius: 0;
}

.v-figure figcaption {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--t-muted);
}

.v-figure[hidden] {
  display: none;
}

/* =============================================================================
   15 · STATISTICHE
============================================================================= */

.v-stats {
  display: grid;
  gap: 1px;
  background: var(--bd-hair);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}

.v-stat {
  background: var(--bg-dark);
  padding: var(--sp-7) var(--sp-5);
  display: grid;
  gap: var(--sp-2);
  align-content: start;
}

.v-section--dark .v-stats {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.v-section--dark .v-stat {
  background: transparent;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.v-stat__prefix {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-teal-200);
  line-height: 1.4;
}

.v-stat__figure {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--ff-display);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
}

.v-stat__suffix {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--c-teal-200);
}

.v-stat__label {
  font-family: var(--ff-text);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-slate-300);
  max-width: 24ch;
  text-wrap: pretty;
}

/* Variante chiara (usata su fondo bianco) */
.v-stats--light {
  background: var(--bd-hair);
}

.v-stats--light .v-stat {
  background: var(--c-white);
}

.v-stats--light .v-stat__prefix {
  color: var(--c-teal-700);
}

.v-stats--light .v-stat__figure {
  color: var(--c-navy-700);
}

.v-stats--light .v-stat__suffix {
  color: var(--c-teal-700);
}

.v-stats--light .v-stat__label {
  color: var(--t-muted);
}

/* =============================================================================
   16 · TEAM
============================================================================= */

.v-team-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

.v-team-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.v-team-card:hover {
  border-color: var(--c-slate-300);
  box-shadow: var(--sh-sm);
}

.v-team-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-slate-50);
  border-bottom: 1px solid var(--bd-hair);
  overflow: hidden;
}

.v-team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms var(--ease);
}

.v-team-card:hover .v-team-card__media img {
  transform: scale(1.02);
}

.v-team-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--grad-dark);
  color: var(--c-teal-200);
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.v-team-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  flex: 1 1 auto;
}

.v-team-card__name {
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
  margin: 0;
}

.v-team-card__role {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-teal-700);
  line-height: 1.45;
  margin: 0;
}

.v-team-card__quals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-team-card__quals {
  display: grid;
  gap: var(--sp-2);
}

.v-team-card__quals li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-slate-600);
}

.v-team-card__quals li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--c-teal-500);
  transform: rotate(45deg);
}

.v-team-card__bio {
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--t-muted);
  margin: 0;
}

.v-team-card__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--bd-hair);
  font-size: var(--fs-sm);
}

.v-team-card__contacts a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--t-muted);
  font-weight: 500;
}

.v-team-card__contacts a:hover {
  color: var(--c-teal-700);
  text-decoration: none;
}

.v-team-card__contacts .v-icon {
  width: 16px;
  height: 16px;
  color: var(--c-slate-300);
}

.v-team-card__contacts a:hover .v-icon {
  color: var(--c-teal-600);
}

/* Bio espandibile — <details> stilizzato, funziona senza JS */
.v-disclosure {
  margin-top: var(--sp-1);
}

.v-disclosure > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-teal-700);
  padding: var(--sp-1) 0;
  border-radius: var(--r-xs);
  transition: color var(--dur-1) var(--ease);
}

.v-disclosure > summary::-webkit-details-marker {
  display: none;
}

.v-disclosure > summary::marker {
  content: "";
}

.v-disclosure > summary:hover {
  color: var(--c-navy-700);
}

.v-disclosure > summary .v-icon {
  width: 15px;
  height: 15px;
  transition: transform var(--dur-2) var(--ease);
}

.v-disclosure[open] > summary .v-icon {
  transform: rotate(180deg);
}

.v-disclosure__label-open {
  display: none;
}

.v-disclosure[open] .v-disclosure__label-closed {
  display: none;
}

.v-disclosure[open] .v-disclosure__label-open {
  display: inline;
}

.v-disclosure__content {
  padding-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: var(--t-muted);
}

.v-disclosure__content > * + * {
  margin-top: var(--sp-3);
}

/* Team esteso (chi siamo): foto a sinistra, bio a destra */
.v-person {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--bd-hair);
  scroll-margin-top: var(--anchor-offset);
}

.v-person:first-child {
  border-top: 0;
  padding-top: 0;
}

.v-person__media {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--bd-hair);
  background: var(--c-slate-50);
}

.v-person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.v-person__name {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
  margin: 0;
}

.v-person__role {
  margin-top: var(--sp-1);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-teal-700);
}

.v-person__quals {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
}

.v-person__quals li {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-navy-700);
  background: var(--tint-teal-08);
  border-radius: var(--r-sm);
  padding: 5px var(--sp-3);
  line-height: 1.4;
}

.v-person__bio {
  margin-top: var(--sp-5);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--t-muted);
  max-width: 64ch;
}

.v-person__bio > * + * {
  margin-top: var(--sp-4);
}

.v-person__contacts {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  font-size: var(--fs-sm);
}

.v-person__contacts a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 500;
}

/* =============================================================================
   17 · SCHEDA SERVIZIO
============================================================================= */

.v-service__layout {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.v-sidebar {
  display: grid;
  gap: var(--sp-5);
}

.v-panel {
  background: var(--c-white);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}

.v-panel--soft {
  background: var(--c-slate-50);
  border-color: var(--bd-hair);
}

.v-panel--accent {
  background: var(--grad-dark);
  border-color: transparent;
  color: #dbe4ea;
}

.v-panel__title {
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-slate-600);
  margin: 0 0 var(--sp-4);
}

.v-panel__title--plain {
  letter-spacing: var(--ls-title);
  text-transform: none;
  font-size: var(--fs-h4);
  color: var(--t-strong);
}

.v-panel > * + .v-panel__title {
  margin-top: var(--sp-6);
}

.v-panel p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--t-muted);
  margin: 0;
}

.v-panel p + .v-btn,
.v-panel p + .v-actions {
  margin-top: var(--sp-5);
}

.v-panel--accent .v-panel__title,
.v-panel--accent .v-panel__title--plain {
  color: var(--c-white);
}

.v-panel--accent p {
  color: #cfdae4;
}

/* Navigazione precedente / successivo */
.v-prevnext {
  display: grid;
  gap: var(--sp-4);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--bd-hair);
}

.v-prevnext__item {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--bd-hair);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}

.v-prevnext__item:hover {
  border-color: var(--c-teal-400);
  background: var(--tint-teal-04);
  text-decoration: none;
}

.v-prevnext__item--next {
  text-align: right;
}

.v-prevnext__dir {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-slate-600);
}

.v-prevnext__item--next .v-prevnext__dir {
  justify-content: flex-end;
}

.v-prevnext__dir .v-icon {
  width: 14px;
  height: 14px;
}

/* Non esiste un'icona "arrow-left" nel set: la freccia viene ruotata. */
.v-prevnext__item--prev .v-prevnext__dir .v-icon {
  transform: rotate(180deg);
}

.v-prevnext__title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
  line-height: 1.4;
}

/* =============================================================================
   18 · BANDA CTA
============================================================================= */

.v-cta {
  position: relative;
  overflow: hidden;
  background-color: var(--c-navy-900);
  background-image: var(--grad-dark);
  color: #dbe4ea;
  padding-block: clamp(56px, 7vw, 104px);
}

.v-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 300px 300px;
  opacity: 0.36;
  pointer-events: none;
}

.v-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 120% at 80% 110%, rgba(23, 149, 140, 0.3), transparent 66%),
    radial-gradient(40% 80% at 6% -10%, rgba(42, 101, 151, 0.24), transparent 70%);
  pointer-events: none;
}

.v-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.v-cta .v-eyebrow {
  color: var(--c-teal-200);
}

.v-cta__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  color: var(--c-white);
  margin: 0;
  text-wrap: balance;
}

.v-cta__text {
  margin-top: var(--sp-4);
  color: var(--c-slate-300);
  font-size: var(--fs-lg);
  line-height: 1.6;
  max-width: 56ch;
}

.v-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.v-cta__aside {
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-slate-300);
}

.v-cta__aside a {
  color: var(--c-teal-200);
  font-weight: 500;
}

/* =============================================================================
   19 · FORM E BOX INFORMAZIONI
============================================================================= */

.v-form {
  display: grid;
  gap: var(--sp-5);
}

.v-form__row {
  display: grid;
  gap: var(--sp-5);
}

.v-field {
  display: grid;
  gap: var(--sp-2);
  align-content: start;
}

.v-field__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--t-strong);
  line-height: 1.4;
}

.v-field__req {
  color: var(--c-teal-700);
  margin-left: 2px;
}

.v-field__hint {
  font-size: var(--fs-xs);
  color: var(--t-muted);
  line-height: 1.5;
}

.v-input,
.v-textarea,
.v-select {
  width: 100%;
  padding: 12px var(--sp-4);
  background: var(--c-white);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-md);
  font-family: var(--ff-text);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--t-body);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.v-textarea {
  min-height: 168px;
  resize: vertical;
}

.v-select {
  background-image: linear-gradient(45deg, transparent 50%, var(--c-slate-600) 50%),
    linear-gradient(135deg, var(--c-slate-600) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--sp-9);
}

.v-input::placeholder,
.v-textarea::placeholder {
  color: var(--c-slate-600);
  opacity: 1;
}

.v-input:hover,
.v-textarea:hover,
.v-select:hover {
  border-color: var(--c-slate-600);
}

.v-input:focus,
.v-textarea:focus,
.v-select:focus {
  outline: none;
  border-color: var(--c-teal-600);
  box-shadow: 0 0 0 3px var(--tint-teal-14);
}

.v-input[aria-invalid="true"],
.v-textarea[aria-invalid="true"],
.v-select[aria-invalid="true"] {
  border-color: #b3261e;
  background-color: #fff8f7;
}

.v-input[aria-invalid="true"]:focus,
.v-textarea[aria-invalid="true"]:focus,
.v-select[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
}

.v-field__error {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.5;
  color: #a01d16;
}

.v-field__error::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 0.16em;
  border-radius: 50%;
  background: #b3261e;
  -webkit-mask: radial-gradient(circle at 50% 74%, transparent 0 1.1px, #000 1.2px),
    linear-gradient(#000 0 0) 50% 26% / 2px 6px no-repeat;
  mask: radial-gradient(circle at 50% 74%, transparent 0 1.1px, #000 1.2px),
    linear-gradient(#000 0 0) 50% 26% / 2px 6px no-repeat;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Checkbox privacy */
.v-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--t-muted);
}

.v-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0.16em 0 0;
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-xs);
  background: var(--c-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.v-check input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--c-white);
  border-bottom: 2px solid var(--c-white);
  transform: rotate(-45deg) scale(0.6);
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  margin-top: -2px;
}

.v-check input[type="checkbox"]:checked {
  background: var(--c-teal-700);
  border-color: var(--c-teal-700);
}

.v-check input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.v-check input[type="checkbox"][aria-invalid="true"] {
  border-color: #b3261e;
}

.v-check a {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--c-teal-200);
}

/* Honeypot: nascosto ai browser, non ai bot */
.v-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Avvisi */
.v-alert {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--bd-hair);
  background: var(--c-slate-50);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.v-alert__title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--t-strong);
  margin: 0;
}

.v-alert--error:focus-visible {
  outline-color: #b3261e;
}

.v-alert--error {
  border-color: #f0c8c4;
  background: #fdf4f3;
}

.v-alert--error .v-alert__title {
  color: #8c1a13;
}

.v-alert--error ul {
  list-style: none;
  display: grid;
  gap: var(--sp-1);
  padding: 0;
  margin: 0;
}

.v-alert--error a {
  color: #a01d16;
  font-weight: 500;
  text-decoration: underline;
}

.v-alert--success {
  border-color: var(--c-teal-200);
  background: var(--tint-teal-08);
}

.v-alert--success .v-alert__title {
  color: var(--c-teal-700);
}

.v-alert--success p {
  color: var(--c-navy-700);
  margin: 0;
}

/* Box informazioni azienda */
.v-infolist {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-infolist > li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-4);
  align-items: start;
  padding-block: var(--sp-5);
}

.v-infolist > li + li {
  border-top: 1px solid var(--bd-hair);
}

.v-infolist__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--tint-teal-08);
  color: var(--c-teal-700);
}

.v-infolist__icon .v-icon {
  width: 19px;
  height: 19px;
}

.v-infolist__body {
  display: block;
  min-width: 0;
}

.v-infolist__label,
.v-infolist__value,
.v-infolist__note {
  display: block;
}

.v-infolist__label {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-slate-600);
  line-height: 1.5;
}

.v-infolist__value {
  margin-top: 2px;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--t-strong);
  font-weight: 500;
}

.v-infolist__value a {
  color: var(--t-strong);
  border-bottom: 1px solid var(--c-teal-200);
}

.v-infolist__value a:hover {
  color: var(--c-teal-700);
  border-bottom-color: currentColor;
  text-decoration: none;
}

.v-infolist__note {
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--t-muted);
}

/* =============================================================================
   20 · PAGINE EDITORIALI E 404
============================================================================= */

.v-page-body {
  padding-block: clamp(48px, 6vw, 88px);
}

.v-404 {
  padding-block: clamp(64px, 10vw, 144px);
  text-align: center;
}

.v-404__code {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 var(--sp-5);
}

.v-404 .v-lead {
  margin-inline: auto;
}

.v-404__links {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: left;
  max-width: 640px;
  margin-inline: auto;
  border-top: 1px solid var(--bd-hair);
  padding-top: var(--sp-6);
}

.v-404__links-title {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-slate-600);
  margin-bottom: var(--sp-2);
}

/* =============================================================================
   21 · FOOTER
============================================================================= */

.v-footer {
  --t-strong: var(--c-white);
  --t-muted: var(--c-slate-300);
  --bd-hair: rgba(255, 255, 255, 0.12);
  position: relative;
  background-color: var(--c-navy-900);
  background-image: var(--grad-dark);
  color: var(--c-slate-300);
  padding-block: clamp(48px, 6vw, 80px) var(--sp-7);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.v-footer__grid {
  display: grid;
  gap: var(--sp-8);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.v-footer__brand-col {
  display: grid;
  gap: var(--sp-5);
  align-content: start;
}

.v-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
}

.v-footer__brand:hover {
  text-decoration: none;
}

.v-footer__mark {
  width: 46px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.v-footer__wordmark {
  display: grid;
  gap: 3px;
}

.v-footer__wordmark strong {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-white);
  line-height: 1;
}

.v-footer__wordmark span {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-slate-300);
  line-height: 1.3;
}

.v-footer__intro {
  color: var(--c-slate-300);
  max-width: 40ch;
  margin: 0;
}

.v-footer__col-title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0 0 var(--sp-4);
}

.v-footer__list {
  display: grid;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-footer__list a {
  color: var(--c-slate-300);
  transition: color var(--dur-1) var(--ease);
}

.v-footer__list a:hover {
  color: var(--c-white);
  text-decoration: none;
}

.v-footer__dl {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
}

.v-footer__dl div {
  display: grid;
  gap: 1px;
}

.v-footer__dl dt {
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d9daa;
}

.v-footer__dl dd {
  margin: 0;
  color: var(--c-white);
  font-weight: 500;
}

.v-footer__dl dd a {
  color: var(--c-white);
}

.v-footer__dl dd a:hover {
  color: var(--c-teal-200);
  text-decoration: none;
}

.v-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--bd-hair);
  font-size: var(--fs-xs);
  color: #8d9daa;
}

.v-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-footer__legal a {
  color: #8d9daa;
}

.v-footer__legal a:hover {
  color: var(--c-white);
  text-decoration: none;
}

.v-footer__credit a {
  color: #8d9daa;
}

/* =============================================================================
   22 · DIVISORI DECORATIVI
============================================================================= */

.v-divider {
  height: 44px;
  background-image: url("../img/wave-divider.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  pointer-events: none;
}

.v-divider--flip {
  transform: scaleY(-1);
}

.v-rule {
  border: 0;
  border-top: 1px solid var(--bd-hair);
  margin: 0;
}

/* =============================================================================
   23 · UTILITY
============================================================================= */

.u-center {
  text-align: center;
}

.u-right {
  text-align: right;
}

.u-mt-0 { margin-top: 0; }
.u-mt-2 { margin-top: var(--sp-2); }
.u-mt-3 { margin-top: var(--sp-3); }
.u-mt-4 { margin-top: var(--sp-4); }
.u-mt-5 { margin-top: var(--sp-5); }
.u-mt-6 { margin-top: var(--sp-6); }
.u-mt-7 { margin-top: var(--sp-7); }
.u-mt-8 { margin-top: var(--sp-8); }
.u-mt-9 { margin-top: var(--sp-9); }
.u-mt-10 { margin-top: var(--sp-10); }

.u-mb-0 { margin-bottom: 0; }
.u-mb-4 { margin-bottom: var(--sp-4); }
.u-mb-6 { margin-bottom: var(--sp-6); }
.u-mb-8 { margin-bottom: var(--sp-8); }

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.u-nowrap {
  white-space: nowrap;
}

.u-measure {
  max-width: var(--w-prose);
}

.u-hide {
  display: none !important;
}

/* =============================================================================
   24 · MEDIA QUERY
   Breakpoint: 640 · 900 · 1200
============================================================================= */

@media (max-width: 639.98px) {
  .v-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .v-hero--service .v-hero__head {
    flex-direction: column;
    gap: var(--sp-5);
  }

  .v-hero--service .v-icon-badge--lg {
    width: 56px;
    height: 56px;
  }

  .v-actions--center {
    align-items: stretch;
  }
}

@media (min-width: 640px) {
  .v-grid--2,
  .v-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-form__row--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-method ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-blocks--2 ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-prevnext {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-credbar__list li {
    font-size: var(--fs-base);
  }

  .v-person {
    grid-template-columns: minmax(180px, 260px) 1fr;
  }

  .v-person__media {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .u-container {
    padding-inline: var(--sp-8);
  }

  .v-header__inner {
    height: var(--h-header);
  }

  .v-header.is-scrolled .v-header__inner {
    height: var(--h-header-compact);
  }

  .v-header__logo {
    height: 54px;
  }

  .v-header.is-scrolled .v-header__logo {
    height: 42px;
  }

  .v-header__nav {
    display: block;
  }

  .v-header__actions {
    display: flex;
  }

  .v-burger {
    display: none;
  }

  .v-catnav {
    top: var(--h-header-compact);
  }

  .v-catnav__label {
    display: block;
  }

  .v-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .v-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-services-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-stats--6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .v-hero__figure {
    order: 0;
    max-width: 460px;
  }

  .v-section__head--split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--sp-8);
  }

  .v-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .v-split--sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }

  .v-split--aside-first {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  }

  .v-service__layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 348px);
  }

  .v-sidebar--sticky {
    position: sticky;
    top: calc(var(--h-header-compact) + var(--sp-6));
  }

  .v-credbar__inner {
    grid-template-columns: auto 1fr;
    gap: var(--sp-8);
  }

  .v-credbar__label {
    max-width: 18ch;
    align-self: start;
    padding-top: 3px;
  }

  .v-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .v-cta__actions {
    justify-content: flex-end;
  }

  .v-cta__aside {
    justify-items: end;
    text-align: right;
  }

  .v-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: var(--sp-7);
  }

  .v-method ol {
    grid-template-columns: repeat(4, 1fr);
  }

  .v-method ol > li {
    padding: var(--sp-7) var(--sp-6) var(--sp-7);
  }

  .v-divider {
    height: 64px;
  }
}

@media (min-width: 1200px) {
  .v-stats--6 {
    grid-template-columns: repeat(6, 1fr);
  }

  .v-stat {
    padding: var(--sp-8) var(--sp-6);
  }

  .v-hero--home {
    padding-block: clamp(64px, 6vw, 112px) clamp(72px, 7vw, 128px);
  }

  .v-nav__link {
    font-size: var(--fs-base);
    padding: var(--sp-2) var(--sp-5);
  }

  .v-nav__link::after {
    left: var(--sp-5);
    right: var(--sp-5);
  }
}

/* Il pannello mobile non deve restare aperto passando a desktop */
@media (min-width: 900px) {
  .v-mobile {
    display: none;
  }
}

/* =============================================================================
   25 · PREFERS-REDUCED-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;
    scroll-behavior: auto !important;
  }

  .v-card--service:hover,
  .v-team-card:hover .v-team-card__media img {
    transform: none;
  }

  .v-btn:hover .v-icon:last-child,
  .v-link:hover .v-icon,
  .v-linklist a:hover .v-icon,
  .v-card--service:hover .v-card__foot .v-icon {
    transform: none;
  }
}

/* =============================================================================
   26 · STAMPA
============================================================================= */

@media print {
  :root {
    --t-strong: #000;
    --t-body: #000;
    --t-muted: #333;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .v-header,
  .v-mobile,
  .v-catnav,
  .v-cta,
  .v-skip,
  .v-hero__figure,
  .v-divider,
  .v-prevnext,
  .v-btn,
  .v-footer__list,
  form {
    display: none !important;
  }

  .v-section,
  .v-hero {
    padding-block: 12pt;
    background: none !important;
    color: #000 !important;
  }

  .v-section--dark,
  .v-hero--page,
  .v-footer {
    background: none !important;
    color: #000 !important;
  }

  .v-section--dark::before,
  .v-section--dark::after,
  .v-hero--page::before,
  .v-hero--page::after {
    display: none !important;
  }

  .v-section--dark h1,
  .v-section--dark h2,
  .v-section--dark h3,
  .v-stat__figure,
  .v-footer__wordmark strong,
  .v-footer__dl dd {
    color: #000 !important;
  }

  .v-card,
  .v-panel,
  .v-team-card,
  .v-stat {
    border: 1px solid #999 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  .v-disclosure__content {
    display: block !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
    word-break: break-all;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }
}
