/* ==========================================================================
   STUDIO ABACLAT — Foglio di stile
   --------------------------------------------------------------------------
   Indice
   1.  Variabili (colori, font, misure)
   2.  Base e reset
   3.  Elementi comuni (container, eyebrow, pulsanti, avvisi)
   4.  Header e navigazione
   5.  Hero
   6.  Sezioni generiche
   7.  Chi sono
   8.  Servizi
   9.  Come lavoro
   10. Contatti
   11. Footer
   12. Pagina Privacy
   13. Accessibilità e preferenze utente
   Approccio mobile-first: gli stili base sono per smartphone,
   le media query aggiungono i layout per schermi più ampi.
   ========================================================================== */


/* 1. VARIABILI ============================================================ */
:root {
  /* Palette istituzionale (Carta dei Servizi) */
  --navy:   #0D1930;
  --navy-2: #172640;
  --gold:   #B79A68;
  --ivory:  #F7F5F0;
  --grey:   #D5D8DF;

  /* Toni derivati */
  --gold-ink:  #7A6234;   /* oro scurito: leggibile come testo su fondo chiaro */
  --gold-soft: #C9B089;   /* hover dei pulsanti oro */
  --ivory-2:   #EFEBE2;   /* fascia evidenziata */
  --white:     #FFFFFF;
  --line:      #E6E8ED;

  /* Testo */
  --text:              #0D1930;
  --text-soft:         #4A5468;
  --text-on-dark:      #ECEDF1;
  --text-on-dark-soft: #AEB4C2;

  /* Tipografia: solo font di sistema, nessun download esterno */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Misure */
  --container: 1140px;
  --gutter: 1.25rem;
  --header-h: 64px;
  --radius: 4px;
  --section-y: clamp(3.5rem, 9vw, 6.5rem);
}


/* 2. BASE ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px); /* le ancore non finiscono sotto l'header */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }


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

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Etichetta sopra i titoli */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--gold); }

/* Pulsanti */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 0.95rem/1.2 var(--sans);
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-sm { min-height: 40px; padding: 0.5rem 0.95rem; font-size: 0.85rem; }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-outline-light { border-color: rgba(247, 245, 240, .45); color: var(--ivory); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-2); }
.btn-navy .icon { color: var(--gold); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--ivory); }

/* Avviso "solo su appuntamento" */
.notice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1.4;
}
.notice .icon { width: 1.4rem; height: 1.4rem; color: var(--gold); }
.notice--light { background: var(--white); color: var(--navy); }
.notice--light .icon { color: var(--gold-ink); }


/* 4. HEADER E NAVIGAZIONE ================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 1px solid rgba(183, 154, 104, .25);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}

/* Monogramma provvisorio "NA" (sostituibile con il logo originale) */
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.brand-logo { width: 40px; height: 40px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-studio {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Ordine degli elementi su smartphone: marchio · appuntamento · menu */
.header-cta { order: 1; }
.nav-toggle { order: 2; }
.site-nav   { order: 3; flex-basis: 100%; }

.cta-long { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(247, 245, 240, .3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ivory);
  font: 500 0.85rem var(--sans);
  cursor: pointer;
}
.nav-toggle[hidden] { display: none; }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-5px) rotate(-45deg); }

/* Senza JavaScript: i link restano visibili in una riga sotto il marchio */
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  padding: 0 0 0.6rem;
}
.site-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--gold); }

/* Con JavaScript: menu a tendina su smartphone */
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; padding: 0.25rem 0 1rem; }
.js .site-nav li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.js .site-nav a { display: block; padding: 0.9rem 0; font-size: 1.05rem; }

@media (max-width: 379px) {
  .brand-text { display: none; }
}

@media (min-width: 640px) {
  .cta-short { display: none; }
  .cta-long  { display: inline; }
}

@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; gap: 0; }
  .brand { margin-right: 0; }
  .nav-toggle { display: none !important; }

  .site-nav,
  .js .site-nav { display: block; order: 1; flex-basis: auto; margin-left: auto; }
  .site-nav ul,
  .js .site-nav ul { flex-direction: row; gap: 2.1rem; padding: 0; }
  .js .site-nav li + li { border: 0; }
  .site-nav a,
  .js .site-nav a { display: inline-block; padding: 0.5rem 0; font-size: 0.92rem; }

  .header-cta { order: 2; margin-left: 2rem; }
}


/* 5. HERO ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}

/* Monogramma decorativo in filigrana (solo schermi ampi) */
.hero::after {
  content: "NA";
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-58%);
  font-family: var(--serif);
  font-size: 30rem;
  line-height: 1;
  color: rgba(183, 154, 104, .05);
  pointer-events: none;
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 2.75rem 2.5rem;
}

.hero-title {
  max-width: 13ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, 9vw, 5.2rem);
  line-height: 1.04;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-lead {
  max-width: 60ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--text-on-dark-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.hero-actions .btn { flex: 1 1 230px; }

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-soft);
}
.hero-note .icon { margin-top: 0.1em; color: var(--gold); }

.hero-areas { display: none; }

@media (min-width: 720px) {
  .hero-inner { padding-block: 5.5rem 4rem; }
  .hero-actions .btn { flex: 0 0 auto; }

  .hero-areas {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(183, 154, 104, .3);
  }
  .hero-areas a {
    display: block;
    height: 100%;
    padding: 1.4rem 1.5rem 1.9rem 0;
    font-family: var(--serif);
    font-size: 1.08rem;
    color: var(--text-on-dark);
    text-decoration: none;
    transition: color .2s ease;
  }
  .hero-areas a:hover { color: var(--gold); }
  .hero-areas span {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--gold);
  }
}

@media (min-width: 1000px) {
  .hero::after { display: block; }
  .hero-inner { padding-block: 7rem 5rem; }
}


/* 6. SEZIONI GENERICHE ==================================================== */
.section { padding-block: var(--section-y); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }

.section-title { font-size: clamp(1.9rem, 5.2vw, 3rem); }

.section-lead {
  margin: 1.1rem 0 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.section--dark { background: var(--navy-2); color: var(--ivory); }
.section--dark .section-lead { color: var(--text-on-dark-soft); }


/* 7. CHI SONO ============================================================= */
.about { display: grid; gap: 1.75rem; }

.about-body { max-width: 62ch; color: var(--text-soft); }
.about-body p:first-child {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--text);
}

.values {
  display: grid;
  gap: 1px;
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  background: var(--grey);
  border: 1px solid var(--grey);
}
.value { padding: 1.9rem 1.5rem; background: var(--ivory); }
.value .icon { width: 28px; height: 28px; margin-bottom: 1.1rem; color: var(--gold-ink); }
.value h3 { margin-bottom: 0.55rem; font-size: 1.35rem; }
.value p { margin: 0; font-size: 0.98rem; color: var(--text-soft); }

@media (min-width: 760px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .value { padding: 2.25rem 2rem; }
}

@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 7fr; gap: 4.5rem; align-items: start; }
}


/* 8. SERVIZI ============================================================== */
.section--services { background: var(--white); padding-bottom: var(--section-y); }

/* Accesso rapido alle tre aree */
.area-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.area-index a {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--grey);
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--text-soft);
  transition: border-color .2s ease, color .2s ease;
}
.area-index a:hover { border-color: var(--gold); color: var(--navy); }

/* Intestazione di ciascuna area */
.area { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
#disbrigo-pratiche { padding-top: 0; }

.area-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.25rem;
  max-width: 54rem;
  margin-bottom: 2rem;
}
.area-num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
}
.area-title { margin-bottom: 0.7rem; font-size: clamp(1.55rem, 4vw, 2.3rem); }
.area-lead { margin: 0; color: var(--text-soft); }

/* Fascia evidenziata per CAF e Patronato */
.band {
  background: var(--ivory-2);
  border-top: 1px solid rgba(183, 154, 104, .35);
  border-bottom: 1px solid rgba(183, 154, 104, .35);
}

/* Schede espandibili (elemento <details>: funziona anche senza JS) */
.cards { display: grid; gap: 0.85rem; }

.card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.section--services > .container .card { background: var(--ivory); }

.card-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 1rem 1.25rem;
  list-style: none;
  cursor: pointer;
}
.card-summary::-webkit-details-marker { display: none; }
.card-title { font-size: 1.2rem; line-height: 1.25; }

/* Icona + / − */
.card-toggle { position: relative; width: 14px; height: 14px; flex: none; }
.card-toggle::before,
.card-toggle::after {
  content: "";
  position: absolute;
  background: var(--gold-ink);
  transition: transform .2s ease;
}
.card-toggle::before { left: 0; top: 6.5px; width: 14px; height: 1.5px; }
.card-toggle::after  { left: 6.25px; top: 0; width: 1.5px; height: 14px; }
.card[open] .card-toggle::after { transform: scaleY(0); }

.card-list { padding: 0 1.25rem 1.15rem; }
.card-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--text-soft);
  break-inside: avoid;
}
.card-list li:first-child { border-top: 0; }
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Schermi ampi: schede sempre aperte (classe aggiunta da script.js) */
.cards-static .card-summary { cursor: default; padding-bottom: 0.6rem; }
.cards-static .card-toggle { display: none; }

.area-more {
  margin: 2rem 0 0;
  padding: 1.15rem 1.4rem;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.45;
}
.area-more a { color: var(--navy); font-weight: 600; }

.area-note {
  max-width: 72ch;
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Area assicurativa: riquadro volutamente compatto */
.area--compact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.1rem;
  max-width: 50rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  background: var(--ivory);
}
.area--compact .area-num { font-size: 1.7rem; }
.area--compact .area-title { margin-bottom: 0.45rem; font-size: 1.35rem; }
.area--compact p { margin-bottom: 0.6rem; font-size: 0.98rem; color: var(--text-soft); }
.rui {
  margin: 0 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
  color: var(--gold-ink) !important;
}

@media (min-width: 680px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .card--full { grid-column: 1 / -1; }
  .card--full .card-list { columns: 2; column-gap: 2.5rem; }
  .card--full .card-list li:first-child,
  .card--full .card-list li { border-top: 0; border-bottom: 1px solid var(--line); }
  .area--compact { padding: 1.9rem 2rem; gap: 0 1.5rem; }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .card--full .card-list { columns: 3; }
}


/* 9. COME LAVORO ========================================================== */
.steps { border-top: 1px solid rgba(183, 154, 104, .35); }

.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.2rem 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.step-num {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--gold);
}
.step h3 { font-size: 1.3rem; color: var(--ivory); }
.step p { margin: 0.3rem 0 0; font-size: 0.98rem; color: var(--text-on-dark-soft); }

.modes { display: grid; gap: 1.25rem; max-width: 52rem; margin-top: 2.75rem; }
.modes > p:first-child { margin: 0; font-size: 1.06rem; color: var(--text-on-dark-soft); }
.section--dark .notice { color: var(--ivory); }

@media (min-width: 860px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 0;
  }
  .step {
    display: block;
    padding: 1.75rem 0 0;
    border-bottom: 0;
    border-top: 1px solid var(--gold);
  }
  .step-num { display: block; margin-bottom: 1rem; font-size: 2.4rem; }
  .step h3 { margin-bottom: 0.4rem; }
  .modes { margin-top: 3.5rem; }
}


/* 10. CONTATTI ============================================================ */
.contact { display: grid; gap: 2.75rem; }

.contact .section-title { font-size: clamp(2.5rem, 8vw, 4.2rem); }
.contact .notice { margin-top: 1.75rem; }

.contact-actions { display: grid; gap: 0.75rem; margin-top: 1.5rem; }

.contact-card {
  position: relative;
  padding: 2rem 1.5rem;
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--ivory);
  font-style: normal;
}
.contact-card-title {
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(183, 154, 104, .35);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
}
.contact-list { display: grid; gap: 1.1rem; margin: 0; }
.contact-list dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-list dd {
  margin: 0.2rem 0 0;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 154, 104, .5);
  transition: color .2s ease;
}
.contact-list a:hover { color: var(--gold); }
.dd-note { font-size: 0.85rem; color: var(--text-on-dark-soft); }

/* Pulsante "Copia" accanto a email e PEC (visibile solo con JavaScript attivo) */
.dd-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; }
.copy-btn {
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(183, 154, 104, .6);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold);
  font: 600 0.75rem var(--sans);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.copy-btn:hover { background: var(--gold); color: var(--navy); }
.copy-btn--light { border-color: var(--gold-ink); color: var(--navy); }

/* Riquadro con numero o email mostrato dopo il clic sui pulsanti di contatto */
.contact-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: var(--white);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-soft);
}
.contact-fallback strong { color: var(--navy); overflow-wrap: anywhere; }

@media (min-width: 520px) {
  .contact-actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .contact { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: start; }
  .contact-card { padding: 2.5rem 2.25rem; margin-top: 2.2rem; }
}


/* 11. FOOTER ============================================================== */
.site-footer {
  padding-block: 3.5rem 2rem;
  background: var(--navy);
  color: var(--text-on-dark-soft);
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 2rem; }
.brand--footer { margin-bottom: 1.25rem; color: var(--ivory); }
.footer-services { color: var(--text-on-dark); max-width: 38rem; }
.footer-brand p:last-of-type { margin-bottom: 0; }

.footer-links ul { display: grid; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: var(--text-on-dark); }
.footer-links a:hover { color: var(--gold); }

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 0.8rem;
}
.footer-legal p { max-width: 70ch; margin-bottom: 0.5rem; }

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .footer-links { justify-self: end; }
}


/* 12. PAGINA PRIVACY ====================================================== */
.legal { max-width: 46rem; padding-block: clamp(3rem, 8vw, 5rem); }
.legal h1 { margin-bottom: 0.75rem; font-size: clamp(2rem, 6vw, 3rem); }
.legal .updated { margin-bottom: 2.5rem; font-size: 0.88rem; color: var(--text-soft); }
.legal h2 {
  margin: 2.5rem 0 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey);
  font-size: 1.4rem;
}
.legal p, .legal li { color: var(--text-soft); }
.legal ul { margin: 0 0 1em; padding-left: 1.2rem; list-style: disc; }
.legal li { margin-bottom: 0.35rem; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--text); }
.back-link { display: inline-block; margin-top: 2.5rem; font-weight: 600; }


/* 13. ACCESSIBILITÀ E PREFERENZE ========================================== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .hero-actions, .contact-actions, .area-index { display: none; }
  .hero, .section--dark, .site-footer, .contact-card { background: none; color: #000; }
}
.footer-legal--solo { margin-top: 0; padding-top: 0; border-top: 0; }
