/* =============================================================
   Tutela Casa — Mockup B "Chiarezza affabile"
   -----------------------------------------------------------
   Direzione: Adelphi-meets-Il Post. Tipografia protagonista,
   un solo accento ocra, ardesia per i titoli, avorio chiaro come
   superficie. Niente illustrazioni decorative. Niente icone.
   Solo numeri grandi (01, 02, …) e quattro famiglie tipografiche
   in pairing parsimonioso.
   ============================================================= */


/* ---------- 0. Web fonts self-hosted (no third-party CDN) ----------
   Tutti i font sono serviti dal medesimo origin per evitare il
   trasferimento dell'IP del visitatore a CDN extra-UE (Google Fonts,
   Fontshare). Conforme alla cookie policy del sito.
   File sorgente: @fontsource (npm), distribuito sotto SIL OFL.
   Subset: latin (copre italiano standard inclusi accenti à è é ì ò ù).
*/

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fraunces-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fraunces-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fraunces-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-sans-3-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-serif-4-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-serif-4-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-normal.woff2') format('woff2');
}


/* ---------- 1. Reset minimo ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, dl, dt, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
table { border-collapse: collapse; }


/* ---------- 2. Design tokens ---------- */
:root {
  /* Palette (vedi BRIEF_MOCKUP_B.md, sez. "Palette colore — Mockup B") */
  --bg:         #F7F3EC; /* avorio chiaro */
  --surface:    #FFFFFF; /* bianco — cards "documento" */
  --surface-alt:#EFEAE0; /* sezioni alternate */
  --border:     #DBD3C2; /* divider */
  --border-strong:#C9A24C; /* ocra, evidenziazioni */
  --text:       #1F2418; /* verde-piombo scurissimo (non nero) */
  --text-muted: #565847; /* leggermente più scuro per AA: era #5C5F4F */
  --text-faint: #7C7E6E; /* leggermente più scuro per AA */
  --accent:     #C9A24C; /* ocra caldo — UNICO accento */
  --accent-hover:#9F7D2E; /* ocra scuro */
  --slate:      #1F2A37; /* ardesia — H1, footer, blocchi dati */
  --error:      #8A2A2A; /* solo warning */

  /* Tipografia */
  --font-display: "Fraunces", "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif:   "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-mono:    "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Spaziature */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --wrap-max: 1120px;
  --wrap-narrow: 760px;
  --radius: 2px;
  --hairline: 1px solid var(--border);
}

/* ---------- 3. Body e tipografia base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;           /* desktop base 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.55; }
}

p { max-width: 65ch; }

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--accent-hover); text-decoration-color: var(--accent-hover); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection { background: var(--accent); color: #fff; }

strong { font-weight: 600; }
em { font-style: italic; }

/* Numeri tabulari + mono per dati e norme */
.mono {
  font-family: var(--font-mono);
  font-size: .92em;
  font-feature-settings: "tnum" on, "lnum" on;
  letter-spacing: -.01em;
  color: var(--slate);
}

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--slate); color: #fff;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  z-index: 100;
}
.skip:focus { left: var(--space-4); top: var(--space-4); }

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

/* ---------- 4. Wrapper ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}


/* ============================================================
   5. Header
   ============================================================ */
.site-header {
  background: var(--bg);
  border-bottom: var(--hairline);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(120%) blur(4px);
}
.header-inner {
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--slate);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.01em;
}
.brand__mark { width: 28px; height: 28px; color: var(--slate); flex: 0 0 auto; }
.brand__name { font-size: 18px; }

.site-nav {
  display: flex; gap: 26px;
  margin-left: auto;
  font-size: 15px;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--slate); border-bottom-color: var(--accent); }

.header-cta {
  display: inline-flex; flex-direction: column; align-items: flex-end;
  text-decoration: none;
  background: var(--slate);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  line-height: 1.15;
}
.header-cta:hover { background: #11161D; color: #fff; }
.header-cta__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.header-cta__num   { font-family: var(--font-mono); font-size: 14px; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 420px) {
  .header-cta__num { font-size: 13px; }
}


/* ============================================================
   6. Hero — solo tipografia, nessuna illustrazione
   ============================================================ */
.hero { padding-block: clamp(72px, 11vw, 144px); }
.hero__inner { max-width: 880px; }

.kicker, .section-kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: var(--space-6);
}
.kicker { color: var(--accent-hover); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--slate);
  margin-bottom: var(--space-8);
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-hover);
}
.hero__lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--text);
  max-width: 36em;
  margin-bottom: var(--space-10);
}

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.hero__meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.hero__disclaimer {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  border-left: 2px solid var(--border-strong);
  padding-left: var(--space-4);
  max-width: 56ch;
}

/* CTA */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  min-height: 48px;
}
.btn--primary {
  background: var(--slate);
  color: #fff;
}
.btn--primary:hover { background: #111821; color: #fff; }
.btn--primary span { color: var(--accent); transition: transform .2s ease; }
.btn--primary:hover span { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--slate);
}
.btn--ghost:hover { background: var(--slate); color: #fff; }
.btn--ghost span { color: var(--accent); }


/* ============================================================
   7. Pullquote (citazione in evidenza, Source Serif italic)
   ============================================================ */
.pullquote {
  background: var(--surface-alt);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding-block: clamp(48px, 6vw, 80px);
}
.pullquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  color: var(--slate);
  max-width: 32em;
  font-weight: 400;
}
.pullquote__mark {
  font-family: var(--font-display);
  font-size: 1.4em;
  color: var(--accent);
  line-height: 0;
  margin-right: .1em;
}
.pullquote strong {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: .9em;
  color: var(--slate);
  background: rgba(201, 162, 76, .15);
  padding: 1px 6px;
  border-radius: 2px;
}
.pullquote__source {
  margin-top: var(--space-4);
  font-style: normal !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  color: var(--text-muted);
  letter-spacing: .04em;
}


/* ============================================================
   8. Section heads (riusati ovunque)
   ============================================================ */
section { padding-block: clamp(72px, 9vw, 128px); }

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-16);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--slate);
  margin-bottom: var(--space-5);
}
.section-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 55ch;
}
.section-head--center .section-lead { margin-inline: auto; }


/* ============================================================
   9. Scenari (3 box stacked)
   ============================================================ */
.scenarios { background: var(--bg); }
.scenario-list {
  display: grid;
  gap: var(--space-8);
}
.scenario {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-8);
  padding-block: var(--space-8);
  border-top: var(--hairline);
}
.scenario:last-child { border-bottom: var(--hairline); }

.scenario__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--border-strong);
  letter-spacing: -.02em;
}
.scenario__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.15;
  color: var(--slate);
  margin-bottom: var(--space-4);
}
.scenario__body p {
  color: var(--text);
  margin-bottom: var(--space-5);
  max-width: 56ch;
}
.link-arrow {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-hover);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow span { transition: transform .2s ease; display: inline-block; }
.link-arrow:hover span { transform: translateX(3px); }

@media (max-width: 640px) {
  .scenario { grid-template-columns: 1fr; gap: var(--space-3); }
  .scenario__num { font-size: 48px; }
}


/* ============================================================
   10. Le 4 fasi — Timeline
   ============================================================ */
.fasi { background: var(--surface-alt); }
.timeline {
  margin-bottom: var(--space-16);
}
.timeline__svg {
  width: 100%;
  height: auto;
  max-height: 80px;
  margin-bottom: var(--space-4);
}
.timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.ts {
  padding-top: var(--space-2);
}
.ts__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--space-3);
  letter-spacing: -.02em;
}
.ts__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--slate);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.ts__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.ts__meta {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.timeline__caption {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 60ch;
  margin-top: var(--space-4);
}

.fasi__keypoints {
  border-top: 2px solid var(--border-strong);
  padding-top: var(--space-8);
  margin-top: var(--space-12);
  max-width: 760px;
}
.fasi__keypoints h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--slate);
  margin-bottom: var(--space-4);
}
.fasi__keypoints p {
  max-width: 64ch;
  color: var(--text);
}

@media (max-width: 880px) {
  .timeline__svg { display: none; }
  .timeline__steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    border-left: 2px solid var(--border-strong);
    padding-left: var(--space-6);
  }
  .ts__num { font-size: 28px; }
}


/* ============================================================
   11. Flow "Cosa succede se non agisci"
   ============================================================ */
.ifnot {
  background: var(--bg);
  border-top: var(--hairline);
}
.flow {
  margin-top: var(--space-12);
  max-width: 1080px;
  margin-inline: auto;
}
.flow__svg {
  width: 100%;
  height: auto;
  max-height: 110px;
  margin-bottom: var(--space-4);
}
.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}
.flow__steps li {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
}
.flow__steps strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--slate);
}
.flow__caption {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 60ch;
  margin-top: var(--space-5);
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 720px) {
  .flow__svg { display: none; }
  .flow__steps { grid-template-columns: 1fr; }
}


/* ============================================================
   12. Come ti aiutiamo (services + pricing)
   ============================================================ */
.aiuto { background: var(--surface-alt); }

.services {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.service {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: var(--hairline);
}
.service:last-child { border-bottom: 0; padding-bottom: 0; }
.service__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  color: var(--border-strong);
  letter-spacing: -.02em;
}
.service__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 26px);
  color: var(--slate);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
.service__body p { margin-bottom: var(--space-3); max-width: 62ch; }
.service__price { color: var(--text-muted); font-size: 15px; }
.service__price strong { color: var(--slate); }

.aiuto__disclaimer {
  border-left: 2px solid var(--border-strong);
  padding-left: var(--space-4);
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-16);
  line-height: 1.55;
}

/* Tabella prezzi */
.pricing { margin-top: var(--space-12); }
.pricing__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--slate);
  margin-bottom: var(--space-5);
}
.pricing__table {
  width: 100%;
  background: var(--surface);
  border: var(--hairline);
  font-size: 15px;
}
.pricing__table th,
.pricing__table td {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--hairline);
  vertical-align: top;
}
.pricing__table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 2px solid var(--slate);
}
.pricing__table tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--slate);
  width: 25%;
}
.pricing__table tbody tr:last-child th,
.pricing__table tbody tr:last-child td { border-bottom: 0; }
.pricing__table strong {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--slate);
}
.pricing__note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--space-5);
  max-width: 64ch;
  font-style: italic;
}

/* Lista punti tariffaria (sostituisce la tabella prezzi fissa) */
.pricing__points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-4);
}
.pricing__points li {
  background: var(--surface);
  border: var(--hairline);
  border-left: 3px solid var(--accent);
  padding: var(--space-5) var(--space-6);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
}
.pricing__points li strong:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate);
  font-size: 17px;
  display: block;
  margin-bottom: var(--space-2);
}

@media (max-width: 720px) {
  .service { grid-template-columns: 1fr; gap: var(--space-2); }
  .service__num { font-size: 40px; }
  .pricing__table thead { display: none; }
  .pricing__table, .pricing__table tbody, .pricing__table tr, .pricing__table th, .pricing__table td {
    display: block; width: 100%;
  }
  .pricing__table tr {
    padding: var(--space-4) var(--space-5);
    border-bottom: var(--hairline);
  }
  .pricing__table th, .pricing__table td {
    padding: 4px 0;
    border: 0;
  }
  .pricing__table tbody th {
    margin-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-2);
  }
}


/* ============================================================
   13. Il metodo (5 principi)
   ============================================================ */
.metodo { background: var(--bg); }

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12) var(--space-16);
}
.principle {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: var(--space-6);
}
.principle__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--border-strong);
  letter-spacing: -.02em;
}
.principle h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--slate);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.principle p {
  color: var(--text);
  max-width: 50ch;
}

@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; gap: var(--space-8); }
  .principle { grid-template-columns: 56px 1fr; }
  .principle__num { font-size: 36px; }
}


/* ============================================================
   14. FAQ
   ============================================================ */
.faq { background: var(--surface-alt); }

.faq-list {
  display: grid;
  gap: 0;
  max-width: 880px;
}
.faq-item {
  border-top: var(--hairline);
  padding-block: var(--space-8);
}
.faq-item:last-child { border-bottom: var(--hairline); }
.faq-item dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--slate);
  margin-bottom: var(--space-4);
  line-height: 1.25;
  display: flex;
  gap: var(--space-4);
  align-items: baseline;
}
.faq-item__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent-hover);
  letter-spacing: .04em;
  flex: 0 0 36px;
  padding-top: 4px;
}
.faq-item dd {
  margin-left: 52px;
  color: var(--text);
  max-width: 64ch;
  line-height: 1.6;
}
.faq-item dd p { margin-block: var(--space-3); }

@media (max-width: 640px) {
  .faq-item dt { gap: var(--space-3); font-size: 19px; }
  .faq-item__num { flex-basis: 32px; }
  .faq-item dd { margin-left: 44px; }
}


/* ============================================================
   15. Chi siamo
   ============================================================ */
.chi { background: var(--bg); border-top: var(--hairline); }

.chi__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.chi__col--main h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  color: var(--slate);
  margin-bottom: var(--space-6);
  letter-spacing: -.015em;
}
.chi__col--main p {
  margin-bottom: var(--space-4);
  max-width: 60ch;
}

.chi__col--side {
  background: var(--surface);
  padding: var(--space-8);
  border: var(--hairline);
  border-top: 2px solid var(--border-strong);
}
.chi__sidekicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: var(--space-4);
}
.chi__col--side p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: var(--space-3);
  color: var(--text);
}

@media (max-width: 880px) {
  .chi__inner { grid-template-columns: 1fr; gap: var(--space-10); }
}


/* ============================================================
   16. Contatti
   ============================================================ */
.contatti { background: var(--surface-alt); }

.contatti-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}
.contatti-list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.contatti-list dd {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--slate);
  line-height: 1.3;
}
.contatti-list dd a { color: var(--slate); text-decoration-color: var(--accent); }
.contatti-list dd a:hover { color: var(--accent-hover); }
.contatti-list .hint {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .contatti-list { grid-template-columns: 1fr; gap: var(--space-6); }
}


/* ============================================================
   17. Footer (chiaro, NON dark warm — separato da bordo ocra)
   ============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 2px solid var(--border-strong);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: var(--hairline);
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}
.foot-brand .brand__mark { width: 28px; height: 28px; color: var(--slate); }
.foot-col p { color: var(--text-muted); font-size: 14.5px; max-width: 36ch; }
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.foot-col ul li { margin-bottom: var(--space-2); }
.foot-col a { text-decoration: none; color: var(--text); border-bottom: 1px solid transparent; }
.foot-col a:hover { color: var(--slate); border-bottom-color: var(--accent); }
.foot-col--contact p { font-family: var(--font-body); font-size: 15px; color: var(--text); }
.foot-col--contact .mono { font-size: 15px; }

.site-footer__legal {
  padding-top: var(--space-8);
  display: grid;
  gap: var(--space-6);
}
.legal-block h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.legal-block p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 90ch;
}
.legal-block a { color: var(--text-muted); text-decoration-color: var(--border-strong); }
.legal-block a:hover { color: var(--slate); }

.legal-mini {
  font-size: 12.5px;
  color: var(--text-muted);
  border-top: var(--hairline);
  padding-top: var(--space-5);
  margin-top: var(--space-4);
}
.legal-mini a { color: var(--text-muted); text-decoration-color: var(--border); }

@media (max-width: 880px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}


/* ============================================================
   18. Reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
