/* ComproOro24 — foglio di stile unico.
   Design system ripreso dalla veste grafica di comprooro24.it:
   superfici paper/canvas, inchiostro scuro, oro #E6A012, Space Grotesk
   per i titoli e Inter per il testo (font self-hosted, nessuna richiesta
   esterna). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

:root {
  /* Superfici */
  --paper: #FFFFFF;
  --canvas: #F3F5F8;
  --canvas-2: #EDEFF3;
  /* Inchiostro / testo */
  --ink: #0D1117;
  --ink-2: #161D27;
  --text: #171C24;
  --muted: #5B6675;
  --muted-2: #8A93A1;
  --on-dark: #EAF0F7;
  --on-dark-mut: #9AA6B6;
  /* Linee */
  --line: #E6E9EF;
  --line-2: #D7DCE5;
  /* Oro = valore */
  --gold: #E6A012;
  --gold-hi: #FFC233;
  --gold-deep: #8A5A00;
  --gold-soft: #FFF4D6;
  --gold-line: #F1D58C;
  --gold-row: #FFFBEB;
  /* Raggi e ombre */
  --r: 14px; --r-sm: 10px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(13,17,23,.05), 0 1px 3px rgba(13,17,23,.04);
  --sh-2: 0 14px 34px -16px rgba(13,17,23,.22);
  --sh-3: 0 24px 60px -24px rgba(13,17,23,.30);
  /* Font */
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }
img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 600;
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); margin: 10px 0 14px; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.8rem); margin: 40px 0 14px; }
h3 { font-size: 1.06rem; margin: 18px 0 6px; }

/* Testata */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.testata {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 22px;
  min-height: 66px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-family: var(--display);
  font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em;
}
.logo .lg-ink { color: var(--ink); }
.logo .lg-gold { color: var(--gold-deep); }
.menu { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.menu a {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  padding: 7px 11px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.menu a:hover { color: var(--ink); background: var(--canvas); }

/* Impianto */
main { max-width: var(--maxw); margin: 0 auto; padding: 22px 22px 56px; }
.sotto { font-size: 1.06rem; color: var(--muted); max-width: 72ch; line-height: 1.65; }
.sotto p { margin: 0 0 10px; }
section > p, article > p { max-width: 74ch; }
.nota { font-size: .87rem; color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Briciole di pane */
.briciole { font-size: .83rem; margin: 6px 0 0; }
.briciole ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.briciole li + li::before { content: "›"; margin: 0 7px 0 3px; color: var(--muted-2); }
.briciole a { color: var(--muted); text-decoration: none; }
.briciole a:hover { color: var(--gold-deep); text-decoration: underline; }
.briciole [aria-current] { color: var(--ink); font-weight: 500; }

/* Hero */
.hero {
  position: relative;
  padding: 14px 0 6px;
  background:
    radial-gradient(680px 420px at 88% -8%, rgba(230,160,18,.10), transparent 60%),
    radial-gradient(560px 360px at -6% 8%, rgba(13,17,23,.035), transparent 60%);
}
.hero-numeri { color: var(--muted); font-size: .93rem; }
.hero-numeri strong { color: var(--ink); font-family: var(--display); }
.ricerca { position: relative; max-width: 560px; margin: 22px 0 8px; }
.ricerca input {
  width: 100%; padding: 14px 22px; font-size: 1.04rem;
  font-family: var(--sans); color: var(--text);
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--paper); box-shadow: var(--sh-1);
  transition: border-color .15s, box-shadow .15s;
}
.ricerca input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(230,160,18,.18), var(--sh-1);
}
.risultati {
  list-style: none; margin: 8px 0 0; padding: 6px; position: absolute;
  z-index: 5; left: 0; right: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3);
}
.risultati:empty { display: none; }
.risultati li a {
  display: block; padding: 10px 16px; text-decoration: none;
  color: var(--text); border-radius: var(--r-sm); font-weight: 500;
}
.risultati li a:hover { background: var(--gold-soft); color: var(--ink); }

/* Hero a due colonne con calcolatrice */
.hero-grid {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  padding: 10px 0 18px;
}
.badge-agg {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--gold-deep);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  border-radius: var(--r-pill); padding: 6px 13px; margin: 6px 0 10px;
}
.badge-agg .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #0E9F6E;
  box-shadow: 0 0 0 4px rgba(14,159,110,.16);
}
.ticker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ticker div {
  display: inline-flex; flex-direction: column; gap: 1px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 12px; box-shadow: var(--sh-1);
}
.ticker .tk {
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2);
}
.ticker .tv {
  font-family: var(--display); font-weight: 600; font-size: .9rem;
  color: var(--ink); font-variant-numeric: tabular-nums;
}

/* Calcolatrice */
.calc {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 26px 22px; box-shadow: var(--sh-3);
}
.calc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold), var(--gold-deep));
}
.calc-testa { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.calc-testa h2 { margin: 0; font-size: 1.14rem; }
.calc-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 600; color: #0E9F6E;
  background: rgba(14,159,110,.10); border-radius: var(--r-pill);
  padding: 4px 11px; white-space: nowrap;
}
.calc-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #0E9F6E;
  animation: pulsa 1.6s ease-in-out infinite;
}
@keyframes pulsa { 50% { opacity: .35; } }
.calc-tabs {
  display: inline-flex; padding: 4px; margin-bottom: 16px;
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.calc-tabs button {
  border: 0; cursor: pointer; background: transparent;
  font-family: var(--sans); font-size: .88rem; font-weight: 600;
  color: var(--muted); padding: 8px 18px; border-radius: var(--r-pill);
  transition: background .15s, color .15s;
}
.calc-tabs button[aria-pressed="true"] {
  background: var(--paper); color: var(--ink); box-shadow: var(--sh-1);
}
.calc-label {
  display: block; font-size: .74rem; font-weight: 600;
  color: var(--muted); margin: 0 0 8px;
}
.carati { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.carati button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 600; font-size: .96rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 9px 12px; transition: border-color .12s, background .12s, box-shadow .12s;
}
.carati button small {
  font-family: var(--sans); font-weight: 500; font-size: .67rem;
  color: var(--muted-2);
}
.carati button[aria-pressed="true"] {
  border-color: var(--gold); background: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(230,160,18,.16);
}
.carati button[aria-pressed="true"] small { color: var(--gold-deep); }
.peso-riga { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.peso-campo { position: relative; flex: 0 0 122px; }
.peso-campo input {
  width: 100%; font-family: var(--display); font-weight: 600;
  font-size: 1.12rem; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 9px 32px 9px 12px; font-variant-numeric: tabular-nums;
}
.peso-campo input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,160,18,.16); }
.peso-campo .unita {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: .85rem; font-weight: 600; color: var(--muted-2);
}
.peso-riga input[type="range"] {
  flex: 1; height: 6px; border-radius: var(--r-pill);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--gold) 5%, var(--line-2) 5%);
}
.peso-riga input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--gold);
  box-shadow: var(--sh-1);
}
.peso-riga input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--gold);
  box-shadow: var(--sh-1);
}
.calc-risultato {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: var(--ink); color: #fff;
  border-radius: var(--r); padding: 15px 20px;
}
.calc-risultato .eti { font-size: .85rem; font-weight: 500; color: var(--on-dark-mut); max-width: 13ch; line-height: 1.3; }
.calc-risultato .val {
  display: flex; align-items: baseline; gap: 5px;
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem);
  color: var(--gold-hi); font-variant-numeric: tabular-nums;
}
.calc-risultato .val .euro { font-size: 1.1rem; color: var(--gold); }
.calc-nota { margin: 12px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.calc-nota strong { color: var(--gold-deep); }
.btn-oro {
  display: flex; width: 100%; align-items: center; justify-content: center;
  gap: 8px; margin-top: 16px; font-weight: 600; font-size: .98rem;
  color: #231a05; background: var(--gold); border-radius: var(--r-pill);
  padding: 13px; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--sans);
  box-shadow: 0 6px 18px -8px rgba(230,160,18,.7);
  transition: transform .15s;
}
.btn-oro:hover { transform: translateY(-2px); color: #231a05; }
.btn-riga { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 4px; }
.btn-riga .btn-oro { display: inline-flex; width: auto; margin: 0; padding: 13px 26px; }
.btn-contorno {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .98rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 13px 26px;
  text-decoration: none; transition: transform .15s, border-color .15s;
}
.btn-contorno:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--gold-line); }
.spunte { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.spunte span { display: inline-flex; align-items: center; gap: 7px; }
.spunte .vd { color: #0E9F6E; font-weight: 700; }

/* Finder trova-negozio */
.finder { max-width: 640px; margin: 22px 0 26px; }
.finder .ricerca { max-width: none; margin: 4px 0 0; }
.oppure {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted-2); font-size: .8rem; margin: 16px 0 2px;
}
.oppure::before, .oppure::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
#esito h2 { margin-top: 26px; }
.blocco-mappa { margin: 6px 0 10px; }
.blocco-mappa h2 { margin-top: 26px; }
#mappa {
  height: 460px; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1); background: var(--canvas); z-index: 1;
}
#mappa .leaflet-tooltip { font-family: var(--sans); font-size: .82rem; }
@media (max-width: 560px) { #mappa { height: 340px; } }

/* Pin dei negozi sulla mappa */
.pin-neg { filter: drop-shadow(0 3px 4px rgba(13,17,23,.4)); }
.pin-neg svg {
  width: 100%; height: 100%; display: block;
  transition: transform .15s; transform-origin: 50% 100%;
}
.pin-neg:hover svg { transform: scale(1.22); }
#mappa.zoom-vicino .pin-neg svg { transform: scale(1.45); }
#mappa.zoom-vicino .pin-neg:hover svg { transform: scale(1.65); }
.pin-circa { opacity: .55; }

/* Cluster di pin: bolle nei toni del brand */
#mappa .marker-cluster-small,
#mappa .marker-cluster-medium,
#mappa .marker-cluster-large { background-color: rgba(230,160,18,.35); }
#mappa .marker-cluster-small div,
#mappa .marker-cluster-medium div,
#mappa .marker-cluster-large div {
  background-color: rgba(230,160,18,.92);
  color: #231a05; font-family: var(--display); font-weight: 700;
}

/* Modulo richiesta quotazione */
.modulo {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 28px; margin: 22px 0;
  max-width: 620px; box-shadow: var(--sh-2); position: relative;
}
.modulo::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold), var(--gold-deep));
}
.modulo .campo { margin-bottom: 15px; }
.modulo .due { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modulo label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--muted); margin-bottom: 6px;
}
.modulo input[type="text"], .modulo input[type="email"],
.modulo input[type="number"], .modulo select, .modulo textarea {
  width: 100%; font-family: var(--sans); font-size: .96rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 10px 13px;
}
.modulo input:focus, .modulo select:focus, .modulo textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230,160,18,.16);
}
.modulo textarea { min-height: 96px; resize: vertical; }
.modulo .consenso {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .82rem; color: var(--muted); margin: 4px 0 6px;
}
.modulo .consenso input { margin-top: 3px; }
@media (max-width: 560px) { .modulo .due { grid-template-columns: 1fr; } }

/* Griglie di link */
.griglia-link, .lista-link { list-style: none; margin: 12px 0; padding: 0; }
.griglia-link {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 8px 14px;
}
.griglia-link li, .lista-link li {
  padding: 9px 13px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.griglia-link li:hover, .lista-link li:hover {
  transform: translateY(-1px); border-color: var(--gold-line);
  box-shadow: var(--sh-2);
}
.lista-link li { margin: 7px 0; }
.griglia-link a, .lista-link a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.griglia-link a:hover, .lista-link a:hover { color: var(--gold-deep); }
.cnt { color: var(--muted-2); font-size: .83rem; font-weight: 400; }
.due-col { columns: 2; column-gap: 24px; }

/* Card negozi */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 14px; margin: 16px 0; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh-1);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card h2, .card h3 { margin: 0 0 6px; font-size: 1.04rem; line-height: 1.32; }
.card a { text-decoration: none; color: var(--ink); }
.card a:hover { color: var(--gold-deep); }
.card .ind { margin: 2px 0; color: var(--muted); font-size: .9rem; }
.card .oam {
  margin: 9px 0 0; font-size: .8rem; color: var(--muted);
  padding-top: 8px; border-top: 1px dashed var(--line);
}
.card .oam strong { color: var(--gold-deep); }
.card p { margin: 4px 0; color: var(--muted); font-size: .93rem; }

/* Card negozio (elenchi comune e finder) */
.card-negozio {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  padding: 16px 18px 13px;
}
.cn-testa { display: flex; align-items: center; gap: 12px; }
.cn-avatar {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #F8E7AE, #DDB845 55%, #C89B2C);
  border: 1px solid var(--gold-line);
  color: #231a05; font-family: var(--display); font-weight: 700;
  font-size: 1.05rem;
}
.cn-testa h3 { margin: 0; font-size: .99rem; line-height: 1.3; }
.card-negozio h3 a { text-decoration: none; color: var(--ink); }
.card-negozio h3 a::after { content: ""; position: absolute; inset: 0; }
.card-negozio:hover h3 a { color: var(--gold-deep); }
.card-negozio .ind {
  display: flex; gap: 7px; align-items: flex-start;
  margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.45;
}
.card-negozio .ind svg { flex: 0 0 auto; margin-top: 3px; }
.cn-piede {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
}
.badge-oam {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .71rem; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-deep); background: var(--gold-soft);
  border: 1px solid var(--gold-line); border-radius: var(--r-pill);
  padding: 3px 10px; white-space: nowrap;
}
.cn-anno { font-size: .74rem; color: var(--muted-2); white-space: nowrap; }
.cn-vai {
  margin-left: auto; font-size: .8rem; font-weight: 600;
  color: var(--gold-deep); transition: transform .15s; white-space: nowrap;
}
.card-negozio:hover .cn-vai { transform: translateX(3px); }

/* Box prezzi */
.box-prezzi {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--r); padding: 14px 20px; margin: 20px 0;
  color: var(--ink);
}
.box-prezzi strong { color: var(--gold-deep); }
.box-prezzi em { color: var(--muted); font-style: normal; font-size: .85rem; }
.box-prezzi p { margin: 4px 0; }
.box-prezzi a { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.box-prezzi a:hover { text-decoration: underline; }

/* Tabelle */
table.dati {
  border-collapse: collapse; width: 100%; max-width: 660px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1);
}
table.dati th, table.dati td {
  text-align: left; padding: 10px 16px;
  border-bottom: 1px solid var(--line); font-size: .93rem;
}
table.dati tr:last-child th, table.dati tr:last-child td { border-bottom: 0; }
table.dati th { color: var(--muted); font-weight: 600; width: 38%; }
table.dati tbody tr { transition: background .12s; }
table.dati tbody tr:hover { background: var(--gold-row); }
.prezzi-tab td strong { color: var(--gold-deep); font-family: var(--display); }
.prezzi-tab thead th {
  background: var(--canvas); width: auto;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}

/* Passi (come funziona) */
.passi { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; }
.passo {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-1);
}
.passo .n {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: var(--gold-soft); color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  font-family: var(--display); font-weight: 700;
  border-radius: 50%; margin-bottom: 8px;
}
.passo h3 { margin: 4px 0 6px; }
.passo p { margin: 0; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { margin-top: 34px; }
.faq-voce {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 6px 20px 12px; margin: 10px 0;
  max-width: 74ch; box-shadow: var(--sh-1);
}
.faq-voce h3 { margin: 13px 0 4px; }
.faq-voce p { margin: 6px 0; color: var(--muted); }

/* Articoli / guide */
article ul, article ol { max-width: 72ch; }
article li { margin: 4px 0; }
.firma {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--muted); margin: -4px 0 14px;
  padding: 5px 13px; background: var(--canvas);
  border: 1px solid var(--line); border-radius: var(--r-pill);
}
.firma::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.fonti {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: var(--r); padding: 8px 22px 14px; margin-top: 30px;
  max-width: 74ch;
}
.fonti h2 { font-size: 1rem; margin: 12px 0 8px; }
.fonti ul { margin: 0; padding-left: 18px; }
.fonti li { font-size: .89rem; color: var(--muted); margin: 5px 0; }

/* Errore 404 */
.err { text-align: center; padding: 64px 0; }

/* Piè di pagina */
footer { background: var(--ink); color: var(--on-dark-mut); margin-top: 48px; }
footer .footer-cols {
  max-width: var(--maxw); margin: 0 auto; padding: 38px 22px 10px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
footer h2 {
  font-family: var(--sans); font-size: .74rem; color: var(--gold);
  margin: 0 0 12px; text-transform: uppercase; letter-spacing: .13em;
  font-weight: 700;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 5px 0; }
footer a { color: var(--on-dark); text-decoration: none; font-size: .89rem; }
footer a:hover { color: var(--gold-hi); }
footer .fonte, footer .copy {
  max-width: var(--maxw); margin: 0 auto; padding: 6px 22px;
  font-size: .8rem; color: var(--on-dark-mut);
}
footer .fonte { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; margin-top: 16px; }
footer .copy { padding-bottom: 28px; }

@media (max-width: 560px) {
  .due-col { columns: 1; }
  .menu { margin-left: 0; }
}
